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

3392 Коммитов

Автор SHA1 Сообщение Дата
mjudge%netscape.com 66943afa64 turning off printf debug statements in debug to speed up resizing 1999-01-26 00:40:39 +00:00
troy%netscape.com b145640f92 Changed scrolling so it happens on the viewport instead of the HTML
element
1999-01-26 00:05:21 +00:00
mjudge%netscape.com cf65195755 fixing build bustage for someone 1999-01-25 23:55:59 +00:00
mjudge%netscape.com 037632a8ff changing paintunicodestring and paintasciistring to map from content coordinates to painttext coordinatres. in get position, i am now mapping from paint coordinates to content coordinates. also, the frames themselves now set the focus and anchor for a nsIFocusTracker passed in object. 1999-01-25 23:29:53 +00:00
mjudge%netscape.com 34a2b9791a keeping the selection code pure by not knowing anything about the graphic representation of the selection. just offset to offset. adding code to reselect the anchor and focus frame in the nsIFocusTracker by passing it to the nsIFrame setselectedcontent method. 1999-01-25 23:28:59 +00:00
mjudge%netscape.com 9ea4d88ecc adding parameters to setselectedcontent. This will keep down overhead of the nsIFrame implementation and still not allow outsiders to talk to their presshell. so please forgive this grown method. this extra parameter will maintain the anchor and focus point after reflow 1999-01-25 23:28:23 +00:00
hyatt%netscape.com c7911a76ab Tweaks to enable XUL frame construction to prevent the construction based on
display type.
1999-01-25 23:07:17 +00:00
vidur%netscape.com d3c356d48b Implemented nsIDOMElement::Normalize 1999-01-25 22:17:15 +00:00
kmcclusk%netscape.com 3c7d93524c Added SetProperty/GetProperty methods to nsIFormControlFrame. Added stub
implementations for all classes that derive from nsIFormControlFrame
1999-01-25 22:16:27 +00:00
hyatt%netscape.com 9d713b4c89 Altered the way frame construction works. ConstructFrame can now potentially
build up a list of sibling frame subtrees.  This allows for the creation of
multiple frames from a single content node, and for easy merging of two different
lists of subtrees during frame construction.
1999-01-25 22:13:03 +00:00
ftang%netscape.com 8ca2c39a5b change nsCharSetID into nsString type 1999-01-25 16:05:04 +00:00
amusil%netscape.com 7776586cc9 *** empty log message *** 1999-01-25 10:10:29 +00:00
sudu%netscape.com 6624efe2b9 OJI MozClassic to raptor merge 1999-01-25 08:05:00 +00:00
mjudge%netscape.com 5be154b15b adding same code to paintAscii as i did to paintUnicode 1999-01-25 01:53:40 +00:00
mjudge%netscape.com 11fe403c90 ok I am changing nsPresShell to "do the right thing". The virtual methods to support nsIFocusTracker needed to use the MACROS the same as the rest of the methods. I also moved the growing inline methods to their own method declarations. pres shell also needs to send itself as a focus tracker to "reset selection" to allow a callback to reset the frames that will be the focus and anchor frames for the future. getting frames from content is easy, getting the exact frame with an offset as well is difficult. nsTextFrame does some funny things with whitespaces that was throwing off the selection code. one minute the beginning of a word is offset 1 then it grows to 2 if the whitespace on the previous line wraps. I also put limits on the selection drawing. the drawing was happening after reflow, but before reset selection. this made the selection drawing extend beyond the legal limits of the "textlength". P.S. since the paint unicode and paint ascii are so similar, is it better to make a helper func to do the common things? or maybe make another method just to save namespace? 1999-01-25 01:48:01 +00:00
mjudge%netscape.com 6fe79722a2 Focus tracker needs to send the tracker to the implementation of selection so that it can update the tracker as to which frame(s) should be considered the focus frames ect. This is not yet working fully. Everything I am checking in will stay, I simply have a decision to make as to exactly what to do next. RangeList also had some modifications to better selection 1999-01-25 01:42:34 +00:00
pierre%netscape.com 5542d74603 added nsViewportFrame.cpp for Troy 1999-01-24 22:01:58 +00:00
troy%netscape.com d3ab4e1d01 Initial check-in 1999-01-24 20:36:46 +00:00
mjudge%netscape.com bd8e6018ae This checkin will stop the double addref to the incomming ranges. The problem was that the changing of the old array of voids and the nsVoidPtr array do NOT addref whereas the nsISupportsArray DOES! I suspected as much. I have removed the offending code and I believe this should make selection much cleaner. 1999-01-23 20:43:13 +00:00
peterl%netscape.com fa98d48166 fixed a leak of an input stream 1999-01-23 19:28:09 +00:00
peterl%netscape.com 07334e4cdb cleaned up style sheet ordering 1999-01-23 07:09:06 +00:00
peterl%netscape.com 31b951a961 allow reconstruct frames to work on all documents 1999-01-23 07:08:38 +00:00
peterl%netscape.com b68bec432e made media case insensitive (for now) 1999-01-23 07:08:11 +00:00
peterl%netscape.com defe6c493b added insert style sheet 1999-01-23 07:07:32 +00:00
peterl%netscape.com 8829251bb7 cleaned up style sheet ordering
support for selecting alternate style sheets
1999-01-23 07:07:09 +00:00
peterl%netscape.com a14e787bd7 added meta tag http-equiv support
fixed selection of default style sheets
made style sheet loading not block parser
added support for several http headers
1999-01-23 07:05:49 +00:00
peterl%netscape.com 1d7b74a61b only parse style attributes if doc style language is text/css 1999-01-23 07:04:28 +00:00
peterl%netscape.com 20d5478c3f added helper methods for selecting & querying alternate style sheets 1999-01-23 07:03:46 +00:00
peterl%netscape.com 5ef96b9c11 added HTTP header atoms 1999-01-23 07:02:56 +00:00
peterl%netscape.com ad00be4df7 fixed case of media atoms 1999-01-23 07:02:10 +00:00
peterl%netscape.com a248deec36 set now manages order of doc style sheets 1999-01-23 07:01:57 +00:00
peterl%netscape.com 3ac2246665 added header data accessors
cleaned up style sheet ordering
1999-01-23 07:01:40 +00:00
peterl%netscape.com 8c628d7dbf simplified setting doc style sheets (set now manages ordering) 1999-01-23 07:01:02 +00:00
peterl%netscape.com e1a405c50b added accessors to get & set alternate style sheets 1999-01-23 07:00:39 +00:00
peterl%netscape.com ee50e2c8ff added header data accesors 1999-01-23 07:00:10 +00:00
troy%netscape.com cfabf13ac9 Part of the fix for bug #2502. For the time being mark relative/absolute positioned
views as having transparent content
1999-01-23 05:47:55 +00:00
troy%netscape.com 275fc82910 Added check for unconstrained width/height of the containing block when
computing 'offsets'
1999-01-23 04:49:15 +00:00
troy%netscape.com 8d6bb7c3e9 Added XXX comment indicating that the #if 0 code in Init() is causing
a memory leak...
1999-01-23 02:38:16 +00:00
akkana%netscape.com cfdcb911fb remove some verbose debugging messages 1999-01-23 00:38:54 +00:00
troy%netscape.com 05c23168eb Turned off debug message that was outputing to the console 1999-01-23 00:20:58 +00:00
vidur%netscape.com 606d0f0cf7 Implemented splitText for text nodes 1999-01-23 00:10:08 +00:00
akkana%netscape.com 320643ab41 2028: Get selection highlighting working on Linux 1999-01-23 00:00:46 +00:00
troy%netscape.com f9f875774e Fixed ReflowTemp() so it's doing a legal incremental reflow, and changed
Reflow() so it does a minimally acceptable job of handling incremental reflow
commands...
1999-01-22 23:10:02 +00:00
troy%netscape.com f98779d1c4 Changed Reflow() to make sure we remove the reflow command for
incremental reflow commands passing through us
1999-01-22 23:08:42 +00:00
troy%netscape.com 28791b98c1 Changed ContentChanged() to generate a reflow command 1999-01-22 23:07:09 +00:00
vidur%netscape.com 6a4a691b03 Comments added to content model. Comments and text content now have a special tagname 1999-01-22 22:48:00 +00:00
harishd%netscape.com 7179e6fff7 StyleContext passed onto PaintBorder() 1999-01-22 22:38:34 +00:00
harishd%netscape.com e9692979e2 StyleContext passed onto PaintBorder()/PaintArrow() 1999-01-22 22:35:12 +00:00
harishd%netscape.com f130c6d3af StyleContext passed onto PaintArrow() 1999-01-22 22:34:28 +00:00
harishd%netscape.com f2086206af styleContext is passed onto PaintBorder()/PaintArrow() 1999-01-22 22:31:15 +00:00
harishd%netscape.com 8bc5b27559 StyleContext info. is passed on into PaintBorder() 1999-01-22 22:30:02 +00:00
harishd%netscape.com b1124a6eef Stylecontext is passed to PaintBorder() 1999-01-22 22:28:12 +00:00
harishd%netscape.com 9c17e2255e PaintBorder() method has stylecontext info. 1999-01-22 22:27:19 +00:00
harishd%netscape.com a5933ee601 PaintBorder() modified to accept styleContext 1999-01-22 22:26:29 +00:00
harishd%netscape.com 5d18d3400f Passing styleContext info. to PaintBorder(). 1999-01-22 22:25:58 +00:00
harishd%netscape.com 1844f0a29c Passing stylecontext into Paintborder() 1999-01-22 22:25:00 +00:00
harishd%netscape.com 3019a40b16 Got stylecontext info into PaintBorder() for displaying
CSS borders.
1999-01-22 22:24:05 +00:00
harishd%netscape.com 452365be17 Modified the PaintBorder(), MakeBevelColor(), DrawSide(),
PaintBorderEdge() methods.
1999-01-22 22:22:26 +00:00
kmcclusk%netscape.com 84e0b887ea Removed code which set the defaultchecked from the checked attribute. 1999-01-22 22:14:58 +00:00
mjudge%netscape.com 33caf160ac selection rocks ass 1999-01-22 22:04:54 +00:00
kmcclusk%netscape.com f808ee5d03 Removed nsIFormControLFrame.h since it now lives in public 1999-01-22 19:22:37 +00:00
kmcclusk%netscape.com 860776f40a Added missing methods to nsIFormControlFrame.h 1999-01-22 19:10:10 +00:00
mjudge%netscape.com a34ad659b1 chagnes for selection to work 1999-01-22 18:58:14 +00:00
troy%netscape.com 4bea96846c Added XXX comment for ReResolveStyleContext() 1999-01-22 18:23:06 +00:00
kmcclusk%netscape.com d8dd463f76 Added export of nsIFormControlFrame.h for the MAC build 1999-01-22 18:21:39 +00:00
kmcclusk%netscape.com c5fd93399a Modified Linux and Mac to export nsIFormControlFrame.h 1999-01-22 18:19:12 +00:00
kmcclusk%netscape.com 79b1a7ee1c Added nsIFormControlFrame to the set of files to export 1999-01-22 18:14:23 +00:00
dcone%netscape.com 30ac229513 nsFormcontrolHelper.cpp nsListControlFrame.cpp nsCombboxcontrolframe.cpp 1999-01-22 16:08:52 +00:00
dcone%netscape.com 537632b37a First Checked In. 1999-01-22 16:04:08 +00:00
rods%netscape.com 423a9eb9a8 Ifdef'ed out the Pluggable event code 1999-01-22 15:56:21 +00:00
rods%netscape.com b9ce376587 Initial checkin factored code from nsFormControlFrame 1999-01-22 15:47:33 +00:00
rods%netscape.com 84da35b573 initial checkin 1999-01-22 15:41:28 +00:00
rods%netscape.com 091ef49deb Added nsIListControlFrame.h and nsComboboxControlFrame.h 1999-01-22 15:41:05 +00:00
rods%netscape.com 2e6bf26d80 Added methods for creating ListControlFrame and ComboxControlFrames 1999-01-22 15:34:13 +00:00
rods%netscape.com f196893cce Factored out code for helper functions for determining size and for rendering 1999-01-22 15:32:57 +00:00
rods%netscape.com 8599bb7484 Added nsComboboxControlFrame nsListControlFrame 1999-01-22 15:32:34 +00:00
rods%netscape.com 02cdf013af Factored out the Initialization code for the ScrollFrame into a separate method
Added code to hide and show view when applied to the whole tree
Added a method for Creating the proper frames for the SELECT tag
1999-01-22 15:27:54 +00:00
rods%netscape.com 4e627f719a Added some additional attoms for the Combobox Frame Control 1999-01-22 15:25:12 +00:00
rods%netscape.com f7af16379c Removed the class def and put it in a new header nsScrollFrame.h 1999-01-22 15:23:51 +00:00
rods%netscape.com 994f3d7151 Initial checkin the code was in nsScrollFrame.cpp 1999-01-22 15:23:15 +00:00
jfrancis%netscape.com fc44c4c3c4 efficiency improvement to ComparePointToRange() 1999-01-22 08:59:26 +00:00
ramiro%netscape.com 0d5aa093e0 Ignore generated files. 1999-01-22 06:33:54 +00:00
ramiro%netscape.com a2277aed5f Add -I flags to pick up the right style and html base headers. 1999-01-22 06:00:21 +00:00
ramiro%netscape.com 6584b4d72b Add base to DIRS. 1999-01-22 05:59:42 +00:00
hyatt%netscape.com f0564799a5 Adding linkage for the XUL base library. 1999-01-22 04:15:29 +00:00
troy%netscape.com d412c44912 Correction to how offsets are computed for relatively positioned elements 1999-01-22 04:12:03 +00:00
pinkerton%netscape.com 028c0f687d hooking toolbars and toolbox back up. Sigh. 1999-01-22 04:04:12 +00:00
hyatt%netscape.com 9f8775adac added nsTreeFrame.cpp to xul/base 1999-01-22 03:40:32 +00:00
hyatt%netscape.com 5b677c8b4b Tweak to make the XUL base library build. 1999-01-22 03:34:41 +00:00
hyatt%netscape.com 09ce11d78f Added support for tree frame instantiation. 1999-01-22 03:31:56 +00:00
hyatt%netscape.com 5456308d80 Adding the tree frame class. 1999-01-22 03:28:29 +00:00
hyatt%netscape.com 186ab7b0bb Added atoms for the tree widget. Modified the makefile to make sure
that nsTreeView.cpp builds.
1999-01-22 03:27:35 +00:00
pinkerton%netscape.com 79a42f97e3 ack, unhook toolbars until i can solve the export problem on win. 1999-01-22 01:53:05 +00:00
pinkerton%netscape.com 6864fb136f hookup toolbars and toolbox so they are instantiated when xul sees those tags. 1999-01-22 01:42:44 +00:00
cyeh%netscape.com 44f108dc2c wrap !ifdef MOZ_DEBUG around custom .cpp rule so that if you are building optimized with
debug symbols, the rule doesn't go looking for PDB files that don't exist.
approved: kipp
1999-01-22 01:41:27 +00:00
pinkerton%netscape.com 2cfa505bf6 Work to get these instantiated. 1999-01-22 01:10:28 +00:00
troy%netscape.com 3fe6a2ce3e Made handling of absolutely positioned child frames more efficient 1999-01-22 00:30:27 +00:00
kostello%netscape.com 683f5f2ea1 Updated XIF code to match the new selection work. 1999-01-21 21:45:17 +00:00
vidur%netscape.com b9e4d31fab Fix to get default namespaces to work. Cleanup of DOM handling of character data. 1999-01-21 19:33:03 +00:00
pinkerton%netscape.com c0b1cee3c5 remove file that shouldn't be there. mea culpa. 1999-01-21 19:25:25 +00:00
pinkerton%netscape.com 3ba79951c8 not building the base dir for now. 1999-01-21 18:56:49 +00:00
pinkerton%netscape.com b001bc59a2 change lib name 1999-01-21 18:44:19 +00:00
pinkerton%netscape.com f6515a38d1 start building the base directory 1999-01-21 18:36:33 +00:00
pinkerton%netscape.com 0f8d4375df added xul/base group and nsToolbarFrame.cpp and nsToolboxFrame.cpp 1999-01-21 18:33:29 +00:00
pinkerton%netscape.com d6c39ce6cf get compiling 1999-01-21 18:31:48 +00:00
pinkerton%netscape.com 1cf67df600 First Checked In. 1999-01-21 18:31:39 +00:00
pinkerton%netscape.com 243b6de668 First Checked In. 1999-01-21 16:11:40 +00:00
pinkerton%netscape.com e18c578a95 Moving to base/src to mimic rest of layout. 1999-01-21 16:10:03 +00:00
rpotts%netscape.com 9217bf329b Added support for setting the DISABLED attrivute via the DOM... 1999-01-21 09:51:28 +00:00
hyatt%netscape.com 3c947c24ed Adding support for the widget tag to XUL. 1999-01-21 09:26:01 +00:00
hyatt%netscape.com 98ebc8c009 Fixing bugs related to the widget atom. 1999-01-21 09:25:40 +00:00
pinkerton%netscape.com 69bd50b789 adding toolbox to collection of xul atoms 1999-01-21 05:54:38 +00:00
pinkerton%netscape.com 245c82ea4b First Checked In. 1999-01-21 05:49:24 +00:00
pollmann%netscape.com 436830bb28 Bug 2279: Don't create widgets for hidden form elements. 1999-01-21 04:02:37 +00:00
danm%netscape.com afdeab6a2b build XUL 1999-01-21 03:51:16 +00:00
danm%netscape.com e3d9a440ab build xul 1999-01-21 03:41:43 +00:00
danm%netscape.com 3e6ec73922 build XUL 1999-01-21 03:40:21 +00:00
danm%netscape.com 97ccf3dcc7 create XUL frames 1999-01-21 03:37:37 +00:00
danm%netscape.com a541431aa4 load XUL atoms on XML document creation 1999-01-21 03:35:24 +00:00
danm%netscape.com 9ea68b4f59 added file xul/content/src/nsXULAtoms.cpp 1999-01-21 03:32:30 +00:00
pollmann%netscape.com 3a612a8eb7 Bug 1958: Fixing an apparent typo. 1999-01-21 03:09:25 +00:00
danm%netscape.com 7e502dcee1 new xul directory 1999-01-21 01:56:05 +00:00
buster%netscape.com 5a7b83110d put in Mike's change to Clear the selection when we take focus
this fixes the bug that the collection of ranges was monotonically increasing to infinity
as you clicked around in the document.
1999-01-20 23:23:28 +00:00
buster%netscape.com ec22f1c207 fixed bug 2516. The InitChildList code needed to check display types before
assigning the mCaptionFrame member variable.
1999-01-20 07:27:06 +00:00
troy%netscape.com 85dd5bb130 Added additional parameter to GetNext() that specifies whether the frame is
removed from the path. This allows peeking at the next frame in the reflow
chain
1999-01-20 05:11:17 +00:00
troy%netscape.com d904d622fb Added additional parameter to GetNext() that allows peeking at the next
frame in the reflow command
1999-01-20 05:10:12 +00:00
troy%netscape.com 5a9b0b6a0d Added XXX reminder for myself 1999-01-20 04:50:35 +00:00
troy%netscape.com f81224da15 Removed some scroll related logic that was causing computed widths to be
computed incorrectly. Now the scroll frame handles it
1999-01-20 03:43:33 +00:00
vidur%netscape.com 5abde0940e Fixing build bustage 1999-01-20 00:50:07 +00:00
mjudge%netscape.com 1eb0e87525 fiximg text selection for frames in frames 1999-01-19 23:36:06 +00:00
karnaze%netscape.com 1a4d283094 content sink uses nsWebShell::GetIsFrame to set scrolling on nsWebShell 1999-01-19 23:16:02 +00:00
vidur%netscape.com 7818412fda Completion of document as node - specifically, the childNodes array. Completion of nodeName, nodeValue and attributes properties for different types of nodes. 1999-01-19 23:07:33 +00:00
mjudge%netscape.com 1bfb367e63 fixing selection a little 1999-01-19 17:41:08 +00:00
karnaze%netscape.com c1f9e8dde6 <form> inside <table> submits; marginwidth, marginheight in <frame> working; scrolling in <frame>, <iframe> working 1999-01-19 17:26:06 +00:00
vidur%netscape.com 138b6c99da Started implementation of Node properties and methods for documents. 1999-01-19 16:58:45 +00:00
pinkerton%netscape.com bee66a4cfa added nsGenericDomNodeList.cpp 1999-01-19 16:39:10 +00:00
vidur%netscape.com 8ee20c8bf8 new file - base class for other node lists 1999-01-19 15:50:20 +00:00
mjudge%netscape.com 6fe445a624 selection should work now more or less 1999-01-19 06:42:39 +00:00
troy%netscape.com ba9186df33 Changed it so the DidReflow() temporary hack doesn't apply to scrolled
frames
1999-01-19 06:00:08 +00:00
troy%netscape.com a38286a6c5 Fixed it so computedHeight is correctly computed 1999-01-19 05:59:24 +00:00
troy%netscape.com 503faed91b Minor cleanup 1999-01-19 05:18:26 +00:00
troy%netscape.com 88b563afc0 Part of the fix for bug #2485 1999-01-19 05:17:39 +00:00
vidur%netscape.com 73b2ab6abe Made unparented nodes outside the document return a new document fragment as parent. Inserting a node into a tree removes it from its previous position 1999-01-19 03:54:26 +00:00
jfrancis%netscape.com 0b590ab2f8 fixing addref/release errors in SelectAll code - fixes bug #2166 1999-01-19 01:54:57 +00:00
jfrancis%netscape.com 09dcebe273 fixing bug in range endpoint comparison 1999-01-19 01:07:52 +00:00
mjudge%netscape.com 11847d1d30 fixing linux 1999-01-19 01:00:31 +00:00
mjudge%netscape.com d3857ac489 update for linux 1999-01-19 00:40:38 +00:00
mjudge%netscape.com 44d2b291c4 trying to fix linux.. 1999-01-19 00:32:51 +00:00
mjudge%netscape.com f405156b2f test check 1999-01-19 00:13:07 +00:00
buster%netscape.com c08c9cac97 workaround for bug 2476: check for null child list before calling nsFrameList::AppendFrames 1999-01-18 23:54:23 +00:00