263 Commits

Author SHA1 Message Date
rods%netscape.com
d788bca43f Pulled child frame frame creation out of the nsFieldsetFrame and put it in
here. Added new method for creating fieldset.
troy reviewed the approach but not the code (it's not turned on yet)
b=23156


git-svn-id: svn://10.0.0.236/trunk@57225 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-09 02:04:36 +00:00
rbs%maths.uq.edu.au
7db2c3e16f [NOT PART OF THE DEFAULT BUILD]. *Changes to bring MathML in sync with layout (added aPresShell on factory routines). *Postfixed atoms with underscore to avoid conflicts with reserved names in C++ and math.h
git-svn-id: svn://10.0.0.236/trunk@55849 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 13:07:59 +00:00
nisheeth%netscape.com
3785d66606 Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed.
git-svn-id: svn://10.0.0.236/trunk@55409 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-06 07:44:18 +00:00
hyatt%netscape.com
7e24c61109 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy


git-svn-id: svn://10.0.0.236/trunk@55321 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 23:49:50 +00:00
kmcclusk%netscape.com
4672b267d3 Fixed problem where buttons where causing reflows when entering and exiting.
Removed outline border style and fixed style context parentage of buttons.
bug 17892; r=buster@netscape.com


git-svn-id: svn://10.0.0.236/trunk@53294 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-12 01:45:53 +00:00
evaughan%netscape.com
009c882c36 Fixed gfxscrollbar bugs #16460 and #15722
git-svn-id: svn://10.0.0.236/trunk@53106 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 23:51:44 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
kipp%netscape.com
63ae90acca r=troy; reworked the way that blocks inside of inline elements are handled. It's all in the frame construction code now (bugs 15999, 16737)
git-svn-id: svn://10.0.0.236/trunk@52385 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 15:24:57 +00:00
kipp%netscape.com
aaabce0894 r=troy; bugs 12958 and 12760; reworked the way that first-letter frames are created and updated. We now support incremental content changes even when first-letter style applies.
git-svn-id: svn://10.0.0.236/trunk@52216 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-29 14:39:48 +00:00
peterl%netscape.com
bba68903df Added namespace ID to the AttributeChanged notification
Part fo the fix for Bug 15153
r=troy


git-svn-id: svn://10.0.0.236/trunk@50888 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-15 23:16:45 +00:00
evaughan%netscape.com
b6c93b5c5c Integrated Gfx scrollbars.
git-svn-id: svn://10.0.0.236/trunk@50385 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 00:16:06 +00:00
rbs%maths.uq.edu.au
1b6a18b9e4 Adding remaining MathML hooks and changing ifdef INCLUDE_MATHML to ifdef MOZ_MATHML to avoid thinking autoconf-related. r:peterl
git-svn-id: svn://10.0.0.236/trunk@49662 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 10:41:40 +00:00
hyatt%netscape.com
47b05de572 Fixing tree widget updating problem (bienvenu).
git-svn-id: svn://10.0.0.236/trunk@49170 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-28 00:57:31 +00:00
peterl%netscape.com
ee1768fef6 moved re resolve style logic into frame manager
git-svn-id: svn://10.0.0.236/trunk@48552 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-21 07:55:37 +00:00
troy%netscape.com
68d0b098c8 Changed CreateGeneratedFrameFor() to set the parent object and the document
object of the generated content


git-svn-id: svn://10.0.0.236/trunk@46153 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 03:09:33 +00:00
kipp%netscape.com
c9002f20df Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot
git-svn-id: svn://10.0.0.236/trunk@45274 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 03:09:40 +00:00
kipp%netscape.com
5b8f10fa6d Revamped to create/destroy manage first-letter frames so that incremental operations (append/insert/remove) work properly
git-svn-id: svn://10.0.0.236/trunk@44920 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:46:10 +00:00
evaughan%netscape.com
2d2928d70d Fixed to gfx scrollbar.
Fixed some blockers.


git-svn-id: svn://10.0.0.236/trunk@44760 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 06:06:39 +00:00
evaughan%netscape.com
fd72782f13 xpscrollbars
git-svn-id: svn://10.0.0.236/trunk@43717 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:16:23 +00:00
ducarroz%netscape.com
172cde15a9 Create an autocomplete text widget if needed
git-svn-id: svn://10.0.0.236/trunk@43709 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:11:03 +00:00
kmcclusk%netscape.com
9e4c341c69 Rewrote nsButtonControlFrame. It is now based on nsHTMLButtonControlFrame.
Added style rules to set submit, reset, and browse buttons default labels.


git-svn-id: svn://10.0.0.236/trunk@42998 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-10 19:13:57 +00:00
rods%netscape.com
f619e80294 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.
git-svn-id: svn://10.0.0.236/trunk@42543 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 21:14:45 +00:00
pierre%netscape.com
6a1d462764 breaking up gfx & native widgets
git-svn-id: svn://10.0.0.236/trunk@42404 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 05:11:39 +00:00
troy%netscape.com
db679bfa7c Changed frame construction code to use frame manager when modifying frame
model


git-svn-id: svn://10.0.0.236/trunk@42257 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 03:09:22 +00:00
rods%netscape.com
2fb4610dab 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


git-svn-id: svn://10.0.0.236/trunk@41979 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 14:41:48 +00:00
kmcclusk%netscape.com
12a07070be fixed bugs #6303, #6753, #6756, #6759
Re-wrote nsComboboxFrame.
removed the obsolete nsHTMLAtoms: comboText,comoTextSelected,comTextSelectedFocus,dropDownVisible,
dropdownHidden, dropDownBtnOut, dropDownBtnPressed,
Added nsHTMLAtoms::combobox, nsLayoutAtoms::popupList
Renamed dropDownList to dropDownListPseudo
Added "arrow.gif" as to be used the background-image for the combobox button
ua.css - added rules for select to differentiate between comboboxes and listboxes.
Added style rules to more closely match the XPTOOLKIT XPWidgets look.
removed the following :-moz-combobox-text, -moz-combobox-textselected
nsIFormControlFrame.h - Added SetSuggestedSize method.
nsButtonControlFrame - Implemented SetSuggestedSize.
nsCSSFrameConstructor.cpp - Rewrote ConstructSelectFrame.
nsIWidget.h -Added GetAbsoluteBounds method.
nsWindow.cpp - Implemented GetAbsoluteBounds.


git-svn-id: svn://10.0.0.236/trunk@39401 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:00:24 +00:00
hyatt%netscape.com
c629e6ba46 Changes to the tree widget to prevent memory whackage that's causing
crashes.  This should fix several of the mailnews bugs.  It's hard to
say exactly which of them will be fixed by this, since some of them
are caused by memory whackage and others are real bugs in the widget
itself.

Also adding in support for Troy's primary frame hashtable, thus ensuring
that when the tree widget dynamically deletes frames that the mappings
in the hashtable are removed (so that deleted frames won't accidentally
be retrieved).


git-svn-id: svn://10.0.0.236/trunk@38926 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 20:58:16 +00:00
kipp%netscape.com
b3c3552149 Fixed bug #8905 by moving a copy of the first-letter construction code into the bowels of the generated content frame generation code
git-svn-id: svn://10.0.0.236/trunk@38361 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-05 18:46:09 +00:00
troy%netscape.com
eda7c241f2 Added function FindPrimaryFrameFor()
git-svn-id: svn://10.0.0.236/trunk@37981 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 04:46:19 +00:00
evaughan%netscape.com
09d003848a Added anonymous node support.
Added splitters
Added Grippies.


git-svn-id: svn://10.0.0.236/trunk@37561 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 22:17:43 +00:00
hyatt%netscape.com
8dece188fd Turning on the lazy mode in the tree widget. It is now the default. Let
the bug filing begin. :(


git-svn-id: svn://10.0.0.236/trunk@37428 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 20:20:40 +00:00
hyatt%netscape.com
ab20bcc3c9 Number Two: Mail/news performance continued to decline. We thought the
situation with the tree widget was hopeless.  And so we cloned it.  This
new tree widget is exactly like the original in every way... only
1/8 its size.

Dr. Evil: I shall call it... MINI-TREE.

(Translation: Backward scrolling now works in the lazy tree
widget.)


git-svn-id: svn://10.0.0.236/trunk@37168 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 08:35:10 +00:00
hyatt%netscape.com
d6494b515f Landing the tree widget branch.
git-svn-id: svn://10.0.0.236/trunk@36435 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:02:21 +00:00
kmcclusk%netscape.com
040ca9ca76 Numerous changes to support gfx-rendered form elements.
git-svn-id: svn://10.0.0.236/trunk@36078 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-21 20:41:56 +00:00
evaughan%netscape.com
228c4d1aef Integrated a new XP scrollbar
Added tri state behavior to titled buttons.


git-svn-id: svn://10.0.0.236/trunk@35342 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 04:02:43 +00:00
buster%netscape.com
5c2c4b30e5 added support for ender GFX-Rendered text control
git-svn-id: svn://10.0.0.236/trunk@35045 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-12 22:32:41 +00:00
karnaze%netscape.com
e9f7d6655d fixed crash in bug 5190, allowing a table to be the top level XML element.
git-svn-id: svn://10.0.0.236/trunk@29877 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:51:59 +00:00
troy%netscape.com
b185fa6d08 Aded nsFrameConstructorState structure
git-svn-id: svn://10.0.0.236/trunk@29738 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 19:08:14 +00:00
kipp%netscape.com
f195dfeae4 Fixed bug in floater placement; use correct content object to get style for inline frames that contain first letter frames
git-svn-id: svn://10.0.0.236/trunk@29604 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:21:51 +00:00
kipp%netscape.com
baaf0b6211 Create first-letter frames as needed
git-svn-id: svn://10.0.0.236/trunk@29557 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 22:14:54 +00:00
troy%netscape.com
fc762f49b8 Change so we use nsPlaceholderFrame frames for all placeholders
git-svn-id: svn://10.0.0.236/trunk@29116 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 16:58:42 +00:00
peterl%netscape.com
b23244a4ab widened state change api
added test for state dependent style


git-svn-id: svn://10.0.0.236/trunk@28167 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 00:05:14 +00:00
troy%netscape.com
fb4a878223 Fixes for bug #1994. Better handling of floated and positioned images when
displaying the alternate contents


git-svn-id: svn://10.0.0.236/trunk@27450 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-14 04:00:16 +00:00
kmcclusk%netscape.com
9e271034c0 Enabled frame-based comboboxes when widget rendering mode is gfx.
Major changes to nsComboboxControlFrame:
Removed commented out code + nsIPluggableEventListener references.
Implemented nsComboboxControlFrame::GetNamesValues
Implemented nsComboboxControlFrame::SetProperty GetProperty methods
Fixed references to previously freed memory in nsComboboxControlFrame::ReResolveStyleContext
Modified ua.css style rules for dropdown-visible, drodown-hidden to have -moz- prefix.
Added -moz-dropdown-btn-out and -moz-dropdown-btn-pressed, -moz-dropdown-list rules.
Modified nsListControlFrame.cpp to calculate the width of the dropdown list for combo boxes correctly
Added nsListControlFrame::GetProperty and SetProperty methods.
Modified nsCSSFrameConstructor::ConstructSelectFrame to setup combobox.


git-svn-id: svn://10.0.0.236/trunk@27218 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 22:14:31 +00:00
troy%netscape.com
df431eabb8 Added a check that the content objects match when determining if a
frame is generated content


git-svn-id: svn://10.0.0.236/trunk@26666 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 03:10:59 +00:00
troy%netscape.com
b9345aa5f1 Changed ContentAppended() and ContentInserted() to work correctly
if the parent frame has :before or :after pseudo-elements


git-svn-id: svn://10.0.0.236/trunk@26447 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-06 04:58:05 +00:00
troy%netscape.com
17fdb38b65 Work on generated content
git-svn-id: svn://10.0.0.236/trunk@26266 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-05 02:53:07 +00:00
troy%netscape.com
b61e350d4f Work-in-progress for generated content
git-svn-id: svn://10.0.0.236/trunk@25622 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 15:22:54 +00:00
peterl%netscape.com
8954376875 added methods to process style changes on frames
git-svn-id: svn://10.0.0.236/trunk@25090 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 06:42:07 +00:00
troy%netscape.com
2c9f8c326c Work-in-progress for table pagination
git-svn-id: svn://10.0.0.236/trunk@22735 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-03 16:33:57 +00:00