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

843 Коммитов

Автор SHA1 Сообщение Дата
rods%netscape.com c728469462 Allows radiobuttons to remove themselves from the named radio group
when deleted factored the code
r=kmcclusk, bug 17418
1999-10-29 13:56:30 +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 6a19f546f2 clears the the checked item on removal
r=kmcclusk,bug 17418
1999-10-29 13:53:50 +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
rods%netscape.com 0e3f575b32 removed an unused variable and an extra decl and call to remove two warnings
r=none
1999-10-26 23:28:51 +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 4754f30990 minor changes to previous checkin to handle css sizing like NavQuirks
b=6695,r=none
1999-10-26 04:29:20 +00:00
rods%netscape.com 43a23b2871 Completely rewrote the the Reflow for gfx text controls, factored out separate
reflow paths for NavQuirks and Standard mode. Also, Standard mode reflow now obeys
cols rows etc. Although there may be a little code bloat, this will make maintaining
the input text and textarea much much easier.
r=kmcclusk, b=6695,7461
1999-10-26 03:46:18 +00:00
pollmann%netscape.com de4b3acaeb Bug 17079: URL encoding of form element values should convert + to %2B and / as needed: r=nisheeth 1999-10-26 03:08:17 +00:00
kmcclusk%netscape.com 81a5d8a988 Call nsIFormProcessor service if it has been registered for each value submitted.
bug=17060 r=karnaze@netscape.com
1999-10-25 22:48:43 +00:00
kmcclusk%netscape.com 3ed49e6d43 Removed build warning caused by overloaded GetDesiredSize. bug=15575. r=buster@netscape.com 1999-10-25 22:06: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
pierre%netscape.com bcd4fef854 #15636 "Cleanup build warnings". Some compilers issued a "hidden virtual method" warning because only one of the two implementations of GetDesiredSize() was overridden. r=slamm. 1999-10-20 23:30:29 +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
pollmann%netscape.com bfbdf41a89 Bug 15729: Fall back to content when getting text value; r=vidur 1999-10-19 23:43:58 +00:00
rods%netscape.com 8874e3db0c cleaned up warning, result hidding another, r=kmcclusk, (no bug) 1999-10-19 19:59:06 +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 a82d9806ee Changed the sizing comparison for NavQuirks in debug mode to get the font family and size
for the input text  and textarea, I also changed the border calc for only when the
the size is explicitly set.
r=kmcclusk, Bug #3040,11285
1999-10-19 11:59:01 +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
buster%netscape.com a23754e4b6 bug 12221 [Dogfood] Gfx text controls need to notify on mouse events
r=rods@netscape.com
also did some associated performance work, factoring code and collapsing multiple listener
objects down to 1.  This saves a few allocations and about 60 bytes per text control.

