Commit Graph

1451 Commits

Author SHA1 Message Date
joki%netscape.com
2c742db83b Fixes for event going to frames which have changes as a result of other event handlers. (loosely bug 1283) 1999-06-15 03:14:28 +00:00
buster%netscape.com
82ee6d0c3e added support for ender GFX-Rendered text control 1999-06-12 22:32:41 +00:00
buster%netscape.com
fe7d0dd997 added support for getting and setting default background and font info 1999-06-12 22:31:57 +00:00
buster%netscape.com
a9f36a0958 added support for style contexts getting background and font defaults from
the pres context.
1999-06-12 22:31:15 +00:00
vidur%netscape.com
1aa9f07f1b Fix for bug 6785. Incorrect reinitializing of mData. 1999-06-12 00:37:36 +00:00
dcone%netscape.com
cc52bf67e6 background Image speed up
Commented out the box around the printout until Troy returns
1999-06-11 14:43:14 +00:00
sfraser%netscape.com
1d5f5e549a Comment out useless assert. 1999-06-10 21:43:08 +00:00
mjudge%netscape.com
b7b0ad9fb6 adding kins fix for the bitrotted addrange code. never was used before 1999-06-10 21:24:04 +00:00
mjudge%netscape.com
225111bf33 fixing table selection again. also adding parameter to nsIFocusTracker that allows us to get the current caret location. I am also stopping nsTableRowFrame from putting blue border around itself since cells are a high enough granularity. made a change to nsIFrame GetPosition to remove some useless parameters ect. this caused me to change nsDOMEvent.cpp and some other places.
MJ
1999-06-10 21:08:17 +00:00
hyatt%netscape.com
8a7a388516 Tweak to the tree frame construction code. 1999-06-10 09:31:30 +00:00
peterl%netscape.com
be78f7c3ee added support for attribute namespaces on generated content
stubed out improvements to style change painting code
1999-06-10 05:24:00 +00:00
peterl%netscape.com
784f0c9bee added code to ignore unknown namespace prefix for attributes
(actually the parser should've rejected it before here)
1999-06-10 05:18:46 +00:00
peterl%netscape.com
fa94e3b67e removed equals and hashvalue methods 1999-06-10 05:17:27 +00:00
kostello%netscape.com
9e423a7b8c Fix build bustage: changed include to be the right case 1999-06-10 01:06:35 +00:00
kostello%netscape.com
683648b5be Akkana set up a service for encoding a document.
This checkin adds the implementations for encoding
HTML and plain text:

nsTextEncoder::EncodeToString(..)
nsHTMLEncoder::EncodeToStream(..)

Hooked these services into the nsHTMLEditor implemenation

We probably want to update the clipboard code to
use the same pattern as in nsHTMLEditor.cpp
1999-06-10 00:35:02 +00:00
akkana%netscape.com
975c271ccb 7720: fix regression caused by attempting to fix XIF handling of comments 1999-06-09 00:48:21 +00:00
hyatt%netscape.com
9433d1b9be Fixing a bug with allowevents in the tree view. 1999-06-09 00:04:25 +00:00
joki%netscape.com
7e2352ba3a Adding new method to nsIDOMNSUIEvent to give event pos as range offset. 1999-06-08 02:19:26 +00:00
akkana%netscape.com
2b9b55f748 Add Init method to pass in the document and mime type 1999-06-08 00:01:55 +00:00
akkana%netscape.com
b80a790741 Split document encoder's Encode() method into a stream method and a string method 1999-06-07 19:32:36 +00:00
bruce%cybersight.com
9a1208d8e3 Tokens may not follow '#endif'. This fixes the HP-UX build. 1999-06-05 11:35:36 +00:00
nisheeth%netscape.com
6da324eafb Patch from alecf to do a null pointer check in FindFrameWithContent(). 1999-06-05 00:18:03 +00:00
sspitzer%netscape.com
9deb82c07a fix build breakage on UNIX. tindebox builds with --enable-pedantic, which
catches stuff like this.
1999-06-04 23:57:35 +00:00
akkana%netscape.com
02d2da5839 attempt to fix win build bustage 1999-06-04 23:45:25 +00:00
mjudge%netscape.com
7b5035c20f fixes for selection and memory leaks 1999-06-04 23:00:24 +00:00
akkana%netscape.com
e562ae82cb cast away constness for a temporary fix to windows build bustage 1999-06-04 22:58:47 +00:00
akkana%netscape.com
5185a8d0a0 XIF Document Encoder; and partial fix for XIF-to-html conversion of comments 1999-06-04 22:22:53 +00:00
nisheeth%netscape.com
3530c1e1a6 Fix for bug 6892. We should not set focus each time a document viewer creates a new window but leave it to the embedding application to decide when to set focus. 1999-06-04 01:48:38 +00:00
akkana%netscape.com
fdb319aff9 Checking in the non-dangerous parts of the XIF document/html encoder 1999-06-04 01:04:08 +00:00
akkana%netscape.com
b0031e0a99 Vidur's initial implementation of Insert HTML Fragment 1999-06-03 22:38:38 +00:00
warren%netscape.com
c777f81791 Left over from mozilla/base/src. 1999-06-03 21:50:54 +00:00
alecf%netscape.com
c5bb0477e4 first cut at scriptifying nsISupportsArray - remove constness from all methods, add new XPCOM compatible methods and fix layout code to handle lack of const methods 1999-06-02 02:06:32 +00:00
jfrancis%netscape.com
a1af08bb72 fix for subtree iter Init - now works when inited over a single textnode 1999-06-02 00:41:45 +00:00
mjudge%netscape.com
ffa57f8c76 invalid != for unix I will investigate this later. What i am checkin in now SHOULD remove any ambiguity in the code. 1999-06-01 23:53:01 +00:00
mjudge%netscape.com
864e061209 new table selection code drag inside and outside of tables with ease. added some overriding methods to nsTableCellFrame and nsTableFrame to make selection "draw" correctly for those containers. 1999-06-01 23:04:13 +00:00
beard%netscape.com
05df83a633 make sure mScriptContextOwner isn't NULL (apologies to sspitzer, made the test consistent with line #2283, hope you don't mind) 1999-05-29 21:43:24 +00:00
sspitzer%netscape.com
6d51ce25da fix for #7344. check for nsnull before dereferencing. 1999-05-29 20:55:48 +00:00
bruce%cybersight.com
cd06fa2a95 Use $(DLL_SUFFIX) here as well. 1999-05-29 02:25:28 +00:00
alecf%netscape.com
b133ab936f GetCharPref is going away for nsIPref scriptability - use CopyCharPref instead 1999-05-28 00:51:34 +00:00
vidur%netscape.com
41a99f7b2f Fix for bug 6125. DOMImplementation::hasFeature() now works better 1999-05-28 00:22:47 +00:00
hyatt%netscape.com
d2c9f8ec14 (1) The document now checks the window for capture.
(2) Frames and iframes now know their nearest enclosing chrome shells.
1999-05-27 21:04:52 +00:00
dp%netscape.com
158684e371 Fixing tests by linking in a component dll raptorhtml 1999-05-27 02:46:26 +00:00
sspitzer%netscape.com
45ca0711ee fix the makefile. looks like this test will need to be worked on to
get it to link.  commenting out of build for now.
1999-05-27 01:46:01 +00:00
peterl%netscape.com
dee7ea6722 added assertion to resolve style 1999-05-26 23:44:56 +00:00
peterl%netscape.com
f645149863 changed style rule API to use array 1999-05-26 23:44:32 +00:00
jfrancis%netscape.com
54c1e78d86 fixed dom range gravity error 1999-05-26 22:28:04 +00:00
dp%netscape.com
a4a8a169a8 Fixing tests 1999-05-26 07:46:01 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
rickg%netscape.com
33a564de2c fixed per cyeh 1999-05-21 23:11:16 +00:00
joki%netscape.com
cd8037c601 Fix for bug 6005, crash on window closing via script. A: chofmann, R: vidur 1999-05-20 23:16:53 +00:00
mjudge%netscape.com
4bff71e096 reviewed sfraser approved choffman 6771 6762 UMR and Extreemly inefficient table selection code fixed simply 1999-05-20 00:52:00 +00:00
dp%netscape.com
b55a43814c Caret files moved from base/ 1999-05-19 19:17:07 +00:00
joki%netscape.com
71e96012a3 Breaking nsIDOMEvent out into nsIDOMEvent and nsIDOMUIEvent. 1999-05-18 23:51:04 +00:00
peterl%netscape.com
0f7452cec5 fixed change hint for border style 1999-05-18 23:03:29 +00:00
peterl%netscape.com
c5e8d8d634 added insert style sheet
fixed some observer notifications
1999-05-18 23:03:04 +00:00
peterl%netscape.com
3a5019cbfb added insert style sheet method 1999-05-18 23:02:25 +00:00
sfraser%netscape.com
00c170c1f2 Implement nsCaret::GetWindowRelativeCoordinates for IME 1999-05-18 22:24:55 +00:00
jfrancis%netscape.com
d03618e5a5 collapsed ranges now result in empty iterators over them 1999-05-18 11:11:14 +00:00
vidur%netscape.com
9d805ae9c6 Propagate visibility style across table boundaries. 1999-05-17 21:17:21 +00:00
hyatt%netscape.com
9a32c8bde5 Fix for bug 5602. 1999-05-17 09:02:45 +00:00
mjudge%netscape.com
a15e7eb5ac adding in selection of non text frames in editor only 1999-05-17 00:21:18 +00:00
dcone%netscape.com
364c17da3c added a webshell parameter to the PrintContent call, unhooked the PresShell from the
document before deletion.  Fixed a leak.
1999-05-14 14:40:59 +00:00
jfrancis%netscape.com
51f0d561ab fixing overly noisy asserts 1999-05-14 06:18:07 +00:00
rods%netscape.com
e4ee930f8c removed reference to nsIDataFlavor and merged nsITransferable and nsIGenericTransferable 1999-05-13 21:53:57 +00:00
cmanske%netscape.com
6087dceeeb Fixed isCollapsed not working for a selection with 1 range 1999-05-13 21:49:12 +00:00
neeti%netscape.com
41dc3a3222 Fixed SetEnableRendering() in nsDocumentViewer.cpp
Initialized mEnableRendering in constructors of nsDocumentViewer.cpp and nsPlugin.cpp to a default value of PR_TRU
Do EnableRefresh only if mEnableRendering is set to true in nsHTMLContentSink.cpp,nsXMLContentSink.cpp,
nsXMLContentSink.h
1999-05-13 20:27:47 +00:00
warren%netscape.com
87b26617d5 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
jfrancis%netscape.com
0ef48c7dd4 updated to new iter behavior 1999-05-13 02:50:15 +00:00
jfrancis%netscape.com
cc913f3c67 better error handling 1999-05-13 02:43:30 +00:00
sspitzer%netscape.com
46116a798a make destructor virtual 1999-05-13 02:23:33 +00:00
mjudge%netscape.com
3e32824408 fixing lame compiler bug in SunOS gcc we are using wont accept this template call in nsCOMPtr 1999-05-13 02:14:32 +00:00
sspitzer%netscape.com
39efa1c7f8 make destructors virtual 1999-05-13 02:11:25 +00:00
mjudge%netscape.com
5404272a5e adding back in keyboard navigation. removing const from peekoffset to stop the const creep 1999-05-13 00:43:47 +00:00
vidur%netscape.com
557e18dc79 Backing out unintentional checkin 1999-05-13 00:24:45 +00:00
vidur%netscape.com
11e0af38bb Fixed uninitialized variable problem. 1999-05-13 00:21:50 +00:00
sfraser%netscape.com
ee19d4ead5 IncrementModCount now takes a PRInt32 (this fixes broken builds). 1999-05-12 22:55:29 +00:00
dcone%netscape.com
c71e1f8097 added a PrintContent() method to these classes 1999-05-12 13:32:09 +00:00
alecf%netscape.com
a4c1fbdaa8 remove const-ness from nsICollection::Count() so that it can be represented with XPIDL 1999-05-12 02:53:37 +00:00
kipp%netscape.com
4846f41f1f Reworked frame factory methods; fixed bug 4519 1999-05-11 22:03:29 +00:00
vidur%netscape.com
26a71e3928 Added IsValidFragment and CreateRange implementations. Added GetContentType method to nsIDocument interface. 1999-05-11 20:22:35 +00:00
jfrancis%netscape.com
4c04eec96b better error detection/handling + some cleanup 1999-05-10 23:29:01 +00:00
karnaze%netscape.com
763e901c42 added htmlFrameInnerFrame, htmlFrameOuterFrame types 1999-05-10 22:48:47 +00:00
kipp%netscape.com
aab132bf6b Added a reminder comment 1999-05-10 22:29:34 +00:00
mjudge%netscape.com
3ed73a5cad forgot checkin 1999-05-07 21:17:59 +00:00
mjudge%netscape.com
884bb4bb82 massive checkin for selection modifications and removing static state variables for selection in nsFrame.h. 1999-05-07 21:12:59 +00:00
kipp%netscape.com
5d9028b7b4 Implement support for SetEnableRendering/GetEnableRendering 1999-05-07 19:26:23 +00:00
sfraser%netscape.com
b3c4d2d3cc Implement nsIDiskDocument interface for editable documents. 1999-05-07 04:59:23 +00:00
sfraser%netscape.com
baf4bf6c25 Export nsIDiskDocument.h 1999-05-07 04:55:40 +00:00
sfraser%netscape.com
91346745aa First Checked In. 1999-05-07 04:55:18 +00:00
alecf%netscape.com
b8c3aa89b4 don't dereference aContext without checking for null 1999-05-07 03:08:02 +00:00
vidur%netscape.com
9499dd0467 Fix for bug 6069. The ownerDocument for a Document node is now null. 1999-05-07 01:30:30 +00:00
vidur%netscape.com
d75f60cbc0 Implemented GetOwnerDocument. 1999-05-07 00:06:48 +00:00
vidur%netscape.com
233cb378ad Added new content implementation macro 1999-05-07 00:06:29 +00:00
vidur%netscape.com
01db52ed8a Enabled the frame loader to work without a specified frame. This is used for precaching images. 1999-05-07 00:06:03 +00:00
karnaze%netscape.com
06e90ebbf2 incremental reflow correctly targets cell's area frame - bugs 4577, 5126, 5759 1999-05-06 22:29:28 +00:00
kipp%netscape.com
5f61d7ec74 Added new source files 1999-05-06 19:25:50 +00:00
kipp%netscape.com
83ba1b59f2 Moved from webshell/src 1999-05-06 19:25:40 +00:00
kipp%netscape.com
066324ed8b Moved from webshell directory 1999-05-06 19:25:10 +00:00
kipp%netscape.com
bc90f03086 Added headers 1999-05-06 19:24:57 +00:00
pinkerton%netscape.com
0f3dc2e30c make <tristatecheckbox> now be <checkbox> 1999-05-06 00:53:22 +00:00
akkana%netscape.com
856e75286f comment out annoying debug message 1999-05-05 23:24:58 +00:00
cyeh%netscape.com
8a1db8783c backout mjudge checkin against closed tree. it also breaks mac as well, so
mjudge will try again when tree reopens
1999-05-05 23:05:41 +00:00
mjudge%netscape.com
0cc9f0073f adding new state to nsRangeList to track mousedown and dragging criteria. much better than static variables in nsFrame.h!! 1999-05-05 22:32:58 +00:00
kipp%netscape.com
1d26bd7708 new 1999-05-05 20:42:51 +00:00
av%netscape.com
53ad276795 Fixing bug #3605 1999-05-05 01:10:25 +00:00
hyatt%netscape.com
01169c1e64 Changes to support window.open in AppRunner. 1999-05-04 23:29:06 +00:00
danm%netscape.com
e6c2df172d PresShell given owning reference to its nsDocument and nsPresContext. Prevents early deletion of these objects in some cases. Part of bug 5844. a:kipp 1999-05-04 23:27:42 +00:00
vidur%netscape.com
4849bf6f06 Fixed non-ANSII compliant code. 1999-05-04 20:53:44 +00:00
vidur%netscape.com
e9c1a4ccd0 Bug fix from Citec for clearing out parameter when an attribute doesn't exist 1999-05-04 20:51:42 +00:00
vidur%netscape.com
7366b9081c Added nsIContent implementation macro with SetParent defined locally 1999-05-04 20:50:43 +00:00
rods%netscape.com
0f31c214df Removed D&D statically defined IIDs and replaced them with the static class GetIID() 1999-05-04 14:55:24 +00:00
ramiro%netscape.com
5052d3c4c8 Part of fix for bugs 4445, 4768. Let the default rendering mode on unix
be "native" as it is on mac and win.
1999-05-03 21:32:15 +00:00
kipp%netscape.com
060e5e4b0f Fixed bug #4309 - propogated handling of floating image frames to floating object frame code during CantRenderReplacedElemen to avoid assertion check in block code 1999-05-03 16:07:47 +00:00
karnaze%netscape.com
14a2e6c1eb fixed crash in bug 5190, allowing a table to be the top level XML element. 1999-04-30 19:51:59 +00:00
joki%netscape.com
d1f2b3ef88 Adding scrolling fixes to fix bug #3999, A: chofmann 1999-04-30 19:38:39 +00:00
pinkerton%netscape.com
8a7e4f54d2 fix solaris bustage. 1999-04-30 10:14:35 +00:00
pinkerton%netscape.com
f4a6e3e199 fix win32 bustage. 1999-04-30 09:52:22 +00:00
pinkerton%netscape.com
1680448437 pinkerton/scc. appr chofmann. Bug #4127, et al. Fixing ownership models (more work to come). 1999-04-30 09:04:36 +00:00
pinkerton%netscape.com
7638e305fb added GetIID() method. 1999-04-30 08:59:11 +00:00
kipp%netscape.com
0227e28077 Disable rendering during presentation tear down 1999-04-30 00:08:17 +00:00
mjudge%netscape.com
391dd39d84 m5 BUGS Choffman approved. simon reviewed. removing possible memory leak and getting anchor and focus frame to use the proper range instead of addreffing a node each! tested this afternoon 1999-04-29 20:24:21 +00:00
mjudge%netscape.com
3c1b15a558 m5 BUGS Choffman approved. simon reviewed. fixing selection bug and removing unecessary methods in nsIFocusTracker.h 1999-04-29 20:23:24 +00:00
troy%netscape.com
d2b09d863b Fix for bug #5680. Re-arranged some assertion checking code 1999-04-29 18:29:56 +00:00
mjudge%netscape.com
5ac8a185c5 bug fix simon reviewed hoffman approved 1999-04-28 23:09:59 +00:00
troy%netscape.com
dc90d5782e Aded nsFrameConstructorState structure 1999-04-28 19:08:14 +00:00
sfraser%netscape.com
667ad857f7 Break out of the loop when iter->Next() fails (nil parent problem in the content iterator). 1999-04-28 06:38:19 +00:00
sfraser%netscape.com
696ffe3514 Fix nil parent crasher. 1999-04-28 06:37:51 +00:00
bruce%cybersight.com
25345b7651 Remove -lnetlib from link lines. Not needed. 1999-04-28 05:30:09 +00:00
mjudge%netscape.com
8319d9b381 oops left debug statement on 1999-04-28 03:01:27 +00:00
mjudge%netscape.com
77c2123120 fixing a plethora of bugs here. This will only set selection on the difference in the ranges before and after the ::Extend call. This will stop unnecessary drawing ect. The flickering that may be seen now is due to an invalidate compositor bug that will not allow me to queue up invalidate calls. this should be safe. 1999-04-28 02:45:19 +00:00
alecf%netscape.com
160e6847ae fix script C++ const-ness problem (pedantic bustage) 1999-04-28 02:27:03 +00:00
peterl%netscape.com
29f1037fd5 added background propogated flag 1999-04-28 01:51:02 +00:00
kipp%netscape.com
284ac2a592 Use correct content when creating first-letter and related frames so that style resolution works beyond the first time 1999-04-28 00:55:11 +00:00
kipp%netscape.com
2f9d97e73d Fixed bug in floater placement; use correct content object to get style for inline frames that contain first letter frames 1999-04-28 00:21:51 +00:00
vidur%netscape.com
02829b3ff6 Added nsIDOMNSRange method with InsertFragment method. Stub implementation for now. 1999-04-27 22:16:04 +00:00
kipp%netscape.com
896a295081 Create first-letter frames as needed 1999-04-27 22:14:54 +00:00
kipp%netscape.com
39c56cdb27 Removed compiler warnings 1999-04-27 22:14:17 +00:00
kipp%netscape.com
1c9b5f37dd Added more info to the list output 1999-04-27 22:08:48 +00:00
kipp%netscape.com
c9e26b1418 Removed unused variable 1999-04-27 22:07:43 +00:00
kipp%netscape.com
2abfa66475 Added letter and line frame 1999-04-27 22:07:22 +00:00
kipp%netscape.com
cb4bb53c2c Added an (as yet unused) predicate 1999-04-27 22:07:02 +00:00
sfraser%netscape.com
d74adaa259 WIP to get caret position in window coordinates for IME 1999-04-27 21:59:18 +00:00
ftang%netscape.com
2e97bf7dcc change S/GetDocumentCharacterSet method for nsIDocument interface. 1999-04-27 21:49:25 +00:00
troy%netscape.com
9a242a36e1 Factored some common code out into a separate function 1999-04-27 03:58:46 +00:00
troy%netscape.com
49e463ad97 Added code to ContentRemoved() to walk the child frames and look for
placeholder frames; the corresponding out-of-flow frames need to be
removed as well
1999-04-27 03:10:45 +00:00
kostello%netscape.com
67c64be801 Added Encoding of charset information
Encoded < and > as LT and GT character entities to fix bug #4709
1999-04-26 06:10:47 +00:00
mjudge%netscape.com
f302ca2537 selection changes for new model of content only. frames no longer contain variables referring to selection state outside of 1 bit. keyboard selection will now be disabled until i can get it working in the new selection world order. 1999-04-26 04:02:04 +00:00
troy%netscape.com
00edc72db6 Added flag bit NS_FRAME_OUT_OF_FLOW, and changed the frame construction code
to set it for floated and absolutely positioned frames
1999-04-25 17:20:53 +00:00
troy%netscape.com
c7748fdf2c Changed FindFrameWithContent() to check for a frame type of "placeholderFrame"
and return the out-of-flow frame instead
1999-04-25 17:00:24 +00:00
troy%netscape.com
eda127dabd Change so we use nsPlaceholderFrame frames for all placeholders 1999-04-25 16:58:42 +00:00