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

609 Коммитов

Автор SHA1 Сообщение Дата
rods%netscape.com 364d22bb8c changed signature of GetFont b=905 r=dcone 2000-01-25 15:25:46 +00:00
rods%netscape.com cb8300c754 changed to use new signature of GetFont r=dcone b=905 2000-01-25 15:25:07 +00:00
rods%netscape.com daeb2e4655 changed signature of GetFont,GetFrameFontFM b=905 r=dcone 2000-01-25 15:25:04 +00:00
rods%netscape.com 0403a43678 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 a1afa3cfde changed signature of GetFont b=905 r=dcone 2000-01-25 15:18:46 +00:00
beard%netscape.com 7226bc7257 floating views. bug=21966, r=troy, rods, a=brendan 2000-01-25 01:53:34 +00:00
troy%netscape.com 8a78d916a5 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 7a2c32349c 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 bf96114107 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 13cafca25a 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 dd6bd3d6ca removed warnings
r=kmcclusk
2000-01-18 23:23:52 +00:00
evaughan%netscape.com fbffedcde5 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 8c62444298 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 e740cdb714 Fixes for bugs 17460 and 21656. r=travis 2000-01-14 09:28:54 +00:00
rods%netscape.com b01cef4a9a 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 117c3ec89c 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 04d15b9381 use proper key for disconguous selection on Mac (r=jfrancis) 2000-01-13 16:01:04 +00:00
rods%netscape.com 9a18c0578e reworked some more of the fieldset's reflow (not in build yet) 2000-01-11 20:40:06 +00:00
rods%netscape.com fbaf63ee29 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 7660b3c8ea 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 6147b70ee7 Added unconstrainted reflow optimizations
r=kmcclusk bug=12653
2000-01-09 02:07:00 +00:00
rods%netscape.com a0c686605d 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 0f8bcdb83c Temporarily turning off optimization 2000-01-09 02:03:23 +00:00
rods%netscape.com a5b48b3896 Added unconstrainted reflow optimizations
r=kmcclusk,dcone bug=12653
2000-01-09 01:52:17 +00:00
rods%netscape.com 2618ed4aaf Added unconstrainted reflow optimizations
r=kmcclusk,dcone bug=12653
2000-01-09 01:41:11 +00:00
rods%netscape.com d163e95f4c Added unconstrainted reflow optimization methods
r=kmcclusk bug=12653
2000-01-08 15:53:48 +00:00
rods%netscape.com de428bbd80 backed out all changes from today (1/5/2000) 2000-01-05 16:42:47 +00:00
rods%netscape.com 92e5a18aad compile sunder windows and not Linux, wierd 2000-01-05 15:58:07 +00:00
rods%netscape.com 93d013bd9a turning off reflow optimization until further XUL testing can be done.
r=self
2000-01-05 15:47:16 +00:00
rods%netscape.com 05e6af0c80 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 f5a6e0ef07 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 1648364918 Added unconstrainted reflow optimizations
r=kmcclusk bug=12653
2000-01-05 15:21:02 +00:00
rods%netscape.com 855bb9d946 Added unconstrainted reflow optimization methods
r=kmcclusk bug=12653
2000-01-05 15:15:22 +00:00
sspitzer%netscape.com f37e107774 fix warnings 1999-12-28 19:41:57 +00:00
rods%netscape.com 49c637cb96 turned off some debug rods only 1999-12-22 20:03:59 +00:00
rods%netscape.com 9cd72b4dcc fixed visibility check error
r=kmcclusk bug=21701
1999-12-22 19:54:21 +00:00
rods%netscape.com 4fe94fce65 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 3e09f5371c changed clipping in Paint to be intersect instead of replace
r=kmcclusk
1999-12-22 19:50:47 +00:00
rods%netscape.com eeebdaf748 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 063e7d3511 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 221920403a Patch that gets tabbing back into text fields. r=waterson 1999-12-21 19:35:13 +00:00
hyatt%netscape.com d3e0848c19 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 9da2c4a788 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 d9a272f088 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 14a871afc2 not using scaled pixels to twips
b=21293 r=dcone
1999-12-10 23:59:27 +00:00
hyatt%netscape.com 244bfeaee8 Massive rewrite of the focus/blur architecture. Things should behave better
now. r=saari
1999-12-08 04:54:29 +00:00
rods%netscape.com 525477239f Always passing back that the frames are there, this still isn't right and needs to be
reworked again. But this will able some XUL selects to work that otherwise would be
broken and I haven't found it to cause any problems with a lot of testing. I have
regressed to this situation in the past and it worked OK.
r=kmcclusk, bug=none but hangas (or self) would have filed one by end of day.
1999-12-08 00:08:41 +00:00
rods%netscape.com 1788de88fc removing unused variables (bloat) and using nsLayoutAtoms::optionSelectedPseudo instead of
using a string and creating and deleting it each time.
r=kmcclusk
1999-12-06 22:59:43 +00:00
troy%netscape.com 85012ab550 Change to how overflow is handled for absolutely positioned elements.
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics
1999-12-06 15:49:53 +00:00
rods%netscape.com 1d9eead5cf now trims white space and makes sure the text is two spaces if empty
r=kmcclusk b=none
1999-12-05 20:48:37 +00:00
rods%netscape.com 1fb0151a66 removed the substraction of the border and padding for fixed width
r=kmcclusk b 18448
1999-12-05 20:45:58 +00:00
rods%netscape.com 3a60daace3 Added a "flags" variable for combobox creation
also fixed a a small problem with border padding being added in for fixed size comboboxes
r=self,  bug 19382
1999-12-05 20:43:18 +00:00
hyatt%netscape.com de2eaede42 Implementing a generalized recycler and arena for all layout frames. Hoping to improve
bug #9489.  Should also definitely fix bug #15916. r=troy
1999-12-04 23:49:50 +00:00
rods%netscape.com 16f2348544 clips inside the border instead of inside the border and padding
r=kmcclusk bug 20301
1999-12-02 22:07:43 +00:00
sfraser%netscape.com 6fecda09b6 Fix for another part of for 19954 -- convert textarea data to LF termination before saving frame state. r=pollman 1999-12-02 03:12:51 +00:00
sspitzer%netscape.com 2c52f853c6 simple bullet proofing fix for #20423 1999-12-01 03:08:04 +00:00
troy%netscape.com 7bf90e4b27 Fixed compiler warning 1999-11-30 05:38:15 +00:00
waterson%netscape.com 8d89aefd28 Don't re-create atom over and over. r=hyatt 1999-11-30 01:13:36 +00:00
rods%netscape.com ca9ac3ad84 added back in the code that hook it up to the form for submission
r=kmcclusk bug 19546
1999-11-24 21:37:34 +00:00
rods%netscape.com 5d16e3d2d2 change to always check for upper case TEXT
r=kmccluck bug 19607
1999-11-24 21:24:06 +00:00
rods%netscape.com 6af28faed3 CheckIfAllFramesHere not actually check to see if all the frames are there
r=kmcclusk Bug 19949
1999-11-24 21:12:03 +00:00
rods%netscape.com 80cf356162 when there is no value it gets the text for the butto from the egernated content
in all cases (not just when it is a submit or reset) r=kmcclusk bug 19607
1999-11-24 20:59:49 +00:00
tbogard%aol.net af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
rods%netscape.com 768f5e2a14 removed return variable that wasn't used and its warning r=self 1999-11-23 14:21:03 +00:00
rods%netscape.com 5bae29cd58 fixed two warning r=me 1999-11-23 14:16:59 +00:00
sfraser%netscape.com 0e4bf774a9 #ifdef out all the stupid printfs. r=pinkerton, no bug. 1999-11-23 03:26:56 +00:00
rods%netscape.com fe1b8588fc Added NavQuirks sizing for input button 1999-11-22 22:04:53 +00:00
rods%netscape.com d6949938f3 Added NavQuirks sizing for buttons and hidden 1999-11-22 22:03:35 +00:00
rods%netscape.com 31776f0714 added bool parm to is DoneAddinContent r=dcone bug 18241 1999-11-19 16:05:16 +00:00
rods%netscape.com 7d764bab17 added bool parm to is DoneAddinContent r=dcone bug 18241 1999-11-19 15:46:20 +00:00
rods%netscape.com b2082f8df4 added bool parm to DoneAddingContent r=dcone bug 18241 1999-11-19 15:43:06 +00:00
troy%netscape.com 597b5f236b WillReflow/DidReflow changes and changes to the way view positioning
and sizing works
1999-11-19 15:33:29 +00:00
buster%netscape.com 2c36996496 DOM extension for exposing text areas to XUL
bug 12022, r=rickg, vidur
1999-11-19 07:24:15 +00:00
rods%netscape.com 6ace09adfd removing extra box sizing code that is not needed.
computed border and padding is always added for Standard and only for explicit w/h for NavQuirks.
r=dcone bug=18448
1999-11-18 15:15:07 +00:00
rods%netscape.com 854e72dc25 Added MakeSureSomethingIsSelected to the combobox so the ListBox can
call it after it is initialized.
1999-11-16 22:47:23 +00:00
rods%netscape.com c93837bf2a Added MakeSureSomethingIsSelected so the ListBox can call it after it is initialized. 1999-11-16 22:47:15 +00:00
pollmann%netscape.com aef9c79358 Fix typo during typo during previous checkin. 1999-11-16 01:20:04 +00:00
pollmann%netscape.com b64383029b Bug 15204: Allow getting text value in uninitialized textarea - GetText works with text inputs AND textareas. r=harishd 1999-11-16 01:17:54 +00:00
rods%netscape.com 8313932cd7 temporarily adding box sizing utility methods to help forms calculate their size
appropriately for box sizing.
r=kmcllsuk, bug 18448
1999-11-15 15:16:28 +00:00
rods%netscape.com 1bb3e4524f Disabled key events when it is disabled
r=dcone,b=14771
1999-11-12 15:08:28 +00:00
rods%netscape.com 1d9e5aa730 Removed the mDisplay data member it was the same as mHasAllFrames, this was preventing
the options from having there selected state displayed initially
Also, changed it so when in drop down mode and nothing is selected it always scrolls
to 0,0
b=14771,13771 r=kmcclusk
1999-11-12 15:00:30 +00:00
kmcclusk%netscape.com 199bc6a632 Fixed problem where buttons where causing reflows when entering and exiting.
Removed outline border style and fixed style context parentage of buttons.
bug 17892; r=buster@netscape.com
1999-11-12 01:45:53 +00:00
rods%netscape.com dfebb59b9d Added new method "DoneAddingContent" so the select frame can be told that all the content has been added
Reworked the select code to keep the state as to whether all the content and/or all the frames
have been created and then whether it is initialized
r=self&kmcclusk, bug 17965
1999-11-11 22:13:33 +00:00
troy%netscape.com 2e7ee4874b b=17546. Changed block frame code to save/restore space manager when create
a space manager, and changes button code to use the NS_BLOCK_SPACE_MGR flag
when creating the area frame
1999-11-11 06:00:41 +00:00
rods%netscape.com f14dbd84fb Fixes MLK 18207 - missing addref, r=beard
Fixes Crasher 17852 by temporarily commenting out the offending line, waiting on bug 18183
r=kmcclusk
1999-11-09 13:41:27 +00:00
nisheeth%netscape.com ab25264f7b r=vidur. a=chofmann. Post a reflow event instead of doing reflow command processing synchronously. Currently this only happens on content appended and content inserted notificaitions in the pres shell. 1999-11-09 03:23:26 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
pollmann%netscape.com 1ac4b75dcc Bug 17995: Don't reset selection when adding an option to a combobox, as it caused reframing and a crash. r=harishd a=choffman 1999-11-06 00:54:54 +00:00
pollmann%netscape.com 210784fe9b Bug 17431: Clean house in form and form control destructors to allow reframing r=harishd a=choffman 1999-11-04 23:16:47 +00:00
rods%netscape.com 94cb5b1e6b Commented out the reset of the list when an option gets added
Fixes crashers 17836, 17852, 17965 r=kmcclusk
1999-11-04 22:45:10 +00:00
joki%netscape.com 1675be15e0 Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur 1999-11-03 07:11:45 +00:00
rods%netscape.com 3f9ff89e9b Add CountAllChild to count all the option and optgroup elements so lists
get sized correctly when no rows are specified
r=kmcclusk, bug=4050
1999-11-03 00:07:01 +00:00
rods%netscape.com 4dc1d549b0 Added code to size the button appropriately when style sets the size and
make it clip for drawing.
NOTE: This is a temporary fix for bug #17474
1999-11-03 00:05:30 +00:00
rods%netscape.com 0848659bb9 Combos now size correctly when the size is specified via style
r=kmcclusk, b=16317
1999-11-03 00:03:32 +00:00
kmcclusk%netscape.com 7872e769f6 Fixed places where SetProperty and Reset were missing the nsIPresContext argument.
This fixed 6 warnings and cases where reset and set property where not working properly for
all form elements. r = rods@netscape.com.
1999-11-03 00:01:13 +00:00
pollmann%netscape.com d349c3eeb6 Removing null code. No bug number. r=nisheeth 1999-11-02 03:48:04 +00:00
pollmann%netscape.com fa50777353 Removing null code. No bug number. r=nisheeth 1999-11-02 01:50:15 +00:00
troy%netscape.com 1585a751fb Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
rods%netscape.com 1d9434ba93 Check to see if the option being added has the "selected" property, if it
does then the list needs to be reinitialized.
r=dcone, bug #17519
1999-11-01 15:41:17 +00:00
troy%netscape.com 65dd8985c3 b=17507. Changed Reflow() to use "available height" instead of "computed
height" when reflowing child frames. What was happening was that the child
table frame didn't fit and was trying to split. That should only happen when
we're paginated
1999-10-31 03:39:24 +00:00
rods%netscape.com 2895baab71 removes itself from the radio group when it is destructed
r=kmcclusk, bug 17418
1999-10-29 13:54:58 +00:00
rods%netscape.com c36411b6ff Listboxes now obey CSS specifed sizes
r=kmcclusk,related to bug 16317
1999-10-28 20:31:23 +00:00
rods%netscape.com 7670a72df2 At kipp's suggestion I added a EnterReflowLock before and a ExitReflowLock
after my AppendReflowCommand. The reflow command gets "kicked off"
and it is now fixed. r=kipp, b=14771
1999-10-26 23:34:46 +00:00
dcone%netscape.com eb5d6cfd19 Added a clip for the borders and fixed how they are rendered. r=karnaze
bugs:10311,8737,14566
1999-10-26 14:34:17 +00:00
troy%netscape.com 87afecabc0 Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
rods%netscape.com 3b52acd283 Changed the parameter of the CalcNavQuirksSize to take the input spec instead of the length
not it properly calculates the number of cols and rows when in NavQuiks mode
r=kmcclusk, part of bug 7461
1999-10-22 03:14:03 +00:00
rods%netscape.com 23ceab24e7 changed the padding so it is adding in the correct left right instead of top bottom
r=kmcclusk, Bug #16936
1999-10-21 22:22:32 +00:00
rods%netscape.com ef783cc295 removed the PR_MAX forcing the y offset to be zero or greater. Not sure why it was doing this.
r=kmcclusk Bug #16152
1999-10-21 00:06:23 +00:00
rods%netscape.com a00139db0c added code to the destructor to make sure the list get rolled up.
r=kmcclusk bug 15912
1999-10-20 21:59:04 +00:00
scc%netscape.com e36b183d71 eliminate warnings, r=shaver 1999-10-20 18:59:00 +00:00
evaughan%netscape.com a2bcc96c08 fixed numerous warnings. Reviewed by Hyatt. 1999-10-20 00:46:21 +00:00
rods%netscape.com 634a39119e fixed several warning and fixed setting the wrap property enum to off r=kmcclusk, bug 16770 1999-10-19 19:58:07 +00:00
rods%netscape.com b8cbe4bec7 removed comma after last enum, warning clean up, r=kmcclusk (no bug) 1999-10-19 19:56:35 +00:00
rods%netscape.com 969aac994a Moved GetWrapProperty to nsFormControlHelper
Changed add the added of scrollbar sizes for Standard mode
r=kmcclusk, Bug #3040,11285
1999-10-19 11:58:53 +00:00
rods%netscape.com 6138edf03a Added methods for getting a frame's current font and
for calculating the nsIFormControlFrame's NavQuirks size
Added two methods for getting the "wrap" property and andded a new enum
for for testing against instead of a string
Added a method for calculating the size when in NavQuirks modes, this currently
duplicates the algorithms for for input text and textareas
r=kmcclusk, Bug #3040,11285
1999-10-19 11:58:50 +00:00
rods%netscape.com a1f10b043a Removed old commented out code and unused comments. r=kmcclusk, (no bug) 1999-10-19 11:35:17 +00:00
peterl%netscape.com a6adfea707 Added namespace ID to the AttributeChanged notification
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
kmcclusk%netscape.com a62e21a089 Return the value of the option element value attribute if it is present otherwise return
the content of the option. bug #16158. r=rods@netscape.com
1999-10-14 23:41:40 +00:00
pollmann%netscape.com f7222cc9f3 Bug 15841: Don't default to selecting item 0 of a listbox
Bug 15769: Default select item 0 when adding or removing opt to combo
r=harishd
1999-10-12 08:47:29 +00:00
pollmann%netscape.com 08ea485d71 Bug 15769: Default select item 0 when adding or removing opt to combo
r=harishd
1999-10-12 08:47:22 +00:00
kipp%netscape.com 65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
rods%netscape.com 1d4f67cd4b ifdef'ed out a static counter for debugging. r=kmcclusk b=15637 1999-10-08 12:24:11 +00:00
rods%netscape.com 3f456e3f80 Added the COMPAre macro for comparing sizes with NavQuirks
r=kmcclusk
1999-10-07 21:46:31 +00:00
rods%netscape.com a7f80d034e Changed the way the list figures out how high a single item is, it now subtracts out the padding & border instead of just the border
r=kmcclusk
1999-10-07 21:39:50 +00:00
rods%netscape.com aad2ad4877 Removed code where standard mode was incorrectly subtracting border size
r=kmcclusk
1999-10-07 21:37:02 +00:00
rods%netscape.com f1ae33e0a0 Added macro to help in figuring Nav Quirks default size for all
controls ifdef for just me r=kmcclusk
1999-10-07 21:07:38 +00:00
rods%netscape.com 53a5602235 Added macro to help in figuring Nav Quirks default size for all controls r=kmcclusk 1999-10-07 21:04:52 +00:00
pavlov%netscape.com f65d72dc11 ifdef out the call to CaptureMouse since it is no longer needed r=rods 1999-10-06 13:36:39 +00:00
pollmann%netscape.com 9fff77bf97 Bug 15170: Implement onchange notification for list boxes 1999-10-05 23:43:06 +00:00
peterl%netscape.com 5e1b925280 removing dead style change code and refereneces to dead style change code
r=troy
1999-10-02 04:23:48 +00:00
rods%netscape.com e6b0939762 Added new method to tell the listcontrolframe it is about to be rolled up by the combobox
this enables it to unset any temporary selections and restore the actual selection
1999-10-01 14:30:33 +00:00
rods%netscape.com 0230fedeff ifdef out a debug statement 1999-10-01 14:26:40 +00:00
rods%netscape.com 2cbdb57b36 removed noisy printf 1999-10-01 14:20:45 +00:00
rods%netscape.com dffe42e2b3 Added ConsumeEvents parameter to CaptureRollupEvents 1999-09-30 14:36:17 +00:00
rods%netscape.com 2bbff7b9c2 Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
added some key support made it so it sets the focus back to the main webshell window when the drop down is closed
1999-09-30 11:37:58 +00:00
rods%netscape.com f78ab7229e Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object 1999-09-30 11:36:44 +00:00
rods%netscape.com 40bda71f57 Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
Removed focus listener and ForcedRedraws
1999-09-30 11:36:32 +00:00
rods%netscape.com 96fedd5157 Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
It also measures W & w for the the chars width in NavQuirks mode to get more accurate measurement of the width and height
1999-09-30 11:34:32 +00:00
rods%netscape.com 5977e4153a Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object 1999-09-30 11:31:40 +00:00
rods%netscape.com 157ce078c9 Changed getVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object 1999-09-30 11:30:04 +00:00
rods%netscape.com d48404dfac Fixed to use the LookAndFeel object in the PresContext instead of creating one via the ComponentManager 1999-09-30 11:23:17 +00:00
peterl%netscape.com 7911885f43 manage view visibility better 1999-09-29 03:36:16 +00:00
peterl%netscape.com 60b2bd4053 set reflow reason properly for incremental changes 1999-09-29 03:35:51 +00:00
peterl%netscape.com 5eb5883901 use style changed reflow instead of content changed when updating button 1999-09-29 03:35:24 +00:00
dcone%netscape.com 0d650e898c Added a Release.. to fix a leak 1999-09-24 13:49:12 +00:00
dcone%netscape.com ae9532ab74 Took out some Addrefs, causing leaks 1999-09-24 13:48:40 +00:00
rods%netscape.com 256480c581 Added nsIRollupListener for rolling up the dropdown 1999-09-21 21:20:50 +00:00
pollmann%netscape.com 1d75057a7c Bug 11488: Crash when deleting options from GFX selects 1999-09-21 13:25:32 +00:00
peterl%netscape.com 700674fb14 removed ReResolveStyleContext 1999-09-21 07:56:18 +00:00
pollmann%netscape.com 703289e64a Bug 13960: Combo box must not be dropped down before mouse moves update the selected option. 1999-09-19 09:48:04 +00:00
pollmann%netscape.com 2cf83f397b Remove redundant reset() call. 1999-09-19 09:18:33 +00:00
pollmann%netscape.com 4764d83d27 Cache value updates in a more general way for file inputs, fix mem leak. 1999-09-19 07:25:12 +00:00
pollmann%netscape.com 317b6c0e1b Bug 9136: Combobox selectedIndex now defaults to 0 instead of -1 1999-09-17 07:22:23 +00:00
pollmann%netscape.com 67b2692c32 Bug 13960: Update GFX combos when selection is set. 1999-09-16 22:36:29 +00:00
pollmann%netscape.com bfd96752c6 Minor cleanup - don't assume implementation details. 1999-09-16 20:26:44 +00:00
rods%netscape.com c00a954c6f It was calculating the absolute position wrong. the frame's x,y was being added in twice. 1999-09-15 21:57:51 +00:00
pollmann%netscape.com b4451b8526 Bug 13058: (Fixed Solaris bustage by removing Inherited typedef) 1999-09-15 05:31:31 +00:00
evaughan%netscape.com d1525e5bd4 Fixed some bugs in splitter
added auto collapse.
1999-09-14 22:17:19 +00:00
dcone%netscape.com 1364fc8597 Added a Mac case for creating the popup widget.. The #ifdef will come out when all platforms support the PopUp_CID 1999-09-14 21:29:58 +00:00
pollmann%netscape.com c6ea67797b Backing things out until I can get Solaris bustage figured out. 1999-09-14 20:42:26 +00:00
pollmann%netscape.com 0e16a58334 Bug 13058: Update select control interface to include 'get option selection' 1999-09-14 19:37:51 +00:00
pollmann%netscape.com 8dd16c6263 Bug 13058: Implement nsIStatefulFrame for selects. Some memory leak fixes. Plus the usual plethora of bugfixes for native selects 1999-09-14 19:37:45 +00:00
pollmann%netscape.com 599b8f1a31 Bug 13058: Implement nsIStatefulFrame for file inputs, cache value until child textbox is created, and misc cleanups. 1999-09-14 19:28:45 +00:00
pollmann%netscape.com a6d7defe41 Bug 13058: Implement nsIStatefulFrame for text inputs and textareas 1999-09-14 19:19:55 +00:00
rods%netscape.com fea9cdf36b cleaned up some code
add method to get the absolute rect of the combobox frame for hit detectio
now drop downs drop down under the select
1999-09-13 23:20:50 +00:00
kmcclusk%netscape.com 8f9cf9d3bc Removed nsGfxButtonControlFrame's MouseClick method. It uses it's base classes (nsHTMLButtonControlFrame)
MouseClick instead. Reworked nsHTMLButton::MouseClick factoring out code to get Reset and Submit button
types so MouseClick can be re-used by the nsGfxButtonControlFrame.
Fix for bug 13462. Set the nsHTMLButtonControlFrame's mForm in the initial reflow.
1999-09-13 20:40:59 +00:00
rods%netscape.com dd5d7e6637 temporary fix for scrolling the dropdown until gfx scrollbars get in 1999-09-13 18:29:00 +00:00
rods%netscape.com 9e8a1b6378 When asked for the selected item string it return first the value, then the label then the content in that order if any are empty 1999-09-10 22:56:23 +00:00
rods%netscape.com af296e18b3 Better fix for option elements with no content in them 1999-09-09 19:37:23 +00:00
rods%netscape.com fa6fb356e7 Temporary fix to for mail compose. 1999-09-09 13:17:35 +00:00
sfraser%netscape.com 69e203f45c #ifdef out a bunch of rods's printfs. 1999-09-09 00:23:40 +00:00
rods%netscape.com 7c7bfd2eb5 Commented out space key event processing 1999-09-08 19:55:08 +00:00
rods%netscape.com bf45e4b044 Fixed selection in lists 1999-09-08 19:54:30 +00:00
rods%netscape.com bd89429f51 Added the proper event processing for disabled options
ListBoxes (as dropdowns) are now notified before the are about to be dropped down
1999-09-08 14:27:38 +00:00
buster%netscape.com 0a6321f0ae made a small change to the way the file control interacts with the embedded gfx text control
now, it talks to it via nsIDOMHTMLInputElement interface, rather than assuming imlementation details
about what attributes to set.
1999-09-07 23:20:32 +00:00
pollmann%netscape.com cb70f00a3a Bug 12849: OnChange event.target is now the select instead of the option. 1999-09-07 02:16:23 +00:00
peterl%netscape.com 25d7829a4e added accessors for additional style contexts 1999-09-03 23:36:32 +00:00
rods%netscape.com 59740457c4 when in standard mode and calculating desired size it removes the width of the native border
because it is implicitly added during the calculation
1999-09-03 14:48:26 +00:00
rods%netscape.com 2341d6fb93 during reflow it now should only reflow once for GFX widgets 1999-09-03 14:44:53 +00:00
rods%netscape.com 9cfdd9cffd initial add (not in the build yet) 1999-09-03 14:25:15 +00:00
kipp%netscape.com b2b92bb835 Eliminate some useless string malloc/free's 1999-09-03 03:47:06 +00:00
buster%netscape.com 27032c0f32 just a comment about a possible bug I saw going through this code 1999-09-02 20:47:20 +00:00
buster%netscape.com cad140c93a replaced #define DEFAULT_PIXEL_WIDTH with nsTextControlFrame::GetDefaultColumnWidth() 1999-09-02 20:45:21 +00:00
buster%netscape.com 096cf35713 added GetDefaultColumnWidth(), replacing a hardcoded #define 1999-09-02 20:44:17 +00:00
rods%netscape.com 4b2f3e78ca commented out some unused variables to remove warnings 1999-09-02 13:51:12 +00:00
mscott%netscape.com d3ffd930a4 check in for rod spears. Fix the small text edit fields for dynamic to in the compose window
and password dialogs
1999-09-01 04:11:17 +00:00
rods%netscape.com 7545b1a8cf Added AbsolutelyPositionDropDown 1999-08-31 13:23:15 +00:00
rods%netscape.com c4464e6ebc Removed ref counting changed the the popup is positioned
removing dom listeners on descruction
1999-08-31 13:22:50 +00:00
rods%netscape.com 0706193578 Added SynViewWithFrame 1999-08-31 13:22:45 +00:00
rods%netscape.com 0fd6268956 removing dom listeners on descruction
exposed absolutely positioning of the dropdown
now tries to SyncFrameWithView
1999-08-31 13:22:40 +00:00
rods%netscape.com 3bca354587 uses the new factored code for calculating size it helps for calculating suggested size
(see nsGfxButtonControlFrame.cpp)
1999-08-31 13:05:31 +00:00
rods%netscape.com 596cd15f00 Changed the way the button calculates it's size with respect to suggested size.
I factored out the part where border and padding is added in so it can be overridden.
1999-08-31 13:03:38 +00:00
rods%netscape.com c3ade2023a removed some warnings and made gfx text control ignore the extra padding from nsILookAndFeel which is for native wdiegst 1999-08-31 12:59:09 +00:00
kmcclusk%netscape.com ed5ecc24cc Removed compiler warning in nsFormControlHelper::PaintCircularBackground 1999-08-30 22:29:11 +00:00
rods%netscape.com 8b6ba3a48f change all index parameters to PRInt32 from PRUint32
added key listener support for keyboard navagation inside the list
fixed extended selection
fixed a minor problem with selecting an item
1999-08-27 14:42:27 +00:00
rods%netscape.com d8af33a213 Changed Reflow to check for whether it is native mode or not. InGFX mode it now call the base class' (nsLeafFrame)
Reflow so it does a better job of laying out.
1999-08-27 14:38:54 +00:00
rods%netscape.com 22813275bf Added the other GetDesiredSize call overriding the base class call, and making it
the existing GetDesiredSize with the last param dummyed out. This makes all the sizing work
correctly with the change I put in in nsFormControlFrame
1999-08-27 14:34:54 +00:00
rods%netscape.com 833b8c0152 Changed to respect border and padding and now draw check mark "centered" in the available space
the check mark also sizes to content area
1999-08-27 14:31:59 +00:00
rods%netscape.com c2d0583645 Changed parameters from width and height to a nsRect 1999-08-27 14:31:54 +00:00
pollmann%netscape.com 30a0e34e7e Bug 12350 1999-08-27 03:58:47 +00:00