492 Commits

Author SHA1 Message Date
jfrancis%netscape.com
88a64c92bc fixing dom range gravity bug (see bug 13251)
git-svn-id: svn://10.0.0.236/trunk@46307 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 05:27:44 +00:00
akkana%netscape.com
65eef8b0cd Remove some redundant logic
git-svn-id: svn://10.0.0.236/trunk@46199 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-07 19:13:04 +00:00
peterl%netscape.com
791d9a651c added reparent style context
git-svn-id: svn://10.0.0.236/trunk@45965 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:35:41 +00:00
peterl%netscape.com
ca69e6a4f1 tracking UI & forms proposal changes
fixed impact of text decoration


git-svn-id: svn://10.0.0.236/trunk@45963 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 23:34:20 +00:00
karnaze%netscape.com
2c1d0d3778 changed default for nsStyleTable.mRules to NS_STYLE_TABLE_RULES_ALL
git-svn-id: svn://10.0.0.236/trunk@45579 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-02 00:06:35 +00:00
nisheeth%netscape.com
9a418f414b 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.
git-svn-id: svn://10.0.0.236/trunk@45321 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 10:06:17 +00:00
norris%netscape.com
3a6d863c13 * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments


git-svn-id: svn://10.0.0.236/trunk@45080 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 21:58:42 +00:00
rpotts%netscape.com
e6270075bd Null terminate the new buffer.
git-svn-id: svn://10.0.0.236/trunk@44979 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 05:12:11 +00:00
kipp%netscape.com
ee40827af0 Nuked some warnings
git-svn-id: svn://10.0.0.236/trunk@44917 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:43:33 +00:00
kipp%netscape.com
e8e2636fba Implement GetTextLength and CopyText methods from revised nsITextContent API
git-svn-id: svn://10.0.0.236/trunk@44911 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:40:47 +00:00
sfraser%netscape.com
98ceab82e9 No longer need a pres shell for the document encoder; remove it.
git-svn-id: svn://10.0.0.236/trunk@44529 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 21:42:20 +00:00
jfrancis%netscape.com
2a60fccebc making nsPresShell and nsDocument support weak references; using weak references to docs and pres shells within the editor
git-svn-id: svn://10.0.0.236/trunk@44483 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 10:51:55 +00:00
vidur%netscape.com
778fc0379d Parse delimiters out of Comment nodes. CharacterData Nodes now return an empty childNodes list instead of null.
git-svn-id: svn://10.0.0.236/trunk@44469 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 07:35:45 +00:00
akkana%netscape.com
131d318ad4 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.


git-svn-id: svn://10.0.0.236/trunk@44308 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-24 18:30:19 +00:00
akkana%netscape.com
a26cb0367a 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.


git-svn-id: svn://10.0.0.236/trunk@43721 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:20:57 +00:00
dp%netscape.com
3bb2d60d70 Backing out previous checkin per peterl advice. This caused bookmarks
and mailnews windows to show up blank.


git-svn-id: svn://10.0.0.236/trunk@42733 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-09 03:54:10 +00:00
jband%netscape.com
adfa9e8794 was neglecting to initialize a member
git-svn-id: svn://10.0.0.236/trunk@42690 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-08 02:06:31 +00:00
peterl%netscape.com
59670cf93c added != operator
git-svn-id: svn://10.0.0.236/trunk@42685 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-08 01:18:40 +00:00
peterl%netscape.com
8e281ce1df fix initial value of border collapse
git-svn-id: svn://10.0.0.236/trunk@42678 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-08 01:14:36 +00:00
joki%netscape.com
25eb777ec4 Adding new onselect event. Also slight modification to ender text widget focus behavior
git-svn-id: svn://10.0.0.236/trunk@42676 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-07 23:18:35 +00:00
jfrancis%netscape.com
4b7c2c1325 fixing unix bustage. compilers: viva la difference!
git-svn-id: svn://10.0.0.236/trunk@42437 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 12:14:39 +00:00
jfrancis%netscape.com
1231913111 fixing range dom gravity bug first exposed by bug #10231
git-svn-id: svn://10.0.0.236/trunk@42436 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-06 10:33:09 +00:00
troy%netscape.com
db679bfa7c Changed frame construction code to use frame manager when modifying frame
model


git-svn-id: svn://10.0.0.236/trunk@42257 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 03:09:22 +00:00
valeski%netscape.com
31d96c9cf3 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).


git-svn-id: svn://10.0.0.236/trunk@42248 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 01:37:52 +00:00
kin%netscape.com
c89294e709 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)


