Commit Graph

6091 Commits

Author SHA1 Message Date
ramiro%netscape.com
038e16b3a1 Dont link in the parser into the app. Link it in dynamically where needed.
This makes the link depenencies on unix be more like windows.  Makes it
easier to track dependency problems and simplifies makefiles.
1999-08-17 13:54:48 +00:00
ramiro%netscape.com
04349cdd68 Link expat and xmltok into the htmlparser statically. Not into the app. 1999-08-17 12:46:23 +00:00
valeski%netscape.com
08b22b266e chofmann approved. fix for 11461, refresh for some meta refresh urls was happening irregularly. 1999-08-13 23:50:29 +00:00
hyatt%netscape.com
6135a530ee Fix for bugs 11858 and 10774. 1999-08-13 23:49:53 +00:00
kmcclusk%netscape.com
e38d06108e Fix for bug #11717. Check in Ok'ed by cyeh@netscape.com
Don't do the super class'es IsSuccessful because it always returns PR_FALSE
because the (this) pointer is not equal to the submitter.
1999-08-12 22:06:09 +00:00
hyatt%netscape.com
53a1619128 A minor addendum to the bug fix I checked in a few minutes ago. 1999-08-12 21:20:04 +00:00
pinkerton%netscape.com
fca214cf9d temp tweak to turn off toolbar d&d for M9 because it's too sensitive. bug 11397. appr don. 1999-08-12 20:52:47 +00:00
hyatt%netscape.com
16963f5890 Fix for bug #11418 and #11506 (which are actually the
same bug).  Approved by chofmann.
1999-08-12 20:45:47 +00:00
nisheeth%netscape.com
684c74e9b5 Fix for bug 11483. Scripts were not getting loaded on XML pages. 1999-08-11 23:24:59 +00:00
pinkerton%netscape.com
5589138ab3 cleaning up and simplifying checkbox. Adding tri-state checkbox behavior keyed off of the presence of an attribute. 1999-08-11 04:45:49 +00:00
pollmann%netscape.com
9e851343f5 Bug 10939: Make image input element transparent 1999-08-11 03:49:31 +00:00
pollmann%netscape.com
6c21361d9f Bug 10939: Make image input element transparent 1999-08-11 03:30:25 +00:00
kmcclusk%netscape.com
12f49894e4 Changed default label for submit buttons to Submit Query from (submit)
Changed default label for reset buttons to Reset from (reset)
1999-08-10 22:17:08 +00:00
rods%netscape.com
a6c50ddfdb added an extra check to make sure we have a valid child frame. childFrame could be null when native widgets are turned on 1999-08-10 21:28:06 +00:00
rods%netscape.com
8f5b13ed87 Added "disabled" rules for form controls 1999-08-10 19:35:13 +00:00
rods%netscape.com
ba4a0485e1 Added check to see if it was disabled so it would ignore events 1999-08-10 19:26:10 +00:00
rods%netscape.com
0701d68531 Add GetFrameForPoint to return the combobox when it is disabled. Added disabled code. 1999-08-10 19:25:22 +00:00
rods%netscape.com
c91922076b Fixed Reset to work properly, removed InitializeFromContent method, changed where the list was adding itself to FormControlFrame 1999-08-10 19:22:51 +00:00
kmcclusk%netscape.com
61e361b49e Rewrote nsButtonControlFrame. It is now based on nsHTMLButtonControlFrame.
Added style rules to set submit, reset, and browse buttons default labels.
1999-08-10 19:13:57 +00:00
karnaze%netscape.com
3b25c74d17 new regression tests 1999-08-10 18:30:04 +00:00
karnaze%netscape.com
c3c7c48b80 For crash in bug 10296 - Removed assertion that nsTableFrame::GetColumnFrame must find a non null frame.
Added check for null when calling it in a situation where it can return null.
1999-08-10 18:15:46 +00:00
harishd%netscape.com
9db5447de6 Changing the order in which borders are painted for compatibility.
Used to be TOP,LEFT,BOTTOM,RIGHT, and now it's
BOTTOM,LEFT,TOP,RIGHT.  Fix for bug#11022
1999-08-10 18:13:50 +00:00
troy%netscape.com
8bf0fbd4a8 Fixed a place I had missed when converting over to the new reflow command
handling
1999-08-10 14:28:27 +00:00
ftang%netscape.com
b71a536920 tune performance by elimate unnecessary reference to nsIWordBreaker in nsTexTransformer. Add NS_PRECONDITION code into nsTextTransformer to make code better 1999-08-10 07:23:56 +00:00
troy%netscape.com
cf9667f8f9 Converted outer table frame code over to new reflow command handling 1999-08-10 03:52:15 +00:00
buster%netscape.com
e98b412b9a added KeyPress event propogation. This makes the editor image dialog work much better.
as part of this, I moved when I install event propogation listeners in the gfx text control frame.  nobody will notice
the difference, except keyPress notifications will work correctly.
1999-08-10 02:58:07 +00:00
karnaze%netscape.com
c598fc57e3 added constructor to nsTableColGroupFrame, fixed a few places where
nsColGroupFrame assummed its children were nsColGroupFrames.
1999-08-10 02:45:18 +00:00
karnaze%netscape.com
b71e1b0379 commented out print statements when passing a row,col outside of cell map,
since the test case in bug 9024 can cause this condition.
1999-08-10 02:43:45 +00:00
karnaze%netscape.com
fe4c862ec2 more test cases 1999-08-10 02:39:55 +00:00
karnaze%netscape.com
ab2df8841f removed some unneeded comments 1999-08-10 01:14:24 +00:00
karnaze%netscape.com
34acf6b5b6 new test case 1999-08-10 01:02:36 +00:00
karnaze%netscape.com
dbce38c94b bug 3517.
Always get border-collapse from nsTableFrame::GetBorderCollapseStyle.
Added several null checks for border edges.
Added check in nsTableFrame::DidComputeHorizontal to replace null edges with trival ones.
1999-08-10 00:49:10 +00:00
troy%netscape.com
61cbd5f824 Initial check-in 1999-08-10 00:01:54 +00:00
av%netscape.com
e41767be1f Setting some default size to objects with unknown size, bug #8740 1999-08-09 23:41:55 +00:00
buster%netscape.com
7a04009a6b enabled onSelect notifications 1999-08-09 20:10:59 +00:00
rods%netscape.com
b24ae7ff24 Fixed GetFrameForPoint so it passes back the corrct frame for event for form controls (Bug #11467) 1999-08-09 19:59:48 +00:00
buster%netscape.com
a9693b1b69 trivial fix to make sure we're storing an nsIHTMLEditor result in an
nsCOMPtr<nsIHTMLEditor> variable.
1999-08-09 19:37:18 +00:00
sfraser%netscape.com
0166147f3c Optimization so that moving a collapsed selection does not cause the frame to redraw. 1999-08-09 19:15:04 +00:00
sfraser%netscape.com
953e2971e4 Make the caret use InvetRect for drawing. 1999-08-09 19:14:43 +00:00
vidur%netscape.com
66a87fc882 Implemented document.lastModified 1999-08-09 19:10:24 +00:00
buster%netscape.com
fde9da42d0 brought init code up to date with recent editor API changes. 1999-08-09 17:41:55 +00:00
dp%netscape.com
29a08b0a4c Backing out previous checkin per peterl advice. This caused bookmarks
and mailnews windows to show up blank.
1999-08-09 03:54:10 +00:00
sfraser%netscape.com
afb9b207c0 Synch up with editor API changes. 1999-08-09 01:43:00 +00:00
morse%netscape.com
79ba7c62b3 avoid an uninitialized memory access 1999-08-08 19:16:09 +00:00
morse%netscape.com
14fb9dbd1f fix a crash in cookie viewer 1999-08-08 18:10:19 +00:00
jband%netscape.com
4617442db7 was neglecting to initialize a member 1999-08-08 02:06:31 +00:00
peterl%netscape.com
ce07abf873 cleaned up viewport pseudo elements 1999-08-08 01:23:22 +00:00
peterl%netscape.com
e29c26df10 moved scrolled content pseudo atom to layout atoms 1999-08-08 01:19:36 +00:00
peterl%netscape.com
2bb5dc6312 made relative font sizes round off to next point size 1999-08-08 01:19:09 +00:00
peterl%netscape.com
e0d10cc8d9 added != operator 1999-08-08 01:18:40 +00:00
peterl%netscape.com
6edd662900 added :root pseudo class 1999-08-08 01:17:58 +00:00
peterl%netscape.com
f12ab5112a made change hint smarter 1999-08-08 01:17:29 +00:00
peterl%netscape.com
2526ca11c3 cleaned up style contexts of viewport and friends 1999-08-08 01:16:50 +00:00
peterl%netscape.com
18b05c194a moved dummy option pseudo to layout atoms
added root pseudo
1999-08-08 01:16:07 +00:00
peterl%netscape.com
7bf06a962e moved scrolled content pseudo to layout atoms 1999-08-08 01:15:30 +00:00
peterl%netscape.com
7e4e82dade added note 1999-08-08 01:14:50 +00:00
peterl%netscape.com
6c14e16169 fix initial value of border collapse 1999-08-08 01:14:36 +00:00
peterl%netscape.com
a17a613280 added more pseudo elements 1999-08-08 01:05:05 +00:00
joki%netscape.com
11585608e8 Adding new onselect event. Also slight modification to ender text widget focus behavior 1999-08-07 23:18:35 +00:00
beard%netscape.com
b07fa8c481 fixes a crasher triggered by test case of bug #5194. 1999-08-07 20:43:47 +00:00
troy%netscape.com
6b325a5196 Made sure that column cache is invalidated if necessary when appending rows
frames and cell frames
1999-08-07 15:12:50 +00:00
cls%seawood.org
3f1dcd11dc Various fixes to let the tree compile with gcc 2.95:
String constants are now (const char *)s and must be explicitly cast to (char *).
operator new is expected to be empty or throw an expection instead of returning null. (ifdef'd for gcc 2.95+)
Stricter checks on register clobbering in embedded asm. (at least I think that's what it is)
Expects the main function to return int, not something similiar to it like PRInt32.

Still requires a tweak to remove -mno-486 from NSPR's *.mk files.
1999-08-07 06:01:31 +00:00
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