Commit Graph
550 Commits
Author SHA1 Message Date
nisheeth@netscape.com 83c97d1dfd Added Get/Set methods to content IDs. An ID is used as a key to store state information about a content object and its associated frame object. The state information is stored in a dictionary that is manipulated by the frame manager (nsIFrameManager) inside layout. An opaque pointer to this dictionary is passed to the session history as a handle associated with the current document's state. 1999-08-31 10:06:17 +00:00
norris@netscape.com 4081075779 * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
rpotts@netscape.com ce972b596e Null terminate the new buffer. 1999-08-28 05:12:11 +00:00
kipp@netscape.com 8672371590 Nuked some warnings 1999-08-27 21:43:33 +00:00
kipp@netscape.com e41f3c3067 Implement GetTextLength and CopyText methods from revised nsITextContent API 1999-08-27 21:40:47 +00:00
kipp@netscape.com 4238f72358 Added in GetTextLength and CopyText methods for the MathML folks 1999-08-27 21:40:13 +00:00
sfraser@netscape.com 22f4dc3b43 No longer need a pres shell for the document encoder; remove it. 1999-08-25 21:42:20 +00:00
jfrancis@netscape.com 4036bf65f9 making nsPresShell and nsDocument support weak references; using weak references to docs and pres shells within the editor 1999-08-25 10:51:55 +00:00
vidur@netscape.com 833d7246c3 Parse delimiters out of Comment nodes. CharacterData Nodes now return an empty childNodes list instead of null. 1999-08-25 07:35:45 +00:00
akkana@netscape.com c359aafe41 Revise the doc encoder and content sink APIs yet again to make it easier
to add new flags (pass a flag in the constructor, rather than specific
booleans.  This in order to fix:
11249: Add flag to write only the body in html output.
1999-08-24 18:30:19 +00:00
akkana@netscape.com 1032b21b47 Ifdef DEBUG, then when doing nsRange::ToString, also dump node contents
to stdout via List() so we can see what's in the range besides text.
1999-08-19 22:20:57 +00:00
evaughan@netscape.com b3b0d5ed1c xpscrollbars 1999-08-19 22:16:23 +00:00
dp@netscape.com edbfa0d983 Backing out previous checkin per peterl advice. This caused bookmarks
and mailnews windows to show up blank.
1999-08-09 03:54:10 +00:00
jband@netscape.com 1a2b8751c6 was neglecting to initialize a member 1999-08-08 02:06:31 +00:00
peterl@netscape.com ec73c4faa8 added != operator 1999-08-08 01:18:40 +00:00
peterl@netscape.com 0f05aa56ce fix initial value of border collapse 1999-08-08 01:14:36 +00:00
joki@netscape.com 29600305de Adding new onselect event. Also slight modification to ender text widget focus behavior 1999-08-07 23:18:35 +00:00
jfrancis@netscape.com 584c6affce fixing unix bustage. compilers: viva la difference! 1999-08-06 12:14:39 +00:00
jfrancis@netscape.com d3fa6ba0bd fixing range dom gravity bug first exposed by bug #10231 1999-08-06 10:33:09 +00:00
troy@netscape.com d2e28c48a0 Changed frame construction code to use frame manager when modifying frame
model
1999-08-05 03:09:22 +00:00
valeski@netscape.com 26bc0f435d api change to nsIWebShell and nsIDocumentLoaderObserver. I've replaced all the old method delarations with the new versions. We now pass 'nsresult' types into the On*() methods instead of PRInt32. The PRInt32 arg type was causing data loss.
I also checked in a fix for bug 10848 (which prompted the api change), and 10549 (these changes were in nsWebShell.cpp).
1999-08-05 01:37:52 +00:00
kin@netscape.com d2ac075fe7 Fixes for bug #10231 (crash making list after select all)
and bug #10815 (Crash deleting selected text and table)

mozilla/editor/base/nsHTMLEditRules.cpp
  - Added check, in WillDeleteSelection(),  to see if
    endpoints of the range are in the body before calling
    GetBlockNodeParent(). (Bug #10231)
  - Modified GetPromotedPoint() to check for NULL in the
    case where aWhere == kEnd and GetChildAt() returns NULL.
    (Bug #10815)

mozilla/layout/base/src/nsGenericElement.cpp
  - Modified RangeAdd() so that it doesn't add
    a range if it's already in the list.  (Bug #10231)

mozilla/layout/base/src/nsRangeList.cpp
  - Modified GetPrimaryFrameForFocusNode() to
    initialize aReturnFrame and to return a failure
    if ChildAt() returns NULL. (Bug #10231)
1999-08-04 18:36:19 +00:00
mcafee@netscape.com 0b9f5c8bfb Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren 1999-08-03 20:51:41 +00:00
vidur@netscape.com a8c3fad00f Fixed incorrect inclusion of text elements in tag stack creation in CreateContextualFragment. 1999-07-28 05:26:16 +00:00
vidur@netscape.com 8efbf8b944 Added new forwarding macro. 1999-07-28 05:25:44 +00:00
jfrancis@netscape.com 5217566f09 fix for bug 9842 (aka 8227) plus some thread safety improvements 1999-07-25 08:41:42 +00:00
jfrancis@netscape.com 68a808f44c fix for bug 9935 1999-07-25 05:31:05 +00:00
jfrancis@netscape.com 1845bf6d3d fix for bug: subtree iterator had bug in init code that could cause iter to be empty. 1999-07-25 05:30:15 +00:00
peterl@netscape.com 338c22e4ac added some experimental CSS3 properties
fixed style context impact reporting
1999-07-24 18:59:43 +00:00
nisheeth@netscape.com 62230398c2 Fix for bug 10028. We handle mixed case mailto urls properly now. 1999-07-22 22:34:28 +00:00
akkana@netscape.com 195d9996e7 Fix selection bustage from yesterday 1999-07-22 19:42:21 +00:00
bienvenu@netscape.com ce6eeb8f9c fix windows build bustage for Akkana 1999-07-21 22:17:20 +00:00
akkana@netscape.com 91e204def6 Add a working implementation for nsDOMSelection::ContainsNode, and use it in nsDocument::IsInSelection for XIF conversion 1999-07-21 21:29:29 +00:00
warren@netscape.com df8d2a3241 Added missing addref. 1999-07-20 20:03:11 +00:00
warren@netscape.com ccfdb6afee Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
akkana@netscape.com 36223c1569 Try to fix windows build bustage 1999-07-20 00:24:11 +00:00
akkana@netscape.com 1e5679e724 Use the Range methods instead of homebrew stuff to determine when a point is contained in a range; eliminate code duplication 1999-07-19 22:41:49 +00:00
joki@netscape.com 3212c700d4 Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods. 1999-07-19 19:54:34 +00:00
mjudge@netscape.com 8e4c13fcd1 massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape. 1999-07-18 02:27:19 +00:00
peterl@netscape.com e62e699c1a sync to color api change 1999-07-18 00:30:30 +00:00
peterl@netscape.com f3616c4e5f removed unused IID 1999-07-18 00:17:03 +00:00
peterl@netscape.com eebaf6e5e9 fix outline width cache
fix outline change computation
1999-07-18 00:16:35 +00:00
peterl@netscape.com 03210f76e0 cleanup string usage 1999-07-18 00:15:22 +00:00
peterl@netscape.com 11d79bb667 removed unused imports 1999-07-18 00:15:03 +00:00
kipp@netscape.com c961abe092 Removed a compiler warning 1999-07-16 17:40:39 +00:00
warren@netscape.com 61a33642b8 Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
valeski@netscape.com 882ab7ee1d yanked some function redefinitions if NECKO was defined 1999-07-15 15:17:43 +00:00
dcone@netscape.com 10fe138110 Fixed printing to make sure all URL's are loaded before print.
Fixed the background tile render'er to save and restore clip.
1999-07-15 14:23:40 +00:00
sspitzer@netscape.com 9fdc1a958e back this out. causes build bustage. sorry 1999-07-15 07:13:06 +00:00
sspitzer@netscape.com f10401b2a2 use NS_DEFINE_CID instead of NS_DEFINE_CID where appropriate. fix warning 1999-07-15 07:00:22 +00:00