Граф коммитов

2038 Коммитов

Автор SHA1 Сообщение Дата
nisheeth%netscape.com 6fff19fc5b Stop the stopwatches before you print them. 1999-09-22 01:49:31 +00:00
mjudge%netscape.com ebc32d984f fix for nsRangeList get frame for node was not lookin at the node at the "offset" even if the parent node could have children. this would return invalid stuff when get primary frame for content was called. 1999-09-22 01:20:29 +00:00
peterl%netscape.com 739aaab6e0 remap style before rebuilding frames when style rule changes 1999-09-22 01:18:45 +00:00
kipp%netscape.com 6c23f4f233 Work around purify nonsense with bitfields 1999-09-22 00:38:57 +00:00
mjudge%netscape.com 1e48363fd7 changes to selection code to stop a never ending loop 1999-09-21 22:58:14 +00:00
akkana%netscape.com 3d1013a83e Fix a warning 1999-09-21 20:29:12 +00:00
dcone%netscape.com 604b036704 added debugging for printing 1999-09-21 14:34:28 +00:00
joki%netscape.com 7304187269 Adding old 4.x capture/release compatibility code, changing dom event VK_* names to DOM_VK_* 1999-09-21 14:18:52 +00:00
peterl%netscape.com e4c87f11a1 moved re resolve style logic into frame manager 1999-09-21 07:55:37 +00:00
peterl%netscape.com 0c1d5c4837 added calls to verify style tree 1999-09-21 07:53:49 +00:00
peterl%netscape.com 2093ce913d made style changes handle floaters and positioned children
added style tree verify
moved re-resolve style logic from frames
1999-09-21 07:53:14 +00:00
peterl%netscape.com 1b16a07213 stop sharing contexts with parents 1999-09-21 07:50:16 +00:00
peterl%netscape.com 560aac90f2 filter out multiple changes to content when framechange in effect 1999-09-21 07:49:55 +00:00
peterl%netscape.com 0534eb9124 Added compute style change
Added style tree verify
1999-09-21 07:48:57 +00:00
peterl%netscape.com ad49316854 removed ReResolveStyleContext
added flag for style tree verify
1999-09-21 07:48:34 +00:00
rpotts%netscape.com 452584594d The document LoadGroup is now a nsWeakPtr... 1999-09-21 06:44:56 +00:00
nisheeth%netscape.com f5d9af7ae9 Add prefix string to style resolution timer output. 1999-09-21 06:24:17 +00:00
troy%netscape.com 4f514e447a Part of the fix for bug #11389. Changed CantRenderReplacedElement() to
reset the placeholder frame's out-of-flow frame after replacing the primary
frame. This allows the block frame code to find the floater in the line's
list of floaters
1999-09-21 05:20:11 +00:00
cmanske%netscape.com e05647c6dd Adding CollapseToStart and CollapseToEnd to selection 1999-09-21 01:27:37 +00:00
shaver%netscape.com 469ce734c6 conditional support for mathml, for Roger Sidje <rbs@maths.uq.edu.au> 1999-09-21 01:15:30 +00:00
nisheeth%netscape.com 979e91b1da Fixed build warning and removed NS_TIMER_STYLE_RESOLUTION define. 1999-09-20 21:36:53 +00:00
akkana%netscape.com 119db8b30e Add ToString API to nsIDOMSelection 1999-09-20 21:05:01 +00:00
nisheeth%netscape.com 1158ccf423 Include nsITimeRecorder.h in the pres shell. 1999-09-20 08:23:33 +00:00
nisheeth%netscape.com ba965a8d79 Add calls to reset and print the stopwatch maintained by the styleset for tracking style resolution time. 1999-09-20 06:55:24 +00:00
nisheeth%netscape.com 3685df8b69 Move implementation of nsITimeRecorder from the pres context to the style set. 1999-09-20 06:53:40 +00:00
kipp%netscape.com 519b9a7849 Fixed UMR bug that purify found (14171) 1999-09-20 03:46:09 +00:00
waterson%netscape.com 092982e02b Bug 14291. Fix some more of the same kind of leaks. 1999-09-20 03:42:02 +00:00
waterson%netscape.com 5933db40d2 Bug 14291. Stop leaking entire XUL document when anonymous frames are
constructed.
1999-09-20 00:02:59 +00:00
rpotts%netscape.com f7a23e30ca Changed GetDocumentLoadGroup(...) to be XPCom complient. THis helps prevent leaks when using nsCOMPtrs. 1999-09-18 06:34:24 +00:00
rpotts%netscape.com 69eebbead3 Changed GetDocumentLoadGroup(...) to be XPCom complient. This helps prevent leaks when using nsCOMPtrs. 1999-09-18 06:20:49 +00:00
slamm%netscape.com 5e096d00eb Add newline to file. 1999-09-18 02:19:47 +00:00
mjudge%netscape.com 01ca453e83 adding change for selection. modifing inside out behavior for table selection. drawing tables being seleted different. 1999-09-17 23:33:39 +00:00
jfrancis%netscape.com 19e06cc24d tidying up 1999-09-17 23:12:17 +00:00
troy%netscape.com cbf2204bfc Fix for bug #14157. Changed ConstructAlternateImageFrame() to set the document
pointer and the parent content pointer for the text frame
1999-09-17 20:57:06 +00:00
nisheeth%netscape.com 7b40327a78 Make nsPresContext implement the nsITimeRecorder interface. This interface is used by the pres shell to tell the pres context to stop the stopwatch that measures time spent in style resolution. 1999-09-17 20:32:45 +00:00
kipp%netscape.com d63ca4aef1 Squish a warning or two 1999-09-17 20:16:37 +00:00
nisheeth%netscape.com 1e72d8adc5 Added measurement of reflow time and frame creation time during the loading of a page. 1999-09-17 07:16:42 +00:00
alecf%netscape.com 0afadf8524 fix scrollbar crash 1999-09-17 05:15:00 +00:00
kipp%netscape.com 3ced381a1a Zapped mCompatFloatMargin hack 1999-09-17 00:57:06 +00:00
kipp%netscape.com aed7845101 Added in mCompatFloaterMargin 1999-09-16 19:55:28 +00:00
kipp%netscape.com 517bde835e Hid an unused function 1999-09-16 19:55:08 +00:00
rpotts%netscape.com 032c26ba52 Added a missing NS_DEFINE_STATIC_IID_ACCESSOR... 1999-09-16 08:50:18 +00:00
kipp%netscape.com 544275aebb formatting sillyness 1999-09-15 20:30:36 +00:00
slamm%netscape.com 0ce179fafc Fix build warnigns. 1999-09-15 19:19:51 +00:00
harishd%netscape.com 57c84af12e Fixing build bustage...hopefully.
Missed a file
1999-09-15 18:28:10 +00:00
harishd%netscape.com 2d9adf2426 Adding support for htmlL DOCTYPE for
XIF conversion.
1999-09-15 17:55:26 +00:00
troy%netscape.com 07cd658481 Fix for bug #13233. Changed CantRenderReplacedEledment() so it handles OBJECT
frames that are out-of-flow
1999-09-15 04:03:08 +00:00
pollmann%netscape.com 73c3c9952a Bug 13058: Make global enum a public member. 1999-09-15 02:30:39 +00:00
ramiro%netscape.com e8ba593918 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
nisheeth%netscape.com 313baf741f Start of instrumentation of the presshell to calculate timing data for the reflow process. 1999-09-15 00:43:53 +00:00
kipp%netscape.com 924f578517 Upgraded incremental reflow debugging support 1999-09-15 00:27:05 +00:00
kipp%netscape.com 999be9a0a1 Implement List method 1999-09-15 00:24:54 +00:00
kipp%netscape.com ca8b0e1fed Added List method 1999-09-15 00:24:41 +00:00
sfraser%netscape.com c0fa195473 Remove some redundant caret methods in the pres shell, and use my funky new stack-based caret hider class to manage caret visibility during difficult times. 1999-09-14 23:43:35 +00:00
sfraser%netscape.com fc828f0845 Super duper new caret 1999-09-14 23:41:19 +00:00
sfraser%netscape.com d12db169ac Make function static to eliminate warning. 1999-09-14 23:40:52 +00:00
mjudge%netscape.com 611e47bbd4 content iter not initing properly for reuse. text frame not selecting slowly properly, bad bounds checking :(. rangelist now traversing each node in a spaniter with a normal iter to make SURE we get all the children! 1999-09-14 23:16:22 +00:00
troy%netscape.com f521d3ac1b Fix for bug #13780. Added NULL pointer check to PreferenceChanged() 1999-09-14 22:16:42 +00:00
dcone%netscape.com 49a95cf8c8 Turned on the Mac GFX Widget code 1999-09-14 21:32:27 +00:00
akkana%netscape.com a1037a961a Set default wrap column to 72 instead of 0 1999-09-14 21:32:06 +00:00
troy%netscape.com b80b7939b1 Fix for bug #13700. Removed a warning that's no longer needed 1999-09-14 04:43:16 +00:00
vidur%netscape.com ccf398a6f7 Fix for bug 13192. Document is parented by the global object of the container context, not the calling context. 1999-09-14 04:17:07 +00:00
pollmann%netscape.com ea3c61f2be Bug 13058: Tweaks to StatefulFrame interface - and not keeping state for anonymous content 1999-09-14 02:00:20 +00:00
pollmann%netscape.com 6d66da90de Bug 13058: Tweaks to StatefulFrame interface - and the hash key formula 1999-09-14 01:59:33 +00:00
pollmann%netscape.com 652decc4c4 Bug 13058: Tweaks to StatefulFrame interface 1999-09-14 01:58:49 +00:00
briano%netscape.com 97faab6716 General cleanup. 1999-09-14 01:02:20 +00:00
troy%netscape.com 5c674a3adb Added back all of Peter's changes to ConstructRootFrame() to use the correct
pseudo element styles. Somehow evaughan commented out his code and reverted
to the old wrong code...
1999-09-14 00:40:16 +00:00
troy%netscape.com b9c7f9eeb5 Changed ConstructRootFrame() to use the ":canvas" pseudo element style for
the root frame
1999-09-13 23:26:21 +00:00
mjudge%netscape.com e2d1d73278 fixes for selection. up/down arrow behavior and also extending selection. all should be in peek offset ect. Also adding in a slight change to the hack (which should go away soon) that will stop the editor from scrolling when up/down left/right ect are clicked. when key events go in this code will be removed 1999-09-13 22:19:31 +00:00
troy%netscape.com 97c0000d30 Added NULL pointer check 1999-09-13 22:07:15 +00:00
troy%netscape.com 5c61cb8ef4 Added frame type for OBJECT frame 1999-09-13 21:26:05 +00:00
troy%netscape.com 5ace2e44bc Fix for bug #13570. Changed ContentAppended() and ContentInserted() to check
for an "object" frame
1999-09-13 21:25:43 +00:00
pavlov%netscape.com 64ab461658 make the caret draw on linux - fix for 13487 1999-09-13 18:24:48 +00:00
troy%netscape.com fa27198a6d Fix for bug #13497. Made sure to use NS_BLOCK_MARGIN_ROOT flag when creating
the area frame for a scrolled block element
1999-09-13 14:28:34 +00:00
troy%netscape.com 0cb7fe2f83 Eliminated compiler warning 1999-09-13 04:45:43 +00:00
alecf%netscape.com 528f914113 bulletproof to prevent crashing
(asserts will still go off)
1999-09-11 19:11:53 +00:00
warren%netscape.com d3eb73be23 Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel. 1999-09-11 18:45:36 +00:00
sfraser%netscape.com 311bba1d89 Fix one cause of GFX text widget crashes. If you're going to mess with my code, Mike, at least get the return values right. 1999-09-11 06:00:00 +00:00
mjudge%netscape.com eaa78b424a fixes for crasher in tree 1999-09-11 00:18:02 +00:00
mjudge%netscape.com 2cdaacd69a fixing memory leak. my bad what was i thinking. forgot to delete the new nsDOMSelection instantiations inside nsRangeList::nsRangeList 1999-09-10 19:25:12 +00:00
akkana%netscape.com 811618ccbc Fix UMRs 1999-09-10 19:12:46 +00:00
kipp%netscape.com c211a54bed Tweaked incremental reflow support logic 1999-09-10 18:49:23 +00:00
mjudge%netscape.com 046cdcb844 changes for peekoffset removal of extra parameters. also fixing some ownership issues with nsIenumerator and the rangelist iterator. fixing also some hit tests for line frames. 1999-09-10 18:29:37 +00:00
hyatt%netscape.com fc32f1e04e Working on XP menus. 1999-09-10 08:47:12 +00:00
peterl%netscape.com be9461f3e1 changed content state change notification rule to match attribute changed
made a seperate notification method
1999-09-10 05:54:00 +00:00
peterl%netscape.com e76b661939 added look and feel accessor to pres context 1999-09-10 05:51:08 +00:00
peterl%netscape.com 7ee5f20bcd changed font weight step to 1 (from 101) 1999-09-10 05:50:30 +00:00
peterl%netscape.com de5d9b0b62 added content state changed (vs content changed) notification 1999-09-10 05:50:02 +00:00
kipp%netscape.com f65ed8fa4b Fixed up line-height calc code to be more optimal; tweak changes to list-style properties to trigger reflows 1999-09-09 20:51:57 +00:00
kmcclusk%netscape.com 541c8bfb5d Changed widget rendering mode default from partial-gfx to gfx for Linux and WIN32. 1999-09-09 19:43:27 +00:00
peterl%netscape.com ee1f9d1b32 set line height to inherit only as needed
init ref count before first remap style
1999-09-09 05:37:37 +00:00
vidur%netscape.com 50eaf4ef31 Reporting better nsresults to DOM methods. 1999-09-08 23:18:27 +00:00
jfrancis%netscape.com 61548af51a fixing dom range gravity bug (see bug 13251) 1999-09-08 05:27:44 +00:00
hyatt%netscape.com 18be26df3e Landing AttributeChanged alteration. AttributeChanged now fires even when the
style hint is REFLOW or VISUAL (and not just CONTENT).
1999-09-08 03:51:41 +00:00
mjudge%netscape.com a5ac5b186c adding in begin line and end line enums for selection movement. this allows peeking to the start and end of and like given a content offset for any frame. 1999-09-07 23:40:17 +00:00
akkana%netscape.com 22f63923ae Remove some redundant logic 1999-09-07 19:13:04 +00:00
akkana%netscape.com 3986369ddf Change debug temp filename from xif.html to xif.xif 1999-09-07 19:10:44 +00:00
troy%netscape.com 2eba2292ea Changed CreateGeneratedFrameFor() to set the parent object and the document
object of the generated content
1999-09-07 03:09:33 +00:00
troy%netscape.com 85d5eb8329 Fix for bug #13176. Changed CantRenderReplacedElement() to reset the
primary frame mapping for OBJECT elements
1999-09-07 02:42:00 +00:00
peterl%netscape.com 1b015c684b use reparent style context 1999-09-03 23:37:37 +00:00
peterl%netscape.com b5b37d859e added reparent style context 1999-09-03 23:35:41 +00:00
peterl%netscape.com 09ea141535 added accessors to additional style contexts 1999-09-03 23:35:14 +00:00
peterl%netscape.com d91b64f10c tracking UI & forms proposal changes
fixed impact of text decoration
1999-09-03 23:34:20 +00:00
peterl%netscape.com 2507785091 tracking to UI & forms proposal changes 1999-09-03 23:33:06 +00:00
radha%netscape.com 62e13990a1 Dummy checkin to provide log information for the previous commit.
Basically in the previous commit, added a dictionary to the history
state object and made AddState() and get() use the dictionary
1999-09-03 22:19:03 +00:00
radha%netscape.com e6d7dbf9ab *** empty log message *** 1999-09-03 22:10:57 +00:00
rods%netscape.com 4b5adf6a1f ListControlFrame now use the nsSelectsAreaFrame to get the correct frame
when clicking in a list
removed NS_VIEW_PUBLIC_FLAG_DONT_CHECK_CHILDREN on list frames the events get routed correctly
1999-09-03 14:57:47 +00:00
rods%netscape.com a4d98e6a57 Added extra parameters so PaintBorder can be used to draw borders with a size that
is passed in instead of get the size from style.
1999-09-03 14:12:09 +00:00
bruce%cybersight.com 4fc6b7833c Use nsCRT::free() instead of delete[] for char* data. 1999-09-03 07:26:10 +00:00
kin%netscape.com e7fa038c87 Added support for scrolling SELECTION_ANCHOR_REGION into view.
Renamed GetFocusNodeRect() to GetSelectionRegionRect().
Made code in GetPrimaryFrameForFocusNode() more generic and put it
in a method called GetPrimaryFrameForRangeEndpoint().
GetPrimaryFrameFor{Anchor,Focus}Node() now call GetPrimaryFrameForRangeEndpoint().
1999-09-02 21:59:51 +00:00
bienvenu%netscape.com f466ad1dda fix build bustage 1999-09-02 19:21:45 +00:00
joki%netscape.com de39ff5831 Fix for bug 12226, allow reentrant events 1999-09-02 18:14:01 +00:00
kipp%netscape.com b1ed8de092 Moved atom init to factory where it should have been 1999-09-02 18:02:21 +00:00
troy%netscape.com 60ea03d2ca Fix for bug #12997 1999-09-02 05:21:39 +00:00
hyatt%netscape.com 47259d4d45 Must fix build bustage. I have to have access to members of this object without
being forced to call member functions (since my content nodes are in a separate
DLL from layout).
1999-09-02 02:09:07 +00:00
mjudge%netscape.com 6cce4df61f new tweak for selecting from disparate ranges to narrow ones in tables. works great now. 1999-09-02 01:36:49 +00:00
mjudge%netscape.com bcbb9f3512 new fix for table selection into and out. works great. 1999-09-02 00:48:15 +00:00
akkana%netscape.com 5afa8c3b70 12496: Fix XIF content comments 1999-09-02 00:29:03 +00:00
karnaze%netscape.com cde37cbb23 changed default for nsStyleTable.mRules to NS_STYLE_TABLE_RULES_ALL 1999-09-02 00:06:35 +00:00
mjudge%netscape.com 92b707ec13 fixes for optimizing selection 1999-09-01 23:32:55 +00:00
kipp%netscape.com c906edcfd3 Added another debug atom 1999-09-01 01:10:02 +00:00
kipp%netscape.com 30b60e57f2 Disable empty text frame removal; tweaked a few lines to be more compiler friendly 1999-09-01 01:00:25 +00:00
jdunn%netscape.com 050bb424b2 HP requires newline 1999-09-01 00:53:21 +00:00
nisheeth%netscape.com dfd7b5d559 - Added setter for history state to nsIPresShell
- Added capture/restore frame state methods to nsIFrameManager
- Added a getter for state type to nsIStatefulFrame.
- Changed the save/restore method parameters  in nsIStateful frame
  so that only the frame state gets passed to the stateful frame.
- Implemented all the new interface methods in the respective implementation classes.
1999-08-31 14:35:50 +00:00
nisheeth%netscape.com a3d25a6149 Added Get/Set methods to content IDs. An ID is used as a key to store state information about a content object and its associated frame object. The state information is stored in a dictionary that is manipulated by the frame manager (nsIFrameManager) inside layout. An opaque pointer to this dictionary is passed to the session history as a handle associated with the current document's state. 1999-08-31 10:06:17 +00:00
waterson%netscape.com 64c56ebd1f Fix nsCOMPtr --pedantic bustage. 1999-08-31 07:14:54 +00:00
kipp%netscape.com 00b8021645 Added new atoms 1999-08-31 04:31:39 +00:00
kipp%netscape.com 02a8d6427d Added missing = 0 to make method's pure virtual 1999-08-31 04:20:22 +00:00
kipp%netscape.com f808fbb193 Reimplemented SizeOf methods in some of the frame classes; partial rework of first-line handling snapshot 1999-08-31 03:09:40 +00:00
nisheeth%netscape.com a208673213 Added get/set document state API for use by session history. 1999-08-30 22:38:58 +00:00
kin%netscape.com bfd4c1f102 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.
1999-08-30 21:54:40 +00:00
norris%netscape.com d8507f844e * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
troy%netscape.com c4d6cf70d3 Fix for bug #12751. Optimized PaintBorder() so if the dirty rect is completely
inside of the border rect, then we don't paint anything. This speed up
incremental painting
1999-08-29 03:25:56 +00:00
sspitzer%netscape.com ed2973bf46 fix pedantic build bustage. 1999-08-28 16:55:31 +00:00
rpotts%netscape.com fb420fffee Null terminate the new buffer. 1999-08-28 05:12:11 +00:00
hyatt%netscape.com 76da3e3cf9 Enabling tree row frames. 1999-08-28 00:45:18 +00:00
kipp%netscape.com 8a8625d5eb Fixed crash when a frame is skipped and we are in a first-letter situation (doh) 1999-08-27 22:53:18 +00:00
kipp%netscape.com 0c8f598a12 Added hack code (for me) to allow for stack depth testing 1999-08-27 21:50:37 +00:00
kipp%netscape.com 2bbab750e5 Revamped to create/destroy manage first-letter frames so that incremental operations (append/insert/remove) work properly 1999-08-27 21:46:10 +00:00
kipp%netscape.com c939c02aac Nuked some warnings 1999-08-27 21:43:33 +00:00
kipp%netscape.com c6628f4c30 Implement GetTextLength and CopyText methods from revised nsITextContent API 1999-08-27 21:40:47 +00:00
kipp%netscape.com b509ac661c Added in GetTextLength and CopyText methods for the MathML folks 1999-08-27 21:40:13 +00:00
kipp%netscape.com 7f586556a6 Made WhiteSpaceIsSignificant a const method 1999-08-27 21:39:50 +00:00
kipp%netscape.com 6361c09f47 Added NS_FRAME_IS_UNFLOWABLE bit for handling frame trees that are too deep 1999-08-27 21:39:26 +00:00
dcone%netscape.com 918bc1fe7d removed a debug printf 1999-08-27 20:58:37 +00:00
dcone%netscape.com 4abe0ca7d3 Added a rounding parameter so rounded rects can be used as cirles if the radius is large enough 1999-08-27 14:37:47 +00:00
evaughan%netscape.com f781250e40 Fixed to gfx scrollbar.
Fixed some blockers.
1999-08-27 06:06:39 +00:00
pinkerton%netscape.com 80fdd59867 remove nsTriStateCheckboxFrame.cpp 1999-08-27 03:41:43 +00:00
mjudge%netscape.com 81b5c54aec small fix in rangelist that will stop warnings or infinite loops 1999-08-25 22:04:54 +00:00
sfraser%netscape.com 2e370244a4 No longer need a pres shell for the document encoder; remove it. 1999-08-25 21:42:20 +00:00
rods%netscape.com 5599dcf675 Fixed the initialization of the scroll frame for list boxes, the parameters had been incorrectly changes for version 1.20
Add addtional safety code for dynamically adding items to list boxes when in native widget mode
1999-08-25 13:42:59 +00:00
rods%netscape.com 461e2800c5 removed some unused variables to get rid of some warnings 1999-08-25 13:39:41 +00:00
ramiro%netscape.com 5c9835cc68 Cleanup linking of libimg. 1999-08-25 13:37:11 +00:00
jfrancis%netscape.com 9ea8122814 making nsPresShell and nsDocument support weak references; using weak references to docs and pres shells within the editor 1999-08-25 10:51:55 +00:00
hyatt%netscape.com 8a95785873 More anonymous content goodness. 1999-08-25 10:26:41 +00:00
pinkerton%netscape.com 268234cadd IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter. 1999-08-25 08:35:06 +00:00
vidur%netscape.com 7aec7c434b Parse delimiters out of Comment nodes. CharacterData Nodes now return an empty childNodes list instead of null. 1999-08-25 07:35:45 +00:00
hyatt%netscape.com 834c1e659d Teaching the tree widget how to make anonymous content. 1999-08-25 05:52:10 +00:00
troy%netscape.com 7404d57f49 Changed PaintBackground() so it doesn't always render the background color when
there's a background image that doesn't tile the entire bounds
1999-08-25 05:05:04 +00:00
ramiro%netscape.com ee1c505730 #ifdef out annoying printf. 1999-08-25 04:01:57 +00:00
mjudge%netscape.com 5531d305c5 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 :) 1999-08-24 21:51:47 +00:00
troy%netscape.com df668a079e Added case selectors for NS_STYLE_BORDER_STYLE_HIDDEN. Treated just like
NS_STYLE_BORDER_STYLE_NONE
1999-08-24 21:47:55 +00:00
akkana%netscape.com ff7a19a5bd 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.
1999-08-24 18:30:19 +00:00
ramiro%netscape.com ec21b9ecbc Set the timer lib flags in one place. 1999-08-24 14:54:59 +00:00
dcone%netscape.com 4503dca5fe Fixed some warnings, and some roundoff for the curves 1999-08-24 14:51:16 +00:00
hyatt%netscape.com 183b86f662 Fix for editor typing bustage (part 2). 1999-08-24 10:20:35 +00:00
hyatt%netscape.com 244d9c0666 Making a tree outer frame that is constructed instead of a table outer frame
(for trees only of course).
1999-08-24 00:44:21 +00:00
hyatt%netscape.com cc520bff21 Patching an error in the key event handling. 1999-08-24 00:42:02 +00:00
rods%netscape.com 81e2b9fef0 Fixes crash on start up of mail news 1999-08-23 20:59:08 +00:00
rods%netscape.com bf404fd92c Adde code to return the nsListControlFrame frame when adding frames to the combobox. This fixes Bug #11693 1999-08-23 14:05:39 +00:00
mccabe%netscape.com 17cdc659d1 NS_DECL_NSIFOO spam for nsIRequest, nsIChannel, nsIStreamListener, nsIStreamObserver, all from netwerk/
convert manual interface method declarations in implementation class to NS_DECL_NSIFOO macro.
1999-08-22 13:26:18 +00:00
mccabe%netscape.com 381fb81c4f Replace manual method declarations in implementations of xpcom/ interfaces with NS_DECL_NSIFOO. 1999-08-22 11:25:50 +00:00
ramiro%netscape.com 2c19866af3 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
kmcclusk%netscape.com 3bfabeee91 Backing out to PartialGfx instead of full Gfx mode. 1999-08-20 18:57:32 +00:00
kmcclusk%netscape.com c0fde0b47a bug #5944, Changed default widget rendering mode from PartialGfx to Gfx 1999-08-19 22:38:44 +00:00
akkana%netscape.com 8ecf4be9ce Ifdef DEBUG, then when doing nsRange::ToString, also dump node contents
to stdout via List() so we can see what's in the range besides text.
1999-08-19 22:20:57 +00:00
evaughan%netscape.com a12f942778 xpscrollbars 1999-08-19 22:16:23 +00:00
ducarroz%netscape.com 7e25f731c9 Create an autocomplete text widget if needed 1999-08-19 22:11:03 +00:00
rods%netscape.com c684042890 For generated content that gets its value from an attribute, it now creates a new object nsIAttributeContent which goes and gets the current value when needed. 1999-08-19 14:29:55 +00:00
rods%netscape.com 300c700e00 Added a new method PaintOutline, and added a new parameter to PaintBorder to tell whether to get the style and color information from the border info or the outline info 1999-08-19 14:22:47 +00:00
kin%netscape.com 58126e991a Added ScrollRectIntoView() method and other utility methods
to fix several bugs related to scrolling the selection into view.
1999-08-19 13:20:11 +00:00
troy%netscape.com f901be20dc Changed to table incremental reflow 1999-08-19 03:51:25 +00:00
ramiro%netscape.com 6eeeaf7730 Fix for -lpref linking problems. Dont link with libpref, its not needed. 1999-08-18 00:27:50 +00:00
ramiro%netscape.com ee33c47ded Link in secfree dynamically only where needed. 1999-08-17 15:46:57 +00:00
ramiro%netscape.com 04349cdd68 Link expat and xmltok into the htmlparser statically. Not into the app. 1999-08-17 12:46:23 +00:00
rods%netscape.com a6c50ddfdb added an extra check to make sure we have a valid child frame. childFrame could be null when native widgets are turned on 1999-08-10 21:28:06 +00:00
kmcclusk%netscape.com 61e361b49e Rewrote nsButtonControlFrame. It is now based on nsHTMLButtonControlFrame.
Added style rules to set submit, reset, and browse buttons default labels.
1999-08-10 19:13:57 +00:00
harishd%netscape.com 9db5447de6 Changing the order in which borders are painted for compatibility.
Used to be TOP,LEFT,BOTTOM,RIGHT, and now it's
BOTTOM,LEFT,TOP,RIGHT.  Fix for bug#11022
1999-08-10 18:13:50 +00:00
sfraser%netscape.com 953e2971e4 Make the caret use InvetRect for drawing. 1999-08-09 19:14:43 +00:00
dp%netscape.com 29a08b0a4c Backing out previous checkin per peterl advice. This caused bookmarks
and mailnews windows to show up blank.
1999-08-09 03:54:10 +00:00
morse%netscape.com 79ba7c62b3 avoid an uninitialized memory access 1999-08-08 19:16:09 +00:00
morse%netscape.com 14fb9dbd1f fix a crash in cookie viewer 1999-08-08 18:10:19 +00:00
jband%netscape.com 4617442db7 was neglecting to initialize a member 1999-08-08 02:06:31 +00:00
peterl%netscape.com 2526ca11c3 cleaned up style contexts of viewport and friends 1999-08-08 01:16:50 +00:00
peterl%netscape.com 7e4e82dade added note 1999-08-08 01:14:50 +00:00
peterl%netscape.com 6c14e16169 fix initial value of border collapse 1999-08-08 01:14:36 +00:00
peterl%netscape.com a17a613280 added more pseudo elements 1999-08-08 01:05:05 +00:00
joki%netscape.com 11585608e8 Adding new onselect event. Also slight modification to ender text widget focus behavior 1999-08-07 23:18:35 +00:00
beard%netscape.com b07fa8c481 fixes a crasher triggered by test case of bug #5194. 1999-08-07 20:43:47 +00:00
buster%netscape.com 6bc1c334be just a comment, part of a memory leak bug fix to remind users to free a struct 1999-08-07 05:09:09 +00:00
rods%netscape.com 40289849e0 Fixed build breakage, passing in wrong variable, and it was uninitialized. 1999-08-06 21:45:14 +00:00
bienvenu%netscape.com 38516f87ef fix build bustage for rods 1999-08-06 21:43:33 +00:00
rods%netscape.com c28f09b2b4 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. 1999-08-06 21:14:45 +00:00
hyatt%netscape.com d3b0cc678f Popup set frames can be created. 1999-08-06 19:20:56 +00:00
troy%netscape.com ebad18a3c5 Cleanup 1999-08-06 14:34:32 +00:00
rods%netscape.com 5dbf31e9b9 Added code to create and remove the generated content and frame when the select has no options. This necessary for correct sizing of the select when empty. 1999-08-06 14:11:14 +00:00
jfrancis%netscape.com 79a58afed5 fixing unix bustage. compilers: viva la difference! 1999-08-06 12:14:39 +00:00
jfrancis%netscape.com f3fbfca040 fixing range dom gravity bug first exposed by bug #10231 1999-08-06 10:33:09 +00:00
pierre%netscape.com 1394381abf breaking up gfx & native widgets 1999-08-06 05:11:39 +00:00
mcafee%netscape.com 732c840456 Trying to fix mac bustage. 1999-08-05 21:33:06 +00:00
troy%netscape.com 0489aa0c60 Moved cantrenderreplacedelememt code over to the frame manager 1999-08-05 20:17:44 +00:00
troy%netscape.com cd21f5ea9d Added NULL pointer check for frame manager in DeletingFrameSubtree() 1999-08-05 03:30:09 +00:00
troy%netscape.com b80876174d Added NULL pointer checks in GetPrimaryFrameFor() and GetPlaceholderFrameFor() 1999-08-05 03:23:39 +00:00
troy%netscape.com 71d5c08256 Changed frame construction code to use frame manager when modifying frame
model
1999-08-05 03:09:22 +00:00
valeski%netscape.com 92d1b7afd1 api change to nsIWebShell and nsIDocumentLoaderObserver. I've replaced all the old method delarations with the new versions. We now pass 'nsresult' types into the On*() methods instead of PRInt32. The PRInt32 arg type was causing data loss.
I also checked in a fix for bug 10848 (which prompted the api change), and 10549 (these changes were in nsWebShell.cpp).
1999-08-05 01:37:52 +00:00
buster%netscape.com 4333816066 added GetCaretEnabled
cleaned up caret APIs according to coding convention
1999-08-04 20:46:16 +00:00
pinkerton%netscape.com 3a87aa5e0c removing the TOOLBAR_DD #ifdef's. 1999-08-04 20:16:31 +00:00
kin%netscape.com 375eb2de71 Fixes for bug #10231 (crash making list after select all)
and bug #10815 (Crash deleting selected text and table)

