Граф коммитов

3064 Коммитов

Автор SHA1 Сообщение Дата
dbaron%fas.harvard.edu b4301cc0a7 Change the way nsDocument stores its children by replacing separate nsVoidArrays for prolog and epilog with a single nsISupportsArray that also holds the root element. Using this change, simplify many of the child handling methods in nsDocument (and fix some bugs in them). Since nsDocument no longer uses prolog and epilog, remove AppendToProlog and AppendToEpilog from nsIDocument. b=47850 r=jst@netscape.com sr=vidur@netscape.com 2001-01-25 14:19:38 +00:00
mcafee%netscape.com 7ecf530933 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil 2001-01-25 02:58:12 +00:00
brade%netscape.com ee79b12867 always absolutize urls in html copy encoder (doing the right thing is covered in bug #32768) 2001-01-24 14:59:57 +00:00
dr%netscape.com 1dbdc070e6 fix for 65897 (fixes annoying warning in nsIStyleSet.h) r=saari, sr=waterson 2001-01-24 01:36:03 +00:00
darin%netscape.com 6a7567992b Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.
2001-01-23 22:10:34 +00:00
vidur%netscape.com 6962d4a540 Fix for bug 63081. We remove carriage returns passed to us by the parser in the copy from the sink buffer to the content model. r=jst 2001-01-22 23:11:02 +00:00
jst%netscape.com 6d379787a0 Removing unused variable. 2001-01-22 06:38:19 +00:00
pierre%netscape.com bda1df7356 added brakets in switch() statements in a vain attempt to fix the unix build bustages 2001-01-20 23:33:29 +00:00
pierre%netscape.com 62bf433a35 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster. 2001-01-20 22:46:54 +00:00
jst%netscape.com ca95f73574 Fixing bug 54780. Checking in patch from heikki@netscape.com that makes nsDOMImplementation::CreateDocument() return the return value from NS_NewDOMDocument() instead of just ignoring it. r=me, r=disttsc@bart.nl, sr=none (trivial change). 2001-01-19 07:56:38 +00:00
buster%netscape.com ac529c9c80 ok, now I think I've got the syntax correct 2001-01-16 23:30:16 +00:00
buster%netscape.com 0244d7d3f8 another try at working out the darn nsCOMPtr comparison for Linux 2001-01-16 23:23:02 +00:00
buster%netscape.com 03e943f0ab stupid friggin' .get() nsCOMPtr incompatibility on linux 2001-01-16 22:54:52 +00:00
buster%netscape.com 6a93e50850 bug 56432 ()
the problem was a factorial algorithm for finding primary frames.
fixed by added a hinting mechanism that takes advantage of existing
primary frame cache, greatly reducing the cost for the common case.
r=rods
sr=waterson
2001-01-16 22:10:04 +00:00
bratell%lysator.liu.se 76de73b0fc Cleanup of the HTML -> plain text converter. Bug 62189. r=anthonyd@netscape.com sr=vidur@netscape.com 2001-01-12 07:26:39 +00:00
bryner%uiuc.edu dadee9d0ea Removing dead nsISelfScrollingFrame interface. sr=hyatt. 2001-01-11 07:32:48 +00:00
jst%netscape.com 2ea689d151 Removing unused file. 2001-01-10 22:58:37 +00:00
akkana%netscape.com 21558c5361 42452,61173: output formatted lists even in unformatted plaintext output. r=bratell, sr=sfraser 2001-01-10 22:08:08 +00:00
buster%netscape.com cea85e5999 bug 61287 (The browser crashes on signing out of hotmail and msn calendar)
r=karnaze
sr=buster
patch submitted by lsv@sparc.spb.su
2001-01-10 20:30:37 +00:00
rods%netscape.com b61dc0dad6 Removing all references to GfxListControlFrame
Bug 62960 r=kmcclusk sr=hyatt
2001-01-10 14:50:27 +00:00
dbaron%fas.harvard.edu 618b924650 Change ScrollFrameIntoView so that scrolling to an inline frame scrolls to the top of the line containing the inline frame rather than the frame itself. This makes scrolling to empty inline anchors or anchors around images work better. b=38280 r=buster@netscape.com sr=waterson@netscape.com 2001-01-10 02:43:00 +00:00
sfraser%netscape.com 4b6091ab16 nsIDiskDocument is now xpidl-generated. bug and reviewers in previous checkin. 2001-01-10 00:06:28 +00:00
akkana%netscape.com 204fa06e11 17686: Add a pref to control image animation. r=tor, sr=buster 2001-01-09 23:55:27 +00:00
sfraser%netscape.com a0dda75954 Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin 2001-01-09 22:47:02 +00:00
anthonyd%netscape.com dbd36fbbfb bug fix for 62796
sr=kin@netscape.com
a=jfrancis@netscape.com
r=jst@netscape.com
2001-01-09 21:44:35 +00:00
dcone%netscape.com 3b139c38ef Took outsome debug code which snuck in. 2001-01-09 20:41:05 +00:00
peterlubczynski%netscape.com 42fda587af removing dup of export of public nsIPrintContext.h 2001-01-08 23:02:14 +00:00
dcone%netscape.com 622457942e Took out a duplicate line. 2001-01-08 23:00:46 +00:00
peterlubczynski%netscape.com 59632ec989 export of public nsIPrintContext.h 2001-01-08 21:59:18 +00:00
dcone%netscape.com 00ee0bf117 export nsIPrintContext.h 2001-01-08 21:53:41 +00:00
waterson%netscape.com 3af168fb2e Bug 57026. Do not reparent views whenever we 'MoveChildrenTo()', because this breaks SplitToContainingBlock(): no views will have been created in this case! Instead, alter ConstructInline() to move views. r=karnaze, sr=buster. 2001-01-08 21:10:44 +00:00
disttsc%bart.nl 083eb1597b Fix Mac bustage 2001-01-08 21:04:51 +00:00
disttsc%bart.nl 4ddfa4faec Add newline to end of file 2001-01-08 21:02:13 +00:00
akkana%netscape.com d53a276b40 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser 2001-01-08 21:01:29 +00:00
disttsc%bart.nl 06ed27cfa1 Fix linux/unix bustage 2001-01-08 21:00:25 +00:00
dcone%netscape.com 0f7ab3cd10 Added nsIPrintContext interface.
Added this so you can now tell if your laying out to a printer.
r=attinasi sr=buster
2001-01-08 20:26:05 +00:00
pierre%netscape.com 7d4f85337f Not part of the build. Momentarily check in the StyleContext metrics before doing deeper changes. 2001-01-08 00:24:41 +00:00
cls%seawood.org 207f9c6a8c Backing out anthonyd's previous checkin as it is causing text boxes to not work anywhere on at least beos, linux & win32.
Bug #62796
2001-01-07 15:11:50 +00:00
anthonyd%netscape.com 433f8f528a bug fix for 62796 - various range fixes, including a crasher in Range::deleteContents()
sr=kin@netscape.com
r=jst@netscape.com
2001-01-07 04:52:23 +00:00
jst%netscape.com f3491667e7 Fixing bug 64513. Adding missing version number to a contract id. r=blakeross@telocity.com 2001-01-07 03:06:19 +00:00
rods%netscape.com edb0c6270c removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
cmanske%netscape.com 7db91fe68d Fixed selecting multiple rows, columns. Bug 64093, r=mjudge, sr=kin,sfraser 2001-01-04 00:24:39 +00:00
attinasi%netscape.com b2c258ed3c Fixed leak in StyleContextCache: destructor was not cleaning up hash table entries. r=dbaron sr=buster b=63627 2001-01-02 23:13:49 +00:00
timeless%mac.com e61af952fe fix for bug 63475 Code Cleanup. Based on style flaws noticed in bug 61287
r=bryner, sr=brendan@mozilla.org.
2001-01-01 03:58:07 +00:00
dbaron%fas.harvard.edu caa9658024 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com 2000-12-30 19:22:22 +00:00
blakeross%telocity.com 7f14eed94b Fix 41077: show caret during selection on Windows. r=rcassin@supernova.org sr=sfraser 2000-12-28 03:27:23 +00:00
heikki%netscape.com 03c0f143a1 Bug 45627 and bug 45552. XMLSerializer to deal better with empty elements, special characters, elements from the HTML namespace and namespaces in general, and processing instructions. Removed a lot of duplicate code in XML Extras component, and made several small optimizations with nsCOMPtr initializations. r=vidur, a=jst. 2000-12-27 23:48:10 +00:00
sspitzer%netscape.com e2cb4c98b7 I have no desire to hear hyatt moo. r=bryner 2000-12-27 22:37:09 +00:00
anthonyd%netscape.com 795524ba64 fix for bug#58028 - Range CompareBoundaryPoints returning incorrect values
r=jst,kin
a=kin
2000-12-27 00:37:01 +00:00
jst%netscape.com 3c2288e0b9 Redoing the way code is shared between different element classes in mozilla, in stead of having an inner object (mInner) and forwarding function calls to the inner object the elements now inherit from what used to be the inner object. Previously nsIJSScriptObject and nsIContent (and related interfaces) were implemented on all leaf classes (~60 classes) and all the methods in those interfaces were forwarded to the inner object, now all those methods are inherited in stead. This saves us ~3600 methods in the layout library (and 160k of code on linux) and cleans the code up considerably. r=pollmann@netscape.com, harishd@netscape.com sr=vidur@netscape.com. 2000-12-23 10:56:31 +00:00
koehler%mythrium.com 37ea41723f Bug 59528 - BeOS: images are drawn outside of its bounding box - r=cls 2000-12-22 23:19:04 +00:00
mkaply%us.ibm.com 6767d8308d OS/2 TB breakage
PR_CALLBACK
2000-12-22 02:39:03 +00:00
attinasi%netscape.com e3de75832c Turning the Style Context FastCache back on. a=hyatt@netscape, reviewed previously by pierre@netscape.com 2000-12-21 23:34:44 +00:00
attinasi%netscape.com 09cf5ac2fb Fixes regression due to Style Data sharing: forcing shared contexts to be unique now when they have to be reresolved. b=63118 r=karnaze@netscape.com a=buster@netscape.com 2000-12-21 22:16:38 +00:00
cmanske%netscape.com f731cf305a Reinstating table selection work for bug 57863 and fixed textfield.value bug 63376. r=kin, sr=sfraser 2000-12-20 22:13:54 +00:00
leaf%mozilla.org c7984c2caa backing out regression-causing changes to reopen tree 2000-12-20 18:09:53 +00:00
cmanske%netscape.com b6319b5e1c Convert IDL defines from short to long so enums are PRInt32 on all platforms (fixing build bustage) 2000-12-20 03:15:16 +00:00
cmanske%netscape.com 356492b2a7 Trying to fix speedracer build bustage 2000-12-20 02:56:17 +00:00
cmanske%netscape.com 3313e50daa Table selection work (part of b=57863): Moved param for GetTableSelectionDate from .h to .idl, requiring change from PRUint32 to PRInt16 for all users. Table Cell ranges are now added in document order (location in table) when selecting multiple cells. Refactored table selection methods and fixed leaks. r=mjudge, sr=kin 2000-12-20 01:36:41 +00:00
dbaron%fas.harvard.edu 277d3af41f Make destructors that exist only for MOZ_COUNT_DTOR be #ifdef NS_BUILD_REFCNT_LOGGING instead of #ifdef DEBUG so the leak stats on optimized builds are correct. r=waterson@netscape.com sr=brendan@mozilla.org b=62421 2000-12-16 18:56:06 +00:00
blakeross%telocity.com 55a951a987 Fixing a typo (refrlow -> reflow). r=attinasi sr=alecf 2000-12-15 23:48:55 +00:00
attinasi%netscape.com 95bcfca9fc Turned on Style Context Data Sharing. b=39618, r=pierre, sr=hyatt 2000-12-15 06:09:50 +00:00
jst%netscape.com 90ec69406d Fixing bug 62160, accessing ins or del elements from JS didn't work and caused a crash in the JS GC later on. sr=scc@mozilla.org, r=ben@netscape.com 2000-12-15 05:48:19 +00:00
hyatt%netscape.com 14719259ef Fix for 62301. r=hewitt, sr=ben 2000-12-14 09:32:39 +00:00
vidur%netscape.com 4f62c23956 Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst 2000-12-12 21:58:13 +00:00
hyatt%netscape.com 4ed7ab545c Fixing linux build bustage 2000-12-10 09:47:05 +00:00
hyatt%netscape.com f3bcc6fe36 Speeding up retrieval of anonymous nodes by removing a redundant copy.
a=ben@netscape.com
2000-12-10 09:21:22 +00:00
hyatt%netscape.com c2919eaadb Adding support for box objects to XML and HTML. Fixed focus bug with Generic Elements
r=jst@netscape.com, a=ben@netscape.com
2000-12-10 09:19:59 +00:00
bryner%uiuc.edu e3a92267ce Mousewheel bugs 29244, 50339, 42313, 33733, and 57598. r=rods,pavlov. sr=hyatt. 2000-12-09 07:28:19 +00:00
dbaron%fas.harvard.edu fa7d014c05 Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2000-12-09 04:46:08 +00:00
dbaron%fas.harvard.edu 2b2160f1b0 Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2000-12-09 04:21:51 +00:00
hyatt%netscape.com feae09e1ac Fix for smoketest bugscape blocker bug #3467. 2000-12-08 01:43:02 +00:00
attinasi%netscape.com d97aa7f2cb Changes to put style data into the layout regression data output. r=karnaze, a=waterson 2000-12-07 15:31:40 +00:00
hyatt%netscape.com 5616358584 This patch enables the tree widget to use custom tags via XBL. a=ben 2000-12-07 10:12:02 +00:00
cls%seawood.org a208c58c4e Update REQUIRES. 2000-12-03 22:33:51 +00:00
hyatt%netscape.com 23b11f2ecb Enabling cross-namespace extensions for XBL. r=hixie, a=ben 2000-12-02 09:47:47 +00:00
rods%netscape.com 372efcc2b1 uncommenting out a line for tracking reflow performance
b=61496 r=kmcclusk, sr=waterson
2000-11-30 21:46:12 +00:00
locka%iol.ie 2b03ecf7c9 New encoder fixup helper interface. b=57996, r=jst 2000-11-30 01:08:22 +00:00
mjudge%netscape.com bb5be88f75 added in code to allow GetSelection() to work. r= mstoltz 2000-11-29 00:13:00 +00:00
hyatt%netscape.com 8c667697ed menu bug fx r by danm ben 2000-11-28 23:35:04 +00:00
hyatt%netscape.com 3f9e12209c Fix insertion point reparentin gissue with blocks. r=hixie, a=ben 2000-11-28 10:10:41 +00:00
hyatt%netscape.com c594262a0d Move menulist entirely into XBL. a=ben 2000-11-28 08:52:36 +00:00
hyatt%netscape.com 648c6854aa Removing obsolete frames from XUL dir. a=ben 2000-11-28 07:13:14 +00:00
jst%netscape.com f6a582b216 Getting rid of some static nsIID's in favor of using the NS_GET_IID() macro. sr=rpotts, r=pollmann 2000-11-28 04:11:37 +00:00
rods%netscape.com e419703ac9 GetStateProperty now clears the outgoing arg before appending the new value.
b=61297, r=jst,a=hyatt
2000-11-28 02:35:41 +00:00
heikki%netscape.com eee8382134 Bug 59675, fixing uninitialized variables. r=jst, a=waterson. 2000-11-27 23:23:28 +00:00
karnaze%netscape.com b66f36dbfe bug 56563 - frame constructor creates anonymous frames when a table has a child which is not table related.
ConstructFrameByTag takes additional arg indicating that a whitespace frame was not constructed. sr=buster, r=attinasi
2000-11-27 22:47:33 +00:00
hyatt%netscape.com 5af6f6e116 Fix for 51264. r=danm, a=ben 2000-11-27 22:00:33 +00:00
hyatt%netscape.com d9f3df81f0 Patch for 55595. r=joki, a=brendan 2000-11-27 07:55:20 +00:00
cls%seawood.org 434edd6f33 Oops. Fixing bustage introduced by previous checkin. I forgot that XPIDL_MODULE is sometimes set by MODULE. r=blizzard Bug 59454 2000-11-21 00:18:46 +00:00
cls%seawood.org 66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
karnaze%netscape.com fc5eb07d17 bug 48028 - changed frame constructor's AppendContent to handle both a caption child list and a row group
child list. a=buster, r=attinasi.
2000-11-15 23:19:37 +00:00
karnaze%netscape.com bdd0ecd223 bug 57378 (table portion) - don't repeat a thead or tfoot that is larger than 25% of the page. a=buster, r=attinasi. 2000-11-15 22:26:35 +00:00
alecf%netscape.com 5188e81a23 changing NS_DEBUG to DEBUG_attinasi to quiet down the console output
(no bug - this is just changing some debug-only #ifdefs)
2000-11-13 08:27:01 +00:00
jst%netscape.com 36ed715e12 Fixing bug 48031. Adding missing nullpointer checks to fix crashes in AppendChild(), RemoveChild(), ReplaceChild(), ... in nsDocument. r=nisheeth, sr=vidur 2000-11-09 06:38:00 +00:00
dbaron%fas.harvard.edu 64ab978d6a Fix leak of nsDOMScriptObjectFactory by freeing in layout module destructor. r=jst@netscape.com sr=brendan@mozilla.org b=43576 2000-11-08 03:17:18 +00:00
dbaron%fas.harvard.edu 638b1b16f4 Fix leak of an nsIURI (the URL of the quirk stylesheet). Patch from inaky.gonzalez@intel.com. r=attinasi@netscape.com sr=brendan@mozilla.org b=43656 2000-11-08 03:13:53 +00:00
heikki%netscape.com 3870ddca29 Bug 59389, eliminate nsIContent::IsSynthetic(). r=jst, a=vidur. 2000-11-08 00:42:42 +00:00
heikki%netscape.com de2d514804 Bug 48886, fix UMR and clean up some ugly code. r=jst, a=vidur. 2000-11-08 00:31:06 +00:00
bratell%lysator.liu.se 9f981fd116 Fix for 59181. HTML lists and format=flowed don't work together. The solution is to disable flow when lines are indented. r=akkana sr=vidur 2000-11-07 20:02:54 +00:00