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

7489 Коммитов

Автор SHA1 Сообщение Дата
tbogard%aol.net 50379d48b1 Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp 1999-11-15 22:17:54 +00:00
brade%netscape.com 3fe50d23b4 File Removed. 1999-11-15 20:46:30 +00:00
don%netscape.com ce0079e2d5 Checked in saari fix for bug #18876 to help re-open tree. r:saari 1999-11-15 20:09:37 +00:00
karnaze%netscape.com f966f5add2 removed allocation warning messages 1999-11-15 15:42:20 +00:00
dcone%netscape.com 66a4aa2ef1 DrawDashedSides now used the correct height and width for the right and bottom 1999-11-15 15:33:25 +00:00
rods%netscape.com d53ab795b2 Fixing focus & blur event dispatch (mostly having to do with native windows in embedded webshells)
Fixing the sizing issues related to box-sizing for CSS.
r=buster, bug 17196,18448
1999-11-15 15:20:03 +00:00
rods%netscape.com 48470623cf temporarily adding box sizing utility methods to help forms calculate their size
appropriately for box sizing.
r=kmcllsuk, bug 18448
1999-11-15 15:16:28 +00:00
rods%netscape.com 65d5fbbdfb It will now mask out any focus events that may be generated because of native windows
r=buster, bug 17196
1999-11-15 15:13:12 +00:00
tbogard%aol.net 4465f2b8b2 Changed references to nsIContentViewerContainer to nsISupports in the march to get rid of nsIContentViewerContainer. r=pavlov 1999-11-15 07:29:23 +00:00
rbs%maths.uq.edu.au 3c8a731f59 Catching up with recent changes in layout. Update to auto-install the mathml.dtd in bin/dtd/ 1999-11-14 23:10:56 +00:00
rbs%maths.uq.edu.au 79f03df3a2 Catching up with recent changes in layout 1999-11-14 22:15:05 +00:00
tbogard%aol.net 4f6c979f2f Changed QueryCapability to use the new interface requestor. r=pavlov 1999-11-14 10:22:00 +00:00
tbogard%aol.net 425a1fb90f Reflect changes to nsIContentViewer::SetContainer and GetContainer API. r=pavlov 1999-11-14 10:12:21 +00:00
rickg%netscape.com 3a651edc56 force rebuild of this file 1999-11-14 08:41:36 +00:00
rickg%netscape.com dc381070e2 trying to get around string problem 1999-11-14 07:50:15 +00:00
rickg%netscape.com aab46f3a3b try to get around string problem 1999-11-14 07:46:23 +00:00
rickg%netscape.com 42bcc94e35 update to sync with string API change 1999-11-14 06:22:48 +00:00
beard%netscape.com 54792d43d1 pork jockey paint fixes. bug=18140, r=kmcclusk,pavlov 1999-11-14 02:51:25 +00:00
rods%netscape.com 4c5e8f064c Should always return true, the caching of the "true" value is most important. Failing on getting the
preshell or frames should not be passed back.
r=self, bug 18784
1999-11-14 00:35:35 +00:00
rods%netscape.com f25c5cb072 Added notification to the select in CreateElemenet to tell it it is complete.
r=vidur(sort iof, we talked about this change on friday) bug 18784
1999-11-14 00:34:15 +00:00
law%netscape.com 346061bc84 Fix bustage by backing out some CallQueryInterface calls (for Travis); r=travis@netscape.com 1999-11-13 08:20:53 +00:00
tbogard%aol.net ea837f023a Changed storage of of the container to hold simply nsISupports as the mContainer instead of nsIContentViewerContainer. Changed calls to QueryCapability to use the nsIInterfaceRequestor::GetInterface(). r=scc 1999-11-13 07:36:28 +00:00
saari%netscape.com 80a7ab6371 Landing focus changes. R: joki 1999-11-13 05:16:33 +00:00
rods%netscape.com ad0bd43918 Disabled key events when it is disabled
r=dcone,b=14771
1999-11-12 15:08:28 +00:00
rods%netscape.com ac91f36e7c Removed the mDisplay data member it was the same as mHasAllFrames, this was preventing
the options from having there selected state displayed initially
Also, changed it so when in drop down mode and nothing is selected it always scrolls
to 0,0
b=14771,13771 r=kmcclusk
1999-11-12 15:00:30 +00:00
alecf%netscape.com b7fbde42d2 fix for #17146, #13483, possibly #15479
don't be stupid about finding the insertion point onto the tree for new rows. use GetInsertionPoint to walk the frames to determine the appropriate row index for new content that doesn't already have frames, so that the rows in the cellmap get the right index.
r=hyatt, bryner@uiuc.edu, alecf (some code dictated by hyatt)
1999-11-12 05:51:26 +00:00
karnaze%netscape.com 1fc8f88c83 disabled delayed handling of reflow commands (pre rev 3.208). r=nisheeth 1999-11-12 04:41:34 +00:00
jdunn%netscape.com 165a7fafa6 Fix for AIX build bustage. Unfortunately the compiler requires that if
a class includes other classes, then the other classes must be defined
by the time the enclosing class is.  In this case nsDST includes
NodeArena, LeafNode & TwoNode and so therefore those classes must be
defined in nsDST.h.

r troy: Note, Troy didn't APPROVE of the fix (since it isn't pretty) but
        he has graciously allowed it in order to help AIX development.
        He did believe that it wouldn't hurt to put the change in.
