1497 Commits

Author SHA1 Message Date
jst%netscape.com
e5e4e2e102 Checking in John Keiser's fix for bug 110613, problems with file inputs. r=peterv@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@108473 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 10:35:52 +00:00
jkeiser%iname.com
f0b531fc70 Fix to make radio buttons and checkbox show their values on Print (bug 109914). r=rods@netscape.com,sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@108251 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:43:23 +00:00
jkeiser%iname.com
d443ae56e1 Fix textboxes not showing up in Print and Print Preview (bug 109914). r=sicking@bigfoot.com;sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@108249 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 02:38:10 +00:00
jaggernaut%netscape.com
d928e4ddac Clean up REQUIRES lines. r/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@108216 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 01:54:59 +00:00
alecf%netscape.com
0c847ee212 win32 REQUIRES cleanup
git-svn-id: svn://10.0.0.236/trunk@108139 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 03:49:13 +00:00
karnaze%netscape.com
65fe290a5b bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
git-svn-id: svn://10.0.0.236/trunk@108053 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 13:40:03 +00:00
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
smontagu%netscape.com
9d803d9084 Recheckin of fix to bug 104792, which was killed by checkin on bug 104874. r=rods, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@107930 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-12 22:31:32 +00:00
dbaron%fas.harvard.edu
7a3e6639d5 Tweak XP_MACOSX ifdefs to fix keyboard shortcuts (partly), context menus, and hidden window behavior and build the mac classic skin in the Mach-O build. b=109165 r=pinkerton sr=beard
git-svn-id: svn://10.0.0.236/trunk@107855 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 23:30:13 +00:00
jkeiser%iname.com
ecfc39a688 Null-safety checks (bug 108808). r=rods@netscape.com, sr=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107825 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-10 07:45:15 +00:00
dbaron%fas.harvard.edu
13b5500ba3 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
git-svn-id: svn://10.0.0.236/trunk@107583 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:24:10 +00:00
jst%netscape.com
59f4f0adf1 Fixing blocker bug 108198. Make setAttribute('value') change .value until .value is set by JS or user. Patch by John Keiser <jkeiser@iname.com>, r/sr=hyatt@netscape.com, jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107321 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-05 06:50:21 +00:00
jst%netscape.com
6807abf7cc Checking in real fix for bug 108175. Don't loose values in text inputs. Patch by jkeiser@iname.com, r=rpotts@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107232 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 06:52:55 +00:00
dbaron%fas.harvard.edu
732f1cd8e9 Ensure that text inputs, checkboxes and radios paint over inline element backgrounds that are behind them. Fix a few build warnings. b=107244 r=rods sr=waterson
git-svn-id: svn://10.0.0.236/trunk@107230 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 06:23:19 +00:00
jst%netscape.com
c8d98665ac Checking in workaround for bug 108175, temporarily disable framestate storage on frame destruction. r=jkeiser@iname.com, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@107124 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 23:36:58 +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
karnaze%netscape.com
b1771999ca bug 105166 - split images (except for image contro frames), round pixels down for printing. sr=attinasi,kin r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106966 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:31:13 +00:00
mkaply%us.ibm.com
f6af291238 #104874
r=rods, sr=watersin
Patch from simon montagu - cleanup combobox code in Bidi case


git-svn-id: svn://10.0.0.236/trunk@106828 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 14:49:15 +00:00
mkaply%us.ibm.com
e954f26d24 #104792
r=rods, sr==attinasi
patch from simon montagu - hebrew comboboxes go haywire


git-svn-id: svn://10.0.0.236/trunk@106815 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 05:17:34 +00:00
dbaron%fas.harvard.edu
9b135c4afe Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106640 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 06:02:05 +00:00
karnaze%netscape.com
4ff0e5cecb bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106524 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 01:43:59 +00:00
alecf%netscape.com
c96e504eb3 Convert users of nsCRT::ToUpper(PRUnichar) to ToUpper(PRUnichar) for bug 100214, r=jag, sr=scc
git-svn-id: svn://10.0.0.236/trunk@106366 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 17:18:35 +00:00
dbaron%fas.harvard.edu
8b3489a026 Bug 86947:
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow).  Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed.  Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs  sr=waterson


