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
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