1894 Commits

Author SHA1 Message Date
rods%netscape.com
e2a7ed2062 temporary fix for reentrancy bug in HandleEvent
git-svn-id: svn://10.0.0.236/trunk@41488 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 21:42:37 +00:00
troy%netscape.com
08b0ac1ce2 Added failure check for call to nsStyleData::GetBorder()
git-svn-id: svn://10.0.0.236/trunk@41422 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 04:48:34 +00:00
troy%netscape.com
296ff668fa Added support for "box-sizing" style property
git-svn-id: svn://10.0.0.236/trunk@41416 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 03:51:37 +00:00
ftang%netscape.com
8b4d6e129c 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.
git-svn-id: svn://10.0.0.236/trunk@41292 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 14:47:24 +00:00
troy%netscape.com
dd72d8029f Changed root frame class over to new reflow command handling
git-svn-id: svn://10.0.0.236/trunk@41287 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 14:15:42 +00:00
av%netscape.com
48b8cdd78f fixing bug #8290
git-svn-id: svn://10.0.0.236/trunk@41205 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 01:35:30 +00:00
troy%netscape.com
6b27e8cd0c 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


git-svn-id: svn://10.0.0.236/trunk@41181 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-27 00:48:47 +00:00
joki%netscape.com
73627c01e7 Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus.
git-svn-id: svn://10.0.0.236/trunk@41139 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 15:02:19 +00:00
troy%netscape.com
ed06c35f34 Added 'm' prefix to structs defined in nsISpaceManager
git-svn-id: svn://10.0.0.236/trunk@41059 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 19:01:13 +00:00
troy%netscape.com
fca2c43f1f Cleanup of reflow command handling
git-svn-id: svn://10.0.0.236/trunk@41005 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 21:41:15 +00:00
troy%netscape.com
391149c4d4 Moved code that repaints after a resize or initial reflow to the viewport
git-svn-id: svn://10.0.0.236/trunk@40977 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 15:18:24 +00:00
troy%netscape.com
6297f61432 Changed to use the new reflow command handling
git-svn-id: svn://10.0.0.236/trunk@40963 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 03:59:47 +00:00
troy%netscape.com
37565e5645 Renamed a member function to more accurately reflect its purpose
git-svn-id: svn://10.0.0.236/trunk@40956 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 02:46:08 +00:00
troy%netscape.com
448fbdd0ee Changed area frame code over to new reflow command handling
git-svn-id: svn://10.0.0.236/trunk@40955 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 02:37:45 +00:00
troy%netscape.com
59f067c692 Added VerifyDirtyBitSet() helper function
git-svn-id: svn://10.0.0.236/trunk@40954 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 02:37:06 +00:00
rods%netscape.com
dcffac81c3 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.


git-svn-id: svn://10.0.0.236/trunk@40777 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-23 02:25:17 +00:00
pollmann%netscape.com
203c71adbd Bug 10301: Check base target for image maps
git-svn-id: svn://10.0.0.236/trunk@40679 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 18:47:23 +00:00
troy%netscape.com
73690aa1c5 Added ReplaceFrame() member function to nsIFrame
git-svn-id: svn://10.0.0.236/trunk@40599 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 04:32:31 +00:00
troy%netscape.com
a314bc3877 Renamed some nsFrameList member functions
git-svn-id: svn://10.0.0.236/trunk@40595 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 04:00:57 +00:00
troy%netscape.com
947927e816 Renamed DeleteFrame() to Destroy()
git-svn-id: svn://10.0.0.236/trunk@40585 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 02:24:52 +00:00
troy%netscape.com
afd55b77d6 Added NS_FRAME_IS_DIRTY flag to the frame state flags
git-svn-id: svn://10.0.0.236/trunk@40547 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 23:47:01 +00:00
troy%netscape.com
25df555ae8 Removed IsTransparent() function from nsIFrame
git-svn-id: svn://10.0.0.236/trunk@40539 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 23:15:39 +00:00
troy%netscape.com
8ac7d2a316 Made sure to Invalidate() for the initial reflow, too
git-svn-id: svn://10.0.0.236/trunk@40411 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 04:39:24 +00:00
brade%netscape.com
bbafb3d9ad Implement InvertRect on Mac. r sfraser
git-svn-id: svn://10.0.0.236/trunk@40365 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 23:38:55 +00:00
kmcclusk%netscape.com
d08711ed3a 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.


git-svn-id: svn://10.0.0.236/trunk@40339 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 22:32:41 +00:00
ramiro%netscape.com
3903eb4d89 Adding support for XOR selection. Updated nsIRenderingContext interface
to support InvertRect() for the XOR-ing of rectangles.  Makes selection
work as expected on windows and unix as opposed to the rectangle hack.
Stubs added for all other platforms.


