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

843 Коммитов

Автор SHA1 Сообщение Дата
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
buster%netscape.com a9693b1b69 trivial fix to make sure we're storing an nsIHTMLEditor result in an
nsCOMPtr<nsIHTMLEditor> variable.
1999-08-09 19:37:18 +00:00
buster%netscape.com fde9da42d0 brought init code up to date with recent editor API changes. 1999-08-09 17:41:55 +00:00
sfraser%netscape.com afb9b207c0 Synch up with editor API changes. 1999-08-09 01:43:00 +00:00
joki%netscape.com 11585608e8 Adding new onselect event. Also slight modification to ender text widget focus behavior 1999-08-07 23:18:35 +00:00
buster%netscape.com 4b9157edbb style now gets propogated from text control frame to embedded webshell more correctly 1999-08-07 05:42:13 +00:00
rods%netscape.com 7f0fa96163 ifdef'ed out the ambigous compiler error for Linux, this code isn't being used at the moment 1999-08-06 14:42:00 +00:00
rods%netscape.com 9778ff0812 Started to add code to better handle resizing when there are no elements. 1999-08-06 14:14:38 +00:00
rods%netscape.com faa5568c70 Made the Combobox a nsIDOMFocusListener, so it can set the focus on the "display"
content when focus goes to the button or the combobox itself
1999-08-06 14:13:20 +00:00
ramiro%netscape.com 0276378be3 Backout my last changes to fix the mac and window builds. 1999-08-06 08:21:41 +00:00
ramiro%netscape.com b1484ea0ab Get the Inherited superclasses right. Suggested and reviewed by pierre. 1999-08-06 07:40:26 +00:00
ramiro%netscape.com acd040bfa4 Fix gcc 2.7 bustage. It smells a lot like a bug in gcc. It was having
trouble dealing with the Inherited typedef in the class declaration.
I replaced |Inherited| with the real thing Inherited was aliasing and all is
ok.  Pierre code reviewed.
1999-08-06 07:14:43 +00:00
pierre%netscape.com 4ecdd8e9e9 Removed a duplicate entry. A similar error in Makefile.in broke the build on Unix; this one was ok on Win32. 1999-08-06 05:49:12 +00:00
ramiro%netscape.com f0e4da8f77 Fix bustage on unix. Removed duplicate source entry. 1999-08-06 05:39:24 +00:00
pierre%netscape.com 9337fc0223 First Checked In. 1999-08-06 05:13:07 +00:00
pierre%netscape.com 1394381abf breaking up gfx & native widgets 1999-08-06 05:11:39 +00:00
evaughan%netscape.com b93c8ed4f4 Fixed fieldset padding bug. 1999-08-06 00:48:26 +00:00
gagan%netscape.com a8bd69174a Added a temporary hack to get Referer fields with POST requests. This should/will/must go away... 1999-08-04 15:06:14 +00:00
mcafee%netscape.com 6da92dc13c Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren 1999-08-03 20:51:41 +00:00
buster%netscape.com ee55b2ba44 events are now propogated from the editor out to the containing document, as per Javascript/DOM spec.
onSelect doesn't work yet, I'm not sending the right event message yet.
1999-08-02 14:00:41 +00:00
rods%netscape.com 8d5807e765 Made many changes to fix several bugs 1999-07-28 21:38:08 +00:00
rods%netscape.com 34a3503e8b Added the setting of the clip rect before drawing the button text 1999-07-28 21:37:22 +00:00
troy%netscape.com 2ba05e9bf2 Added failure check for call to nsStyleData::GetBorder() 1999-07-28 04:48:34 +00:00
kmcclusk%netscape.com f9b64e775c bug #7032 Changed nsIWidget::Resize(...), nsIWidget::Move(...) to
use PRInt32 instead of PRUInt32. Modified Mac, and Linux to match.
bug #2010 Applied David Barrons patch for MakeSide ins CSSRendering.
nsIWidget - removed GetAbsoluteBounds - Not needed. Can use WidgetToScreen instead.
1999-07-27 23:26:36 +00:00
pavlov%netscape.com 96b4208fe4 window creation changes 1999-07-27 04:27:17 +00:00
joki%netscape.com f1c8421c61 Event fixes to allow key event handling by GFX widgets and fixes for window.defaultStatus. 1999-07-26 15:02:19 +00:00
rickg%netscape.com f4902b78bc replaced calls to deprecated nsString API 1999-07-26 00:37:24 +00:00
buster%netscape.com cc193da91f With this checkin, ender-based gfx rendered text controls now work properly both as HTML text controls and XUL text fields.
GFX text controls are not enabled by default.  The primary goal of the next few days is to stabilize the tree, so I thought it would be inappropriate to enable the new
feature by default. But you can still set your nglayout.widget.mode pref to enable them.