1999-11-12 03:52:50 +00:00
vidur%netscape.com 68a2e39215 Fix for bug 18040. Removed spurious UMR. Added macro for turning off incremental notification. R=buster, pollmann. 1999-11-12 02:07:54 +00:00
vidur%netscape.com d75bc3b151 Fix for bug 18186. document.lastModified now returns the correct value for FileChannels as well. R=pollmann. 1999-11-12 02:06:54 +00:00
vidur%netscape.com d563684b31 Fix for bug 13948. We now correctly store and retrieve an OL element with type=1. R=pollmann. 1999-11-12 02:06:09 +00:00
kmcclusk%netscape.com 762e065e7d Fixed problem where buttons where causing reflows when entering and exiting.
Removed outline border style and fixed style context parentage of buttons.
bug 17892; r=buster@netscape.com
1999-11-12 01:45:53 +00:00
pinkerton%netscape.com 6915f28945 don't generate drag exit events until _after_ drop event has been processed. move from PreHandleEvent to PostHandleEvent. r=saari. 1999-11-12 01:02:14 +00:00
waterson%netscape.com 6792604f63 Bug 18544. Make sure to destroy mDisplayFrame before re-creating. r=buster 1999-11-11 22:40:25 +00:00
rods%netscape.com a5d50819b6 added empty impl of DoneAddingContent
b 17695, r=self
1999-11-11 22:25:23 +00:00
buster%netscape.com e5ea329a29 removed a bogus assert. 1999-11-11 22:24:19 +00:00
buster%netscape.com cd639c9a8d partial fix for bug 11537, r=kmcclusk (sucker!)
also checked in some webshell redesign work, but that is #ifdef'd out (also reviewed by kevin, double-sucker!)
1999-11-11 22:23:32 +00:00
rods%netscape.com 6f6e5b8b6b notifies the select content when all the children content is there
r=vidur, bug 17965
1999-11-11 22:15:02 +00:00
rods%netscape.com 63760fca6d Added new method "DoneAddingContent" so the select frame can be told that all the content has been added
Reworked the select code to keep the state as to whether all the content and/or all the frames
have been created and then whether it is initialized
r=self&kmcclusk, bug 17965
1999-11-11 22:13:33 +00:00
rods%netscape.com bf86cfed5e Added method "DoneAddingContent" to notify the select that all the chiild are there
it also caches this state so it can be asked whether they have been added
Added method: IsDoneAddingContent(PRBool * aIsDone)
r=vidur, bug 17965
1999-11-11 22:13:20 +00:00
rods%netscape.com a5f4858ce7 Added method "DoneAddingContent" to notify the select that all the chiild are there
r=vidur, bug 17965
1999-11-11 22:13:17 +00:00
waterson%netscape.com 28ce5c2427 Bug 18542. Make sure that we don't over-write aContentStyle arg when GFX scrollbars are turned on. r=evaughan 1999-11-11 21:48:17 +00:00
troy%netscape.com c1985d3f41 Re-order things so we set the content object's document pointer after
initializing it. This eliminates some useless "content changed" notifications
1999-11-11 21:43:15 +00:00
jdunn%netscape.com 8dc361fd80 removing ';' from the end of the macros, since the macro in nsTimer.h
already handles the trailing ';'.
NOTE: trying to compile a ';' fails on AIX
1999-11-11 21:35:34 +00:00
troy%netscape.com 2fe8acaf02 b=17798. Changed WipeContainingBlock() to remove the frames it is deleting from
the content to frame map and undisplayed content map
1999-11-11 21:08:32 +00:00
karnaze%netscape.com c9aa5e2a0a put back to rev 3.340 due to mail/news regressions. 1999-11-11 18:22:57 +00:00
troy%netscape.com e36c0c9d4c b=17546. Changed block frame code to save/restore space manager when create
a space manager, and changes button code to use the NS_BLOCK_SPACE_MGR flag
when creating the area frame
1999-11-11 06:00:41 +00:00
karnaze%netscape.com aa92cfa616 fixed crash (cnn and other sites with javascript) in nsCellMap due to it not being invalidated. 1999-11-11 05:43:35 +00:00
pinkerton%netscape.com d7ab8c7416 readding the tree item drag capturer (r=hyatt) 1999-11-11 05:10:47 +00:00
pinkerton%netscape.com 0a6a86fb7c reworking of toolbar d&d impl and tree d&d impl (r=hyatt). 1999-11-11 05:10:38 +00:00
pinkerton%netscape.com d95fa3ac47 readding the tree item drag capturer 1999-11-11 05:10:28 +00:00
waqar%netscape.com fda217b0f1 # 16610
r vidur
d Javascript should throw an execption on index size error. DOM now throws
an execption for size error.
1999-11-11 01:48:25 +00:00
pinkerton%netscape.com 90900d5452 remove the tree item drag capturer. i was premature. 1999-11-11 01:46:12 +00:00
pinkerton%netscape.com 7291963fd3 backing out my last added file. 1999-11-11 01:42:12 +00:00
waqar%netscape.com 897e3625ed # 6071, 15904
r vidur
d Fixes the problem with comment delimiters.
1999-11-11 01:28:32 +00:00
pinkerton%netscape.com d83ccdc51f add nsTreeItemDragCapturer to the build 1999-11-11 01:04:36 +00:00
pinkerton%netscape.com 628eba1120 adding nsTreeItemDragCapturer to the build and moving XUL frames into the right group. 1999-11-11 01:04:15 +00:00
pinkerton%netscape.com 847e28c4d8 First Checked In. 1999-11-11 01:03:41 +00:00
pinkerton%netscape.com 998a745d66 set the default image size to be small in order to avoid obvious reflows when button code would assume 30x30 before it loaded the image (r=evaughan). 1999-11-11 00:58:42 +00:00
karnaze%netscape.com 03eb7987dd new regression test not affecting build. 1999-11-11 00:56:50 +00:00
av%netscape.com 7c2704d6f6 Fix for bug 16302. Added counting margins when calculating the object size, r=nisheeth 1999-11-11 00:00:07 +00:00
evaughan%netscape.com d0f0677305 Fixed gfxscrollbar bugs #16460 and #15722 1999-11-10 23:51:44 +00:00
pollmann%netscape.com 6f2c30f0bd Bug 17656: Checking in jst@citec.fi fix to make Framesets resize correctly. A: chofmann R: pollmann 1999-11-10 23:50:38 +00:00
ftang%netscape.com bd10da3562 Change the GetRelativedWindowCoordinate to return the botton of the cursor, instead of the top of the cursor. We need this to make Mac IME candidcate window popup in a more reasonable place. author=sfraser. r=ftang 1999-11-10 23:47:56 +00:00
brade%netscape.com d6659ba379 remove empty_doc.html (bug #15442) r:Jerry.Kirk@Nexwarecorp.com 1999-11-10 14:48:36 +00:00
gagan%netscape.com a49e1e6359 Fix for 7533. The mechanism of specifying charset in content-type of a post data was breaking a lot of websites. I have changed the default to not send charset. If this has to be changed again this should go thru a pref (See bug 18431) 1999-11-10 08:58:20 +00:00
ftang%netscape.com b0b627423b fix 16808. change hard coded utf-8'to UTF-8', get charset hint from webshell. r=nhotta 1999-11-10 05:50:10 +00:00
nisheeth%netscape.com 6a7c8adf6c a=sdagley. Move over to new timing macros... 1999-11-10 03:41:09 +00:00
waterson%netscape.com a86d4e56bd Bug 18257. Fix leak of nsIDocument in form submission. r=karnaze, a=chofmann 1999-11-10 00:30:09 +00:00
sspitzer%netscape.com e3a6b820eb fix warning. 1999-11-10 00:09:32 +00:00
rods%netscape.com 9257dfb652 I checked in a bad fix. This is correct. I have had Chris K. check it over.
Migrains will do that to you. for bug 18039
1999-11-09 23:49:37 +00:00
waterson%netscape.com 5c4138dfd5 Bug 18067. Event listeners are refcounted; do not try to manually 'delete'. r=hyatt, a=chofmann. 1999-11-09 23:37:57 +00:00
waterson%netscape.com 2e43f337cc Bug 18066. Only addref the listener if it isn't already in our set of listeners. r=joki, a=chofmann 1999-11-09 23:37:08 +00:00
rods%netscape.com d723048682 Fixes bug 18039, it doesn't call WipeContainingBlock for select frames
This needs a better fix, filed bug 18366
r=kmcclusk
1999-11-09 22:36:05 +00:00
karnaze%netscape.com 940bcdae93 new regression test not affecting build. 1999-11-09 21:06:13 +00:00
karnaze%netscape.com b50a692ba8 new regression test, not affecting build. 1999-11-09 18:45:09 +00:00
rods%netscape.com d8bca1113b Fixes MLK 18207 - missing addref, r=beard
Fixes Crasher 17852 by temporarily commenting out the offending line, waiting on bug 18183
r=kmcclusk
1999-11-09 13:41:27 +00:00
pinkerton%netscape.com 14245ece47 fix for #17664 (crash in drag code when css destroys the frame when clicking on link). small fix for when target is null on mouseMove events (say when mouse is in menu bar on MacOS). (r=saari). 1999-11-09 07:10:46 +00:00
nisheeth%netscape.com 242db1bd00 r=vidur. a=chofmann. Post a reflow event instead of doing reflow command processing synchronously. Currently this only happens on content appended and content inserted notificaitions in the pres shell. 1999-11-09 03:23:26 +00:00
joki%netscape.com 9a7af075b2 Fix for bug 17618, null out current event target frame after processing event. a:chofmann, r:vidur 1999-11-08 21:30:22 +00:00
kin%netscape.com 1545d7a65f Fix for bug #18230: [DOGFOOD] Assertion thrown when clicking in the editor.
Fixed nsRangeListIterator AddRef/QueryInterface problems.
r=buster@netscape.com, a=chofmann@netscape.com
1999-11-08 18:49:36 +00:00
scc%netscape.com 60ce1bccdc Since there are two |CurrentItem()| functions, had to add an |NS_STATIC_CAST| to disambiguate the deciding parameter, caused by the change to |nsCOMPtr|s. r={danm, hyatt} 1999-11-08 11:43:08 +00:00
karnaze%netscape.com a85a487827 new regression tests not affecting the build. 1999-11-08 05:25:31 +00:00
karnaze%netscape.com b20160477e bug 18204 - null pointer check fixes crash. permission from chofmann. 1999-11-08 05:24:27 +00:00
karnaze%netscape.com f0e7497dc5 new regression tests - does not affect build. 1999-11-07 20:02:08 +00:00
dmose%mozilla.org 42fc94a6ec updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
pollmann%netscape.com f1b69a06ac Bug 17995: Don't reset selection when adding an option to a combobox, as it caused reframing and a crash. r=harishd a=choffman 1999-11-06 00:54:54 +00:00
joki%netscape.com bd3ab57a91 Fix for bug 17835. Free JS event listeners when the JS object they're registered on goes away. a:chofmann r:vidur 1999-11-05 23:37:40 +00:00
karnaze%netscape.com 6b94962e35 bugs 17138, 17168 and others - col allocation involving colspans honors constraints; pct colspans were allocating incorrectly if pct cols existed. 1999-11-05 22:36:59 +00:00
karnaze%netscape.com d4f0cef68c crash on abc - calls EnsureColumns upon entering reflow if appropriate 1999-11-05 22:33:04 +00:00
mjudge%netscape.com ceceeacb0a fix review by sfrasier, approved choffman. simple fix to get first letter style frames/paragraphs to show their selection. simply notifies children that the selection bit should be "on" 1999-11-05 22:09:16 +00:00
alecf%netscape.com e82be7c63a fix for #17763 - initialize cellFrame so that if it's not found, the null check succeeds
r=hyatt
a=chofmann
1999-11-05 21:51:42 +00:00
kin%netscape.com 98547fd894 Temporary Fix for dogfood blocker bugs #18002 and #18006. With kipp's
permission, I backed out his fix for bug #1413 from
layout/html/base/src/nsContainerFrame.cpp revision 1.68.
Will re-check in kipp's fix after M11 is branched.
r=buster@netscape.com  a=chofmann
1999-11-05 17:42:21 +00:00
brendan%mozilla.org 49357d5655 Remove nsIFrameReflow.h deadwood (r=waterson). 1999-11-05 05:00:39 +00:00
alecf%netscape.com 50873cd640 implement EnsureRowIsVisible for bug #17763
r=scottip
1999-11-05 02:02:09 +00:00
mcafee%netscape.com 358d5d1399 Switching to use NS_WITH_SERVICE macro as specified in (5403); removing spurious clipboard service instance in nsEditorEventListeners.cpp. r=akkana, a=chofmann. 1999-11-05 01:29:49 +00:00
pollmann%netscape.com 5ba410cabf Bug 17431: Clean house in form and form control destructors to allow reframing r=harishd a=choffman 1999-11-04 23:16:47 +00:00
rods%netscape.com 146ceb26bc Commented out the reset of the list when an option gets added
Fixes crashers 17836, 17852, 17965 r=kmcclusk
1999-11-04 22:45:10 +00:00
sfraser%netscape.com f2b385f475 Fixes for 18029 and 16723 -- fix image drawing on Mac to use GWorlds, and put in api to lock and unlock pixels. r=pnunn, a=chofmann. 1999-11-04 22:26:57 +00:00
kipp%netscape.com 2fb6aeb04b r=vidur; bug=17372; found a case where a trailing shy character on a line would trigger an infinite loop iff the shy character was the only piece of text after a text frame had been continued 1999-11-04 19:34:36 +00:00
troy%netscape.com 35c782073e b=#17315. Changed DeletingFrameSubtree() to also look at the continuing
frames.
1999-11-04 05:23:11 +00:00
rods%netscape.com 2df9ef8d4c added two more tests 1999-11-03 22:14:42 +00:00
rods%netscape.com 1aa7651c32 Initial checkin of test 1999-11-03 22:14:25 +00:00
kipp%netscape.com f4f952bf1f r=joki; fixed the ancient and venerable bug 1413 by noting that the code was using an optimization that wasn't always valid and that one that optimization wasn't valid, the slower path must be used...I commented the fix fairly solidly 1999-11-03 22:09:00 +00:00
kipp%netscape.com c2d9013dcc updated document regardling block and line-layout operation; this is html documents that are not part of the build nor part of any install process, etc. 1999-11-03 21:11:37 +00:00
joki%netscape.com d5c05ea133 Changes to DOM events to accomodate the new breakdown of events into mouse and key events. This fixes a couple of bug, though the main one is 13406. Involves changes to multiple DOM generated file as well as fixing up usage of DOM event api usage in editor, rdf, and xul. r:vidur 1999-11-03 07:11:45 +00:00
buster%netscape.com 5009a9b5f2 fixed bug 17792 (text set via DOM displays in HTL password control)
r=myself, I'll take the heat if this goes bad.  It's a very simple change.
The text control optimization was turned on for single line text controls,
and turned off for text areas.  With this change, the optimization is also
turned off for password fields.  This shouldn't effect performance in any
noticable way, because there are very rarely more than one or two password
controls on a single page.  The optimization in the case of password fields
isn't worth the extra code and complexity for dealing with replacing
characters with '*'
1999-11-03 06:53:07 +00:00
dcone%netscape.com 9afa584921 Fixed a divide by zero crasher, and cleaned up borders. r=buster 1999-11-03 05:46:01 +00:00
pierre%netscape.com ebbae25c8c Fix from py8ieh=bugzilla@bath.ac.uk for bugs 12765 and 12766. Updated link/visited/out-of-date declarations for hover/focus/active. r=me 1999-11-03 03:19:04 +00:00
akkana%netscape.com 2274aa9a8f Part of bratell@lysator.liu.se's fix to the nsHTMLToTXTSinkStream. r=akkana 1999-11-03 03:08:04 +00:00
nisheeth%netscape.com 0db470912b r=vidur. Fix for bug 9075. Return NS_OK instead of NS_ERROR_NOT_IMPLEMENTED from nsXMLDocument::GetDocType(). This allows script parsing to continue after a document.doctype JS statement is encountered. 1999-11-03 01:48:54 +00:00
rods%netscape.com 711ce3c68a put quotes around all button i.e. type="button"
rearranged all focus,hover & active rules and put them in that order.
r=kmcclusk, part of 14951
1999-11-03 01:01:55 +00:00
kipp%netscape.com ec28ac0c5c r=troy; remove another 4 bytes from each block frame for a total of 10% today :-) 1999-11-03 00:42:12 +00:00
kipp%netscape.com bfb8a951ea r=troy; Removed old garbage code that referred to an unused symbol from nsHTMLParts.h 1999-11-03 00:41:42 +00:00
mjudge%netscape.com c4fafc566c small fix from pierre on use of the style system. pierre reviewed. 1999-11-03 00:11:49 +00:00
kmcclusk%netscape.com 89ebbd5bc1 Removed call to mWebShell->Repaint in nsHTMLFrameInnerFrame::Reflow. This eliminates
multiple repaints of the content area in Mozilla when the content area is resized.
The mWebShell->SetBounds is sufficient since it invalidates the webshell window.
bug 16270; r= rods@netscape.com
1999-11-03 00:11:40 +00:00
rods%netscape.com dcb84d1cc1 Add CountAllChild to count all the option and optgroup elements so lists
get sized correctly when no rows are specified
r=kmcclusk, bug=4050
1999-11-03 00:07:01 +00:00
rods%netscape.com f47c6d02f7 Added code to size the button appropriately when style sets the size and
make it clip for drawing.
NOTE: This is a temporary fix for bug #17474
1999-11-03 00:05:30 +00:00
rods%netscape.com 9600847e2c Combos now size correctly when the size is specified via style
r=kmcclusk, b=16317
1999-11-03 00:03:32 +00:00
kmcclusk%netscape.com c90004966e Fixed places where SetProperty and Reset were missing the nsIPresContext argument.
This fixed 6 warnings and cases where reset and set property where not working properly for
all form elements. r = rods@netscape.com.
1999-11-03 00:01:13 +00:00
rods%netscape.com 4e35b1b763 removed a line that wasn't needed and caused a warning r=kmcclusk 1999-11-02 23:54:40 +00:00
norris%netscape.com 209ec05bae Fix
10194 Possible security vulnerability in "chrome:" protocol - acce
14979 "chrome" protocol allows accessing arbitrary files on the lo
r=vidur
1999-11-02 23:44:27 +00:00
kipp%netscape.com 474c54bfba Fixed up comments in test file list 1999-11-02 23:43:25 +00:00
kipp%netscape.com 2bacd78cfe r=troy; Shrink block frames by 4 bytes per instance by making the overflow-lines instance variable a frame property 1999-11-02 23:42:52 +00:00
pinkerton%netscape.com f18c0fe485 rewrote item detection code to handle the case where the toolbar isn't in a frame that is at 0,0 (like windows with the menu bar above the personal toolbar). (r=saari, bug #17800). 1999-11-02 23:42:16 +00:00
kipp%netscape.com 9d26ed588b r=troy; Added a new frame property atom 1999-11-02 23:42:13 +00:00
pollmann%netscape.com f4891ec6b4 Bug 7554: HTML Labels now pass JS events to form element the label is for
r=harishd
1999-11-02 23:38:17 +00:00
cls%seawood.org 14ef08310e Removed unused NECKO ifdefs.
a=leaf
1999-11-02 23:34:03 +00:00
kipp%netscape.com f3a1d70ede Fixed bug 17698 - prepended srcdir to each of the resources being installed 1999-11-02 15:53:17 +00:00
kipp%netscape.com 4b3b48640c fixed bug 15316 by tweaking the html style sheet as the author of the bug suggested 1999-11-02 15:49:50 +00:00
kipp%netscape.com d4c6233f05 r=troy; fixed bugs 2636 and 17636 - line layout issues for some more edge cases (nobr's with floaters in them) and handling of nbsp 1999-11-02 15:44:57 +00:00
karnaze%netscape.com 725609234f ComputeDesiredHeight - removed potential error if first child is not a row group. 1999-11-02 15:41:38 +00:00
buster%netscape.com b51aaa4e61 bug 17727 ([dogfood] Password not showing stars for default values unless we click inside the field.)
r=brade

change is in nsGfxTextControl.cpp.  I used to just blindly set the text of the underlying text frame.
Now I check if it's a password field, and replace the display text with '*' if it is.
1999-11-02 15:12:47 +00:00
rods%netscape.com 3b737b740e updated the tests 1999-11-02 14:51:20 +00:00
rods%netscape.com 0251064ab9 initial 1999-11-02 14:44:55 +00:00
warren%netscape.com 2a827fc8c2 Made nsIUnicharStreamLoader be scriptable and deal with an xpcom observer instead of a proc pointer and void*. Part of bug#11159. r=nisheeth,kipp,pierre 1999-11-02 06:49:44 +00:00
waterson%netscape.com c0f040a021 Fix two more leaks that I forgot to check in. 1999-11-02 06:40:38 +00:00
troy%netscape.com 5ba3f2f0b9 r=pierre@netscape.com
Fix compiler warning
1999-11-02 06:07:12 +00:00
troy%netscape.com abc0ac053f Real fix for my build bustage. Kipp had commened the offending code out to
keep the build going
1999-11-02 06:06:46 +00:00
nisheeth%netscape.com 9ae0c53b5f r=nisheeth. Fix for bug 12323. Thanks to Ian Hickson (py8ieh=bugzilla@bath.ac.uk) for the patch. Only lowercase chars are accepted in the stylesheet PI. 1999-11-02 05:49:57 +00:00
troy%netscape.com 29fb654d25 Changed QueryInterface() to check for nsIFrameDebug 1999-11-02 05:49:11 +00:00
waterson%netscape.com 6bd92a7a6b Fix two leaks courtesy evaughan. 1999-11-02 05:36:08 +00:00
tbogard%aol.net e76efd1cd3 Changed NS_ASSERTION to NS_WARN_IF_FALSE to avoid crashing people when condition is met. r=hyatt. 1999-11-02 05:14:27 +00:00
pinkerton%netscape.com 6c48babf84 making the drop feedback be 2 pixels wide, not one (r=saari). 1999-11-02 03:55:44 +00:00
pinkerton%netscape.com 8e90a3e9c2 fix for #16463 (crash when frames involved in a drag went away) and nsCOMPtrizing a lot of things (r=saari). 1999-11-02 03:55:14 +00:00
pinkerton%netscape.com ed9d685bb0 add ability to have a sub-frame (such as an inner box) be the area which is where the draggable content resides. 1999-11-02 03:54:24 +00:00
pinkerton%netscape.com 4d46f38039 add new drop area attribute for identifying subframes of a toolbar where the real content is. 1999-11-02 03:53:58 +00:00
pollmann%netscape.com 59640f2e44 Removing null code. No bug number. r=nisheeth 1999-11-02 03:48:04 +00:00
pollmann%netscape.com ce61901fde Removing null code. No bug number. r=nisheeth 1999-11-02 01:50:15 +00:00
pinkerton%netscape.com 54193af6af allow mouse event coordinates to be accessed with d&d events in addition to mouse events, since d&d events have the same structure as mouse events. (r=joki). 1999-11-02 01:38:01 +00:00
troy%netscape.com aa9c75655f Fixed problem with GetFrameName() being defines in non-debug build 1999-11-01 23:12:32 +00:00
kipp%netscape.com 61db80a036 r=rods; bug=17518; I updated the html.css file to select on 'a[href]' instead of 'a' so that the focus properties and related style properties would only apply to anchors with href's 1999-11-01 22:54:14 +00:00
kipp%netscape.com f60a9be93d r=troy; fixed compiliation issue for debug builds 1999-11-01 22:45:20 +00:00
kipp%netscape.com 1169709b0f r=troy; fixed bug 14982 - the problem was that empty continuations of an inline non-replaced element (e.g. 'span') were impact line-height calculations when they should effectively disappear 1999-11-01 22:38:17 +00:00
kipp%netscape.com 93db0c0804 latest and greatest tests for block dom functions 1999-11-01 22:36:42 +00:00
troy%netscape.com 04accb3de6 Moved a bunch of stuff out to a nsIFrameDebug interface 1999-11-01 22:12:45 +00:00
rods%netscape.com 6e01f6ce6e Check to see if the option being added has the "selected" property, if it
does then the list needs to be reinitialized.
r=dcone, bug #17519
1999-11-01 15:41:17 +00:00
kipp%netscape.com c4289ca79d Added address information to the dump content diagnostic code 1999-11-01 15:38:05 +00:00
kipp%netscape.com 7bcba871ef r=ftang (someday); fixed bug 17130 - the problem was that nbsp's were being mapped into spaces by the text-transformer which is normally good, but for the purposes of line-breaking look-ahead was bad. I added code to revert the post-transformed spaces into nbsp's before using the line-breaker 1999-11-01 15:36:02 +00:00
kipp%netscape.com d656b82be2 r=ftang (someday); fixed 17559 regression - there were a few cases where characters > 127 were leaking out without setting the mHasMultibyte flag that were triggering painting bugs on macs... 1999-11-01 15:32:37 +00:00
kipp%netscape.com 04a9e2451d Disabled debug noise I accidently checked in (whoops!) 1999-11-01 15:31:04 +00:00
kipp%netscape.com 0699f8cc22 r=troy; reworked the way that blocks inside of inline elements are handled. It's all in the frame construction code now (bugs 15999, 16737) 1999-11-01 15:24:57 +00:00
kipp%netscape.com 7c3c6240fe Added address information to the dump content diagnostic code 1999-11-01 15:23:06 +00:00
kipp%netscape.com 42d72e139f Added another frame property 1999-11-01 15:22:25 +00:00
jfrancis%netscape.com 307ac216f2 fix for bugs: 16724, 16855; r=sfraser 1999-11-01 15:15:56 +00:00
troy%netscape.com 6a6582af16 b=15742. Changed Reflow() to invalidate the child's bounds if we're forced
to do a second reflow because we didn't correctly predict whether the vertical
scrollbar was needed. Because the second reflow changes the display width we
need to repaint
1999-10-31 04:04:32 +00:00
troy%netscape.com 29baf3aea4 b=17507. Changed Reflow() to use "available height" instead of "computed
height" when reflowing child frames. What was happening was that the child
table frame didn't fit and was trying to split. That should only happen when
we're paginated
1999-10-31 03:39:24 +00:00
troy%netscape.com d89413c6c9 b=17573. Changed mRowIndex to be signed integer (was unsigned integer) but
field. This allows it be negative, which some of the table code is depending
on
1999-10-31 03:15:52 +00:00
jband%netscape.com d5a463b686 fix typo that was causing bustage on some compilers 1999-10-31 03:02:43 +00:00
brendan%mozilla.org fe51b61664 (13163, r=alecf, scc, waterson, others; names available on request)
- Fix most of bug 13163 (see TODO for rest).  This entails adding a version-string argument to nsIScriptContext::EvaluateString and passing it around lots of places in content sinks. 

- Fix leaks and confusion about mSecurityManager and mNameSpaceManager in nsJSEnvironment.cpp.  These still need to move from nsJSContext to nsGlobalWindow or thereabouts, jband and vidur are looking at that. 

- Added comments and expanded tabs in nsJSEnvironment.cpp, esp. to EvaluateString.  Also changed various nsresult vars to be named rv.  Also restored brace/style conformity to nsJSProtocolHandler.cpp. 

- Factored CompileFunction from AddScriptEventListener to pave the way for brutal sharing of compiled JS event handlers via JS_CloneFunctionObject. 

- Lots of nsCOMPtr uses added.  I'm using one for mNameSpaceManager.  Hold mSecurityManager as a service explicitly, on the other hand (awaiting scc's fix to allow comptrs for services), and release in nsJSContext's dtor (fixing a leak).  These two managers should be moved to the window object -- TODO item below. 

