575 Commits

Author SHA1 Message Date
nisheeth%netscape.com
9ca0e1429c Fixed build warning and removed NS_TIMER_STYLE_RESOLUTION define.
git-svn-id: svn://10.0.0.236/trunk@48405 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 21:36:53 +00:00
nisheeth%netscape.com
a7e5337544 Move implementation of nsITimeRecorder from the pres context to the style set.
git-svn-id: svn://10.0.0.236/trunk@48333 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-20 06:53:40 +00:00
rpotts%netscape.com
5fd55c1f5c Changed GetDocumentLoadGroup(...) to be XPCom complient. This helps prevent leaks when using nsCOMPtrs.
git-svn-id: svn://10.0.0.236/trunk@48176 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-18 06:20:49 +00:00
kipp%netscape.com
8ebf1dd75a Squish a warning or two
git-svn-id: svn://10.0.0.236/trunk@48002 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:16:37 +00:00
alecf%netscape.com
09083e9ef5 fix scrollbar crash
git-svn-id: svn://10.0.0.236/trunk@47923 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 05:15:00 +00:00
kipp%netscape.com
ffc7966b7d Zapped mCompatFloatMargin hack
git-svn-id: svn://10.0.0.236/trunk@47887 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 00:57:06 +00:00
kipp%netscape.com
458a973efc Added in mCompatFloaterMargin
git-svn-id: svn://10.0.0.236/trunk@47812 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 19:55:28 +00:00
rpotts%netscape.com
24fa269e8b Added a missing NS_DEFINE_STATIC_IID_ACCESSOR...
git-svn-id: svn://10.0.0.236/trunk@47766 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 08:50:18 +00:00
kipp%netscape.com
741d1860b8 formatting sillyness
git-svn-id: svn://10.0.0.236/trunk@47637 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 20:30:36 +00:00
harishd%netscape.com
4f8277bc56 Fixing build bustage...hopefully.
Missed a file


git-svn-id: svn://10.0.0.236/trunk@47605 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 18:28:10 +00:00
harishd%netscape.com
e1a0ea3e26 Adding support for htmlL DOCTYPE for
XIF conversion.


git-svn-id: svn://10.0.0.236/trunk@47594 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 17:55:26 +00:00
sfraser%netscape.com
6085e624c9 Make function static to eliminate warning.
git-svn-id: svn://10.0.0.236/trunk@47454 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 23:40:52 +00:00
mjudge%netscape.com
8462665913 content iter not initing properly for reuse. text frame not selecting slowly properly, bad bounds checking :(. rangelist now traversing each node in a spaniter with a normal iter to make SURE we get all the children!
git-svn-id: svn://10.0.0.236/trunk@47447 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 23:16:22 +00:00
akkana%netscape.com
8fc8b5c72c Set default wrap column to 72 instead of 0
git-svn-id: svn://10.0.0.236/trunk@47396 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 21:32:06 +00:00
vidur%netscape.com
407d5256ec Fix for bug 13192. Document is parented by the global object of the container context, not the calling context.
git-svn-id: svn://10.0.0.236/trunk@47276 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 04:17:07 +00:00
warren%netscape.com
d54498ba38 Removed caps dependency from necko. Used nsCOMPtr for nsInputStreamChannel.
git-svn-id: svn://10.0.0.236/trunk@46961 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-11 18:45:36 +00:00
akkana%netscape.com
d9a941b563 Fix UMRs
git-svn-id: svn://10.0.0.236/trunk@46829 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-10 19:12:46 +00:00
kipp%netscape.com
a96c4b22f1 Fixed up line-height calc code to be more optimal; tweak changes to list-style properties to trigger reflows
git-svn-id: svn://10.0.0.236/trunk@46618 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 20:51:57 +00:00
peterl%netscape.com
e77016e4bb set line height to inherit only as needed
init ref count before first remap style


git-svn-id: svn://10.0.0.236/trunk@46521 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 05:37:37 +00:00
vidur%netscape.com
bb6ee90548 Reporting better nsresults to DOM methods.
git-svn-id: svn://10.0.0.236/trunk@46440 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 23:18:27 +00:00
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
kipp%netscape.com
ee5f7e7837 Added in GetTextLength and CopyText methods for the MathML folks
git-svn-id: svn://10.0.0.236/trunk@44910 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 21:40:13 +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
evaughan%netscape.com
fd72782f13 xpscrollbars
git-svn-id: svn://10.0.0.236/trunk@43717 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-19 22:16:23 +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