Commit Graph

120 Commits

Author SHA1 Message Date
alecf%netscape.com
8752f42736 fix for bug 110290 - empty cells are considered non-existent when trying to see if a history cell is hidden or not. r/a=brade
git-svn-id: svn://10.0.0.236/trunk@108178 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 18:38:50 +00:00
alecf%netscape.com
2c306b3de9 add hidePage() API to nsIBrowserHistory, to allow hiding 302 redirected URLs from the UI, for bug 102043 r=blake, sr=sspitzer (parity with 4.x and IE behavior)
git-svn-id: svn://10.0.0.236/trunk@108114 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 00:48:18 +00:00
dbaron%fas.harvard.edu
70936bf2ff Fix nsDependentString assertions when using history window, part 2. b=109172 r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@107897 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 20:37:53 +00:00
dbaron%fas.harvard.edu
278dd22f03 Fix nsDependentString assertions when using history window. b=109172 r=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@107864 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-11 01:27:30 +00:00
jaggernaut%netscape.com
71e30acb6e Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106477 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 14:30:31 +00:00
dougt%netscape.com
fa2d0b7e98 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105973 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:01:27 +00:00
dougt%netscape.com
cf60fc042e nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
hewitt%netscape.com
e49a6ab0ff 94870 - Autocomplete ignores history entires starting with www, r=dmose, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@101608 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 03:49:31 +00:00
sfraser%netscape.com
4eb1d586bc Add error-checking code which we hope will fix bug 88961, a top-crasher in __ptr_glue. r=bnesse, sr=blake
git-svn-id: svn://10.0.0.236/trunk@101250 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 00:48:46 +00:00
hewitt%netscape.com
8aef6b3e4b 84809 - autocomplete prefs customization, r=matt, sr=blake
git-svn-id: svn://10.0.0.236/trunk@100646 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-09 06:41:11 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
blakeross%telocity.com
34431df2d9 History date/time of new pages is the date/time of the first url added in the session (91717). This will likely also help page loading time and hierarchical history folder opening (as well as item deletion). Would you believe we've been firing a timer every three seconds that flushes and recommits all of the user's global history (when all we meant to do was set a boolean to PR_TRUE) because of a copy and paste error Alec made in march? :-) r=jag sr=ben
git-svn-id: svn://10.0.0.236/trunk@99893 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 06:18:06 +00:00
pete%alphanumerica.com
63991fa7da Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete


git-svn-id: svn://10.0.0.236/trunk@99803 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-24 18:38:25 +00:00
blakeross%telocity.com
b2a486f25f History should use outliner, provide a way to sort/view history the old way, win32 classic should use +/- twisties (73857, 71947, 80846, also fixes 66907, 59814, 71029, 48864, 69260, others). r=alecf sr=ben
git-svn-id: svn://10.0.0.236/trunk@98516 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-03 01:46:22 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
dougt%netscape.com
5c5c39e4be Landing url parsing branch. 73845. r=alecf@netscape.com, sr=darin@netscape.com, a=blizzard@rednat.com.
This fixes many crashes caused by illegal uses of the nsStdURL.
This also allows a plugable protocol to provide their own url parser.


git-svn-id: svn://10.0.0.236/trunk@97696 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 22:02:47 +00:00
scc%mozilla.org
90f810b66a bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process.
git-svn-id: svn://10.0.0.236/trunk@97289 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-17 05:23:38 +00:00
alecf%netscape.com
84266e9891 fix for bug 81258 r=bienvenu, sr=waterson a=asa
correctly update the UI when items are deleted from history.. also update the FindRow semantics so it actually returns an error when the row isn't found, and fix callers who were thus doing unnecessary checks


git-svn-id: svn://10.0.0.236/trunk@97177 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 23:43:49 +00:00
alecf%netscape.com
76b7059c5a fix for bug 71903 (search history broken), bug 82277 (fix string allocation in mIgnorePrefixes), bug 83490 (non-allocating accessor for autocomplete), bug 85364 (switching to nsAutoString)
sr=hewitt
r=ben
a=asa