- Hold JSRuntimeService along with JSRuntime for live of nsJSEnvironment, fix for shaver. 

- Fix window.setTimeout etc. so the filename and line number of the timeout expr is propagated.  This meant factoring nsJSUtils.cpp code. 

- Fix all content sinks to use the same, and up-to-date JavaScript version parsing (whether for script type or for old language attribute); also fix SplitMimeType clones to strip whitespace. 

- With waterson, fix bug in brutal-sharing version of XUL content sink: script src= should not evaluate the inline content of its tag.
1999-10-31 00:43:30 +00:00
beard%netscape.com b7336b7219 MLK: fixed nsICSSDeclaration leak, bug=15380, r=kipp 1999-10-30 20:17:40 +00:00
buster%netscape.com 568c1adfff huge performance work for text controls
we now display the content of a single line text control using a child pseudo frame
until the text control first gets focus.  at that time, a webshell and editor are created on the fly.
fixed bug bug 14727
r=rods
1999-10-30 16:33:00 +00:00
buster%netscape.com 6d9ca51598 added pseudo style for single line text controls
bug 14727
r=rods
1999-10-30 16:31:11 +00:00
buster%netscape.com c1b8a96276 added DOM notification up to frame system for text control value changes
part of  bug 14727
r=rods
1999-10-30 16:30:33 +00:00
buster%netscape.com 072fe15daf added pseudo-style for single line text controls. bug 14727 1999-10-30 16:29:32 +00:00
troy%netscape.com 56620e9b5a Added nsHTMLReflowState.h 1999-10-30 16:16:45 +00:00
troy%netscape.com b513453f89 Updated to not export nsIFrameReflow.h 1999-10-30 02:53:36 +00:00
troy%netscape.com b2025a682a Changed to not export nsIFrameReflow.h 1999-10-30 02:52:43 +00:00
troy%netscape.com effb3aefb7 Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
nisheeth%netscape.com e634256817 Fix for bug 17540. Uncommented the call to nsFrameManager::CantRenderReplacedElement(). 1999-10-30 01:31:49 +00:00
waterson%netscape.com 183624d925 '#if 0' DOM crawling code in toolbar frame to avoid over-eager generation of content model from RDF. GetElementsByTagName() is evil! r=pinkerton,hyatt 1999-10-30 01:21:44 +00:00
mjudge%netscape.com 3aec561aba reviewed by hyatt bug of someone elses but in my code. dont know number. simple check for null 1999-10-29 23:12:44 +00:00
mjudge%netscape.com 17c9ff17c4 i cannot find the bug# it is for selecting inside forms. we need to turn off selection in certain frames based on the style. this sets up it to work once we figure out the style rule to set. 1999-10-29 23:07:07 +00:00
evaughan%netscape.com 86fd1321dd Made tabs us visibility instead of shrinking their children to 0,0.
Made it possible to change the look for the selected tab.
1999-10-29 22:13:57 +00:00
karnaze%netscape.com a641b5aa39 new regression test 1999-10-29 20:47:33 +00:00
karnaze%netscape.com fb5f1b2e3b bug 17375 - better checks and casting before calling DidAppendRow 1999-10-29 20:25:13 +00:00
akkana%netscape.com a538ace307 Only output the xif.xif debug file if DEBUG_XIF is defined. Requested by sfraser 1999-10-29 19:36:30 +00:00
vidur%netscape.com fa9b6af7f8 Fix for double frame creation for scripts that document.write content that causes sink context creation. Fix that allows the last children of a body to be flushed. R=harishd 1999-10-29 19:07:24 +00:00
kipp%netscape.com f5ee0b886e Fixed solaris build bustage 1999-10-29 15:20:20 +00:00
troy%netscape.com 732b6f429c Space reduction. We now save 8 bytes per row frame by eliminating the max
top/bottom margin data members which are no longer needed
1999-10-29 14:40:58 +00:00
kipp%netscape.com 6f71ddcd0e r=troy; bugs 12958 and 12760; reworked the way that first-letter frames are created and updated. We now support incremental content changes even when first-letter style applies. 1999-10-29 14:39:48 +00:00
kipp%netscape.com 87c4e2884c r=troy; fixed a crash bug in the debug logic found while fixing 12958 1999-10-29 14:36:00 +00:00
kipp%netscape.com 5f3b41ae43 r=troy; api changes for 12958, 12760 and preperations for 17377 1999-10-29 14:35:36 +00:00
kipp%netscape.com 50dc6c6dba r=troy; cleaned up resize reflow optimization logic and prepared it for fixing bug #17737 (not yet fixed!) 1999-10-29 14:34:53 +00:00
kipp%netscape.com 97e2826bf2 r=troy; fixed letter frame logic to use the line layout to flow frames so that white-space trimming, for example, would work right 1999-10-29 14:34:01 +00:00
kipp%netscape.com 32ee25122e r=troy; updated api slightly to support fixes to bug 12760, 12958 and some resize-reflow optimization bugs 1999-10-29 14:33:26 +00:00
kipp%netscape.com c6a4f6f131 r=troy; use new line-layout api to help with some resize-reflow optimization bugs 1999-10-29 14:32:11 +00:00
rods%netscape.com e6613c94df 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 388b0dc47d 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 d7adceba3c clears the the checked item on removal
r=kmcclusk,bug 17418
1999-10-29 13:53:50 +00:00
kin%netscape.com 46b69e20ca Fix for bug #16176: [DOGFOOD] need to annotate line frames with whitespace trim
layout/base/src/nsCaret.cpp
        - Modified DrawCaretWithContext so that we only
          adjust the caret position if we are within the
          frame's bounds.

    layout/html/base/src/nsTextFrame.cpp
        - Modified GetPointFromOffset() to add the width
          of a space if the offset is after a trailing space
          and it was trimmed off the frame.

