Commit Graph

137 Commits

Author SHA1 Message Date
locka@iol.ie
f0dd2fb241 Put conditional test around anchor scrolling so reload operations really do reload on anchor URLs
b=30558,r=,approved valeski
2000-06-05 22:13:52 +00:00
warren@netscape.com
6a06dfc026 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
ruslan@netscape.com
8207f369cd Fix 41269. WIP on 31189. r/a=gagan 2000-06-02 21:02:31 +00:00
hyatt@netscape.com
adfeadc37c Adding support for weak references on docshells. 2000-05-28 09:25:55 +00:00
radha@netscape.com
31ea0a8002 Fix for bugs 1718, 17685, 35566. Take care of postdata and form values while
navigating thro' session history. r=adamlock@netscape.com
2000-05-26 21:03:34 +00:00
locka@iol.ie
0c25bcae33 Fixed back button scrolling to scroll to top left corner b=39716, r=jst 2000-05-24 17:18:10 +00:00
ruslan@netscape.com
27f955ad77 Fix 17570 (refresh header is broken)[nsbeta2+]; r/a=gagan 2000-05-24 02:32:13 +00:00
locka@iol.ie
101d323adf Fixed problem with internation pages, bug 40320
Fixed problem with reloading the same page twice bug 40318
Reviewed by rahda
2000-05-23 22:36:47 +00:00
sspitzer@netscape.com
95af276939 stop the crash that causes #40306. the "first time start page" causes us
many problem on linux, not sure if it is related to that page, or
the redirect.  still investigating.

other changes here remove the crap code that forces you to go to
the checkin guidelines page and to see the account manager on start up
on debug builds.  this was preventing debug builds from seeing the problem.

after this change debug behaves like optimized, which is what we want.

