1281 Commits

Author SHA1 Message Date
heikki%netscape.com
26d94ba9b0 Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87383 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 21:50:04 +00:00
rods%netscape.com
ac4b548c62 copy/paste coding error - simple change from Height to Width
Bug 67497 sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@86997 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-14 15:40:26 +00:00
blakeross%telocity.com
82b2fb8487 Scroll the page if single-line textfields have focus instead of doing nothing when scrolling with the mousewheel (62431). r=bryner,akkana sr=alecf
git-svn-id: svn://10.0.0.236/trunk@86843 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 21:53:34 +00:00
blakeross%telocity.com
7e6aa12cf9 Only get the type when we need it. r=hixie
git-svn-id: svn://10.0.0.236/trunk@86837 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 21:19:23 +00:00
pierre%netscape.com
8944a57fe0 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster.
git-svn-id: svn://10.0.0.236/trunk@86533 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 09:57:26 +00:00
blakeross%telocity.com
bee55771be Titlebar when viewing images not localizable (57549). r=attinasi sr=erik
git-svn-id: svn://10.0.0.236/trunk@86374 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:39:46 +00:00
blakeross%telocity.com
b944446817 Adding file for 57549; not part of build.
git-svn-id: svn://10.0.0.236/trunk@86372 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 23:35:08 +00:00
pollmann%netscape.com
07a6277aa1 Bug 62713: Only save form input values in SH if changed plus cleanups (error handling, NS_LITERAL_STRING), r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86279 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 01:59:59 +00:00
pollmann%netscape.com
0ac44b8f3d Bug 55988 + 64415: Hidden inputs and buttons save state in session history, r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86275 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 01:31:18 +00:00
rods%netscape.com
5301e853f6 makes optgroups so they you can't click on them and it fixes the focus issue.
Bug 63006 r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@86003 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 22:45:32 +00:00
rods%netscape.com
ba9b1a7ddb focus rects should now be hidden
r=pollmann sr=buster


git-svn-id: svn://10.0.0.236/trunk@85963 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-01 12:24:35 +00:00
kin%netscape.com
e8d448c157 Fix for bug #65857: Trailing whitespaces confuse form field value
Modified SetTextControlFrameState() to use GetTextControlFrameState() when
comparing the current value.
r=akkana@netscape.com sr=sfraser@netscape.com


git-svn-id: svn://10.0.0.236/trunk@85863 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 21:00:43 +00:00
gagan%netscape.com
f3f5b36700 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85797 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 01:33:03 +00:00
jfrancis%netscape.com
7cde2dddd5 bug 66290: embedding work: refactor editor to allow smaller plaintext only library. Embedding clients may be interested inthis library if they want to embed a browser but not composer/mail-compose. Reduces library footprint for plaintext-only library by over 50% on all three platforms. r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@85666 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-28 20:13:07 +00:00
dbaron%fas.harvard.edu
5f0a7ab9bd Remove trailing semicolons after all uses of MOZ_DECL_CTOR_COUNTER to quiet build warnings on Mac. b=60415 a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@85654 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 23:06:33 +00:00
rods%netscape.com
b23e7af50b This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@85624 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 14:09:34 +00:00
mcafee%netscape.com
644a6ffc68 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil
git-svn-id: svn://10.0.0.236/trunk@85463 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 02:58:12 +00:00
pinkerton%netscape.com
75ed388d9c uninitialized event result causing havoc on mac opt builds. Setting it to something reasonable up front fixes form submission. r=timeless,a=ben.
git-svn-id: svn://10.0.0.236/trunk@85267 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 08:34:23 +00:00
pierre%netscape.com
148e913722 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster.
git-svn-id: svn://10.0.0.236/trunk@85210 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-20 22:46:54 +00:00
rods%netscape.com
2ff0c10030 Removing all references to GfxListControlFrame
Bug 62960 r=kmcclusk sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@84726 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 14:50:27 +00:00
akkana%netscape.com
13ae4ba935 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84590 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:01:29 +00:00
rods%netscape.com
f559e7aea6 changed add ref to from NS_ADDREF to NS_IF_ADDREF
Bug 63329, r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@84566 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 14:06:34 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
rods%netscape.com
92dcc2bd43 When focus is removed and the the CBX is dropped down it rolls it up
r=kmcclusk, sr=buster Bug 64079


git-svn-id: svn://10.0.0.236/trunk@84369 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 12:22:29 +00:00
mkaply%us.ibm.com
7e139ad912 #50998
r=rods, a/sr=buster
OS/2 has support for GetAveCharWidth so enable it


