Граф коммитов

1063 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu 0dce65ed23 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
smontagu%netscape.com cbf2a30a5c Recheckin of fix to bug 104792, which was killed by checkin on bug 104874. r=rods, sr=attinasi 2001-11-12 22:31:32 +00:00
dbaron%fas.harvard.edu 5556328edb 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 2001-11-10 23:30:13 +00:00
jkeiser%iname.com f684002bde Null-safety checks (bug 108808). r=rods@netscape.com, sr=kin@netscape.com 2001-11-10 07:45:15 +00:00
dbaron%fas.harvard.edu 261f76a8ba Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
dbaron%fas.harvard.edu b3d0c50bbc 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 2001-11-03 06:23:19 +00:00
jst%netscape.com 5bf2cf4e7e 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 2001-11-02 07:40:01 +00:00
karnaze%netscape.com 1e228891d1 bug 105166 - split images (except for image contro frames), round pixels down for printing. sr=attinasi,kin r=alexsavulov 2001-11-01 15:31:13 +00:00
mkaply%us.ibm.com b2451c0287 #104874
r=rods, sr=watersin
Patch from simon montagu - cleanup combobox code in Bidi case
2001-10-31 14:49:15 +00:00
mkaply%us.ibm.com eda3d4a615 #104792
r=rods, sr==attinasi
patch from simon montagu - hebrew comboboxes go haywire
2001-10-31 05:17:34 +00:00
dbaron%fas.harvard.edu 10e3bbbb58 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 2001-10-30 06:02:05 +00:00
karnaze%netscape.com 16dee217fc bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov 2001-10-29 01:43:59 +00:00
alecf%netscape.com 31ab1c2945 Convert users of nsCRT::ToUpper(PRUnichar) to ToUpper(PRUnichar) for bug 100214, r=jag, sr=scc 2001-10-26 17:18:35 +00:00
dbaron%fas.harvard.edu 75d32bb579 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
2001-10-25 01:08:40 +00:00
hyatt%netscape.com 0214ac3fdb Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson 2001-10-24 00:01:09 +00:00
aaronl%netscape.com 989673d530 Bug 57192. Alt+Down for combo boxes in HTML. r=rods, sr=waterson 2001-10-16 23:00:12 +00:00
rods%netscape.com bb85a6bd22 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
2001-10-16 00:32:14 +00:00
pinkerton%netscape.com 048ed5d026 respect the look&feel pref about showing comboboxes outside the client area. r=rods/sr=sfraser/a=asa. bug# 102834. 2001-10-05 14:10:16 +00:00
dbaron%fas.harvard.edu 4021e7798d 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 2001-10-02 03:10:56 +00:00
jst%netscape.com 84be6c6463 Adding new files for John Keiser <jkeiser@iname.com>, not part of the build yet. 2001-10-01 17:51:28 +00:00
jaggernaut%netscape.com fdc4078bc4 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 2001-09-29 08:28:41 +00:00
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
alecf%netscape.com 753cedd34e bug 101562 - dont' use necko to unnecessarily create URIs just to load a string bundle. r=harishd, sr=attinasi 2001-09-26 00:36:45 +00:00
rjesup%wgate.com b3f93c53a1 Backout of commits for bug 97299. This causes assertions, which means we
missed some spots where name was getting set.
2001-09-24 15:26:39 +00:00
rjesup%wgate.com 9c4abfe094 Bug 97299: Store font names in lowercase. r=pavlov, sr=attinasi 2001-09-24 07:35:04 +00:00
waterson%netscape.com 922ccadca8 Bug 96228. Make nsContainerFrame::PositionFrameView position _only_ the frame's view (don't recur). Explicitly call nsContainerFrame::PositionChildViews as appropriate when moving a frame post-Reflow. Consolidate view positioning logic duplicated between PositionFrameView and SyncFrameViewAfterReflow, which now correctly computes offset for anonymous view in nsScrollFrame and accounts for scrolled views. r=kmcclusk,karnaze sr=attinasi 2001-09-21 00:53:29 +00:00
rods%netscape.com c8447eabc7 Make the default "submit"
Bug 59035 r=kmcclusk sr=attinasi
2001-09-19 13:00:23 +00:00
karnaze%netscape.com a77cb3b548 bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov. 2001-09-19 12:35:19 +00:00
waterson%netscape.com 292424d20a 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 2001-09-05 20:27:19 +00:00
dbaron%fas.harvard.edu 5b59398348 Undoing backout of bug 97227 because valeski and rpotts insist. I guess drivers aren't doing approvals after all. 2001-08-31 04:28:26 +00:00
dbaron%fas.harvard.edu d8d01abd1a Backing out unapproved checkin for bug 97227. a=brendan,blizzard 2001-08-31 03:45:20 +00:00
rpotts%netscape.com 2766427125 bug #97227 (r=valeski, sr=vidur). This patch makes all calls to nsIWebBrowserChrome::SetStatus(...) display synchronously. 2001-08-30 21:47:45 +00:00
rods%netscape.com e7c812e780 Uses Quirks sizing all the time and now obeys border and padding instead of clamping down to Nav 4.x sizing
Bug 96630 r=dcone sr=attinasi a=dbaron
2001-08-27 12:19:11 +00:00
hyatt%netscape.com 1e28dfba99 Fix for 95475. r=jag, sr=ben, a=dbaron 2001-08-25 02:01:08 +00:00
rods%netscape.com 974b9579d7 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
2001-08-21 14:01:55 +00:00
bryner%netscape.com 67f6aa83cb Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
jgaunt%netscape.com 00f903a8da fix for bug 94768
r=smfr,leaf
sr=hyatt
2001-08-17 03:13:07 +00:00
rods%netscape.com d9a2963709 The update listener is not being ref counted correctly and then deleted instead of released ( Bug 92434)
The method SetOptionSelected didn't check to see if there was an update timer so it could do the processing there instead.
Bug 91434 & 92458 r=dcone sr=attinasi
2001-08-17 00:42:50 +00:00
cls%seawood.org 8405a1984e Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
hyatt%netscape.com 079c95cba2 Fix for 71106. r=jag, sr=jst 2001-08-06 21:49:35 +00:00
jaggernaut%netscape.com c14d9c09a1 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jgaunt%netscape.com 59fb2feee1 bug 90182 fixing accessible support for html selects
r=aaronl@netscape.com
sr=waterson@netscape.com
2001-07-20 22:17:31 +00:00
dbaron%fas.harvard.edu bf82abfd11 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
dcone%netscape.com 164cc91a57 b=88343 r=peterl sr=karnaze Fix a crash when the user goes back to a page with a listbox. 2001-07-13 19:51:59 +00:00
jgaunt%netscape.com 1616c83783 bug 88509 - moving of a GetFrameType and layoutAtom from ifdef bidi land.
r=dbaron sr=sfraser
2001-07-10 23:57:28 +00:00
waterson%netscape.com c201965ff1 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. 2001-07-09 22:32:32 +00:00
jaggernaut%netscape.com 03ab87e4a1 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 :-)
2001-06-30 11:02:25 +00:00
jgaunt%netscape.com 96a2e5ce18 bug #86517 Landing of Accessible_052901_Branch4 sr=waterson
r= lots, see bug
2001-06-30 00:25:09 +00:00
pollmann%netscape.com f34af0042e Bug 84499: Only trim whitespace from an options when falling back to the text content of the option for the value. This makes us compatabile with IE and Nav 4.x. r=nisheeth@netscape.com, sr=jst@netscape.com, a=drivers@mozilla.org (blizzard) 2001-06-22 04:36:02 +00:00
rods%netscape.com d10d6846fd 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
2001-06-14 02:08:40 +00:00
bzbarsky%mit.edu 5a5245783d 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
2001-06-11 22:05:52 +00:00
mkaply%us.ibm.com 35dd23f162 remove inline keyword to fix SunOS bustage - note sent to rods 2001-06-08 04:24:48 +00:00
rods%netscape.com 1a56117e8c 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
2001-06-08 02:34:09 +00:00
rods%netscape.com 4989641d57 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
2001-06-08 02:25:22 +00:00
rods%netscape.com aaedf574b4 When script sets the index when multiple it needs to deselect all the items and then set the new index
Bug 77039 r=kmcclusk sr=attinasi a=dbaron
2001-06-06 10:47:33 +00:00
rods%netscape.com e11c732a35 The selectedindex is now getting set to -1 when there are no more items selected and it
is sending onchange events by clearing the mOldSelectedIndex.
Bug 68135 r=kmcclusk sr=attinasi a=dbaron
2001-06-06 10:41:17 +00:00
rods%netscape.com f8b424129b Fixed up reload to it will correctly reflow to w/h of zero
Bug 58220 r=kmcclusk sr=attinasi a=dbaron
2001-06-05 18:09:13 +00:00
hyatt%netscape.com 2bf7260d28 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
pollmann%netscape.com 3cd44086a1 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) 2001-05-30 11:26:21 +00:00
evaughan%netscape.com 453d1d1d71 Fix for bug #80902
-r jeff@tcbnetworks.com -sr waterson