Here's what I did:
1) backed out a small part of Simon & Kin's fix to nsGFXTextControlFrame that was mistakenly setting up the text control's webshell as a frame.  It still (correctly)
isn't doing that, but it does not set the webshell's prefs from the outer webshell.
2) for output, I now ask for format="text/plain" rather than "text/html", since (for now) these are all plain text edit controls.  Soon, this will depend on the type of
edit control
3) fixed some ownership issues between the frame, the editor, and the subdocument being edited.  This fixes an assertion on dialog destruction if the dialog included
a GFX-rendered text widget, and some memory leaks.
4) set up DOM key listeners on the editor to propogate events from the editor to the parent document, so things like form submission on Enter, and onKeyUp
handlers work.  More work is needed here for other kinds of events.
1999-07-25 18:04:51 +00:00
morse%netscape.com e24534d85b Remove wallet from layout 1999-07-24 01:39:58 +00:00
scc%netscape.com b1c73fa7c7 Fixed boxes to only invalidate and redraw what has changed.
Made min and max sizes work
Made linux not suck!
1999-07-23 00:11:21 +00:00
sfraser%netscape.com 165a975859 Fix for GFX ender text widgets; don't parent nsIWebShells that the text widget creates, because you don't want them to interfere with window.frames[]. 1999-07-22 23:48:48 +00:00
vidur%netscape.com 0ebbf485db Forms can now be container content. 1999-07-22 23:28:16 +00:00
pollmann%netscape.com c009be2a77 Bug 5403: Release services properly 1999-07-22 18:10:10 +00:00
scc%netscape.com 16e2ba6a23 explicitly define kCharsetConversionManagerCID only in files that need it ... move to canonical scheme for defining and using IIDs and CIDs 1999-07-22 05:25:17 +00:00
troy%netscape.com 7a5e4dbdb5 Renamed some nsFrameList member functions 1999-07-22 04:00:57 +00:00
troy%netscape.com c551fe3166 Renamed DeleteFrame() to Destroy() 1999-07-22 02:24:52 +00:00
kmcclusk%netscape.com af9e15b5e3 nsPresContext.cpp,.h - Added eWidgetRendering_PartialGfx as a rendering mode to PresContext.
ua.css - Added select[multiple] rule for multi-select listboxes without a size
Fixed form submission for gfx checkboxes,radiobuttons, and select by rewriting GetNamesValues.
Added nsListControlFrame::GetSizeAttribute and nsListControlFrame::GetNumberOfRows
Added logic to nsCSSFrameConstructor::ConstructSelectFrame and nsListControlFrame::Reflow
to handle the case of a multiselect select without a size specified.
1999-07-20 22:32:41 +00:00
troy%netscape.com 155ed6816a Added 'm' prefix to some of the nsHTMLReflowState data members 1999-07-20 03:41:03 +00:00
mjudge%netscape.com c0b1525970 massive checkin for selection. adjusting nsIDOMSelection api and nsIFrameSelection. many "small" changes. this is not as bad as it looks. layout will not be affected other than "getter" calls for selection. and all consumers of selection should be in good shape. 1999-07-18 02:27:19 +00:00
pollmann%netscape.com 9c82b52178 Bug 10024: Check base target for form submission 1999-07-16 21:01:13 +00:00
rods%netscape.com 0cdcf017b5 changed Invalidate calls to have a FLASE repaint flag 1999-07-16 14:24:51 +00:00
rods%netscape.com d1b9dafb97 commented out repaint for focus 1999-07-16 14:23:48 +00:00
warren%netscape.com 84bd74a4fd Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
jdunn%netscape.com 3367dc04d6 Adding newline at end... HP requires it 1999-07-16 00:26:47 +00:00
mjudge%netscape.com f447570414 checkin for carpool for multiple seleciton/ime selection and api changes to nsIDOMselection 1999-07-15 18:19:03 +00:00
beard%netscape.com 5fe9b75694 Fixing bustage 1999-07-14 23:23:47 +00:00
kmcclusk%netscape.com d42e178f95 fixed bugs #6303, #6753, #6756, #6759
Re-wrote nsComboboxFrame.
removed the obsolete nsHTMLAtoms: comboText,comoTextSelected,comTextSelectedFocus,dropDownVisible,
dropdownHidden, dropDownBtnOut, dropDownBtnPressed,
Added nsHTMLAtoms::combobox, nsLayoutAtoms::popupList
Renamed dropDownList to dropDownListPseudo
Added "arrow.gif" as to be used the background-image for the combobox button
ua.css - added rules for select to differentiate between comboboxes and listboxes.
Added style rules to more closely match the XPTOOLKIT XPWidgets look.
removed the following :-moz-combobox-text, -moz-combobox-textselected
nsIFormControlFrame.h - Added SetSuggestedSize method.
nsButtonControlFrame - Implemented SetSuggestedSize.
nsCSSFrameConstructor.cpp - Rewrote ConstructSelectFrame.
nsIWidget.h -Added GetAbsoluteBounds method.
nsWindow.cpp - Implemented GetAbsoluteBounds.
1999-07-14 22:00:24 +00:00
pollmann%netscape.com 8158d059de Bug 9847: Check for null returned from new. 1999-07-14 19:32:22 +00:00
akkana%netscape.com a3fb11b98f Restructure the editor output routines to allow passing in
a mime type and a flag argument.  Also fix the following bugs:
9746: get rid of bogus empty <style> in head.
8143: save wrap column in editor shell in case it's set before the
      editor is created.
