Commit Graph

748 Commits

Author SHA1 Message Date
jst%netscape.com
ea706038cf 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. 2001-05-08 17:42:36 +00:00
hyatt%netscape.com
b03223f5de Fix for 77859. r=danm, sr=waterson 2001-04-28 03:48:38 +00:00
valeski%netscape.com
00bca056ef 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 2001-04-27 21:30:24 +00:00
sfraser%netscape.com
245d4eb76f Backing out valeski 2001-04-27 05:53:22 +00:00
valeski%netscape.com
54db7dffa3 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 2001-04-27 04:16:22 +00:00
hyatt%netscape.com
8130400b54 Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov 2001-04-25 19:52:49 +00:00
pollmann%netscape.com
4e9082cbdf Bug 74639: Preserve frame state through form demotion, don't store uninitialized frame state, r=nisheeth@netscape.com, sr=jst@netscape.com 2001-04-24 08:33:57 +00:00
evaughan%netscape.com
679472c15d Accessibility work. bug #12952
-r aaronl -sr brendan
2001-04-17 23:06:38 +00:00
pollmann%netscape.com
5a825e5b27 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 2001-04-17 10:02:11 +00:00
pollmann%netscape.com
6e6edb6a25 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 2001-04-16 06:36:45 +00:00
sfraser%netscape.com
da4c272750 Fix bug 48716 -- make nsFileControlFrame's draw with a blue box when selected in composer. r=rods, sr=kin 2001-04-13 00:30:37 +00:00
mjudge%netscape.com
cf4580dd4d 53151 68396 sr=kin r= kin. removing some ifdefs of dead ender-lite code and fixing a mail news lockup in text traversal 2001-04-12 23:38:32 +00:00
pollmann%netscape.com
7525d6e00f Bug 59675: Initialize variables before use, r=nisheeth@netscape.com, sr=jst@netscape.com 2001-04-11 07:39:48 +00:00
darin%netscape.com
00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
rods%netscape.com
e3a5513f79 Fixed the Onchange event, so it fires at the correct time.
Bug 62753 r=pollmann sr=attinasi
2001-04-09 12:08:40 +00:00
rods%netscape.com
00d2bf32d6 removing special centering code for width
Bug 68573 r=kmcclusk sr=attinasi
2001-04-03 14:10:47 +00:00
pollmann%netscape.com
c109661ded 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 2001-04-02 00:45:52 +00:00
evaughan%netscape.com
dd702eea33 XP part of accessibility landing
-r vidur, rods -sr hyatt
2001-04-01 01:01:33 +00:00
blakeross%telocity.com
69b6cfdc47 Backing out to fix bustage. 2001-03-21 22:37:59 +00:00
mjudge%netscape.com
b2fe9141b2 removal of #ifdefs foor 68396 r=cmanske all depricated code just a clean up 2001-03-21 21:30:08 +00:00
timeless%mac.com
e76ccfd647 fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
rods%netscape.com
f14a83706d fixed move mouse over selected item in dropdown, it will no longer hilite disabled items
Bug 72226 r=waterson sr=attinasi
2001-03-20 11:48:27 +00:00
erik%netscape.com
ab236e2b14 bug 71339; author=simon@softel.co.il; r=rods; sr=erik; changes from IBM
bidi project (Hebrew, Arabic, etc); in ifdef IBMBIDI for now
2001-03-19 23:20:21 +00:00
pollmann%netscape.com
e002ee6306 Bug 55988: Hidden and button inputs save state when the content attribute named 'value' changes, r=jst@netscape.com, sr=vidur@netscape.com 2001-03-14 07:36:01 +00:00
rods%netscape.com
fba27ca614 Fix frame going away during submit
Bug 70572 r=pollmann sr=attinasi
2001-03-13 13:33:59 +00:00
valeski%netscape.com
68017cb9e2 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api 2001-03-13 02:02:05 +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
rods%netscape.com
912135fd26 change PRBool to PRPackedBool
Scroll to first item on DidReflow of Initial Reflow
Bug 54496 r=kmcclusk sr=attinasi
2001-03-09 03:21:51 +00:00
rods%netscape.com
84c77eb49d Skipp disabled items when pressing first letter
Bug 57580 r=kmcclusk sr=buster
2001-03-08 02:29:21 +00:00
dbaron%fas.harvard.edu
0e28b23cc1 Fix smoketest blocker bug 70683 by making some changes blake missed with his fix for bug 60703. r=mao sr=alecf a=kysmith 2001-03-02 18:39:22 +00:00
rods%netscape.com
9543ff0534 Now only doing 1 reflow for each reflow request in the ListControlFrame
for initial and full resize reflows
Bug 69869 r=kmcclusk sr=attinasi
2001-02-23 01:45:45 +00:00
rods%netscape.com
65d48450bb factoring of code for Submit/Reset in control frames
Bug 65747 r=pollmann sr=attinasi
2001-02-23 01:01:08 +00:00
heikki%netscape.com
5c811dfbf3 Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com 2001-02-19 21:50:04 +00:00
rods%netscape.com
84cce45360 copy/paste coding error - simple change from Height to Width
Bug 67497 sr=attinasi
2001-02-14 15:40:26 +00:00
blakeross%telocity.com
2a5c341197 Only get the type when we need it. r=hixie 2001-02-12 21:19:23 +00:00
pierre%netscape.com
9af01acf22 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. 2001-02-07 09:57:26 +00:00
pollmann%netscape.com
c9046692ff Bug 62713: Only save form input values in SH if changed plus cleanups (error handling, NS_LITERAL_STRING), r=jst@netscape.com, sr=vidur@netscape.com 2001-02-06 01:59:59 +00:00
pollmann%netscape.com
39034a3146 Bug 55988 + 64415: Hidden inputs and buttons save state in session history, r=jst@netscape.com, sr=vidur@netscape.com 2001-02-06 01:31:18 +00:00
rods%netscape.com
d1fc884b89 makes optgroups so they you can't click on them and it fixes the focus issue.
Bug 63006 r=kmcclusk sr=buster
2001-02-01 22:45:32 +00:00
rods%netscape.com
e28a3fcc73 focus rects should now be hidden
r=pollmann sr=buster
2001-02-01 12:24:35 +00:00
gagan%netscape.com
79713bc4c2 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org 2001-01-31 01:33:03 +00:00
dbaron%fas.harvard.edu
6a1cef6f9a Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org 2001-01-27 23:06:33 +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
mcafee%netscape.com
7ecf530933 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil 2001-01-25 02:58:12 +00:00
pinkerton%netscape.com
69e772b8e3 uninitialized event result causing havoc on mac opt builds. Setting it to something reasonable up front fixes form submission. r=timeless,a=ben. 2001-01-22 08:34:23 +00:00
pierre%netscape.com
62bf433a35 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster. 2001-01-20 22:46:54 +00:00
rods%netscape.com
4f312bc255 changed add ref to from NS_ADDREF to NS_IF_ADDREF
Bug 63329, r=kmcclusk sr=buster
2001-01-08 14:06:34 +00:00
rods%netscape.com
edb0c6270c removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
rods%netscape.com
7a8c672255 When focus is removed and the the CBX is dropped down it rolls it up
r=kmcclusk, sr=buster Bug 64079
2001-01-04 12:22:29 +00:00
dbaron%fas.harvard.edu
caa9658024 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com 2000-12-30 19:22:22 +00:00
rods%netscape.com
706bdfa5fd 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
2000-12-20 23:25:40 +00:00
rods%netscape.com
2ab9b3a14d 53259 - min-width and max-width not supported on form control
53457 - multiple items can be selected in select size=1 or in single select listbox
50376 - Cannot select with DOM option on dynamically created SELECT element
62442 - Incorrect extended selection behavior in listboxes

