Commit Graph

688 Commits

Author SHA1 Message Date
kin%netscape.com
ea9db112f9 Fix for bugs #7153, #10673, #12066, #12067, and #12793.
editor/base/nsEditorEventListeners.cpp
editor/base/nsEditorEventListeners.h

  - Added code to scroll the selection into view
    after processing key events.
  - Commented out the hack that redraws the entire
    view when the focus is gained and lost. Replaced
    the hack code with calls to RepaintSelection().

layout/base/public/nsIFrameSelection.h
layout/base/public/nsIPresShell.h
layout/html/base/src/nsPresShell.cpp
   - Added ScrollSelectionIntoView() and RepaintSelection() methods.

layout/base/src/nsRangeList.cpp
   - Added implementation for ScrollSelectionIntoView() and
     RepaintSelection().
   - Check for NULL primary frame in GetFocusNodeRect()
     to fix bug #12793.


git-svn-id: svn://10.0.0.236/trunk@45163 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-30 21:54:40 +00:00
norris%netscape.com
3a6d863c13 * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments


git-svn-id: svn://10.0.0.236/trunk@45080 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 21:58:42 +00:00
kipp%netscape.com
ee5f7e7837 Added in GetTextLength and CopyText methods for the MathML folks
git-svn-id: svn://10.0.0.236/trunk@44910 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:40:13 +00:00
kipp%netscape.com
42f23d9817 Made WhiteSpaceIsSignificant a const method
git-svn-id: svn://10.0.0.236/trunk@44909 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:39:50 +00:00
kipp%netscape.com
b10be9c548 Added NS_FRAME_IS_UNFLOWABLE bit for handling frame trees that are too deep
git-svn-id: svn://10.0.0.236/trunk@44907 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:39:26 +00:00
sfraser%netscape.com
98ceab82e9 No longer need a pres shell for the document encoder; remove it.
git-svn-id: svn://10.0.0.236/trunk@44529 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:42:20 +00:00
mjudge%netscape.com
72808fb95e changes to allow selection in "dead" space between frames. still need work on "outside" and not in the window at all, but this is a very good chunk of the issue and it will solve many many bugs on my place. good for dogfood as well :)
git-svn-id: svn://10.0.0.236/trunk@44364 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 21:51:47 +00:00
akkana%netscape.com
131d318ad4 Revise the doc encoder and content sink APIs yet again to make it easier
to add new flags (pass a flag in the constructor, rather than specific
booleans.  This in order to fix:
11249: Add flag to write only the body in html output.


git-svn-id: svn://10.0.0.236/trunk@44308 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 18:30:19 +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
troy%netscape.com
8a85938908 Changed to table incremental reflow
git-svn-id: svn://10.0.0.236/trunk@43548 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 03:51:25 +00:00
peterl%netscape.com
ac9e8c5d0f added more pseudo elements
git-svn-id: svn://10.0.0.236/trunk@42677 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-08 01:05:05 +00:00
buster%netscape.com
e292a3dd2d just a comment, part of a memory leak bug fix to remind users to free a struct
git-svn-id: svn://10.0.0.236/trunk@42639 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 05:09:09 +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
aba5f77708 Moved cantrenderreplacedelememt code over to the frame manager
git-svn-id: svn://10.0.0.236/trunk@42332 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 20:17:44 +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
buster%netscape.com
132773aaab added GetCaretEnabled
cleaned up caret APIs according to coding convention


git-svn-id: svn://10.0.0.236/trunk@42196 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 20:46:16 +00:00
troy%netscape.com
1b2f63b41f Now uses frame manager
git-svn-id: svn://10.0.0.236/trunk@42101 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 04:02:40 +00:00
troy%netscape.com
31bbd18cd0 Initial check-in
git-svn-id: svn://10.0.0.236/trunk@42095 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 03:39:34 +00:00
troy%netscape.com
d3f2663e90 Added nsIFrameManager.h to exported files
git-svn-id: svn://10.0.0.236/trunk@42094 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 03:39:18 +00:00
mcafee%netscape.com
7ff5fdfced Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren
git-svn-id: svn://10.0.0.236/trunk@42013 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 20:51:41 +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
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
peterl%netscape.com
2d98616fca added some experimental CSS3 properties
fixed style context impact reporting


git-svn-id: svn://10.0.0.236/trunk@40987 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 18:59:43 +00:00
troy%netscape.com
ad761afe38 Defined it so that the NS_FRAME_IS_DIRTY flag is set for newly added frames in
SetInitialChildlist(), AppendFrames(), InsertFrames(), and ReplaceFrame()


git-svn-id: svn://10.0.0.236/trunk@40953 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 02:33:07 +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
akkana%netscape.com
d7bd1caa92 Move non-idlc generated stuff from nsIDOMSelection.h to nsIPresShell.h
git-svn-id: svn://10.0.0.236/trunk@40382 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 00:12:23 +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
warren%netscape.com
f1dfc48c58 Changed around load group insertion/removal to happen on mozilla thread.
git-svn-id: svn://10.0.0.236/trunk@40266 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 08:46:33 +00:00
akkana%netscape.com
4ab5c89c92 Use the Range methods instead of homebrew stuff to determine when a point is contained in a range; eliminate code duplication
git-svn-id: svn://10.0.0.236/trunk@40176 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 22:41:49 +00:00
troy%netscape.com
523733902b Changed semantics for ScrollFrameIntoView()
git-svn-id: svn://10.0.0.236/trunk@40112 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 18:38:02 +00:00
mjudge%netscape.com
85212ff436 sorry bad capitalization of file name
git-svn-id: svn://10.0.0.236/trunk@39972 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 02:59:09 +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
397e0a48fc added nsLayoutAtomList.h
git-svn-id: svn://10.0.0.236/trunk@39930 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:14:29 +00:00
peterl%netscape.com
125d90123f added consts for new CSS properties
git-svn-id: svn://10.0.0.236/trunk@39929 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:14:08 +00:00
peterl%netscape.com
52173cfac8 use preprocessor for atom code generation
git-svn-id: svn://10.0.0.236/trunk@39928 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:13:35 +00:00
peterl%netscape.com
65cab10991 added != operator
git-svn-id: svn://10.0.0.236/trunk@39927 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:13:08 +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
warren%netscape.com
84a03567fa Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
git-svn-id: svn://10.0.0.236/trunk@39678 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 11:14:36 +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
fc5abb5dd3 File Removed.
git-svn-id: svn://10.0.0.236/trunk@39427 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:37: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
sfraser%netscape.com
e8e0bd7fc1 Fix the include guard names.
git-svn-id: svn://10.0.0.236/trunk@39409 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 22:08:13 +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
akkana%netscape.com
a878369d02 Restructure the editor output routines to allow passing in
a mime type and a flag argument.  Also fix the following bugs:
9746: get rid of bogus empty <style> in head.
8143: save wrap column in editor shell in case it's set before the
      editor is created.
9470, 9488: allow explicit specification of formatted output.


git-svn-id: svn://10.0.0.236/trunk@39332 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 18:54:29 +00:00
troy%netscape.com
23cb2cbde5 Added comment describing how incremental painting works
git-svn-id: svn://10.0.0.236/trunk@39257 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 15:13:47 +00:00
peterl%netscape.com
a139f3c208 cleanup
git-svn-id: svn://10.0.0.236/trunk@38535 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 01:19:31 +00:00