Commit Graph

65 Commits

Author SHA1 Message Date
Trevor Saunders
c2b2fcd3d4 bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Ehsan Akhgari
91b3d54a96 Bug 943993 - Build toolkit/components/places in unified mode; r=mak 2013-11-29 18:29:49 -05:00
Marco Bonardo
d8d9ba5d23 Bug 914294 - Don't throw exceptions from the history result end batch macro to retain backwards compatibility.
r=mano
2013-10-15 14:30:33 +02:00
Birunthan Mohanathas
2768b95df7 Bug 784739 - Switch from NULL to nullptr in toolkit/components/ (1/2); r=ehsan 2013-10-10 16:38:05 -04:00
Robert O'Callahan
8ca63f18ef Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Raymond Lee
fcf5512d6d Bug 627487 - Bookmark JSON backup should contain new-style GUIDs. r=mano 2013-09-03 11:56:25 +08:00
Marco Bonardo
e3ee607bca Bug 894331 - Use an automatic batching behavior in Places results.
Stop relying on manual batching and onBegin/OnEndUpdateBatch for batching in
Places results, instead count related changes and start batching when they
are over a given threshold.
r=Mano
2013-08-06 13:05:01 +02:00
Asaf Romano
5397e606ad Bug 895839 - Remove support for binary annotations. r=mak. sr=gavin. 2013-08-03 14:06:47 +03:00
Mike Hommey
ca80cd82ad Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8 2013-08-02 10:29:05 +09:00
Andrew McCreight
d1266ee9b7 Bug 874583 - Use NS_IMPL_CYCLE_COLLECTION_INHERITED_n in more places. r=smaug 2013-05-21 16:23:53 -07:00
Marco Bonardo
952c24e301 Bug 561450 - Stop supporting session ids in Places.
r=Mano sr=gavin
2013-03-25 14:44:41 +01:00
Marco Bonardo
07c716c8ca Bug 830423 part 2 - Avoid history view refreshes when onvisit falls into the Today bucket.
r=Mano
2013-03-18 16:09:11 +01:00
Marco Bonardo
d00a2f4554 Bug 826409 - Remove onBeforeDeleteURI and onBeforeItemRemoved notifications.
r=Mano sr=gavin
2013-02-06 20:48:56 +01:00
Marco Bonardo
24e4025e16 Bug 831094 - Avoid replacing nodes in Places query results.
r=Mano sr=gavin
2013-02-06 20:48:09 +01:00
Marco Bonardo
a865390ba8 Bug 838304 - null out mResult when removing container nodes.
r=Mano
2013-02-05 21:56:05 +01:00
Marco Bonardo
14aafb1dc0 Backout 890368240f48 (bug 838304) for xpcshell-test failures 2013-02-05 23:06:16 +01:00
Marco Bonardo
b91dd69534 Bug 838304 - null out mResult when removing container nodes.
r=Mano
2013-02-05 21:56:05 +01:00
Daniel Holbert
a5f73c1846 Bug 835543 part 1: Remove unused class nsNavHistoryFullVisitResultNode. r=mak 2013-01-29 14:30:13 -08:00
Marco Bonardo
89d3360734 Bug 824074 - Properly update frecency sorting in bookmarks queries.
r=Mano
2013-01-22 21:19:01 +01:00
Trevor Saunders
b98e34aed0 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Marco Bonardo
5c77201aa0 Bug 827268 - Avoid useless onVisit work on transition filtered queries.
r=Mano
2013-01-07 18:54:38 +01:00
Ed Morley
f403563dad Backout 33b1a42588c2 (bug 827268) for xpcshell failures on a CLOSED TREE 2013-01-07 20:25:13 +00:00
Marco Bonardo
40894c73fd Bug 827268 - Avoid useless onVisit work on transition filtered queries.
r=Mano
2013-01-07 18:54:38 +01:00
Marco Bonardo
35d949f6ac Bug 825849 - Add a RemoveAllDownloads API to nsIDownloadHistory.
r=Mano sr=gavin
2013-01-05 10:21:04 +01:00
Marco Bonardo
1218d9a0f2 Bug 766799 - Notify hidden visits to history observers.
Redirect sources and framed visits are considered hidden and thus not shown in
common UI history queries.  So far were not even notified, but the right thing
to do is to let the observer handle them based on its needs.
r=Mano sr=Mossop
2012-12-20 23:45:00 +01:00
Iordache Catalin
9058afe4b0 Bug 821901 - Fix some build warnings in toolkit/components/places. r=mak 2012-12-17 17:41:34 +02:00
Ryan VanderMeulen
d7448a9f7d Backed out changeset 1cd15c87f867 (bug 821901) for crashes. 2012-12-17 19:22:09 -05:00
Iordache Catalin
c6e3e5ce34 Bug 821901 - Fix build warnings in /toolkit/components/places/nsNavHistoryResult.cpp. r=mak 2012-12-17 17:43:45 -05:00
Benoit Jacob
5a8b82a1cb Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Isaac Aggrey
9e41ce2fa0 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Ehsan Akhgari
41ded22d3a Bug 788792 - Fix two tautological compare warnings in nsNavHistoryResult.cpp; r=mak 2012-10-04 10:48:54 -04:00
Andrew Quartey
21f22f5076 Bug 792581 - part 5: Replace LL_CMP macro with standard comparison. r=ehsan 2012-10-03 10:13:19 -04:00
Isaac Aggrey
0cc4b12d36 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
8c296bbcd4 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
Aryeh Gregor
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
David Zbarsky
8925cfeee8 Bug 757960 - GCC 4.6.3 build warnings in nsNavHistoryResult.cpp for unsigned >= 0 (or < 0) always returning the same value [-Wtype-limits] r=mak 2012-07-11 00:14:49 -07:00
Asaf Romano
6f61638700 Bug 730340 - Don't use expando properties for storing data on places nodes. Remove expandos support from result nodes. r=mak. 2012-06-03 15:50:08 +03:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
2187798a40 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Marco Bonardo
b4f1aa2ddd Bug 702639 - Kill excludeItemsIfParentHasAnnotation query option.
r=dietrich sr=gavin
2012-02-24 23:43:49 +01:00
Serge Gautherie
7d233af147 Bug 508760 - Remove VC6 workaround. r=mano 2011-12-18 20:19:34 +01:00
Marco Bonardo
faecbfc0c2 Bug 707954 - Index exclusion for tags.
r=dietrich
2011-12-07 21:56:28 +01:00
Marco Bonardo
bdcf6b49e6 Bug 707946 - Improve performances of hasChildren for tag queries.
r=dietrich sr=gavin
2011-12-07 21:56:26 +01:00
Marco Bonardo
1686da13cb Bug 700296 (Places) - Remove dynamic containers implementation from Places.
r=dietrich
2011-11-29 02:22:51 +01:00
Marco Bonardo
bf386cf7fd Bug 696159 - Remove some deprecated Places code.
r=dietrich sr=rstrong
2011-10-27 11:11:43 +02:00
Marco Bonardo
501fe2ae58 Bug 695554 - Split a Database class out of the History service. (expected fake Ts_shutdown regressions!)
r=dietrich
2011-10-27 11:11:34 +02:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00