First big change is getting rid of local variables for border and padding and use the ones in the reflow state
Changed "IsInDropDownMode() == PR_TRUE && mComboboxFrame" to "IsInDropDownMode() == PR_TRUE"
Fix for regression from changing of how key events work (no bug assigned), this fix enabled the user to hit 'f' or 'F' and get to the first item that start with 'f' or 'F'
r=kmcclusk sr=buster
2000-12-20 15:15:28 +00:00
rods%netscape.com
98418aa626 53259 - min-width and max-width not supported on form control
59035 - type of a BUTTON should default to submit when type isn't specified
r=kmcclusk sr=buster
2000-12-20 15:12:06 +00:00
rods%netscape.com
82e185e218 53259 - min-width and max-width not supported on form control
r=kmcclusk sr=buster
2000-12-20 15:09:55 +00:00
rods%netscape.com
1e54aacebb 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
2000-12-20 15:09:00 +00:00
rods%netscape.com
6db44af9f6 Removed unneded setting of index to kNothingSelected when an disabled option is selected
r=blake, sr=buster Bug 57580
2000-12-18 21:36:01 +00:00
rods%netscape.com
6c53a4cdbd removing unneeded includes
r=kmcclusk sr=buster b=62408
2000-12-12 12:17:11 +00:00
rods%netscape.com
c543ccf234 removed where the input element was telling the rado/checkbox to return the opposite value
now it changes it value before the DOM call (script) and then if the event is cancelled
it sets the value back (which doesn't happen very often)
r=pollmann,jst sr=buster  b=57137,57239,58460
2000-12-10 16:05:29 +00:00
bryner%uiuc.edu
e3a92267ce Mousewheel bugs 29244, 50339, 42313, 33733, and 57598. r=rods,pavlov. sr=hyatt. 2000-12-09 07:28:19 +00:00
rods%netscape.com
3994612354 removing unneeded/unused code/methods
r=kmcclusk, sr=waterson
2000-11-30 21:39:28 +00:00
kmcclusk%netscape.com
93d007ea97 Removing these unneeded files from from cvs, they have been in the build in years
r=kmcclusk,buster
2000-11-16 21:41:14 +00:00
warren%netscape.com
cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
waqar%netscape.com
290cc55645 #=53502
r=rods@netscape.com
a=buster@netscape.com
d=Fixes the problem with listbox and modifier keys.
2000-10-12 14:20:02 +00:00
waterson%netscape.com
883ea58a61 Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt 2000-10-09 03:08:41 +00:00
rods%netscape.com
965ad980fb 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
2000-10-04 13:39:07 +00:00
heikki%netscape.com
c3c301798c Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods. 2000-09-19 21:47:04 +00:00
rayw%netscape.com
0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
attinasi%netscape.com
e6ed1d17ba Part of fix for bug 45210: style contexts had the wrong parent because the frames were reparented but their style contexts were not. r=rods@netscape.com 2000-09-12 19:41:27 +00:00
rods%netscape.com
01814104cb removing bloat - removed unneeded boolean and an nsIHTMLContent pointer
b=51886 r=kmcclusk
2000-09-09 22:15:57 +00:00
rods%netscape.com
ecfca9724d wasn't setting status to NS_FRAME_COMPLETE
b=49010 r=buster
2000-09-09 22:13:12 +00:00
pollmann%netscape.com
27c144a3b2 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 2000-09-08 05:53:28 +00:00
sfraser%netscape.com
f23b291227 Fix bug 49620 -- make click-drag select work in comboboxes again. r=rods 2000-09-07 04:39:02 +00:00
pollmann%netscape.com
2e21d4e7a4 Bug 3326: IsIndex implementation (not part of build) 2000-09-06 07:37:49 +00:00
vidur%netscape.com
e153192875 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
pollmann%netscape.com
80059f709d Bug 50143: All radio buttons should be unchecked before checking new one when restoring frame state r=jst@netscape.com 2000-08-31 00:59:31 +00:00
rods%netscape.com
104a4c2a53 KeyPress events now let <ctrl<,<slt>,<meta> continue on through, which stopped commonads keys from working
Fixed a couple of off by one errors
Fixed multiple selection with shift key
Fixed focus stealing problem (ifdef'ed out code that was put in to specifically fix this problem)
Fixed div by zero
b=50024,50442,48903
2000-08-29 13:24:38 +00:00
rods%netscape.com
412b9b55f7 Only let left btn clicks through for popping up the dialog
b=49904 r=kmcclusk
2000-08-25 13:25:50 +00:00
rods%netscape.com
18d89a1b76 Added a lot of asserts to help debug any potential problems, check for nullcontent
moved up to GetPrimaryFrameFor doesn't get called with a null content
b=49993 r=kmcclusk
2000-08-25 13:12:59 +00:00
jdunn%netscape.com
7eb04ed28d fixing hpux bustage
r=vidur@netscape.com
2000-08-23 23:57:00 +00:00
jst%netscape.com
9abec73fbe 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 2000-08-23 17:27:06 +00:00
rods%netscape.com
ff8b581e7e GfxBtn now implements method CreateFrameFor so it can create the text node
with the proper style context parentage.
b=49740 =kmcclusk,attinasi
2000-08-23 10:38:42 +00:00
rods%netscape.com
d34d67bd9d patch from web converting it over to use the FilePicker
it also now uses the default directory
b=40976,47552 r=rods,kmcclusk
2000-08-18 18:16:12 +00:00
rods%netscape.com
fea2898d59 removing "return NS_OK" because it keeps it from doing the call to
nsFrame which calls HandleRelease. Without HandleRelease the EventStateManager
mMouseGrabber never gets cleared and it keeps thinking events need to go to the view.
b=48792 r=pollmann
2000-08-17 22:39:13 +00:00
rods%netscape.com
ae00b95484 listbox - selecting with keyboard no longer allows you to stop on a disabled option, it skips them
as does page up and page down
combobox - selecting a disabled option didn't clear the "mouse down" flag and it still thought it was selecting
combobox - selecting a disabled option clears mSelectedIndex, this side effect could be seen by selected
a disabled item then clicking on a link and then hit "back",
b=48903 r=kmcclusk
2000-08-17 21:38:15 +00:00
rods%netscape.com
a54f17cc75 was not unregistering the listers correctly. Not they unreg with the
listener object.
b=48915 r=kmcclusk
2000-08-14 22:05:28 +00:00
rods%netscape.com
ad07c40567 added weak reference and ref counted event listener to listbox intead of
having the the non-recounted frame add itself. It is now the same as GfxList
b=21629, r=kmcclusk
2000-08-14 14:42:12 +00:00
dbaron%fas.harvard.edu
edbb56773e 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+) 2000-08-09 12:51:05 +00:00
sfraser%netscape.com
725b321659 More bustage fixing with style struct return types. 2000-08-09 00:52:02 +00:00
sfraser%netscape.com
9aa82a567b 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. 2000-08-08 23:38:00 +00:00
dbaron%fas.harvard.edu
8be051707c Correct the combobox GetFrameForPoint by checking for visibility and foreground layer in all cases. b=36676 r=rods a=waterson 2000-08-06 19:24:48 +00:00
pollmann%netscape.com
a49ef987bb Bug 3326: ISINDEX frame; r=kmcclusk 2000-08-03 23:45:50 +00:00
pollmann%netscape.com
54daa78bb8 Bug 40533: browser crashes when submit nothing with event on file upload; r=kmcclusk 2000-08-03 23:39:33 +00:00
pollmann%netscape.com
5ede1ee556 Bug 42662: Values of disabled form elements should not be submitted; r=kmcclusk 2000-08-03 23:32:02 +00:00
pollmann%netscape.com
c0143af2df Bug 26945: Image input onclick fires but doesn't allow cancel via return false; r=harishd 2000-08-03 22:17:14 +00:00
pollmann%netscape.com
40819e4ba8 Bug 40412: image inputs should send x and y not .x and .y if no name; r=harishd 2000-08-03 22:05:44 +00:00
rods%netscape.com
2ca4014e41 40000 - right-click events don't go through listboxes (onmoused
44454 - Can't drag-scroll/-select in single-select HTML listbox
42301 - select generates onchange when it shouldn't
33421 - <optgroup> in <select> breaks scrolling drop down lists
14771 - GFX list/combo box doesn't respond to keyboard input
b=40000, 44454, 42301, 33421, 14771 r=kmcclusk
2000-08-03 14:13:58 +00:00
rods%netscape.com
7a2abfdc4e 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
2000-08-03 14:13:40 +00:00
rods%netscape.com
4d4f67aa29 backing out changes until I get them all in 2000-08-02 22:59:45 +00:00
rods%netscape.com
425d7a8ef8 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
2000-08-02 22:24:14 +00:00