167 Commits

Author SHA1 Message Date
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
jst%netscape.com
0f0b4d6367 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.
git-svn-id: svn://10.0.0.236/trunk@69034 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:13:39 +00:00
buster%netscape.com
4fb9226391 effectively removed area frame
work troy was holding in his tree
r=buster


git-svn-id: svn://10.0.0.236/trunk@68808 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 05:11:12 +00:00
rods%netscape.com
132a6cb39a this should bring down the leaks
should have used XPCom


git-svn-id: svn://10.0.0.236/trunk@68718 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 21:39:29 +00:00
rods%netscape.com
7741a4bea3 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


git-svn-id: svn://10.0.0.236/trunk@68698 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 20:32:11 +00:00
rods%netscape.com
a59a1ace9c add OptionDisabled so the nsHTMLOptionElement can notify a select that an option
has just been disabled


git-svn-id: svn://10.0.0.236/trunk@67580 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-28 23:24:59 +00:00
scc%netscape.com
fe0f1e89f2 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66852 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-22 10:31:38 +00:00
rods%netscape.com
26338973b9 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


git-svn-id: svn://10.0.0.236/trunk@66763 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 21:53:38 +00:00
rods%netscape.com
335366306f uncommenting out some important clean up code and gating it with "!kGoodToGo"
should fix leaks


git-svn-id: svn://10.0.0.236/trunk@66513 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-20 03:42:12 +00:00
rods%netscape.com
bbcb0f397d Not enabling creator's to be asked if they want to create a special frame for anonymous content
bug 33515


git-svn-id: svn://10.0.0.236/trunk@66446 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-19 13:55:17 +00:00