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
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
karnaze%netscape.com
1540a4c12e
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
waterson%netscape.com
43c613727c
Bug 55086. Change nsContainerFrame::PositionFrameView() to position child views. Eliminate the |aView| parameter from that method, because the view can be retrieved from the frame and need not be done by the caller. Eliminate the NS_FRAME_NO_MOVE_CHILD_VIEWS flag, which was read-only; i.e., never set by anyone. r=dbaron, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@102321 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 20:27:19 +00:00
dbaron%fas.harvard.edu
9a632e0396
Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all.
...
git-svn-id: svn://10.0.0.236/trunk@102072 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 04:28:26 +00:00
dbaron%fas.harvard.edu
5f0d92745b
Backing out unapproved checkin for bug 97227. a=brendan,blizzard
...
git-svn-id: svn://10.0.0.236/trunk@102064 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 03:45:20 +00:00
rpotts%netscape.com
3d787fbce9
bug #97227 (r=valeski, sr=vidur). This patch makes all calls to nsIWebBrowserChrome::SetStatus(...) display synchronously.
...
git-svn-id: svn://10.0.0.236/trunk@102039 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-30 21:47:45 +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
jgaunt%netscape.com
92c01c45b6
fix for bug 94768
...
r=smfr,leaf
sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@101271 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 03:13:07 +00:00
hyatt%netscape.com
c49a03b7be
Fix for 71106. r=jag, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@100428 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 21:49:35 +00:00
jgaunt%netscape.com
19bef9fbc4
bug 90182 fixing accessible support for html selects
...
r=aaronl@netscape.com
sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@99670 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-20 22:17:31 +00:00
dbaron%fas.harvard.edu
9359000a40
Header include dependency cleanup. b=64023 r=jag rs=brendan
...
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
waterson%netscape.com
86f65788ea
Bug 89638. Combobox must convert an incremental reflow targeted at itself into a resize reflow before passing it along to its children. r=dbaron, sr=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@98912 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-09 22:32:32 +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
jgaunt%netscape.com
99f7be2721
bug #86517 Landing of Accessible_052901_Branch4 sr=waterson
...
r= lots, see bug
git-svn-id: svn://10.0.0.236/trunk@98337 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 00:25:09 +00:00
rods%netscape.com
df9e1a94d3
The problem is you can't do the roll up in the middle of a "hook" function call.
...
So a timer is native created and the DealWithPopups is called there.
Also, when embedded the CBX need to make sure all the views get updated (redrawn)
Bug 83493 r=kmcclusk sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@97115 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 02:08:40 +00:00
rods%netscape.com
36b13cb2ba
Major rework of how items are added, removed and selected (while being added and removed) with script
...
Now all the changes are performed, but no reflows are issued until the timer fires, which would be
after the script is done executing. The selection that take place during the script execution are
also cached and done afterward.
Bug 53165 r=pollmann sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@96675 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 02:34:09 +00:00
rods%netscape.com
fdcefd8b6c
Removed availableWidth/height from the boolean check to see if the values should be cached. With those in
...
it caches the wrong values and ten reflows at the wrong width.
Bug 70998 r=kmcclusk sr=attinasi a=dbaron
git-svn-id: svn://10.0.0.236/trunk@96674 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-08 02:25:22 +00:00
hyatt%netscape.com
b7b1cb3691
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
...
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
pollmann%netscape.com
161f586d22
Bug 77834: Fix problem where form control state is being restored to the wrong form control or not restored at all when going back and forth through session history. The problem was that the hash key we used was the content ID, which was not consistent from page load to page load. The fix was to key instead by index of form in document / index of control in form, with logic to fall back to content ID if we are unable to do this. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard@mozilla.org)
...
git-svn-id: svn://10.0.0.236/trunk@96057 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-30 11:26:21 +00:00
evaughan%netscape.com
a4d0ce6ac8
Fix for bug #80902
...
-r jeff@tcbnetworks.com -sr waterson
Fix for bug #80505
-r aaronl, jgaunt -sr brendan
git-svn-id: svn://10.0.0.236/trunk@95337 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 23:52:32 +00:00
evaughan%netscape.com
eab27303ef
Landing accessibility
...
-r aarol, jgaunt
-sr brendan
git-svn-id: svn://10.0.0.236/trunk@94685 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:11:38 +00:00
jst%netscape.com
43eee52859
Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@94242 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 17:42:36 +00:00
rods%netscape.com
2328a96abb
Fixed the Onchange event, so it fires at the correct time.
...
Bug 62753 r=pollmann sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@91745 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-09 12:08:40 +00:00
pollmann%netscape.com
fa49d41052
Bug 65609: (DOM) Allow form elements inside a subtree to find their parent when the subtree is appended/inserted. r=nisheeth@netscape.com, sr=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@91014 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 00:45:52 +00:00
evaughan%netscape.com
94e72ae454
XP part of accessibility landing
...
-r vidur, rods -sr hyatt
git-svn-id: svn://10.0.0.236/trunk@90971 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-01 01:01:33 +00:00
timeless%mac.com
534247895d
fix Bug 70989 Clean up lots of "shadows" and other common warnings
...
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
git-svn-id: svn://10.0.0.236/trunk@89986 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 05:32:22 +00:00
erik%netscape.com
44e2c24154
bug 71339; author=simon@softel.co.il; r=rods; sr=erik; changes from IBM
...
bidi project (Hebrew, Arabic, etc); in ifdef IBMBIDI for now
git-svn-id: svn://10.0.0.236/trunk@89836 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-19 23:20:21 +00:00
rods%netscape.com
ba2e2347f8
Now only doing 1 reflow for each reflow request in the ListControlFrame
...
for initial and full resize reflows
Bug 69869 r=kmcclusk sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@87751 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 01:45:45 +00:00
heikki%netscape.com
26d94ba9b0
Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@87383 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 21:50:04 +00:00
pierre%netscape.com
8944a57fe0
Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
...
git-svn-id: svn://10.0.0.236/trunk@86533 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 09:57:26 +00:00
rods%netscape.com
ba9b1a7ddb
focus rects should now be hidden
...
r=pollmann sr=buster
git-svn-id: svn://10.0.0.236/trunk@85963 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 12:24:35 +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
mcafee%netscape.com
644a6ffc68
Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
...
git-svn-id: svn://10.0.0.236/trunk@85463 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 02:58:12 +00:00
pierre%netscape.com
148e913722
#43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
...
git-svn-id: svn://10.0.0.236/trunk@85210 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 22:46:54 +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
rods%netscape.com
92dcc2bd43
When focus is removed and the the CBX is dropped down it rolls it up
...
r=kmcclusk, sr=buster Bug 64079
git-svn-id: svn://10.0.0.236/trunk@84369 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 12:22:29 +00:00
rods%netscape.com
2d35ca6701
When clicking away from the dropdown, it wasn't resetting itself correctly.
...
If only the mouse was being used for selection, then it needs to reset itself to the state before dropping down
if arrow keys had been used then it needs to keep that selection
The combobox chaches the current selection, so when arrow keys are used it has the correct selection
when the mouse is used it holds the old selection. So therefore, we can compare against it
to determine what to do.
Bug 63247
r=waqar sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@83918 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 23:25:40 +00:00
rods%netscape.com
a649f72fbb
53259 - min-width and max-width not supported on form control
...
58220 - Select boxes rendering weird when using CSS to small value
r=kmclusk, sr=buster
git-svn-id: svn://10.0.0.236/trunk@83898 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:09:00 +00:00
bryner%uiuc.edu
aae64e984b
Mousewheel bugs 29244, 50339, 42313, 33733, and 57598. r=rods,pavlov. sr=hyatt.
...
git-svn-id: svn://10.0.0.236/trunk@83448 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 07:28:19 +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
waterson%netscape.com
1e7a248bab
Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@80717 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 03:08:41 +00:00
rods%netscape.com
17abdbdfb2
Focus rect is now drawn and erased directly via C++ code. Focus comes from "SetFocus" being set
...
on the content node which calls the frame. The frame is notified of Blur via thecontent node
watching for NS_CONTENT_BLUR events.
The rule we are removing from html.css is responsible for drawing in the focus,
but it causes the combobox, the dropdown and all the options to have their style reresolved.
Bug 32920, r=attinasi, b=buster
git-svn-id: svn://10.0.0.236/trunk@80349 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 13:39:07 +00:00
rods%netscape.com
5c976bd892
removing bloat - removed unneeded boolean and an nsIHTMLContent pointer
...
b=51886 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@78641 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:15:57 +00:00
pollmann%netscape.com
f972f867ca
Bug 51124: Tabbing into text control now again scrolls it into view if offscreen, also adding additional bulletproofing per code review; r=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@78494 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 05:53:28 +00:00
sfraser%netscape.com
fc51db9344
Fix bug 49620 -- make click-drag select work in comboboxes again. r=rods
...
git-svn-id: svn://10.0.0.236/trunk@78335 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 04:39:02 +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
dbaron%fas.harvard.edu
3b9c9e465a
Fix leak on hovering over a scrollbar and re-fix similar leak for text inputs (bug 42895) by adding a "general" method for unrooting anonymous content created through nsIAnonymousContentCreator, plus a hack to deal with the scrollbars on the root element. Some of the other SetDocumentForAnonymousContent methods *may* need to be implemented. Chris Waterson helped significantly with this patch. r=waterson,hyatt b=45676 (nsbeta3+)
...
git-svn-id: svn://10.0.0.236/trunk@75882 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 12:51:05 +00:00