Randell Jesup
3b4961b603
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Landry Breuil
9d3e408eab
Bug 785738 Part 6: use PRTime where appropriate, and add reinterpret_casts to int64_t in corresponding GetInt64 calls. r=ehsan
...
/home/landry/src/mozilla-central/toolkit/components/places/nsNavHistory.cpp:
In member function 'bool nsNavHistory::FindLastVisit(nsIURI*, int64_t*,
PRTime*, int64_t*)':
/home/landry/src/mozilla-central/toolkit/components/places/nsNavHistory.cpp:619:
error: invalid static_cast from type 'PRTime*' to type 'int64_t*'
/home/landry/src/mozilla-central/toolkit/components/places/nsNavHistory.cpp:
In member function 'bool
nsNavHistory::CheckIsRecentEvent(nsDataHashtable<nsCStringHashKey, long
long int>*, const nsACString_internal&)':
/home/landry/src/mozilla-central/toolkit/components/places/nsNavHistory.cpp:4360:
error: invalid static_cast from type 'PRTime*' to type 'int64_t*'
2012-08-30 09:10:49 +02: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
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
e3e1225e61
Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan
2012-07-20 14:16:17 +03:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benjamin Smedberg
2b55dddfca
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
2012-05-18 13:30:49 -04:00
Patrick Wong
c9bcb02a6e
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
Paolo Amadini
1ed190720b
Bug 715355 - Deprecate and remove old style GUIDs. r=mak
2012-04-12 12:27:57 +02:00
Marco Bonardo
73069aaec1
Bug 739763 - Fix slow redirects query that with certain data distributions may cause long hangs on first page load.
...
r=dietrich
2012-04-02 22:48:28 +02:00
Marco Bonardo
8b4c77ff45
Bug 702639 - Kill excludeItemsIfParentHasAnnotation query option.
...
r=dietrich sr=gavin
2012-02-24 23:43:49 +01:00
Marco Bonardo
52fde4f398
Bug 613588 (Backend) - Load-on-demand livemarks.
...
r=dietrich,mano
2012-02-24 13:42:24 +01:00
Jeff Muizelaar
f3bfb9d9b1
Bug 718440. Add more sampler labels to various places. r=bgirard
...
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Matt Brubeck
ddcbb8cdf0
Back out 88733ce1bef3 (bug 718440) because of Windows build failure
2012-01-17 15:15:47 -08:00
Jeff Muizelaar
0e918c271b
Bug 718440. Add more sampler labels to various places. r=bgirard
...
This shows the problems described in bug 710068.
2012-01-17 15:33:04 -05:00
Marco Bonardo
ae38d8cd34
Bug 711914 - Fetching bookmarks information during onBeforeItemRemove may break the bookmarks cache.
...
r=dietrich
2012-01-12 17:04:09 +01:00
Vladan Djeric
227402dac2
Bug 704855. Reduce fsyncs in Places & create/update root bookmarks in Database.cpp. r=mak
2011-12-13 12:52:06 -05:00
Marco Bonardo
2a86a1c976
Bug 707945 - Remove the keywords trigger since it's a useless perf hog.
...
r=dietrich
2011-12-07 21:56:23 +01:00
Marco Bonardo
71242d15b8
Bug 707953 - ProcessFolderNodeRow should reuse known data.
...
r=dietrich
2011-12-07 21:56:21 +01:00
Marco Bonardo
b9cfcdc3c7
Bug 707952 - Increase bookmarks cache usefulness.
...
r=dietrich
2011-12-07 21:56:20 +01:00
Marco Bonardo
66e65fd443
Bug 707949 - Don't recalculate frecency for tags.
...
r=dietrich
2011-12-07 21:56:18 +01:00
Marco Bonardo
5020f95f55
Bug 700296 (Places) - Remove dynamic containers implementation from Places.
...
r=dietrich
2011-11-29 02:22:51 +01:00
Marco Bonardo
785954213b
Bug 703592 - Useless warning in FetchItemInfo.
...
r=dietrich
2011-11-24 17:08:39 +01:00
Marco Bonardo
a5e29469f4
Bug 702765 - Remove unused method nsNavBookmarks::IsRealBookmark().
...
r=dietrich
2011-11-17 12:12:20 +01:00
Matthew Noorenberghe
033ce45158
Bug 646993 - Cap the bookmark title length to TITLE_LENGTH_MAX r=mak
2011-10-28 20:37:13 -07:00
Marco Bonardo
a6e50cc5c5
Bug 692120 - The star button doesn't need to observe bookmarks changes till bookmarks service is alive.
...
r=dietrich
2011-10-27 11:11:45 +02:00
Marco Bonardo
50a7797537
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
478ad1a412
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
7d613942b0
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
2011-10-10 22:50:08 -07:00
Jeff Walden
c5e5f873d1
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
946f2ae0e3
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
2011-10-10 22:50:08 -07:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Marco Bonardo
90de3244f4
Bug 675416 - Fetching bookmarks information during onBeforeItemRemove may break the bookmarks cache.
...
r=dietrich
2011-08-22 15:05:16 +02:00
Michael Wu
8d598fd0bb
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
ca5062596c
Bug 662806 - nsINavHistoryObserver: pass GUID to onPageChanged.
...
r=philikon sr=rstrong
2011-06-30 22:06:56 +02:00
Marco Bonardo
7eedcb392e
Bug 662806 - nsINavHistoryObserver: pass GUID to onTitleChanged.
...
r=dietrich sr=rstrong
2011-06-30 22:05:49 +02:00
Marco Bonardo
59696eb4a5
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
Philipp von Weitershausen
6a48ac7917
Bug 633266 - nsINavHistoryObserver: also pass in GUID whenever we pass in a URI. r=mak
...
Part 3: Implementation
2011-06-08 17:10:29 +02:00
Marco Bonardo
7e457ddd66
Bug 656188 - Cache last 10 fetched bookmarks info to speed up repeated requests.
...
r=sdwilsh
2011-05-17 00:11:35 +02:00
Marco Bonardo
e15fce90c2
Bug 633274 - Follow-up to fix an intermittent crash.
...
r=postreview
2011-05-16 11:19:03 +02:00
Marco Bonardo
1aff2c83ad
Bug 633274 - Improve nsINavBookmarkObserver (Places changes).
...
r=sdwilsh
2011-05-13 21:24:22 +02:00
Marco Bonardo
2f80348082
Bug 631374 - Adding or removing tags in the selector listbox always scrolls to top.
...
r=dietrich
2011-05-05 13:14:21 +02:00
Marco Bonardo
f072b754bd
Bug 630240 - Avoid full refreshes in history results when incremental updates are easy.
...
r=dietrich
2011-04-29 18:12:20 +02:00
Marco Bonardo
5ed4c1b0b4
Bug 630225 - Expose frecency as a sorting order for the history sidebar (with slight query builder optimization).
...
r=dietrich
2011-04-13 22:15:41 +02:00
Mitchell Field
8969bddd5d
Bug 595513 - Reduce makefile recursion in toolkit. r=khuey
2011-03-08 14:58:46 +11:00