git-svn-id: svn://10.0.0.236/trunk@42152 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 18:36:19 +00:00
mcafee%netscape.com
7ff5fdfced Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren
git-svn-id: svn://10.0.0.236/trunk@42013 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 20:51:41 +00:00
vidur%netscape.com
ae363befb4 Fixed incorrect inclusion of text elements in tag stack creation in CreateContextualFragment.
git-svn-id: svn://10.0.0.236/trunk@41431 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 05:26:16 +00:00
vidur%netscape.com
e0bdbd7d5e Added new forwarding macro.
git-svn-id: svn://10.0.0.236/trunk@41430 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 05:25:44 +00:00
jfrancis%netscape.com
0cda9473d1 fix for bug 9842 (aka 8227) plus some thread safety improvements
git-svn-id: svn://10.0.0.236/trunk@41046 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 08:41:42 +00:00
jfrancis%netscape.com
35bcb68470 fix for bug 9935
git-svn-id: svn://10.0.0.236/trunk@41043 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 05:31:05 +00:00
jfrancis%netscape.com
ea158dfdcc fix for bug: subtree iterator had bug in init code that could cause iter to be empty.
git-svn-id: svn://10.0.0.236/trunk@41042 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-25 05:30:15 +00:00
peterl%netscape.com
2d98616fca added some experimental CSS3 properties
fixed style context impact reporting


git-svn-id: svn://10.0.0.236/trunk@40987 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-24 18:59:43 +00:00
nisheeth%netscape.com
16aa5a29e7 Fix for bug 10028. We handle mixed case mailto urls properly now.
git-svn-id: svn://10.0.0.236/trunk@40723 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 22:34:28 +00:00
akkana%netscape.com
8cdd3b1e3e Fix selection bustage from yesterday
git-svn-id: svn://10.0.0.236/trunk@40686 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 19:42:21 +00:00
bienvenu%netscape.com
a79e5cdd6d fix windows build bustage for Akkana
git-svn-id: svn://10.0.0.236/trunk@40531 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 22:17:20 +00:00
akkana%netscape.com
cf7c8e5dac Add a working implementation for nsDOMSelection::ContainsNode, and use it in nsDocument::IsInSelection for XIF conversion
git-svn-id: svn://10.0.0.236/trunk@40518 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-21 21:29:29 +00:00
warren%netscape.com
1ec5f066a6 Added missing addref.
git-svn-id: svn://10.0.0.236/trunk@40305 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 20:03:11 +00:00
warren%netscape.com
f1dfc48c58 Changed around load group insertion/removal to happen on mozilla thread.
git-svn-id: svn://10.0.0.236/trunk@40266 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 08:46:33 +00:00
akkana%netscape.com
7e6d908926 Try to fix windows build bustage
git-svn-id: svn://10.0.0.236/trunk@40198 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 00:24:11 +00:00
akkana%netscape.com
4ab5c89c92 Use the Range methods instead of homebrew stuff to determine when a point is contained in a range; eliminate code duplication
git-svn-id: svn://10.0.0.236/trunk@40176 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 22:41:49 +00:00
joki%netscape.com
065c158182 Updating DOM event apis and changing behavior to properly respect capturing, bubbling, and cancellation methods.
git-svn-id: svn://10.0.0.236/trunk@40134 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-19 19:54:34 +00:00
mjudge%netscape.com
329d39ba11 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.
git-svn-id: svn://10.0.0.236/trunk@39971 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 02:27:19 +00:00
peterl%netscape.com
011c395fd4 sync to color api change
git-svn-id: svn://10.0.0.236/trunk@39954 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:30:30 +00:00
peterl%netscape.com
171e1711a1 removed unused IID
git-svn-id: svn://10.0.0.236/trunk@39936 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:17:03 +00:00
peterl%netscape.com
30f365927d fix outline width cache
fix outline change computation


git-svn-id: svn://10.0.0.236/trunk@39935 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:16:35 +00:00
peterl%netscape.com
adaefc3b26 cleanup string usage
git-svn-id: svn://10.0.0.236/trunk@39932 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:15:22 +00:00
peterl%netscape.com
217ac4c011 removed unused imports
git-svn-id: svn://10.0.0.236/trunk@39931 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:15:03 +00:00
kipp%netscape.com
5703a15016 Removed a compiler warning
git-svn-id: svn://10.0.0.236/trunk@39709 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 17:40:39 +00:00
warren%netscape.com
84a03567fa Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
git-svn-id: svn://10.0.0.236/trunk@39678 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 11:14:36 +00:00
valeski%netscape.com
af0c97cc01 yanked some function redefinitions if NECKO was defined
git-svn-id: svn://10.0.0.236/trunk@39534 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 15:17:43 +00:00