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

7429 Коммитов

Автор SHA1 Сообщение Дата
troy%netscape.com 7bf90e4b27 Fixed compiler warning 1999-11-30 05:38:15 +00:00
troy%netscape.com 6070918134 b=20286. Changed PlaceFloater() so that it repositions any views after
placing the frame
1999-11-30 05:09:08 +00:00
warren%netscape.com 2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
troy%netscape.com a87ea4d233 Changes parameter to be "const nsRect*" and changed a comment 1999-11-30 04:48:34 +00:00
waterson%netscape.com 947d490060 Fix RemoveStyleSheet() per pierre's comments. 1999-11-30 04:33:28 +00:00
waterson%netscape.com 8d89aefd28 Don't re-create atom over and over. r=hyatt 1999-11-30 01:13:36 +00:00
waterson%netscape.com f381c5dee0 Avoid excessive updates by conditioning on attribute that changed. r=hyatt 1999-11-30 00:55:59 +00:00
waterson%netscape.com 3a293e4998 Add 'indent' atom. r=hyatt 1999-11-30 00:55:14 +00:00
waterson%netscape.com dd64fd7ca1 Add focus pseudo-class atoms. r=hyatt 1999-11-30 00:54:45 +00:00
waterson%netscape.com c2d7952c4c Tree scrolling improvements. Avoid string twiddling in CreateAnonymousTreeCellFrames. r=hyatt 1999-11-30 00:53:41 +00:00
dougt%netscape.com f66be6c30c fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
nisheeth%netscape.com 767ba5b269 Fix for bug 20194. r=beard. Thank to Patrick Beard for finding this leak in CaptureFrameStateFor(). 1999-11-30 00:17:40 +00:00
selmer%netscape.com 2de04e1fc6 Include rowIndex test 1999-11-29 23:59:28 +00:00
selmer%netscape.com 731b27da8c New test for moving rows via rowIndex assignment in javascript 1999-11-29 23:58:37 +00:00
valeski%netscape.com 6379f3162c r=travis. 20135. we were clipping the rightmost digit of the seconds field in a refresh header attribute (thus losing a factor of 10 in refresh timer timeout). 1999-11-29 23:02:14 +00:00
waterson%netscape.com 79556e2008 Fix incorrect use of dont_QueryInterface() in PreHandleEvent() that was leaking. 1999-11-29 22:47:39 +00:00
hyatt%netscape.com 7ab98f7f26 Adding RemoveStyleSheet to nsIDocument (needed for skins). r=waterson 1999-11-29 22:15:07 +00:00
valeski%netscape.com 469bced3f6 r=vidur. 18889. PNG images weren't being registered (x-png that is) for viewing by layout, now they are 1999-11-29 22:14:32 +00:00
brendan%mozilla.org f456ebcd59 Use nsAutoString for local strings (r=vidur@netscape.com). 1999-11-29 21:15:42 +00:00
brendan%mozilla.org 63f8bf1ffe Fix refcnt underflow bug, defend against null myObj (r=vidur@netscape.com). 1999-11-29 20:44:36 +00:00
sspitzer%netscape.com 31b6b85808 fix warnings 1999-11-29 20:40:39 +00:00
brendan%mozilla.org 62ebb4b490 Whitespace/comment police. 1999-11-28 10:32:13 +00:00
warren%netscape.com 96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
tor%cs.brown.edu 0849b98e62 Build bustage fix for gcc 2.7 & vc5 - include class interface
before playing with nsCOMPtr. r=travis@aol.net,a=dmose@mozilla.org
1999-11-27 05:05:14 +00:00
tbogard%aol.net debce02604 nsGfxTextControlFrame now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. Also changed some regular XPCOM pointers to be nsCOMPtrs. 1999-11-27 03:23:43 +00:00
tbogard%aol.net 305e287b28 nsHTMLDocument now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. 1999-11-27 03:11:10 +00:00
tbogard%aol.net 715b5883cb nsFrameFrame now uses the nsIBaseWindow interface off the WebShell object to do positioning stuff instead of nsIWebShell interface. Also changed the call to GetTitle to properly free the returned pointer as an internal const pointer is no longer returned. 1999-11-27 03:06:59 +00:00
shaver%netscape.com 89607b7de2 Repair missing newlines at end of files, and remove lines of the form
#endif foo
both of which upset HPUX's compiler quite a bit.
Patch from Andrew Taylor <Andrew.Taylor@cal.montage.ca>.
1999-11-26 05:33:35 +00:00
jfrancis%netscape.com 2fa98e7b6c Fix for bug #18859: [DOGFOOD] URL bar messed up Replaced all calls to SelectAllText() with calls to nsIEditor::SelectAll(). r=jfrancis@netscape.com (kin is the author of these changes - being checked in by reviewer) 1999-11-26 03:11:12 +00:00
rbs%maths.uq.edu.au e4a6b5bb4a Catch up with recentchanges in layout 1999-11-25 07:07:06 +00:00
norris%netscape.com 51842ef45e Fix 18553 [DOGFOOD] addEventListener allows sniffing keystrokes
Add checks to nsScriptSecurityManager::CheckCanListenTo that take
a principal and ensure that the currently executing script code
either is from the same origin as that principal or has the
UniversalBrowserRead privilege enabled. (chrome code has all
privileges enabled by default.) It's okay for the principal passed in
to be null. That just signifies a privileged window/document that only
can be listened to with privileges.

