Commit Graph

5979 Commits

Author SHA1 Message Date
buster%netscape.com
4b9157edbb style now gets propogated from text control frame to embedded webshell more correctly 1999-08-07 05:42:13 +00:00
buster%netscape.com
334db030c0 fixed a memory leak, and a null pointer dereference, having to do with collapsing borders 1999-08-07 05:40:09 +00:00
buster%netscape.com
c1f02ff5b3 fixed BodyFixupRule::MapStyleInto to respect background color properly
code-reviewed by Peter Linss
1999-08-07 05:38:28 +00:00
buster%netscape.com
9fc632198d added disabled style to text areas 1999-08-07 05:37:06 +00:00
buster%netscape.com
6bc1c334be just a comment, part of a memory leak bug fix to remind users to free a struct 1999-08-07 05:09:09 +00:00
arielb%netscape.com
347e4bb633 fix bustage on worms 1999-08-07 01:43:36 +00:00
troy%netscape.com
309e9a0b12 Fix for bug #11393 1999-08-07 00:31:02 +00:00
karnaze%netscape.com
9d4fc0d82c new regression tests 1999-08-06 23:05:21 +00:00
rods%netscape.com
40289849e0 Fixed build breakage, passing in wrong variable, and it was uninitialized. 1999-08-06 21:45:14 +00:00
bienvenu%netscape.com
38516f87ef fix build bustage for rods 1999-08-06 21:43:33 +00:00
rods%netscape.com
c28f09b2b4 Added RemoveDummyFrameFromSelect method for removing the dummy frame when the select is empty, finished adding the code to completely handle the creating and removing of the dummy frame. 1999-08-06 21:14:45 +00:00
bienvenu%netscape.com
4f40ad233e attempt to fix build bustage 1999-08-06 20:01:04 +00:00
hyatt%netscape.com
d3b0cc678f Popup set frames can be created. 1999-08-06 19:20:56 +00:00
hyatt%netscape.com
85211cd417 Adding the popup set atom to the XUL atom list. 1999-08-06 19:18:42 +00:00
hyatt%netscape.com
8ea5bb43ce added files: mozilla/layout/xul/base/src/nsPopupSetFrame.cpp 1999-08-06 19:13:48 +00:00
hyatt%netscape.com
7c37a79647 Working on converting XUL popups to use the XP menu code. 1999-08-06 19:12:23 +00:00
pinkerton%netscape.com
a972f5babf major major cleanup of toolbar drag and drop. fixes some bugs, some memory leaks, and problems with dragging to select text in the url bar. 1999-08-06 18:54:48 +00:00
hyatt%netscape.com
f70ea07448 Adding code for popup set frames (which hold the absolutely positioned menu popups
that represent tooltips, popup menus, and context menus).  This code is not being
compiled yet, so it's a safe checkin.
1999-08-06 18:16:27 +00:00
troy%netscape.com
bc4ecda20c Fixed compiler warning 1999-08-06 17:21:57 +00:00
rods%netscape.com
e5db62821d Added select:-moz-dummy-option 1999-08-06 14:43:46 +00:00
rods%netscape.com
7f0fa96163 ifdef'ed out the ambigous compiler error for Linux, this code isn't being used at the moment 1999-08-06 14:42:00 +00:00
troy%netscape.com
35e2410e44 Changed reflow command handling over to the new approach 1999-08-06 14:34:56 +00:00
troy%netscape.com
ebad18a3c5 Cleanup 1999-08-06 14:34:32 +00:00
rods%netscape.com
9778ff0812 Started to add code to better handle resizing when there are no elements. 1999-08-06 14:14:38 +00:00
rods%netscape.com
faa5568c70 Made the Combobox a nsIDOMFocusListener, so it can set the focus on the "display"
content when focus goes to the button or the combobox itself
1999-08-06 14:13:20 +00:00
rods%netscape.com
5dbf31e9b9 Added code to create and remove the generated content and frame when the select has no options. This necessary for correct sizing of the select when empty. 1999-08-06 14:11:14 +00:00
rods%netscape.com
2a25a355f4 Added :-moz-dummy-option is used for empty select tags 1999-08-06 14:00:54 +00:00
jfrancis%netscape.com
79a58afed5 fixing unix bustage. compilers: viva la difference! 1999-08-06 12:14:39 +00:00
jfrancis%netscape.com
f3fbfca040 fixing range dom gravity bug first exposed by bug #10231 1999-08-06 10:33:09 +00:00
ramiro%netscape.com
0276378be3 Backout my last changes to fix the mac and window builds. 1999-08-06 08:21:41 +00:00
ramiro%netscape.com
b1484ea0ab Get the Inherited superclasses right. Suggested and reviewed by pierre. 1999-08-06 07:40:26 +00:00
ramiro%netscape.com
acd040bfa4 Fix gcc 2.7 bustage. It smells a lot like a bug in gcc. It was having
trouble dealing with the Inherited typedef in the class declaration.
I replaced |Inherited| with the real thing Inherited was aliasing and all is
ok.  Pierre code reviewed.
1999-08-06 07:14:43 +00:00
pierre%netscape.com
4ecdd8e9e9 Removed a duplicate entry. A similar error in Makefile.in broke the build on Unix; this one was ok on Win32. 1999-08-06 05:49:12 +00:00
ramiro%netscape.com
f0e4da8f77 Fix bustage on unix. Removed duplicate source entry. 1999-08-06 05:39:24 +00:00
pierre%netscape.com
9337fc0223 First Checked In. 1999-08-06 05:13:07 +00:00
pierre%netscape.com
1394381abf breaking up gfx & native widgets 1999-08-06 05:11:39 +00:00
tague%netscape.com
dad401a40f Fix build bustage 1999-08-06 03:10:14 +00:00
tague%netscape.com
58316bd322 Added support for replies from private DOM text events. See bug #4826 1999-08-06 02:32:13 +00:00
tague%netscape.com
8991bb9e57 Added support for replies from DOM private text events. 1999-08-06 02:31:13 +00:00
evaughan%netscape.com
b93c8ed4f4 Fixed fieldset padding bug. 1999-08-06 00:48:26 +00:00
evaughan%netscape.com
cd20918536 Fixed divide by 0 bug in boxes. 1999-08-05 23:25:20 +00:00
av%netscape.com
c2b8a3650e Removing old code 1999-08-05 22:55:05 +00:00
karnaze%netscape.com
e8658c956a new regression tests 1999-08-05 22:15:23 +00:00
mcafee%netscape.com
732c840456 Trying to fix mac bustage. 1999-08-05 21:33:06 +00:00
troy%netscape.com
0489aa0c60 Moved cantrenderreplacedelememt code over to the frame manager 1999-08-05 20:17:44 +00:00
troy%netscape.com
cd21f5ea9d Added NULL pointer check for frame manager in DeletingFrameSubtree() 1999-08-05 03:30:09 +00:00
troy%netscape.com
b80876174d Added NULL pointer checks in GetPrimaryFrameFor() and GetPlaceholderFrameFor() 1999-08-05 03:23:39 +00:00
troy%netscape.com
71d5c08256 Changed frame construction code to use frame manager when modifying frame
model
1999-08-05 03:09:22 +00:00
hyatt%netscape.com
9cfbacbd6c Fix for bug 9923. 1999-08-05 01:43:14 +00:00
valeski%netscape.com
92d1b7afd1 api change to nsIWebShell and nsIDocumentLoaderObserver. I've replaced all the old method delarations with the new versions. We now pass 'nsresult' types into the On*() methods instead of PRInt32. The PRInt32 arg type was causing data loss.
I also checked in a fix for bug 10848 (which prompted the api change), and 10549 (these changes were in nsWebShell.cpp).
1999-08-05 01:37:52 +00:00
karnaze%netscape.com
f94829f5da additonal test cases, changed file:// to file:/// in file lists 1999-08-05 00:08:33 +00:00
hyatt%netscape.com
171ed12851 Fixing three problems that prevented XP menus from working with RDF templates.
The Bookmarks menu and mail menus should work now.
1999-08-04 21:36:30 +00:00
valeski%netscape.com
05a902140c we now handle the URL attribute in a http-equiv refresh tag 1999-08-04 21:19:22 +00:00
buster%netscape.com
4333816066 added GetCaretEnabled
cleaned up caret APIs according to coding convention
1999-08-04 20:46:16 +00:00
pinkerton%netscape.com
3a87aa5e0c removing the TOOLBAR_DD #ifdef's. 1999-08-04 20:16:31 +00:00
karnaze%netscape.com
b7aef851ae new regression tests 1999-08-04 19:34:46 +00:00
kin%netscape.com
375eb2de71 Fixes for bug #10231 (crash making list after select all)
and bug #10815 (Crash deleting selected text and table)

