Commit Graph

99 Commits

Author SHA1 Message Date
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Trevor Saunders
907dfc4528 bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Birunthan Mohanathas
3fa051ce6f 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
33cdb42706 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
1cfde0c1f4 Bug 627487 - Bookmark JSON backup should contain new-style GUIDs. r=mano 2013-09-03 11:56:25 +08:00
Joshua Cranmer
48e91a819c Bug 884061 - Part 3v: Use NS_DECL_THREADSAFE_ISUPPORTS in toolkit/, r=Mossop
--HG--
extra : rebase_source : ad2b2f20219b42b192c313b6fa9da3383f904805
2013-07-18 21:24:15 -05:00
Marcos Aruj
ab7e7f4345 Bug 880922 - Add depreciate warning to both SetCharsetForURI and GetCharsetForURI in nsNavHistory.cpp. r=mak 2013-07-11 16:43:00 -04:00
Asaf Romano
cf79f21921 Relanding Bug 834539 - Replace getPageTitle with an async API. r=mak. sr=gavin. 2013-06-19 10:18:38 +03:00
Ryan VanderMeulen
2754c80515 Backed out changeset 8416c29fecda (bug 834539) for xpcshell failures.
CLOSED TREE
2013-06-18 14:46:00 -04:00
Asaf Romano
82717d4434 Bug 834539 - Replace getPageTitle with an async API. r=mak. sr=gavin. 2013-06-18 19:24:31 +03:00
Ben Turner
e850a70025 Bug 857376 - 'Use 2k page_size for databases on B2G'. r=mak, sr=mossop. 2013-04-04 17:14:46 -07:00
Marco Bonardo
b7ea9efd3a Bug 561450 - Stop supporting session ids in Places.
r=Mano sr=gavin
2013-03-25 14:44:41 +01:00
Marco Bonardo
3be59a99fb Bug 838872 - Remove nsINavHistoryService::AddVisit.
r=Mano sr=gavin
2013-03-20 18:09:43 +01:00
Marco Bonardo
3f2615e852 Bug 838874 - Stop implementing nsIGlobalHistory2.
r=Mano sr=gavin
2013-03-20 18:09:41 +01:00
Marco Bonardo
601c09ba3a Bug 830423 part 1 - Avoid repeated execution of daysOfHistory query.
r=Mano
2013-03-18 16:09:09 +01:00
Marco Bonardo
3c7421aa37 Bug 834457 - Mark the Places APIs we will remove as deprecated.
r=gavin
2013-02-14 13:39:20 +01:00
Marco Bonardo
e7a888df87 Bug 826409 - Remove onBeforeDeleteURI and onBeforeItemRemoved notifications.
r=Mano sr=gavin
2013-02-06 20:48:56 +01:00
Daniel Holbert
5443affad6 Bug 835867: Use 'nsRefPtr' and 'forget()' in nsNavHistory.cpp instead of manual NS_ADDREF calls. r=mak 2013-02-01 15:15:29 -08:00
Ehsan Akhgari
84c4ac3c75 Bug 817477 - Remove support for global private browsing mode; r=jdm,glandium
--HG--
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/setup.js
rename : browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js.in => browser/app/profile/extensions/testpilot@labs.mozilla.com/modules/tasks.js
2013-01-29 13:12:13 -05:00
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Marco Bonardo
bf4532d40e Bug 827268 - Avoid useless onVisit work on transition filtered queries.
r=Mano
2013-01-07 18:54:38 +01:00
Ed Morley
64710f99c4 Backout 33b1a42588c2 (bug 827268) for xpcshell failures on a CLOSED TREE 2013-01-07 20:25:13 +00:00
Marco Bonardo
b1153465bf Bug 827268 - Avoid useless onVisit work on transition filtered queries.
r=Mano
2013-01-07 18:54:38 +01:00
Marco Bonardo
2a0990e70c Bug 825849 - Add a RemoveAllDownloads API to nsIDownloadHistory.
r=Mano sr=gavin
2013-01-05 10:21:04 +01:00
Marco Bonardo
643d69f402 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
Marco Bonardo
7aa18132a1 Bug 823156 - Speed up Library downloads query.
r=Mano
2012-12-20 14:39:12 +01:00
Jeff Walden
7146c23e80 Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger 2012-12-14 18:58:45 -05:00
Josh Matthews
03a47e15d5 Bug 723005 - Remove all checks for global privacy status in history-related code, and add them to callers when appropriate. r=mak sr=gavin 2012-02-18 01:40:10 -05:00
Andrew Quartey
96949afbbf Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan 2012-11-01 20:57:25 -04:00
Andrea Marchesini
b8574b76ab Bug 794386 - do not store blob: URIs in global history, r=gavin.sharp 2012-10-08 12:59:22 -07:00
Cameron Kaiser
02cf7d9537 Bug 793523 - Fix bookmarks search on big-endian platforms.
r=mak
2012-09-24 21:28:51 +02:00
Ehsan Akhgari
b5c39afb4e Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Aryeh Gregor
61fdd38409 Bug 782616 - Use more appropriate return types than nsresult; r=mak 2012-08-14 12:10:42 +03:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Landry Breuil
282752dbcc 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
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