Commit Graph

1869 Commits

Author SHA1 Message Date
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
kipp%netscape.com
921f8fba89 Removed compiler warnings
git-svn-id: svn://10.0.0.236/trunk@39309 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:30:22 +00:00
kipp%netscape.com
86df575458 nop
git-svn-id: svn://10.0.0.236/trunk@39308 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:30:07 +00:00
kipp%netscape.com
8e165c701f Removed some compiler warnings
git-svn-id: svn://10.0.0.236/trunk@39307 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:29:45 +00:00
kipp%netscape.com
4bbbd95c0d Removed some compiler warnings; fix subtlety with handling empty inline frames and whitespace compression for bug #5999
git-svn-id: svn://10.0.0.236/trunk@39306 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:29:32 +00:00
kipp%netscape.com
1ff6d04d8d Clean up warnings
git-svn-id: svn://10.0.0.236/trunk@39304 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:28:45 +00:00
kipp%netscape.com
1a041fc39d Cleaned up warnings for bug 8947
git-svn-id: svn://10.0.0.236/trunk@39303 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:28:22 +00:00
kipp%netscape.com
d1764fc8aa Eliminate a warning
git-svn-id: svn://10.0.0.236/trunk@39302 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:28:00 +00:00
kipp%netscape.com
761178d0e9 Check for another bad reflow child behavior
git-svn-id: svn://10.0.0.236/trunk@39301 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:27:48 +00:00
kipp%netscape.com
8303ab8b7f Cleaned up some warnings; use some com-ptrs
git-svn-id: svn://10.0.0.236/trunk@39299 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:27:24 +00:00
kipp%netscape.com
2b3dad791b Various and sundry bug fixes
git-svn-id: svn://10.0.0.236/trunk@39298 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:26:20 +00:00
kipp%netscape.com
5cdd7daa80 Tweaked area frame shrink wrapping for bug #5999
git-svn-id: svn://10.0.0.236/trunk@39297 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 17:26:12 +00:00
troy%netscape.com
d21da38397 Changed Reflow() to invalidate bounds for an incremental reflow
git-svn-id: svn://10.0.0.236/trunk@39265 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 15:20:01 +00:00
troy%netscape.com
52ee42cbff Added #define of NS_AUTOMARGIN
git-svn-id: svn://10.0.0.236/trunk@39262 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 15:17:33 +00:00
troy%netscape.com
f6bc6f48ef Changed Reflow() and ReflowDirtyLines() to invalidate the damaged areas
after an incremental reflow


git-svn-id: svn://10.0.0.236/trunk@39260 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 15:16:56 +00:00
troy%netscape.com
8caf686863 Area frame no longer invalidates its entire bounds after an incremental reflow,
and instead it's up to the individual frames to invalidate their damaged areas


git-svn-id: svn://10.0.0.236/trunk@39259 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 15:15:01 +00:00
troy%netscape.com
5f6a8f1bf4 Added nsDST.cpp to Unix builds
git-svn-id: svn://10.0.0.236/trunk@39254 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 15:08:32 +00:00
troy%netscape.com
1806665bbd Improved the tree verification function so it's more thorough
git-svn-id: svn://10.0.0.236/trunk@39253 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 15:07:46 +00:00
troy%netscape.com
bec75a3a96 Added file nsDST.cpp
git-svn-id: svn://10.0.0.236/trunk@39050 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-13 03:54:00 +00:00
troy%netscape.com
f1e623946e Initial check-in
git-svn-id: svn://10.0.0.236/trunk@39049 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-13 03:53:48 +00:00
andreas.otte%primus-online.de
aa8f29f8c5 NECKO only: Using helper function NS_MakeAbsoluteURI A: chofmann R:valeski
git-svn-id: svn://10.0.0.236/trunk@38985 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-11 15:46:10 +00:00
sfraser%netscape.com
91fd1e1b18 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@38857 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 01:14:45 +00:00
kipp%netscape.com
e892b41a7f Fixed bug 6574 - the problem was that the current color was being reset when the text decoration, in this case an underline, was being drawn so that the next chunk of text rendered in the smallcaps font was drawn in the wrong color
git-svn-id: svn://10.0.0.236/trunk@38808 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 19:52:57 +00:00
kipp%netscape.com
35b87caf87 Only pass on url to server side image map when we end up with a valid url
git-svn-id: svn://10.0.0.236/trunk@38806 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 19:44:42 +00:00
kipp%netscape.com
50e58c37d3 Fix bug #652 - made server side image maps find the proper href to base the url on by looking up the content tree of an nsIDOMHTMLAnchorElement
git-svn-id: svn://10.0.0.236/trunk@38805 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-08 19:38:08 +00:00
hyatt%netscape.com
b4233487a4 Fixing problems with redraw on initial show of window.
git-svn-id: svn://10.0.0.236/trunk@38736 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 22:34:31 +00:00