Commit Graph

390 Commits

Author SHA1 Message Date
Randell Jesup
3b4961b603 Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Jonas Sicking
dbaf9e7c15 Bug 769880: Make createIndex throw InvalidAccessError instead of NotSupportedError. r=khuey 2012-08-31 18:33:24 -03:00
Jan Varga
9feefc86cf Bug 763854 - Check file references (cleanup stored files) only when needed. r=bent 2012-08-24 11:51:33 -07:00
Ehsan Akhgari
243c878d26 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Ms2ger
26fa23777d Bug 743573 - Fix a number of build warnings in dom/; r=mounir 2012-08-07 09:06:29 +02:00
Ben Turner
e79dc8013b Bug 778968 - 'Avoid stat-ing remote blobs on the main thread'. r=janv. 2012-08-02 23:25:30 -07:00
Ben Turner
094531b9a5 Backed out changeset 46653198caac 2012-08-02 21:53:03 -07:00
Ben Turner
5a828fcb06 Bug 778968 - 'Avoid stat-ing remote blobs on the main thread'. r=janv. 2012-08-02 13:42:30 -07:00
Ben Turner
94f469af49 Bug 759427 - 'Multiprocess blob support for MessageManager and IndexedDB'. r=smaug+janv+khuey (rs=sicking for nsBlobURI changes). 2012-08-01 23:02:29 -07:00
Eric Faust
2fd6e9bbbd Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
Aryeh Gregor
8b4a23fc4c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Daniel Holbert
d7ac15880b Bug 771638 - Remove unused variables from IDBObjectStore::GetAddInfo. r=khuey 2012-07-06 14:11:44 -07:00
Kyle Huey
ddfcf770ff Bug 769356: Calling transaction.abort() should leave transaction.error as null, but throwing exceptions should set transaction.error. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
9e1c3ffece Bug 762206: Fire an nsScriptErrorEvent at the window to get the proper window.onerror behavior. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
bd01764395 Bug 755511: Revert all in-memory data when reverting versionchange transactions. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
8e9d2a662f Bug 755507: Sort objectStoreNames/indexNames. r=sicking 2012-06-29 09:48:34 -07:00
Kyle Huey
a34a6ddc59 Bug 755510: db.transaction should work inside a versionchange transaction's oncomplete handler. r=bent 2012-06-26 08:09:25 -07:00
Ms2ger
9376a5ee50 Merge m-c to m-i. 2012-06-23 10:03:22 +02:00
Kyle Huey
0e585ae0b5 Bug 767186: Cache the keyPath for objectStores and indexes. r=bent 2012-06-22 14:00:53 -07:00
Kyle Huey
c66cc7dc43 Bug 765834: Rework and unify keyPath handling. r=bent 2012-06-21 15:27:13 -07:00
Luke Wagner
e569917dad Bug 755186 - s/JS_NewCompartmentAndGlobalObject/JS_NewGlobalObject/ (r=jorendorff) 2012-06-20 08:57:29 -07:00
Ryan VanderMeulen
4c71ae6d9a Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
202bd53a55 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
Ms2ger
05a65416b4 Bug 761635 - Fix build in MSVC 8; r=khuey 2012-06-10 19:19:12 +02:00
Ben Turner
5c5e927dbc Bug 762203 - 'Potential crash in IDBObjectStore::UpdateIndexes'. r=khuey. 2012-06-06 14:02:03 -07:00
Jan Varga
141d5b92c8 Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
Ben Turner
78880eb792 Bug 666693 - 'Remote IndexedDB for multiple IndexedDB-using processes'. r=cjones+sicking. 2012-06-01 10:21:12 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Igor Bukanov
62a47e535b bug 736978 - remove JS_FinalizeStub. r=:billm
Currently the GC finalizes on the background thread only objects with null
JSClass::finalize. However, this implies that any object that uses
JS_FinalizeStub for the finalizer would be prevented from the background
finalization.

