96 Commits

Author SHA1 Message Date
bryner%netscape.com
c44337949a 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.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
jkeiser%netscape.com
ac42e42ba8 Make GetType() return int instead of nsresult (bug 167762), r=peterl@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@135468 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 23:38:09 +00:00
peterv%netscape.com
d103a96ada Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@134587 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-29 23:44:07 +00:00
jkeiser%netscape.com
664fc74eb6 Make default wrap soft again, fix up text reflow, remove cruft from button reflow (bug 164641), r=rods@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@129682 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 06:23:52 +00:00
dbaron%fas.harvard.edu
e8821b1085 Clean up unneeded includes of nsStyleUtil.h, and some other include cleanup in MathML. r=rbs b=71257 (|#include| changes only)
git-svn-id: svn://10.0.0.236/trunk@127461 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 11:52:20 +00:00
bzbarsky%mit.edu
281d89498a clean up some form control stuff (use common helpers and superclasses
for shared functionality where possible).  r=jkeiser, sr=jst


git-svn-id: svn://10.0.0.236/trunk@126548 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 23:50:08 +00:00
jkeiser%netscape.com
325bff7164 Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
@netscape.com, sr=bzbarsky@mit.edu, a=asa


git-svn-id: svn://10.0.0.236/trunk@125891 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-26 20:57:24 +00:00
jkeiser%netscape.com
0c2a8f4e96 Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122617 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 00:44:04 +00:00
jst%netscape.com
0e34136ef1 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
jst%netscape.com
7b7411c3ef Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121894 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:47:02 +00:00
jkeiser%netscape.com
f217d9c22f Move save/restore form control state to content (bug 108309). r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@117791 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 10:14:01 +00:00
jkeiser%netscape.com
317b99e5a5 Backing out 108308 due to pageload spike
git-svn-id: svn://10.0.0.236/trunk@117722 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 07:35:09 +00:00
jkeiser%netscape.com
55481f5be5 Move save/restore of form controls to content (bug 108309) (r=rods@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org)
git-svn-id: svn://10.0.0.236/trunk@117716 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 05:35:47 +00:00
dbaron%fas.harvard.edu
d9c3f3d651 Remove "layout.forms.use_standard_or_quirks" pref and the old quirks-mode form control code that it enabled. (See bug 91602.) b=131452 r=rods sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@117613 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 06:13:32 +00:00
dbaron%fas.harvard.edu
4d91361814 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117345 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:26:36 +00:00
alecf%netscape.com
8755908f04 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


git-svn-id: svn://10.0.0.236/trunk@115750 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:18:21 +00:00
alecf%netscape.com
f85a67075e one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag


git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +00:00
dbaron%fas.harvard.edu
307538c3e3 Do restoration of information in the layout history state immediately after frame initialization rather than using separate code within PresShell::ContentAppended that calls GetPrimaryFrameFor (which is slow and forces every frame into the primary frame map, inefficiently). b=109428 r=rods sr=waterson
git-svn-id: svn://10.0.0.236/trunk@111960 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 20:10:46 +00:00
bzbarsky%mit.edu
380edd4af3 Change more instances of NS_ConvertASCIItoUCS2 to NS_LITERAL_STRING.
Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@111953 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 19:39:51 +00:00
brade%netscape.com
2b0db8fe58 remove unused statics kISupportsIID and kViewCID saving 32 bytes (bug 117927; rs=glazou)
git-svn-id: svn://10.0.0.236/trunk@111697 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 15:43:20 +00:00
jst%netscape.com
81bf1f1956 Checking in John Keiser's <jkeiser@iname.com> fix for *tons* of form submission and <select> related bugs, see tracking bug 34297 for details. r=rods@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107083 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 07:40:01 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
alecf%netscape.com
3adcd56b31 bug 101562 - dont' use necko to unnecessarily create URIs just to load a string bundle. r=harishd, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103775 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:36:45 +00:00
rjesup%wgate.com
66b1bc3856 Backout of commits for bug 97299. This causes assertions, which means we
missed some spots where name was getting set.


git-svn-id: svn://10.0.0.236/trunk@103624 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 15:26:39 +00:00
rjesup%wgate.com
faf5fdf631 Bug 97299: Store font names in lowercase. r=pavlov, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103611 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 07:35:04 +00:00
rods%netscape.com
48fbd4f113 Disabling Quirks sizing for form controls, it can be put back in via a pref
and uncommenting a line in quirk.css
Bug 91602 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@101502 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 14:01:55 +00:00
bryner%netscape.com
7da361b479 Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@101283 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 08:14:14 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
jaggernaut%netscape.com
51b17b5bf0 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 :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
bzbarsky%mit.edu
2719fce5ec Fix bug 77110. Make us treat wrap="physical" like NS 4.x and IE do, not
as it was originally (in NS 2.x) intended.  r=timeless, sr=attinasi,
a=blizzard


git-svn-id: svn://10.0.0.236/trunk@96897 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-11 22:05:52 +00:00
valeski%netscape.com
8deb3b45a4 mozilla diffs r=tao, sr=alecf, commercial diffs r=syd, sr=syd/shaver. lower-casing JS calls to createBundle. removing un-used nsILocale param from nsIStringBundle::CreateBundle(). 76332
git-svn-id: svn://10.0.0.236/trunk@93306 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 21:30:24 +00:00
sfraser%netscape.com
c696d9a508 Backing out valeski
git-svn-id: svn://10.0.0.236/trunk@93248 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 05:53:22 +00:00
valeski%netscape.com
4aea038db2 mozilla tree r=tao, sr=alecf. commercial tree r=syd, sr=syd/shaver. lowercasing the first char in JS method calls to createBundle. removing the dead locale parameter in the CreateBundle() method call. 76332
git-svn-id: svn://10.0.0.236/trunk@93239 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 04:16:22 +00:00
pollmann%netscape.com
6d4f34711c Bug 76208: Store control that submitted form in event so we can submit it to the server (fixes regression), r=harishd@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@92546 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 10:02:11 +00:00
pollmann%netscape.com
2e99d49588 Bug 64702: Fix crash on focus by adding null checks, and make form.submit call onsubmit handlers before submitting. r=rods@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@92382 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-16 06:36:45 +00:00
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
rods%netscape.com
ada4c1334d Fix frame going away during submit
Bug 70572 r=pollmann sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@89498 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 13:33:59 +00:00
rods%netscape.com
77b173f072 factoring of code for Submit/Reset in control frames
Bug 65747 r=pollmann sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@87745 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 01:01:08 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
rods%netscape.com
b23e7af50b 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


git-svn-id: svn://10.0.0.236/trunk@85624 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 14:09:34 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
dbaron%fas.harvard.edu
b4de65c19e Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:22:22 +00:00
rods%netscape.com
44f7461592 removing unneeded/unused code/methods
r=kmcclusk, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@83144 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:39:28 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
jdunn%netscape.com
6eeb15a270 fixing hpux bustage
r=vidur@netscape.com


git-svn-id: svn://10.0.0.236/trunk@76987 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 23:57:00 +00:00
jst%netscape.com
7e0575bfee DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
pollmann%netscape.com
7db58c7c36 Bug 42662: Values of disabled form elements should not be submitted; r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@75557 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:32:02 +00:00
rods%netscape.com
e0fe88ca49 Moved the localization methods to the helper class
the file control is now localizable (*.*, "All Files")
b=32666, r=pollmann


git-svn-id: svn://10.0.0.236/trunk@70981 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 02:27:47 +00:00
scc%netscape.com
7741d6c076 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66139 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:19:26 +00:00