r=sfraser@netscape.com
1999-10-29 13:43:11 +00:00
troy%netscape.com 9b14cec570 Fix for bug #16649. Didn't actually change anything. Just restored some
code that was clobbered by revision 3.153
1999-10-29 04:57:02 +00:00
kipp%netscape.com f434122964 r=troy; fixed code to properly remove reflowc ommands when cancelling 1999-10-29 01:53:56 +00:00
waterson%netscape.com 19c45cdb0d Bug 15146. Remove usage of nsIXUL[Child|Parent]Document, nsIXULDocumentInfo. Now obsolete with brutal sharing. r=hyatt 1999-10-29 01:19:20 +00:00
kipp%netscape.com c60d777027 New tests (not part of any build) 1999-10-29 00:59:41 +00:00
rbs%maths.uq.edu.au edddebbc26 Catching up with recent changes of the nsIFrame API 1999-10-28 22:30:28 +00:00
rods%netscape.com 022efe1d62 Listboxes now obey CSS specifed sizes
r=kmcclusk,related to bug 16317
1999-10-28 20:31:23 +00:00
troy%netscape.com 498c519a58 Elimninated compiler warning 1999-10-28 14:46:41 +00:00
troy%netscape.com f7a1247e17 Eliminated compiler warning 1999-10-28 14:46:06 +00:00
troy%netscape.com d606fe7e0e Added more diagnostic code 1999-10-28 14:38:14 +00:00
kipp%netscape.com 050d1f0711 bug=17320; Fixed a purify warning 1999-10-28 14:33:34 +00:00
dp%netscape.com d3a1b6ca4d Removing use of mRefCnt directly. Also, removed all use of refcounted
variable as creations were always refcounted. r=kipp
1999-10-28 11:42:15 +00:00
waterson%netscape.com 80dd917abc Unix filenames are case-sensitive. 1999-10-28 04:36:04 +00:00
karnaze%netscape.com 30362f5287 simplified caching of column frames. split out collapsing border processing into nsBorderCollapser (checked in previously). r=troy 1999-10-28 04:09:39 +00:00
karnaze%netscape.com 8b2eae90d5 added files: mozilla/layout/html/table/src/nsTableBorderCollapser.cpp 1999-10-28 04:06:36 +00:00
karnaze%netscape.com b9f54b1b82 new class for collapsing borders, extracted from nsTableFrame, r=troy 1999-10-28 03:51:55 +00:00
braddr%puremagic.com d92727dc68 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE in anticipation of nixing NS_COMFALSE in the near future.
r=scc
1999-10-28 03:16:48 +00:00
nisheeth%netscape.com 9a3cd99292 r=nisheeth. Fix for bug 9781 submitted by Johnny Stenbeck (jst@citec.fi). Thanks Johnny. 1999-10-28 01:50:37 +00:00
nisheeth%netscape.com c35d1635e7 r=dp. Fix for bug 17411. Commenting out the call to nsFrameManager::CantRenderReplacedElement for now. This should let us open up the tree while dp and pnunn figure out the right fix. 1999-10-28 01:20:34 +00:00
troy%netscape.com 574edf6941 b=6674, r=karnaze@netscape.com
Changed Paint() to set the clip rect only when the collapse offset isn't
(0, 0)
1999-10-27 23:01:21 +00:00
kipp%netscape.com 0c6d8445a7 r=troy; fixed bug #17346 - the nsTextFormatter self test code found a bug in the nsTextFragment ctor code... 1999-10-27 23:01:16 +00:00
nisheeth%netscape.com 5de3b69218 r=pollmann, troy. Fix for bug 10564. Added some error checking code to prevent crashes reported on low memory configurations. 1999-10-27 22:45:05 +00:00
braddr%puremagic.com b49b3dbdce Ooops.. tree closed, better back these out for now. Sorry. 1999-10-27 21:01:37 +00:00
braddr%puremagic.com b2ea5b4c45 Move all nsIEnumerator usage over to NS_ENUMERATOR_FALSE from NS_COMFALSE
in anticipation of nixing NS_COMFALSE in the near future.
r=scc (please contact him should there be any build issues)
1999-10-27 20:24:21 +00:00
kipp%netscape.com 2305d254f3 Backed out chris's accidental checkin (don't ask) 1999-10-27 15:57:35 +00:00
karnaze%netscape.com 990f5ccf18 hello 1999-10-27 15:55:31 +00:00
vidur%netscape.com 200fbfdedd Update mNumFlushed counts when we do a synchronous notification (in scripts, for example). This is so that a call to FlushTags while we're executing a script sees the context stack in an updated state. Fixes bug 14042. R=joki. 1999-10-27 14:03:15 +00:00
troy%netscape.com e2dfeedb8d Changed view to be stored as a frame property instead of a member data
of nsFrame
1999-10-27 03:56:14 +00:00
troy%netscape.com 8b70d1eabe Change to some assertions in debug mode 1999-10-27 00:53:15 +00:00
rods%netscape.com 986d740c9d 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 a1997ce8aa removed an unused variable and an extra decl and call to remove two warnings
r=none
1999-10-26 23:28:51 +00:00
rods%netscape.com 31eba9c93d changed param in the initializer to aContent instead of nsnull
r=kmcclusk,b=17015
1999-10-26 23:21:14 +00:00
norris%netscape.com b019c6ed88 Fix 16836 "Security error accessing DOM elements inside an IFrame"
r=vidur@netscape.com
Also, bug 16536 "Security disallows opening resource URL" no longer occurs after this fix.
1999-10-26 22:45:32 +00:00
vidur%netscape.com 6b60c967e8 Replaced delete operator calls with Recycle(). R=joki 1999-10-26 14:56:41 +00:00
vidur%netscape.com 318a3694ea Switched HTML content sink to be more incremental in content creation. Fixes bugs 11141, 854, et. al. R=kipp 1999-10-26 14:55:51 +00:00
dcone%netscape.com 610d17b6f7 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
rods%netscape.com db2be0fd32 addedmore tests 1999-10-26 14:16:15 +00:00
rods%netscape.com 3aa55edff4 initial add 1999-10-26 14:15:51 +00:00
rods%netscape.com e2899888ec The button "active" state needed one more pixel width in the border
r=dcone,b=17154
1999-10-26 14:05:49 +00:00
troy%netscape.com a47e8db44b Changed SetView/GetView to take an additional argument which is the
pres context
1999-10-26 04:44:41 +00:00
rods%netscape.com 93d5a4e391 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 41986a9373 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 f538382bcf 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
waqar%netscape.com e9ff1627d1 # 15904
r vidur
d fixes a problem where first character of the comment was being destroyed.
1999-10-26 01:30:55 +00:00
pinkerton%netscape.com dd98b3aad0 fix leak of grippy structs when toolbox went away. (r=bienvenu). 1999-10-26 00:22:48 +00:00
kipp%netscape.com 9ffd358aad Added missing resources 1999-10-25 23:06:05 +00:00
kipp%netscape.com 599e66084e Reduce the number of cases that trigger noisy debug noise 1999-10-25 23:05:31 +00:00
kipp%netscape.com 19d24d7c81 Turned off some more debug noise 1999-10-25 23:05:15 +00:00
kipp%netscape.com 20cde21ca2 r=ftang,brade, bug=16886,9101 - the text transformer was letting some nbsp's through in a few special cases; the text transformer also squelches shy characters now (9101) 1999-10-25 23:04:51 +00:00
kipp%netscape.com 03da21ef69 r=troy, bug=10497; we now support min/max width/height for image elements 1999-10-25 23:03:50 +00:00