Commit Graph

64 Commits

Author SHA1 Message Date
Ehsan Akhgari
0fd9123eac 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
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
4f91700da9 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
Paolo Amadini
6061ed836c Bug 739213 - Kill AddPageWithDetails. r=mak 2012-05-14 20:42:29 +02:00
Marco Castelluccio
6e367ec40e Bug 739221 - Remove nsIBrowserHistory::count.
r=mak sr=gavin
2012-05-05 14:26:25 +02:00
Marco Castelluccio
4e28783b31 Bug 751608 - Remove the never implemented nsIBrowserHistory::hidePage method.
r=mak sr=gavin
2012-05-05 14:25:31 +02:00
Patrick Wong
30fd6e9e6a Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar 2012-04-24 14:43:00 -04:00
Marco Bonardo
13f1c8ba2e Bug 737841 - Part 3: remove no more useful redirectsMode query option.
r=dietrich rs=gavin

--HG--
rename : toolkit/components/places/tests/queries/test_redirectsMode.js => toolkit/components/places/tests/queries/test_redirects.js
2012-04-07 01:17:53 +02:00
Marco Bonardo
24c6a92fbf Bug 737841 - Part 1: ensure Places history properly handles redirecting and error visits.
r=dietrich
2012-04-07 01:17:49 +02:00
Daniel Holbert
b46a95da8e Bug 736541: Remove unused variable 'parentId' from nsNavHistory.cpp to fix build warning. r=mak 2012-03-16 15:45:46 -07:00
Marco Bonardo
efe05da08b Bug 702639 - Kill excludeItemsIfParentHasAnnotation query option.
r=dietrich sr=gavin
2012-02-24 23:43:49 +01:00
Marco Bonardo
985d738ddd Bug 613588 (Backend) - Load-on-demand livemarks.
r=dietrich,mano
2012-02-24 13:42:24 +01:00
Marco Bonardo
b60bc7d88e Bug 706420 - intermittent failure in test_annos_expire_session.js
r=dietrich
2012-02-17 14:24:54 +01:00
Marco Bonardo
0b52278b1a Bug 723044 - Don't trigger moz_hosts frecency update when updating frecency on idle.
r=dietrich
2012-02-07 15:59:09 +01:00
Marco Bonardo
03cb8e0aaa Bug 723124 - Telemetry for time needed for idle frecency update.
r=dietrich
2012-02-04 15:12:42 +01:00
Paolo Amadini
081de2dd69 Bug 672681 - Make nsIDownloadHistory::addDownload asynchronous. r=mak 2012-01-20 13:48:20 +01:00
Nathan Froyd
01e2e035f7 Bug 709205 - use GetObserverService in places; r=mak 2011-12-09 14:35:59 -05:00
Marco Bonardo
01846cfa16 Bug 707954 - Index exclusion for tags.
r=dietrich
2011-12-07 21:56:28 +01:00
Richard Newman
b1d92bbf1a Bug 675996 - Part 1: extend moz_favicons with GUID to support Sync. r=mak 2011-12-01 13:58:19 -08:00
Marco Bonardo
011df7e5b6 Bug 702810 - mozIAsyncHistory should expose an async isURIVisited method.
r=dietrich sr=gavin
2011-11-30 00:48:47 +01:00
Marco Bonardo
44882916fa Bug 700314 - Remove nsNavHistory nsICharsetResolver implementation.
r=bz
2011-11-08 00:29:40 +01:00
Marco Bonardo
a71a238431 Bug 696900 - Avoid any shutdown work in Places when possible.
r=dietrich
2011-10-27 11:11:47 +02:00
Marco Bonardo
d5bdd788f6 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
Jeff Walden
b7753477cf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
eb2cb918a4 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
77ebbde4ab Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Marco Bonardo
12db427fa1 Bug 691509 - Run ANALYZE at each schema change (and force a schema change).
Partly copied from a patch by Richard Newman.
r=dietrich

