Commit Graph

550 Commits

Author SHA1 Message Date
nisheeth%netscape.com
a3d25a6149 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
d8507f844e * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +00:00
rpotts%netscape.com
fb420fffee Null terminate the new buffer. 1999-08-28 05:12:11 +00:00
kipp%netscape.com
c939c02aac Nuked some warnings 1999-08-27 21:43:33 +00:00
kipp%netscape.com
c6628f4c30 Implement GetTextLength and CopyText methods from revised nsITextContent API 1999-08-27 21:40:47 +00:00
kipp%netscape.com
b509ac661c Added in GetTextLength and CopyText methods for the MathML folks 1999-08-27 21:40:13 +00:00
sfraser%netscape.com
2e370244a4 No longer need a pres shell for the document encoder; remove it. 1999-08-25 21:42:20 +00:00
jfrancis%netscape.com
9ea8122814 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
7aec7c434b 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
ff7a19a5bd 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
8ecf4be9ce 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
a12f942778 xpscrollbars 1999-08-19 22:16:23 +00:00
dp%netscape.com
29a08b0a4c 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
4617442db7 was neglecting to initialize a member 1999-08-08 02:06:31 +00:00
peterl%netscape.com
e0d10cc8d9 added != operator 1999-08-08 01:18:40 +00:00
peterl%netscape.com
6c14e16169 fix initial value of border collapse 1999-08-08 01:14:36 +00:00
joki%netscape.com
11585608e8 Adding new onselect event. Also slight modification to ender text widget focus behavior 1999-08-07 23:18:35 +00:00
jfrancis%netscape.com
79a58afed5 fixing unix bustage. compilers: viva la difference! 1999-08-06 12:14:39 +00:00
jfrancis%netscape.com
f3fbfca040 fixing range dom gravity bug first exposed by bug #10231 1999-08-06 10:33:09 +00:00
troy%netscape.com
71d5c08256 Changed frame construction code to use frame manager when modifying frame
model
1999-08-05 03:09:22 +00:00
valeski%netscape.com
92d1b7afd1 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
375eb2de71 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
6da92dc13c 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
e557b2140e Fixed incorrect inclusion of text elements in tag stack creation in CreateContextualFragment. 1999-07-28 05:26:16 +00:00
vidur%netscape.com
118ec90f2c Added new forwarding macro. 1999-07-28 05:25:44 +00:00
jfrancis%netscape.com
250bfcbd91 fix for bug 9842 (aka 8227) plus some thread safety improvements 1999-07-25 08:41:42 +00:00
jfrancis%netscape.com
205e3e3fec fix for bug 9935 1999-07-25 05:31:05 +00:00
jfrancis%netscape.com
4b1939dc92 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
9d991de5f0 added some experimental CSS3 properties
fixed style context impact reporting
1999-07-24 18:59:43 +00:00
nisheeth%netscape.com
a14ff6dcb2 Fix for bug 10028. We handle mixed case mailto urls properly now. 1999-07-22 22:34:28 +00:00
akkana%netscape.com
eeefe7ebd2 Fix selection bustage from yesterday 1999-07-22 19:42:21 +00:00
bienvenu%netscape.com
06518b721b fix windows build bustage for Akkana 1999-07-21 22:17:20 +00:00
akkana%netscape.com
65aa229045 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
a2519a14d6 Added missing addref. 1999-07-20 20:03:11 +00:00
warren%netscape.com
bf8423a769 Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
akkana%netscape.com
de29ba317c Try to fix windows build bustage 1999-07-20 00:24:11 +00:00
akkana%netscape.com
feb61c6d4c 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
d752334449 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
c0b1525970 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
3eacc5f5d8 sync to color api change 1999-07-18 00:30:30 +00:00
peterl%netscape.com
162a545b8d removed unused IID 1999-07-18 00:17:03 +00:00
peterl%netscape.com
4be5417e98 fix outline width cache
fix outline change computation
1999-07-18 00:16:35 +00:00
peterl%netscape.com
5ed314c7e6 cleanup string usage 1999-07-18 00:15:22 +00:00
peterl%netscape.com
02bb492ee5 removed unused imports 1999-07-18 00:15:03 +00:00
kipp%netscape.com
dd6cf0e923 Removed a compiler warning 1999-07-16 17:40:39 +00:00
warren%netscape.com
84bd74a4fd 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
6ee521a3aa yanked some function redefinitions if NECKO was defined 1999-07-15 15:17:43 +00:00
dcone%netscape.com
56e7a48d52 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
af8f0ad20d back this out. causes build bustage. sorry 1999-07-15 07:13:06 +00:00
sspitzer%netscape.com
e4c9dbea9b use NS_DEFINE_CID instead of NS_DEFINE_CID where appropriate. fix warning 1999-07-15 07:00:22 +00:00