114 Commits

Author SHA1 Message Date
peterv%propagandism.org
ca3bbc8275 Fix for bug 27382 (ownerDocument of orphan text and attr nodes is null). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@160598 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 10:22:36 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
b17b3249f7 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
dbaron%dbaron.org
5eab03ef1e Reduce headers brought in by nsRuleNode.h. Split nsRuleData into its own file. b=64023 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@159531 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-20 06:11:27 +00:00
dbaron%dbaron.org
2ffe6397c4 Trim unneeded includes to speed up compilation. b=64023 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@159321 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 06:32:16 +00:00
peterv%propagandism.org
0a98e68e54 Fix for bug 236408 (deCOMtaminate nsINodeInfoManager). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@158468 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-25 12:26:02 +00:00
bsmedberg%covad.net
41d6e4ccc6 Bug 239925 - fix static initializers in DOM/widget/libpr0n so that we can restart XPCOM safely r=jst sr=darin
git-svn-id: svn://10.0.0.236/trunk@157668 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-09 18:36:25 +00:00
roc+%cs.cmu.edu
8c8ded1801 Bug 245627. Minor deCOMtamination of HTML element constructor functions. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@157453 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-06 02:38:32 +00:00
darin%meer.net
c694e9c60d fixes bug 209804 "Assertion in xpcom/threads/nsAutoLock.cpp" r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155711 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:17:54 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
dbaron%dbaron.org
a12a464f6d De-COM-ify nsHTMLStyleSheet. b=239008 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@154709 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-12 21:56:09 +00:00
bsmedberg%covad.net
965bf776a9 Bug 233160 - separate style overlays out of nsIXULChomeRegistry r+sr=hyatt with additional lookovers from dbaron+bz
git-svn-id: svn://10.0.0.236/trunk@153758 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-09 19:59:09 +00:00
bryner%brianryner.com
62dee43850 deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153335 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-27 17:17:37 +00:00
bryner%brianryner.com
b4a1781861 Merge jsdom and gklayout libraries (bug 232247). r=dbaron, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@153136 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-24 03:22:35 +00:00
tor%cs.brown.edu
7123a364a3 Bug 231620 - build option for cairo svg renderer. r=alex sr=bryner a=chofmann
git-svn-id: svn://10.0.0.236/trunk@152717 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-12 16:05:54 +00:00
alex.fritze%crocodile-clips.com
937a1cf846 Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).

Not part of default build; code is #ifdef'ed out.

r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes


git-svn-id: svn://10.0.0.236/trunk@152468 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-07 12:39:26 +00:00
sicking%bigfoot.com
2d7b04ac1f More bug 195350 work: Make html use new nsAttrAndChildArray class.
r=caillon sr=jst


git-svn-id: svn://10.0.0.236/trunk@151849 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-26 19:22:05 +00:00
bryner%brianryner.com
70bf134ff4 Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@151636 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 09:35:59 +00:00
peterv%propagandism.org
94b69cb574 Miscellaneous cleanup. r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@151493 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:45:26 +00:00
bryner%brianryner.com
468d3e2e8d Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@150998 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 22:30:53 +00:00
jst%mozilla.jstenback.com
2affc5b4f0 Fixing bug 225837. DeCOMtaminating nsIContent more, making GetTag() return a weak raw pointer, and renaming GetTag() to Tag(), and making GetRangeList() return an const nsVoidArray*, and changing GetContentID() to return the id, and renaming it to ContentID(). r=jonas@sicking.cc, sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@149527 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:20:56 +00:00
caillon%returnzero.com
34f81b2b3a Ensure that content can always grab a security manager and namespace manager.
Bug 223373; r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@148521 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:53:08 +00:00
brade%netscape.com
9ed7ea5bcd add contract ids; r=kaie, sr=kin, bug=211360
git-svn-id: svn://10.0.0.236/trunk@144402 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-02 21:34:16 +00:00
scott%scott-macgregor.org
73a63a10b5 Bug #201891 --> lazily instantiate CSSFrameConstructor::gXBLService in order to break a weird cycle
with the component manager that can cause two instances of the xbl service to be created.
r/sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@143225 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-03 04:23:56 +00:00
cbiesinger%web.de
56652f5c5e 204072 r+sr=bz a=sspitzer Cache IOService and imgILoader in nsImageLoadingContent
git-svn-id: svn://10.0.0.236/trunk@142062 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-02 19:21:00 +00:00
harishd%netscape.com
689c7baec3 Fixing potential build bustage.
git-svn-id: svn://10.0.0.236/trunk@141651 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-23 01:53:51 +00:00
harishd%netscape.com
7ea3a77ed8 Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@141650 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-23 01:31:59 +00:00
bryner%netscape.com
6d58bc1d0d Remove now-unused nsScrollingView and nsIScrollbar implementations. Removed unused widget/public/nsWidgetSupport.h. Bug 201624, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@141538 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 23:01:36 +00:00
bryner%netscape.com
0c66a2052e Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@141016 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 00:56:27 +00:00
bzbarsky%mit.edu
4c60f37b9f Fixing merge conflict from bug 194240 the right way -- removing redundant
function decls.  r=mozbot.


