norris%netscape.com
74c4e6c6d7
Back out last change; didn't mean to check it in.
1999-11-25 05:30:22 +00:00
norris%netscape.com
b62c04253e
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
ae7abd4efd
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
5ac4f3863a
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
1212d7a599
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
4991af52cd
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
3980465b2b
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
c7400d902d
bug #13331 , implemented nsWindow::InvalidateRegion(). r=mcafee
1999-11-25 02:06:16 +00:00
jfrancis%netscape.com
fc7b2de133
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
2d28223caa
use explicit |.get()| for Unix compilers, a=leaf
1999-11-25 01:02:52 +00:00
jfrancis%netscape.com
738f1d4415
fixing bad comptr usage (also not caught by mac compiler)
1999-11-25 00:39:55 +00:00
akhil.arora%sun.com
705b9d7627
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
73c776acd1
fixing bad const in interface (not caught by mac compiler)
1999-11-25 00:36:34 +00:00
shaver%netscape.com
78129c3200
readme from Daniel Howard
1999-11-25 00:29:45 +00:00
mccabe%netscape.com
2d56fbc2dd
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
49e900609d
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
09ed614b05
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
5f92f306c3
Images for outdent/indent were reversed. No review for binaries
1999-11-25 00:13:05 +00:00
mcafee%netscape.com
f8590a497d
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
cadeecc8a4
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
b4ed01d118
# 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
c49c6f4ec1
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
5c7f1aa95b
Reverted to NPL 1.1. R=joki
1999-11-25 00:02:47 +00:00
vidur%netscape.com
fee8b4cf95
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
8c349c93ff
Added window.scroll(). Changed signature of RegisterScriptEventListener. R=joki
1999-11-25 00:00:21 +00:00
vidur%netscape.com
caac65472e
Added nsIJSEventListener.h
1999-11-24 23:59:08 +00:00
vidur%netscape.com
d4602715d7
Added window.scroll(). Reverted back to NPL 1.1. R=joki
1999-11-24 23:58:43 +00:00
vidur%netscape.com
9f18003595
Added window.scroll()
1999-11-24 23:56:39 +00:00
rpotts%netscape.com
cd810db52f
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
f24b150fb3
More random flailing to fix gcc-2.7.2.3
1999-11-24 23:39:34 +00:00
waterson%netscape.com
03e82d50ce
Random flailing to fix gcc-2.7.2.3 bustage.
1999-11-24 23:19:52 +00:00
ducarroz%netscape.com
78992bad99
First Checked In.
1999-11-24 23:01:13 +00:00
akkana%netscape.com
7221179fb4
20062: following Naoki's advice on which flag to use for entity conversion
1999-11-24 22:59:34 +00:00
waterson%netscape.com
062b2d5a6f
Expose nsIXULDocument and nsIXULPrototypeDocument as public interfaces. Properly implement nsIXULDocument::CreateFromPrototype().
1999-11-24 22:46:09 +00:00
waterson%netscape.com
20db57f648
Add methods to individually flush prototypes and style sheets.
1999-11-24 22:44:52 +00:00
waterson%netscape.com
725a3b67cd
Bug 20036. Fix style sheet ordering.
1999-11-24 22:43:45 +00:00
akkana%netscape.com
a4e13cfcaf
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
9cffc566b4
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
58d42bf01d
fixed NSPR log file name ('NSPR Logging')
1999-11-24 22:16:17 +00:00
dmose%mozilla.org
4bd28ccf2e
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
fbc4fa0011
AbortIfFalse should abort on all platforms -- that's the whole point. r=shaver
1999-11-24 21:58:20 +00:00
waterson%netscape.com
478d77770a
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
4f976a7098
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
38d41f4dc1
Got rid of outdated API's
1999-11-24 21:26:14 +00:00
tonyr%fbdesigns.com
8a0ccbe390
Added address book import for Win32
1999-11-24 21:24:21 +00:00
rods%netscape.com
c5c9a1f829
change to always check for upper case TEXT
...
r=kmccluck bug 19607
1999-11-24 21:24:06 +00:00
rods%netscape.com
8718dcf0dc
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
70fda8cdbe
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
bbc2a15492
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
e5fe71da28
passing a signed int into an unsigned param. now we're not
1999-11-24 21:07:11 +00:00