bug 11803 Need new event for text value changing
r=hyatt@netscape.com
not dogfood approved, but the fix has been sitting in my tree for 2 weeks
1999-10-15 13:38:29 +00:00
pollmann%netscape.com f93bec8bc1 Bugs 16450, 11979, 16576: Add back a CRLF I took out of the form post headers; r=harishd 1999-10-14 23:47:08 +00:00
kmcclusk%netscape.com f84534d73b When submitting a form using a "get" method only add the ? if the href does not end in a ?.
bug #16137 r=rods@netscape.com
1999-10-14 23:45:02 +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
ftang%netscape.com 850606d07a landing keyEvent_19991004_BRANCH
bugs # see the log of the check in into branch
author/reviewer:
mozilla/layout/base/src/nsRangeList.cpp brade/mjudge
mozilla/layout/html/forms/src/nsGfxTextControlFrame.cpp brade/ftang
mozilla/layout/events/src/nsDOMEvent.cpp brade/joki
mozilla/layout/events/src/nsEventStateManager.cpp brade/joki
mozilla/widget/public/nsGUIEvent.h akkana/ftang
mozilla/widget/src/windows/nsWindow.cpp ftang/mjudge
mozilla/widget/src/windows/nsWindow.h ftang/mjudge
mozilla/widget/src/mac/nsTextAreaWidget.cpp brade/ftang
mozilla/widget/src/mac/nsMacEventHandler.cpp brade/simon
mozilla/widget/src/xpwidgets/nsKeyBindMgr.cpp brade/ftang
mozilla/widget/src/gtk/nsGtkEventHandler.cpp akkana/?
mozilla/widget/src/gtk/nsWidget.cpp erik/ftang
mozilla/layout/xul/base/src/nsTreeCellFrame.cpp brade/ftang
mozilla/editor/base/nsEditorEventListeners.cpp brade/akkana
mozilla/editor/base/nsHTMLEditor.cpp brade/akkana
mozilla/rdf/content/src/nsXULKeyListener.cpp ftang/saari
fix the master bug- 15693
fix at least, but not limited to, the following bugs
10158,11956,6053,9333,10901,14348,6449,11845,13016,14410,15657,15307,15842,13856
1999-10-14 18:27:01 +00:00
pollmann%netscape.com e0ed7d0ee8 Bug 16126: Check for a cached state when reading value or submitting Gfx text frame (before initialize); r=joki 1999-10-13 02:49:42 +00:00
pollmann%netscape.com b32d16e429 Bug 15180: Don't add a Referer line to the HTTP post data, as Necko already adds one. r=harishd 1999-10-13 00:54:47 +00:00
pinkerton%netscape.com 008ee8f541 pulled mac-specific patches to the tip in order to allow typing in the url bar in navigator to work w/out firing cmd-keybindings. (r=saari, no explicit bug number). 1999-10-13 00:44:43 +00:00
kmcclusk%netscape.com 4482aee25c Set state of checkbox and Radio button on MouseUp instead of MouseDown so JavaScript onclick
event handlers can retreive the correct state of the form element. bug 15366; r=rods@netscape.com

Submit the form when a text field is clicked on only if the JavaScript event handler
has not consumed the event. bug 15949; r=rods@netscape.com
1999-10-12 22:44:23 +00:00
kmcclusk%netscape.com b545fdcf6a Backing out change made while tree was closed 1999-10-12 22:07:24 +00:00
kmcclusk%netscape.com 6c2f2a1317 Backing out changes made while tree was closed. 1999-10-12 22:01:49 +00:00
kmcclusk%netscape.com be2e4b8643 Set state of checkbox and Radio button on MouseUp instead of MouseDown so JavaScript onclick
event handlers can retreive the correct state of the form element. bug 15366; r=rods@netscape.com

