Commit Graph

470 Commits

Author SHA1 Message Date
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
dcone%netscape.com
1b730ce55e Fixed printing to make sure all URL's are loaded before print.
Fixed the background tile render'er to save and restore clip.


git-svn-id: svn://10.0.0.236/trunk@39530 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 14:23:40 +00:00
sspitzer%netscape.com
1a634cefc1 back this out. causes build bustage. sorry
git-svn-id: svn://10.0.0.236/trunk@39519 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 07:13:06 +00:00
sspitzer%netscape.com
ddd0d7b722 use NS_DEFINE_CID instead of NS_DEFINE_CID where appropriate. fix warning
git-svn-id: svn://10.0.0.236/trunk@39517 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 07:00:22 +00:00
sspitzer%netscape.com
e57e2fad89 fix warning
git-svn-id: svn://10.0.0.236/trunk@39516 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 06:58:53 +00:00
akkana%netscape.com
a878369d02 Restructure the editor output routines to allow passing in
a mime type and a flag argument.  Also fix the following bugs:
9746: get rid of bogus empty <style> in head.
8143: save wrap column in editor shell in case it's set before the
      editor is created.
9470, 9488: allow explicit specification of formatted output.


git-svn-id: svn://10.0.0.236/trunk@39332 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-14 18:54:29 +00:00
akkana%netscape.com
35d9fdae2d 9180: add content comment, not XIF comment. r=chofmann
git-svn-id: svn://10.0.0.236/trunk@38740 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 22:43:46 +00:00
warren%netscape.com
85bce23814 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods.
git-svn-id: svn://10.0.0.236/trunk@38664 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 08:19:38 +00:00
peterl%netscape.com
24298c8d98 added color name string value
git-svn-id: svn://10.0.0.236/trunk@38552 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 01:31:34 +00:00
peterl%netscape.com
7e3e6baa95 better fixed font handling
git-svn-id: svn://10.0.0.236/trunk@38539 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 01:22:04 +00:00
peterl%netscape.com
bd6b8b2517 better memory handling
git-svn-id: svn://10.0.0.236/trunk@38537 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 01:20:43 +00:00
peterl%netscape.com
427a10abde propogate quirk mode into child contexts
git-svn-id: svn://10.0.0.236/trunk@38536 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 01:20:21 +00:00
peterl%netscape.com
a139f3c208 cleanup
git-svn-id: svn://10.0.0.236/trunk@38535 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 01:19:31 +00:00
akkana%netscape.com
b704d40ce3 Fix formatted plaintext output -- it wasn't following prettyprint or wrap length
git-svn-id: svn://10.0.0.236/trunk@38461 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 23:13:15 +00:00
andreas.otte%primus-online.de
03e69d05c3 NECKO only: replacing GetBuffer with ToNewCString and some error checking
git-svn-id: svn://10.0.0.236/trunk@38458 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-06 23:08:16 +00:00
kipp%netscape.com
18c54cf121 Made direction inheritable by tables in nav-quirks mode; cleaned up some linux specific compiler warning noise
git-svn-id: svn://10.0.0.236/trunk@38359 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-05 18:43:38 +00:00
radha%netscape.com
ff8c27a18d Don't use the values returned by NS_MakeAbsURL to pass it to link handler, when
a mailto: url is clicked. This is because netlib doesn't understand mailto: urls yet.
This will be fixed the right way after NECKO lands


git-svn-id: svn://10.0.0.236/trunk@38336 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-04 23:48:06 +00:00
andreas.otte%primus-online.de
722e2bb4b3 NECKO only: fixing MakeAbsolute when loading images, cleanup
git-svn-id: svn://10.0.0.236/trunk@38326 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-04 22:23:38 +00:00
andreas.otte%primus-online.de
ea2f6c0267 NECKO only: fixing MakeAbsolute when using link
git-svn-id: svn://10.0.0.236/trunk@38325 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-04 20:56:29 +00:00
jfrancis%netscape.com
783ce6aaf5 thread safety comes to nsRange
git-svn-id: svn://10.0.0.236/trunk@38273 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 11:14:08 +00:00
jfrancis%netscape.com
9b3f3bad50 fix for bug 8024
git-svn-id: svn://10.0.0.236/trunk@38254 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 06:19:11 +00:00
akkana%netscape.com
e5b828c0ce Fix DoPrettyPrint -- turning off prettyprinting was broken
git-svn-id: svn://10.0.0.236/trunk@38124 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 19:41:40 +00:00
troy%netscape.com
eda7c241f2 Added function FindPrimaryFrameFor()
git-svn-id: svn://10.0.0.236/trunk@37981 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-02 04:46:19 +00:00