Commit Graph

7061 Commits

Author SHA1 Message Date
kipp%netscape.com
2fbd44ca90 r=troy; Added a #define to prevent future code crashes 1999-10-14 23:08:04 +00:00
kipp%netscape.com
3da3224f93 Added a new table regression test 1999-10-14 22:58:41 +00:00
ftang%netscape.com
850606d07a landing keyEvent_19991004_BRANCH
bugs # see the log of the check in into branch
author/reviewer:
mozilla/layout/base/src/nsRangeList.cpp brade/mjudge
mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp brade/ftang
mozilla/layout/events/src/nsDOMEvent.cpp brade/joki
mozilla/layout/events/src/nsEventStateManager.cpp brade/joki
mozilla/widget/public/nsGUIEvent.h akkana/ftang
mozilla/widget/src/windows/nsWindow.cpp ftang/mjudge
mozilla/widget/src/windows/nsWindow.h ftang/mjudge
mozilla/widget/src/mac/nsTextAreaWidget.cpp brade/ftang
mozilla/widget/src/mac/nsMacEventHandler.cpp brade/simon
mozilla/widget/src/xpwidgets/nsKeyBindMgr.cpp brade/ftang
mozilla/widget/src/gtk/nsGtkEventHandler.cpp akkana/?
mozilla/widget/src/gtk/nsWidget.cpp erik/ftang
mozilla/layout/xul/base/src/nsTreeCellFrame.cpp brade/ftang
mozilla/editor/base/nsEditorEventListeners.cpp brade/akkana
mozilla/editor/base/nsHTMLEditor.cpp brade/akkana
mozilla/rdf/content/src/nsXULKeyListener.cpp ftang/saari
fix the master bug- 15693
fix at least, but not limited to, the following bugs
10158,11956,6053,9333,10901,14348,6449,11845,13016,14410,15657,15307,15842,13856
1999-10-14 18:27:01 +00:00
rods%netscape.com
076620922f This corrects an erroneous checkin made on monday, fixes bug #16362 r=dcone 1999-10-14 14:55:08 +00:00
hyatt%netscape.com
b0356da4ef Fixing warnings. r=travis 1999-10-14 12:02:32 +00:00
tbogard%aol.net
57fb3acb21 Fixed a number of incorrect assumptions of the attribute retrieval so it would now work with the of new XUL content nodes (iframe, browser, editor). r=hyatt. 1999-10-14 10:58:04 +00:00
tbogard%aol.net
fec1e6f24c Adding construction for new XUL tags "iframe", "editor", and "browser". r=hyatt. 1999-10-14 10:55:24 +00:00
tbogard%aol.net
3d64ba83de Adding new XUL tags, "iframe", "browser", "editor". r=hyatt. 1999-10-14 10:54:32 +00:00
troy%netscape.com
eccee5177e b=15388,15408 r=peterl@netscape.com
Made it so that for absolutely positioned frames we pass in the containing
block width/height to the HTML reflow state, rather than have it compute it.
This means we get a bottom up size rather than a top down size. That fixes
a problem where for containing blocks with a specified 'height' of 'auto' we
weren't correctly calculating the containing block height
1999-10-14 04:56:50 +00:00
troy%netscape.com
70d79a10be b=16238. Fix discussed with evaughan@netscape. One line change to make sure
the default area frame flag of NS_BLOCK_SPACE_MGR is used for scrolled
elements
1999-10-14 04:47:18 +00:00
troy%netscape.com
416156109c Space reductions for nsTableFrame. r=karnaze@netscape.com and changes Cc'd to
Hyatt. Tested extensively in apprunner (now mozilla). Change was to reduce from
10 to 5 the default size of the mColumnWidths array (note that the array is
dynamically grown if necessary). This reduces by 20 bytes the minimum table
frame size
1999-10-14 04:27:01 +00:00
karnaze%netscape.com
8589f840a1 bug 15247 - ComputeAvailableTableWidth accounts for margins 1999-10-14 04:03:20 +00:00
karnaze%netscape.com
97bc7cdc28 cells with width=0 become auto, added comments 1999-10-14 04:01:26 +00:00
karnaze%netscape.com
84c1a59ffe new regression tests 1999-10-14 03:59:42 +00:00
peterl%netscape.com
5cf3f40b06 moved style rule cascading logic into a stand-alone rule processor
the rule processor can now cascade rules from multiple style sheets
fix for bug 12401 & 12106
r=pierre
1999-10-14 00:59:21 +00:00
peterl%netscape.com
9005fd85a5 factored out parsing of style attribute
deferred parsing of style attribute until content
is connected to a document
Fix for bug 14986
r=vidur
1999-10-14 00:57:37 +00:00
peterl%netscape.com
3784781301 added an assertion to help track down Bug 14238
r=troy
1999-10-14 00:56:30 +00:00
rbs%maths.uq.edu.au
e853983143 [MathML] Fix to get the scriptlevel style context back, and minor cleanups. 1999-10-13 15:10:14 +00:00
karnaze%netscape.com
d978f30c29 bug 11026 - AllocateUnconstrained was off by 1 twip in some cases. bug 14159 - cell is not fixed width if an auto cell in the same col has a larger desired size for backward compatibilty. 1999-10-13 14:44:22 +00:00
karnaze%netscape.com
48c216257e removed handling of 0 width cells in ComputeAvailableTableWidth since it is done in nsHTMLTableElement. review=kmcclusk 1999-10-13 14:39:33 +00:00
karnaze%netscape.com
91b4aeefdd added comments 1999-10-13 14:36:28 +00:00
waterson%netscape.com
86ea8fe7d3 Factor out dirtying of tree, fixed bug with dynamic column creation due to row addition. r=hyatt 1999-10-13 08:53:57 +00:00
pinkerton%netscape.com
9d9178e980 correctly update cellmap when scrolling in a tree with no column headers (r=hyatt, partial fix for bug#15771) 1999-10-13 08:01:43 +00:00
karnaze%netscape.com
e1b3f6ad9c new regression tests, file images for others. Does not affect the build. 1999-10-13 05:40:53 +00:00
vidur%netscape.com
a636b7dacd Fix for bug 15772. Check that a content node is part of the document tree before dispatching a blur event to it. R=joki 1999-10-13 04:19:26 +00:00
pollmann%netscape.com
e0ed7d0ee8 Bug 16126: Check for a cached state when reading value or submitting Gfx text frame (before initialize); r=joki 1999-10-13 02:49:42 +00:00
pollmann%netscape.com
3ab87e9d02 Bug 15423: Check for a base href when forming the URL for an image map; r=harishd 1999-10-13 01:37:30 +00:00
mjudge%netscape.com
3a065e373b bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. get position not a valid call anymore to nsIFrame.h 1999-10-13 01:16:09 +00:00
mjudge%netscape.com
fc71fb36d1 bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. 1999-10-13 01:15:26 +00:00
troy%netscape.com
e592be8776 b=15509, r=peterl@netscape.com
If the frame has visible content that extends outside its content area,
then the view needs to be marked as having transparent content
1999-10-13 01:02:53 +00:00
pollmann%netscape.com
b32d16e429 Bug 15180: Don't add a Referer line to the HTTP post data, as Necko already adds one. r=harishd 1999-10-13 00:54:47 +00:00
pinkerton%netscape.com
008ee8f541 pulled mac-specific patches to the tip in order to allow typing in the url bar in navigator to work w/out firing cmd-keybindings. (r=saari, no explicit bug number). 1999-10-13 00:44:43 +00:00
rbs%maths.uq.edu.au
2d3b3fe6f0 [MathML] Update MathML hooks 1999-10-13 00:33:17 +00:00
kipp%netscape.com
02b64f135d r=kin,troy; Fixed reflow bug with optimization logic to avoid measuring text (no bug #) 1999-10-12 23:29:01 +00:00
kipp%netscape.com
e44578adf4 Fixed bugs with combined-area continuing to include trimmed whitespace (wip for 12297); Added support for tracking trim for 16176) 1999-10-12 23:27:32 +00:00
kipp%netscape.com
384ec5e73f New API for bug 16176 1999-10-12 23:26:41 +00:00
kipp%netscape.com
87e08f98e9 Factored common code into a single method (UseComputedHeight) 1999-10-12 23:25:49 +00:00
kipp%netscape.com
5a9e69f0c8 Port to new nsILineIterator api 1999-10-12 23:25:19 +00:00
kipp%netscape.com
2cd78b72d8 Fixed bug with bounds of line-box including side margins when it shouldn't (part of 12297) 1999-10-12 23:24:51 +00:00
kipp%netscape.com
d29d16b728 r=troy; Cleaned up line-box API (prep work for bug #12297; more coming); Support new line iterator API change (#16176) 1999-10-12 23:24:22 +00:00
kipp%netscape.com
2c4293a104 Removed silly NS_IMETHOD decls 1999-10-12 23:22:53 +00:00
kipp%netscape.com
9059f09ba2 Added two new atoms to help meter large vs. small line boxes 1999-10-12 23:22:34 +00:00
kipp%netscape.com
70bd159dd4 Removed two warnings 1999-10-12 23:21:40 +00:00
kipp%netscape.com
6bf36d863a new 1999-10-12 23:20:40 +00:00
mgleeson1%netscape.com
e12bc5aecd r=evaughan friend declaration needs to declare object is function or class (HPUX) 1999-10-12 22:58:04 +00:00
kmcclusk%netscape.com
4482aee25c Set state of checkbox and Radio button on MouseUp instead of MouseDown so JavaScript onclick
event handlers can retreive the correct state of the form element. bug 15366; r=rods@netscape.com

Submit the form when a text field is clicked on only if the JavaScript event handler
has not consumed the event. bug 15949; r=rods@netscape.com
1999-10-12 22:44:23 +00:00
kmcclusk%netscape.com
b545fdcf6a Backing out change made while tree was closed 1999-10-12 22:07:24 +00:00
kmcclusk%netscape.com
6c2f2a1317 Backing out changes made while tree was closed. 1999-10-12 22:01:49 +00:00
kmcclusk%netscape.com
be2e4b8643 Set state of checkbox and Radio button on MouseUp instead of MouseDown so JavaScript onclick
event handlers can retreive the correct state of the form element. bug 15366; r=rods@netscape.com

Submit the form when a text field is clicked on only if the JavaScript event handler
has not consumed the event. bug 15949; r=rods@netscape.com
1999-10-12 21:42:31 +00:00
evaughan%netscape.com
23b60d7a97 Fixed mail/news regression. Code review Saari, Hyatt 1999-10-12 20:50:01 +00:00
karnaze%netscape.com
669eb396ce new regression test. 1999-10-12 14:50:38 +00:00
pollmann%netscape.com
f7222cc9f3 Bug 15841: Don't default to selecting item 0 of a listbox
Bug 15769: Default select item 0 when adding or removing opt to combo
r=harishd
1999-10-12 08:47:29 +00:00
pollmann%netscape.com
08ea485d71 Bug 15769: Default select item 0 when adding or removing opt to combo
r=harishd
1999-10-12 08:47:22 +00:00
rbs%maths.uq.edu.au
017d0d5737 [MathML] Updates and initial landing of the example mixing.xml to illustrate how to mix MathML with other markups 1999-10-12 05:00:32 +00:00
rbs%maths.uq.edu.au
0ec7303f51 [MathML] Removing unecessary #include of header files 1999-10-12 04:53:41 +00:00
rbs%maths.uq.edu.au
28c122e4d4 [MathML] Additional missing hooks 1999-10-12 04:47:55 +00:00
rbs%maths.uq.edu.au
d3653d18a2 [MathML] Removing unecessary #include of header files 1999-10-12 04:42:15 +00:00
rbs%maths.uq.edu.au
5d35f5b61c [MathML] Portability: adding explicit get() on pointers coming from nsCOMPtr 1999-10-12 04:38:21 +00:00
waterson%netscape.com
bdfcaec321 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 03:05:10 +00:00
rbs%maths.uq.edu.au
6ba1cb69a5 Revamp of the architecture for stretchy symbols so that nsMathMLChar only deals with the atomic stretchy task. 1999-10-12 02:12:36 +00:00
rbs%maths.uq.edu.au
8cbb1cdef9 Removing a duplicate reference to a src file 1999-10-12 02:06:05 +00:00
rbs%maths.uq.edu.au
6a2d47eede Removing a typedef and adding a new NS_MATHML_OPERATOR_MUTABLE flag 1999-10-12 01:58:27 +00:00
rbs%maths.uq.edu.au
7900952c3a [MathML] removing registration hooks. They are now handled by nsLayoutModule. 1999-10-12 01:48:05 +00:00
peterl%netscape.com
cc76d235e4 store system colors as int rather than enums
return proper result code when setting system color
r=rods
1999-10-12 01:31:33 +00:00
rbs%maths.uq.edu.au
b834bd2175 [MathML] Setting a bolean to PR_TRUE to allow generated pseudo content (e.g., :before, :after) in MathML. 1999-10-12 01:19:34 +00:00
peterl%netscape.com
d4f84a11bc better result code testing in recreate frames for content
part of fix for 14134
r=pierre
1999-10-12 00:32:13 +00:00
peterl%netscape.com
04a12df544 added ignore value to user-focus
r=hyatt
1999-10-12 00:30:54 +00:00
peterl%netscape.com
ca5306ed74 added 'ignore' keyword
r=hyatt
1999-10-12 00:30:19 +00:00
warren%netscape.com
48b4a9d06e Added NS_LOG_RELEASE for bloat stats. r=kmcclusk 1999-10-12 00:28:14 +00:00
peterl%netscape.com
e80ae8cff9 fix return type for append reflow command (was returning PRBool for nsresult)
part of fix for 14134
r=pierre
1999-10-12 00:23:10 +00:00
peterl%netscape.com
3ebf849605 dont strip multiple changes with nsnull frames
part of fix for 14134
r=pierre
1999-10-12 00:22:18 +00:00
peterl%netscape.com
8112eaf09e add 'ignore' to user focus
r=hyatt
1999-10-12 00:21:06 +00:00
evaughan%netscape.com
f3a2112f38 Integrated Gfx scrollbars. 1999-10-12 00:16:06 +00:00
rods%netscape.com
3a21cb8387 changed fonts for select and optgroup to match r=kmcclusk b=12230 1999-10-11 23:48:41 +00:00
rods%netscape.com
576fcbcff3 removed css system color references (not implemented on Mac yet)
changed all checkbox borders to 2 pixels r=kmcclusk b=13854
1999-10-11 23:44:36 +00:00
nisheeth%netscape.com
b052eec318 We now use the new RAPTOR_STOPWATCH_DEBUGTRACE macro to annotate all manipulations of the timers. 1999-10-11 23:42:56 +00:00
rpotts%netscape.com
9ced2151e2 Removed 2 *extra* calls to NS_RELEASE in failure cases... 1999-10-10 06:58:42 +00:00
warren%netscape.com
bb32e6e730 Fixed refcounting problem and possible out-of-memory condition. r=kipp 1999-10-10 02:08:08 +00:00
dveditz%netscape.com
ff01d5e8f4 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
av%netscape.com
9e949e98fe Bug 15178, r=vidur adding check for return value avoiding crash 1999-10-08 23:47:03 +00:00
av%netscape.com
4e9cabb770 Bug 15178, r=vidur adding check for null-pointer avoiding crash 1999-10-08 23:46:23 +00:00
kipp%netscape.com
2fca0a4fa8 Fixed cellmap ctor/dtor logging to not show up negative 1999-10-08 23:42:13 +00:00
jfrancis%netscape.com
14f246e247 applying same fix as rev 1.28 (initializing mIsDone) to the rest of the Init() methods. 1999-10-08 23:34:07 +00:00
troy%netscape.com
01052d5667 Changes to SizeOf() code only. This code is debug code that only runs
when you chose the "Show Frame Sizes" menu item...
1999-10-08 23:18:19 +00:00
troy%netscape.com
0d79fa2c78 Fix for blocker #15839. r=kipp@netscape.com,kin@netscape.com
Typing into a text area wasn't working properly. Problem was that when the text
changed we were reflowing the text frames with a resize reflow command and
we thought we could optimize the reflow. So I changed ContentChanged() to
mark each text frame dirty so we would know not to do the optimization
1999-10-08 22:04:31 +00:00
kipp%netscape.com
65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
slamm%netscape.com
26d787fa8c Backout troy's last set of changes. Caused bug #15790, 'opening bookmarks window and expanding mail folders crashes'. r=waterson. 1999-10-08 18:52:19 +00:00
rods%netscape.com
1d4f67cd4b ifdef'ed out a static counter for debugging. r=kmcclusk b=15637 1999-10-08 12:24:11 +00:00
troy%netscape.com
f8ffb47533 Change to SizeOf() code (diagnostic code only). Changed table frame
code to split the column cache size out into a separate listing
1999-10-08 05:12:55 +00:00
troy%netscape.com
3b3ccb9cf7 Removed some dead code and moved some #if 0 code from the area frame
to the block frame. This completes the previous checkin
1999-10-08 04:45:12 +00:00
troy%netscape.com
72ee697f6c Frame space reductions. r=kipp@netscape.com
Table cell frames and table caption frames now use block frames and not area
frames. This saves 24 bytes per frame instance
1999-10-08 04:32:46 +00:00
peterl%netscape.com
a3aede8c1c First step at fixing 12106, factored out style rule processing from
style sheets into a seperate style rule processor interface
r=troy
1999-10-08 03:09:31 +00:00
peterl%netscape.com
a3ac8f0950 removed setting of border color for table parts (cruft from the dark ages)
Bug 15802
r=rickg
1999-10-08 02:07:37 +00:00
warren%netscape.com
8c71c45537 Fixed AddRef/Release problems to eliminate negative refcounts in Bloaty. 1999-10-08 01:49:06 +00:00
rods%netscape.com
f23e9431e8 minor adjustment for focus 1999-10-07 21:58:14 +00:00
rods%netscape.com
fe5ef3fa56 Addtional changes for form padding and borders
r=kmcclusk
1999-10-07 21:54:13 +00:00
rods%netscape.com
16691bc35b Changed the border and padding for all the form control frames to be as compatible with Nav Quirks as we can
added rules for form controls inside of tables
r=kmcclusk
1999-10-07 21:47:54 +00:00
rods%netscape.com
3f456e3f80 Added the COMPAre macro for comparing sizes with NavQuirks
r=kmcclusk
1999-10-07 21:46:31 +00:00
rods%netscape.com
a7f80d034e Changed the way the list figures out how high a single item is, it now subtracts out the padding & border instead of just the border
r=kmcclusk
1999-10-07 21:39:50 +00:00
rods%netscape.com
aad2ad4877 Removed code where standard mode was incorrectly subtracting border size
r=kmcclusk
1999-10-07 21:37:02 +00:00
rods%netscape.com
c13c023660 Added macro to help in figuring Nav Quirks default size for all
controls ifdef for just me. Renamed aMetrics to aDesiredSize
Did some clean. Nav Quirks obeys padding and not border.
Reworked how computed size is used r=kmcclusk
1999-10-07 21:09:47 +00:00
rods%netscape.com
f1ae33e0a0 Added macro to help in figuring Nav Quirks default size for all
controls ifdef for just me r=kmcclusk
1999-10-07 21:07:38 +00:00
rods%netscape.com
53a5602235 Added macro to help in figuring Nav Quirks default size for all controls r=kmcclusk 1999-10-07 21:04:52 +00:00
pinkerton%netscape.com
4ec8926895 correctly determine when the image has changed sizes to avoid causing unnecessary reflows. now comparing twips to twips instead of twips to pixels. part of fix for bug #15722 (r=evaughan). 1999-10-07 21:02:58 +00:00
kmcclusk%netscape.com
0d5889ab19 bug=15184 Made <input type=password> a form submitter. Hitting return in a password field
will now submit the form. r=rods@netscape.com
1999-10-07 20:54:42 +00:00
dcone%netscape.com
317cd9edf5 Fixed some warnings 1999-10-07 20:40:00 +00:00
troy%netscape.com
f6340feb91 Space reductions, r=karnaze@netscape.com
Eliminated one data member, moved one to flag frame state, and changed mBorderEdges
to be heap allocated (only for collapsing border model)
1999-10-07 20:38:50 +00:00
dcone%netscape.com
edf1bb0675 Turned on the background tiling optimization.. Reviewed By rods 1999-10-07 14:57:32 +00:00
rods%netscape.com
6d5718c214 removed unused result to remove warning r=pinkerton 1999-10-07 13:47:43 +00:00
kipp%netscape.com
90274bbf16 r=peterl; fixed a regression that I regrettably caused; had the test for success backwards 1999-10-07 01:44:16 +00:00
harishd%netscape.com
43f91fa145 Mapping nsDTDMode to eParseMode (in mozilla/htmlparser/src/nsIDTD.h)
R=pollmann
1999-10-07 00:35:16 +00:00
kipp%netscape.com
cfa92fd85e Updated SizeOf methods for html content objects to be more accurate; implemented MOZ_DECL_CTOR_COUNTER for all html content objects 1999-10-07 00:35:04 +00:00
kipp%netscape.com
26fb1296d8 Tweaked call of log_release 1999-10-07 00:32:25 +00:00
kipp%netscape.com
790ccf8ff7 Added some atoms to support SizeOf metrics 1999-10-07 00:31:41 +00:00
kipp%netscape.com
59d158d535 Work around a crash by stubbing out some pointers that are weak links that are not to be used during shutdown 1999-10-07 00:31:21 +00:00
kipp%netscape.com
7eec6a495e Don't forget to remove the observer when dtor is running (fixes a sometimes crash in viewer); also fixed a memory leak of a style context 1999-10-07 00:30:20 +00:00
kipp%netscape.com
4b19ca3266 Eliminate a memory leak of a style context (which ends up leaking all the stylecontexts upward) 1999-10-07 00:29:28 +00:00
harishd%netscape.com
23cdb1131e Bug 13647
In nsXIFConverter::BeginContainer(const nsString& aTag)
newline was getting appended by default at the end of a tag.
Setting the default value to PR_FALSE to avoid newline insertion
at the end of a tag.
R=akkana
1999-10-07 00:28:58 +00:00
kipp%netscape.com
e31117c23f Eliminate a warning 1999-10-07 00:28:41 +00:00
sspitzer%netscape.com
2828737165 bulletproofing for bug #15728, r=alecf
if there are no panels, just return.
1999-10-07 00:28:24 +00:00
troy%netscape.com
58eccb6592 b=11971, r=peterl@netscape,karnaze@netscape.com
Changed ContentInserted() to use GetFrameFor() so we target the table cell's
area frame
1999-10-06 23:17:28 +00:00
pavlov%netscape.com
748a87340d final step to make menus dismiss on unix r=hyatt 1999-10-06 23:00:53 +00:00
troy%netscape.com
cdf2c77595 Moved space manager to block frame and changed it the space manager is
temporary only during the reflow process
r=kipp@netscape.com
1999-10-06 22:05:23 +00:00
norris%netscape.com
93538eafc8 Fix another portion of 13192 Mozilla is "oversecured" and does not allow access to documents in the same domain
Reviewed by vidur.
1999-10-06 21:13:37 +00:00
vidur%netscape.com
5427f58b01 Implemented document.width/document.height by looking at the dimensions of the view of the frame of the document element. Bug 961. R: troy 1999-10-06 20:32:49 +00:00
pavlov%netscape.com
f65d72dc11 ifdef out the call to CaptureMouse since it is no longer needed r=rods 1999-10-06 13:36:39 +00:00
troy%netscape.com
606f3b77ab Space issue. r=kipp@netscape.com
Replaced hash table which used lots of memory with simple linked list of
FrameInfo* structs
1999-10-06 04:22:51 +00:00
karnaze%netscape.com
64e6c05cf3 fixed assertion in viewer sample 4. AdjustForCollapsingCols was incorrectly counting as columns frames which were not of display type NS_STYLE_DISPLAY_TABLE_COLUMN and something must have changed elsewhere to tickle this. 1999-10-06 03:59:07 +00:00
waterson%netscape.com
999b2b0d77 Fix leaking rowgroup frame. r=hyatt. 1999-10-06 01:50:14 +00:00
mgleeson1%netscape.com
675530c17a r=kipp changed illegal escape \{ to { 1999-10-06 01:41:38 +00:00
waqar%netscape.com
0b9d4f8f8f # 9777
r vidur
d When splitText has an index error, it used to send NS_ERROR not it sends
  the proper DOM index size error.
1999-10-06 00:06:53 +00:00
kipp%netscape.com
3eaba4f422 Support SizeOf methods 1999-10-05 23:47:46 +00:00
hangas%netscape.com
73c618e840 Fix bug 13729 for putterman/hyatt. Tree headers not always displaying on Mac/Linux. Commented out optimization in Reflow(). r=hyatt. 1999-10-05 23:46:16 +00:00
pollmann%netscape.com
9fff77bf97 Bug 15170: Implement onchange notification for list boxes 1999-10-05 23:43:06 +00:00
danm%netscape.com
97d547983d Release XP menu rollup listener before menu is executed. This restores normal event handling earlier. Fixes bug 15596. r:hyatt 1999-10-05 23:31:06 +00:00
kipp%netscape.com
de44833a85 Added in ctor/dtor counting 1999-10-05 14:53:40 +00:00
kipp%netscape.com
8274ae09b1 r=peterl; Added in ctor/dtor counting 1999-10-05 14:52:20 +00:00
kipp%netscape.com
e62c3edf52 Removed static ctors 1999-10-05 14:51:56 +00:00
kipp%netscape.com
a2f1c7cf5a r=troy; Added in ctor/dtor counting 1999-10-05 14:51:12 +00:00
kipp%netscape.com
9996b80dd5 r=troy; Added some atoms to help eliminate global ctors 1999-10-05 14:51:02 +00:00
kipp%netscape.com
9648facf13 r=troy; Removed some of my own debug noise 1999-10-05 14:50:30 +00:00
kipp%netscape.com
b40abf0746 whitespace noise 1999-10-05 14:50:06 +00:00
karnaze%netscape.com
49cb28761f bug 14818 - made standard mode like NavQuirks when handling colspans exceeding the number of columns. 1999-10-05 04:21:00 +00:00
norris%netscape.com
716e97dd9c Fix 15458 "onLoadHandler does not work"
Reviewed by mstoltz.
1999-10-05 04:08:14 +00:00
rpotts%netscape.com
89f54ea1ae bug #15341 and bug #15344. Use the documentloader observer instead of a stream observer. 1999-10-05 04:04:16 +00:00
waterson%netscape.com
fd05a45cc4 Bug 15511. Make sure container element sets 'parent' backpointer to null before releasing child; prevents dangling references if child is still referenced from elsewhere. r=vidur 1999-10-05 03:20:57 +00:00
troy%netscape.com
05b9f1f4ff Checked in workaround for tree-view/apprunner problem of assert in GetColumnWidth() 1999-10-05 02:41:36 +00:00
kipp%netscape.com
6b151c623e backed out dps erroneous fix 1999-10-05 01:44:35 +00:00
dp%netscape.com
82c29aa82a Fixing build bustage. 1999-10-05 01:25:55 +00:00
troy%netscape.com
06c4d97c3b Removed unused data member 1999-10-05 00:32:07 +00:00
waterson%netscape.com
b9528fb7bc Bug 15460. Expose XML element creation via nsIXMLElementFactory interface. r=kipp. 1999-10-05 00:12:21 +00:00
kipp%netscape.com
a3d7e7cf09 r=vidur; fixed a memory of a script content object 1999-10-05 00:05:38 +00:00
kipp%netscape.com
d47f06d32d r=troy; missed checkin from last weeks module carpool 1999-10-04 23:56:57 +00:00
troy%netscape.com
d6fe7542eb Space optimization for nsTableFrame. r=karnaze@netscape.com
- changed mBorderEdges to be heap allocated (only needed for collapsing border model)
- made the 8 boolean data members into bitfields
- changed mColumnWidths to be as small as necessary instead of defaulting its size to 100 elements
1999-10-04 23:48:05 +00:00
troy%netscape.com
7fd0cda385 Made sure mOutsideEdge is initizlied 1999-10-04 23:44:44 +00:00
peterl%netscape.com
69c028cae8 fixed leak of undisplayed content map nodes (which leak style contexts)
r=kipp
1999-10-04 23:33:23 +00:00
rods%netscape.com
d79137420a fixes bug #15265, changes reviewed by kmcclusk. Changes in the way it used the computed values 1999-10-04 13:49:00 +00:00
karnaze%netscape.com
249f8499bb column allocation does fixed and adjusted fixed (colspans) in separate steps. Simplified AllocateConstrained. Fixed bug 14332. 1999-10-04 05:19:32 +00:00
karnaze%netscape.com
5dce94ef3e regression test changes 1999-10-04 04:48:13 +00:00
dp%netscape.com
a8d8120128 bug# 15433 Fixed call to NS_ADDREF() that would cause double
evaluation when MOZ_REFCNT is defined. Fixed checking for
OUT_OF_MEMORY condition. r=hyatt
1999-10-04 02:27:09 +00:00
beard%netscape.com
9eae33066d changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
peterl%netscape.com
88203d51ef Don't access undisplayed content map if it isn't there... 1999-10-02 19:45:18 +00:00
rbs%maths.uq.edu.au
93ac1da9b5 Adding remaining MathML hooks. r:peterl. 1999-10-02 11:05:49 +00:00
rbs%maths.uq.edu.au
93d65241ae Adding remaining MathML hooks 1999-10-02 11:01:41 +00:00
rbs%maths.uq.edu.au
129e3d048e Adding remaining MathML hooks and changing ifdef INCLUDE_MATHML to ifdef MOZ_MATHML to avoid thinking autoconf-related. r:peterl 1999-10-02 10:41:40 +00:00
rbs%maths.uq.edu.au
b7e28d02f1 Change of the IID for the nsIMathMLFrame interface. The previous IID was taken while the MathML code was awaiting to land. 1999-10-02 09:14:57 +00:00
rbs%maths.uq.edu.au
4c3248b3af Adding relative path to external DTD 1999-10-02 06:53:41 +00:00
rbs%maths.uq.edu.au
6270ee8081 Initializing a variable to zero 1999-10-02 06:50:38 +00:00
rbs%maths.uq.edu.au
cba4d15894 Update to match recent changes in the nsIFrame API. 1999-10-02 06:20:30 +00:00
peterl%netscape.com
d8902f6f3a added hooks to track content that doesn't get a frame
Fix for bug 9013 (and any dynamic change from display:none) r=troy
1999-10-02 04:27:40 +00:00
peterl%netscape.com
05e9be3b5f Added ability to track changes to content without frame
Fix for bug 9013 (and any dynamic change from display:none) r=troy
1999-10-02 04:26:53 +00:00
peterl%netscape.com
9dfc2c381c added API to track content that didn't get a frame
Fix for bug 9013 (and any dynamic change from display:none) r=troy
1999-10-02 04:26:24 +00:00
peterl%netscape.com
01c3dcd2fe added multimap to track content that didn't get a frame
Fix for bug 9013 (and any dynamic change from display:none) r=troy
1999-10-02 04:25:29 +00:00
peterl%netscape.com
724aca8163 removing dead style change code
r=troy
1999-10-02 04:24:20 +00:00
peterl%netscape.com
5e1b925280 removing dead style change code and refereneces to dead style change code
r=troy
1999-10-02 04:23:48 +00:00
peterl%netscape.com
2fb6714797 fixed fix to bug 15373. Now it won't crash on EOF conditions 1999-10-02 04:23:00 +00:00
norris%netscape.com
d21c5596fd Fix the following bugs:
14443 "Same origin" security policy may be circumvented using docu
14820 Fixing up the relationship between nsCodeBasePrincipal and n
14919 Crash in JS MM code
Reviewed by mstoltz, approved by scc.
1999-10-02 03:41:37 +00:00
troy%netscape.com
6b808204e8 Added SizeOf() handler for floater information maintained by the
line box
1999-10-02 02:51:03 +00:00
hyatt%netscape.com
eb919f73f1 Fixing the problem with chrome skin initialization in viewer and apprunner. 1999-10-02 00:55:57 +00:00
troy%netscape.com
5dfb641a58 Added SizeOf() handler for space manager 1999-10-02 00:52:01 +00:00
kmcclusk%netscape.com
1a8cdcbdc8 r=rods;bug=14867 put in style rule to disable file selector button
bug=15328 put in disable rules for button label
bug=12227 To remove combobox reflows, changed padding settings for select's active
button to match non-active state. Also changed padding+border to match between
button's with focus and active buttons drawn with focus. Added gif for active state
of combo box to indicate that it is depressed.
1999-10-02 00:28:37 +00:00
troy%netscape.com
1be0909b54 Hooked up SizeOf() for cell map and table layout strategies. Also added in
some table frame data that was missed
1999-10-02 00:02:54 +00:00
hyatt%netscape.com
9e7252a4e6 Restructuring ua.css. 1999-10-01 21:57:32 +00:00
hyatt%netscape.com
0c1aef9920 Splitting xul.css into two files and making them load automatically at startup. R=danm@netscape.com 1999-10-01 20:49:07 +00:00
kipp%netscape.com
d26d687ef6 r=peterl; bug=15373; Fixed atom memory leaky 1999-10-01 20:13:39 +00:00
av%netscape.com
623fb2e74d Fixing dereferencing null-pointer. Caused crash, #14496 1999-10-01 20:10:39 +00:00
danm%netscape.com
d46bd1d3ca event handler holds weak reference to frame. fixes bug 14885. r:buster 1999-10-01 15:00:57 +00:00
dcone%netscape.com
de58b40e53 added background fix.. commented out for now until other platforms are tested 1999-10-01 14:35:20 +00:00
rods%netscape.com
e6b0939762 Added new method to tell the listcontrolframe it is about to be rolled up by the combobox
this enables it to unset any temporary selections and restore the actual selection
1999-10-01 14:30:33 +00:00
rods%netscape.com
3d3b8bda38 ifdef'd out the new code that handles the computed size and ifdef'ed in the old code for Linux 1999-10-01 14:28:25 +00:00
rods%netscape.com
0230fedeff ifdef out a debug statement 1999-10-01 14:26:40 +00:00
rods%netscape.com
2cbdb57b36 removed noisy printf 1999-10-01 14:20:45 +00:00
kin%netscape.com
9f355e8678 Fix for bug #12195: [DOGFOOD] caret cruft left after a backspace at end of line
Added code to DrawCaretWithContext() that makes sure that the caret
doesn't hang outiside the left edge of a frame.
r=sfraser@netscape.com
1999-10-01 13:16:30 +00:00
law%netscape.com
b6d2de1cb0 Context menu updates 1999-10-01 04:43:45 +00:00
pollmann%netscape.com
d0b1d32f23 Bug 13997, Reviewed by HarishD. This fixes the crash during file upload caused by a spurious NS_RELEASE, correctly calculates content-length, and fixes a few post syntax errors. Also fixes a memory leak and uses nsSpecialSystemDirectory, nsFileSpec, and other good things instead of the hacks that were needed before this existed. 1999-10-01 02:42:32 +00:00
beard%netscape.com
6a85f40725 fixed non-debug breakage. r=vidur 1999-10-01 01:11:40 +00:00
beard%netscape.com
680752dbde remove htmlparser from static linkage. r=vidur 1999-10-01 00:43:54 +00:00
vidur%netscape.com
140612e133 Converted parser into a module. Removed usage of static parser methods and used nsIParserService and nsIDTD methods instead. To be reviewed by RickG. 1999-09-30 22:07:04 +00:00
vidur%netscape.com
cd1d7968b9 Converted parser into a module. Removed static linkage. 1999-09-30 22:04:39 +00:00
kipp%netscape.com
c37ecb974c Removed atom table hacks 1999-09-30 21:17:28 +00:00
kipp%netscape.com
da75f9061f Fixed atom memory leaks and HTMLAttribute memory leaks (for unmapped attrs only) 1999-09-30 21:17:06 +00:00
kipp%netscape.com
9bd06a46ad added files: mozilla/layout/build/nsLayoutModule.cpp 1999-09-30 21:14:51 +00:00
kipp%netscape.com
da3055a5e5 Turned into a module 1999-09-30 21:14:14 +00:00
rods%netscape.com
441488d899 Backed out 1.54, this is 1.53 1999-09-30 16:43:11 +00:00
rods%netscape.com
dffe42e2b3 Added ConsumeEvents parameter to CaptureRollupEvents 1999-09-30 14:36:17 +00:00
karnaze%netscape.com
498bb5f780 bug 12910 - SetPass1MaxElementSize considers nowrap on cell 1999-09-30 14:11:16 +00:00
karnaze%netscape.com
59f1d4789d new regression tests 1999-09-30 14:08:24 +00:00
rods%netscape.com
3ff1376604 Completely changed the way focus is handled, both from JS and from the events mgr notifications.
These changes do not help the problems we have with gfxtextfields because they have an embbeded wehshell with a native window
1999-09-30 11:57:45 +00:00
rods%netscape.com
2036813036 Turned on the system colors 1999-09-30 11:55:15 +00:00
rods%netscape.com
66bfc13ac6 Completely changed the rules for the border and internal display for the combobox 1999-09-30 11:54:30 +00:00
rods%netscape.com
b65978b79a Added ConsumeFocusEvents method to consume all focus event and make sure they don't get dispatched 1999-09-30 11:40:42 +00:00
rods%netscape.com
2bbff7b9c2 Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
added some key support made it so it sets the focus back to the main webshell window when the drop down is closed
1999-09-30 11:37:58 +00:00
rods%netscape.com
f78ab7229e Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object 1999-09-30 11:36:44 +00:00
rods%netscape.com
40bda71f57 Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
Removed focus listener and ForcedRedraws
1999-09-30 11:36:32 +00:00
rods%netscape.com
96fedd5157 Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
It also measures W & w for the the chars width in NavQuirks mode to get more accurate measurement of the width and height
1999-09-30 11:34:32 +00:00
rods%netscape.com
0f1396218a Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
and it now uses the cached L&F obj
1999-09-30 11:33:33 +00:00
rods%netscape.com
a917beb7ef Removed L&F static IID & CID 1999-09-30 11:32:54 +00:00
rods%netscape.com
5977e4153a Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object 1999-09-30 11:31:40 +00:00
rods%netscape.com
157ce078c9 Changed getVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object 1999-09-30 11:30:04 +00:00
rods%netscape.com
e7106c2345 Changed getVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
and it now uses the cached L&F obj
1999-09-30 11:26:29 +00:00
rods%netscape.com
d48404dfac Fixed to use the LookAndFeel object in the PresContext instead of creating one via the ComponentManager 1999-09-30 11:23:17 +00:00
av%netscape.com
a3ce92faff Fixing bug #8036, reviewd by beard 1999-09-30 08:07:23 +00:00
peterl%netscape.com
efe3761c38 made child sheet loads of agent sheets be optionally synchronous 1999-09-30 01:39:57 +00:00
cmanske%netscape.com
1cbdd57614 Changed ifdef so we can use ToString for non-debug purposes. r=akkana 1999-09-29 21:52:10 +00:00
mjudge%netscape.com
54829b853b fixing optimizations for table selection as well as making sure all flags are turned on/off for text frames when one frame is selected.. 1999-09-29 20:36:00 +00:00
akkana%netscape.com
de16d09cda Add OutputWrap flag, and add comments for the other flags 1999-09-29 20:17:51 +00:00
kin%netscape.com
ca92ac282c First pass implementation of selection auto scrolling.
layout/base/public/nsIFrame.h
        - Added GetContentAndOffsetsFromPoint() method. This
          method will eventually replace GetPosition().

    layout/base/public/nsIFrameSelection.h
        - Added HandleDrag() and Start/StopAutoScrollTimer() methods.

    layout/base/src/nsRangeList.cpp
        - Added implementation for HandleDrag() and
          Start/StopAutoScrollTimer() methods.

    layout/html/base/src/nsBRFrame.cpp
        - Added implementation for GetContentAndOffsetsFromPoint().

    layout/html/base/src/nsFrame.cpp
    layout/html/base/src/nsFrame.h
        - Added implementation for GetContentAndOffsetsFromPoint().
        - Added GetClosestViewForFrame() utility method.
        - Modified HandleEvent() to call HandleRelease() which now
          stops the auto scrolling timers.
        - Modified HandleDrag() to call nsIFrameSelection's HandleDrag()
          and Start/StopAutoScrollTimer() methods.

    layout/html/base/src/nsTextFrame.cpp
        - Added implementation for GetContentAndOffsetsFromPoint().
1999-09-29 20:04:05 +00:00
troy%netscape.com
055ef7bf53 Fix for bug #15152. Moved check for "no wrap" inside of loop. This fixes a
problem where blocks inside of blocks were not getting marked dirty
1999-09-29 05:09:19 +00:00
troy%netscape.com
4b1a623ab9 Fix for bug #11633. Changed ConstructFrameByDisplayType() to use the correct
parent frame for absolutely positioned tables
1999-09-29 05:06:17 +00:00
peterl%netscape.com
cd5a8a17d1 manage view visibility better, hide collapsed views and hidden views with widgets 1999-09-29 03:37:02 +00:00
peterl%netscape.com
7911885f43 manage view visibility better 1999-09-29 03:36:16 +00:00
peterl%netscape.com
60b2bd4053 set reflow reason properly for incremental changes 1999-09-29 03:35:51 +00:00
peterl%netscape.com
5eb5883901 use style changed reflow instead of content changed when updating button 1999-09-29 03:35:24 +00:00
peterl%netscape.com
959910c138 use 'collapse' instead of 'hidden' for comboboxes 1999-09-29 03:34:29 +00:00
peterl%netscape.com
97b3f855ca set visibility better 1999-09-29 03:33:34 +00:00
peterl%netscape.com
bcb317606a remap style contexts that don't get swapped when computing style changes 1999-09-29 03:32:19 +00:00
peterl%netscape.com
f3c1120baa make remap style optionally not go recursive 1999-09-29 03:30:47 +00:00
peterl%netscape.com
656cbc22e5 sync view visibility during didReflow 1999-09-29 03:30:04 +00:00
briano%netscape.com
caa05d9241 Added a newline at the end of the file to fix the Unix native compiler builds. 1999-09-29 02:54:25 +00:00
briano%netscape.com
c16b8d92f1 Only include memory.h if the system actually has it. Fixes QNX. Approved by leaf. 1999-09-29 02:24:17 +00:00
troy%netscape.com
409c9ae7db Part of the fix for bug #11633. Check the NS_FRAME_OUT_OF_FLOW bit and make
sure the frame was really moved out of the flow
1999-09-28 23:42:35 +00:00
hyatt%netscape.com
9f973d2ff1 fixes for 14637 and for menu visibility issues r=pavlov typed_by=pavlov 1999-09-28 23:25:48 +00:00
karnaze%netscape.com
3d94070d9e bug 10009 - uses width set on <td> in figuring width of nested table 1999-09-28 21:57:44 +00:00
karnaze%netscape.com
83a60e8637 new regression tests 1999-09-28 21:54:59 +00:00
hyatt%netscape.com
f7c54c03dc Fixing tree widget updating problem. 1999-09-28 00:57:46 +00:00
hyatt%netscape.com
e252669b87 Fixing tree widget updating problem (bienvenu). 1999-09-28 00:57:31 +00:00
kipp%netscape.com
c631df256f new 1999-09-28 00:44:47 +00:00
mjudge%netscape.com
e8f13ffdd6 aproved leaf. reviews sfraser. checking for null stopping crash 1999-09-28 00:13:19 +00:00
troy%netscape.com
7a30e821a3 Fix for bug #14959. Made sure that lines with floaters are also marked
dirty
1999-09-27 20:53:05 +00:00
mcafee%netscape.com
414e7107ef Backing out latest change, apprunner menus were totally screwed up. a=shaver, r=ramiro,pavlov 1999-09-27 07:28:06 +00:00