akkana%netscape.com
fcd5b16fd6
18046: IDL implementation of nsISelectionController from sford4@netscape.net,
...
and the infrastructure to hook it up.
This also changes the spelling from nsISelectionControler. r=mjudge
1999-12-02 21:45:21 +00:00
saari%netscape.com
bcb4759449
Adding new event state manager API GetFocusedEventTarget which returns the current frame in focus
...
regardless of the ESM instance you call it from. Editor guys need this for bug 20225
1999-12-02 20:55:17 +00:00
rjc%netscape.com
23e994f315
Optimization: 99% of trees which use the containment and/or ignore attributes put those attributes on the root node,
...
so check there first before trying to recurse from the current node all the way up to the root node.
1999-12-02 10:07:44 +00:00
sfraser%netscape.com
db82916641
Part of fix for bug 16813 -- line termination problems with forms. r=pollman, rickg.
1999-12-01 23:05:58 +00:00
danm%netscape.com
d25d8e587a
adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com
1999-12-01 22:35:33 +00:00
norris%netscape.com
d89d87531c
Fix
...
20257 unable to edit existing images in editor due to JS error
19933 JavaScript "window.location" core dumps in CAPS
Back out previous changes for enforcing security on listeners and go with a
simple restriction of access to the method for adding listeners.
r=mstoltz
1999-12-01 22:23:22 +00:00
buster%netscape.com
d3c10d15ba
bug 2253. added controller to html text input
...
r = kmcclusk
1999-12-01 15:12:49 +00:00
buster%netscape.com
fd31de07ac
bug 2253. added controller to html text input
...
r = kmcclusk, norris
1999-12-01 15:11:33 +00:00
saari%netscape.com
2fdbb01c37
Fix for bug 18983, multiple carets showing up. R: shaver, a long time ago. I've since verified personally on linux and other platforms.
1999-12-01 09:09:46 +00:00
waterson%netscape.com
0698de9566
Bug 9489. Use nsAutoVoidArray for collecting classes to avoid excessive heap use.
1999-12-01 03:27:25 +00:00
waterson%netscape.com
b226f5a42a
Bug 16516. Doh! Fix use of NS_RELEASE()-ed pointer that was causing load handlers to not run on brutally shared docs.
1999-11-30 22:47:41 +00:00
ftang%netscape.com
f6e3351358
fix bug 20181. r=ftang a=beard
1999-11-30 22:24:16 +00:00
bryner%uiuc.edu
bfeded07d0
Making a minor optimization for mousewheel scrolling on trees. r=shaver.
1999-11-30 22:00:28 +00:00
rjc%netscape.com
e63af9cb8c
Create static trueStr and falseStr once instead of various "true" and "false" usage.
1999-11-30 12:08:54 +00:00
warren%netscape.com
2db26922a6
Landing no_neckoutil2_branch. Bug #11159 . Removes neckoutil_s.lib from build which helps beos and openvms.
1999-11-30 04:50:42 +00:00
waterson%netscape.com
947d490060
Fix RemoveStyleSheet() per pierre's comments.
1999-11-30 04:33:28 +00:00
waterson%netscape.com
3a293e4998
Add 'indent' atom. r=hyatt
1999-11-30 00:55:14 +00:00
waterson%netscape.com
dd64fd7ca1
Add focus pseudo-class atoms. r=hyatt
1999-11-30 00:54:45 +00:00
dougt%netscape.com
f66be6c30c
fix for 18078. r=mstoltz,warren
1999-11-30 00:32:43 +00:00
valeski%netscape.com
6379f3162c
r=travis. 20135. we were clipping the rightmost digit of the seconds field in a refresh header attribute (thus losing a factor of 10 in refresh timer timeout).
1999-11-29 23:02:14 +00:00
waterson%netscape.com
79556e2008
Fix incorrect use of dont_QueryInterface() in PreHandleEvent() that was leaking.
1999-11-29 22:47:39 +00:00
hyatt%netscape.com
7ab98f7f26
Adding RemoveStyleSheet to nsIDocument (needed for skins). r=waterson
1999-11-29 22:15:07 +00:00
brendan%mozilla.org
f456ebcd59
Use nsAutoString for local strings (r=vidur@netscape.com).
1999-11-29 21:15:42 +00:00
waterson%netscape.com
7e03717d55
Bug 20147. Make sure to correctly scope 'parent' when creating script objects. XUL document's parent is the window; XUL element's parent is the document. r=brendan
1999-11-29 20:53:40 +00:00
brendan%mozilla.org
63f8bf1ffe
Fix refcnt underflow bug, defend against null myObj (r=vidur@netscape.com).
1999-11-29 20:44:36 +00:00
hyatt%netscape.com
9d73ef65cc
More skin work. r=pavlov
1999-11-29 06:51:24 +00:00
tbogard%aol.net
85b5334721
nsXULDocument now uses the nsIBaseWindow interface for windowing stuff on webshell instead of nsIWebShell. This paves the way for the new docshell object to move in.
1999-11-29 06:04:15 +00:00
brendan%mozilla.org
62ebb4b490
Whitespace/comment police.
1999-11-28 10:32:13 +00:00
warren%netscape.com
96ec037ac6
Eliminated the libs build pass.
1999-11-28 03:05:01 +00:00
tbogard%aol.net
305e287b28
nsHTMLDocument now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface.
1999-11-27 03:11:10 +00:00
shaver%netscape.com
89607b7de2
Repair missing newlines at end of files, and remove lines of the form
...
#endif foo
both of which upset HPUX's compiler quite a bit.
Patch from Andrew Taylor <Andrew.Taylor@cal.montage.ca>.
1999-11-26 05:33:35 +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
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
shaver%netscape.com
fdc109612c
use explicit |.get()| for Unix compilers, a=leaf
1999-11-25 01:02:52 +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
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
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
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
tbogard%aol.net
af1ce8d410
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
waqar%netscape.com
91eea99324
# 15904, 19582
...
r vidur@netscape.com
d Fixes the problem with memory leak in AppendData node when manipulating
comment nodes.
1999-11-23 23:13:03 +00:00
dcone%netscape.com
fb46865127
Initialize the mEnableRendering in other constructor... so print preview will show document. r=rods
1999-11-23 21:45:36 +00:00
tbogard%aol.net
9de401c5e3
Enabled nsHTMLFrameElement and nsHTMLIFrameElement to implement the nsIChromeEventHandler interface. r=hyatt
1999-11-23 09:42:49 +00:00
tbogard%aol.net
214c6f7a18
Enabled nsXULElement to implement the nsIChromeEventHandler interface. r=hyatt
1999-11-23 09:36:39 +00:00
warren%netscape.com
6d07de8143
Minor cleanup.
1999-11-23 07:05:53 +00:00
rjc%netscape.com
7b8ef00a40
One less loop (figured out what was preventing this).
1999-11-23 05:37:33 +00:00
rjc%netscape.com
08110eb10f
Get rid of a warning.
1999-11-23 04:47:38 +00:00
rjc%netscape.com
2cba0e8647
Get rid of another signed/unsigned warning.
1999-11-23 04:44:52 +00:00