I added GetPrincipal/SetPrincipal methods to nsIEventListenerManager.
nsDocument::GetNewListenerManager sets a principal on the listener
manager when it creates one. Obviously there are other places that
create listener managers, but scripts seem to go through this one.

Another change is to save some memory usage. Currently I allocate an
array of PolicyType that is NS_DOM_PROP_MAX elements long.
Unfortunately, compilers appear to allocate four bytes for each
PolicyType, so the array takes around 2400 bytes. I've added changes
to use two bit vectors that should consume about 1/16 that space.

r=joki

There are also changes that push nsnull onto the JSContext stack when
entering a nested event loop.

r=jband
1999-11-25 05:28:18 +00:00
shaver%netscape.com fdc109612c use explicit |.get()| for Unix compilers, a=leaf 1999-11-25 01:02:52 +00:00
vidur%netscape.com dd88339f19 Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki 1999-11-25 00:05:21 +00:00
rods%netscape.com ca9ac3ad84 added back in the code that hook it up to the form for submission
r=kmcclusk bug 19546
1999-11-24 21:37:34 +00:00
rods%netscape.com 5d16e3d2d2 change to always check for upper case TEXT
r=kmccluck bug 19607
1999-11-24 21:24:06 +00:00
rods%netscape.com 6af28faed3 CheckIfAllFramesHere not actually check to see if all the frames are there
r=kmcclusk Bug 19949
1999-11-24 21:12:03 +00:00
rods%netscape.com 178617001b Add a check around the WipeContaingBlock call in ContentInserted, it checks for
the select and doesn't do it. Just like Bug 18366, r=kmcclusk Bug 19949
1999-11-24 21:10:49 +00:00
rods%netscape.com 80cf356162 when there is no value it gets the text for the butto from the egernated content
in all cases (not just when it is a submit or reset) r=kmcclusk bug 19607
1999-11-24 20:59:49 +00:00
rods%netscape.com 1a118ebf48 nsGfxListControl.cpp is now in the build 1999-11-24 20:56:05 +00:00
rods%netscape.com 9d84359954 fixed it up for the frame changes so it will compile
(not in build yet, because if it was tinderbox would be in flames)
1999-11-24 17:33:59 +00:00
tbogard%aol.net af1ce8d410 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
mjudge%netscape.com d1b5f823f1 Fixing mac issue with selection dragging not working when above or below single line text. aka URL. mac has a different preference now. this may be done with look and feel object later. hyatt,cmanske(19191) 1999-11-24 01:10:22 +00:00
waqar%netscape.com 91eea99324 # 15904, 19582
r vidur@netscape.com
d Fixes the problem with memory leak in AppendData node when manipulating
  comment nodes.
1999-11-23 23:13:03 +00:00
mjudge%netscape.com e5cc293e99 missed a |= instead of just a ==. The compared variable is a bitflag not just a number. 1999-11-23 22:49:44 +00:00
alecf%netscape.com 6b09657267 fix for #16929
nuke the scrollbar whenever the total rows is less than the visible rows. This prevents the scrollbar from disappearing under you if you scroll up after many rows have been deleted (such as collapsing folders in mail)
r=hyatt
1999-11-23 22:05:19 +00:00
kin%netscape.com ac5342a0c8 Fix for bug #18092 which is a modified version of Kipp's fix for #1413 that
also fixes #18002, and #18006. nsContainerFrame::GetFrameForPointUsing() now
looks through any outside children even if it finds a normal child containing
aPoint.

r=joki@netscape.com
1999-11-23 22:05:05 +00:00
dcone%netscape.com fb46865127 Initialize the mEnableRendering in other constructor... so print preview will show document. r=rods 1999-11-23 21:45:36 +00:00
mjudge%netscape.com d7fbad6cea small fixes for BR frames getting correct offset. also one case of textframe not returning proper location (simply a missed change of a regressed call in PeekOffset) nsCaret was also too stringent on the limitation of text frames as the only frames to get the caret position. these were reviewed by a few people and i just dont remember. r=simon,cmanske,akkana and hyatt? 1999-11-23 20:30:21 +00:00
rods%netscape.com 768f5e2a14 removed return variable that wasn't used and its warning r=self 1999-11-23 14:21:03 +00:00
rods%netscape.com 89aca60cb8 removed extra variable declaration and the warning 1999-11-23 14:20:17 +00:00