Commit Graph

1159 Commits

Author SHA1 Message Date
kipp%netscape.com
6c1c560761 Added some MOZ constants 1999-03-25 03:51:16 +00:00
kipp%netscape.com
eddd21fd73 Removed dependence on nsFrame (a no-no) 1999-03-24 15:40:44 +00:00
mcafee%netscape.com
1abf0a76b3 Initializing some variables, protecting against null dereferences for new cut & paste platforms (gtk). 1999-03-24 09:06:37 +00:00
troy%netscape.com
a470d4824b Patch from Bruce Mitchener to fix gcc warning 1999-03-24 05:11:17 +00:00
troy%netscape.com
ab9a5bc917 Changed CantRenderReplacedElement() to handle APPLET as well 1999-03-24 01:13:59 +00:00
rods%netscape.com
210717718e Added new clipboard support, it is ifdef'ed out in the DoCopy method 1999-03-23 21:32:48 +00:00
karnaze%netscape.com
24b6f32de4 bug 3835, GetAdjustedParentFrame fixed for caption 1999-03-23 14:16:52 +00:00
jfrancis%netscape.com
eaed4a3df3 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
6e49aa0132 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
ffdb06e4b0 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
f253f0f8c4 fixed 4057: Clear() now resets focus and anchor nodes 1999-03-22 09:02:30 +00:00
vidur%netscape.com
695fabe1b5 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
6e19645586 Added support for basic Japanese input on Win32 1999-03-19 23:36:20 +00:00
nisheeth%netscape.com
ae377bdba5 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
4ad9f70d5d Landing nspr library name change, and plevent function call change. 1999-03-17 21:32:03 +00:00
kipp%netscape.com
15bf5df352 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
1b682f9f08 M3 bug reviewed by joe francis. simply adding 0 initiializers to variables 1999-03-15 23:08:27 +00:00
jfrancis%netscape.com
edf65105e9 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
33b523aed4 Added implementation for nsIHTMLContentSink::DoFragment() 1999-03-15 05:11:43 +00:00
kostello%netscape.com
cde88f00ab Add support to encode selection informaton 1999-03-15 05:10:03 +00:00
buster%netscape.com
0e6a2b96b9 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
95cc51a5d9 hack to get caret to draw on empty line. 1999-03-13 21:33:01 +00:00
karnaze%netscape.com
cfffe095d7 removed some table frame construction warnings. 1999-03-13 12:47:56 +00:00
buster%netscape.com
4a7a889651 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
8ce50ad7cf Make it possible to prefix mozilla dlls that conflict with system dlls. 1999-03-12 12:43:04 +00:00
sdagley%netscape.com
c76429f73c Fixing the Mac build bustage by calling the get() accessor for comparison 1999-03-12 01:16:08 +00:00
mjudge%netscape.com
43c3c35906 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
26d8cc3a13 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
aaad99ca98 Rendering alt context in object tag 1999-03-10 20:43:07 +00:00
vidur%netscape.com
634e324575 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
347a029e95 purify fix from bruce@cybersight.com - use delete[] rather than delete 1999-03-10 00:36:18 +00:00
akkana%netscape.com
19d79b051d Fix UMR, caught with purify by bruce@portland.puremagic.com 1999-03-10 00:28:47 +00:00
jfrancis%netscape.com
534a4ea1cb fixed refcounting bugs 1999-03-09 19:21:30 +00:00
jfrancis%netscape.com
e4ed741668 fixed refcounting bugs plus a little cleanup 1999-03-09 19:21:04 +00:00
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
jfrancis%netscape.com
bcb1651103 adding mAnchorFrame to the ClearFrameRefs call 1999-03-08 01:22:37 +00:00
jfrancis%netscape.com
17efdd55c0 bug fixes + changing broken "dont_QueryInterface" additions to "do_QueryInterface" 1999-03-08 01:20:02 +00:00
hyatt%netscape.com
6fea0b5680 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
7513729fa3 Fix warning reported by warren (bracket was in wrong place). 1999-03-06 20:19:52 +00:00
evaughan%netscape.com
204a6670eb 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
1dd581bfed Remove dead global-variable nonsense 1999-03-05 19:23:52 +00:00
troy%netscape.com
7b9dd5e03b Table header/footer are repeated when splitting tables 1999-03-05 06:00:40 +00:00
kipp%netscape.com
8661fd6122 use new nsHTMLReflowState ctors 1999-03-05 04:29:11 +00:00
kipp%netscape.com
ec7698c7e8 Removed constructors for nsReflowState 1999-03-05 04:17:00 +00:00
evaughan%netscape.com
dbb62f25a6 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
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
troy%netscape.com
13d84ddc5c Work-in-progress for table pagination 1999-03-03 16:33:57 +00:00
brade%netscape.com
7a0d262bc9 reduce Macintosh compiler warnings 1999-03-03 15:35:49 +00:00
brade%netscape.com
9377486314 reduce compiler warnings on Macintosh by adding comparison in loop (around assignments) 1999-03-03 14:50:41 +00:00
hyatt%netscape.com
a49cb56aaf Fix to the ContentInserted function (ifdef XUL only) for treechildren. 1999-03-03 03:11:55 +00:00
mjudge%netscape.com
cba888fc69 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
cd85e69def Fix Unix crash: comment out an assert 1999-03-03 01:11:28 +00:00
kmcclusk%netscape.com
82dac76411 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
0baca6512f Adding new tab handling and focus support. 1999-03-02 19:19:24 +00:00
sfraser%netscape.com
092b04689b 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
532891b5da 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
2444e248ff 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
0664eb6e9a Fix potential leak of content sink 1999-03-02 00:47:43 +00:00
akkana%netscape.com
48dcd3da7a Move bulk of DoCopy code from nsBrowserWindow.cpp into nsPresShell 1999-03-01 19:21:01 +00:00
vidur%netscape.com
cb48e4047a 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
99447f229a Change it to do a QueryInterface, is this right? 1999-03-01 15:27:55 +00:00
mcafee%netscape.com
bf8ad89b24 Backing out my last change, breaks Win32 & Mac. 1999-03-01 10:57:20 +00:00
mcafee%netscape.com
4ebcbb455e Adding do_QueryInterface() wrapper for nsCOMPtr/Solaris. 1999-03-01 10:32:14 +00:00
jfrancis%netscape.com
c37eac4581 made iterators bidirectional; lots of bug fixes; finished subtree iterator impl. 1999-03-01 08:17:18 +00:00
karnaze%netscape.com
f641f7af45 fixed assert when <col> is placed inside of <table> 1999-02-27 19:02:48 +00:00
peterl%netscape.com
006004dd56 added content state changed 1999-02-27 07:15:09 +00:00
peterl%netscape.com
46d0e5ab36 added == operator to style sides 1999-02-27 07:11:57 +00:00
peterl%netscape.com
716fdea6b7 added CalcStyleDifference 1999-02-27 07:11:42 +00:00
peterl%netscape.com
ba5f08e24c added content state changed
removed ua sheet from dump style
1999-02-27 07:11:04 +00:00
peterl%netscape.com
46c784a7db added == operator for style sides 1999-02-27 07:09:40 +00:00
peterl%netscape.com
494926e976 added style hint max 1999-02-27 07:09:23 +00:00
hyatt%netscape.com
2a99f6d706 Changing GetStyleHintForAttributeChanged so that it is invoked on styledContent
instead of htmlContent.
1999-02-27 01:34:32 +00:00
hyatt%netscape.com
a7ba61e78c Making sure that nsIStyledContent.h gets exported. 1999-02-27 01:31:42 +00:00
hyatt%netscape.com
234ceed838 Changes to makefiles to ensure that nsIStyledContent.h is exported. 1999-02-27 01:31:16 +00:00
hyatt%netscape.com
271401155d 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
6153afc737 Changes to tree frame construction code. 1999-02-27 01:28:19 +00:00
av%netscape.com
e845f0123f *** empty log message *** 1999-02-27 00:57:04 +00:00
kipp%netscape.com
960bc34221 fixed up operator new usage 1999-02-26 20:02:06 +00:00
kipp%netscape.com
760dc4af42 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
alecf%netscape.com
2a71e76f16 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
ce54fd4449 Support sized images 1999-02-26 17:15:15 +00:00
kipp%netscape.com
b476316084 Pass in default image size when loading image 1999-02-26 17:12:05 +00:00
kipp%netscape.com
c4b8cdb1ac Whacked to handle moving floaters out of the flow 1999-02-26 17:11:54 +00:00
kipp%netscape.com
1abf79d0f1 Removed dependency on static constructors; implement operatore delete 1999-02-26 17:08:48 +00:00
kipp%netscape.com
63f4abfd18 Implement operator delete properly; removed dependency on static constructor 1999-02-26 17:03:18 +00:00
kipp%netscape.com
f76ba9c5e6 Support desired image size during loading 1999-02-26 17:02:37 +00:00
kipp%netscape.com
0fdcf3b76a Added IsFloating inline 1999-02-26 17:02:05 +00:00
kipp%netscape.com
8ab09256bd Added in desired-size to image loading request 1999-02-26 17:01:34 +00:00
kipp%netscape.com
d1fe3c6035 Removed global gLogModule 1999-02-26 16:59:57 +00:00
karnaze%netscape.com
b9d95f9ba2 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
ce3f1fd855 small bug fixes and removal of global statics 1999-02-26 06:33:54 +00:00
troy%netscape.com
e44548e676 Added logic to replicate the caption when splitting the table 1999-02-26 03:35:22 +00:00
buster%netscape.com
70608d9f51 added GetStyleContextFor 1999-02-25 19:55:06 +00:00
troy%netscape.com
3bdf672129 Removed nsIFrame::CreateContinuingFrame() 1999-02-25 05:31:15 +00:00
troy%netscape.com
da4193eab6 Changed nsIFrame::Init() to take an additional parameter 1999-02-25 03:27:57 +00:00
troy%netscape.com
74a2bd88d0 Work-in-progress for having frame construction code handle creation
of continuing frames
1999-02-24 17:16:04 +00:00
troy%netscape.com
47cbdb1e9d Added frame type atoms for several table frame classes 1999-02-24 05:54:31 +00:00
troy%netscape.com
eb48a80e30 Added nsLayoutAtoms::textFrame 1999-02-24 05:33:40 +00:00
troy%netscape.com
03c5c1f520 Changed GetNextInFlow() and GetPrevInFlow() to be pointer arguments and
not references
1999-02-24 04:48:08 +00:00
troy%netscape.com
da0991df28 Added CreateContinuingFrame() function to frame construction code 1999-02-24 04:03:50 +00:00
kipp%netscape.com
acaeaf5925 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
93609d0604 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
01dd4f0ed6 Cleaned up nsICollection and nsIEnumerator. Broke out nsIBidirectionalEnumerator. Added ISupportsArray enumerator. Cleaned nsISupportsArray. 1999-02-23 08:10:24 +00:00
ftang%netscape.com
02b8de88ba add S/GetLineBreaker to nsIDocument.h. Reviewed by kipp and waterson 1999-02-23 03:31:26 +00:00
mjudge%netscape.com
642c6f7d87 Fixing nsCOMPtr misusage. 1999-02-22 19:06:48 +00:00
mjudge%netscape.com
5aa43ea696 adding comments to interfaces 1999-02-22 05:19:06 +00:00
mjudge%netscape.com
7df9af9d91 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
5e896e4c40 adding word jumping with CNTRL char down now 1999-02-22 03:20:18 +00:00
mjudge%netscape.com
2e01e0d61b adding NPL 1999-02-22 03:19:24 +00:00
mjudge%netscape.com
73b74bd729 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
62d53916f3 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
4190f9d7be adding scrolling depending on selection modification. either by key event, or outside event. 1999-02-21 03:49:32 +00:00
mjudge%netscape.com
bbd3667ca9 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
5d4f949e92 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
fb3a597e8a 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
a7658c739f 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
91eb54570b Added a new XUL TitledButtonFrame 1999-02-19 18:23:02 +00:00
mcafee%netscape.com
024d71b7d8 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
8f769f292e 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
42b7604d15 Solaris: mIsDone is a PRBool, that means use PR_FALSE or PR_TRUE. 1999-02-19 01:41:03 +00:00
troy%netscape.com
b236facd7f Added pseudo style for 'page' element 1999-02-19 00:53:09 +00:00
mjudge%netscape.com
1afd545499 moving nsFrameTraversal.* nsFrameList.* to layout/base also adding selection from keyboard. 1999-02-19 00:21:22 +00:00
scc%netscape.com
5f8d7aa381 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
488d53c3f2 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
194ee07b45 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
af4818f5e3 Remove mozilla/layout/config and use mozilla/config instead. 1999-02-18 18:16:21 +00:00
troy%netscape.com
dc28188fdc Fixed a style context problem 1999-02-18 16:56:15 +00:00
hyatt%netscape.com
7d48abba75 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
eeca19df62 Removed usage of GetAutoMarginSize 1999-02-18 03:24:58 +00:00
kipp%netscape.com
a7da341a22 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
3245994287 Removed obsolete GetAutoMarginSize method 1999-02-18 03:19:02 +00:00
sfraser%netscape.com
4e6d046d98 Add nsCaret.cpp 1999-02-17 23:37:21 +00:00
troy%netscape.com
b1c378db6f 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
0ba6980fad 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
8a3666cbb7 changed nsCOMPtr comparison operators to explicitly use get(). part of nsCOMPtr carpool. 1999-02-17 04:39:22 +00:00
sfraser%netscape.com
6735920296 Do the addref in a better way; part of the nsCOMPtr carpool 1999-02-17 02:13:54 +00:00
sfraser%netscape.com
f250d738cb Part of the great nsCOMPtr carpool. Approved by those in power. 1999-02-17 02:08:01 +00:00
mcafee%netscape.com
9a63580434 Adding do_QueryInterface() wrapper for nsCOMPtr carpool. r=scc a=sar 1999-02-17 02:08:00 +00:00
jfrancis%netscape.com
1a6a12c09f new content subtree iterator 1999-02-16 15:48:13 +00:00
jfrancis%netscape.com
7718e783d0 replaced IsNodeInsideRange() with CompareNodeToRange() 1999-02-16 15:46:37 +00:00
jfrancis%netscape.com
515a5cf2a2 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
912d59f314 Added code to set/get the view manager's root scrollable view 1999-02-16 04:41:15 +00:00
buster%netscape.com
ef3bcb4d01 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
eaa564b983 I wish VC++ would give me a @#$*&^#! break. 1999-02-14 12:51:29 +00:00
jfrancis%netscape.com
990f18eb3b 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
f6a8523fba VC++ not hip to mixing goto's with automatics that have contructor/destructors. 1999-02-14 10:18:20 +00:00
jfrancis%netscape.com
9dcb3ba518 ground work for new content subtree iterator 1999-02-14 09:15:13 +00:00
jfrancis%netscape.com
f15faad70f nsCOMPtr conversion plus some new utility functions 1999-02-14 09:14:50 +00:00
troy%netscape.com
bf53f99087 Added frame-type atoms for area,scroll,viewport,root,page frame classes 1999-02-14 03:47:33 +00:00
kipp%netscape.com
19695398af Use correct IID when doing QueryInterface to avoid using incorrect vtable (bug #2782) 1999-02-13 17:49:42 +00:00