Fix for bug #80505

-r aaronl, jgaunt -sr brendan
2001-05-17 23:52:32 +00:00
joki%netscape.com 43d27cb937 Fix for 80746, fix smoketest blocker by backing out 61336 fix. r:harishd 2001-05-14 18:54:06 +00:00
joki%netscape.com 23789ace1c Fix 61336, call onchange event for changes made by scripts. sr:jst, r:pollmann 2001-05-14 01:57:33 +00:00
evaughan%netscape.com a8792fc3db Landing accessibility
-r aarol, jgaunt

-sr brendan
2001-05-11 21:11:38 +00:00
kin%netscape.com 612f7a4a84 Fix non-debug build bustage. 2001-05-11 15:19:28 +00:00
attinasi%netscape.com 28c9f0dd06 Fixes crash deleting legend frame. r=rods sr=waterson b=70648 2001-05-11 14:26:04 +00:00
jst%netscape.com 621060c4fd 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 fd9e9c8891 Fix for 77859. r=danm, sr=waterson 2001-04-28 03:48:38 +00:00
valeski%netscape.com 9e8d80d70f 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 5e35cbdbc0 Backing out valeski 2001-04-27 05:53:22 +00:00
valeski%netscape.com def10e77f9 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 31a850a277 Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov 2001-04-25 19:52:49 +00:00
pollmann%netscape.com 9adc217d52 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 0211de1fe7 Accessibility work. bug #12952
-r aaronl -sr brendan
2001-04-17 23:06:38 +00:00
pollmann%netscape.com 8dcaffef69 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 3fe70eac5d 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 1017e1a191 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 d71140eb14 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 06604e9070 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 41efbc6217 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
rods%netscape.com e8a58aef11 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 c6f5c821e6 removing special centering code for width
Bug 68573 r=kmcclusk sr=attinasi
2001-04-03 14:10:47 +00:00
pollmann%netscape.com 19b315986e 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 2d2a0054e2 XP part of accessibility landing
-r vidur, rods -sr hyatt
2001-04-01 01:01:33 +00:00
blakeross%telocity.com f5ab579395 Backing out to fix bustage. 2001-03-21 22:37:59 +00:00
mjudge%netscape.com 9e81ea1155 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 d44332bdf7 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 5176f190e8 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 bbb8ce0256 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 56ac39dabe 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 2f93f42a32 Fix frame going away during submit
Bug 70572 r=pollmann sr=attinasi
2001-03-13 13:33:59 +00:00
valeski%netscape.com a8e9bc5bd5 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api 2001-03-13 02:02:05 +00:00
rods%netscape.com fe6f8fcf66 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 9f51057c61 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 c05ae96710 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 8d8070a9fa 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 42db2b170f 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 147a7d8ffc 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 fa72c631ce 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 76620f71ea 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 209f08e382 Only get the type when we need it. r=hixie 2001-02-12 21:19:23 +00:00
pierre%netscape.com ad19cf4c81 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 0b4f1ec612 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 9e26a616e6 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 87f28b43c8 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 1f6b99d689 focus rects should now be hidden
r=pollmann sr=buster
2001-02-01 12:24:35 +00:00
gagan%netscape.com cded3e2f30 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 7a97a55d82 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 9c6f7ccade 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 2a02bb78fd 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 49e3f84426 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 531ba68b54 #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 e6efaf8e39 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 c81b2c3b26 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 8947222653 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 9430a92e06 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 44ea7c2a67 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 7dc59420b7 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 b554f7fdda 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 ca5b944c63 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 90dad7e393 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 9b0fb27e9a 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 34c8eb05fa removing unneeded includes
r=kmcclusk sr=buster b=62408
2000-12-12 12:17:11 +00:00
rods%netscape.com 4b58e0289d 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 a91dbbb4fa Mousewheel bugs 29244, 50339, 42313, 33733, and 57598. r=rods,pavlov. sr=hyatt. 2000-12-09 07:28:19 +00:00
rods%netscape.com db9c828730 removing unneeded/unused code/methods
r=kmcclusk, sr=waterson
2000-11-30 21:39:28 +00:00
kmcclusk%netscape.com ce878383b3 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 4189314fdb 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 6e35f97e31 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 0ab595abc9 #=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 82b4ab1f0d 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 5fcd33af27 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 e13fae3ffe 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 6cc70ebd6c 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 e9fb8cee89 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 dfbd3c3050 removing bloat - removed unneeded boolean and an nsIHTMLContent pointer
b=51886 r=kmcclusk
2000-09-09 22:15:57 +00:00
rods%netscape.com 4d71b3d20d wasn't setting status to NS_FRAME_COMPLETE
b=49010 r=buster
2000-09-09 22:13:12 +00:00
pollmann%netscape.com 8f431163b3 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 73764576ce Fix bug 49620 -- make click-drag select work in comboboxes again. r=rods 2000-09-07 04:39:02 +00:00
pollmann%netscape.com c235ecdcb9 Bug 3326: IsIndex implementation (not part of build) 2000-09-06 07:37:49 +00:00
vidur%netscape.com 4a41eee18d 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 87cf1f6ddb 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 328224be4f 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 30df59f27b 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 faca5dee86 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 80e92797ec fixing hpux bustage
r=vidur@netscape.com
2000-08-23 23:57:00 +00:00
jst%netscape.com b3a4ade60d 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 21c98dbce6 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 a0e23d0ff2 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 cdc1e8c4fe 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 602e714184 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 3a306b3f7a 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 b6e988da63 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 30392ee52a 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 7ff1e18afc More bustage fixing with style struct return types. 2000-08-09 00:52:02 +00:00
sfraser%netscape.com a19bcfbde3 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 88f19cd78c 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 5c3da95c10 Bug 3326: ISINDEX frame; r=kmcclusk 2000-08-03 23:45:50 +00:00
pollmann%netscape.com 58151843a5 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 5b203b9391 Bug 42662: Values of disabled form elements should not be submitted; r=kmcclusk 2000-08-03 23:32:02 +00:00
pollmann%netscape.com eadffe52aa 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 83e282cb9c 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 2db1221bdc 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 62fe8fbb52 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 7e4291b72b backing out changes until I get them all in 2000-08-02 22:59:45 +00:00
rods%netscape.com 90faee705b 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
rods%netscape.com 219eda2380 The frames need to be appended and the default method just asserts
b=41528 r=kmcclusk
2000-08-02 22:16:12 +00:00
rods%netscape.com f21efa1af7 moved the RegUnRegAccessKey to the Destroy method
b=47302 r=kmcclusk
2000-08-02 22:12:11 +00:00
rods%netscape.com 4b645bbc3d *** empty log message *** 2000-08-02 22:07:46 +00:00
rods%netscape.com b3ab83a678 The script notification happens before the radiobox gets a chance to change its value
so they must return the opposite value for themselves. They don't want to actually set their
values because the script could cancel. So the idea here is to let them know before the script
call that they should return their "future" value (the opposite of their current value)