git-svn-id: svn://10.0.0.236/trunk@140672 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 03:57:03 +00:00
alecf%netscape.com
bc74aa5083 fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@140556 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 04:51:07 +00:00
jst%netscape.com
08e9d026e0 Fixing bug 124412. Making nsXULDocument inherit nsXMLDocument to avoid the need to duplicate a large amount of code in nsXULDocument. Also removing nsMarkupDocument and nsIDOMEventCapturer that are no longer needed. Changing the inheritance of nsIDOMXULDocument to avoid ~60 or so forwarding methods, and doing a *lot* of code cleanup. r=bugmail@sicking.cc, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140344 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 07:41:30 +00:00
dbaron%dbaron.org
534c5ba47d Prevent display-reflow debugging code from cluttering up the leak stats by freeing objects on module shutdown. b=198676 r=bernd sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140064 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 15:09:17 +00:00
peterlubczynski%netscape.com
48cef544f1 Creating nsMediaDocument/nsPluginDocument to make full-page
plugins scriptable, bug 90256 r=jkeiser sr=jst


git-svn-id: svn://10.0.0.236/trunk@140032 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 03:20:23 +00:00
heikki%netscape.com
e1c2bcdb80 Bug 182323, implemented XPointer spec, we now support the framework, shorthand syntax, element, fixptr, xpath1 and xmlns schemes, and provide a proprietary API from scripts, r=sicking, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@139800 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 23:45:42 +00:00
dougt%netscape.com
4e91efe850 When I landed, i added back some of the extern's removed by bug 195153. doh! Fixing this problem.
git-svn-id: svn://10.0.0.236/trunk@139578 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-16 21:40:27 +00:00
dougt%netscape.com
fed2927b2c Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a “only include” cid list that can mask CID’s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
peterv%netscape.com
c96c6fa64f Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
git-svn-id: svn://10.0.0.236/trunk@138957 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 15:08:41 +00:00
sfraser%netscape.com
2636d9a8d0 Fix bug 74404: show caret drag feedback. r=brade, sr=kin
git-svn-id: svn://10.0.0.236/trunk@138640 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 23:09:51 +00:00
cbiesinger%web.de
2ce1496a15 97324 r=peterl/jst sr=jst/bz nsContentDLF.cpp should not use a static list of image types; also: 192023 Make DocLoaderFactories a service
git-svn-id: svn://10.0.0.236/trunk@138608 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 13:51:55 +00:00
bzbarsky%mit.edu
a99c8b3055 Make the parser recycling list in the loader a class static. Bug 190658,
r=sicking, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@138219 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 19:36:32 +00:00
bryner%netscape.com
2eeb9eaf48 Combine content and layout into a single library (bug 106161). r=dbaron, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@136296 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-14 07:08:59 +00:00
dbaron%fas.harvard.edu
c6828396c3 Release theme global in nsBox from layout module destructor instead of on a object count for objects whose destructors are not all called. (Adds nsBox to the leak stats, which will make leaks go up.) b=177807 r=bryner sr=roc
git-svn-id: svn://10.0.0.236/trunk@135093 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 02:33:33 +00:00
dbaron%fas.harvard.edu
7bfdf9ceaf Remove static nsCOMPtr from nsTextControlFrame. b=179228 r=jkeiser sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@134104 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 15:21:57 +00:00
dbaron%fas.harvard.edu
307f43b5a1 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:37:56 +00:00
mjudge%netscape.com
d412f97810 14835 r=pavlov sr=sfraser alpha blending on images to denote selection.
git-svn-id: svn://10.0.0.236/trunk@129222 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 03:03:49 +00:00
tor%cs.brown.edu
29d05986a2 Bug 137685 - gamma correction causing black backgrounds in embedding.
r=brendan, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@119642 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 23:21:25 +00:00
tor%cs.brown.edu
b8025de88e Bug 53597 - consistent gamma correction. r=dbaron, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@118919 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-13 10:03:59 +00:00
hewitt%netscape.com
7fd03a3524 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327


git-svn-id: svn://10.0.0.236/trunk@117710 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 02:46:01 +00:00
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00