git-svn-id: svn://10.0.0.236/trunk@84278 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:26:25 +00:00
dbaron%fas.harvard.edu
b4de65c19e Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:22:22 +00:00
rods%netscape.com
2d35ca6701 When clicking away from the dropdown, it wasn't resetting itself correctly.
If only the mouse was being used for selection, then it needs to reset itself to the state before dropping down
if arrow keys had been used then it needs to keep that selection
The combobox chaches the current selection, so when arrow keys are used it has the correct selection
when the mouse is used it holds the old selection. So therefore, we can compare against it
to determine what to do.
Bug 63247
r=waqar sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@83918 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 23:25:40 +00:00
cmanske%netscape.com
2df58f216c Reinstating table selection work for bug 57863 and fixed textfield.value bug 63376. r=kin, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@83912 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 22:13:54 +00:00
leaf%mozilla.org
758c5a8f89 backing out regression-causing changes to reopen tree
git-svn-id: svn://10.0.0.236/trunk@83903 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 18:09:53 +00:00
rods%netscape.com
857e0d4343 53259 - min-width and max-width not supported on form control
53457 - multiple items can be selected in select size=1 or in single select listbox
50376 - Cannot select with DOM option on dynamically created SELECT element
62442 - Incorrect extended selection behavior in listboxes

First big change is getting rid of local variables for border and padding and use the ones in the reflow state
Changed "IsInDropDownMode() == PR_TRUE && mComboboxFrame" to "IsInDropDownMode() == PR_TRUE"
Fix for regression from changing of how key events work (no bug assigned), this fix enabled the user to hit 'f' or 'F' and get to the first item that start with 'f' or 'F'
r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@83901 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:15:28 +00:00
rods%netscape.com
43a2ffa48a 53259 - min-width and max-width not supported on form control
59035 - type of a BUTTON should default to submit when type isn't specified
r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@83900 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:12:06 +00:00
rods%netscape.com
f5e6a46f6c 53259 - min-width and max-width not supported on form control
r=kmcclusk sr=buster


git-svn-id: svn://10.0.0.236/trunk@83899 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:09:55 +00:00
rods%netscape.com
a649f72fbb 53259 - min-width and max-width not supported on form control
58220 - Select boxes rendering weird when using CSS to small value
r=kmclusk, sr=buster


git-svn-id: svn://10.0.0.236/trunk@83898 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 15:09:00 +00:00
cmanske%netscape.com
dafb7a83b7 Convert IDL defines from short to long so enums are PRInt32 on all platforms (fixing build bustage)
git-svn-id: svn://10.0.0.236/trunk@83887 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 03:15:16 +00:00
cmanske%netscape.com
b590b1872c Changed param from PRUint32 to PRInt16 for implementor of nsFrameSelection::HandleTableSelection (part of table selection work, bug 57863) r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@83881 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 01:38:20 +00:00
rods%netscape.com
7e2f11196a Removed unneded setting of index to kNothingSelected when an disabled option is selected
r=blake, sr=buster Bug 57580


git-svn-id: svn://10.0.0.236/trunk@83798 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 21:36:01 +00:00
rods%netscape.com
7327a3401e removing unneeded includes
r=kmcclusk sr=buster b=62408


git-svn-id: svn://10.0.0.236/trunk@83533 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 12:17:11 +00:00
rods%netscape.com
3a1a98af2f removed where the input element was telling the rado/checkbox to return the opposite value
now it changes it value before the DOM call (script) and then if the event is cancelled
it sets the value back (which doesn't happen very often)
r=pollmann,jst sr=buster  b=57137,57239,58460


git-svn-id: svn://10.0.0.236/trunk@83473 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 16:05:29 +00:00
bryner%uiuc.edu
aae64e984b Mousewheel bugs 29244, 50339, 42313, 33733, and 57598. r=rods,pavlov. sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@83448 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 07:28:19 +00:00
rods%netscape.com
55b184cf6c when in standard mode, the text field/area was sizing one char too big
r=25657, r=kmcclusk, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@83297 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 03:20:39 +00:00
rods%netscape.com
44f7461592 removing unneeded/unused code/methods
r=kmcclusk, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@83144 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 21:39:28 +00:00
rods%netscape.com
813a66daa1 patch from net (thanks Boris)
This fix correctly sets the content type for uploads for multipart posts
b=60737, r=rods sr=buster


git-svn-id: svn://10.0.0.236/trunk@82969 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 14:14:20 +00:00
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
akkana%netscape.com
0eff955ec3 Split plaintext methods off into nsIPlaintextEditor API. sr=sfraser, r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@82714 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 00:25:31 +00:00
kmcclusk%netscape.com
622694d09f Removing these unneeded files from from cvs, they have been in the build in years
r=kmcclusk,buster


git-svn-id: svn://10.0.0.236/trunk@82697 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 21:41:14 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
mjudge%netscape.com
33abd5ded1 bug fix for 48064. rtm++ r=simon a=brendan. pdt=ok. fixes check for valid frame after callonchange. (callonchange may actually destroy the frame underneath us.) also we need to update the focusedvalue when enter/submit is hit. this will save 2 onchange from being fired. one from enter, second from blur.
git-svn-id: svn://10.0.0.236/trunk@81684 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 22:08:44 +00:00
pollmann%netscape.com
81cf051d9d Bug 57333: Remove search portion of form action - fixes Yahoo form post failure. r=rods, harishd, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@81655 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 03:55:19 +00:00
mstoltz%netscape.com
9351f77d32 Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc
git-svn-id: svn://10.0.0.236/trunk@81158 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 22:59:47 +00:00