--HG--
rename : toolkit/components/places/tests/migration/test_v11_from_v10.js => toolkit/components/places/tests/migration/test_current_from_v10.js
rename : toolkit/components/places/tests/migration/test_v11_from_v10_migrated_from_v11.js => toolkit/components/places/tests/migration/test_current_from_v10_migrated_from_v11.js
2011-10-07 21:10:44 +02:00
Margaret Leibovic
6c64b90493 Bug 691524 - Remove support for browser.startup.page == 2 and deprecate lastPageVisited. r=mak, sr=gavin 2011-10-03 15:57:19 -07:00
Marco Bonardo
e13883a233 Bug 686025 - nsNavHistory::AsyncExecuteLegacyQueries uses synchronous createStatement instead of createAsyncStatement.
r=asuth, sdwilsh
2011-10-03 23:50:23 +02: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
Rafael Ávila de Espíndola
e82895a375 Bug 687696 - Generate places shutdown events in the cpp tests. r=mak.
This uses the NS_XPCOM_WILL_SHUTDOWN_OBSERVER_ID notification to produce
the places shutdown messages, emulating what happens in the browser.

--HG--
extra : rebase_source : ddd5bf7973458df14c31f72567b147996b0fac00
2011-09-21 14:14:40 -04:00
Rafael Ávila de Espíndola
935ed2bcfd Bug 673017 - Misc places fixes. r=mak77.
This patch removes places-connection-closing, which is unused, reverts
1d1143dde4bb which was unnecessary and finalizes sql statements.

--HG--
extra : rebase_source : 8923378f4b1c58da8e128009efdf309f8ec29da3
2011-09-21 13:02:40 -04:00
Neil Rashbrook
c59400d1b6 Bug 660532 Remove useless uses of PromiseFlatCString r=sdwilsh 2011-09-15 09:36:07 +01:00
Marco Bonardo
3787713c22 Backout 04545026b4ae (Bug 658305) due to increase in reftests shutdown crashes on Linux. 2011-09-01 14:33:15 +02:00
Marco Bonardo
60bab9bb47 Bug 658305 - Use journal_size_limit on places.sqlite.
r=dietrich
2011-09-01 12:01:59 +02:00
Marco Bonardo
22ac610317 Bug 681420 - Improve responsiveness of history deletion.
r=dietrich sr=rstrong
2011-08-31 13:46:22 +02:00
Michael Wu
990540dee3 Bug 676188 - Misc misuses of PRBool caught by the compiler, r=jimm,jst,bz,dougt,roc,mak 2011-08-30 11:55:14 -07:00
Marco Bonardo
e642011f52 Bug 487809 - Stop using visit_count to invalidate frecencies.
r=dietrich
2011-08-30 16:24:01 +02:00
Marco Bonardo
a6322ce51a Bug 674210 - Reduce places.sqlite cache size and reorganize history expiration around the new value.
r=dietrich
2011-08-30 16:23:59 +02:00
Matheus Kerschbaum
e7cc82ef30 Bug 568971 - Nuke nsIGlobalHistory3. r=mak sr=bz 2011-08-18 12:07:43 +02:00
Paolo Amadini
5bcf37a7bd Bug 591289 - Save chosen download file name and other metadata in Places history [r=sdwilsh, ui-r=limi] 2011-08-15 18:08:48 -07:00
Jeff Muizelaar
cb92f6ff06 Bug 660662. Eliminate NS_(ceil|floor). r=roc
These just called the system versions.
2011-05-30 15:08:55 -04:00
Matheus Kerschbaum
5692e9c245 Bug 669040 part 1: Remove build-system and toolkit dependency on mork and morkreader. r=mak 2011-08-06 17:24:52 +02:00
Marco Bonardo
02e07b974c Bug 658242 - Search in bookmarks doesn't find javascript: bookmarks.
r=dietrich
2011-07-26 15:12:38 +02:00
Michael Wu
706be3a5e8 Bug 671185 - Incorrect return of NS_ERROR_* codes in functions returning PRBool, r=mak,ehsan,taras,biesi,pike,khuey,dholbert,josh,bjacob,bsmith 2011-07-25 21:57:58 -07:00
Marco Bonardo
e1678f1592 Bug 662806 - nsINavHistoryObserver: pass GUID to onPageChanged.
r=philikon sr=rstrong
2011-06-30 22:06:56 +02:00
Marco Bonardo
f7be880d3b Bug 662806 - nsINavHistoryObserver: pass GUID to onTitleChanged.
r=dietrich sr=rstrong
2011-06-30 22:05:49 +02:00
Marco Bonardo
9a02cdb748 Bug 660109 - Allow to distinguish history removals caused by expiration from those requested by the user.
r=dietrich sr=rstrong
2011-06-30 15:34:10 +02:00