git-svn-id: svn://10.0.0.236/trunk@106224 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 01:08:40 +00:00
hyatt%netscape.com
ab0e4e56d4 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106100 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:01:09 +00:00
dougt%netscape.com
fa2d0b7e98 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@105973 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:01:27 +00:00
seawood%netscape.com
7b09be9ef1 Remove unused MOZ_ENDER_LITE & -DENDER_LITE from the tree.
git-svn-id: svn://10.0.0.236/trunk@105920 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 04:34:31 +00:00
dougt%netscape.com
cf60fc042e nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163
git-svn-id: svn://10.0.0.236/trunk@105800 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:52:59 +00:00
aaronl%netscape.com
a02d72b41b Bug 57192. Alt+Down for combo boxes in HTML. r=rods, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@105547 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 23:00:12 +00:00
dougt%netscape.com
2367cd653a API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147
git-svn-id: svn://10.0.0.236/trunk@105458 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:35:52 +00:00
rods%netscape.com
8ad4f8da8a When a resize happens and one of the dimensions are constrained and it already has been reflowed we need to remove the padding & borders
or they keep getting added in.
Bug 101936 r=kmmclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@105446 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 00:32:14 +00:00
kin%netscape.com
4719248c5d Fix for bug 101599: onChange fires when hitting return in text widgets
Modified nsTextInputListener::KeyPress() so that the return key fires
and onChange event if the contents of the text control has changed,
and it is a single line text control.


    mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
    mozilla/layout/html/forms/src/nsGfxTextControlFrame2.h

r=glazman@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@105414 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-15 14:11:37 +00:00
bernd.mielke%snafu.de
bd8b619784 bug 103443 replace the return rv?rv:NS_ERROR_FAILURE; with a more correct version
r=dbaron sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@105372 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 09:27:46 +00:00
ftang%netscape.com
36054c9bef fix bug 81203. change ISO-8859-1 to windows-1252 for form submission
r=brade sr=kin


git-svn-id: svn://10.0.0.236/trunk@105121 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:20:07 +00:00
kin%netscape.com
64ed342437 Fix for bug 88024: Down arrow key creates fake line break at the end of a TEXTAREA
Modified CompleteMove() to prevent selection from being placed
after the last BR in the content tree.

r=brade@netscape.com  sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@104928 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 19:29:00 +00:00
kin%netscape.com
4f48522594 Make original patch for bug 99920 (hitting enter in any text field submits form without submit button passed as param)
work in OPT builds, by moving QI() call out of NS_ASSERTION macro.

r=rods@netscape.com  sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@104795 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 14:07:57 +00:00
bryner%netscape.com
7b761d8a36 Removing references to xp_file.h, for bug 38061. Patch from cls, r=bryner, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@104789 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 07:22:27 +00:00
pinkerton%netscape.com
b3f74e27da respect the look&feel pref about showing comboboxes outside the client area. r=rods/sr=sfraser/a=asa. bug# 102834.
git-svn-id: svn://10.0.0.236/trunk@104656 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 14:10:16 +00:00
dbaron%fas.harvard.edu
f19aafd138 Remove duplication of code between implementations of nsILookAndFeel and nsIDeviceContext by removing system color and metric implementations from nsIDeviceContext implementations and changing nsIDeviceContext::GetSystemAttribute to nsIDeviceContext::GetSystemFont. b=96971 r=bryner sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104391 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:10:56 +00:00
bzbarsky%mit.edu
f8b8a5473d fixing bustage -- nos such thing as NS_FORM_BUTTON_IMAGE
git-svn-id: svn://10.0.0.236/trunk@104354 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 23:08:47 +00:00
rods%netscape.com
e1ba426508 Allow for image submitters also
Bug 99920 r=rods, sr=attinasi a=pdt


git-svn-id: svn://10.0.0.236/trunk@104351 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 21:49:43 +00:00
jst%netscape.com
86f29bd0ae Adding new files for John Keiser <jkeiser@iname.com>, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@104320 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 17:51:28 +00:00
mkaply%us.ibm.com
f3480fd503 #80167
r=ftang, r=mikek, sr=blizzard
Code from simon@softel.co.il - code from original Bidi landing can be turned on now that converson is finalized
Also fixed two warnings that were in the code that could have also broke some unixes


git-svn-id: svn://10.0.0.236/trunk@104312 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 13:57:47 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +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
rods%netscape.com
9e77804596 Make so hitting return in text field submits form when there is a single text field and no submit
or there is a submit and the submit btn is to be included in the post data
Bug 99920 r=attinasi sr=kin a=pdt


git-svn-id: svn://10.0.0.236/trunk@104035 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 00:39:44 +00:00
alexsavulov%netscape.com
e2e66ee9b9 fix for bug 99948 - added rounding to pixel in CalculateSizeStandard
r= rods sr= attinasi


git-svn-id: svn://10.0.0.236/trunk@103993 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 21:45:14 +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
waterson%netscape.com
60cfdaab0e Remove old unused files. r=rods, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103564 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 23:29:03 +00:00