rbs@maths.uq.edu.au
4dbee6da31
Catch up with recentchanges in layout
1999-11-25 07:07:06 +00:00
norris@netscape.com
d94149cfba
Back out last change; didn't mean to check it in.
1999-11-25 05:30:22 +00:00
norris@netscape.com
b84f4e2755
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
ca78c8fd3f
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
41639d5260
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
bffd2d66ef
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
a90bba289f
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
02ef1d76e2
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
fb874f5fb5
bug #13331 , implemented nsWindow::InvalidateRegion(). r=mcafee
1999-11-25 02:06:16 +00:00
jfrancis@netscape.com
300537d97f
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
8f1c54fb00
use explicit |.get()| for Unix compilers, a=leaf
1999-11-25 01:02:52 +00:00
jfrancis@netscape.com
2e8c404738
fixing bad comptr usage (also not caught by mac compiler)
1999-11-25 00:39:55 +00:00
jfrancis@netscape.com
659a91a4f7
fixing bad const in interface (not caught by mac compiler)
1999-11-25 00:36:34 +00:00
shaver@netscape.com
499161260c
readme from Daniel Howard
1999-11-25 00:29:45 +00:00
mccabe@netscape.com
8e78c02f60
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
262131f00c
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
5290635763
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
056ddf51b1
Images for outdent/indent were reversed. No review for binaries
1999-11-25 00:13:05 +00:00
vidur@netscape.com
05c12068a5
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
4156e5fb78
# 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
91ec5e1e27
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
74197ae670
Reverted to NPL 1.1. R=joki
1999-11-25 00:02:47 +00:00
vidur@netscape.com
a9da1e0c56
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
894b0140e1
Added window.scroll(). Changed signature of RegisterScriptEventListener. R=joki
1999-11-25 00:00:21 +00:00
vidur@netscape.com
6d4091e3b4
Added nsIJSEventListener.h
1999-11-24 23:59:08 +00:00
vidur@netscape.com
6fdeb43872
Added window.scroll(). Reverted back to NPL 1.1. R=joki
1999-11-24 23:58:43 +00:00
vidur@netscape.com
549c6a1b03
Added window.scroll()
1999-11-24 23:56:39 +00:00
rpotts@netscape.com
4f30567b44
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
aa97d8d646
More random flailing to fix gcc-2.7.2.3
1999-11-24 23:39:34 +00:00
waterson@netscape.com
953bbc52bf
Random flailing to fix gcc-2.7.2.3 bustage.
1999-11-24 23:19:52 +00:00
akkana@netscape.com
6ae8ca5b65
20062: following Naoki's advice on which flag to use for entity conversion
1999-11-24 22:59:34 +00:00
waterson@netscape.com
1517cee9e2
Expose nsIXULDocument and nsIXULPrototypeDocument as public interfaces. Properly implement nsIXULDocument::CreateFromPrototype().
1999-11-24 22:46:09 +00:00
waterson@netscape.com
6c61755be1
Add methods to individually flush prototypes and style sheets.
1999-11-24 22:44:52 +00:00
waterson@netscape.com
e15b65d4ef
Bug 20036. Fix style sheet ordering.
1999-11-24 22:43:45 +00:00
akkana@netscape.com
4bf4bdd23b
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
34f0aefc69
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
be93e8ba5c
fixed NSPR log file name ('NSPR Logging')
1999-11-24 22:16:17 +00:00
dmose@mozilla.org
25ace168bb
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
d5f6602513
AbortIfFalse should abort on all platforms -- that's the whole point. r=shaver
1999-11-24 21:58:20 +00:00
waterson@netscape.com
0602986c08
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
4bb45cec53
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
rods@netscape.com
fe68828b2c
change to always check for upper case TEXT
...
r=kmccluck bug 19607
1999-11-24 21:24:06 +00:00
rods@netscape.com
313a3b5799
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
6f9bb1c25a
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
0b99db3892
r=mscott, premature stream closure cleanup and minor state change to FTP state machine.
1999-11-24 21:08:04 +00:00
valeski@netscape.com
e22c818397
passing a signed int into an unsigned param. now we're not
1999-11-24 21:07:11 +00:00
rjc@netscape.com
06f941b29b
Speed up reading in of HTML results by reading in as many bytes in one chunk as possible, instead of 256 bytes at a time.
1999-11-24 21:04:52 +00:00
rods@netscape.com
0437048c61
when there is no value it gets the text for the butto from the egernated content
...
in all cases (not just when it is a submit or reset) r=kmcclusk bug 19607
1999-11-24 20:59:49 +00:00
rods@netscape.com
bca1448d3f
nsGfxListControl.cpp is now in the build
1999-11-24 20:56:05 +00:00
waterson@netscape.com
2ba203af2e
Add experimental support for RDF delegates.
1999-11-24 20:51:39 +00:00