git-svn-id: svn://10.0.0.236/trunk@40252 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 07:26:09 +00:00
troy%netscape.com
8d07a8a962 Added 'm' prefix to a couple more data members of nsHTMLReflowState struct
git-svn-id: svn://10.0.0.236/trunk@40217 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 03:51:46 +00:00
troy%netscape.com
a89529386f Added 'm' prefix to some of the nsHTMLReflowState data members
git-svn-id: svn://10.0.0.236/trunk@40215 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 03:41:03 +00:00
troy%netscape.com
2500818fde Fix for bug #9611: now handles absolutely positioned replaced elements
git-svn-id: svn://10.0.0.236/trunk@40211 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 02:48:18 +00:00
troy%netscape.com
77ba2d7fbd Minor cleanup
git-svn-id: svn://10.0.0.236/trunk@40115 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 18:38:51 +00:00
troy%netscape.com
23d4ad25a7 Changed ScrollFrameIntoView() to also do horizontal scrolling if necessary
git-svn-id: svn://10.0.0.236/trunk@40113 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 18:38:33 +00:00
mjudge%netscape.com
dbd14f2e48 cant query interface from frame selection to dom selection since we now have more than one type of dom selection implementations. you must ask for ANY dom selection then remove yourself as a listener or whatever you want to do. MJ
git-svn-id: svn://10.0.0.236/trunk@40109 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 18:04:35 +00:00
rickg%netscape.com
541f805b78 switch to faster string search API
git-svn-id: svn://10.0.0.236/trunk@40073 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 03:29:56 +00:00
mjudge%netscape.com
329d39ba11 massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape.
git-svn-id: svn://10.0.0.236/trunk@39971 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 02:27:19 +00:00
peterl%netscape.com
e27190d7a1 use preprocessor to generate atom code
git-svn-id: svn://10.0.0.236/trunk@39944 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:24:47 +00:00
peterl%netscape.com
e0ba937dbe fix reresolve style context to iterate all child lists
git-svn-id: svn://10.0.0.236/trunk@39938 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:18:45 +00:00
jdunn%netscape.com
b35c754b6d Must pre-delcare the structs friends so that they can access each other since they are private
git-svn-id: svn://10.0.0.236/trunk@39801 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 01:11:00 +00:00
troy%netscape.com
3cb93edabc Added code to make sure that posted events are removed when the frame they
refer to is destroyed


git-svn-id: svn://10.0.0.236/trunk@39785 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 23:27:46 +00:00
troy%netscape.com
3be19d2ceb Added NotifyDestroyingFrame() function to nsIPresShell
git-svn-id: svn://10.0.0.236/trunk@39784 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 23:25:15 +00:00
hangas%netscape.com
f1ca98769e Fix DEBUG Mac Build Bustage. Changed memset to nsCRT::memset
git-svn-id: svn://10.0.0.236/trunk@39729 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 19:11:43 +00:00
rods%netscape.com
c53019c6fb XIF is now being put into the transferable as double byte
git-svn-id: svn://10.0.0.236/trunk@39693 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 14:20:59 +00:00
troy%netscape.com
8f02eaacb9 Turned on the use of the digital search tree code
git-svn-id: svn://10.0.0.236/trunk@39632 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 03:32:09 +00:00
troy%netscape.com
aa5befdfb8 Fixed so it's correct C++ and it compiles on Solaris and AIX
git-svn-id: svn://10.0.0.236/trunk@39611 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 01:20:04 +00:00
sfraser%netscape.com
507def446e Don't cast a char* to a PRUnichar* array when calling PaintTextDecorations.
git-svn-id: svn://10.0.0.236/trunk@39568 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 23:11:35 +00:00
mjudge%netscape.com
f9575d1f61 checkin for carpool for multiple seleciton/ime selection and api changes to nsIDOMselection
git-svn-id: svn://10.0.0.236/trunk@39541 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 18:19:03 +00:00
sfraser%netscape.com
fdcb802f6e Removal of nsCaretProperties
git-svn-id: svn://10.0.0.236/trunk@39412 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:18:29 +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
kipp%netscape.com
640d0c303c Disabled my debug noise (whoops)
git-svn-id: svn://10.0.0.236/trunk@39365 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 20:40:23 +00:00
jdunn%netscape.com
babeccb209 anonymous unions CAN'T define any new types, so the struct's definition has
to be outside of the union... plus since the union is protected (and can't
be declared a friend - since it is anonymous, the struct's def must be public.


git-svn-id: svn://10.0.0.236/trunk@39336 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 19:09:42 +00:00
nisheeth%netscape.com
ed5a80febc Fix for bug 8314. The block frame takes the bullet's position and area into account when it sets the combined area of the frame during reflow.
git-svn-id: svn://10.0.0.236/trunk@39322 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 18:02:14 +00:00