r=mscott, a=granrose
2000-05-23 22:18:08 +00:00
locka@iol.ie
c8ef3057cd Added code to scroll to # hrefs in the current page rather than reload. - bug #39716
Added code to preserve postdata in the session history - bug #39668
2000-05-23 00:52:59 +00:00
hyatt@netscape.com
33ee6d68e0 fix for making skins script-safe. r=scc 2000-05-19 04:48:43 +00:00
valeski@netscape.com
415fa3b49d 38695. r=alecf. i18n network error strings 2000-05-18 21:52:23 +00:00
sfraser@netscape.com
52c93768ba Fix timer refcount issues in docshell, fixes bugs 39641, 39617. r=pavlov a=leaf 2000-05-17 20:24:43 +00:00
pavlov@netscape.com
2d15c3f4b4 changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
joki@netscape.com
5f79ac0a6e Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
gagan@netscape.com
2745551e4d Fix for bug 27930. Support for IPv6. 2000-05-16 08:46:03 +00:00
warren@netscape.com
aa7dcf3133 Changes to unify nsINetPrompt with nsIPrompt, making single sign-on work. Single sign-on API changes. Fixes bugs 34583, 34720, 34725, 24746, 33094. r=sspitzer,morse 2000-05-16 05:35:23 +00:00
waterson@netscape.com
16c9bad1ba Bug 39089. Paint over the problem by special-casing 'javascript:' URIs. r=mscott 2000-05-15 06:14:32 +00:00
andreas.otte@primus-online.de
b32e9187a9 fix bug 36455, unable to go to url with port but without http://, clean up a if statement causing the problem, r=radha@netscape.com,adamlock@netscape.com 2000-05-13 12:09:16 +00:00
waterson@netscape.com
2043402a64 Add notation as to why the SetOriginalURI() hack is necessary. 2000-05-13 00:01:22 +00:00
davidm@netscape.com
38758120b3 21137 Hook up reload/shift-reload/back/forward buttons to load att r = rpotts 2000-05-10 22:45:24 +00:00
ruslan@netscape.com
bd9f7e73e3 Fix 37800 2000-05-03 00:21:51 +00:00
mscott@netscape.com
6a38e0a478 Bug #36371 --> clear refresh timers when loading new documents into the
docshell. This fixes the problem where after visiting a page with a refresh,
we would later always try to refresh that page even if you had moved on.
2000-05-01 21:33:49 +00:00
nisheeth@netscape.com
82ef56e610 1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.
2000-05-01 06:58:53 +00:00
scc@netscape.com
87c2ae4091 making string conversions explicit 2000-04-27 20:59:12 +00:00
mscott@netscape.com
3de55a56da Bug #33156 --> the doc loader now implements nsIProgressEventSink. Add this support to getInterface for the docshell. 2000-04-22 23:18:18 +00:00
gagan@netscape.com
82e5ab9453 Small HTTP api change. 2000-04-22 00:40:21 +00:00
tbogard@aol.net
0b7f9ed963 Removed the static Create method since the generic factory handles that. Changed GetStringBundle to GetPromptAndStringBundle since most people are always wanting to get both the prompt and the string bundle. Removed EnsureGlobalHistory. Global History is now instantiated on startup. 2000-04-21 23:32:11 +00:00
scc@netscape.com
3b3c59a7ff making string conversions explicit 2000-04-21 02:35:42 +00:00
radha@netscape.com
ce41038353 update session history too with the title when title gets set. 2000-04-20 23:14:53 +00:00
tbogard@aol.net
804029ea6a Remove unused variable. 2000-04-18 23:31:26 +00:00
tbogard@aol.net
ece772cc6c Don't persist "about:blank" in the session history. 2000-04-18 23:30:02 +00:00
scc@netscape.com
1adab36594 making string conversions explicit 2000-04-17 11:24:01 +00:00
tbogard@aol.net
965884c255 Added more code to ShouldAddToGlobalHistory to properly weed out items such as "about", "imap", "news", and "mailbox" schemes from getting put into global history. 2000-04-17 05:54:09 +00:00
tbogard@aol.net
b8857086c4 If the same page is being loaded twice, don't add it twice to session history. 2000-04-17 02:17:42 +00:00
tbogard@aol.net
b999b3bdb7 Making docShell not assert when global history can't be added. Someone is doing something stupid in viewer right that makes the service fail. 2000-04-16 13:01:28 +00:00
tbogard@aol.net
a41afc5a66 Cached the globalHistory service as it is called a lot especially when dealing with links up in the webshell. Fixed a bug in GetInterface where we were failing to do an else if so if you were requesting a nsIURIContentListener you ended up clearing out the object. 2000-04-16 08:39:15 +00:00
andreas.otte@primus-online.de
db087153f9 fix bug 34863 [Local Harddisks not found if I tried with C: without \], check for a drive in nsDocShell::ConvertFileToStringURI, r=gagan@netscape.com 2000-04-16 07:11:43 +00:00
tbogard@aol.net
f54d896e46 Removed the GetCanGoBack and GetCanGoForward calls from GoBack and GoForward respectively. The session history calls to get the next and previous entry will properly return error codes if navigtion in the desired direction isn't possible. 2000-04-16 05:16:16 +00:00
mccabe@netscape.com
6fc8048cc1 Modify nsIScriptGlobalObjectOwner::ReportScriptError to take an nsIScriptError interface, rather than separate message, file, line arguments.
Fix implementations and their callers, and restore error printing to stderr even when the error is successfully logged to the console service, to make life easier for people who go to the trouble to invoke Mozilla with -console.
2000-04-15 01:56:47 +00:00
jdunn@netscape.com
207bc425c8 newline for hp 2000-04-13 13:35:54 +00:00
tbogard@aol.net
04bdc70f41 Moved the implementation of nsIRefreshURI into the docShell. Reordered CreateFixupURI to try simply creating the URI before actually doing any munging. Stop now calls CancelRefreshURITimers. String version of LoadURI now properly puts up error boxes for missing protocols. 2000-04-13 03:11:44 +00:00
tbogard@aol.net
b38ee9caf6 Implemented SetFocus. 2000-04-13 02:54:38 +00:00
tbogard@aol.net
e0d0d18dcc Provided implementation for the file fixup work. 2000-04-12 10:06:58 +00:00
tbogard@aol.net
48fc03e463 Added an attribute for holding the charset info to be used during a load. 2000-04-12 00:07:04 +00:00
tbogard@aol.net
146163ca73 Provided implementation for CreateFixupURI. Added needed parameters to DoURILoad and finished implementation. InternalLoad now takes needed parameters as well. 2000-04-11 23:52:42 +00:00
tbogard@aol.net
a950679732 Seems the conditional as a parameter was too much for speedracer's little brain. 2000-04-04 03:31:57 +00:00
tbogard@aol.net
3c07064f06 CreateContentViewer() and NewContentViewer() no longer take the uri loading command as a parameter since they don't use it. InternalLoad now takes a window target parameter. DoURILoad now takes the uriloader command and a window target. 2000-04-04 00:04:04 +00:00
tbogard@aol.net
ac18f68d30 The layoutState is actually a nsILayoutHistoryState not just an nsISupports. 2000-04-03 00:47:15 +00:00
mscott@netscape.com
e3ca7cf5d2 Make sure nsIWebProgressListener is added to the GetInterface method for docshell. 2000-04-02 21:00:26 +00:00