Submit the form when a text field is clicked on only if the JavaScript event handler
has not consumed the event. bug 15949; r=rods@netscape.com
1999-10-12 21:42:31 +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
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 c13c023660 Added macro to help in figuring Nav Quirks default size for all
controls ifdef for just me. Renamed aMetrics to aDesiredSize
Did some clean. Nav Quirks obeys padding and not border.
Reworked how computed size is used r=kmcclusk
1999-10-07 21:09:47 +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
kmcclusk%netscape.com 0d5889ab19 bug=15184 Made <input type=password> a form submitter. Hitting return in a password field
will now submit the form. r=rods@netscape.com
1999-10-07 20:54:42 +00:00
kipp%netscape.com 90274bbf16 r=peterl; fixed a regression that I regrettably caused; had the test for success backwards 1999-10-07 01:44:16 +00:00
kipp%netscape.com 7eec6a495e Don't forget to remove the observer when dtor is running (fixes a sometimes crash in viewer); also fixed a memory leak of a style context 1999-10-07 00:30:20 +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
kipp%netscape.com e62c3edf52 Removed static ctors 1999-10-05 14:51:56 +00:00
rpotts%netscape.com 89f54ea1ae bug #15341 and bug #15344. Use the documentloader observer instead of a stream observer. 1999-10-05 04:04:16 +00:00
rods%netscape.com d79137420a fixes bug #15265, changes reviewed by kmcclusk. Changes in the way it used the computed values 1999-10-04 13:49:00 +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
danm%netscape.com d46bd1d3ca event handler holds weak reference to frame. fixes bug 14885. r:buster 1999-10-01 15:00:57 +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 3d3b8bda38 ifdef'd out the new code that handles the computed size and ifdef'ed in the old code for Linux 1999-10-01 14:28:25 +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
pollmann%netscape.com d0b1d32f23 Bug 13997, Reviewed by HarishD. This fixes the crash during file upload caused by a spurious NS_RELEASE, correctly calculates content-length, and fixes a few post syntax errors. Also fixes a memory leak and uses nsSpecialSystemDirectory, nsFileSpec, and other good things instead of the hacks that were needed before this existed. 1999-10-01 02:42:32 +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 0f1396218a Changed GetVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
and it now uses the cached L&F obj
1999-09-30 11:33:33 +00:00
rods%netscape.com a917beb7ef Removed L&F static IID & CID 1999-09-30 11:32:54 +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 e7106c2345 Changed getVerticalInsidePading to take the PresContext to the method can use the cached LookAndFeel object
and it now uses the cached L&F obj
1999-09-30 11:26:29 +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
buster%netscape.com 178b1fd81c just removed some annoying printf's I left lying around 1999-09-22 02:47:47 +00:00
buster%netscape.com b77a584214 just changed a comment to reflect reality, and removed some commented out code 1999-09-22 01:14:21 +00:00
buster%netscape.com bede78590e enabled event state manager to do it's thing with focus switching.
this cleans up focus switching in general, and specifically enables tabbing
between single-line text controls and other html form elements.
1999-09-22 01:04:37 +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 c8a10795b5 Bug 14303: Correct typo. 1999-09-20 21:17:28 +00:00
buster%netscape.com 0ec204fc02 just added a comment 1999-09-20 04:01:39 +00:00
buster%netscape.com 57d5c9eb15 small performance improvement. weeded out some obsolete code that was
causing round trips through the editor unnecessarily.
thanks for pointing out the problem, akkana and bruce m.
1999-09-20 03:59:43 +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 ca213b948a Fix mem leak. 1999-09-19 07:25:48 +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 88522e1bc1 Cache value updates that happen before initialization: fixes a bug in session history where text input/textarea/file inputs aren't restored. 1999-09-19 07:22:55 +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
buster%netscape.com 614cec5d10 fixed bug 14039
bad copy-and-paste of some event propogation code.  the gfx text control
event listeners exist just to propogate the event from the embedded shell
to the content, and should not pass the event back to the frame itself, except
for keyPress (for default action).
1999-09-17 06:15:56 +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 40220c5e2f Bug 13296: Memory leak fix. 1999-09-16 20:27:38 +00:00
pollmann%netscape.com bfd96752c6 Minor cleanup - don't assume implementation details. 1999-09-16 20:26:44 +00:00
cls%seawood.org 26a4d6dc7d Linux only: Removed -D_BSD_SOURCE from DEFINES as it is unnecessary now that __STRICT_ANSI__ is set in <prinet.h> 1999-09-16 14:54:18 +00:00
warren%netscape.com 7d5e565fd5 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +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
shaver%netscape.com b6bfc17ba3 fix 12956, r,a=brade 1999-09-15 14:42:19 +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 f8609a0407 Bug 13058: Keep the cache in sync with the widget state for native selects. 1999-09-14 19:39:23 +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
pollmann%netscape.com ee4bc6347e Bug 13058: Handle SetTextControlState for native widgets even before the widget is created (cache the value). 1999-09-14 19:18:23 +00:00
pollmann%netscape.com 0d6b4a78b0 Bug 13058: Implement nsIStatefulFrame for radio buttons 1999-09-14 19:16:15 +00:00
pollmann%netscape.com 2cb62e9b2e Bug 13058: Implement nsIStatefulFrame for checkboxes 1999-09-14 19:12:08 +00:00
pollmann%netscape.com a364955418 Nuke some warnings. 1999-09-14 01:15:33 +00:00
briano%netscape.com 97faab6716 General cleanup. 1999-09-14 01:02:20 +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
buster%netscape.com d94b3e63a0 fixed an uninitialized variabled error. the result code in Reflow is
now initialized to NS_OK, because it's not used in all reflow paths.
1999-09-13 03:15:23 +00:00
cls%seawood.org 762fca642e Fix my bustage using -D_BSD_SOURCE 1999-09-12 16:41:14 +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
briano%netscape.com 08af3df2e0 General cleanup. 1999-09-10 00:18:42 +00:00
buster%netscape.com 408c05bfea workaround needed as a result of hyatt's change to frame construction code and attribute notification. 1999-09-09 19:45:32 +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 9f1c0d0753 removed space and return key event processing 1999-09-08 19:53: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
hyatt%netscape.com 18be26df3e Landing AttributeChanged alteration. AttributeChanged now fires even when the
style hint is REFLOW or VISUAL (and not just CONTENT).
1999-09-08 03:51:41 +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
rods%netscape.com 925132c54e Fills in background color webshell gets centered and the size is large then the minium 1999-09-04 13:34:40 +00:00
peterl%netscape.com 25d7829a4e added accessors for additional style contexts 1999-09-03 23:36:32 +00:00
rods%netscape.com b093deaeeb it now does its own reflow in Quirks mode and paint its own border in Quirks mode
(the size of the native border from look and feel)
1999-09-03 14:50:23 +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
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 a85b0c659f fixed wrapping issues. dogfood bug 8984 1999-09-02 20:46:53 +00:00
buster%netscape.com f73226e81f added PRInt32 GetWidthInCharacters() const; 1999-09-02 20:45:50 +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
kipp%netscape.com 7fe2679e86 Updated SizeOf methods to not waste space when doing a non-debug build 1999-09-01 01:02:16 +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 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
buster%netscape.com 5b9c4e9270 clean up: better error handling and minor performance fixes 1999-08-30 22:14:44 +00:00
norris%netscape.com d8507f844e * clean up nsScriptSecurityManager
* remove nsJSSecurityManager
* save principals in nsIChannels and nsIDocuments
1999-08-29 21:58:42 +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 dfba4adce8 Changed the view's widget create so it doesn't register D&D 1999-08-27 14:40:14 +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 a522c7ae8f Opps! 1999-08-27 05:13:40 +00:00
pollmann%netscape.com 3f220b35c5 Opps! 1999-08-27 05:05:33 +00:00
pollmann%netscape.com 22fef24c59 Cleanup, and bugfixes for bug 12475 and 12350 1999-08-27 03:58:13 +00:00
rods%netscape.com 6cf112a833 Completely reworked the select GFX object - List and Combobox, it now does all event processing
via DOM listeners instead of through the frames
1999-08-26 14:54:07 +00:00
pollmann%netscape.com 309bfebeba Split out AddOption/RemoveOption(), plus bug 11676 type cleanups. 1999-08-24 22:01:25 +00:00
akkana%netscape.com ff7a19a5bd Revise the doc encoder and content sink APIs yet again to make it easier
to add new flags (pass a flag in the constructor, rather than specific
booleans.  This in order to fix:
11249: Add flag to write only the body in html output.
1999-08-24 18:30:19 +00:00
buster%netscape.com 08f6af770e better use of the editor wrapping APIs
better initial placement of the caret in text controls
1999-08-24 13:52:45 +00:00
rods%netscape.com fb5366bfb6 Added GetDropDown method to return the nsListControlframe 1999-08-23 14:05:37 +00:00
buster%netscape.com e1a4be89c8 preliminary support for text area wrap
install text control's event listeners ahead of the editor's own default listeners.
1999-08-23 06:46:08 +00:00
pollmann%netscape.com 5b4a7ad743 Bug 3256: Add ScrollIntoView() method to form frame objects. 1999-08-21 00:09:24 +00:00
jdunn%netscape.com 8241fe5f4d AIX does not allow calling the baseclass via the typedef. I talked this
over with Kevin McClusky and he agreed to allow the change.
1999-08-20 23:37:15 +00:00
kmcclusk%netscape.com add4d59df7 Correctly set the current state for the radio button in SetProperty. Previously the radio buttons state was not properly set
when JavaScript was used to set it.
1999-08-20 22:52:35 +00:00
kmcclusk%netscape.com c5cf135f7d Changed if an action is not specified and we are in a 4.x browser than cause the URL to be reloaded.
This is compatible with Netscape 4.x browsers + I.E. If an action is not specified and inside an XML or XUL document than do nothing.
1999-08-20 22:51:45 +00:00
rods%netscape.com fb2fb1e297 Removing extra nsGfxRadioControlFrame.obj, this was part of yesterday's bad checkin 1999-08-20 14:41:17 +00:00
arielb%netscape.com 1b252b2e3b includes updates to codbase matching security checks currently turned off
but in place.  redefined the script security manager in caps and it is
now generating codebase principals.
1999-08-20 09:51:02 +00:00
evaughan%netscape.com 2c576b6299 Fixed link error 1999-08-20 00:04:59 +00:00
rods%netscape.com 3b54903181 Adding AppendFrames so it won't crash when adding items. 1999-08-19 22:15:04 +00:00
ducarroz%netscape.com 81ec943f78 add nsGfxAutoTextControlFrame.cpp (auto completion widget) 1999-08-19 22:10:54 +00:00
ducarroz%netscape.com 52894c0756 Fix some typo error 1999-08-19 19:54:38 +00:00
rods%netscape.com 0764b680ff Now uses the button for the display area and uses the new selected index methods from the ListControlFrame 1999-08-19 14:11:59 +00:00
rods%netscape.com 0362529f13 Renamed some methods and changed the selected item to be able to pass the currently selected index instead of just being able to get the currently selected item 1999-08-19 14:11:28 +00:00
rods%netscape.com 5a242d756d Now takes into account suggested size in the size calculation 1999-08-19 14:07:05 +00:00
rods%netscape.com 7c354c9540 Now, check to see if it is disabled or whether the control it cantains is disabled and then does the right thinik with the events 1999-08-19 14:05:36 +00:00
rods%netscape.com 1e1d514c05 It now loks at the "disabled" property when initialized and looks for an attribute changed notification to disable itself 1999-08-19 14:03:53 +00:00
rods%netscape.com 654caf2688 It now takes into account the suggested size in the calculation 1999-08-19 14:02:20 +00:00
rods%netscape.com 3dc1aa04e6 The button was being sized wrong, so the computed border padding needed to be removed beforehand and then is added back in later by layout 1999-08-19 14:00:09 +00:00
buster%netscape.com f0f929a02a added the ability to set content in a readonly or disabled control via DOM.
fixed some error checking
1999-08-19 13:43:33 +00:00
ducarroz%netscape.com 533a11182e First Checked In. 1999-08-19 05:49:48 +00:00
kmcclusk%netscape.com e38d06108e Fix for bug #11717. Check in Ok'ed by cyeh@netscape.com
Don't do the super class'es IsSuccessful because it always returns PR_FALSE
because the (this) pointer is not equal to the submitter.
1999-08-12 22:06:09 +00:00
pinkerton%netscape.com 5589138ab3 cleaning up and simplifying checkbox. Adding tri-state checkbox behavior keyed off of the presence of an attribute. 1999-08-11 04:45:49 +00:00
pollmann%netscape.com 6c21361d9f Bug 10939: Make image input element transparent 1999-08-11 03:30:25 +00:00
rods%netscape.com ba4a0485e1 Added check to see if it was disabled so it would ignore events 1999-08-10 19:26:10 +00:00
rods%netscape.com 0701d68531 Add GetFrameForPoint to return the combobox when it is disabled. Added disabled code. 1999-08-10 19:25:22 +00:00
rods%netscape.com c91922076b Fixed Reset to work properly, removed InitializeFromContent method, changed where the list was adding itself to FormControlFrame 1999-08-10 19:22:51 +00:00
kmcclusk%netscape.com 61e361b49e Rewrote nsButtonControlFrame. It is now based on nsHTMLButtonControlFrame.
Added style rules to set submit, reset, and browse buttons default labels.
1999-08-10 19:13:57 +00:00
buster%netscape.com e98b412b9a added KeyPress event propogation. This makes the editor image dialog work much better.
as part of this, I moved when I install event propogation listeners in the gfx text control frame.  nobody will notice
the difference, except keyPress notifications will work correctly.
1999-08-10 02:58:07 +00:00
buster%netscape.com 7a04009a6b enabled onSelect notifications 1999-08-09 20:10:59 +00:00
rods%netscape.com b24ae7ff24 Fixed GetFrameForPoint so it passes back the corrct frame for event for form controls (Bug #11467) 1999-08-09 19:59:48 +00:00