426 Commits

Author SHA1 Message Date
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
sfraser%netscape.com
7726da891c Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge.
git-svn-id: svn://10.0.0.236/trunk@75830 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 23:38:00 +00:00
dbaron%fas.harvard.edu
f5c556e039 Correct the combobox GetFrameForPoint by checking for visibility and foreground layer in all cases. b=36676 r=rods a=waterson
git-svn-id: svn://10.0.0.236/trunk@75690 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-06 19:24:48 +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
b077844144 47302 - moved the RegUnRegAccessKey to the Destroy Method
44788 - Comboboxes do not obey style height
42661 - javascript "selected = true" doesn't inform onChange of
b=47302, 44788, 42661 r=kmclusk


git-svn-id: svn://10.0.0.236/trunk@75493 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 14:13:40 +00:00
rods%netscape.com
c936b8f011 backing out changes until I get them all in
git-svn-id: svn://10.0.0.236/trunk@75436 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:59:45 +00:00
rods%netscape.com
0598d4e64a 47302 - moved the RegUnRegAccessKey to the Destroy Method
44788 - Comboboxes do not obey style height
42661 - javascript "selected = true" doesn't inform onChange of
b=47302, 44788, 42661 r=kmclusk


git-svn-id: svn://10.0.0.236/trunk@75432 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-02 22:24:14 +00:00
rods%netscape.com
f58dc37a07 removed the incremental reflow targeted at the display text
instead we just reflow the text and the button each time.
b=40644 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@72307 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 13:02:10 +00:00
buster%netscape.com
f3ce46c7b0 bug 36367
r=rods
fix was to pass in the correct width during certain types of incremental reflows.


git-svn-id: svn://10.0.0.236/trunk@71502 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 03:50:46 +00:00
rods%netscape.com
614a71b731 removed some uneeded code
made view so it was resized in SyncFrame
fixed the returning of the -1 for width
make sure combinedarea was set correctly for tables
b 39755,36321 r=buster,evaughan


git-svn-id: svn://10.0.0.236/trunk@70967 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:34:59 +00:00
evaughan%netscape.com
e32f5aa5dd fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt


git-svn-id: svn://10.0.0.236/trunk@70910 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 06:42:29 +00:00
hyatt%netscape.com
e469c92e38 fix for making skins script-safe. r=scc
git-svn-id: svn://10.0.0.236/trunk@70503 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 04:48:43 +00:00
mjudge%netscape.com
bf7db3cfce accidental checkin
git-svn-id: svn://10.0.0.236/trunk@70035 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 12:20:24 +00:00
mjudge%netscape.com
d852583364 fixes for RegUnRegAccessKey
git-svn-id: svn://10.0.0.236/trunk@70033 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 12:18:36 +00:00
rods%netscape.com
b1eb9c1882 focus now no longer shows when it has focus.
b=35307


git-svn-id: svn://10.0.0.236/trunk@69890 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 22:23:09 +00:00
dbaron%fas.harvard.edu
65a4685f64 Fix AtomImpl leaks (includes bug 32608). r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@69785 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-15 13:12:27 +00:00
rods%netscape.com
71b1eecc63 makes sure we are responding to the correct layer for GetFrameForPoint (thanks dbaron)
b 38925


git-svn-id: svn://10.0.0.236/trunk@69236 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 19:22:06 +00:00
rods%netscape.com
dc414889ec added comments to ifdef for better explanation
git-svn-id: svn://10.0.0.236/trunk@69211 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 14:06:32 +00:00