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

1299 Коммитов

Автор SHA1 Сообщение Дата
peterl%netscape.com ecabff3aa0 made some rudimentary connections for generated content into style data 1999-04-02 18:50:45 +00:00
peterl%netscape.com baea51d075 added nsStyleContent 1999-04-02 18:48:55 +00:00
sfraser%netscape.com 77f7e923dd Fix build bustage 1999-04-02 01:14:30 +00:00
sfraser%netscape.com 19b36454fe Added a method to the pres shell to control enabling clients to turn the caret on and off. 1999-04-01 23:58:11 +00:00
sfraser%netscape.com 7e1a3cd9b6 Caret changes to enable the caret to erase itself, and fix a bunch of caret problems. 1999-04-01 23:57:35 +00:00
sfraser%netscape.com faca4eab8f #ifdef out the navigation printfs, and remove some unused variables. 1999-04-01 23:44:15 +00:00
jdunn%netscape.com 874376197d link in key libraries to build 1999-04-01 21:01:31 +00:00
jdunn%netscape.com 58b2211392 fix problem on AIX-xlC compiler with protected structs. 1999-04-01 20:13:59 +00:00
rods%netscape.com 9c9c55e26f Changed the clipboard support to use the new XIF Converter class and added more
error checking (this is all ifdef'ed at the moment)
1999-04-01 14:22:00 +00:00
kipp%netscape.com 2c91bc5386 Don't make floaters a margin root (that was a mistake) 1999-04-01 01:38:00 +00:00
vidur%netscape.com f6f2f989a9 Added epilog and prolog to document. Added processing instructions and CDATASections for XML. Completed document Node methods. 1999-03-31 20:49:25 +00:00
karnaze%netscape.com 5d8380af04 bugs 1318, 4429 - tables containing form controls as children 1999-03-31 06:47:40 +00:00
kipp%netscape.com a1da9f8221 Added eStyleUnit_Chars 1999-03-31 04:08:07 +00:00
troy%netscape.com 5c17291fd2 Work-in-progress for generated content 1999-03-30 15:22:54 +00:00
briano%netscape.com 0ab6ec357d Only descend into the tests directory if ENABLE_TESTS is set. 1999-03-30 03:07:23 +00:00
syd%netscape.com 0a5153649e Initialize isScrolling to default to PR_FALSE. When printing, we don't obtain a
container, so we can't query for a webshell interface and query if scrolling is
implemented. With isScrolling set to PR_TRUE, we then follow code below which
leads to a crash. Fixes crash seen often when performing Postscript printing on
Unix.

Reviewed by dcone.
1999-03-30 01:11:09 +00:00
joki%netscape.com 393a3e937e Updating internal implementations to new DOM2 api syntax, capture/bubble functionality, new EventStateManager stuff (focus improvements) 1999-03-28 22:22:54 +00:00
troy%netscape.com 8766af7590 Patch from Bruce Mitchener that adds "[]" to delete 1999-03-28 18:25:34 +00:00
peterl%netscape.com 7bbff892c5 added transparent border support 1999-03-28 04:30:28 +00:00
peterl%netscape.com 0edbf3ac86 added support for outline, border corner radius, transparent border
tweaked opacity
1999-03-28 04:28:22 +00:00
kipp%netscape.com 121eee5513 Implement new method 1999-03-27 01:20:15 +00:00
kipp%netscape.com f656ef3fb2 Added a new method 1999-03-27 01:20:02 +00:00
kipp%netscape.com 1f0f1603f1 Create area frame properly so that it applies vertical margins to its children (bug #1080) 1999-03-27 01:19:29 +00:00
ftang%netscape.com 1a935f9498 add Set/GetWordBreaker to nsIDocument. Reviewed and approved by kipp 1999-03-27 00:58:41 +00:00
evaughan%netscape.com 0835fb2da4 Added XUL based layout manager. 1999-03-27 00:58:29 +00:00
donm%netscape.com 9a4f6969a9 backing out evaughan's changes. tree closed. 1999-03-26 19:39:23 +00:00
evaughan%netscape.com e637847edd Added box layout system. 1999-03-26 18:51:08 +00:00
rods%netscape.com 72ef742908 Change DoCopy for new clipboard support to put XIF on clipboard 1999-03-26 15:51:07 +00:00
kipp%netscape.com fab8db134e Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
mcafee%netscape.com 330f22b0c2 Renamed GetTransferable() to GetData() 1999-03-25 23:39:03 +00:00
briano%netscape.com 41dd62814d Handle NO_STATIC_LIB being set, when all this file does is create a static library. 1999-03-25 21:10:22 +00:00
peterl%netscape.com a5f067d863 protect recreate frames for content against content with no parent 1999-03-25 19:27:11 +00:00
peterl%netscape.com a99ba37867 added methods to process style changes on frames 1999-03-25 06:42:07 +00:00
peterl%netscape.com d30d04f096 capture all change data during style changes and deal with it properly 1999-03-25 06:41:43 +00:00
peterl%netscape.com 801532cf74 added nsStyleChangeList 1999-03-25 06:35:59 +00:00
peterl%netscape.com e9d8cae711 made opacity inherit by default 1999-03-25 06:34:57 +00:00
peterl%netscape.com 0717d46524 changed font weight bolder/lighter to give info about change 1999-03-25 06:33:58 +00:00
peterl%netscape.com 5ca99ab4fe added method to process style changed frames 1999-03-25 06:33:25 +00:00
peterl%netscape.com 8e944a5a2b added args to ReResolveStyle to capture style change info 1999-03-25 06:32:56 +00:00
troy%netscape.com 6aec438712 Fix for bug #3445. Changed ReconstructDocElementHierarchy() to handle fixed
elements
1999-03-25 05:24:16 +00:00
kipp%netscape.com f017ffd25a Added some MOZ constants 1999-03-25 03:51:16 +00:00
kipp%netscape.com 225831f1bd Removed dependence on nsFrame (a no-no) 1999-03-24 15:40:44 +00:00
mcafee%netscape.com 68a023cd3e Initializing some variables, protecting against null dereferences for new cut & paste platforms (gtk). 1999-03-24 09:06:37 +00:00
troy%netscape.com 45444d5d1e Patch from Bruce Mitchener to fix gcc warning 1999-03-24 05:11:17 +00:00
troy%netscape.com c6c70fdb15 Changed CantRenderReplacedElement() to handle APPLET as well 1999-03-24 01:13:59 +00:00
rods%netscape.com 1622723d06 Added new clipboard support, it is ifdef'ed out in the DoCopy method 1999-03-23 21:32:48 +00:00
karnaze%netscape.com 4a682e989c bug 3835, GetAdjustedParentFrame fixed for caption 1999-03-23 14:16:52 +00:00
jfrancis%netscape.com 340553bc93 exposing on-the-fly switchability between pre and post order iterors in the interface. exposing PositionAt in the interface. 1999-03-23 11:54:52 +00:00
jfrancis%netscape.com c13ae60c0a phase one of on-the-fly support for switching between pre and post order iteration. needed by text services. 1999-03-23 10:30:24 +00:00
kmcclusk%netscape.com 3ecd16ef89 Various modifications/fixes/cleanup for frame-based listboxes.
Set display type to block for option elements in ua.css.
Enable frame-based listboxes when widget render mode is gfx.
1999-03-22 21:32:12 +00:00
jfrancis%netscape.com f201af385c fixed 4057: Clear() now resets focus and anchor nodes 1999-03-22 09:02:30 +00:00
vidur%netscape.com 60c2b1e433 Implemented ID targetting for HTML in XML documents. Changed name of GetNameSpacePrefix to avoid clash. 1999-03-20 01:51:00 +00:00
tague%netscape.com 21fe067546 Added support for basic Japanese input on Win32 1999-03-19 23:36:20 +00:00
nisheeth%netscape.com eb359710f6 Fix for bug 3584.
Change coded by vidur.  Reviewed by me.  Document.written documents now get
a default "about:blank" url assigned to them.  This fixes crash bugs associated
with other code assuming that all documents have non-null urls.

Approved by chofmann.
1999-03-19 01:41:09 +00:00
leaf%mozilla.org 0a0f5ac00f Landing nspr library name change, and plevent function call change. 1999-03-17 21:32:03 +00:00
kipp%netscape.com 120ea1fb63 Fixed bug #3905 - frame construction code wasn't dealing with tables properly when they were floated; reviewed by vidur for M3 checkin 1999-03-17 18:17:24 +00:00
mjudge%netscape.com 01bacbd5e9 M3 bug reviewed by joe francis. simply adding 0 initiializers to variables 1999-03-15 23:08:27 +00:00
jfrancis%netscape.com 450d7de945 fixed 3632 - selection turds after delete. fixed 3751 - resizing page with selected image crashes. reviewed mjudge and kin. checkin approval chofmann. 1999-03-15 22:52:06 +00:00
kostello%netscape.com 31b572ebdc Added implementation for nsIHTMLContentSink::DoFragment() 1999-03-15 05:11:43 +00:00
kostello%netscape.com 915733c74d Add support to encode selection informaton 1999-03-15 05:10:03 +00:00
buster%netscape.com 25870fb1ba small bug fix in Collapse. If the range array has 0 children, the selection should be considered collapsed. 1999-03-15 05:04:34 +00:00
mjudge%netscape.com 3bc9828b5e hack to get caret to draw on empty line. 1999-03-13 21:33:01 +00:00
karnaze%netscape.com b4199fb664 removed some table frame construction warnings. 1999-03-13 12:47:56 +00:00
buster%netscape.com de0f39cf10 added some debugging code. uncomment the #define DELETE_SELECTION
to see some output about what node is selected.
1999-03-13 04:36:03 +00:00
ramiro%netscape.com 846235af9b Make it possible to prefix mozilla dlls that conflict with system dlls. 1999-03-12 12:43:04 +00:00
sdagley%netscape.com e83ac3037b Fixing the Mac build bustage by calling the get() accessor for comparison 1999-03-12 01:16:08 +00:00
mjudge%netscape.com 114e459846 need to swap positions for mac. need to put COMPtr on right side of == 1999-03-12 01:02:34 +00:00
mjudge%netscape.com 098064a40c fixed memory leaks in nsRangelist.cpp. uninitialized memory in nsTextframe, simplified APIs in nsIFrame and the underlying implementations. see layout.checkins 1999-03-12 00:17:14 +00:00
av%netscape.com 5efd40a548 Rendering alt context in object tag 1999-03-10 20:43:07 +00:00
vidur%netscape.com bb1650ee77 Added CreateElementWithNameSpace to proprietary document interface. Fixed GetTagName for HTML to uppercase tag names. Hooked up style rule addition and deletion to reconstruct frames. Fixed DOM generation problem 1999-03-10 01:17:49 +00:00
alecf%netscape.com 3a89e5a526 purify fix from bruce@cybersight.com - use delete[] rather than delete 1999-03-10 00:36:18 +00:00
akkana%netscape.com 6b32065718 Fix UMR, caught with purify by bruce@portland.puremagic.com 1999-03-10 00:28:47 +00:00
jfrancis%netscape.com 05bff338bd fixed refcounting bugs 1999-03-09 19:21:30 +00:00
jfrancis%netscape.com 9ccfd6ca94 fixed refcounting bugs plus a little cleanup 1999-03-09 19:21:04 +00:00
warren%netscape.com c50687b845 nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
jfrancis%netscape.com e05b888392 adding mAnchorFrame to the ClearFrameRefs call 1999-03-08 01:22:37 +00:00
jfrancis%netscape.com 7ea09100f6 bug fixes + changing broken "dont_QueryInterface" additions to "do_QueryInterface" 1999-03-08 01:20:02 +00:00
hyatt%netscape.com 1ac29898bd Checking in a patch for a XUL bug in ContentInserted (inside an #ifdef INCLUDE_XUL). 1999-03-07 09:55:39 +00:00
sfraser%netscape.com 6704327c90 Fix warning reported by warren (bracket was in wrong place). 1999-03-06 20:19:52 +00:00
evaughan%netscape.com b5c00a443c 1) Implemented regular button and html4 button with a button renderer.
2) Fixed ProgressMeter to update correctly when attributes change
3) Fixed sample8.html so that it does not over ride the borders of the HTML4 button this
   messed up the active, hover, and disabled states.
