6279 Commits

Author SHA1 Message Date
dcone%netscape.com
9ca97fe70e Took out the code to do the Tiling.. a method in nsRenderingContext will now do this. This gives each platform
the option of tiling.. and optimizing for speed.  Windows will now be very fast for small tiles that are transparent.


git-svn-id: svn://10.0.0.236/trunk@65189 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 13:38:36 +00:00
karnaze%netscape.com
3e77714948 new regression tests not affecting the build
git-svn-id: svn://10.0.0.236/trunk@65183 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 12:26:17 +00:00
pierre%netscape.com
c774e17424 Use the system colors to paint the text selection (and added NS_DONT_CHANGE_COLOR to support the Mac selection scheme where colored text keeps its colors when selected).
git-svn-id: svn://10.0.0.236/trunk@65176 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 09:07:41 +00:00
hyatt%netscape.com
4c50c0a82b Making <children> support dynamic.
git-svn-id: svn://10.0.0.236/trunk@65157 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 06:29:20 +00:00
karnaze%netscape.com
4fcd1d85c4 prevent trees from constructing pseudo frames in some cases as did rev 1.407, due to a bug in TableIsValidCellContent. Fix the bug for mathml.
git-svn-id: svn://10.0.0.236/trunk@65147 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:57:08 +00:00
cls%seawood.org
a26020ddae Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287
git-svn-id: svn://10.0.0.236/trunk@65143 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:46:38 +00:00
karnaze%netscape.com
67b057b4e1 bug 2479 - deleting cols and/or colgroups caused incorrect reseting of col group starting index.
git-svn-id: svn://10.0.0.236/trunk@65138 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:28:18 +00:00
karnaze%netscape.com
72e181639a fix regression tests - not affecting the build
git-svn-id: svn://10.0.0.236/trunk@65116 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:29:10 +00:00
karnaze%netscape.com
64a5b717fe bug 2479 - rewrite of table frame construction. r=troy, b=winNT,linux
git-svn-id: svn://10.0.0.236/trunk@65114 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 01:28:15 +00:00
attinasi%netscape.com
2f4e0c1c8f Added and !important rule for buttons that are part of select elements so they are not broken out of the select control by global absolute positioning rules. r=rods b=27806
git-svn-id: svn://10.0.0.236/trunk@65091 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 00:07:53 +00:00
scc%netscape.com
2255fe399e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65030 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 11:39:09 +00:00
scc%netscape.com
e16ab47ebe making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65029 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 11:20:35 +00:00
evaughan%netscape.com
4988dd9975 Added a hook for the Bidi code.
git-svn-id: svn://10.0.0.236/trunk@65010 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 06:26:38 +00:00
evaughan%netscape.com
995d26d6bc 1) viewmanager2 optimizations -r troy, kevin
2) box fixes for Rod's gfx listbox
3) memory leak fixes
4) box fixes in prep for grid widget


