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

710 Коммитов

Автор SHA1 Сообщение Дата
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 d6ff834d68 Export nsIFormProcessor.h on Mac. bug=17060; r=karnaze@netscape.com 1999-10-25 22:29:22 +00:00
rods%netscape.com 4f81411311 Export nsIFormProcessor.h on Linux. bug=17060 r=karnaze@netscape.com 1999-10-25 22:14:21 +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
kmcclusk%netscape.com 916d25b4fb Export nsIFormProcessor.h. bug=17060. r=karnaze@netscape.com 1999-10-25 22:01:19 +00:00
kmcclusk%netscape.com 23414862b3 First time checked in. Used to provide data during form submission. bug 17060. r=karnaze@netscape.com 1999-10-25 21:59:39 +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
pollmann%netscape.com 08ea485d71 Bug 15769: Default select item 0 when adding or removing opt to combo
r=harishd
1999-10-12 08:47:22 +00:00
kipp%netscape.com 65f6ba5343 Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage 1999-10-08 20:41:19 +00:00
rods%netscape.com 1d4f67cd4b ifdef'ed out a static counter for debugging. r=kmcclusk b=15637 1999-10-08 12:24:11 +00:00
rods%netscape.com 3f456e3f80 Added the COMPAre macro for comparing sizes with NavQuirks
r=kmcclusk
1999-10-07 21:46:31 +00:00
rods%netscape.com a7f80d034e Changed the way the list figures out how high a single item is, it now subtracts out the padding & border instead of just the border
r=kmcclusk
1999-10-07 21:39:50 +00:00
rods%netscape.com aad2ad4877 Removed code where standard mode was incorrectly subtracting border size
r=kmcclusk
1999-10-07 21:37:02 +00:00
rods%netscape.com 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