joki%netscape.com
93019aacdb
Fix for bug 20663, mem leak in event listeners. r:beard
1999-12-04 23:40:05 +00:00
sspitzer%netscape.com
d0dbc95b12
fix warning.
1999-12-04 21:37:38 +00:00
joki%netscape.com
1e9397058e
Fix bug 14836, keep disabled control from responding to events. r:pollmann@netscape.com
1999-12-04 02:22:21 +00:00
pierre%netscape.com
8b3d56440c
20260 "html.css: <sup> and <sub>.elements need explict line-height". Fix from Ian Hickson <py8ieh=bugzilla@bath.ac.uk>.
1999-12-04 02:05:18 +00:00
vidur%netscape.com
1cf2db67a5
For bug 17325. Changed signature of css loader methods. R=nisheeth.
1999-12-04 01:29:18 +00:00
vidur%netscape.com
9f1fe721c3
For bug 17325. Added timer-based notifications that can be enabled on a pref. R=nisheeth.
1999-12-04 01:27:46 +00:00
vidur%netscape.com
62f646032b
For bug 17325: Added nsICSSLoaderObserver as a way to see when style sheets complete loading. r=pierre.
1999-12-04 01:27:14 +00:00
tbogard%aol.net
eb96099e6d
1.) WebShell no longer implements nsIScriptContextOwner.
...
2.) WebShell now implements the new nsIScriptGlobalObjectOwner.
3.) WebShell supports GetInterface to nsIScriptGlobalObject.
4.) Documents no longer carry around a reference to nsIScriptContextOwner. Instead they hold on to a nsIScriptGlobalObject. nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject(). Same change to the set methods.
1999-12-03 09:24:22 +00:00
brendan%mozilla.org
d44c35ee1b
- Doc-comments for nsIScriptContext methods I added or modified.
...
- Rename nsIScriptContext::CompileFunction to CompileEventHandler, and add BindCompiledEventHandler, to reflect function name restrictions and help brutal sharing.
- Add adjunct-interface nsIScriptEventHandlerOwner to nsIScriptObjectOwner.h; this interface is queried for by nsEventListenerManger.cpp to test and fill the XUL prototype event handler "cache".
- PR_LOG JS warnings, and look in javascript.options.{strict,werror} for those options.
- Implement nsIScriptEventHandlerOwner in nsXULElement, keeping pointers to pre-compiled event handlers in nsXULPrototypeAttribute.
(bug 13218, r=waterson@netscape.com ,vidur@netscape.com)
1999-12-03 03:40:30 +00:00
drapeau%eng.sun.com
b12618788f
Fix for bug 18899 ('Make "--enable-oji" as part of the default Mozilla
...
Build'). Modified files that conditionally compiled in support for
OJI, replacing with code that looks for OJI as an XPCOM service, and
failing gracefully if the OJI XPCOM service is not found. The four
files modified by this fix are the only active ones; other modules
that conditionally compile in support for OJI appear to be dead code.
r=drapeau@eng.sun.com . Fix contributed by Jayashri Visvanathan
(visvan@eng.sun.com ).
1999-12-03 00:26:09 +00:00
kmcclusk%netscape.com
4df6cffe8e
Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com
1999-12-03 00:06:32 +00:00
akkana%netscape.com
eba687860e
Forgot to add the idl file to the makefile
1999-12-02 22:36:34 +00:00
sfraser%netscape.com
011b2d4700
Add nsISelectionController.idl for akkana
1999-12-02 22:31:27 +00:00
sfraser%netscape.com
cd8ed2876b
Add nsISelectionController.idl for akkana.
1999-12-02 22:31:17 +00:00
rods%netscape.com
ec234e590c
changed select:-moz-dropdown-list back to collapse from hidden, this works better in more cases
...
r=kmcclusk
1999-12-02 22:09:35 +00:00
rods%netscape.com
16f2348544
clips inside the border instead of inside the border and padding
...
r=kmcclusk bug 20301
1999-12-02 22:07:43 +00:00
rods%netscape.com
4acd38e3ea
changing generated and psuedo content frames to inherit
...
r=kmcclusk bug 20301
1999-12-02 22:06:53 +00:00
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
pierre%netscape.com
6cf30a82f9
20042 "crash on www.netscape.com". Back out my change from v1.30 to fix a crash on InfoWorld which was caused by invalid html code and can no longer be reproduced with their current presentation.
1999-12-02 09:19:16 +00:00
sfraser%netscape.com
6fecda09b6
Fix for another part of for 19954 -- convert textarea data to LF termination before saving frame state. r=pollman
1999-12-02 03:12:51 +00:00
sfraser%netscape.com
bc0a4a876a
Fix for 19954 -- convert form values to CRLF linebreaks when submitting forms. r=pollman
1999-12-02 03:11:38 +00:00
waterson%netscape.com
3c49d461b2
Bug 9489. Remove cliprect push/pop to decrease paint time on titledbuttons. The cliprect was not doing anything useful, and was costing about 36% of titledbutton paint time. r=hyatt
1999-12-02 02:50:29 +00:00
evaughan%netscape.com
9c827edcdb
1) Added sanity checks to box to case memory bugs
...
2) Fixed the floating point roundoff that was causing boxes to lay themselves out off by 1 pixel
3) Simplified box data structure
-r Hyatt
1999-12-02 01:07:27 +00:00
troy%netscape.com
8bc52f9fe2
b=20367, r=jinjin@pacbell.net. Changed ResizeReflow() so that if we skip
...
reflowing the table cell (that's an optimization we do) we make sure and
position any child views
1999-12-02 01:02:53 +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
mcafee%netscape.com
bd6cbc3a44
Fix for divide-by-zero case when encountering a zer-height rect. (20071) r=evaughan
1999-12-01 22:48:06 +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
rods%netscape.com
86e95c3437
changing "select:-moz-dropdown-list" to be hidden instead of collapse,
...
this works much better.
bug 19416 r=kmcclusk
1999-12-01 22:04:10 +00:00
pinkerton%netscape.com
812bedeaed
correctly remove event listeners when frame goes away. fixes bug 19542, r=rjc
1999-12-01 22:02:33 +00:00
buster%netscape.com
119f484e96
warning cleanup
1999-12-01 15:15:44 +00:00
buster%netscape.com
d3c10d15ba
bug 2253. added controller to html text input
...
r = kmcclusk
1999-12-01 15:12:49 +00:00
dcone%netscape.com
e980952da4
Took out the clip for backgrounds.. not needed r=rods. bug=16685
1999-12-01 14:45:59 +00:00
hyatt%netscape.com
a48ef93f44
Prevent tree widget row groups from being added to the undisplayed content
...
map twice.
1999-12-01 11:13:06 +00:00
hyatt%netscape.com
9d6defe3e5
Making a change to trees so that their inner frame is a box instead of a block. This
...
makes trees faster and bypasses numerous block bugs that occur when tables or trees
are used with boxes. Also fixes bug #20354 (which is not a regression after all).
1999-12-01 10:37:20 +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
pierre%netscape.com
97457e62bb
Backing-out previous change which had the effect of getting rid of the widgets for *all* fixed positioned elements. Removing widgets is a goal at term but it's something that we want to leave to the View Manager folk(s) or at least do in sync with them.
1999-12-01 05:10:50 +00:00
troy%netscape.com
a19c2c4c87
Added XXX comment to remind me (and Chris) of a problem that needs to
...
be revisited
1999-12-01 04:50:26 +00:00
troy%netscape.com
0373cda0ac
Removed dead code
1999-12-01 04:18:20 +00:00
troy%netscape.com
01dc596189
Correctly this time
1999-12-01 04:13:19 +00:00
troy%netscape.com
6c92be92a0
Removed some commented out dead code
1999-12-01 04:12:46 +00:00
troy%netscape.com
a6363a7d20
Removed some old dead code
1999-12-01 04:10:47 +00:00
pierre%netscape.com
ce15b0c85d
18163 "Use of fixed positioning in style sheet corrupts display". Don't create empty widgets for fixed positioned elements in order to avoid problems in the View Manager (GetDrawingSurface) where we end up copying uninitialized bitmaps to the screen. The main reason for fixing the bug here instead of within the View Manager is that we'll get rid of widgets altogether over time.
1999-12-01 04:10:02 +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
sspitzer%netscape.com
2c52f853c6
simple bullet proofing fix for #20423
1999-12-01 03:08:04 +00:00
rickg%netscape.com
52326dea98
added new color for CDATA in viewsource; r=none
1999-12-01 01:13:28 +00:00
pierre%netscape.com
046ba35285
12520 "GFX select elements need to be able to turn off text". Fixing previous checkins in nsFrame::DisplaySelection(): mUserSelect is not a bit field.
1999-11-30 23:31:16 +00:00
troy%netscape.com
1e57139e94
b=20329. Fixed CleanupFrameReferences() so it isn't O(N!)
1999-11-30 23:23:50 +00:00
kin%netscape.com
5a272bb01f
Fix for bug #20107 [DOGFOOD] typing in the body causes body to scroll to top
...
and bug #19541 [DOGFOOD] Browser jumps to top of page seconds after
scrolling down
Modified nsScrollPortFrame::Reflow() to pass NS_FRAME_NO_MOVE_VIEW when
reflowing it's kidFrame.
r=evaughan@netscape.com
1999-11-30 23:18:47 +00:00
karnaze%netscape.com
2a1720d85d
new regression tests
1999-11-30 22:26:37 +00:00
ftang%netscape.com
6773500b62
fix bug 18398. Make sure the startOffset and textWidth get reset in the while loop
1999-11-30 22:16:12 +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
troy%netscape.com
7bf90e4b27
Fixed compiler warning
1999-11-30 05:38:15 +00:00
troy%netscape.com
6070918134
b=20286. Changed PlaceFloater() so that it repositions any views after
...
placing the frame
1999-11-30 05:09:08 +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
troy%netscape.com
a87ea4d233
Changes parameter to be "const nsRect*" and changed a comment
1999-11-30 04:48:34 +00:00
waterson%netscape.com
947d490060
Fix RemoveStyleSheet() per pierre's comments.
1999-11-30 04:33:28 +00:00
waterson%netscape.com
8d89aefd28
Don't re-create atom over and over. r=hyatt
1999-11-30 01:13:36 +00:00
waterson%netscape.com
f381c5dee0
Avoid excessive updates by conditioning on attribute that changed. r=hyatt
1999-11-30 00:55:59 +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
waterson%netscape.com
c2d7952c4c
Tree scrolling improvements. Avoid string twiddling in CreateAnonymousTreeCellFrames. r=hyatt
1999-11-30 00:53:41 +00:00
dougt%netscape.com
f66be6c30c
fix for 18078. r=mstoltz,warren
1999-11-30 00:32:43 +00:00
nisheeth%netscape.com
767ba5b269
Fix for bug 20194. r=beard. Thank to Patrick Beard for finding this leak in CaptureFrameStateFor().
1999-11-30 00:17:40 +00:00
selmer%netscape.com
2de04e1fc6
Include rowIndex test
1999-11-29 23:59:28 +00:00
selmer%netscape.com
731b27da8c
New test for moving rows via rowIndex assignment in javascript
1999-11-29 23:58:37 +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
valeski%netscape.com
469bced3f6
r=vidur. 18889. PNG images weren't being registered (x-png that is) for viewing by layout, now they are
1999-11-29 22:14:32 +00:00
brendan%mozilla.org
f456ebcd59
Use nsAutoString for local strings (r=vidur@netscape.com).
1999-11-29 21:15:42 +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
sspitzer%netscape.com
31b6b85808
fix warnings
1999-11-29 20:40:39 +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
tor%cs.brown.edu
0849b98e62
Build bustage fix for gcc 2.7 & vc5 - include class interface
...
before playing with nsCOMPtr. r=travis@aol.net ,a=dmose@mozilla.org
1999-11-27 05:05:14 +00:00
tbogard%aol.net
debce02604
nsGfxTextControlFrame now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. Also changed some regular XPCOM pointers to be nsCOMPtrs.
1999-11-27 03:23:43 +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
tbogard%aol.net
715b5883cb
nsFrameFrame now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. Also changed the call to GetTitle to properly free the returned pointer as an internal const pointer is no longer returned.
1999-11-27 03:06:59 +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
jfrancis%netscape.com
2fa98e7b6c
Fix for bug #18859 : [DOGFOOD] URL bar messed up
Replaced all calls to SelectAllText() with calls to
nsIEditor::SelectAll().
r=jfrancis@netscape.com
(kin is the author of these changes - being checked in by reviewer)
1999-11-26 03:11:12 +00:00
rbs%maths.uq.edu.au
e4a6b5bb4a
Catch up with recentchanges in layout
1999-11-25 07:07:06 +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
shaver%netscape.com
fdc109612c
use explicit |.get()| for Unix compilers, a=leaf
1999-11-25 01:02:52 +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
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
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
rods%netscape.com
80cf356162
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
1a118ebf48
nsGfxListControl.cpp is now in the build
1999-11-24 20:56:05 +00:00
rods%netscape.com
9d84359954
fixed it up for the frame changes so it will compile
...
(not in build yet, because if it was tinderbox would be in flames)
1999-11-24 17:33:59 +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
mjudge%netscape.com
d1b5f823f1
Fixing mac issue with selection dragging not working when above or below single line text. aka URL. mac has a different preference now. this may be done with look and feel object later. hyatt,cmanske(19191)
1999-11-24 01:10:22 +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
mjudge%netscape.com
e5cc293e99
missed a |= instead of just a ==. The compared variable is a bitflag not just a number.
1999-11-23 22:49:44 +00:00
alecf%netscape.com
6b09657267
fix for #16929
...
nuke the scrollbar whenever the total rows is less than the visible rows. This prevents the scrollbar from disappearing under you if you scroll up after many rows have been deleted (such as collapsing folders in mail)
r=hyatt
1999-11-23 22:05:19 +00:00
kin%netscape.com
ac5342a0c8
Fix for bug #18092 which is a modified version of Kipp's fix for #1413 that
...
also fixes #18002 , and #18006 . nsContainerFrame::GetFrameForPointUsing() now
looks through any outside children even if it finds a normal child containing
aPoint.
r=joki@netscape.com
1999-11-23 22:05:05 +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
mjudge%netscape.com
d7fbad6cea
small fixes for BR frames getting correct offset. also one case of textframe not returning proper location (simply a missed change of a regressed call in PeekOffset) nsCaret was also too stringent on the limitation of text frames as the only frames to get the caret position. these were reviewed by a few people and i just dont remember. r=simon,cmanske,akkana and hyatt?
1999-11-23 20:30:21 +00:00
rods%netscape.com
768f5e2a14
removed return variable that wasn't used and its warning r=self
1999-11-23 14:21:03 +00:00
rods%netscape.com
89aca60cb8
removed extra variable declaration and the warning
1999-11-23 14:20:17 +00:00
rods%netscape.com
5bae29cd58
fixed two warning r=me
1999-11-23 14:16:59 +00:00
tbogard%aol.net
515e4d9739
Changed the concept of the webshell holding an mChromeElement object to it holding a nsIChromeEventHandler interface. This is more generic and allows other apps to plugin nicer into the API.r=hyatt
1999-11-23 09:57:47 +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
warren%netscape.com
6d07de8143
Minor cleanup.
1999-11-23 07:05:53 +00:00
rbs%maths.uq.edu.au
ee7cdf8c76
Consolidation of the code and efficient trimming of msqrt by delagating a big chunk of the reflow operation to the base class.
1999-11-23 06:04:02 +00:00
sfraser%netscape.com
0e4bf774a9
#ifdef out all the stupid printfs. r=pinkerton, no bug.
1999-11-23 03:26:56 +00:00
saari%netscape.com
cb5aae9a9c
Popup menu positioning code. R: Hyatt
1999-11-23 03:02:01 +00:00
nisheeth%netscape.com
84cc491cb1
r=karnaze. Fix for bug 18367. We set the primary frame for table rows to be the row frame for all cases now. Earlier, the anonymous table row group frame was getting set as the primary frame of rows inserted from script.
1999-11-23 02:06:39 +00:00
nhotta%netscape.com
cb6e7f733b
Added error checking (result code and null pointer), bug 19469, r=ftang.
1999-11-23 01:21:32 +00:00
pierre%netscape.com
5d2edcd002
8862 "listStyleImage not directly updated". Changing the className causes recreation of frames for the element. Suggested although not formally reviewed by vidur.
1999-11-23 01:08:44 +00:00
pierre%netscape.com
36d3ba78e4
18285: crash on infoworld. When we append a change to the ChangeList, make sure we return its hint, especially if it's a HINT_REFLOW because the reflow may delete some frames that are referred to elsewhere in the ChangeList. r=troy.
1999-11-23 01:08:20 +00:00
pierre%netscape.com
096c23050e
12520 "GFX select elements need to be able to turn off text". Changed nsFrame::DisplaySelection to use the parent's mUserSelect similarly to what we do with mCursor in nsFrame::GetCursor. r=mjudge.
1999-11-23 01:07:56 +00:00
pierre%netscape.com
cf8d1c8fe2
12737: removed the 'moz-fixed' NavQuirk
1999-11-23 01:07:26 +00:00
pierre%netscape.com
93104c00ae
12520/12521 "GFX select elements need to be able to turn off text" turn off user selection inside the drop-down list. r=mjudge.
1999-11-23 01:05:45 +00:00
rpotts%netscape.com
100221faa2
Added a missing Release to prevent leaking a SupportsArrayEnumerator...
1999-11-23 00:59:41 +00:00
sfraser%netscape.com
2b2403eb47
Include stdio.h using system paths, not user paths. r=syd,akk, shaver. no bug (so bite me)
1999-11-22 23:46:30 +00:00
pinkerton%netscape.com
684eaba163
First Checked In.
1999-11-22 22:30:12 +00:00
pinkerton%netscape.com
264abc6f3b
First Checked In.
1999-11-22 22:23:08 +00:00
rods%netscape.com
fe1b8588fc
Added NavQuirks sizing for input button
1999-11-22 22:04:53 +00:00
rods%netscape.com
d6949938f3
Added NavQuirks sizing for buttons and hidden
1999-11-22 22:03:35 +00:00
rods%netscape.com
42b71cfedb
Added the correct fonts for submit,reset, input button.
...
set box-sizing for HTML 4 buttons
Set font in psuedo element for the input text
r=kmcclusk bug b=11285
1999-11-22 22:02:19 +00:00
kmcclusk%netscape.com
e9d5e61f46
Changed misspelled vertial-align to vertical-align for input[type=image]. bug=16370. r=rods@netscape.com
1999-11-22 21:32:22 +00:00
joki%netscape.com
e51265f992
Fix for 17683, add key events for alt+numpad character generation. r:vidur
1999-11-22 19:45:13 +00:00
jdunn%netscape.com
9273f4bc9a
Adding newline which is required by HPUX
1999-11-22 19:34:18 +00:00
rbs%maths.uq.edu.au
675b10fb44
Code to render the mroot tag.
1999-11-22 12:35:36 +00:00
rbs%maths.uq.edu.au
d71c49af3e
Added a control statement to avoid doing work that will lead nowhere.
1999-11-22 08:42:20 +00:00
rbs%maths.uq.edu.au
11fc53e6bd
Added a control statement to avoid doing work that will lead nowhere.
1999-11-22 08:20:50 +00:00
tbogard%aol.net
261d576815
Adding nsIChromeEventHandler.idl to the build. r=hyatt
1999-11-22 08:03:54 +00:00
tbogard%aol.net
a8a1643f27
First check-in.... Defining nsIChromeEventHandler interface for use to make the mChromeElement event firing generic. r=hyatt
1999-11-22 08:02:28 +00:00
rickg%netscape.com
e5c3b91656
landing update for harishd r=rickg
1999-11-22 06:16:25 +00:00
rbs%maths.uq.edu.au
5e6b5017f3
Catch up with recent changes in layout.
1999-11-22 03:29:14 +00:00
rbs%maths.uq.edu.au
abe4745be0
Now make mroot part of the mathml build.
1999-11-21 22:27:21 +00:00
rbs%maths.uq.edu.au
8789939889
Code to support the mfenced tag.
1999-11-21 22:16:47 +00:00
rbs%maths.uq.edu.au
458abd54c4
Minor cleanup and Fixed a regression introduced by the consolidation of the code in nsMathMLChar.
1999-11-21 22:15:17 +00:00
rbs%maths.uq.edu.au
7e68fee5e0
Consolidation of the code. Stretchy painting in horizontal direction and vertical direction and now treated with separate functions, yielding to improved readability.
1999-11-21 22:10:45 +00:00
rbs%maths.uq.edu.au
3b774bc752
Added factory function for the mroot tag and did a minor clean up
1999-11-21 22:05:15 +00:00
rbs%maths.uq.edu.au
64e4ded56d
Add hook for the mroot tag in the confined MathML world
1999-11-21 22:01:56 +00:00
rbs%maths.uq.edu.au
783a97e7f2
Added three atoms: open, close, separators. These are the attributes of mfenced
1999-11-21 21:37:25 +00:00
troy%netscape.com
cc2f4ee6df
b=19280. Changed DeletingFrameSubtree() so it's order N instead of
...
N^2/2 in the worst case. This speeds things way up. Note that the real
problem here is that WipeContainingBlock() is repeatedly throwing away
and recreating the BODY element's frame and all its child frames
1999-11-21 04:06:44 +00:00
bryner%uiuc.edu
8c66e61d94
These changes will enable scrolling with the mouse wheel (currently only
...
for unix). r=saari.
1999-11-21 01:46:41 +00:00
beard%netscape.com
3460018f00
[MLK] aCurrentStyle can be the only owning reference. r=scc, bug=15906
1999-11-21 01:14:33 +00:00
bryner%uiuc.edu
5c706d4796
Tree changes to support mousewheel scrolling, and some other tree
...
changes (scrolling changes and some nsString -> nsAutoString
conversions) from alecf. r=alecf.
1999-11-21 00:51:31 +00:00
bryner%uiuc.edu
506d296672
Oops, fixing a typo. Sorry about that.
1999-11-20 08:12:56 +00:00
bryner%uiuc.edu
c5d0fa6f07
Adding a new interface that will be used for scrolling tree frames with
...
the mouse wheel.
1999-11-20 07:16:52 +00:00
troy%netscape.com
79ddaa641e
b=19416. Workaround for problem of combo box drop-down being displayed in
...
the wrong place sometimes
1999-11-20 06:03:16 +00:00
troy%netscape.com
0e0d40fa91
b=19374. Restored some code I unintentionaly removed in previous checkin.
...
Now after Reflow() of child frame "kidRect.width" and "kidRect.height" are
updated
1999-11-19 22:04:01 +00:00
buster%netscape.com
86541b4c40
fixed bug 19381. previously, I had added 2 interfaces onto this class, but I
...
forgot to add those classes in the QueryInterface method. god, i wish we
had a macro for that!
r=kmcclusk. thanks, kevin
1999-11-19 21:33:21 +00:00
rods%netscape.com
72b3dd4e85
added boolean in DoneAddingContent method
1999-11-19 16:09:32 +00:00
rods%netscape.com
31776f0714
added bool parm to is DoneAddinContent r=dcone bug 18241
1999-11-19 16:05:16 +00:00
rods%netscape.com
7d764bab17
added bool parm to is DoneAddinContent r=dcone bug 18241
1999-11-19 15:46:20 +00:00
rods%netscape.com
a21ce430dc
remove SetMainChild
1999-11-19 15:45:55 +00:00
rods%netscape.com
f3d208613a
added bool parm to is DoneAddingContent r=dcone bug 18241
1999-11-19 15:45:47 +00:00
rods%netscape.com
c37df010f7
added nsGfxListControlFrame.cpp commented out bug 18895
1999-11-19 15:45:07 +00:00
rods%netscape.com
b2082f8df4
added bool parm to DoneAddingContent r=dcone bug 18241
1999-11-19 15:43:06 +00:00
rods%netscape.com
be77076de6
added bool parm to DoneAddingContent content sink sets it to false r=dcone bug 18241
1999-11-19 15:41:30 +00:00
rods%netscape.com
bd658d548d
added nsGfxListControlFrame code ifdef'd out r=dcone bug 18241
1999-11-19 15:41:19 +00:00
troy%netscape.com
597b5f236b
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
1999-11-19 15:33:29 +00:00
buster%netscape.com
45693ed36c
fixed a typo that compiles on win32 but not on linux
1999-11-19 08:30:02 +00:00
buster%netscape.com
93551f1751
moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
...
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:35:27 +00:00
buster%netscape.com
38d2b703cc
just a comment for future webshell work
1999-11-19 07:32:20 +00:00
buster%netscape.com
6d8e2f2301
found a tiny bug, possible uninitialized variable. fixed it along with work for:
...
moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis
1999-11-19 07:29:13 +00:00
buster%netscape.com
359a28d165
DOM extension for exposing text areas to XUL
...
bug 12022, r=rickg, vidur
also made some improvements for future docshell work
r=rickg, travis
1999-11-19 07:25:11 +00:00
buster%netscape.com
2c36996496
DOM extension for exposing text areas to XUL
...
bug 12022, r=rickg, vidur
1999-11-19 07:24:15 +00:00
buster%netscape.com
ab8c72f310
added nsIGfxTextControlFrame.h
1999-11-19 07:23:47 +00:00
buster%netscape.com
422be84322
added files: mozilla/layout/html/content/src/nsEditorController.cpp
1999-11-19 07:22:40 +00:00
harishd%netscape.com
c836a3ed47
Fix for bug 18328
...
r=vidur
1999-11-19 04:02:23 +00:00
ducarroz%netscape.com
1a31863479
Fix bug 9713. comment out some sensitive code until I rewrite it. This code isn't needed yet. r=mscott
1999-11-19 00:47:40 +00:00
rods%netscape.com
e782e5e65a
initial check in, not in the build
1999-11-18 22:14:26 +00:00
evaughan%netscape.com
579a9d2af2
1) Changed box to use a linked list instead of a fixed array. -r Hyatt
...
2) Cleaned up some of the preference panels. -r Matt
1999-11-18 21:05:43 +00:00
kin%netscape.com
9ce2f08c0b
Fix for bug #17989 : Selection AutoScrolling broken when using GFX Scrollbars
...
layout/base/src/nsRangeList.cpp
- Added ConstrainFrameAndPointToAnchorSubtree() and various utility
methods.
- Modified HandleDrag() to call ConstrainFrameAndPointToAnchorSubtree().
layout/html/base/src/nsFrame.cpp
- Modified GetContentAndOffsetFromPoint() to skip over generated
and anonymous content frames.
layout/html/base/src/nsGfxScrollFrame.cpp
layout/html/base/src/nsGfxScrollFrame.h
- Override the default nsFrame::GetContentAndOffsetsFromPoint()
implementation with a version that calls
mInner->GetContentAndOffsetsFromPoint(). This prevents the
scrollbar frames from being included in the search.
view/src/nsScrollPortView.cpp
- Fixed bug where GetContainerSize() was returning the size of the
ScrollPortView instead of the ScrolledView.
r=evaughan@netscape.com
1999-11-18 19:40:52 +00:00
dcone%netscape.com
1b778eadc9
Thickness of side is now checked. Fixed bug 14944. r=rods
1999-11-18 16:03:45 +00:00
rods%netscape.com
6ace09adfd
removing extra box sizing code that is not needed.
...
computed border and padding is always added for Standard and only for explicit w/h for NavQuirks.
r=dcone bug=18448
1999-11-18 15:15:07 +00:00
dcone%netscape.com
3c24d927ea
Move the dotted and dashed rouned corner code to fall into solid until it is supported by code
...
r=rods. Bug fixed 13944
1999-11-18 15:09:02 +00:00
rbs%maths.uq.edu.au
398a37cb3d
Fine-tuning of the placement of the sqrt symbol and Patch of Mike Shaver to make the code compile on Linux
1999-11-18 04:51:56 +00:00
warren%netscape.com
34ecf73507
Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
1999-11-17 08:14:52 +00:00
rbs%maths.uq.edu.au
319e1961df
Removed a left-over getchar() that was there for debugging purposes
1999-11-17 01:43:30 +00:00
rbs%maths.uq.edu.au
75448dae95
Code for the msqrt MathML tag
1999-11-17 01:40:04 +00:00
vidur%netscape.com
3b0f268fc3
fix for bug 18693. Event handler default actions shouldn't be done in the capture phase. R=joki.
1999-11-17 01:01:12 +00:00
rbs%maths.uq.edu.au
f3636f0f37
Examples to illustrate the newly added support of stretchy MathML symbols
1999-11-17 00:55:32 +00:00
rbs%maths.uq.edu.au
0e16ea5ebf
Code to support stretchy MathML symbols!
1999-11-17 00:49:37 +00:00
rbs%maths.uq.edu.au
4979550535
Add hook for the msqrt tag in the confined MathML world
1999-11-17 00:41:48 +00:00
vidur%netscape.com
e45ce5d5e4
Fix for bug 10173. Attributes that are enumerated values are returned with the first letter upper-cased. R=troy
1999-11-16 23:09:31 +00:00
rods%netscape.com
854e72dc25
Added MakeSureSomethingIsSelected to the combobox so the ListBox can
...
call it after it is initialized.
1999-11-16 22:47:23 +00:00
rods%netscape.com
c93837bf2a
Added MakeSureSomethingIsSelected so the ListBox can call it after it is initialized.
1999-11-16 22:47:15 +00:00
alecf%netscape.com
362d7a861c
fix for #18196 - fix off-by-one errors with trees that have headers - EnsureRowIsVisible and IsValidRow expect zero-based rows, not row-index based rows
...
r=hyatt
1999-11-16 19:07:34 +00:00
alecf%netscape.com
c24057f717
fix off-by-one error when calculating row indicies for trees with headers/footers - use IsRowGroup(), which takes headers/footers into account
...
r=hyatt
no bug, but this fixes some wierd scrolling behavior
1999-11-16 18:57:49 +00:00
norris%netscape.com
5b4b0169aa
* Fix 12124 [DOGFOOD] Reading user's preferences
...
* Implement site-specific security policies (bug 858)
r=mstoltz
* Use Recycle rather than delete[] to clean up Purify logs
r=law
1999-11-16 05:07:31 +00:00
pollmann%netscape.com
aef9c79358
Fix typo during typo during previous checkin.
1999-11-16 01:20:04 +00:00
pollmann%netscape.com
b64383029b
Bug 15204: Allow getting text value in uninitialized textarea - GetText works with text inputs AND textareas. r=harishd
1999-11-16 01:17:54 +00:00
saari%netscape.com
233ce14385
Bring back, bring back, bring back the caret to me, to me...
...
The return of the text caret. Simple change, start dispatching content
focus events to the window (what I checked in) *and* the document (the
way it worked before, what editor relied upon). Discussed with joki, but not
technically reviewed.
1999-11-16 00:04:55 +00:00
tbogard%aol.net
8c8bbce9a7
Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp
1999-11-15 22:17:54 +00:00
brade%netscape.com
899fde519d
File Removed.
1999-11-15 20:46:30 +00:00
don%netscape.com
1a4cd9e0a6
Checked in saari fix for bug #18876 to help re-open tree. r:saari
1999-11-15 20:09:37 +00:00
karnaze%netscape.com
0a147c2499
removed allocation warning messages
1999-11-15 15:42:20 +00:00
dcone%netscape.com
dee8f4a5a5
DrawDashedSides now used the correct height and width for the right and bottom
1999-11-15 15:33:25 +00:00
rods%netscape.com
a324ea0624
Fixing focus & blur event dispatch (mostly having to do with native windows in embedded webshells)
...
Fixing the sizing issues related to box-sizing for CSS.
r=buster, bug 17196,18448
1999-11-15 15:20:03 +00:00
rods%netscape.com
8313932cd7
temporarily adding box sizing utility methods to help forms calculate their size
...
appropriately for box sizing.
r=kmcllsuk, bug 18448
1999-11-15 15:16:28 +00:00
rods%netscape.com
3989b4018f
It will now mask out any focus events that may be generated because of native windows
...
r=buster, bug 17196
1999-11-15 15:13:12 +00:00
tbogard%aol.net
c1c0a44226
Changed references to nsIContentViewerContainer to nsISupports in the march to get rid of nsIContentViewerContainer. r=pavlov
1999-11-15 07:29:23 +00:00
rbs%maths.uq.edu.au
b870715d78
Catching up with recent changes in layout. Update to auto-install the mathml.dtd in bin/dtd/
1999-11-14 23:10:56 +00:00
rbs%maths.uq.edu.au
ed43efab5f
Catching up with recent changes in layout
1999-11-14 22:15:05 +00:00
tbogard%aol.net
cfc00042fa
Changed QueryCapability to use the new interface requestor. r=pavlov
1999-11-14 10:22:00 +00:00
tbogard%aol.net
d855c6540f
Reflect changes to nsIContentViewer::SetContainer and GetContainer API. r=pavlov
1999-11-14 10:12:21 +00:00
rickg%netscape.com
1694cf9261
force rebuild of this file
1999-11-14 08:41:36 +00:00
rickg%netscape.com
5f5f93e512
trying to get around string problem
1999-11-14 07:50:15 +00:00
rickg%netscape.com
c9e77e80b3
try to get around string problem
1999-11-14 07:46:23 +00:00
rickg%netscape.com
1826780418
update to sync with string API change
1999-11-14 06:22:48 +00:00
beard%netscape.com
65a3476676
pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov
1999-11-14 02:51:25 +00:00
rods%netscape.com
9908d1fd0b
Should always return true, the caching of the "true" value is most important. Failing on getting the
...
preshell or frames should not be passed back.
r=self, bug 18784
1999-11-14 00:35:35 +00:00
rods%netscape.com
744098909e
Added notification to the select in CreateElemenet to tell it it is complete.
...
r=vidur(sort iof, we talked about this change on friday) bug 18784
1999-11-14 00:34:15 +00:00
law%netscape.com
41d554cbdd
Fix bustage by backing out some CallQueryInterface calls (for Travis); r=travis@netscape.com
1999-11-13 08:20:53 +00:00
tbogard%aol.net
131348416b
Changed storage of of the container to hold simply nsISupports as the mContainer instead of nsIContentViewerContainer. Changed calls to QueryCapability to use the nsIInterfaceRequestor::GetInterface(). r=scc
1999-11-13 07:36:28 +00:00
saari%netscape.com
1cfbe7d9a6
Landing focus changes. R: joki
1999-11-13 05:16:33 +00:00
rods%netscape.com
1bb3e4524f
Disabled key events when it is disabled
...
r=dcone,b=14771
1999-11-12 15:08:28 +00:00
rods%netscape.com
1d9e5aa730
Removed the mDisplay data member it was the same as mHasAllFrames, this was preventing
...
the options from having there selected state displayed initially
Also, changed it so when in drop down mode and nothing is selected it always scrolls
to 0,0
b=14771,13771 r=kmcclusk
1999-11-12 15:00:30 +00:00
alecf%netscape.com
2c156737e1
fix for #17146 , #13483 , possibly #15479
...
don't be stupid about finding the insertion point onto the tree for new rows. use GetInsertionPoint to walk the frames to determine the appropriate row index for new content that doesn't already have frames, so that the rows in the cellmap get the right index.
r=hyatt, bryner@uiuc.edu , alecf (some code dictated by hyatt)
1999-11-12 05:51:26 +00:00
karnaze%netscape.com
fcfef2de8f
disabled delayed handling of reflow commands (pre rev 3.208). r=nisheeth
1999-11-12 04:41:34 +00:00
jdunn%netscape.com
d2fd69dd5d
Fix for AIX build bustage. Unfortunately the compiler requires that if
...
a class includes other classes, then the other classes must be defined
by the time the enclosing class is. In this case nsDST includes
NodeArena, LeafNode & TwoNode and so therefore those classes must be
defined in nsDST.h.
r troy: Note, Troy didn't APPROVE of the fix (since it isn't pretty) but
he has graciously allowed it in order to help AIX development.
He did believe that it wouldn't hurt to put the change in.
1999-11-12 03:52:50 +00:00
vidur%netscape.com
5c6aaac40c
Fix for bug 18040. Removed spurious UMR. Added macro for turning off incremental notification. R=buster, pollmann.
1999-11-12 02:07:54 +00:00
vidur%netscape.com
d04f1c5fe8
Fix for bug 18186. document.lastModified now returns the correct value for FileChannels as well. R=pollmann.
1999-11-12 02:06:54 +00:00
vidur%netscape.com
375a018914
Fix for bug 13948. We now correctly store and retrieve an OL element with type=1. R=pollmann.
1999-11-12 02:06:09 +00:00
kmcclusk%netscape.com
199bc6a632
Fixed problem where buttons where causing reflows when entering and exiting.
...
Removed outline border style and fixed style context parentage of buttons.
bug 17892; r=buster@netscape.com
1999-11-12 01:45:53 +00:00
pinkerton%netscape.com
e4bbb475eb
don't generate drag exit events until _after_ drop event has been processed. move from PreHandleEvent to PostHandleEvent. r=saari.
1999-11-12 01:02:14 +00:00
waterson%netscape.com
1c3a38512c
Bug 18544. Make sure to destroy mDisplayFrame before re-creating. r=buster
1999-11-11 22:40:25 +00:00
rods%netscape.com
aae00487b2
added empty impl of DoneAddingContent
...
b 17695, r=self
1999-11-11 22:25:23 +00:00
buster%netscape.com
7e811ce71a
removed a bogus assert.
1999-11-11 22:24:19 +00:00
buster%netscape.com
28e0861f1c
partial fix for bug 11537, r=kmcclusk (sucker!)
...
also checked in some webshell redesign work, but that is #ifdef'd out (also reviewed by kevin, double-sucker!)
1999-11-11 22:23:32 +00:00
rods%netscape.com
0e5779e8b4
notifies the select content when all the children content is there
...
r=vidur, bug 17965
1999-11-11 22:15:02 +00:00
rods%netscape.com
dfebb59b9d
Added new method "DoneAddingContent" so the select frame can be told that all the content has been added
...
Reworked the select code to keep the state as to whether all the content and/or all the frames
have been created and then whether it is initialized
r=self&kmcclusk, bug 17965
1999-11-11 22:13:33 +00:00
rods%netscape.com
717706a90f
Added method "DoneAddingContent" to notify the select that all the chiild are there
...
it also caches this state so it can be asked whether they have been added
Added method: IsDoneAddingContent(PRBool * aIsDone)
r=vidur, bug 17965
1999-11-11 22:13:20 +00:00
rods%netscape.com
5ea1ca4cf6
Added method "DoneAddingContent" to notify the select that all the chiild are there
...
r=vidur, bug 17965
1999-11-11 22:13:17 +00:00
waterson%netscape.com
8cd7359a98
Bug 18542. Make sure that we don't over-write aContentStyle arg when GFX scrollbars are turned on. r=evaughan
1999-11-11 21:48:17 +00:00
troy%netscape.com
ca3af30424
Re-order things so we set the content object's document pointer after
...
initializing it. This eliminates some useless "content changed" notifications
1999-11-11 21:43:15 +00:00
jdunn%netscape.com
0c7a249849
removing ';' from the end of the macros, since the macro in nsTimer.h
...
already handles the trailing ';'.
NOTE: trying to compile a ';' fails on AIX
1999-11-11 21:35:34 +00:00
troy%netscape.com
76b0c270fb
b=17798. Changed WipeContainingBlock() to remove the frames it is deleting from
...
the content to frame map and undisplayed content map
1999-11-11 21:08:32 +00:00
karnaze%netscape.com
8811cf8314
put back to rev 3.340 due to mail/news regressions.
1999-11-11 18:22:57 +00:00
troy%netscape.com
2e7ee4874b
b=17546. Changed block frame code to save/restore space manager when create
...
a space manager, and changes button code to use the NS_BLOCK_SPACE_MGR flag
when creating the area frame
1999-11-11 06:00:41 +00:00
karnaze%netscape.com
9ae168b719
fixed crash (cnn and other sites with javascript) in nsCellMap due to it not being invalidated.
1999-11-11 05:43:35 +00:00
pinkerton%netscape.com
73a7072999
readding the tree item drag capturer (r=hyatt)
1999-11-11 05:10:47 +00:00
pinkerton%netscape.com
6dbf140c84
reworking of toolbar d&d impl and tree d&d impl (r=hyatt).
1999-11-11 05:10:38 +00:00
pinkerton%netscape.com
c762f0d072
readding the tree item drag capturer
1999-11-11 05:10:28 +00:00
waqar%netscape.com
a09c3ecc45
# 16610
...
r vidur
d Javascript should throw an execption on index size error. DOM now throws
an execption for size error.
1999-11-11 01:48:25 +00:00
pinkerton%netscape.com
2845fd7873
remove the tree item drag capturer. i was premature.
1999-11-11 01:46:12 +00:00
pinkerton%netscape.com
81f42a6dcd
backing out my last added file.
1999-11-11 01:42:12 +00:00
waqar%netscape.com
84c24cbc5a
# 6071, 15904
...
r vidur
d Fixes the problem with comment delimiters.
1999-11-11 01:28:32 +00:00
pinkerton%netscape.com
b3c8a375fb
add nsTreeItemDragCapturer to the build
1999-11-11 01:04:36 +00:00
pinkerton%netscape.com
d5e6b12e6f
adding nsTreeItemDragCapturer to the build and moving XUL frames into the right group.
1999-11-11 01:04:15 +00:00