To fix this the patch removes JS_FinalizeStub replacing it with NULL in all
cases when the class has no custom finalizer. For style consistency the patch
also removed the usage of JSCLASS_NO_OPTIONAL_MEMBERS in the static
declarations as the compiler fills the missing fields with null in any cases.
2012-03-19 15:27:58 +01:00
Jonas Sicking
651eb7f62b Bug 735094: Implement new string values (rather than numeric constants) for IndexedDB. r=bent 2012-03-12 21:44:45 -07:00
David Mandelin
232a121344 Bug 733260 followup: use uint32_t for array and string lengths, r=luke 2012-03-06 15:52:55 -08:00
David Mandelin
4038954f95 Bug 733260: remove typedef jsuint, r=luke 2012-03-05 18:43:45 -08:00
David Mandelin
0a4c9bd844 Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo
7aa79ce5b7 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin
d85948e391 Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Kyle Huey
61c8dde1e4 Bug 725418: IndexedDB - GetAll[Keys] with an explicit 0, null, or undefined for the maximum number of records should return all records. r=bent 2012-02-09 20:56:48 -08:00
Igor Bukanov
889c9d4073 bug 723517 - Drop cx argumrent from JS_GetClass(cx, obj). r=luke 2012-02-04 01:54:57 +01:00
Ben Turner
d2f38bcb58 Bug 718132 - IndexedDB: Intermittent Failing to get JS wrapper in IDBRequest::NotifyHelperCompleted. r=khuey. 2012-01-24 02:03:37 -08:00
Ed Morley
927de8162d Backout 8886b027527a (bug 718132) for xpcshell failures 2012-01-23 16:18:14 +00:00
Ben Turner
2fb8104e46 Bug 718132 - IndexedDB: Intermittent Failing to get JS wrapper in IDBRequest::NotifyHelperCompleted. r=khuey. 2012-01-23 06:03:41 -08:00
Ms2ger
da02ae5702 Bug 677079 - Part f: Expose structuredCloneCallbacks in jsfriendapi.h; r=jorendorff 2012-01-15 09:13:08 +01:00
Ms2ger
4e1fdf43d2 Bug 677079 - Part e: Move js_GetSCOffset to jsfriendapi.h; r=luke 2012-01-15 09:13:08 +01:00
Olli Pettay
7c4dcfb268 Bug 710380 - IndexedDB could use the dictionary reader, r=khuey 2011-12-27 20:01:28 +02:00
Ms2ger
881df3d516 Bug 711240 - Part b: Expose xpc_qsStringToJsval publicly; r=bholley 2011-12-24 09:27:04 +01:00
Jan Varga
39d5ec6446 Bug 711727 - Followup cleanup for files in IndexedDB. r=sicking/bent 2011-12-20 12:23:27 +01:00
Jonas Sicking
e7d147db82 Bug 694138: Support an array of strings as keyPath on objectStores and indexes. r=janv/bent 2011-12-20 02:59:07 -08:00
Jonas Sicking
712db960cb Bug 692614: Support all spec'ed key-types, including Arrays. Patch by Jan Varga and me. r=janv/bent/me 2011-12-20 02:58:44 -08:00
Jonas Sicking
628ce29f64 Bug 701772: Manage autoIncrement for objectStores ourselves in order to simplify the code, make ai-keys unique per objectStore and not per database, and allow ai-objectStores to contain non-integer keys. r=bent 2011-12-16 16:40:47 -08:00
Jonas Sicking
6434a346d9 Back out fb4d12d2a2da, bug 701772, due to leaks. 2011-12-16 13:09:42 -08:00
Jonas Sicking
7e04bb4a07 Bug 701772: Manage autoIncrement for objectStores ourselves in order to simplify the code, make ai-keys unique per objectStore and not per database, and allow ai-objectStores to contain non-integer keys. r=bent 2011-12-16 12:29:15 -08:00