mozilla/editor/base/nsHTMLEditRules.cpp
  - Added check, in WillDeleteSelection(),  to see if
    endpoints of the range are in the body before calling
    GetBlockNodeParent(). (Bug #10231)
  - Modified GetPromotedPoint() to check for NULL in the
    case where aWhere == kEnd and GetChildAt() returns NULL.
    (Bug #10815)

mozilla/layout/base/src/nsGenericElement.cpp
  - Modified RangeAdd() so that it doesn't add
    a range if it's already in the list.  (Bug #10231)

mozilla/layout/base/src/nsRangeList.cpp
  - Modified GetPrimaryFrameForFocusNode() to
    initialize aReturnFrame and to return a failure
    if ChildAt() returns NULL. (Bug #10231)
1999-08-04 18:36:19 +00:00
vidur%netscape.com
1249b3dd0d Get rid of circular reference between sink and parser. Fix for bug 8975. 1999-08-04 18:25:23 +00:00
gagan%netscape.com
a8bd69174a Added a temporary hack to get Referer fields with POST requests. This should/will/must go away... 1999-08-04 15:06:14 +00:00
peterl%netscape.com
915640813a route CSS declaration parsing through the CSSLoader's parsers 1999-08-04 05:09:01 +00:00
peterl%netscape.com
d0aa6adf45 fix uninitialized variable 1999-08-04 05:08:27 +00:00
peterl%netscape.com
c5b1c60850 route declaration parsing through subclasses 1999-08-04 05:08:04 +00:00
peterl%netscape.com
8efdd17690 route declaration parsing through the CSSLoader's parsers 1999-08-04 05:07:10 +00:00
peterl%netscape.com
7e3bd063e3 removed assert 1999-08-04 05:06:19 +00:00
troy%netscape.com
efd8280343 Now uses frame manager 1999-08-04 04:02:40 +00:00
troy%netscape.com
f36f1860ce added files: mozilla/layout/html/base/src/nsFrameManager.cpp 1999-08-04 03:43:26 +00:00
troy%netscape.com
02c969450e Added nsFrameManager.cpp to build 1999-08-04 03:39:54 +00:00
troy%netscape.com
886f6583d3 Initial check-in 1999-08-04 03:39:34 +00:00
troy%netscape.com
c1d3f6c6c8 Added nsIFrameManager.h to exported files 1999-08-04 03:39:18 +00:00
cmanske%netscape.com
cb1417e9fa Added method to nsITableCellLayout. Fixed QI bug 1999-08-04 02:04:45 +00:00
valeski%netscape.com
6fc14bc32a we were refreshing _every_ url _every_ second. not anymore 1999-08-04 01:27:22 +00:00
karnaze%netscape.com
639f283b06 Always reflow's children for pass1 when reflowed with NS_UNCONSTRAINEDSIZE 1999-08-03 23:20:06 +00:00
karnaze%netscape.com
e54229d3c1 replace assertions with printf statements until bug 10911 gets resolved 1999-08-03 23:17:50 +00:00
karnaze%netscape.com
0767a5bbcd figuring a col's adj min width from a colspan uses adj min width 1999-08-03 23:16:43 +00:00
karnaze%netscape.com
ed1321471c new test cases 1999-08-03 23:13:39 +00:00
valeski%netscape.com
0edfda477b 10720 fix - we now do meta tag refreshes 1999-08-03 21:48:40 +00:00
briano%netscape.com
e2cc541f86 Cleaned it up and got rid of the redundant HP-specific SHARED_LIBRARY_LIBS stuff. 1999-08-03 21:40:56 +00:00
mcafee%netscape.com
6da92dc13c Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren 1999-08-03 20:51:41 +00:00
hyatt%netscape.com
1780f2cc5d Removing my hard-coded check for letters A-Z. 1999-08-03 20:36:27 +00:00
rods%netscape.com
c0ba35bb79 Added the style context to the CreateInputFrame method, the pseudoContext
was not being created with it's parent and needed to be. Fixes Bug #10716
1999-08-03 14:41:48 +00:00
troy%netscape.com
d336a71fd6 Changed NeedsReflow() to take into account whether we need a pass-1 reflow
and whether the cached column info and cell map are valid when deciding
whether we need a full reflow
1999-08-03 14:26:00 +00:00
beard%netscape.com
53b68810ba reverting GetDocumentBase() to be consistent with other accessors. If we decide to change this, let's change ALL of them. 1999-08-03 02:51:39 +00:00
troy%netscape.com
c166a9097c Changed to new command reflow handling 1999-08-03 02:41:27 +00:00
hyatt%netscape.com
8a4f8c434b Fix for bug 11082. 1999-08-02 23:57:58 +00:00
buster%netscape.com
ee55b2ba44 events are now propogated from the editor out to the containing document, as per Javascript/DOM spec.
onSelect doesn't work yet, I'm not sending the right event message yet.
1999-08-02 14:00:41 +00:00
mcafee%netscape.com
b524429748 Fix null pointer crash for XP Menu case. 1999-08-02 08:21:40 +00:00
hyatt%netscape.com
bd9b9bc524 More hacks..errr...tricks to speed up XP menus. 1999-08-02 08:15:30 +00:00
hyatt%netscape.com
a51447d993 Speeding up XP menus. 1999-08-02 07:26:24 +00:00
troy%netscape.com
e27245025b Finished cleanup of reflow command handling 1999-08-02 02:18:33 +00:00
troy%netscape.com
7c6dd3bfcb Reflow command cleanup 1999-08-01 22:21:03 +00:00
troy%netscape.com
67534a54ff Work-in-progress for table handling of reflow commands 1999-08-01 22:01:37 +00:00
hyatt%netscape.com
b2d709aa56 Fixing morse's reported problem regarding the menus not dismissing upon execution. 1999-08-01 19:55:00 +00:00
cmanske%netscape.com
982414f786 Added QueryInterfaces so nsITableCellLayout and nsITableLayout can get to cell and table frames. Don't use macros because frames aren't refcounted. 1999-08-01 18:26:45 +00:00
troy%netscape.com
5e93e674c5 Fixed incremental painting problem 1999-08-01 16:50:52 +00:00
cmanske%netscape.com
5a6781c3b8 Added nsITableLayout::GetTableSize() to get number of rows and columns in table. Fixup up comments for new methods 1999-08-01 16:20:14 +00:00
cmanske%netscape.com
ea35220527 Added logic to find cells occupying the 'holes' in the cellmap where colspan and/or rowspan cell extend 1999-08-01 05:19:47 +00:00
cmanske%netscape.com
84818eab63 Added checking for trying to get cell data when index(es) are out of bounds 1999-07-31 23:05:11 +00:00
cmanske%netscape.com
2781d6d9a2 Adding interface for editor access to table layout data 1999-07-31 22:11:50 +00:00
cmanske%netscape.com
a790b9d1e2 Adding interface for editor access to table layout data 1999-07-31 22:05:37 +00:00
briano%netscape.com
21df07a824 Added the missing newline that was upsetting Unix native compilers. 1999-07-31 18:39:47 +00:00
hyatt%netscape.com
f080c0cae8 Phase 3. Enabling XP menus on the menu bar. 1999-07-31 11:29:03 +00:00
troy%netscape.com
3ee376f002 Added NULL pointer check in DisplayAltFeedback() to fix Necko related crash
where LoadIconImage() is succeeding but returning NULL for the icon
1999-07-31 05:59:12 +00:00
hyatt%netscape.com
00f89f8113 XP menus now know how to anonymously construct children, so that they are
now mostly compatible with the original menu syntax.  They also now
execute create, destroy, and action handlers.
1999-07-31 01:43:33 +00:00
karnaze%netscape.com
a7c118ae48 bug 10809, incremental reflow of nested tables now reflows children. 1999-07-29 23:19:52 +00:00
mscott%netscape.com
920706bd0f fix build breakage...include config.mak 1999-07-29 04:13:08 +00:00
mscott%netscape.com
de0f6ba0f7 fix build breakage....include config.mak 1999-07-29 04:11:58 +00:00
briano%netscape.com
5ca4aa0b87 Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org. 1999-07-29 01:18:12 +00:00
rods%netscape.com
3cfe429d81 Added generated content for optgroups, fixed option to be display:block
change optgroup inside of option
1999-07-28 21:43:43 +00:00
rods%netscape.com
6412a66059 temporary fix for reentrancy bug in HandleEvent 1999-07-28 21:42:37 +00:00
peterl%netscape.com
5a5e4bee42 fix setting empty attributes
approved cyeh
1999-07-28 21:41:16 +00:00
rods%netscape.com
8d5807e765 Made many changes to fix several bugs 1999-07-28 21:38:08 +00:00
rods%netscape.com
34a3503e8b Added the setting of the clip rect before drawing the button text 1999-07-28 21:37:22 +00:00
rods%netscape.com
d8f155ad0c Added NS_DEFINE_STATIC_IID_ACCESSOR 1999-07-28 21:35:55 +00:00
rods%netscape.com
0cdd475f4c NS_DEFINE_STATIC_IID_ACCESSOR and removed the AboutToDropdown method 1999-07-28 21:35:28 +00:00
karnaze%netscape.com
d3d33fec48 fixes related to crash in AC_Wrapup on optimized builds. 1999-07-28 19:43:37 +00:00
shaver%netscape.com
2eb68e6135 zero out colInfo wehen allocated to avoid startup crash and other badness 1999-07-28 18:52:04 +00:00
karnaze%netscape.com
605c48e134 fix mac breakage, hopefully 1999-07-28 09:13:44 +00:00
warren%netscape.com
661fc2e7ea Attempt to fix the mac build. 1999-07-28 08:56:12 +00:00
hyatt%netscape.com
db8e45c216 Fixing karnaze's bustage. 1999-07-28 08:55:41 +00:00
karnaze%netscape.com
a88b1a3f85 new nsCellMap, BasicTableLayoutStrategy, plus various fixes to table
frames while testing the new cell map and strategy
1999-07-28 08:09:02 +00:00
nisheeth%netscape.com
88a7a3eadb Adding a new parameter, aMode, to nsIContentSink::AddDocTypeDecl. 1999-07-28 06:56:05 +00:00
vidur%netscape.com
d60aeaab2e Added form searching for form controls that are newly created and added to the tree. 1999-07-28 05:26:55 +00:00
vidur%netscape.com
e557b2140e Fixed incorrect inclusion of text elements in tag stack creation in CreateContextualFragment. 1999-07-28 05:26:16 +00:00
vidur%netscape.com
118ec90f2c Added new forwarding macro. 1999-07-28 05:25:44 +00:00
troy%netscape.com
2ba05e9bf2 Added failure check for call to nsStyleData::GetBorder() 1999-07-28 04:48:34 +00:00
troy%netscape.com
3ee32d5915 Added support for "box-sizing" style property 1999-07-28 03:51:37 +00:00
nisheeth%netscape.com
4e5aff98b2 Add static GetIID() method for creating smart pointers to nsIXMLContentSink. 1999-07-28 01:17:09 +00:00
harishd%netscape.com
49e2f26016 EnableParse() returns nsresult. 1999-07-27 23:33:16 +00:00
briano%netscape.com
007ea62765 Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568. 1999-07-27 23:27:44 +00:00
kmcclusk%netscape.com
f9b64e775c bug #7032 Changed nsIWidget::Resize(...), nsIWidget::Move(...) to
use PRInt32 instead of PRUInt32. Modified Mac, and Linux to match.
bug #2010 Applied David Barrons patch for MakeSide ins CSSRendering.
nsIWidget - removed GetAbsoluteBounds - Not needed. Can use WidgetToScreen instead.
1999-07-27 23:26:36 +00:00
joki%netscape.com
e49a6d584f Partial fixes for focus/blur events on windows/frames, fixes for incorrect event.target values 1999-07-27 20:55:03 +00:00
evaughan%netscape.com
fa358cdae6 Fixed some uninitialized memory bugs that caused dialogs to be too tall. 1999-07-27 19:06:44 +00:00
ftang%netscape.com
67c7d1e316 fix bug 4240,5532,5529,7899 pass in current word buffer to ComputeWordWidth functions so we have the whole text that we can pass to line breaker. 1999-07-27 14:47:24 +00:00
joki%netscape.com
556e5e31e7 Fixing key value for ctrl+keys. 1999-07-27 14:38:07 +00:00
troy%netscape.com
05fb1d7f25 Changed root frame class over to new reflow command handling 1999-07-27 14:15:42 +00:00
troy%netscape.com
2564e77725 Fix for bug #10563 where we were triggering a post condition assertion. Changed
ComputeBackgroundAnchorPoint() to correctly calculate tile offset that is a
multiple of the tile
1999-07-27 14:13:09 +00:00
dcone%netscape.com
cf87ffff0a Fixed background rendering 1999-07-27 06:41:34 +00:00
pavlov%netscape.com
96b4208fe4 window creation changes 1999-07-27 04:27:17 +00:00
karnaze%netscape.com
ef46e54edf more test cases 1999-07-27 02:00:01 +00:00
av%netscape.com
375bb0259f fixing bug #8290 1999-07-27 01:35:30 +00:00
troy%netscape.com
a6e974261c Fix for bug #10395. Now we recalculate margins when we use the minimum or
maximum value for the computed width/height. This applies to positioned
elements only
1999-07-27 00:48:47 +00:00
evaughan%netscape.com
fcb03d0b52 Reversed alignement. It now refers to alignment of the image not the text. 1999-07-26 20:23:50 +00:00
evaughan%netscape.com
f2da19b4f7 Fixed bug in titledbutton for mail. 1999-07-26 19:44:20 +00:00
karnaze%netscape.com
1efbc9ec54 new regression tests 1999-07-26 16:18:49 +00:00
joki%netscape.com
f1c8421c61 Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus. 1999-07-26 15:02:19 +00:00
hyatt%netscape.com
17680a4e98 Adding a menu listener to the DOM for XUL menus. 1999-07-26 09:18:31 +00:00
hyatt%netscape.com
cd355a2efd Fixing more mouse/keyboard issues. I'm having to eat the mouse move windows
sends me when a window gets the focus.  What a righteous hack.
1999-07-26 06:29:48 +00:00
nisheeth%netscape.com
cbf9fde516 - Move AddDocTypeDecl method from nsIXMLContentSink to nsIContentSink.
- Fix bug 8607 by passing the XML decl and the doctype decl from the expat tokenizer to the XML DTD.
1999-07-26 05:40:25 +00:00
hyatt%netscape.com
932172fb0b Fixing more keyboard navigation glitches in XP menus. 1999-07-26 04:38:28 +00:00
hyatt%netscape.com
e7047395d3 Focus issues are getting better. 1999-07-26 02:26:26 +00:00
hyatt%netscape.com
9df6522e54 Fixing an event handling glitch when mousing into a disabled item from an
enabled item on an XP menu.
1999-07-26 01:58:51 +00:00
hyatt%netscape.com
7206f84fb6 Adding support for disabled items to XP menus. 1999-07-26 01:35:39 +00:00
hyatt%netscape.com
1972b6d379 Using "accesskey" instead of "shortcut". 1999-07-26 01:19:49 +00:00
rickg%netscape.com
f4902b78bc replaced calls to deprecated nsString API 1999-07-26 00:37:24 +00:00
troy%netscape.com
bc9ccffd53 Added 'm' prefix to structs defined in nsISpaceManager 1999-07-25 19:01:13 +00:00
buster%netscape.com
cc193da91f With this checkin, ender-based gfx rendered text controls now work properly both as HTML text controls and XUL text fields.
GFX text controls are not enabled by default.  The primary goal of the next few days is to stabilize the tree, so I thought it would be inappropriate to enable the new
feature by default. But you can still set your nglayout.widget.mode pref to enable them.

Here's what I did:
1) backed out a small part of Simon & Kin's fix to nsGFXTextControlFrame that was mistakenly setting up the text control's webshell as a frame.  It still (correctly)
isn't doing that, but it does not set the webshell's prefs from the outer webshell.
2) for output, I now ask for format="text/plain" rather than "text/html", since (for now) these are all plain text edit controls.  Soon, this will depend on the type of
edit control
3) fixed some ownership issues between the frame, the editor, and the subdocument being edited.  This fixes an assertion on dialog destruction if the dialog included
a GFX-rendered text widget, and some memory leaks.
4) set up DOM key listeners on the editor to propogate events from the editor to the parent document, so things like form submission on Enter, and onKeyUp
handlers work.  More work is needed here for other kinds of events.
1999-07-25 18:04:51 +00:00
jfrancis%netscape.com
250bfcbd91 fix for bug 9842 (aka 8227) plus some thread safety improvements 1999-07-25 08:41:42 +00:00
jfrancis%netscape.com
205e3e3fec fix for bug 9935 1999-07-25 05:31:05 +00:00
jfrancis%netscape.com
4b1939dc92 fix for bug: subtree iterator had bug in init code that could cause iter to be empty. 1999-07-25 05:30:15 +00:00
evaughan%netscape.com
f97d9c4df1 1) added .gif for horizontal scrollbar
2) added cropping to titledbuttons
3) fixed bugs in navigator.xul and navigator.css
1999-07-25 01:15:14 +00:00
hyatt%netscape.com
00b9c6f64c Cascading menus now work! 1999-07-25 01:14:43 +00:00
hyatt%netscape.com
721f25aa88 Cleaning up keyboard navigation to work properly with cascading submenus. 1999-07-25 00:16:11 +00:00
troy%netscape.com
1c38807112 Fix for bug #10268. I used '&&' when I really meant to use '||' and that caused us
to create the wrong type of frame for relatively positioned H1 elements
1999-07-24 23:08:34 +00:00
hyatt%netscape.com
3b8e400ca1 Tweaks. 1999-07-24 22:51:50 +00:00
hyatt%netscape.com
dc682a1780 Handling Enter key press in submenus. 1999-07-24 22:02:23 +00:00
troy%netscape.com
a8d3d80ebc Cleanup of reflow command handling 1999-07-24 21:41:15 +00:00
peterl%netscape.com
bfef8a3300 Cleaned up attribute parsing so that illegal values are preserved as strings 1999-07-24 19:55:35 +00:00
peterl%netscape.com
cfe1600630 fixed warnings 1999-07-24 19:05:17 +00:00
peterl%netscape.com
3bf8f6b907 added experimental CSS3 properties 1999-07-24 19:04:42 +00:00
peterl%netscape.com
4d52afc607 added debug code for netlib weirdage 1999-07-24 19:04:22 +00:00
peterl%netscape.com
600dc2854c added basic support for inline-block 1999-07-24 19:01:43 +00:00
peterl%netscape.com
c27894263d added char unit output support 1999-07-24 19:00:42 +00:00
peterl%netscape.com
9d991de5f0 added some experimental CSS3 properties
fixed style context impact reporting
1999-07-24 18:59:43 +00:00
sspitzer%netscape.com
9daa861fa0 fix for Solaris bustage. Following mcafee's earlier fixes. 1999-07-24 15:53:19 +00:00
troy%netscape.com
7ffa0d8a63 Moved code that repaints after a resize or initial reflow to the viewport 1999-07-24 15:18:24 +00:00
troy%netscape.com
38a6357a79 Changed to use the new reflow command handling 1999-07-24 03:59:47 +00:00
troy%netscape.com
e337ad496d Fixed a problem in ContentRemoved() where for fixed position frames the
wrong child list name was being used
1999-07-24 03:58:35 +00:00
troy%netscape.com
6717db9454 Renamed a member function to more accurately reflect its purpose 1999-07-24 02:46:08 +00:00
troy%netscape.com
1f924dade3 Changed area frame code over to new reflow command handling 1999-07-24 02:37:45 +00:00
troy%netscape.com
17838b7952 Added VerifyDirtyBitSet() helper function 1999-07-24 02:37:06 +00:00
troy%netscape.com
08c5b45b84 Defined it so that the NS_FRAME_IS_DIRTY flag is set for newly added frames in
SetInitialChildlist(), AppendFrames(), InsertFrames(), and ReplaceFrame()
1999-07-24 02:33:07 +00:00
hyatt%netscape.com
ca1af77117 Menus know about the ENTER key to execute, and know how to dismiss themselves
on mouse clicks.
1999-07-24 01:59:32 +00:00
morse%netscape.com
e24534d85b Remove wallet from layout 1999-07-24 01:39:58 +00:00
hyatt%netscape.com
584576e632 oops. crazy_width only defined for debug builds. Changing this. 1999-07-24 00:32:21 +00:00
hyatt%netscape.com
40caba6ac9 Getting rid of all the printfs and complaints that fire in mailnews by making
the fixed table layout algorithm smarter about unconstrained width reflow.
1999-07-23 23:41:05 +00:00
evaughan%netscape.com
ded8baab17 Fixed some box problems. 1999-07-23 23:30:17 +00:00
sfraser%netscape.com
9fba7e67ed Fix Mac startup crash: nil check for prefs. 1999-07-23 22:23:13 +00:00
hyatt%netscape.com
fe2af9709a Fix for assertions being thrown when fixed layout tables are flowed at an
unconstrained width.  Instead of asserting, intrinsic first row cell widths will be
used to determine the widths of columns with percentage-specified sizes.
1999-07-23 20:32:18 +00:00
hyatt%netscape.com
8539304992 Removing commented out code. Harmless. 1999-07-23 09:36:53 +00:00
hyatt%netscape.com
58fee918ef Making sure the first menu item gets selected as you keyboard navigate into new
menus.
1999-07-23 09:34:14 +00:00
hyatt%netscape.com
c572a0aec2 Menu improvements. 1999-07-23 08:36:39 +00:00
hyatt%netscape.com
a32734dbb9 Refining the ESC behavior and doing deeper shortcut work (on cascading menus). 1999-07-23 07:56:27 +00:00
hyatt%netscape.com
b636708367 Teaching the menus about the ESC key (which will close up each level of menu
until you hit the menu bar).
1999-07-23 07:49:43 +00:00
hyatt%netscape.com
7a62bb78f1 The menu bar now supports shortcuts (e.g., ALT+f). Also repaired a minor problem
with keyboard navigation and mouse movement interoperability on the menus.
1999-07-23 07:39:16 +00:00
hyatt%netscape.com
ab9f23cbd0 Ok, this is more like it. I did want GEtCharCode after all. 1999-07-23 06:01:03 +00:00
hyatt%netscape.com
a2d3c67660 Wanted GetKeyCode, and not GetCharCode. Oops. 1999-07-23 05:52:51 +00:00
hyatt%netscape.com
82e91035de Working on shortcut navigation in XP menus (e.g., ALT+f, etc. etc.). 1999-07-23 05:47:43 +00:00
hyatt%netscape.com
9011b3f9fc PRUint32... not PRInt32 ... oops. 1999-07-23 05:17:08 +00:00
hyatt%netscape.com
ac8f0fd89d Adding the capability to distinguish menus and menu items. 1999-07-23 05:11:49 +00:00
hyatt%netscape.com
807fd2cba6 Adding the capability to distinguish menus from menu items. 1999-07-23 05:10:57 +00:00
hyatt%netscape.com
c1398e2384 Adding an xpmenuitem atom. 1999-07-23 05:09:17 +00:00
rods%netscape.com
022dd79bc6 Sending wrong length when putting data on the clipboards,
double byte chars need twice the space. Wrongly assummed nsString.Length()
return bytes instead of length in chars doubel or single.
1999-07-23 02:25:17 +00:00
hyatt%netscape.com
b28b7c444c Making XP menus work again after Eric's box checkin. They're fast and
smooth now!  YEAH!
1999-07-23 01:02:09 +00:00
scc%netscape.com
b1c73fa7c7 Fixed boxes to only invalidate and redraw what has changed.
Made min and max sizes work
Made linux not suck!
1999-07-23 00:11:21 +00:00
sfraser%netscape.com
165a975859 Fix for GFX ender text widgets; don't parent nsIWebShells that the text widget creates, because you don't want them to interfere with window.frames[]. 1999-07-22 23:48:48 +00:00
vidur%netscape.com
0ebbf485db Forms can now be container content. 1999-07-22 23:28:16 +00:00
nisheeth%netscape.com
a14ff6dcb2 Fix for bug 10028. We handle mixed case mailto urls properly now. 1999-07-22 22:34:28 +00:00
akkana%netscape.com
eeefe7ebd2 Fix selection bustage from yesterday 1999-07-22 19:42:21 +00:00
pollmann%netscape.com
eaecd3f441 Bug 10301: Check base target for image maps 1999-07-22 18:47:23 +00:00
pollmann%netscape.com
ba36807db2 Bug 5403: Release services properly 1999-07-22 18:32:49 +00:00
pollmann%netscape.com
c009be2a77 Bug 5403: Release services properly 1999-07-22 18:10:10 +00:00
hyatt%netscape.com
759f5ce3da Fixing my while loops. They could crash under rare circumstances. 1999-07-22 10:06:38 +00:00
hyatt%netscape.com
931c28f24a More fun with menus. 1999-07-22 09:49:35 +00:00
hyatt%netscape.com
2b5206a56e Removing my printf. 1999-07-22 09:04:10 +00:00
hyatt%netscape.com
298c5a685d XP menu changes. Full keyboard navigation now works. Next up: cascading. 1999-07-22 09:01:55 +00:00
scc%netscape.com
16e2ba6a23 explicitly define kCharsetConversionManagerCID only in files that need it ... move to canonical scheme for defining and using IIDs and CIDs 1999-07-22 05:25:17 +00:00
vidur%netscape.com
26ade9c4cc Deal with multiple BODY elements passed by the parser by ignoring all but the first 1999-07-22 04:46:57 +00:00
troy%netscape.com
1df4c2d244 Added ReplaceFrame() member function to nsIFrame 1999-07-22 04:32:31 +00:00
troy%netscape.com
7a5e4dbdb5 Renamed some nsFrameList member functions 1999-07-22 04:00:57 +00:00
troy%netscape.com
c551fe3166 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
hyatt%netscape.com
1d19002a5c Enhancing the tracking so that I can get keyboard navigation to work in
the presence of cascading.
1999-07-22 01:59:09 +00:00
troy%netscape.com
f02d9ef8b9 Added NS_FRAME_IS_DIRTY flag to the frame state flags 1999-07-21 23:47:01 +00:00
troy%netscape.com
19ed07723e Removed IsTransparent() function from nsIFrame 1999-07-21 23:15:39 +00:00
kmcclusk%netscape.com
9716e9ec80 Enable PartialGfx rendering as the default widget rendering mode. 1999-07-21 23:12:23 +00:00
bienvenu%netscape.com
06518b721b fix windows build bustage for Akkana 1999-07-21 22:17:20 +00:00
akkana%netscape.com
65aa229045 Add a working implementation for nsDOMSelection::ContainsNode, and use it in nsDocument::IsInSelection for XIF conversion 1999-07-21 21:29:29 +00:00
jj%netscape.com
6b4590323e changed optimized target linker settings to generate a symbol file 1999-07-21 18:37:52 +00:00
hyatt%netscape.com
c0e3b7e818 Tracking my reflows. Boxes are generating way way way too many reflows. 1999-07-21 09:45:21 +00:00
hyatt%netscape.com
f3160f1eb3 Removing some printfs. 1999-07-21 09:20:13 +00:00
hyatt%netscape.com
4fd2eb41cc Adding the capability to capture the mouse events. 1999-07-21 08:51:41 +00:00
hyatt%netscape.com
8dbfaab703 Forgot to remove some obsolete bubbling registration on menus. 1999-07-21 07:45:46 +00:00
hyatt%netscape.com
e8be21ec36 Adding the new nsIMenuParent interface. 1999-07-21 07:43:19 +00:00
hyatt%netscape.com
dda6f80134 Adding the open atom. 1999-07-21 07:42:31 +00:00
hyatt%netscape.com
672f3b4f62 Improvements to XP menus. 1999-07-21 07:42:16 +00:00
troy%netscape.com
93621b70eb Made sure to Invalidate() for the initial reflow, too 1999-07-21 04:39:24 +00:00
hyatt%netscape.com
6ae6fc4be9 Making menus boxes. 1999-07-21 02:56:23 +00:00
pinkerton%netscape.com
20fe09002b moved ungrouped files added by Camelot into their correct groups. No new files added or removed. 1999-07-21 01:01:36 +00:00
pinkerton%netscape.com
0afab0b433 add the "immediate" flag to the UpdateView() call in ForceDrawFrame() so that drop feedback always draws on macOS. 1999-07-21 00:59:17 +00:00
hyatt%netscape.com
1675dae7c2 Crash without these null checks. 1999-07-21 00:17:39 +00:00
akkana%netscape.com
b6a67a9c1c Move non-idlc generated stuff from nsIDOMSelection.h to nsIPresShell.h 1999-07-21 00:12:23 +00:00
hyatt%netscape.com
b817087e8e Introduced an infinite loop (sigh). Fixing the problem. 1999-07-21 00:11:23 +00:00
mscott%netscape.com
8392da15eb Necko Only!! Yuck. something was pretty bogus here...whenever we were parsing a url we'd create an empty
base url then try to turn the empty url into an absolute url which was returning an error. Looks like ParseURL would
never work.
1999-07-20 23:53:03 +00:00
brade%netscape.com
0621f4050e Implement InvertRect on Mac. r sfraser 1999-07-20 23:38:55 +00:00
hyatt%netscape.com
810ebf5fa4 Fixing the scrollbar problem in trees (where it gets created and destroyed over
and over and over and over and over and...)
1999-07-20 23:25:58 +00:00
hyatt%netscape.com
e2158e63d7 Had messed up tree widget code on removal, insertion, and append. Fixed now. 1999-07-20 23:24:10 +00:00
akkana%netscape.com
d45c51b9af Add new ContainsNode method to nsIDOMSelection 1999-07-20 23:08:22 +00:00
kmcclusk%netscape.com
af9e15b5e3 nsPresContext.cpp,.h - Added eWidgetRendering_PartialGfx as a rendering mode to PresContext.
ua.css - Added select[multiple] rule for multi-select listboxes without a size
Fixed form submission for gfx checkboxes,radiobuttons, and select by rewriting GetNamesValues.
Added nsListControlFrame::GetSizeAttribute and nsListControlFrame::GetNumberOfRows
Added logic to nsCSSFrameConstructor::ConstructSelectFrame and nsListControlFrame::Reflow
to handle the case of a multiselect select without a size specified.
1999-07-20 22:32:41 +00:00
mcafee%netscape.com
784b45d3ce minor warning fix 1999-07-20 20:24:28 +00:00
warren%netscape.com
a2519a14d6 Added missing addref. 1999-07-20 20:03:11 +00:00
hyatt%netscape.com
8e62e4618a I can now show a menu (and it looks halfway decent). 1999-07-20 10:35:24 +00:00