vidur@netscape.com
b974d61254
Implemented ID targetting for HTML in XML documents. Changed name of GetNameSpacePrefix to avoid clash.
1999-03-20 01:51:00 +00:00
kostello@netscape.com
cd3fb3c6dc
Added implementation for nsIHTMLContentSink::DoFragment()
1999-03-15 05:11:43 +00:00
mjudge@netscape.com
90b5efff4a
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
vidur@netscape.com
4d1f72abb7
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
warren@netscape.com
35d5e6e062
nsRepository -> nsIComponentManager changes.
1999-03-09 09:44:27 +00:00
jfrancis@netscape.com
eaf756c575
adding mAnchorFrame to the ClearFrameRefs call
1999-03-08 01:22:37 +00:00
kipp@netscape.com
9181c3e8d5
use new nsHTMLReflowState ctors
1999-03-05 04:29:11 +00:00
sfraser@netscape.com
038a67ffdb
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
akkana@netscape.com
bd9b2cc5bf
Fix potential leak of content sink
1999-03-02 00:47:43 +00:00
akkana@netscape.com
ab0f97e60d
Move bulk of DoCopy code from nsBrowserWindow.cpp into nsPresShell
1999-03-01 19:21:01 +00:00
vidur@netscape.com
2fb8478b86
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
peterl@netscape.com
eecf0b23f5
added content state changed
1999-02-27 07:15:09 +00:00
kipp@netscape.com
25591f64c4
fixed up operator new usage
1999-02-26 20:02:06 +00:00
kipp@netscape.com
48f5180b30
Fixed remaining issues with operator new/delete
1999-02-26 19:26:29 +00:00
kipp@netscape.com
d9ab4e4c83
Removed dependency on static constructors; implement operatore delete
1999-02-26 17:08:48 +00:00
buster@netscape.com
570ecf20dc
added GetStyleContextFor
1999-02-25 19:55:06 +00:00
mjudge@netscape.com
8b4269906d
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
33e055ba46
adding scrolling depending on selection modification. either by key event, or outside event.
1999-02-21 03:49:32 +00:00
mjudge@netscape.com
0c8f7c4d82
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
627ad266f0
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
bf113cfe32
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
ec0b57dda5
work-in-progress for scrolling frames into view. Not called anywhere in layout yet.
1999-02-19 23:43:41 +00:00
buster@netscape.com
40638cb910
added nsPresShell::ScrollFrameIntoView(), which forces the given frame to be visible in the current view.
1999-02-18 22:52:21 +00:00
troy@netscape.com
369c7ca42b
Added code to set/get the view manager's root scrollable view
1999-02-16 04:41:15 +00:00
kipp@netscape.com
28b71febbd
Use correct IID when doing QueryInterface to avoid using incorrect vtable (bug #2782 )
1999-02-13 17:49:42 +00:00
sfraser@netscape.com
064c9732f5
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
602de2f255
Fixed some errors related to switch to using nsCOMPtr
1999-02-12 18:41:26 +00:00
kipp@netscape.com
74b2988510
COMized nsIPresShell and nsIPresContext
1999-02-12 17:45:58 +00:00
troy@netscape.com
f15059d004
Added GoToAnchor()
1999-02-12 05:39:33 +00:00
sfraser@netscape.com
bcf2111e43
Fix selection bustage, which was a post-merge error on my part.
1999-02-12 00:27:44 +00:00
sfraser@netscape.com
19362784f6
Add code to show a caret (#ifdeffed out for now)
1999-02-12 00:02:56 +00:00
akkana@netscape.com
0e46889822
Rename nsISelection to nsIFrameSelection
1999-02-11 23:12:28 +00:00
buster@netscape.com
74d4afe300
added GetLayoutObjectFor for getting a layout object as an nsISupports
...
while not exposing nsIFrame.
1999-02-10 23:21:22 +00:00
mjudge@netscape.com
ec19bd6e4d
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
87805c7a92
Changed GetNextSibling() to use a pointer argument instead of a reference
1999-02-10 06:13:38 +00:00
troy@netscape.com
655e2cab93
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
c63560927c
Changed GetAdditionalChildListName() and FirstChild() to use ** instead
...
of *&
1999-02-10 02:25:01 +00:00
troy@netscape.com
48040900a7
Changed GetParent() to use ** instead of *&
1999-02-10 01:36:30 +00:00
troy@netscape.com
b4f8c0fbbe
Changed some nsIFrame member functions to use ** instead of *& for OUT
...
paremeters
1999-02-10 00:42:56 +00:00
troy@netscape.com
4f83afd500
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
4a92feab77
Fixed a bad #ifdef
1999-02-06 04:26:30 +00:00
troy@netscape.com
dda0d95bf5
#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
437edc8c62
Added CantRenderReplacedElement() to nsIPresShell and changed the image frame
...
code to use it
1999-02-05 18:25:29 +00:00
vidur@netscape.com
eff87ba281
Added additional key argument to string parsing routine. Improved Reset handling for document to include style sets and frame construction. Modified root frame construction. Got out-of-line document.write to work
1999-02-03 19:38:16 +00:00
mjudge@netscape.com
ae1818857e
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.
1999-02-02 00:23:40 +00:00
akkana@netscape.com
934c5ca07d
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
1999-01-29 18:57:56 +00:00
troy@netscape.com
74814c1fb9
Changed scrolling so it happens on the viewport instead of the HTML
...
element
1999-01-26 00:05:21 +00:00
mjudge@netscape.com
d9346800ef
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
peterl@netscape.com
dd7147cbce
added helper methods for selecting & querying alternate style sheets
1999-01-23 07:03:46 +00:00
troy@netscape.com
9456e1e315
Added XXX comment indicating that the #if 0 code in Init() is causing
...
a memory leak...
1999-01-23 02:38:16 +00:00