1999-03-06 19:43:13 +00:00
kipp%netscape.com 12d20bad4e Remove dead global-variable nonsense 1999-03-05 19:23:52 +00:00
troy%netscape.com 3119f7cfd0 Table header/footer are repeated when splitting tables 1999-03-05 06:00:40 +00:00
kipp%netscape.com 29893a7946 use new nsHTMLReflowState ctors 1999-03-05 04:29:11 +00:00
kipp%netscape.com 3554e2299e Removed constructors for nsReflowState 1999-03-05 04:17:00 +00:00
evaughan%netscape.com 690a220aa5 Fixed a bug that caused TitledButtons and ProgressMeters to be skews when made inline. 1999-03-04 23:39:06 +00:00
scc%netscape.com 31ff626ae9 rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
troy%netscape.com fd2c76a712 Work-in-progress for table pagination 1999-03-03 16:33:57 +00:00
brade%netscape.com 6bc87edd87 reduce Macintosh compiler warnings 1999-03-03 15:35:49 +00:00
brade%netscape.com a08b6b708b reduce compiler warnings on Macintosh by adding comparison in loop (around assignments) 1999-03-03 14:50:41 +00:00
hyatt%netscape.com f7adf9f605 Fix to the ContentInserted function (ifdef XUL only) for treechildren. 1999-03-03 03:11:55 +00:00
mjudge%netscape.com b2dcf8b115 updates and fixes for CTRL left arrow and right arrow. also fixes for releasing the presshell correctly. the selection code was leaking it. updates for PREV and NEXT in nsFrameTraversal 1999-03-03 01:51:21 +00:00
akkana%netscape.com 58f89aa516 Fix Unix crash: comment out an assert 1999-03-03 01:11:28 +00:00
kmcclusk%netscape.com 52afc44421 gfx vs native widget rendering can now be specified in the viewer at run-time.
Added methods to GetWidgetRenderingMode and SetWidgetRenderingMode in nsPresContext
Removed NS_GFX_RENDER_FORM_ELEMENTS define, now it uses the GetWidgetRenderingMode
method on the rendering context.
Resurrected Rod's listbox frame-based widget code.
Added -moz-option-selected pseudo attribute to control the appearance of selected items for the listbox frame-based widget.
Added a style rule with attribute selector for -moz-option-selected to the ua.css style sheet.
Modifed nsView::SetVFlags to do a bitwise or instead of bitwise and to set flags.
Modified nsView::HandleEvent to compare mVFlags with NS_VIEW_FLAG_DONT_CHECK_CHILDREN
1999-03-02 22:43:26 +00:00
joki%netscape.com c401b7142e Adding new tab handling and focus support. 1999-03-02 19:19:24 +00:00
sfraser%netscape.com 333ce2260a Fix the caret so that it draws on Windows (and UNIX, hopefully), and turn on the #define so that the caret gets created in the pres shell. It gets shown in editor mode. 1999-03-02 04:26:49 +00:00
alecf%netscape.com 06b603951d fix AIX bustage - explicitly refer to parent constructor even though it's within
the scope of this constructor..
1999-03-02 01:44:07 +00:00
hyatt%netscape.com 8daad4506c Modified ContentInserted (for XUL only) to support the tree widget's
wacky frame construction code.
1999-03-02 01:07:28 +00:00
akkana%netscape.com e44de70e8e Fix potential leak of content sink 1999-03-02 00:47:43 +00:00
akkana%netscape.com 3eef98bc2b Move bulk of DoCopy code from nsBrowserWindow.cpp into nsPresShell 1999-03-01 19:21:01 +00:00
vidur%netscape.com 5c71c0ce21 Fixed MAP elements to conform to HTML 4.0. Hooked up attribute changes for MAP, AREA and ANCHOR elements. Added RECONSTRUCT_ALL as a style hint for attribute changes. Modified nsCSSFrameConstructor's ReconstructFrame to only reconstruct the document element hierarchy. 1999-03-01 16:57:35 +00:00
rods%netscape.com 372194e11f Change it to do a QueryInterface, is this right? 1999-03-01 15:27:55 +00:00
mcafee%netscape.com 20a05193e2 Backing out my last change, breaks Win32 & Mac. 1999-03-01 10:57:20 +00:00
mcafee%netscape.com 2d410263b9 Adding do_QueryInterface() wrapper for nsCOMPtr/Solaris. 1999-03-01 10:32:14 +00:00
jfrancis%netscape.com 9b46187134 made iterators bidirectional; lots of bug fixes; finished subtree iterator impl. 1999-03-01 08:17:18 +00:00
karnaze%netscape.com 6f8c5bf16a fixed assert when <col> is placed inside of <table> 1999-02-27 19:02:48 +00:00
peterl%netscape.com 6cc2958942 added content state changed 1999-02-27 07:15:09 +00:00
peterl%netscape.com 11214a0274 added == operator to style sides 1999-02-27 07:11:57 +00:00
peterl%netscape.com 7cd4cd92c4 added CalcStyleDifference 1999-02-27 07:11:42 +00:00
peterl%netscape.com c0cf7cb253 added content state changed
removed ua sheet from dump style
1999-02-27 07:11:04 +00:00
peterl%netscape.com 5916c57c38 added == operator for style sides 1999-02-27 07:09:40 +00:00
peterl%netscape.com 6eb779a038 added style hint max 1999-02-27 07:09:23 +00:00
hyatt%netscape.com ca76ded84d Changing GetStyleHintForAttributeChanged so that it is invoked on styledContent
instead of htmlContent.
1999-02-27 01:34:32 +00:00
hyatt%netscape.com 4ca16137f7 Making sure that nsIStyledContent.h gets exported. 1999-02-27 01:31:42 +00:00
hyatt%netscape.com e464e7658f Changes to makefiles to ensure that nsIStyledContent.h is exported. 1999-02-27 01:31:16 +00:00
hyatt%netscape.com 76b33e035d The nsIStyledContent interface. Removes CLASS, ID, and STYLE support (as well
as the ability to supply style hints) from nsIHTMLContent.
1999-02-27 01:31:01 +00:00
hyatt%netscape.com e793c57e51 Changes to tree frame construction code. 1999-02-27 01:28:19 +00:00
av%netscape.com 19c7d0603b *** empty log message *** 1999-02-27 00:57:04 +00:00
kipp%netscape.com 4a28dcfe2b fixed up operator new usage 1999-02-26 20:02:06 +00:00
kipp%netscape.com cfa5bbce41 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
alecf%netscape.com 4412580428 BandRect needs to be public to be visible outside the class definition (HPUX bustage) 1999-02-26 17:36:00 +00:00
kipp%netscape.com 62efebcdcf Support sized images 1999-02-26 17:15:15 +00:00
kipp%netscape.com 32bc677513 Pass in default image size when loading image 1999-02-26 17:12:05 +00:00
kipp%netscape.com 18ca3a2631 Whacked to handle moving floaters out of the flow 1999-02-26 17:11:54 +00:00
kipp%netscape.com 5f8761d5d9 Removed dependency on static constructors; implement operatore delete 1999-02-26 17:08:48 +00:00
kipp%netscape.com 9adee56599 Implement operator delete properly; removed dependency on static constructor 1999-02-26 17:03:18 +00:00
kipp%netscape.com e9cc4676d9 Support desired image size during loading 1999-02-26 17:02:37 +00:00
kipp%netscape.com fb2abfa5ac Added IsFloating inline 1999-02-26 17:02:05 +00:00
kipp%netscape.com ce936941e7 Added in desired-size to image loading request 1999-02-26 17:01:34 +00:00
kipp%netscape.com 1a8ea498e5 Removed global gLogModule 1999-02-26 16:59:57 +00:00
karnaze%netscape.com 7135a41350 fixed bug where anonymous table frame is constructed inside table related frame.
simplified table frame construction.
1999-02-26 09:15:03 +00:00
rickg%netscape.com b82b092c4b small bug fixes and removal of global statics 1999-02-26 06:33:54 +00:00
troy%netscape.com 96d36c557e Added logic to replicate the caption when splitting the table 1999-02-26 03:35:22 +00:00
buster%netscape.com fa4f361607 added GetStyleContextFor 1999-02-25 19:55:06 +00:00
troy%netscape.com f19915b56d Removed nsIFrame::CreateContinuingFrame() 1999-02-25 05:31:15 +00:00
troy%netscape.com dfdacc8159 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
troy%netscape.com 366741e652 Work-in-progress for having frame construction code handle creation
of continuing frames
1999-02-24 17:16:04 +00:00
troy%netscape.com e4388eb926 Added frame type atoms for several table frame classes 1999-02-24 05:54:31 +00:00
troy%netscape.com a29e93d9d0 Added nsLayoutAtoms::textFrame 1999-02-24 05:33:40 +00:00
troy%netscape.com 8dfabdf1a8 Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
troy%netscape.com 55d2703151 Added CreateContinuingFrame() function to frame construction code 1999-02-24 04:03:50 +00:00
kipp%netscape.com 19499bbe07 Temporarily mark text and BR frames as replaced elements so that inline reflow will work properly 1999-02-23 19:36:14 +00:00
vidur%netscape.com 6cf6986695 Added nsIStyleSheetLinkingElement interface and implemented it for LINK and STYLE elements. Got attribute modifications for lists and list items working (including correct renumbering of lists when attribute values change). 1999-02-23 19:18:12 +00:00
warren%netscape.com 3642da81a5 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
ftang%netscape.com fbebe3feca add S/GetLineBreaker to nsIDocument.h. Reviewed by kipp and waterson 1999-02-23 03:31:26 +00:00
mjudge%netscape.com b45a295339 Fixing nsCOMPtr misusage. 1999-02-22 19:06:48 +00:00
mjudge%netscape.com 07bb81fb15 adding comments to interfaces 1999-02-22 05:19:06 +00:00
mjudge%netscape.com 7d4b7bff9f adding parameter to nsIFrame for ::PeekOffset to be aware of the state of jumping a word. eating WS ect. also, nsRangeList sends the proper parameter for above change. 1999-02-22 04:57:44 +00:00
mjudge%netscape.com a635f31af4 adding word jumping with CNTRL char down now 1999-02-22 03:20:18 +00:00
mjudge%netscape.com c25515aa7d adding NPL 1999-02-22 03:19:24 +00:00
mjudge%netscape.com 5c5508e8d6 Needed methods to disable the ScrollFrameIntoView because of resizing causing scrolling to snap selection into view. 3 helper fucs, 1 variable, PRBool mEnableScrolling defaulted to true of course 1999-02-21 19:43:40 +00:00
mjudge%netscape.com a81bc05170 fixing leak with selection. didnt realize that ElementAt caused a refcount. this should fix problem of selection not allowing presshell to go away. 1999-02-21 05:14:36 +00:00
mjudge%netscape.com ef858aa10f adding scrolling depending on selection modification. either by key event, or outside event. 1999-02-21 03:49:32 +00:00
mjudge%netscape.com bc5b38fe17 Extra parameter in nsIFrameSeleciton HandleKeyEvent not necessary. nsRangeList mod now allows SHIFT-Key selection. currently bound directly to VK_LEFT,RIGHT should be changed eventually to something more internationaly friendly 1999-02-20 23:52:05 +00:00
buster%netscape.com 9c9eab1016 the pres shell now respects NS_PRESSHELL_SCROLL_ANYWHERE for vertical scrolling.
this is a hack implementation, to be recoded by the layout team
1999-02-20 21:27:28 +00:00
mjudge%netscape.com c61751911a nsPresShell now listens to changes in the domselection. (also modified nsIEnumerator to use NS_IMETHOD instead of virtual nsresult). Added batching for selection changes. you can move the selection, do things then turn off batching for an update if necessary. also prevented circular referencing by adding listener removal to PresShell::endDocumentListening(sp) 1999-02-19 23:47:36 +00:00
buster%netscape.com 05ca8a86dd work-in-progress for scrolling frames into view. Not called anywhere in layout yet. 1999-02-19 23:43:41 +00:00
evaughan%netscape.com ded20d5f4a Added a new XUL TitledButtonFrame 1999-02-19 18:23:02 +00:00
mcafee%netscape.com 390dea2f05 Fixing return types and swtich to proper PR_TRUE/PR_FALSE types. r=akkana@netscape.com 1999-02-19 02:32:58 +00:00
mcafee%netscape.com fd53f70412 Fixing return types and swtich to proper PR_TRUE/PR_FALSE types. r=akkana@netscape.com 1999-02-19 02:03:23 +00:00
mcafee%netscape.com babefe5414 Solaris: mIsDone is a PRBool, that means use PR_FALSE or PR_TRUE. 1999-02-19 01:41:03 +00:00
troy%netscape.com d1fb344418 Added pseudo style for 'page' element 1999-02-19 00:53:09 +00:00
mjudge%netscape.com 8f129330d2 moving nsFrameTraversal.* nsFrameList.* to layout/base also adding selection from keyboard. 1999-02-19 00:21:22 +00:00
scc%netscape.com ab59e4df7a updated for nsCOMPtr (no implicit construction from raw pointers) owners should check that they agree with my choices for |dont_QueryInterface|, |do_QueryInterface| and |dont_AddRef| 1999-02-18 23:55:10 +00:00
buster%netscape.com 1a7ef8eff5 added nsPresShell::ScrollFrameIntoView(), which forces the given frame to be visible in the current view. 1999-02-18 22:52:21 +00:00
buster%netscape.com 3c999714e7 added ScrollFrameIntoView(), which forces the given frame to be visible in the current view. 1999-02-18 22:51:46 +00:00
cyeh%netscape.com fe763fea21 Remove mozilla/layout/config and use mozilla/config instead. 1999-02-18 18:16:21 +00:00
troy%netscape.com 8126a3cb8a Fixed a style context problem 1999-02-18 16:56:15 +00:00
hyatt%netscape.com 7bdee573d4 Inside an INCLUDE_XUL #ifdef, making sure that HTML atoms get addrefed and
released by the frame constructor.
1999-02-18 05:02:50 +00:00
kipp%netscape.com 10ed4226e9 Removed usage of GetAutoMarginSize 1999-02-18 03:24:58 +00:00
kipp%netscape.com fbf70ee546 Used temporary variables to avoid double-casts and make it easier for compilers to do the right thing 1999-02-18 03:24:39 +00:00
kipp%netscape.com f4c1d98678 Removed obsolete GetAutoMarginSize method 1999-02-18 03:19:02 +00:00
sfraser%netscape.com 4db703ea15 Add nsCaret.cpp 1999-02-17 23:37:21 +00:00
troy%netscape.com 99afb00791 Changes for having OBJECT element render its contents if the OBJECT can't
be rendered
1999-02-17 17:02:27 +00:00
ftang%netscape.com d9f739957d change font preference code so it will pick the font setting for the defalt charset instead of always latin 1. Reviewed by peterl, kipp and troy 1999-02-17 15:52:02 +00:00
danm%netscape.com 80dc7af313 changed nsCOMPtr comparison operators to explicitly use get(). part of nsCOMPtr carpool. 1999-02-17 04:39:22 +00:00
sfraser%netscape.com 363ff8de18 Do the addref in a better way; part of the nsCOMPtr carpool 1999-02-17 02:13:54 +00:00
sfraser%netscape.com 2971982469 Part of the great nsCOMPtr carpool. Approved by those in power. 1999-02-17 02:08:01 +00:00
mcafee%netscape.com 3ece48d719 Adding do_QueryInterface() wrapper for nsCOMPtr carpool. r=scc a=sar 1999-02-17 02:08:00 +00:00
jfrancis%netscape.com 1f0604e40f new content subtree iterator 1999-02-16 15:48:13 +00:00
jfrancis%netscape.com f8e62db214 replaced IsNodeInsideRange() with CompareNodeToRange() 1999-02-16 15:46:37 +00:00
jfrancis%netscape.com 17ecef61e9 Replaced IsNodeInsideRange() with CompareNodeToRange() and also removed forward class declarations to make VC5 happy 1999-02-16 15:43:28 +00:00
troy%netscape.com f63bfa5bf7 Added code to set/get the view manager's root scrollable view 1999-02-16 04:41:15 +00:00
buster%netscape.com 17a29c2230 changed some forward class declarations to #include of the class
declaration.  These classes are used in nsCOMPtr's, and
VC 5.0 needs the full class declaration to compile.
1999-02-15 16:26:04 +00:00
jfrancis%netscape.com 142e6503b2 I wish VC++ would give me a @#$*&^#! break. 1999-02-14 12:51:29 +00:00
jfrancis%netscape.com 51b5ee7434 some (NULL != nsCOMPtr<Foo>'s) snuck thru - VC++ no like. I don't like 'em either. 1999-02-14 11:14:55 +00:00
jfrancis%netscape.com 6db0bb5c14 VC++ not hip to mixing goto's with automatics that have contructor/destructors. 1999-02-14 10:18:20 +00:00
jfrancis%netscape.com bce33616de ground work for new content subtree iterator 1999-02-14 09:15:13 +00:00
jfrancis%netscape.com 18894a69ca nsCOMPtr conversion plus some new utility functions 1999-02-14 09:14:50 +00:00
troy%netscape.com 99ecf5d560 Added frame-type atoms for area,scroll,viewport,root,page frame classes 1999-02-14 03:47:33 +00:00
kipp%netscape.com 30616ae0d7 Use correct IID when doing QueryInterface to avoid using incorrect vtable (bug #2782) 1999-02-13 17:49:42 +00:00
troy%netscape.com 90e118bf19 Changed frame construction code to set NS_FRAME_REPLACED_ELEMENT but, and
changed the HTML reflow state to read the bit
1999-02-13 05:59:19 +00:00
troy%netscape.com ef1913a19d Added NS_FRAME_REPLACED_ELEMENT 1999-02-13 05:58:28 +00:00
sfraser%netscape.com 6d4884d16f Added RefreshMethod, and tweaked code for the UNIX no-blinking case. 1999-02-13 04:47:45 +00:00
sfraser%netscape.com b539de0aa9 Add an accessor for the caret, RefreshCaret, and a couple of other private caret methods in nsPresShell. 1999-02-13 04:45:44 +00:00
troy%netscape.com 7b2012fca2 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp%netscape.com 3a2f9adfc5 Eliminate some linux compiler warnings 1999-02-12 18:24:53 +00:00
kipp%netscape.com 30a22d7a8c Build nsCaret 1999-02-12 18:21:29 +00:00
pinkerton%netscape.com cb66e49742 fixes for changes to nsIPresShell api's 1999-02-12 18:18:01 +00:00
troy%netscape.com 59520aa119 Fixed some compile errors using nsCOMPtr 1999-02-12 18:15:02 +00:00
kipp%netscape.com 5a554d526e COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
jfrancis%netscape.com 4918559f5d divorce from nsIEnumerator 1999-02-12 08:20:40 +00:00
peterl%netscape.com 8d65d14ec2 changed all html atoms to lower case 1999-02-12 06:19:07 +00:00
jfrancis%netscape.com 20d4ca5199 adding nsIContentIterator.h 1999-02-12 06:00:06 +00:00
jfrancis%netscape.com 6b8f1e68c5 File Removed. 1999-02-12 05:43:51 +00:00
troy%netscape.com df55f585b2 Added GoToAnchor() 1999-02-12 05:39:33 +00:00
jfrancis%netscape.com 8ccb052a1b XPCOMified the content iterator; fixed some bugs in DeleteRange() 1999-02-12 05:28:46 +00:00
jfrancis%netscape.com 1e5b102dee XPCOMified nsContentIterator; added it to layout factory CreateInstance code 1999-02-12 05:28:12 +00:00
jfrancis%netscape.com 10ea728eb2 fixing iid collision with simon 1999-02-12 04:39:21 +00:00
jfrancis%netscape.com 52e882363a *** empty log message *** 1999-02-12 04:36:18 +00:00
jfrancis%netscape.com d5d4efaef9 First Checked In. 1999-02-12 04:28:29 +00:00
hyatt%netscape.com 509c0d9f03 Changes to the table frame construction code to fix breakage in the tree view. 1999-02-12 01:35:37 +00:00
sfraser%netscape.com c98e5697ee Fix after akkana's changes: nsISelection -> nsIDOMSelection 1999-02-12 00:55:46 +00:00
sfraser%netscape.com 0eedf169b6 Fix selection bustage, which was a post-merge error on my part. 1999-02-12 00:27:44 +00:00
sfraser%netscape.com 85addab2b9 Add code to show a caret (#ifdeffed out for now) 1999-02-12 00:02:56 +00:00
sfraser%netscape.com 9400d14672 Add two new methods needed for caret support (and other things): GetPointFromOffset, to get frame-relative coordinates of a given content offset, and GetChildFrameContainingOffset, to find the child frame that really contains the given content offset 1999-02-12 00:02:31 +00:00
sfraser%netscape.com b69fa8b9d9 Add support for selection listener interfaces 1999-02-11 23:58:46 +00:00
sfraser%netscape.com 56b383b9c1 Added nsICaret and nsIDOMSelectionListener to exports 1999-02-11 23:56:11 +00:00
sfraser%netscape.com 4dfe94758c Add nsICaret and nsIDOMSelectionListener.h 1999-02-11 23:50:04 +00:00
sfraser%netscape.com b0f7ecaa02 First Checked In. 1999-02-11 23:49:08 +00:00
akkana%netscape.com bf0baf8027 Rename nsISelection to nsIFrameSelection 1999-02-11 23:12:28 +00:00
akkana%netscape.com 7cc2928871 Renaming nsISelection to nsIFrameSelection.
Here is the old log from nsISelection (since CVS doesn't allow renames):
> revision 1.9
> date: 1999/02/02 00:23:35;  author: mjudge%netscape.com;  state: Exp;  lines: +2 -1
> keyboard navigation of selection.  adding API for nsIFrame. fixing nsFrame and nstextframe to reflect the implementations of the nsIFrame API.  nsRangeList implements the handlekeyevent now.
> ----------------------------
> revision 1.8
> date: 1999/01/29 18:57:51;  author: akkana%netscape.com;  state: Exp;  lines: +6 -0
> Implement a new interface, nsIDOMSelection, intended to become the
> external interface for selection (to be IDL-ified later).
>
> Fix some editor bugs:
> - Advance the cursor on text insert (so text is inserted in the right order)
> - Make DeleteSelection in the editor call the actual selection
> - Make DeleteSelection update the frames' notion of the selection
> ----------------------------
> revision 1.7
> date: 1999/01/25 01:42:32;  author: mjudge%netscape.com;  state: Exp;  lines: +3 -4
> 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
> ----------------------------
> revision 1.6
> date: 1999/01/22 18:58:09;  author: mjudge%netscape.com;  state: Exp;  lines: +6 -0
> chagnes for selection to work
> ----------------------------
> revision 1.5
> date: 1999/01/18 22:57:08;  author: mjudge%netscape.com;  state: Exp;  lines: +1 -1
> Files for selection across frames.
> ----------------------------
> revision 1.4
> date: 1998/12/14 18:34:09;  author: mjudge%netscape.com;  state: Exp;  lines: +13 -1
> adding in selection
> ----------------------------
> revision 1.3
> date: 1998/12/08 18:25:37;  author: mjudge%netscape.com;  state: Exp;  lines: +9 -32
> changes to selection
> ----------------------------
> revision 1.2
> date: 1998/05/01 05:55:11;  author: rpotts;  state: Exp;  lines: +1 -1
> nslayout.h is *all* lower case
> ----------------------------
> revision 1.1
> date: 1998/04/30 19:15:05;  author: rods;  state: Exp;
> initial
1999-02-11 23:10:20 +00:00
karnaze%netscape.com 5c2c55103e table related frames don't create frames for children that are invalid (e.g. map, body, etc.) 1999-02-11 23:08:28 +00:00
troy%netscape.com 977f7506a3 Changed to using nsCOMPtr 1999-02-11 15:54:13 +00:00
troy%netscape.com c398b5aca7 Changed ResolveStyleContextFor and ResolvePseudoStyleContextFor to use pointer
arguments instead of references for OUT parameters
1999-02-11 15:53:26 +00:00
peterl%netscape.com 62fc75e842 make viewport frame use a viewport pseudo tag
connected doc root frame's style context to parent frame's style context
1999-02-11 06:40:13 +00:00
peterl%netscape.com bd665cd592 added viewport pseudo element tag 1999-02-11 06:39:07 +00:00
buster%netscape.com 693cc7e133 added GetLayoutObjectFor for getting a layout object as an nsISupports
while not exposing nsIFrame.
1999-02-10 23:21:22 +00:00
hyatt%netscape.com 5c46e7c87c Changing the way table frames are created so that tree frames can be made
as well.
1999-02-10 19:50:50 +00:00
mjudge%netscape.com bca382f43e Keyboard navigation, removing nsICollection(not used) adding PeekOffset to have the nsIFrame tell us where to go when moving a character ect. adding nsFrameTraversal to traverse frames, based on nsIEnumerator. mjudge x4661 1999-02-10 18:55:25 +00:00
troy%netscape.com c37ccfbc4c Changed GetNextSibling() to use a pointer argument instead of a reference 1999-02-10 06:13:38 +00:00
troy%netscape.com 5c3d1395f3 Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
troy%netscape.com b8965b6929 Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references
1999-02-10 04:17:06 +00:00
troy%netscape.com a9159f71d6 Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&
1999-02-10 02:25:01 +00:00
dp%netscape.com 1310389704 Adding libreg as xpcom depends on it 1999-02-10 02:01:50 +00:00
troy%netscape.com 40e3d2b1c8 Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
troy%netscape.com c9c1fa187e Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
troy%netscape.com 5b60b34507 Added GetFrameType() member function 1999-02-09 05:44:13 +00:00
kipp%netscape.com 353b021d18 Implement tree diffing and dumping of regression data 1999-02-08 17:55:29 +00:00
kipp%netscape.com d9141444d1 Revised API 1999-02-08 17:55:08 +00:00
troy%netscape.com 518e05e6c7 Fixed ContentRemoved() to also remove the shell's mapping from absolutely
positioned element to its placeholder
1999-02-06 17:10:42 +00:00
troy%netscape.com 1302142894 Fixed a bad #ifdef 1999-02-06 04:26:30 +00:00
troy%netscape.com aefb1af4c4 Cleaned the code up a bit 1999-02-06 04:24:47 +00:00
troy%netscape.com f97bf1cb41 Created ConstructAlternateImageFrame() function from some existing code,
and changed it to use the "src" attribute if there is no "alt" or "title"
values to use
1999-02-06 03:45:11 +00:00
troy%netscape.com 99265407a1 #ifdef CantRenderReplacedElement() to be _WIN32 for the time being until
the Mac problems with the thread event queue are straightened out
1999-02-06 03:41:14 +00:00
troy%netscape.com 522a05a7df Added CantRenderReplacedElement() to nsIPresShell and changed the image frame
code to use it
1999-02-05 18:25:29 +00:00
troy%netscape.com 172b637da2 Changed CantRenderReplacedElement() to use the value of the TITLE attribute
if there's no "alt" text specified
1999-02-05 18:24:48 +00:00
peterl%netscape.com 828bde629e added include & class definitions to make include safe 1999-02-05 03:55:55 +00:00
peterl%netscape.com 50c95af487 moved frame construction code from HTML style sheet 1999-02-05 03:55:18 +00:00
vidur%netscape.com c7b9881715 implemented nsHTMLDocument::GetElementsByName 1999-02-04 23:23:07 +00:00
troy%netscape.com d98c1338c9 Work-in-progress for replaced elements that can't be rendered 1999-02-04 17:03:46 +00:00