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

144 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 0b0c3f7646 Add nsIContent::GetBaseURL; get rid of similar functions on nsIXMLContent and
nsIHTMLContent.  Bug 209573, r=caillon, sr=jst.
2003-07-03 02:45:34 +00:00
roc+%cs.cmu.edu 3d6b2b44f3 ongoing deCOMtamination work. r+sr=dbaron 2003-06-27 18:13:48 +00:00
smontagu%netscape.com 7eb3ac3127 Bug 173408 Fixes to the algorithm for Ethiopic numbered lists. Author=yacob@geez.org, r=smontagu, sr=jag 2003-06-26 19:46:51 +00:00
smontagu%netscape.com 504a666bb2 Bail out gracefully from numbered lists not expressible in Roman numerals. Bug 210128, rs=bzbarsky. 2003-06-20 18:34:34 +00:00
caillon%returnzero.com 2df173e9c8 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
bzbarsky%mit.edu 8b80364217 Make some static data const in layout. Bug 204073, patch by ataylor@its.to
(Andrew Taylor), r=bzbarsky, sr=alecf
2003-05-27 03:52:33 +00:00
dbaron%dbaron.org 75ff60c62f Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
bzbarsky%mit.edu 2c56e0638e Landing bug 83774 -- move image loading for <img>, <object>, <embed>, <input
type="image"> into the content nodes and out of nsImageFrame.  r=pavlov, sr=jst
2003-03-19 03:47:09 +00:00
bzbarsky%mit.edu 792d30905e Eliminate libpr0n's use of prescontexts as unique keys; use documents instead
and do not hold a ref to them.  Bug 190475, r=pavlov, sr=jst
2003-02-26 05:51:32 +00:00
bryner%netscape.com e43f5a49fd Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
dbaron%dbaron.org 57124d8115 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky 2003-01-09 14:26:32 +00:00
dbaron%dbaron.org 14c5b6b776 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 21:19:10 +00:00
bzbarsky%mit.edu 1bf04ab28d Allow list labels to be negative. Bug 56088, r=caillon, smontagu, sr=roc+moz 2002-11-09 18:33:37 +00:00
bzbarsky%mit.edu 2af0dceb8a Use the list-style-type if our list-style-image does not load. Bug
178371, r=caillon, sr=dbaron
2002-11-06 01:58:22 +00:00
rpotts%netscape.com b5533b4cc8 bug #145579 (r=darin, sr=jst) send the correct referrer for images... 2002-09-17 18:59:41 +00:00
bzbarsky%mit.edu 8bcb659f61 Add some more Ethiopic list styles. Bug 154503, patch by yacob@geez.org
(Daniel Yacob), r=dbaron, rs=brendan, a=asa
2002-07-12 20:46:19 +00:00
karnaze%netscape.com 1faf4c0592 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
jst%netscape.com 1075a3f80d Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
waterson%netscape.com e3554c37cc Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi 2002-05-10 18:22:41 +00:00
darin%netscape.com f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
alecf%netscape.com cd8f07f3e8 bug 127091 - big string cleanup, removing old APIs
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa
2002-03-04 23:18:21 +00:00
morse%netscape.com 662e2a6a2e bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz 2002-03-02 01:26:49 +00:00
jshin%mailaps.org fffe4a1fb9 Add CS Styles for Ethiopian/Eritrean Languages (per
info. presented at http://www.ethiopic.org/Collation/OrderedLists.html
by yacob@geez.org).
bug 102252, r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org
2002-02-15 09:21:08 +00:00
alecf%netscape.com 30a6af4a50 fix for bug 112209 - remove last consumers of nsStr:: routines
r=dbaron, sr=jst
2002-01-25 00:26:44 +00:00
alecf%netscape.com 4390fff47d factor out some table-based string manipulation routines to make it easier to seperate unicode vs. 8-bit character strings. bug 114450, r=dbaron sr=jag 2002-01-15 22:57:29 +00:00
bernd.mielke%snafu.de 9eaa65079e bug 118794 remove pxiel frame error r=mkaply sr=attinasi
bug 110596 adding form frames to debug reflow - part2 r=karnaze sr=attinasi
2002-01-09 15:27:41 +00:00
timeless%mac.com 61a97fd94a Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
waterson%netscape.com 854831c91c Bug 115113. Eliminate nsIReflowCommand, and just use nsHTMLReflowCommand directly. r=karnaze, sr=attinasi. 2001-12-17 22:39:59 +00:00
jaggernaut%netscape.com 97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
nhotta%netscape.com 359f5fea05 Adding Georgian charset GEOSTD8, contributed by giasher@wanex.net, bug 107533, r=ftang, rs=brendan. 2001-11-22 00:13:10 +00:00
karnaze%netscape.com 436e1ac49e bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd 2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu f2ee8260a0 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
rbs%maths.uq.edu.au 32cf016db5 bug 102088 - Cleanup transitory font APIs that were used as a bridge in bug 99010, r=waterson, sr=attinasi 2001-10-30 22:58:00 +00:00
karnaze%netscape.com e38dff73f8 bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov 2001-10-29 01:43:59 +00:00
pavlov%netscape.com eae061c13e fix for bug 92248 r=bryner sr=jst 2001-10-06 05:08:16 +00:00
vidur%netscape.com 4966d85f91 Fixes for printing bugs 84017 and 89151. The fix for bug 84017 removes the need for a resize reflow to get form frame values to print. The restoration of these values into the new frame model is done as part of the initial reflow. The fix for bug 89151 gets rid of the extra frame model built and forces printed images to come out of the decoded image cache. r=darinf, heikki, sr=rpotts 2001-09-29 17:50:15 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
karnaze%netscape.com e908dd0313 bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov. 2001-09-19 12:35:19 +00:00
dbaron%fas.harvard.edu 9904d904df Change NS_SUCCEEDED check to null-check since GetDocument may return a null document. r=jag sr=waterson b=99056 2001-09-10 19:39:25 +00:00
pavlov%netscape.com 1e20984ef0 fixing bug 78690. removing old imagelib. r=jst sr=waterson 2001-08-09 20:22:39 +00:00
dbaron%fas.harvard.edu 5c00ae3d05 Add two Korean list styles (-moz-hangul and -moz-hangul-consonant) and rename existing list-style-type values that are our extensions to use -moz- prefix. Patch from Jungshik Shin <jshin@pantheon.yale.edu>. r=dbaron sr=attinasi b=63574 2001-07-04 02:05:59 +00:00
jaggernaut%netscape.com 5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
hyatt%netscape.com b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
erik%netscape.com 60f509e6a3 a name change outside the IBMBIDI ifdef caused the ifdeffed code to break;
this change fixes that; no bug number, r, sr
2001-04-05 23:50:10 +00:00
rods%netscape.com f225ff8a67 Display frame reflow counts (turned via config file define)
Bug 71514 r=kmclusk sr=attinasi
2001-03-13 01:47:22 +00:00
erik%netscape.com 06d55ad850 bug 71370; author=simon@softel.co.il; r=attinasi; sr=erik; implement bidi
(bidirectional text) for languages such as Arabic and Hebrew; from IBM bidi
project; not part of build yet (due to #ifdef IBMBIDI)
2001-03-09 03:29:00 +00:00
rods%netscape.com 99666eed8c This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
rpotts%netscape.com 5b6a19400c bug #55703 (sr=buster). Stop leaking images in nsBulletFrame... 2000-10-09 06:23:37 +00:00
roc+%cs.cmu.edu e48b1ae6a0 Adding call to new view API so that the view of a fixed-position frame has a Z-order/clipping parent which is not its geometric parent. Bug 39621. r,a=waterson 2000-08-12 19:44:11 +00:00
kmcclusk%netscape.com f2757fb84d Changed nsBulletFrame to set the dirty flag on the it's parent's first frame instead of itself when an Image is updated b=36703 r=buster@netscape.com tested on WINNT, Linux 2000-06-08 23:19:38 +00:00
rods%netscape.com 21de9f3e8a Add ifdef'ed Performance Reflow Counting code 2000-04-21 14:59:47 +00:00
pierre%netscape.com 0a1b7cc547 Implemented i18n list-style-types. Thanks to bakibon@yahoo.com. 2000-04-21 08:05:29 +00:00
nisheeth%netscape.com 7b7f9d1021 Fix for bug 30958: Reflow commands are now processed asynchronously all the time. The semantics of the API for queuing and processing reflow commands has changed. Now, AppendReflowCommand() initiates an asynchronous reflow event and all reflow command processing happens when that event fires. It is no longer possible for consumers outside the presentation shell to call ProcessReflowCommands() synchronously. Because of this change, reflow locks are no longer needed and have been removed. 2000-04-17 07:13:57 +00:00
scc%netscape.com b4caf7e667 making string conversions explicit 2000-04-16 11:19:26 +00:00
scc%netscape.com 52bdf65d60 making string conversions explicit 2000-04-15 21:18:29 +00:00
scc%netscape.com e37740acdb making string conversions explicit 2000-04-03 11:39:09 +00:00
pierre%netscape.com 4d43de09aa Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible). In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame. In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701. 2000-03-17 10:15:13 +00:00
attinasi%netscape.com ce3264433d Put an Invalidate call in ::Reflow when the image has changed - image was not repainting before. b=21225 r=buster 2000-03-16 23:01:03 +00:00
nisheeth%netscape.com 9c6617b147 r=vidur. Add support for a new pref "layout.reflow.async.afterDocLoad" that enables async reflow in the pres shell only after the document is done loading. Cleaned up ExitReflowLock() so that it uses preferences to decide whether to do async reflow, not a parameter. 2000-01-25 16:00:44 +00:00
kmcclusk%netscape.com 4df6cffe8e Added NS_RELEASE's to fix leaking of nsIImage's. bug=19114; r=karnaze@netscape.com 1999-12-03 00:06:32 +00:00
tbogard%aol.net af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
vidur%netscape.com 375a018914 Fix for bug 13948. We now correctly store and retrieve an OL element with type=1. R=pollmann. 1999-11-12 02:06:09 +00:00
nisheeth%netscape.com ab25264f7b r=vidur. a=chofmann. Post a reflow event instead of doing reflow command processing synchronously. Currently this only happens on content appended and content inserted notificaitions in the pres shell. 1999-11-09 03:23:26 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
troy%netscape.com 1585a751fb Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
kipp%netscape.com 1f6b355fee r=troy; Use a custom frame type so that bullets show up properly in the frame sizing data 1999-10-14 23:08:58 +00:00
kipp%netscape.com ef65491e09 Temp tweak 1999-09-16 19:56:00 +00:00
kipp%netscape.com 056b8e9197 Fixed bug 10820 1999-09-09 21:02:02 +00:00
kipp%netscape.com 5be7df2d3e Fixed bug 12451 - use list-style-type when image doesn't load or is loading 1999-08-27 21:47:39 +00:00
troy%netscape.com c551fe3166 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
kipp%netscape.com fa08778e30 Support old-upper/lower-alpha/roman style constants 1999-07-02 22:27:03 +00:00
warren%netscape.com 1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
kipp%netscape.com b3cd5aa101 Use revised image loading apis 1999-04-13 21:49:58 +00:00
ftang%netscape.com 0af90f4741 fix the ignore 1 for 10 problem for cjk-ideographics style 1999-04-07 00:32:49 +00:00
ftang%netscape.com e31de78625 Re-org the file and put different number system into different function. Merge two characters list implementation . add hebrew/armenian/georgian/cjk-ideographics implementation. 1999-04-05 18:25:26 +00:00
ftang%netscape.com 095fc7a1f7 correct katakan/hiragana/katakana-iroha/hiragana-iroha list after reviewed by momoi. Add implementation for NS_STYLE_LIST_STYLE_DECIMAL_LEADING_ZERO. 1999-03-26 01:37:27 +00:00
kipp%netscape.com 60f52440cb Whacked paint methods to use new constants 1999-03-26 00:39:35 +00:00
kipp%netscape.com c9067260be Spanked to collapse inline-reflow with line-layout into line-layout; fixed bugs #1278, #1990, #3527, #1670, etc. 1999-03-18 21:03:25 +00:00
ftang%netscape.com e7304df551 add katakana, hiragana, katakana-iroha, hiragana-iroha, lower-greek 1999-03-09 01:56:02 +00:00
troy%netscape.com 04243649ce Eliminated some code that's no longer needed now that the info is in the
HTML reflow state
1999-03-06 01:40:29 +00:00
kipp%netscape.com d556e3e3cd Removed List method 1999-03-05 04:22:29 +00:00
troy%netscape.com 0debd6f0d1 Fixed some errors related to switch to using nsCOMPtr 1999-02-12 18:41:26 +00:00
kipp%netscape.com 36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
troy%netscape.com 9d570499cf Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
troy%netscape.com b974e26cea Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
kipp%netscape.com d77e41c463 Removed some unused variables 1999-02-03 19:09:37 +00:00
michaelp%netscape.com 0084e8879d modified for new DrawString()/GetWidth() APIs. 1999-01-28 05:03:58 +00:00
kipp%netscape.com 7f96144059 Spanked away SizeOf methods and nsIListFilter 1999-01-16 00:00:50 +00:00
peterl%netscape.com e86b440abd better base URL support
Checkin during red tree approved by sar
1999-01-15 01:57:58 +00:00
troy%netscape.com 036e6852f2 Removed the content-parent frame pointer. Now we just have the one geometric
parent
1999-01-14 05:16:23 +00:00
peterl%netscape.com 887cd5f867 sync to new attribute api 1998-12-20 01:21:23 +00:00
kipp%netscape.com c29e5116c7 Revised frame Paint API 1998-12-18 15:54:23 +00:00
kipp%netscape.com da289aba99 Moved to new Init/ctor seperation 1998-12-05 16:02:26 +00:00
kipp%netscape.com 5841a14537 new 1998-12-01 16:13:49 +00:00