plus I made a minor change that allows the radio button to use the PaintBackground code to draw the "dot"
but it creates a tmp color struct so the color is correct.
b=42972,37517 r=kmcclusk
2000-08-02 22:06:33 +00:00
mjudge%netscape.com 87141914e6 removing unnecessary ifdef 2000-07-13 23:19:21 +00:00
akkana%netscape.com 7dfa57ab2f 38232 (nsbeta2+): Make line break character configurable in the
output system, and use \n (the DOM linebreak character) when getting
output from text controls.  Also fix some warnings.  r=kin.
2000-07-10 19:46:59 +00:00
rods%netscape.com 021eb5de93 If the click is not on on item in the dropdown and not in the comboxbox display area then
the click count is set to zero so the JS event doesn't get fired. If it IS over the combobox
display area then the JS event does get fired.
b=40382 r=pollmann
2000-07-07 01:35:23 +00:00
rods%netscape.com 7d984aef6a A "margin" variable isn't being set up in the correct spot.
b=41472 r=kmcclusk
2000-07-06 13:22:12 +00:00
pollmann%netscape.com dd1d82d182 Bug 41013: Prevent event passing from frames to content during document destruction r=joki 2000-06-29 02:02:43 +00:00
pollmann%netscape.com 7ab64c0cc4 Bug 25300: Enable activation of buttons by the keyboard (space or enter) r=nisheeth 2000-06-21 00:40:11 +00:00
rods%netscape.com cbea32e9e0 removed the incremental reflow targeted at the display text
instead we just reflow the text and the button each time.
b=40644 r=kmcclusk
2000-06-15 13:02:10 +00:00
rods%netscape.com b3961cd107 ifdef'ing out the where we get the value of the label
currently we aren't supporting "label" for options because they get
concatentated with the content
b=4050 r=kmcclusk
2000-06-15 13:00:23 +00:00
pollmann%netscape.com f6cba04351 Bug 32770: Save scroll position in session history r=nisheeth 2000-06-15 00:35:46 +00:00
mjudge%netscape.com 60e591fabd bug=34896 fixing reflow reason from nsFileControlFrame to send resize when resizing its input field. fixing mouseclick to not be so hardcoded so that the ender-lite text field still works for the "browse" button. a=beppe r=hyatt 2000-06-07 01:21:20 +00:00
buster%netscape.com 0d2ecc5b7a bug 36367
r=rods
fix was to pass in the correct width during certain types of incremental reflows.
2000-06-05 03:50:46 +00:00
rods%netscape.com ad5bd8dcb3 no longer subtracting off scrollbar width when mComputedSize is set
b=36548, r=kmcclusk
2000-06-02 20:59:57 +00:00
pollmann%netscape.com 88884f46da Bug 41037: Fix my regression that was causing forms to submit twice! r=nisheeth (thanks pinkerton, nisheeth, and leger for the quick turnaround!) 2000-05-31 02:24:48 +00:00
rods%netscape.com 5a866ce48b missed one of the strings for localization
b=32666, original reviewer was pollmann, self is reviewer for this small additional change
2000-05-27 13:03:18 +00:00
rods%netscape.com 1a153fe6ac Moved the localization methods to the helper class
the file control is now localizable (*.*, "All Files")
b=32666, r=pollmann
2000-05-27 02:27:47 +00:00
rods%netscape.com 4b203e621f 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
2000-05-26 23:34:59 +00:00
rods%netscape.com 9161f31f32 set the clickCoubt appropriately on MouseUp so onclicks are sent or disabled correctly
b=40382 , r=joki
2000-05-26 23:31:25 +00:00
evaughan%netscape.com 4ab93afb2e fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt
2000-05-26 06:42:29 +00:00
joki%netscape.com 7389ef527f Fixes for bug 38269. Fixes crash during page rewrite in focus, reset, submit and location change in onunload. r:mjudge 2000-05-26 00:26:54 +00:00
rods%netscape.com f4137f0157 Preventing event from bubbling, capture and default causes a mismatch in mousecapture
and this causes the lock. After a lot of testing it appears that the original reason
this was needed is no longer there.
Bug 38422 r=kmcclusk
2000-05-22 21:35:00 +00:00
hyatt%netscape.com 5bed7dc4bd fix for making skins script-safe. r=scc 2000-05-19 04:48:43 +00:00
mjudge%netscape.com 778ec9dd41 adding new ender_lite flag to build 2000-05-16 23:29:35 +00:00
joki%netscape.com 91e64c7b7d fix for bug 15189 along with an annoying assert that just started. r: rods 2000-05-16 21:58:37 +00:00
mjudge%netscape.com e45208d90d left in bad reference 2000-05-16 13:02:36 +00:00
mjudge%netscape.com bb7550f190 fixing regunreg for form controls 2000-05-16 12:44:32 +00:00
mjudge%netscape.com 3e8c421156 accidental checkin 2000-05-16 12:20:24 +00:00
mjudge%netscape.com 01c5c27127 fixes for RegUnRegAccessKey 2000-05-16 12:18:36 +00:00
joki%netscape.com b2e873d830 Updating mozilla to DOM Level 2 events support. Fixes for bug 34722, 35378, 8411, 10330, plus some others that weren't filed. 2000-05-16 11:35:12 +00:00
joki%netscape.com 1cdf7b1070 Adding accesskey support. Bug 959. 2000-05-16 10:22:20 +00:00
buster%netscape.com 1000dafb92 bug 35964, partial fix
r=rods
2000-05-15 22:51:42 +00:00
rods%netscape.com 6b3404f2be focus now no longer shows when it has focus.
b=35307
2000-05-15 22:23:09 +00:00
dbaron%fas.harvard.edu 27dfd22e4f Fix AtomImpl leaks (includes bug 32608). r=pollmann@netscape.com 2000-05-15 13:12:27 +00:00
evaughan%netscape.com f27fff5884 1) Scrolling menus
2) many bug fixes
3) box debuging flags
2000-05-15 04:12:31 +00:00
sfraser%netscape.com 28da072539 Add a null check. 2000-05-12 23:11:04 +00:00
rods%netscape.com e51aafde85 part of fix for Bug 33733
added ShouldRollupOnMouseWheelEvent methos to ask if the rollup want to rollup on MouseWheel events
2000-05-12 20:23:04 +00:00
rods%netscape.com ad3aa5c4e5 makes sure we are responding to the correct layer for GetFrameForPoint (thanks dbaron)
b 38925
2000-05-11 19:22:06 +00:00
rods%netscape.com 027faeb146 added comments to ifdef for better explanation 2000-05-11 14:06:32 +00:00
rods%netscape.com 9c57b5ce10 temporary fix for 38825, the frame gets notified that an option has been added
before it is actually added into the content model, so the selection cache and the
content model can be of by 1
2000-05-11 14:05:44 +00:00
mjudge%netscape.com a89f9e3c80 changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret. 2000-05-11 04:25:43 +00:00
jst%netscape.com 50499cc037 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com. 2000-05-10 13:13:39 +00:00
buster%netscape.com 3fb4ec431e effectively removed area frame
work troy was holding in his tree
r=buster
2000-05-09 05:11:12 +00:00
rods%netscape.com 6077a0a71b get char code instead of key code
bug 34630
2000-05-08 22:18:38 +00:00
rods%netscape.com 79b7da3bf8 this should bring down the leaks
should have used XPCom
2000-05-08 21:39:29 +00:00
rods%netscape.com 80954aaa3c The fix will turn itself on when in HTMLdocument and turn off in XUL documents
I will remove the old code when all the selects are removed from the UI
bug 36558
2000-05-08 20:32:11 +00:00
mjudge%netscape.com 521d8fc8eb ifdef changes wont touch build 2000-05-08 03:58:48 +00:00
rods%netscape.com 138e4bd554 The press event always delivers the key as lowercase where key down gives you the key that was pressed
need to change str to lowercase instead of uppercase
b=34630
2000-05-05 21:51:56 +00:00
rods%netscape.com 8877c991d4 bryner's fix for key repeat (thanks a lot)
need to make press event not bubble
b=38072, r=rods
2000-05-03 22:01:47 +00:00
mjudge%netscape.com dd39333ed2 preparation for ender-lite landing. 2000-05-03 06:16:32 +00:00
mjudge%netscape.com 9b895c64e9 setting up for gfxtextcontrolchange 2000-05-02 03:40:44 +00:00
dbaron%fas.harvard.edu 207bd15b6b Fix leak of nsHTMLOptionElement. r=pollmann@netscape.com 2000-05-01 04:00:38 +00:00
rods%netscape.com 01ce883ced now sets maxelement width/height
b=25541
2000-04-30 13:27:49 +00:00
rods%netscape.com af703fcc29 add OptionDisabled so the nsHTMLOptionElement can notify a select that an option
has just been disabled
2000-04-28 23:24:59 +00:00
evaughan%netscape.com d16b7355c7 1) StyleChange coelescing
2) Warning fixes
3) Table fixes
2000-04-25 07:10:48 +00:00
troy%netscape.com 8b0eb04e08 Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman%netscape.com af52293cd0 Backing out troy's changes to fix various UI blocker bugs. 2000-04-24 22:15:55 +00:00
joki%netscape.com 3851e31b9f fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
2000-04-24 04:41:27 +00:00
troy%netscape.com 73fc3dde30 Changes to bring clipping inline with upcoming CSS2 errata 2000-04-23 00:56:16 +00:00
scc%netscape.com 0b17d2a06c making string conversions explicit 2000-04-22 10:31:38 +00:00
rods%netscape.com 1118f2af9d Add ifdef'ed Performance Reflow Counting code
also added asserts for improper sizes being passed back in reflow
send onChange events on all navigation bug 29440
2000-04-21 22:16:23 +00:00
rods%netscape.com 7bc1440f39 text content longer gets set to "" which it ignores, it
gets set to " " when thedisplay should be ""
bug 36459
Add ifdef'ed Performance Reflow Counting code
2000-04-21 21:53:38 +00:00
rods%netscape.com 7adb844995 Add ifdef'ed Performance Reflow Counting code 2000-04-21 21:51:35 +00:00
rods%netscape.com 87f1ef27e8 uncommenting out some important clean up code and gating it with "!kGoodToGo"
should fix leaks
2000-04-20 03:42:12 +00:00
danm%netscape.com 622d6fe83b dist...chrome restructuring 2000-04-19 21:42:30 +00:00
rods%netscape.com df05a11b26 change char detection to use unichar and upper case so now pressing 't' or 'T'
gets you the first item that begin with 't' ot 'T'
Bug 34630
2000-04-19 14:57:44 +00:00
rods%netscape.com 2ad7174d88 Not enabling creator's to be asked if they want to create a special frame for anonymous content
bug 33515
2000-04-19 13:55:17 +00:00
scc%netscape.com 8624ce5d67 making string conversions explicit 2000-04-16 11:19:26 +00:00
scc%netscape.com c38395df69 making string conversions explicit 2000-04-15 21:18:29 +00:00
sfraser%netscape.com 89f918ee5b Adding methods to allow control of the selection in text widgets. 2000-04-13 05:15:59 +00:00
rods%netscape.com 6f55dc97f3 Dirty reflows are treated like Incremental for optimization
The GetAbsoluteFramePosition didn't take into account if the comboxbox was had a prent view with no parent
b=35291
2000-04-12 14:51:10 +00:00
hyatt%netscape.com 537541b987 Elimination of nsIFocusableContent and improvements to tabbing r=saari 2000-04-04 23:55:31 +00:00
akkana%netscape.com 7621cc570e 28598: map \r and \r\n to \n in form textarea submissions 2000-03-30 22:49:59 +00:00
jim_nance%yahoo.com 005e33f06e Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
rods%netscape.com 886073840d Few warning cleanups
Return NS_OK when MouswDown on Combobox (not dropdown), this enables
it to get focus.
b=32144
2000-03-28 15:11:16 +00:00
rods%netscape.com 72637cd5e0 When focus doesn't work correctly, and the Combobox gets deleted while the
dropdown is down it can crash. This makes sure the dropdown is rolled up and
unregistered with the rollup listener
b=33149
2000-03-28 14:29:15 +00:00
rods%netscape.com 032c4f4422 Added reflow of text frame for when the size is being set via style
b=33402
2000-03-27 22:20:06 +00:00
scc%netscape.com 9c2f6dad62 small changes to clients of string converting APIs 2000-03-26 10:06:21 +00:00
rods%netscape.com 0d1f910fba Added new interface to support additional StyleContexts that can be used for "skinning" checkboxes.
r=kmcclusk
2000-03-24 15:02:02 +00:00
rods%netscape.com 17265cffd9 fixed up some ifdefs to shutoff debug output 2000-03-24 14:59:02 +00:00
rods%netscape.com 4859798ce2 Adding nsICheckboxControlFrame to build
r=kmcclusk
2000-03-24 14:47:58 +00:00
dbaron%fas.harvard.edu fd5dc605d2 Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161. 2000-03-22 02:43:08 +00:00
rods%netscape.com fb036a0b2e now handling the incremental reflow better for options
when one more options have no label or content the height is zero, so we
now go get the first frame calculate a height based on the font metrics
r=dcone b=32383
2000-03-21 15:22:53 +00:00
rods%netscape.com 8c891be1db Moved GetAbsoluteFramePosition to nsFormControlFrame, chanhed the callers to check the return code.
r=dcone b=18895
2000-03-21 15:19:40 +00:00
rods%netscape.com 817c3a16ba Added static method for getting the absolute rect in twips and pixels
moved from nsComboboxControlFrame.cpp
r=dcone b=18895
2000-03-21 15:18:07 +00:00
pollmann%netscape.com a06c2054bf Bug 28143: Set selectedIndex to -1 should deselect all options (1 of 2 - when frame exists) r=waqar 2000-03-20 23:43:07 +00:00
dbaron%fas.harvard.edu 4f544401da Fix leak. r=pollmann@netscape.com 2000-03-18 21:29:16 +00:00
rods%netscape.com 2dc0716710 made sure "average" was initialized to zero
change the setting of the font from mFixedFont to mFont for textfields
b=18232,32254 r=sfraserfor 18232, self for 32254
2000-03-18 15:15:25 +00:00
rods%netscape.com 6e4b344439 Removed GetScreenHeight and using the one in nsFormControlFrame
b=25774 r=kmcclusk
2000-03-18 14:20:03 +00:00
rods%netscape.com c0726b3245 Added adaptive sizing for dropdown with small screen sizes
The setting of the cached available size only happens when it is not unconstrained
Added GetOptionsContainer method
Fixed minor problem in GetScrollableView (not actually passing back the frame)
Added the Flushing of content on arrow keys
b=31987,25774 r=kmcclusk
2000-03-18 14:17:34 +00:00
rods%netscape.com 0000d8cf20 Added method to get the container frame for adding/removing option frames
needed for the differences in ListControlFrame sn GfxListControlFrame
b=18895 r=kmcclusk
2000-03-18 14:17:30 +00:00
rods%netscape.com b75e1d2499 Moved GetScreenHeight from Combobox frame to here. duplicated the SkipRelfow method to
some rework, and I can if def it in and out
b=18895 r=kmcclusk
2000-03-18 13:45:30 +00:00
pierre%netscape.com 4b5db8f52f Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible). In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame. In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701. 2000-03-17 10:15:13 +00:00
rods%netscape.com a75c6402a3 I had the GetDefaultChecked and GetChecked methods reversed.
b=31009 r=kmclusk
2000-03-16 22:57:08 +00:00
rods%netscape.com 6ba4a8f08d factored out a GetScrolableView method, implemented extended selection for drag select and shift->up/down keys
added page up and down support, but it isn't supported by nsScrollFrame (works for Gfx)
should be generating the coorect DOM selection events now
r=dcone, b=14771, 30463
2000-03-15 15:55:30 +00:00
rods%netscape.com 10466a156a turning off debug #defines 2000-03-15 15:47:11 +00:00
dveditz%netscape.com ee84e699f6 fixing VC5 build (bug 31868) 2000-03-15 06:22:09 +00:00
rods%netscape.com 96f9c32724 now passing back maxElementSize correctly
b=30015
2000-03-14 14:25:05 +00:00
tbogard%aol.net e19a8ea03d GetWebShell became GetDocShell to continue the conversion to talking in terms of DocShells instead of webShells. 2000-03-11 01:30:04 +00:00
rods%netscape.com b8617b77cb combo needed to set the maxElementSize correctly when reflowing.
b=31072 r=buster a=jar
2000-03-10 04:46:16 +00:00
rods%netscape.com d13c3b2a27 nsITextContent needed to be included not forwarded. 2000-03-07 16:45:21 +00:00
rods%netscape.com f9554cf7d1 Fixed Combobox and ListBox frame to be more effecient in processing reflows
added Block and text frame for displaying the selected option for the combobox
Fixes Bugs 30463, 28835, 29544
r=buster,kmcclusk a=jar
2000-03-07 15:54:31 +00:00
rods%netscape.com 932879ce4d Backout plan, this check only fixes bug 28628
a=jar
2000-03-03 07:14:58 +00:00
rods%netscape.com e426b0a6ae added include instead of the class decl.
r=waterson
2000-03-03 05:06:03 +00:00
rods%netscape.com 0de348eef2 modified the reflow method for better handling incremental and for optimization
b=28593, r=buster,kmclusk a=jar
2000-03-03 04:28:59 +00:00
rods%netscape.com b297f3ae76 idef'ed out the adding of border padding to maxelement size, this was casuing some warnings.
r=kmcclusk a=jar b=28593
2000-03-03 00:58:00 +00:00
rods%netscape.com 44c2fbb4c0 Button marks itself dirty when the suggested size is set.
b 28593, r=kmcclusk,buster
2000-03-03 00:21:10 +00:00
karnaze%netscape.com f41508bcd7 PDT+ bug 28928 - correctly handle reflow of hidden inputs. r=rods, a=rickg 2000-02-29 13:17:33 +00:00
pierre%netscape.com 55d42bb3b3 Bug 18136/21950 "Fixing the font size mess". Implemented Todd Farhner's system in nsStyleUtil. Disabled the font size rounding code on Windows (see bug 24005). r=erik, a=rickg 2000-02-24 12:51:28 +00:00
pollmann%netscape.com 3b493e429f Bug 12513: Add OptionCollection interface for Nav DOM compatability. r=vidur a=rickg 2000-02-24 00:08:00 +00:00
pollmann%netscape.com e0c18f4ef4 Bug 28691: Fix leaks, check for null, in code my implementation was based on r=harishd a=rickg 2000-02-23 20:58:42 +00:00
pollmann%netscape.com c79b60004c Bug 28691: Fix leaks, check for null, fix a bug in checkin for bug 16999 r=harishd a=rickg 2000-02-23 20:56:39 +00:00
pollmann%netscape.com 9ad58bbd03 Bug 16999: Fix solaris nsCOMPtr complaints. 2000-02-21 06:26:55 +00:00
pollmann%netscape.com fae092781b Bug 16999: Get default button labels from .properties file instead of html.css (GfxButtonControlFrame -> anonymous content creator). r=rods a=rickg 2000-02-21 05:55:25 +00:00
rods%netscape.com f0c4b3a651 ifdef'ing out a badly formed optimization for incremental reflow.
r=buster b=24798
2000-02-16 05:20:21 +00:00
rods%netscape.com 1dd59cd330 radio button now remembers state, and in standard mode it will always select
the first item. It will also perform rradiobutton behavior when the frame are hidden (no existent)
b=27063 r=kmcclusk
2000-02-15 23:02:55 +00:00
rods%netscape.com 66be43abb8 added method
b 21945 r=pollmann
2000-02-15 15:57:13 +00:00
rods%netscape.com 8181c2bd8d They now cache their state properly in the PresState
b 27063 r=kmmclusk
2000-02-15 15:05:56 +00:00
rods%netscape.com 45ed3c6864 They now cache their state properly in the PresState
b 21945 r=pollmann
2000-02-15 15:04:38 +00:00
buster%netscape.com bb8ee0cf3c enabled "physical" and "virtual" as synonyms for <textarea> "wrap" attribute value
bug = ???, it's been reassigned to someone else, this was part of a larger problem
that has mostly been fixed already
r=rods
2000-02-14 02:03:36 +00:00
rods%netscape.com fc8c04ec37 Let's try a non-COMPtr fix, I wish COMPtr would work the same on all platforms.... 2000-02-12 17:49:11 +00:00
rods%netscape.com e4f9b03cb9 same old thing Linux hates comparing a nsCOMPtr to a non-OMCPtr 2000-02-12 17:01:35 +00:00
rods%netscape.com e9740dbb06 now remembers state when selected for single select combos and listboxes,
it does not remember mulitple selections (more work needed in content class)
converted over to rnsCOMptr as much as I could
b=21945, r=pollmann
2000-02-12 16:21:37 +00:00
pavlov%netscape.com e883a22ccd fix for combo boxes not grabbing the mouse on linux (fixes bugs 7898 and 26273) r=waqar 2000-02-11 22:26:36 +00:00
nhotta%netscape.com d8f9f6841c Added a function to return path name in unicode, contributed by m_kato@ga2.so-net.ne.jp, edited by nhotta, bug 22863, r=ftang. 2000-02-11 01:08:56 +00:00
evaughan%netscape.com b230de42c8 1) Fixed freeze because of sync drawing in forms
2) Fixed fieldset blocker

