47435 Commits

Author SHA1 Message Date
rbs%maths.uq.edu.au
e4a6b5bb4a Catch up with recentchanges in layout 1999-11-25 07:07:06 +00:00
norris%netscape.com
7219da7de5 Back out last change; didn't mean to check it in. 1999-11-25 05:30:22 +00:00
norris%netscape.com
51842ef45e Fix 18553 [DOGFOOD] addEventListener allows sniffing keystrokes
Add checks to nsScriptSecurityManager::CheckCanListenTo that take
a principal and ensure that the currently executing script code
either is from the same origin as that principal or has the
UniversalBrowserRead privilege enabled. (chrome code has all
privileges enabled by default.) It's okay for the principal passed in
to be null. That just signifies a privileged window/document that only
can be listened to with privileges.

I added GetPrincipal/SetPrincipal methods to nsIEventListenerManager.
nsDocument::GetNewListenerManager sets a principal on the listener
manager when it creates one. Obviously there are other places that
create listener managers, but scripts seem to go through this one.

Another change is to save some memory usage. Currently I allocate an
array of PolicyType that is NS_DOM_PROP_MAX elements long.
Unfortunately, compilers appear to allocate four bytes for each
PolicyType, so the array takes around 2400 bytes. I've added changes
to use two bit vectors that should consume about 1/16 that space.

r=joki

There are also changes that push nsnull onto the JSContext stack when
entering a nested event loop.