mozilla/editor/base/nsHTMLEditRules.cpp
  - Added check, in WillDeleteSelection(),  to see if
    endpoints of the range are in the body before calling
    GetBlockNodeParent(). (Bug #10231)
  - Modified GetPromotedPoint() to check for NULL in the
    case where aWhere == kEnd and GetChildAt() returns NULL.
    (Bug #10815)

mozilla/layout/base/src/nsGenericElement.cpp
  - Modified RangeAdd() so that it doesn't add
    a range if it's already in the list.  (Bug #10231)

mozilla/layout/base/src/nsRangeList.cpp
  - Modified GetPrimaryFrameForFocusNode() to
    initialize aReturnFrame and to return a failure
    if ChildAt() returns NULL. (Bug #10231)
1999-08-04 18:36:19 +00:00
troy%netscape.com efd8280343 Now uses frame manager 1999-08-04 04:02:40 +00:00
troy%netscape.com 886f6583d3 Initial check-in 1999-08-04 03:39:34 +00:00
troy%netscape.com c1d3f6c6c8 Added nsIFrameManager.h to exported files 1999-08-04 03:39:18 +00:00
mcafee%netscape.com 6da92dc13c Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren 1999-08-03 20:51:41 +00:00
rods%netscape.com c0ba35bb79 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
1999-08-03 14:41:48 +00:00
hyatt%netscape.com f080c0cae8 Phase 3. Enabling XP menus on the menu bar. 1999-07-31 11:29:03 +00:00
briano%netscape.com 5ca4aa0b87 Trivial elimination of some pointless macros as discussed in bug 8568. Approved by leaf@mozilla.org. 1999-07-29 01:18:12 +00:00
rods%netscape.com 6412a66059 temporary fix for reentrancy bug in HandleEvent 1999-07-28 21:42:37 +00:00
vidur%netscape.com e557b2140e Fixed incorrect inclusion of text elements in tag stack creation in CreateContextualFragment. 1999-07-28 05:26:16 +00:00
vidur%netscape.com 118ec90f2c Added new forwarding macro. 1999-07-28 05:25:44 +00:00
troy%netscape.com 2ba05e9bf2 Added failure check for call to nsStyleData::GetBorder() 1999-07-28 04:48:34 +00:00
briano%netscape.com 007ea62765 Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568. 1999-07-27 23:27:44 +00:00
kmcclusk%netscape.com f9b64e775c bug #7032 Changed nsIWidget::Resize(...), nsIWidget::Move(...) to
use PRInt32 instead of PRUInt32. Modified Mac, and Linux to match.
bug #2010 Applied David Barrons patch for MakeSide ins CSSRendering.
nsIWidget - removed GetAbsoluteBounds - Not needed. Can use WidgetToScreen instead.
1999-07-27 23:26:36 +00:00
troy%netscape.com 05fb1d7f25 Changed root frame class over to new reflow command handling 1999-07-27 14:15:42 +00:00
troy%netscape.com 2564e77725 Fix for bug #10563 where we were triggering a post condition assertion. Changed
ComputeBackgroundAnchorPoint() to correctly calculate tile offset that is a
multiple of the tile
1999-07-27 14:13:09 +00:00
dcone%netscape.com cf87ffff0a Fixed background rendering 1999-07-27 06:41:34 +00:00
joki%netscape.com f1c8421c61 Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus. 1999-07-26 15:02:19 +00:00
rickg%netscape.com f4902b78bc replaced calls to deprecated nsString API 1999-07-26 00:37:24 +00:00
troy%netscape.com bc9ccffd53 Added 'm' prefix to structs defined in nsISpaceManager 1999-07-25 19:01:13 +00:00
jfrancis%netscape.com 250bfcbd91 fix for bug 9842 (aka 8227) plus some thread safety improvements 1999-07-25 08:41:42 +00:00
jfrancis%netscape.com 205e3e3fec fix for bug 9935 1999-07-25 05:31:05 +00:00
jfrancis%netscape.com 4b1939dc92 fix for bug: subtree iterator had bug in init code that could cause iter to be empty. 1999-07-25 05:30:15 +00:00
troy%netscape.com 1c38807112 Fix for bug #10268. I used '&&' when I really meant to use '||' and that caused us
to create the wrong type of frame for relatively positioned H1 elements
1999-07-24 23:08:34 +00:00
peterl%netscape.com 600dc2854c added basic support for inline-block 1999-07-24 19:01:43 +00:00
peterl%netscape.com 9d991de5f0 added some experimental CSS3 properties
fixed style context impact reporting
1999-07-24 18:59:43 +00:00
troy%netscape.com e337ad496d Fixed a problem in ContentRemoved() where for fixed position frames the
wrong child list name was being used
1999-07-24 03:58:35 +00:00
troy%netscape.com 08c5b45b84 Defined it so that the NS_FRAME_IS_DIRTY flag is set for newly added frames in
SetInitialChildlist(), AppendFrames(), InsertFrames(), and ReplaceFrame()
1999-07-24 02:33:07 +00:00
hyatt%netscape.com ac8f0fd89d Adding the capability to distinguish menus and menu items. 1999-07-23 05:11:49 +00:00
rods%netscape.com 022dd79bc6 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.
1999-07-23 02:25:17 +00:00
vidur%netscape.com 0ebbf485db Forms can now be container content. 1999-07-22 23:28:16 +00:00
nisheeth%netscape.com a14ff6dcb2 Fix for bug 10028. We handle mixed case mailto urls properly now. 1999-07-22 22:34:28 +00:00
akkana%netscape.com eeefe7ebd2 Fix selection bustage from yesterday 1999-07-22 19:42:21 +00:00
hyatt%netscape.com 759f5ce3da Fixing my while loops. They could crash under rare circumstances. 1999-07-22 10:06:38 +00:00
troy%netscape.com 1df4c2d244 Added ReplaceFrame() member function to nsIFrame 1999-07-22 04:32:31 +00:00
troy%netscape.com 7a5e4dbdb5 Renamed some nsFrameList member functions 1999-07-22 04:00:57 +00:00
troy%netscape.com c551fe3166 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
troy%netscape.com f02d9ef8b9 Added NS_FRAME_IS_DIRTY flag to the frame state flags 1999-07-21 23:47:01 +00:00
troy%netscape.com 19ed07723e Removed IsTransparent() function from nsIFrame 1999-07-21 23:15:39 +00:00
kmcclusk%netscape.com 9716e9ec80 Enable PartialGfx rendering as the default widget rendering mode. 1999-07-21 23:12:23 +00:00
bienvenu%netscape.com 06518b721b fix windows build bustage for Akkana 1999-07-21 22:17:20 +00:00
akkana%netscape.com 65aa229045 Add a working implementation for nsDOMSelection::ContainsNode, and use it in nsDocument::IsInSelection for XIF conversion 1999-07-21 21:29:29 +00:00
hyatt%netscape.com 1675dae7c2 Crash without these null checks. 1999-07-21 00:17:39 +00:00
akkana%netscape.com b6a67a9c1c Move non-idlc generated stuff from nsIDOMSelection.h to nsIPresShell.h 1999-07-21 00:12:23 +00:00
hyatt%netscape.com b817087e8e Introduced an infinite loop (sigh). Fixing the problem. 1999-07-21 00:11:23 +00:00
hyatt%netscape.com e2158e63d7 Had messed up tree widget code on removal, insertion, and append. Fixed now. 1999-07-20 23:24:10 +00:00
akkana%netscape.com d45c51b9af Add new ContainsNode method to nsIDOMSelection 1999-07-20 23:08:22 +00:00
kmcclusk%netscape.com af9e15b5e3 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.
1999-07-20 22:32:41 +00:00
warren%netscape.com a2519a14d6 Added missing addref. 1999-07-20 20:03:11 +00:00
warren%netscape.com bf8423a769 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
hyatt%netscape.com 9a563d8a9f Forget the scrolling frame on menus. I don't need it to make this work. 1999-07-20 07:29:22 +00:00
hyatt%netscape.com 28558f35bc Making sure the pseudo stuff gets handled for the XP menu object. 1999-07-20 07:19:22 +00:00
hyatt%netscape.com a293d3e54b Making sure some of the XUL frames get properly wrapped in scroll frames. 1999-07-20 07:03:16 +00:00
troy%netscape.com 8ee82be61f Fix for bug #10176: changed ConstructFrameByDisplayType() to be smarter
when handling relatively positioned elements
1999-07-20 04:16:56 +00:00
akkana%netscape.com de29ba317c Try to fix windows build bustage 1999-07-20 00:24:11 +00:00
akkana%netscape.com feb61c6d4c Use the Range methods instead of homebrew stuff to determine when a point is contained in a range; eliminate code duplication 1999-07-19 22:41:49 +00:00
joki%netscape.com d752334449 Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods. 1999-07-19 19:54:34 +00:00
troy%netscape.com 99e5e0a462 Changed ScrollFrameIntoView() to also do horizontal scrolling if necessary 1999-07-19 18:38:33 +00:00
troy%netscape.com 1f18574df2 Changed semantics for ScrollFrameIntoView() 1999-07-19 18:38:02 +00:00
mjudge%netscape.com 5ac2c1e116 fix for javascript calls to selection bad QI 1999-07-19 18:36:28 +00:00
mjudge%netscape.com 516c093f8b 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 1999-07-19 18:04:35 +00:00
dcone%netscape.com 5e3ed1564c fixed background tile clipping bug. 1999-07-19 14:37:36 +00:00
rickg%netscape.com 23b232d248 switch to faster string search API 1999-07-19 03:29:56 +00:00
hyatt%netscape.com 124721301b Adding the menu bar frame. 1999-07-18 07:07:55 +00:00
hyatt%netscape.com 45a2846e5d Adding the menu frame instantiation code for XP menus. 1999-07-18 06:37:06 +00:00
hyatt%netscape.com cbbb8072e7 Working on making the menu popup frame for XP menus. 1999-07-18 06:29:43 +00:00
hyatt%netscape.com 8b79ce996e Turning on XP menus. 1999-07-18 03:16:58 +00:00
mjudge%netscape.com 1048e1ff54 sorry bad capitalization of file name 1999-07-18 02:59:09 +00:00
mjudge%netscape.com c0b1525970 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. 1999-07-18 02:27:19 +00:00
peterl%netscape.com 3a0563e743 fix atom api 1999-07-18 00:25:54 +00:00
peterl%netscape.com 162a545b8d removed unused IID 1999-07-18 00:17:03 +00:00
peterl%netscape.com 4be5417e98 fix outline width cache
fix outline change computation
1999-07-18 00:16:35 +00:00
peterl%netscape.com 218b13580e fix layout atoms api 1999-07-18 00:16:01 +00:00
peterl%netscape.com 50997d7433 use preprocessor for code generation 1999-07-18 00:15:37 +00:00
peterl%netscape.com 5ed314c7e6 cleanup string usage 1999-07-18 00:15:22 +00:00
peterl%netscape.com 02bb492ee5 removed unused imports 1999-07-18 00:15:03 +00:00
peterl%netscape.com 40b2eadb31 added nsLayoutAtomList.h 1999-07-18 00:14:29 +00:00
peterl%netscape.com 492bf2f145 added consts for new CSS properties 1999-07-18 00:14:08 +00:00
peterl%netscape.com 63e40660f8 use preprocessor for atom code generation 1999-07-18 00:13:35 +00:00
peterl%netscape.com 2cda14ec55 added != operator 1999-07-18 00:13:08 +00:00
ramiro%netscape.com fda4120340 Step 3 of cleaning up link time toolkit dependencies. Name the timer libs
according to the toolkit they match.  Also set the damn name in one place to
make it easy to change in the future.
1999-07-17 23:52:12 +00:00
ramiro%netscape.com a09ea8b7ca Landing timer move on unix. 1999-07-17 14:22:51 +00:00
troy%netscape.com 17db1371eb Clean up in InitializeScrollFrame() to make sure floated and positioned elements
have their parent frame pointer set correctly
1999-07-17 00:49:54 +00:00