git-svn-id: svn://10.0.0.236/trunk@97006 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 23:59:01 +00:00
scc%mozilla.org
3c095b06b5 bug #82208: sr=sfraser, r=dbaron. Treat entries of |mIgnorePrefixes| consistently, dont' leak |mIgnorePrefixes|, don't |new NS_LITERAL_STRING|. Filed bug #82277 for further cleanup.
git-svn-id: svn://10.0.0.236/trunk@95759 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 01:11:30 +00:00
jst%netscape.com
535c86019d scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances.
git-svn-id: svn://10.0.0.236/trunk@95533 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 11:27:30 +00:00
scc%mozilla.org
b4be013eed bug #75220: sr=jst, r=dr; rename |nsCommon[C]String| to |nsSharable[C]String|. Fix all users of the old name.
git-svn-id: svn://10.0.0.236/trunk@95106 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-16 04:52:43 +00:00
scc%mozilla.org
46ad0c0eff bug #74726, partial fix, r=vidur, sr=jst: make |nsCommon[C]String| re-bindable; make constructors |explicit|; fix clients. bug #75169, r=jst, sr=waterson: fix string warnings on Windows; fix some typos
git-svn-id: svn://10.0.0.236/trunk@94617 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 08:41:21 +00:00
alecf%netscape.com
43c3541912 fix for bug 77604 and bug 78243, r=hewitt, sr=sspitzer - load the history db when the url bar kicks off an autocomplete, and make sure that we answer to the sorted name property for non-find URLs
git-svn-id: svn://10.0.0.236/trunk@93573 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 23:02:40 +00:00
mkaply%us.ibm.com
7c2e23a1d8 OS/2 and AIX breakage - use of true instead of PR_TRUE
git-svn-id: svn://10.0.0.236/trunk@93513 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 02:58:50 +00:00
hewitt%netscape.com
3c41291a37 43189 - autocomplete, r=matt, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@93472 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 18:37:04 +00:00
valeski%netscape.com
8deb3b45a4 mozilla diffs r=tao, sr=alecf, commercial diffs r=syd, sr=syd/shaver. lower-casing JS calls to createBundle. removing un-used nsILocale param from nsIStringBundle::CreateBundle(). 76332
git-svn-id: svn://10.0.0.236/trunk@93306 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 21:30:24 +00:00
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
alecf%netscape.com
3fcbba4a60 fix bustage
git-svn-id: svn://10.0.0.236/trunk@90710 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 00:38:11 +00:00
alecf%netscape.com
a9c3ef92b1 fix assert-on-exit as well as a crash when switching profiles
sr=darin, r=dmose


git-svn-id: svn://10.0.0.236/trunk@90705 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 23:59:44 +00:00
alecf%netscape.com
3429dd7075 defer history loading until the first page is added to history for percieved performance improvement
sr=waterson bug=38621


git-svn-id: svn://10.0.0.236/trunk@90258 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 15:23:40 +00:00
disttsc%bart.nl
f3f1acd1d6 Add |const| to nsGlobalHistory::GetFindUriPrefix's second parameter as per .h definition to fix OS/2 bustage. author=|lou|, r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@90111 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 10:52:57 +00:00
alecf%netscape.com
66e1113587 fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@90017 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 20:17:24 +00:00
alecf%netscape.com
da62903bf5 fix for bug 71871 - group history by day, not by age, by normalizing the AgeInDays property to the current local day's midnight.
... and bug 66906 - update history UI while surfing - this ensures that visited URIs get added to any open history windows/sidebars by asserting against all sorts of expected find URIs
sr=shaver


git-svn-id: svn://10.0.0.236/trunk@90010 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 19:26:10 +00:00
alecf%netscape.com
0b9c36362d fix today's pseudo-blocker by initializing a variable which determined if the "Now" value was valid or not
r=pchen, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@89644 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 18:34:57 +00:00
alecf%netscape.com
b1a8b670c1 fix for 71511 - clean up nsIGlobalHistory even further by refactoring setTitle i
nto nsIBrowserHistory, cleaning up extra addPage() parameters, and fixing all co
nsumers
r=valeski, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@89454 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:19:40 +00:00
ccarlen%netscape.com
f3010d0d9b Bug 65212 - profile support for kiosk mode. Also, removing profile change observer strings from header to cut dependencies. r=valeski@netscape.com, sr=alecf@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89303 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-11 22:12:21 +00:00
alecf%netscape.com
5d66e8ff00 fix for bug 70929 - refactor history into public/private interfaces
sr=waterson


git-svn-id: svn://10.0.0.236/trunk@89129 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 14:49:28 +00:00
disttsc%bart.nl
2a2d17022b Fix speedracer bustage, r=dbaron, sr=scc, fall-out from bug 53057
git-svn-id: svn://10.0.0.236/trunk@88961 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 14:52:51 +00:00
disttsc%bart.nl
abd8de21e5 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88947 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 08:05:05 +00:00
alecf%netscape.com
fdec867769 change GetLastVisitDate semantics back to the way they were before - avoids a runtime assertion in nsWebShell.cpp
git-svn-id: svn://10.0.0.236/trunk@88942 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 07:07:19 +00:00
alecf%netscape.com
0988199cc2 argh, forgot two more lines
curse PRInt64!


git-svn-id: svn://10.0.0.236/trunk@88938 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 06:34:55 +00:00
alecf%netscape.com
cfbb6dfd4a oops, better attempt
git-svn-id: svn://10.0.0.236/trunk@88937 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 06:16:02 +00:00
alecf%netscape.com
e0f845965d attempt to fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@88936 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 06:14:30 +00:00
alecf%netscape.com
1087b8d776 use nsCAutoString instead of nsLiteralCString to avoid stupid compiler ambiguity
lame! causes an extra copy.
fixes sun bustage


git-svn-id: svn://10.0.0.236/trunk@88935 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 06:02:34 +00:00
alecf%netscape.com
f0af9d73c8 implement hierarchical history!
bug 65862
sr=waterson


git-svn-id: svn://10.0.0.236/trunk@88923 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 05:15:24 +00:00
disttsc%bart.nl
d30c2be76b Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +00:00
alecf%netscape.com
f62c630a06 fix for #64060 - bulk delete history entries by hostname & domainname
also add a new history controller for future history coolness
a=ben, r=jag, and a bit of r=timeless


git-svn-id: svn://10.0.0.236/trunk@85854 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 20:21:37 +00:00