r=jband
1999-11-25 05:28:18 +00:00
akkana%netscape.com
a20778e024 Clean up editor key bindings -- saari says they don't need disabled=false. r=jfrancis 1999-11-25 04:13:03 +00:00
akkana%netscape.com
757b1fce03 18033: Add editor API for delete methods, and hook up an initial
set of emacs key bindings for Unix.  r=jfrancis
1999-11-25 04:11:51 +00:00
brendan%mozilla.org
c8fe63ef47 Eliminate Closure per ECMA ed. 3, fix brutal sharing of lambdas (20076, r=rogerl,shaver). 1999-11-25 03:25:30 +00:00
kvisco%ziplink.net
bc747e5bab Added preliminary DocumentHandler.h
Added changes from Bob Miller (kbob@oblix.com) which fix some
memory leaks.
1999-11-25 03:03:07 +00:00
mccabe%netscape.com
0397203f0d Doh. Didn't check other consequences of double-registration; it busted on the doubly-declared static CID.
Backing out until I can give it more attention after Turkey Day.
1999-11-25 02:27:14 +00:00
beard%netscape.com
a53ac014c7 bug #13331, implemented nsWindow::InvalidateRegion(). r=mcafee 1999-11-25 02:06:16 +00:00
jfrancis%netscape.com
65fcafbd6e cool! i cant believe it's not butter! (how did the mac ever compile this?) fixing bizarre cut/paste error. 1999-11-25 01:34:42 +00:00
shaver%netscape.com
fdc109612c use explicit |.get()| for Unix compilers, a=leaf 1999-11-25 01:02:52 +00:00
jfrancis%netscape.com
faa87d9226 fixing bad comptr usage (also not caught by mac compiler) 1999-11-25 00:39:55 +00:00
akhil.arora%sun.com
d5ee52a5e8 19583 r=akhil.arora@sun.com fix=Igor Nekrestyanov <nis@sparc.spb.su>
A top-level make now builds everything, including linux
1999-11-25 00:39:38 +00:00
jfrancis%netscape.com
c21e8c7d35 fixing bad const in interface (not caught by mac compiler) 1999-11-25 00:36:34 +00:00
shaver%netscape.com
6a6af11448 readme from Daniel Howard 1999-11-25 00:29:45 +00:00
mccabe%netscape.com
73d03c0d07 Fix to 18638. Register nsFileLocator (and APPSHELL_DLL, a hacked dependency) in viewer b/c prefs depends on it, and we can't turn security checks in viewer off for XPConnect testing without prefs.
The nsFileLocator registration call now occurs twice; once in xpfe/bootstrap/nsSetupRegistry.cpp, and again when that file includes this one.  Leaving it on both places to underline the hack.
1999-11-25 00:25:36 +00:00
jfrancis%netscape.com
7e43f8caf0 implemented a system to track what portion of a document is affect by an editor action. Used that system to help solve extensive whitespace handling problems, ans also problems with caret placement in response to returns (this lattter fix for html editors only - plaintext coming later). Fixed numerous list bugs involving outdenting, unlisting, and splitting lists. Checkin addressees these bugzilla bugs: 2073 & 12337 - whitespace trouble when typing (you can end up with all nbsp's instead of spaces) 1999-11-25 00:19:45 +00:00
jfrancis%netscape.com
73aafabe8e implemented a system to track what portion of a document is affect by an editor action. Used that system to help solve extensive whitespace handling problems, ans also problems with caret placement in response to returns (this lattter fix for html editors only - plaintext coming later). Fixed numerous list bugs involving outdenting, unlisting, and splitting lists. Checkin addressees these bugzilla bugs: 2073 & 12337 - whitespace trouble when typing (you can end up with all nbsp's instead of spaces) 16715 - caret gone or wrong after hitting return 16988 - aim foiled by our mozDIVs 17908 - enter at end of document does nothing 16085 - 4.x mail replied foiled by mozDIVs 19368 - inline style lost after typing return 17059 - "normal" made a paragraph, but typing made a div. Now they both just use direct text in the body (or wherever) 18717 - exiting list gives UBER caret (note: this will only be fixed most of the time, not all) 17778 - cant type beside an image (it ends up above or below it) - this was a rather strange ramification of the old mozDIV rules which are now gone. 1999-11-25 00:16:56 +00:00
cmanske%netscape.com
70a3a01f49 Images for outdent/indent were reversed. No review for binaries 1999-11-25 00:13:05 +00:00
mcafee%netscape.com
0dfed50be5 Renamed smoke test #1 to alive test; some comment cleanup; default display is now :0.0. 1999-11-25 00:07:55 +00:00
vidur%netscape.com
2f89fad454 Changed signature of AddScriptEventListener. Event handlers that are attributes of XUL elements are now compiled only when first invoked. R=joki 1999-11-25 00:06:10 +00:00
waqar%netscape.com
e3fa61d822 # 17102
r mcafee@netscape.com
d Need to have a dialog box when replacing a file. Make sure that user
  really wants to overwrite the existing file.
1999-11-25 00:05:32 +00:00
vidur%netscape.com
dd88339f19 Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki 1999-11-25 00:05:21 +00:00
vidur%netscape.com
bc1a90e967 Reverted to NPL 1.1. R=joki 1999-11-25 00:02:47 +00:00
vidur%netscape.com
58c1de27fd Fix for 19650 and 15133. Added nsIJSEventListener. JS event listener now stores script context and script object owner for late compilation of script event handlers. 1999-11-25 00:01:30 +00:00
vidur%netscape.com
3ddb8869ea Added window.scroll(). Changed signature of RegisterScriptEventListener. R=joki 1999-11-25 00:00:21 +00:00
vidur%netscape.com
6d1174d90c Added nsIJSEventListener.h 1999-11-24 23:59:08 +00:00
vidur%netscape.com
0d4cde9c06 Added window.scroll(). Reverted back to NPL 1.1. R=joki 1999-11-24 23:58:43 +00:00
vidur%netscape.com
bf26e759a4 Added window.scroll() 1999-11-24 23:56:39 +00:00
rpotts%netscape.com
193521bc26 bug #18651. Explicitly cancel te transport to make it go away even if it is blocked waiting for the consumer to empty the pipe... 1999-11-24 23:51:09 +00:00
waterson%netscape.com
dd7c188516 More random flailing to fix gcc-2.7.2.3 1999-11-24 23:39:34 +00:00
waterson%netscape.com
1260e2100c Random flailing to fix gcc-2.7.2.3 bustage. 1999-11-24 23:19:52 +00:00
ducarroz%netscape.com
69082b000c First Checked In. 1999-11-24 23:01:13 +00:00
akkana%netscape.com
b7407ba0eb 20062: following Naoki's advice on which flag to use for entity conversion 1999-11-24 22:59:34 +00:00
waterson%netscape.com
1eb45f5c91 Expose nsIXULDocument and nsIXULPrototypeDocument as public interfaces. Properly implement nsIXULDocument::CreateFromPrototype(). 1999-11-24 22:46:09 +00:00
waterson%netscape.com
42f49b9da2 Add methods to individually flush prototypes and style sheets. 1999-11-24 22:44:52 +00:00
waterson%netscape.com
47352eeda1 Bug 20036. Fix style sheet ordering. 1999-11-24 22:43:45 +00:00
akkana%netscape.com
e27df1f729 small part of 18033: get rid of obsolete bindings that interfered with Unix alt bindings 1999-11-24 22:35:15 +00:00
akkana%netscape.com
955fd37059 Fix platform global overlays now that saari and waterson explained to me how overlays work 1999-11-24 22:28:58 +00:00
jj%netscape.com
cfa5b36394 fixed NSPR log file name ('NSPR Logging') 1999-11-24 22:16:17 +00:00
dmose%mozilla.org
36e4793508 added newline to EOF to keep Solaris sed from whining, r=mcafee@netscape.com 1999-11-24 22:04:23 +00:00
akkana%netscape.com
efc8c03546 AbortIfFalse should abort on all platforms -- that's the whole point. r=shaver 1999-11-24 21:58:20 +00:00
waterson%netscape.com
f31fcc62c9 Bug 19600. Change content length magical 'unknown-so-read-til-you-puke' value from zero to -1. 1999-11-24 21:44:13 +00:00
rods%netscape.com
ca9ac3ad84 added back in the code that hook it up to the form for submission
r=kmcclusk bug 19546
1999-11-24 21:37:34 +00:00
tonyr%fbdesigns.com
6044c6f90a Got rid of outdated API's 1999-11-24 21:26:14 +00:00
tonyr%fbdesigns.com
461b99d29a Added address book import for Win32 1999-11-24 21:24:21 +00:00
rods%netscape.com
5d16e3d2d2 change to always check for upper case TEXT
r=kmccluck bug 19607
1999-11-24 21:24:06 +00:00
rods%netscape.com
6af28faed3 CheckIfAllFramesHere not actually check to see if all the frames are there
r=kmcclusk Bug 19949
1999-11-24 21:12:03 +00:00
rods%netscape.com
178617001b Add a check around the WipeContaingBlock call in ContentInserted, it checks for
the select and doesn't do it. Just like Bug 18366, r=kmcclusk Bug 19949
1999-11-24 21:10:49 +00:00
valeski%netscape.com
481695b32a r=mscott, premature stream closure cleanup and minor state change to FTP state machine. 1999-11-24 21:08:04 +00:00