-r rods, granrose
2000-02-10 21:36:28 +00:00
rods%netscape.com 34326dd68c changing nsCOMPtr to weak references for PresContext
a=leaf, r=self, bug=bloat&leak went up
2000-02-09 23:20:56 +00:00
evaughan%netscape.com f71ee84662 1) implememted box reflow coelescing.
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543

-r hyatt, troy, rod
2000-02-09 22:02:40 +00:00
rods%netscape.com d05eeaa676 removing unneeded native frames and unneeded frame classes that these derived from
fixing checkbox and radiobutton state restore
fixing right btn click on dropdown
adding in initial work for accesskey
bug 17027,26296,27063,7559; carpool a=leaf; r=kmcclusk
2000-02-09 19:34:39 +00:00
pp%ludusdesign.com 43d7ba4273 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
rods%netscape.com 76d491d5dc added the caching of the restore state until the list frame gets reset
removed the positioning of the dropdown at the bottom of reflow
r kmcclusk b=21945,25059
2000-01-31 23:59:55 +00:00
rods%netscape.com e501b48066 add extra debug; added some inremenal reflow code;
doing much better job check return vars;GetText now check for NS_OK;
r dcone, b 24292
2000-01-31 23:36:50 +00:00
leaf%mozilla.org f1a8910137 backing out rods to fix options lists 2000-01-28 19:03:34 +00:00
rods%netscape.com 57502d77af using correct usesage pattern for getting and seeting the FrameState
Added in my new reflow code with an ifdef so I can work on it and fix other bugs
fixed the checking of return codes for getHTMLAttr
removed ShouldScrollFrameIntoView, the presshell can now do this.
also commented out the call to Position the Dropdown
r=dcone b=24292
2000-01-28 15:24:49 +00:00
rods%netscape.com e7e764db46 added check so it doesn't do a reset on the incremental reflow
r=dcone bug=none
2000-01-28 15:04:19 +00:00
pollmann%netscape.com bcb43fcaf0 Bug 18649: non FormControlFrame derived form elements also only scroll when not at all visible r=rods 2000-01-25 22:19:39 +00:00
nisheeth%netscape.com e468aef1ea r=vidur. Add support for a new pref "layout.reflow.async.afterDocLoad" that enables async reflow in the pres shell only after the document is done loading. Cleaned up ExitReflowLock() so that it uses preferences to decide whether to do async reflow, not a parameter. 2000-01-25 16:00:44 +00:00
rods%netscape.com 7335d90bfb changed signature of GetFont b=905 r=dcone 2000-01-25 15:25:46 +00:00
rods%netscape.com 9875e784f4 changed to use new signature of GetFont r=dcone b=905 2000-01-25 15:25:07 +00:00
rods%netscape.com 34f4228011 changed signature of GetFont,GetFrameFontFM b=905 r=dcone 2000-01-25 15:25:04 +00:00
rods%netscape.com cea53d478a changed signature of GetFont,changed to scroll it into view only if it isn't visible b=905,18649 r=dcone,troy 2000-01-25 15:24:48 +00:00
rods%netscape.com f7ebac37c6 changed signature of GetFont b=905 r=dcone 2000-01-25 15:18:46 +00:00
beard%netscape.com 84cbca2516 floating views. bug=21966, r=troy, rods, a=brendan 2000-01-25 01:53:34 +00:00
troy%netscape.com 73a3709284 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
nisheeth%netscape.com 9c4e0a92a6 a=chofmann. r=rods, attinasi. The frame's state bits were getting reset by the NS_NewFieldSetFrame() method. This was causing asserts in layout because the frame did not have its dirty bit set. Fixed. 2000-01-20 17:14:34 +00:00
pierre%netscape.com eca7ac464e Backing out one line from the previous checkin in order to fix #24344 ("Crash when displaying a list box"). 2000-01-19 12:27:40 +00:00
rods%netscape.com cde6e415cd Initial shift click will now work correctly for mulitple with selected items
it now will scroll to the selected items on start up
b 24178,7025 r=kmcclusk
2000-01-18 23:33:22 +00:00
rods%netscape.com 682250c24f removed warnings
r=kmcclusk
2000-01-18 23:23:52 +00:00
evaughan%netscape.com c7a2e2d937 Fixed html and input button to center and size correctly. #17474,#17353,#23270, #21249 -r Rod 2000-01-18 20:29:22 +00:00
attinasi%netscape.com c6bda3922d Added flags to factory method to allow NS_BLOCK_SPACE_MGR to be specified for abs. Positioned fieldsets. Fixes bug 23611. r=rods,pierre 2000-01-18 15:42:45 +00:00
hyatt%netscape.com 489fa24f63 Fixes for bugs 17460 and 21656. r=travis 2000-01-14 09:28:54 +00:00
rods%netscape.com 111a73a59a The combobox would be scrolled into view if some portion of it is visible.
b 23068 r=attintasi
2000-01-13 23:52:53 +00:00
rods%netscape.com c826c2abb6 Fixed two bugs, it puts the entire native file path into the text control instead of just the file name
and now it obeys the "size" attribute
b=19010 r=attintasi
2000-01-13 23:34:01 +00:00
brade%netscape.com 4139a0f457 use proper key for disconguous selection on Mac (r=jfrancis) 2000-01-13 16:01:04 +00:00
rods%netscape.com e8985fdb21 reworked some more of the fieldset's reflow (not in build yet) 2000-01-11 20:40:06 +00:00
rods%netscape.com cee7c68c6f Listbox was handle clicks in the combobox incorrectly and this caused the
dropdown to rollup too soon.
b=23484 r=kmcclusk
2000-01-11 20:36:37 +00:00
rods%netscape.com 7f30314d7a click events for checkbox and radiobuttons now handled via content (DOM0
instead of the frame
b=23592 r=kmcclusk
2000-01-11 20:33:36 +00:00
rods%netscape.com cd4c745f16 Added unconstrainted reflow optimizations
r=kmcclusk bug=12653
2000-01-09 02:07:00 +00:00
rods%netscape.com 73c1948005 Reworked frame creation and creation of it's children for bug 23156,
not turned on yet.
2000-01-09 02:05:25 +00:00
rods%netscape.com 9d4dc50132 Temporarily turning off optimization 2000-01-09 02:03:23 +00:00
rods%netscape.com ee8729afee Added unconstrainted reflow optimizations
r=kmcclusk,dcone bug=12653
2000-01-09 01:52:17 +00:00
rods%netscape.com de25ed658f Added unconstrainted reflow optimizations
r=kmcclusk,dcone bug=12653
2000-01-09 01:41:11 +00:00
rods%netscape.com 2af5f256f9 Added unconstrainted reflow optimization methods
r=kmcclusk bug=12653
2000-01-08 15:53:48 +00:00
rods%netscape.com a25e7644fc backed out all changes from today (1/5/2000) 2000-01-05 16:42:47 +00:00
rods%netscape.com 52849ba449 compile sunder windows and not Linux, wierd 2000-01-05 15:58:07 +00:00
rods%netscape.com e63ecd85ed turning off reflow optimization until further XUL testing can be done.
r=self
2000-01-05 15:47:16 +00:00
rods%netscape.com 2eeffb7cab Added unconstrainted reflow optimizations
reworked reflow to more accurately calculate its size
r=kmcclusk,dcone bug=12653
2000-01-05 15:46:29 +00:00
rods%netscape.com 10e16600ca Added unconstrainted reflow optimizations
Also, commented out the adding of border-padding to the maxelementsize
r=kmcclusk bug=12653
2000-01-05 15:22:38 +00:00
rods%netscape.com 3c2300bf66 Added unconstrainted reflow optimizations
r=kmcclusk bug=12653
2000-01-05 15:21:02 +00:00
rods%netscape.com 543b271ef5 Added unconstrainted reflow optimization methods
r=kmcclusk bug=12653
2000-01-05 15:15:22 +00:00
sspitzer%netscape.com 42e7039924 fix warnings 1999-12-28 19:41:57 +00:00
rods%netscape.com a3346c4a5e turned off some debug rods only 1999-12-22 20:03:59 +00:00
rods%netscape.com a10fd6a960 fixed visibility check error
r=kmcclusk bug=21701
1999-12-22 19:54:21 +00:00
rods%netscape.com c3679c3727 turned off some rods debug output and fixed visibility check error
r=kmcclusk bug=21701
1999-12-22 19:52:56 +00:00
rods%netscape.com c37936155f changed clipping in Paint to be intersect instead of replace
r=kmcclusk
1999-12-22 19:50:47 +00:00
rods%netscape.com 7c47447ac9 Fixed the edge case where the select may have zero options or one option
with no lable and no content and it sizes out to be zero high
also fixed twhere visibility wasbeing check incorrectly
r=kmcclusk
1999-12-22 19:49:36 +00:00
rods%netscape.com b3fcb59f48 Added experimental ifdef;ed but turned for reducing the number of resize reflows,
basically we ignore them and pass back our most recently reflowed size
r=karnaze bug=22063
1999-12-22 19:46:28 +00:00
hyatt%netscape.com 563b3b509d Patch that gets tabbing back into text fields. r=waterson 1999-12-21 19:35:13 +00:00
hyatt%netscape.com 64b7811b77 Fixes for 3 PDT+ bugs (THAT'S RIGHT). Bugs 21895, 21832, and 21610. r=mjudge,
a=i'm leaving now for vacation, and i can't find anyone around, but i'm assuming that you
actually want them before January 3rd, so I'm checking them in.
1999-12-18 04:02:28 +00:00
rods%netscape.com a558bc096c temprary fix for combobox dropdowns that jump all around.
changed the way a temp nsSize was being created.
removed all the dom listener interfaces and code (they weren't being used)
r=beard,self a=chofmann bug 19416, 20957, 19300, 20250
1999-12-14 22:22:00 +00:00
rods%netscape.com 1aa5067600 stripping out all the whitespace for form data submission
commented changing the visible directly
bug 21276, r=pollmann a=chofmann
1999-12-14 14:16:09 +00:00
rods%netscape.com 5c145aa0f5 not using scaled pixels to twips
b=21293 r=dcone
1999-12-10 23:59:27 +00:00
hyatt%netscape.com 3f9fa43e97 Massive rewrite of the focus/blur architecture. Things should behave better
now. r=saari
1999-12-08 04:54:29 +00:00