git-svn-id: svn://10.0.0.236/trunk@64995 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 03:55:38 +00:00
karnaze%netscape.com
14a994b21d new regression tests not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@64945 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 19:17:28 +00:00
jst%netscape.com
58c288a59c Fixing Win build bustage.
git-svn-id: svn://10.0.0.236/trunk@64943 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 18:36:26 +00:00
jst%netscape.com
c76b431214 Updating the interfaces Document and HTMLDocument to comply with DOM Level 2, only stubs for new methods for now.
git-svn-id: svn://10.0.0.236/trunk@64942 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 17:46:30 +00:00
jst%netscape.com
3efeaf17d3 Updating HTMLFrameElement and HTMLIFrameElement to comply with the Level 2 DOM, this adds a 'contentDocument' attribute to those two interfaces that can be used to access the document contained in the frame.
git-svn-id: svn://10.0.0.236/trunk@64937 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 14:04:19 +00:00
mjudge%netscape.com
2fd774249a selecting generated content works now. subtree iterator and all. incredible... added new private method to nsTextFrame to factor out some things on getting correct offsets from generated frames. its a no-op almost for non generated frames
git-svn-id: svn://10.0.0.236/trunk@64921 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 05:05:31 +00:00
bryner%uiuc.edu
a2f83e6dd1 Turning my changes back on, since they didn't cause the tinderbox orange.
git-svn-id: svn://10.0.0.236/trunk@64913 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 23:39:53 +00:00
rods%netscape.com
593123a4e8 Initial checkin of SVG prototype code for Dean Jackson (ifdef'ed)
git-svn-id: svn://10.0.0.236/trunk@64907 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:31:45 +00:00
rods%netscape.com
196674549e Initial checkin of SVG prototype code for Dean Jackson (if def'ed)
git-svn-id: svn://10.0.0.236/trunk@64904 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:26:38 +00:00
bryner%uiuc.edu
a610c0fc3a #if 0 this section of code to see if it's causing the tinderbox orange.
git-svn-id: svn://10.0.0.236/trunk@64893 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 20:58:39 +00:00
bryner%uiuc.edu
45556e0036 This fixes bug 31204 (mousewheel scrolling with pointer over a textfield),
by hooking up the parent document for the editor.  r=jst@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@64891 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 20:09:54 +00:00
troy%netscape.com
eda0fd14bb b=25290 Changed ConstructFrameByTag() to treat FORM frames as floater
containing blocks


git-svn-id: svn://10.0.0.236/trunk@64889 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 18:47:09 +00:00
jst%netscape.com
2b2767bff4 Updating the DOM Node interface to match the DOM Level 2 interface, only stub implemetations so far.
git-svn-id: svn://10.0.0.236/trunk@64881 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 13:31:23 +00:00
jst%netscape.com
3fb4d7189f Removing some code redundancy in the DOM Core implementations, fixing bugs #16585 and #16606.
git-svn-id: svn://10.0.0.236/trunk@64879 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 12:36:16 +00:00
cls%seawood.org
0220b2d70f HP-UX's compiler doesn't like calling delete on a void*. Use PR_Malloc & PR_Free instead. Bug #34040 r=jdunn,evaughan a=leaf
git-svn-id: svn://10.0.0.236/trunk@64858 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 08:35:40 +00:00
tbogard%aol.net
6eda3aac98 Use the docShell APIs to do the Load rather than nsIWebShell methods.
git-svn-id: svn://10.0.0.236/trunk@64816 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:26:21 +00:00
nisheeth%netscape.com
e49cdf0a25 r=troy. Fix for bug 33422. The display style is set to block level for document element frames. The style was defaulting to inline for cases where an XML document did not set a block level display style on the root element.
git-svn-id: svn://10.0.0.236/trunk@64811 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:18:21 +00:00
nisheeth%netscape.com
1de20470ea r=troy. Fix for bugs 8131, 13325.
- We no longer display alternate content for broken images inside image
- We only display the image loading icon during the initial load of an image not if its src attribute is changed via the DOM.
- In AttributeChanged(), se don't call ContentChanged() on the document to reflow the image frame but call the parent frame's ReflowDirtyChild() method instead.


git-svn-id: svn://10.0.0.236/trunk@64808 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:13:51 +00:00
akkana%netscape.com
a66b5d430f 28598: Do dom linebreak conversion on the string before inserting it in the editor.
git-svn-id: svn://10.0.0.236/trunk@64805 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:04:46 +00:00
evaughan%netscape.com
c3b9bc7f83 Uninitialized memory fix.
-r scc


git-svn-id: svn://10.0.0.236/trunk@64801 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 22:41:18 +00:00
rods%netscape.com
6a7dbb2964 backing out my changes because of XUL
git-svn-id: svn://10.0.0.236/trunk@64777 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 15:50:56 +00:00
rods%netscape.com
a4235fc535 checkbox and radio now use content-box instead of border-box this makes it
more intuitive to add and resize the borders.
b=32102


git-svn-id: svn://10.0.0.236/trunk@64776 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 15:43:06 +00:00
cls%seawood.org
47bd6dc3cc Please use PR_TRUE & PR_FALSE. Not all C++ compilers support the keywords true & false.
git-svn-id: svn://10.0.0.236/trunk@64763 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 11:09:28 +00:00
rickg%netscape.com
2e3ff29319 fixed silly string usage error
git-svn-id: svn://10.0.0.236/trunk@64760 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:45:55 +00:00
pierre%netscape.com
57f52259cf 17309: set the default timeout in the previous checkin to 2 minutes
git-svn-id: svn://10.0.0.236/trunk@64746 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:04:48 +00:00
mjudge%netscape.com
d50c11711c changed alot here having to do with get position. made it much faster for non-slow frames. (slow=char spacing ect) also removed some code to make the ::GetWidth call factored out so I can reuse it. selection now has a DrawSelectionIterator that spits out the next series of chars and their color ect when drawing selection. this allows us to combine many different types of selection. This also means that XOR is not used here any more. we will hook up selection colors to style shortly in the next week.
git-svn-id: svn://10.0.0.236/trunk@64723 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:26:07 +00:00
mjudge%netscape.com
30a7d8a091 changing troys generated content SUB iterator with changes that he sent me personally. these will allow us to have iterators over generated tables or just plain before or after nodes.
git-svn-id: svn://10.0.0.236/trunk@64721 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:22:38 +00:00
attinasi%netscape.com
9657bf7bed Implemented Style Size Dump. r=rickg b=26565
git-svn-id: svn://10.0.0.236/trunk@64709 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:08:36 +00:00
evaughan%netscape.com
82b44e2844 box skinnablility changes.
-r Hyatt


git-svn-id: svn://10.0.0.236/trunk@64707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:02:06 +00:00
troy%netscape.com
b3c08e51a2 Fix for divide by zero I accidently introduced
git-svn-id: svn://10.0.0.236/trunk@64700 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 05:40:35 +00:00
troy%netscape.com
f8ad64e11a Fix non Win32 compiler bustage
git-svn-id: svn://10.0.0.236/trunk@64699 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 05:10:36 +00:00
troy%netscape.com
531ec45b9f Changed text measurement code to use the new rendering context function
that measures chunks or words. Because that function is only implemented
on Win32 the code is #ifdef _WIN32


git-svn-id: svn://10.0.0.236/trunk@64698 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:27:43 +00:00
troy%netscape.com
46036dc8cc Increase the size of the underlying arenas from 2K to 4K. After looking
at a veriety of pages that seems to be a better choice


git-svn-id: svn://10.0.0.236/trunk@64691 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:11:28 +00:00
attinasi%netscape.com
f4da5629ff Implemented a timer for loading CSS style sheets to allow content to be displayed if the sheet is taking too long to load. b=17309 r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@64665 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 01:57:54 +00:00
mstoltz%netscape.com
e23c3f29bf Fixed bug 30915 using nsAggregatePrincipal. r=norris
git-svn-id: svn://10.0.0.236/trunk@64652 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 00:31:18 +00:00
akkana%netscape.com
2bffc574a8 28598: map \r and \r\n to \n in form textarea submissions
git-svn-id: svn://10.0.0.236/trunk@64633 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:49:59 +00:00
jst%netscape.com
0bc922f9e2 Fixing bug #32839, HTMLButtonElement.type now returns the correct value.
git-svn-id: svn://10.0.0.236/trunk@64623 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:37:12 +00:00