9470, 9488: allow explicit specification of formatted output.
1999-07-14 18:54:29 +00:00
kin%netscape.com 7a1d6040f4 Call NS_IF_RELEASE instead of NS_RELEASE for handler, because it could be NULL.
Fixes crash that occurs when pressing the submit button in a for displayed in
the editor.
1999-07-14 18:33:24 +00:00
andreas.otte%primus-online.de 838f5a972b NECKO only: Using helper function NS_MakeAbsoluteURI A: chofmann R:valeski 1999-07-11 15:46:10 +00:00
warren%netscape.com 9975942bdb Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
kipp%netscape.com 87e4c2d72f Removed HaveFixedContent* methods from nsHTMLReflowState and updated code to match (fix bug #7993) 1999-07-07 02:33:17 +00:00
andreas.otte%primus-online.de 001ff1afea NECKO only: replacing GetBuffer with ToNewCString and some error checking 1999-07-06 23:08:16 +00:00
sspitzer%netscape.com ca20b32c35 fix warning 1999-07-06 22:40:54 +00:00
warren%netscape.com bd73f68e8b Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport. 1999-07-01 19:30:20 +00:00
evaughan%netscape.com 54afa7f4f6 Added anonymous node support.
Added splitters
Added Grippies.
1999-06-30 22:17:43 +00:00
pollmann%netscape.com 2be1de2cdf Bug 8227 and warning cleanups. 1999-06-29 22:01:55 +00:00
tague%netscape.com 357bf250ae Fixed up UNIX build warnings 1999-06-29 20:14:59 +00:00
sfraser%netscape.com 90131e6812 Call the Output routines with a new param for selection only. 1999-06-29 20:14:58 +00:00
pnunn%netscape.com 990fbb562d changed image format list. pnunn. 1999-06-28 21:51:26 +00:00
buster%netscape.com 3ae7461b9d GFX text controls now hanlde max length, and max length set via DOM
GFX text controls now handle readonly and disabled states set via DOM
1999-06-28 13:48:38 +00:00
warren%netscape.com bde10cf3a0 More necko changes. 1999-06-25 01:53:22 +00:00
pollmann%netscape.com 4a7ea1fd49 Getting cursor from style system: Insert paranoia^H^H^H^H^H^H^H^H^H stability code here. 1999-06-25 01:17:18 +00:00
pollmann%netscape.com e9ee749ccd Use the style system to get the mouse pointer for an image input element. 1999-06-25 00:19:44 +00:00
buster%netscape.com 261977f84c fixed build bustage, forgo using nsCOMPtr on views, they can't be ref counted! 1999-06-24 23:49:03 +00:00
buster%netscape.com c48a20536f attempt to fix mac build 1999-06-24 23:32:03 +00:00
buster%netscape.com 133251af56 fixed problem that scrollbars would appear on single-line text controls
fixed API masking problem, thanks Simon!
1999-06-24 22:42:50 +00:00
pollmann%netscape.com 111b23534d Notify form submit observers on... well... form submission. 1999-06-24 00:45:23 +00:00
kmcclusk%netscape.com a8794918c8 Modified gfx-rendered widget styles to more closely match styles
in http://www.mozilla.org/xpfe/nsGFXWidgets.html.
Added check for null mHitFrame in nsListControlFrame::MultipleSelection and
nsListControlFrame::SingleSelection.
1999-06-23 21:50:56 +00:00
warren%netscape.com 1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
sspitzer%netscape.com e83f4982ee fix build bustage 1999-06-21 21:24:05 +00:00
kmcclusk%netscape.com b99c5d6f59 Removed commented out code to perform system mouse capture. 1999-06-21 20:46:47 +00:00
kmcclusk%netscape.com 881c29d70e Numerous changes to support gfx-rendered form elements. 1999-06-21 20:41:56 +00:00
jfrancis%netscape.com 94fabdd3d9 making the world safe for null linkHandlers 1999-06-21 07:47:29 +00:00
valeski%netscape.com e23b3c673c NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
peterl%netscape.com 8aed081b91 fixed re-resolve style contexts to handle local pseudo elements
and capture style change information
1999-06-16 06:17:21 +00:00
jdunn%netscape.com 24a4ba4bce HP requires a Newline at end of file 1999-06-15 23:32:44 +00:00
ftang%netscape.com bb0b5a26ee fix 7973. Do correct conversion for non ASCII for multipart posting 1999-06-15 23:31:05 +00:00
pinkerton%netscape.com 7a9c1afcd4 fix memory leaks (bug# 8221) 1999-06-15 23:26:32 +00:00
buster%netscape.com bb7e3f641a added support for Ender GFX-rendered text control
made nsTextControlFrame an abstract base class for nsGfxTextControlFrame and
nsNativeTextControlFrame
1999-06-12 22:29:54 +00:00
pollmann%netscape.com 2500fadf60 bug 3720: <LABEL> background draws properly now. 1999-06-11 19:10:56 +00:00
bruce%cybersight.com 28d6546f4f Explicitly include nsFileSpec.h. This will be necessary for some changes coming post-M7. 1999-06-05 11:49:04 +00:00
nisheeth%netscape.com c670e17ce2 Patch from alecf to do a null pointer check on argument to GetSelectedIndex(). 1999-06-05 00:18:58 +00:00
pinkerton%netscape.com 14062a8586 unpatch leaf's hack in 1.73 since form submission now works correctly. Mac now once again submits the form when return is pressed. 1999-06-03 18:05:40 +00:00
evaughan%netscape.com 4903f45e54 Reworked fieldsets to fix numerous bugs. 1999-06-01 21:52:11 +00:00
kmcclusk%netscape.com c0802d7f21 fix for bug #6971. Added support for clicking and dragging over items in single
and multiselect listboxes. Also supports holding down the shift and ctrl keys
while dragging.
1999-05-28 21:12:09 +00:00
pollmann%netscape.com c547b6d827 Bug 3322: nsSelectControlFrames's ControlChanged does what MouseClicked used to - checks for selection changes and sends out onChange DOM events. 1999-05-28 01:06:42 +00:00
pollmann%netscape.com c43e4a93e8 Bug 3322: NS_CONTROL_CHANGE events call ControlChanged on the form frame. 1999-05-28 01:05:19 +00:00
pierre%netscape.com c88905bc99 #3930 "file selection control displays complete path" 1999-05-28 00:40:18 +00:00
kmcclusk%netscape.com b1ab2535df fixes for bugs #5809, #5852, #6828, #6973.
Added a new test16.html sample to test gfx-rendered widgets to viewer.
Added support for test17.html sample to test printing.
1999-05-27 21:17:10 +00:00
morse%netscape.com e1d55c857a added modal dialogs for wallet 1999-05-26 22:50:49 +00:00
karnaze%netscape.com 42c162b5d6 bug 7083, nsFormFrame doesn't involve netlib if the action is not specified 1999-05-26 22:20:53 +00:00
leaf%mozilla.org 9b550a3834 Filtering out form submission in all cases, to get location bar working
for mac. This will be fixed RSN.
1999-05-25 23:25:19 +00:00
pollmann%netscape.com d157fcf306 Bug 2999: Option values of "" handled correctly now R=vidur A=chofmann 1999-05-20 23:25:34 +00:00
vidur%netscape.com 17c9b8fc11 Fix for bug 6843. Option.selected returns the correct value for non-multi-selects. 1999-05-20 23:24:06 +00:00
hyatt%netscape.com 5cca8d81b3 Fixes for bugs 6746 and 6747. Approved by chofmann@netscape.com. 1999-05-20 06:39:37 +00:00
evaughan%netscape.com a9d351ef30 Fixed some visibility bugs in order to make the tab widget work correctly. 1999-05-19 22:14:11 +00:00
pollmann%netscape.com a2019cfba4 Bug 3187: Add widget update on option creation and destruction. (3 of 3) 1999-05-19 04:37:41 +00:00
pollmann%netscape.com 4197c9e7d7 Bug 3322: onChange won't be sent when the combo box is first clicked now. (2 of x) 1999-05-19 03:37:23 +00:00
kmcclusk%netscape.com d86150286d bug #994 Major rework of nsListboxControlFrame to support option groups. Modified ua.css
optgroup > option rule to use padding to offset the option group's options.
1999-05-17 22:36:08 +00:00