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

2239 Коммитов

Автор SHA1 Сообщение Дата
edburns%acm.org 4857682d61 bug=36212, bustage
r,a=HurricaneSherrif
This checkin fixes a problem using the ?: operator and nsCOMPtr.
2000-08-24 21:48:01 +00:00
shanjian%netscape.com 419f6c2466 #14588 Ctrl+right arrow skips over nbsp (nbsp should be word break)
ra=ftang
new fix which only apply to word jump.
2000-08-24 21:15:19 +00:00
shanjian%netscape.com 4f6526735f #14588 Ctrl+right arrow skips over nbsp (nbsp should be word break)
ra=ftang
a new fix which changes only apply to word jump.
2000-08-24 21:13:18 +00:00
edburns%acm.org 679c3b9ae4 bug=36212, bustage
r,a=waterson
This checkin fixes a problem using the ?: operator and nsCOMPtr.
2000-08-24 20:56:40 +00:00
akkana%netscape.com 072251197b Fix build bustage 2000-08-24 20:52:44 +00:00
waterson%netscape.com 69afdebc22 Bug 46043. Be sure to clear m[Left|Right]Floaters when 0 == mCount. r=buster 2000-08-24 19:55:11 +00:00
edburns%acm.org 6929c922f5 bug=36212
a=waterson,av
r=av,waterson

Here is what I believe to be the correct fix.
This post correspondes to the fix,
second iteration attachments.
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M layout/html/base/src/nsObjectFrame.cpp

This checkin modifies nsIPluginInstanceOwner::GetURL
to have a length parameter for the post data.
2000-08-24 19:49:08 +00:00
buster%netscape.com 9b0a64d2c7 bug 49239
r=hyatt

bug 42372
r=waterson
2000-08-24 04:38:08 +00:00
buster%netscape.com a017796f68 bug 45152 (Typed text does not render in TextAreas with a horizontal scrollbar)
fixed by adding a flag in nsLineBox for the content of a line to mark it "forceInvalidate",
logic in nsLineLayout to set the line dirty for initial reflow of text frames,
and logic in block to check the new flag.
r=kin
2000-08-24 04:26:43 +00:00
anthonyd%netscape.com 112b262913 fix for bug 48624 (hidden selection issues with plain text widgets)
fix for bug 45662 (updating range impl to dom spec)
fix for some edge case selection issues invloving multiple windows, no bug #
but saari knows about this.
r: sfraser, jfrancis, mjudge, saari
a: beppe
2000-08-24 03:54:30 +00:00
jst%netscape.com 9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
attinasi%netscape.com c4cbd8b7eb Fix for leak: have to release the style context after initializing the frame... 2000-08-23 01:22:26 +00:00
attinasi%netscape.com b0349a7041 Resolving style context for the htmlInnerFrame instead of using the parent frame's context. Also added some basic error checking... b=49739 r=buster@netscape.com 2000-08-23 00:12:30 +00:00
scc%mozilla.org eb0aaea827 fixing code that relied on implicit string construction 2000-08-19 22:23:46 +00:00
waterson%netscape.com baab3d1f7f Bug 49122. Make the image map manage addition and removal of the <area>'s to the primary-frame-for map in the frame manager. r=saari 2000-08-18 06:27:42 +00:00
jst%netscape.com 05f37e21da Fixing nsbeta3+ bug 44002. Don't use non boolean values (the value 2 in this case) as a boolean true since 2 != true in JS. This caused scripts that rely on img.complete == true when an image has loaded to break. r=nisheeth@netscape.com 2000-08-17 06:28:47 +00:00
kin%netscape.com 1f2d45de6f Partial fix for bug #45152: Typed text does not render in TextAreas with a horizontal scrollbar
Made Reflow() invalidate the correct region during an incremental or dirty reflow.
r=waterson@netscape.com
2000-08-16 23:12:19 +00:00
pinkerton%netscape.com fc367b8a1a making CaptureMouse a public interface on nsIFrame r=mjudge for bug 48250. 2000-08-14 22:28:41 +00:00
waterson%netscape.com 775c5e9f89 Back out shanjian's last change as it was causing several whitespace-related regressions. r=attinasi 2000-08-14 22:11:41 +00:00
rods%netscape.com 071c524342 it was incorrctly painting both images
b=48156 r=kmcclusk
2000-08-14 22:01:05 +00:00
roc+%cs.cmu.edu e48b1ae6a0 Adding call to new view API so that the view of a fixed-position frame has a Z-order/clipping parent which is not its geometric parent. Bug 39621. r,a=waterson 2000-08-12 19:44:11 +00:00
pierre%netscape.com 5b88097f54 48096: Need a -moz-all value for user-select. r=sfraser. 2000-08-12 01:00:14 +00:00
saari%netscape.com 3b8fdea366 Fix more leaks bug 48126 again. r=hyatt 2000-08-12 00:38:22 +00:00
roc+%cs.cmu.edu ec64a3669f When computing the max-element-size, base percentage margins on the size of the contained max-element-size, not on the container's desired size. Bug 25707. r,a=waterson 2000-08-11 20:08:15 +00:00
anthonyd%netscape.com 9d506576cb fix for bug#48472
apparently nsIContent::ChildAt can be successful
and not return a child. now checking fo that.
r: smfr
a: beppe
2000-08-11 19:55:39 +00:00
saari%netscape.com 952a4be057 Fix for leaks. Bug 48126 r=dbaron, hyatt 2000-08-11 02:11:53 +00:00
anthonyd%netscape.com 13c10a6478 fix for bug# 48472 (dogfood bug)
r: mjudge
a: beppe
2000-08-11 01:36:28 +00:00
attinasi%netscape.com c2db7a5f52 Text with 'whitespace:nowrap' no longer uses special Win32-only text measurement code becasue it didn't work. b=42832 r=waterson 2000-08-10 23:03:11 +00:00
mjudge%netscape.com 7e782cc7f4 use "=" not "==" my bad 2000-08-09 22:43:39 +00:00
mjudge%netscape.com 184bb65ca4 43533 table cell selection color fix. check for table cells/table being added to range and toggle flag to allow cells to draw correctly 2000-08-09 22:34:17 +00:00
mjudge%netscape.com 65269995e3 29570 37393 42794 mac os fix for selecting out of frame bounds. 2000-08-09 22:33:03 +00:00
dbaron%fas.harvard.edu edbb56773e Fix leak on hovering over a scrollbar and re-fix similar leak for text inputs (bug 42895) by adding a "general" method for unrooting anonymous content created through nsIAnonymousContentCreator, plus a hack to deal with the scrollbars on the root element. Some of the other SetDocumentForAnonymousContent methods *may* need to be implemented. Chris Waterson helped significantly with this patch. r=waterson,hyatt b=45676 (nsbeta3+) 2000-08-09 12:51:05 +00:00
sfraser%netscape.com 72205420ff Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge. 2000-08-08 23:48:42 +00:00
sfraser%netscape.com 9aa82a567b Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge. 2000-08-08 23:38:00 +00:00
saari%netscape.com 4c09a29ac5 massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
2000-08-08 21:31:05 +00:00
heikki%netscape.com 300a4cad60 Bug 38647 Link clicks on nsImageFrame do not check if legal to load URI. Happened with server side image map. r=mstolz 2000-08-08 20:35:12 +00:00
dcone%netscape.com 0ca85e6a01 Check to see if the view had been reparented.. b=44718 a=mcclusk 2000-08-08 14:11:09 +00:00
av%netscape.com 52d1151fbc Fixing #8740, r=serge 2000-08-08 04:45:03 +00:00
hyatt%netscape.com 9dd48b2cff Put scrollbars back in tex tareas. 2000-08-05 20:48:22 +00:00
pierre%netscape.com 5e553bbece 42864 ('user-select:none' should make children non-selectable) 2000-08-05 04:41:33 +00:00
shanjian%netscape.com d2b093a3d7 #14588 Ctrl+right arrow skips over nbsp (nbsp should be word break)
r = ftang a=ftang
changes made in word break and word jump.
2000-08-03 23:03:08 +00:00
hyatt%netscape.com d28a9c1352 Fix for 42451. 2000-08-03 22:42:36 +00:00
anthonyd%netscape.com fed5192eba nsPresContext.cpp : added to comment to presContext::GetLookAndFeel to inform others that
that method has been depricated.
nsTextFrame.cpp : changed an assert to a warning, didnt need to be an assert.
r: mjudge@netscape.com
2000-08-03 22:30:47 +00:00
pollmann%netscape.com 9cb5e4ebe2 Bug 40383: Treat frameset rows spec 0* as 1* in quirks mode; r=harishd 2000-08-03 22:26:56 +00:00
pollmann%netscape.com f3da1463b0 Bug 35986: document==NULL for FRAMEs created without SRC; r=kmcclusk 2000-08-03 22:23:48 +00:00
mjudge%netscape.com b9689a5d76 *** empty log message *** 2000-08-02 02:39:10 +00:00
cmanske%netscape.com ca24e6aca4 Fixed crashing bug 42195: Added method to nsIFrameSelection so frame can get limiting content node for parent node searches in text edit fields. r=mjudge 2000-08-02 01:47:55 +00:00
waterson%netscape.com 4896ee6d33 Bug 46693. Check to see if we CanContinueTextRun() while walking over the frames to FindNextText(). This revives the logic that I nuked when fixing 19051, and keeps you from trying to walk over <br> or other frames to erroneously continue a text run. r=akkana. 2000-07-28 22:29:28 +00:00
rbs%maths.uq.edu.au af8754b765 Enable the code to export the baseline out of the block frame code to support 'vertical-article: baseline' in table-cells. bug 10207. a:waterson@mozilla.org. was r:buster@netscape.com. 2000-07-28 09:18:15 +00:00
waterson%netscape.com 1a2ffa3da2 Bug 44709. Maintain renumbering depth on stack, instead of in a global. r=roc+moz@cs.cmu.edu 2000-07-28 09:02:34 +00:00
danm%netscape.com 92d0a3a892 shut down a selection's autoscroll timer in the selection's destructor. bug 43470. r=saari@netscape.com 2000-07-28 03:48:26 +00:00
dbaron%fas.harvard.edu 0d22e864e2 Fix the way HTML's align attribute works for horizontal alignment of blocks. Use the -moz-center and -moz-right even in strict mode, and apply them to blocks in addition to tables. r=attinasi b=37083, 40038 2000-07-27 23:37:44 +00:00
hyatt%netscape.com 0f1477e37e Missed files. Fixs bustage. 2000-07-27 06:57:32 +00:00
hyatt%netscape.com 5a97cb79c0 Fix to enable trees to blit. Performance work approved by waterson. r=waterson. 2000-07-27 06:17:58 +00:00
waterson%netscape.com 349ccf4344 Bug 19051. Checked in wrong patch for nsLineLayout.cpp; we want to check the display type, not the frame type, to determine if it's a block frame. 2000-07-27 05:20:09 +00:00
waterson%netscape.com 9bd4266798 Bug 19051. Remove code that computed and maintained nsTextRun. Instead, compute 'next text' when required by crawling the frame tree in nsLineLayout::FindNextText(). r=roc+moz@cs.cmu.edu 2000-07-27 05:16:08 +00:00
waterson%netscape.com 45a991a10b Bug 37622, redux. Case insensitive compare that I meant to check in way back when, but didn't. This was really part of the first patch, but didn't make it in because I checked in from the wrong machine. 2000-07-27 05:09:40 +00:00
mjudge%netscape.com 7317580268 46209 one of the last beta 2 blockers. adding ability to frames to tell if part of them is visible. idl change to allow nsISelectionController to give CheckVisibility. PresShell actually has the code for nsGfxTextControlFrame to call. 2000-07-26 11:31:12 +00:00
nisheeth%netscape.com 9b09a0b6c1 Fix for nsbeta2+ bug 43472. r=rpotts. We no longer crash on exit on Full Circle enabled builds. 2000-07-23 06:51:39 +00:00
rods%netscape.com f7fbff18c7 check in for andreas, it now checks to make sure that the image or lowimage is not
null before getting the width and height
b=36902, a=waterson
2000-07-20 14:50:17 +00:00
waterson%netscape.com eb10ce3a1a Bug 37622. Hackery to get <embed hidden='true'> to work. Check hidden attribute; if set, size to (0, 0) and don't create a widget. r=pavlov,blizzard. 2000-07-19 23:46:43 +00:00
valeski%netscape.com 175fa58cd9 45723. r=rpotts. webshell-docshell consolodation changes. 2000-07-18 23:13:07 +00:00
hyatt%netscape.com 5c42c520a8 Fix for 43467. r=bryner 2000-07-13 23:00:59 +00:00
av%netscape.com 1c72f33a9a #44422, r=buster 2000-07-11 23:10:29 +00:00
bnesse%netscape.com 23b031d8d8 Removed code which was painting rectangles over the plugin objects on the Mac. Bug #41016. r=av 2000-07-11 20:06:05 +00:00
shanjian%netscape.com 8e013f01a6 #42422
Fix the crash, contentLen should not be extended futher than the
text fragment's length.
2000-07-10 22:32:54 +00:00
akkana%netscape.com 481b7a5c02 38232 (nsbeta2+): Make line break character configurable in the
output system, and use \n (the DOM linebreak character) when getting
output from text controls.  Also fix some warnings.  r=kin.
2000-07-10 19:46:59 +00:00
cls%seawood.org e87a1b7b11 Start tedious process of removing obsolete mozilla/include files from build. This patch should take us down to 19 of 101. Bug #38061 2000-07-10 07:13:31 +00:00
evaughan%netscape.com a17ec2746d Fixed body resizing bug #35681
-r pinkerton
2000-07-07 22:24:06 +00:00
nisheeth%netscape.com d70a4ed2b5 Fix for nsbeta2+ bug 12152. r=vidur, pollmann. Setting the src property during document load works on <IMG> and <INPUT type="image"> elements. 2000-07-01 02:26:30 +00:00
dbaron%fas.harvard.edu d05d4bef76 Fix bug 43882 (dogfood+) by removing special handling of empty P elements. (Most of the diffs are whitespace changes.) This also fixes bugs 43369, 43991, and 18050. However, it exposes a few other issues as well (the most important of which, nuking top margins on first *normal flow* children of BODY and TD, was previously fixed only in some cases, but shouldn't be hard to fix in general). r=waterson 2000-06-29 22:03:42 +00:00
mjudge%netscape.com 0d4292f24e r=hyatt bug36617, sfrasier bug. simple change for select all to work. 2000-06-29 05:25:01 +00:00
mjudge%netscape.com b871d9eda7 r=jfrancis,r=hyatt 42045 beta2+ 42675 beta2+ hitting return on text area not putting new line. onchange,oninput. 2000-06-28 04:00:12 +00:00
dougt%netscape.com 5cf34c2722 Adding assert on invalid init of textTransformer. see bug 43094
Basic check for null.

Without this assert, you will crash if there is no nsILineBreakerFactory
found.
2000-06-27 20:54:01 +00:00
brade%netscape.com b428f2f35a check in patch for buster; bug #42630; GetChildFrameContainingOffset was hiding inherited 2000-06-27 14:47:21 +00:00
pierre%netscape.com f364ca73f4 #42325 "Won't show page on www.teamtalk.com". Fix the parsing of ROWS="*%" in FRAMESETs. r=pollmann. 2000-06-22 05:32:56 +00:00
pierre%netscape.com 78e4562501 #42029 "Dynamic use of the clip property is causing repaint problems". Make the clip area coordinates conform to the latest spec. r=attinasi. 2000-06-22 05:28:36 +00:00
anthonyd%netscape.com b752b18c25 bug fix for #40742
crasher in DrillDownToEndOfLine()
r:mjudge a:beppe precheckin test done
2000-06-22 00:41:42 +00:00
beard%netscape.com 1c926d81a2 bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser 2000-06-20 23:10:06 +00:00
dbaron%fas.harvard.edu 70189b60ae Fix bug 42685, nsbeta2+. Revert percentage width calculations to the way they used to be, except for floats with auto widths. code=buster r=me 2000-06-20 03:47:49 +00:00
anthonyd%netscape.com 2ba178903c warning fixes for linux. r: mjudge a: beppe 2000-06-16 22:28:10 +00:00
karnaze%netscape.com fe4c550189 bug 41306 - remove special cell auto percentage base code, r=rods 2000-06-15 14:54:04 +00:00
buster%netscape.com 08f155815a fixing a platform compile problem 2000-06-14 23:58:41 +00:00
pollmann%netscape.com e75bf0612e Fixing Linux build bustage 2000-06-14 23:58:31 +00:00
pollmann%netscape.com 5f49da232d Bug 32770: Save scroll position in session history r=nisheeth 2000-06-14 23:37:06 +00:00
buster%netscape.com b5b8e94c24 fixed nsbeta2+ bugs 42138 35772 37657 38157 40283 35964
r=waterson, rods
2000-06-14 23:15:59 +00:00
buster%netscape.com 9665a1c5fa fixed bug 41757
file also contains some debug only code (disabled), another bug fix (also disabled), the removal of
some obsolete code that was already #ifdef'd out, and a bunch of new comments
r=mjudge, waterson
2000-06-11 22:14:33 +00:00
buster%netscape.com 079914eaf0 fixed bug 29854
r=waterson
2000-06-11 05:25:14 +00:00
mjudge%netscape.com b8ab3b74f2 too many copies for ender-lite. happening whenever people were setting selection progromatically. r=hyatt 34896 2000-06-09 05:14:19 +00:00
kmcclusk%netscape.com f2757fb84d Changed nsBulletFrame to set the dirty flag on the it's parent's first frame instead of itself when an Image is updated b=36703 r=buster@netscape.com tested on WINNT, Linux 2000-06-08 23:19:38 +00:00
cmanske%netscape.com d4cf823a1c Finished table cell selection optimization bug 41045. r=mjudge, a=beppe 2000-06-06 23:14:42 +00:00
hyatt%netscape.com e43955f56d Tree/grid work. Bug #30511. r=danm. 2000-06-06 23:14:11 +00:00
attinasi%netscape.com e0876002ed Removed code that was printing the word 'embed'. b=37558 r=buster a=leger 2000-06-05 21:21:48 +00:00
rbs%maths.uq.edu.au 1a36f0816d [#ifdef MOZ_MATHML: not yet part of default build]. Export the baseline out of the block frame code to support 'vertical-align: baseline' in table-cells. bug 10207. r:buster@netscape.com. a:waterson@mozilla.org 2000-06-05 08:24:18 +00:00
alecf%netscape.com daadcd2c0d fix #ifdefs to quiet output (speeds up display of complex tables like tinderbox and slashdot.org) - does not affect release builds 2000-06-04 09:44:08 +00:00
cmanske%netscape.com 18a9fcaca3 Fix for table selection performance problems. b=41045, r=mjudge, a=beppe 2000-06-02 23:05:06 +00:00
av%netscape.com 6a19b9b86a Fixing 40765, r=buster, a=hamerly 2000-06-02 20:20:35 +00:00
mjudge%netscape.com 66a4d02495 bug = 34896, r= hyatt. changing caret apis. this will demand that when a caret changes focus a call to setDOMSelection must be called to tell the caret what selection to listen to. 2000-06-01 02:37:40 +00:00
mjudge%netscape.com 95c22b351b bug = 34896. Fixing ender lite startup problem with caret. checking for inOffset<0. we checked for >mContentLength but not <0. r=churchil. 2000-06-01 01:00:15 +00:00
kin%netscape.com 1739a10bbd Part2 of fix for bug #39821: Drag and Drop interferes with selection
Made GetSelectionController() a public method on the nsIFrame interface,
so that nsEventStateManager::GenerateDragGesture() has access to it. This
prevents D&D from interfering with selection in Ender-Lite.

    layout/base/public/nsIFrame.h
    layout/events/src/nsEventStateManager.cpp
    layout/html/base/src/nsFrame.h
    layout/html/base/src/nsFrame.cpp

r=buster@netscape.com,brade@netscape.com,cmanske@netscape.com   a=beppe@netscape.com
2000-05-31 03:20:02 +00:00
cmanske%netscape.com c28f13972f Added row/column selection in tables: Bug 26833. r=kin, a=beppe 2000-05-31 00:07:58 +00:00
akkana%netscape.com 0e36c2f407 38713: Allow TakeFocus motion inside selection batching. r=mjudge, jfrancis; a=beppe 2000-05-31 00:02:12 +00:00
av%netscape.com fb87fec2d5 nsbeta2+ fix for 17169, cheking in ftang's patch 2000-05-26 22:24:35 +00:00
evaughan%netscape.com 55816643f1 fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt
2000-05-26 06:42:29 +00:00
karnaze%netscape.com 7aea563c64 nsbeta2+ bug 39885 - invalidate minimal areas. optimize reflows when cells don't change size. r=attinasi 2000-05-25 22:40:21 +00:00
kin%netscape.com 108b7677fd Part 1 of fix for bug #39821: Drag and Drop interferes with selection.
layout/base/public/nsIFrameSelection.h
  layout/base/src/nsSelection.cpp
  layout/events/src/nsEventStateManager.cpp
  layout/html/base/src/nsFrame.cpp
  layout/html/forms/src/nsGfxTextControlFrame2.cpp
  xpfe/browser/resources/content/navigatorDD.js

r=brade@netscape.com,cmanske@netscape.com a=beppe@netscape.com,waterson@netscape.com
2000-05-25 20:04:02 +00:00
waterson%netscape.com b71b209ac7 Bug 36401. Deal with inline-blocks better. Add nsFrameState bit that indicates whether or not a frame is part of a 'special' inline-block hierarchy; use the 'inlineFrameAnnotation' property to remember the next 'special sibling' so that we can traverse correctly; pull methods out of nsCSSFrameConstructor's public API. r=nisheeth,buster 2000-05-25 19:58:51 +00:00
shaver%mozilla.org d7b33a74cd add content-policy hooks to <embed>/<applet>/<object> handling (#37983, r/a=brendan) 2000-05-25 13:32:42 +00:00
buster%netscape.com 23476f617b fixed bug 35777
r=av@netscape.com

The problem was the object frame was assuming it was at offset y=0 within it's parent frame when calculating a percent height.  This is an invalid assumption.
Instead, we now measure from the top of the containing block.  This still isn't 100% correct, but it is the right parent to be measuring margin from.
2000-05-22 21:36:35 +00:00
pavlov%netscape.com 367dc92877 backing out a change that went in with the new timer code that had nothing to do with timers and shouldn't have been checked in (and I don't know why was in my tree) 2000-05-20 03:05:48 +00:00
hyatt%netscape.com aee56a4d33 fix assert for dogfood bug#37854, r=danm 2000-05-18 21:08:27 +00:00
evaughan%netscape.com 14c154301b Fix for mac xp menus not comming up at all. 2000-05-18 00:37:27 +00:00
erik%netscape.com 23bead6485 make line-height calculation language-sensitive to avoid overlapping lines 2000-05-17 06:47:56 +00:00
cls%seawood.org 149446f3e7 Fix for BeOS and other platforms that don't use the NEW_FONT_HEIGHT_APIS. 2000-05-17 05:07:26 +00:00
evaughan%netscape.com d4513de096 Fixed bug that crashed when menus are used with native scrollbars. 2000-05-17 04:45:44 +00:00
pavlov%netscape.com 45a70d5703 fix build bustage 2000-05-17 03:24:43 +00:00
mjudge%netscape.com c39baffac3 removing debug messages 2000-05-17 03:07:31 +00:00
pavlov%netscape.com 803190ad4b changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
jst%netscape.com 930a889eb7 Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value. 2000-05-17 00:21:53 +00:00
karnaze%netscape.com 854d511d3e bug 28811, 29459, 32507 - added flag to reflow state to handle table cells.
changed table min and max width calculations to include percent and proportional cells.
Include border and padding in min table width calc.
2000-05-16 22:55:34 +00:00
akkana%netscape.com d39b10a680 Partial work on 16311, 32807, 16352: code reorganization/cleanup of word/line/paragraph selection. 2000-05-16 22:48:28 +00:00
mjudge%netscape.com f56b42799d fixing relative div position bug with autoscroll 2000-05-16 22:41:38 +00:00
kin%netscape.com e56254aabb - First pass checkin for a Drag and Drop friendlier selection. (Bug #38527) Code is ifdef'd out with DRAG_AND_DROP_FRIENDLY_SELECTION.
- Replaced tabs with spaces.
2000-05-16 22:16:05 +00:00
cmanske%netscape.com b206aff8c8 Add code to paint selection border around Named Anchor frames when rect is not null - used only in Editor when Named Anchor is represented by an image. r=mjudge 2000-05-16 22:12:54 +00:00
pollmann%netscape.com ccbe4c0000 Bug 23014: Quirks mode percentage height: enable for iframes, enable for native scrollbars, and add safety check for unconstrained height. r=harishd 2000-05-16 22:02:16 +00:00
pollmann%netscape.com 8e66be24ed Bug 32746 (3 of 3): Make iframe borders respond to both css and frameborder attribute, un-reverse frameborder=yes/no, and misc clean up with nsCOMPtrs. r=harishd 2000-05-16 21:59:23 +00:00
shanjian%netscape.com 0cf967556d #7601, r = ftang
fixed backwards wordjump problem for non-ascii characters.
2000-05-16 19:52:05 +00:00
shanjian%netscape.com e79533211d #7601
r = ftang
Fixed non-ascii forward wordjump problem.
2000-05-16 19:51:09 +00:00
mjudge%netscape.com 5237a6fe65 changes for setcapture. 2000-05-16 13:52:28 +00:00
anthonyd%netscape.com 7ab436fd88 avoiding confusion between line iterator between layout and navigation.
if you want a line iterator for navigation you must explicitly ask for one.
2000-05-16 08:11:14 +00:00
cmanske%netscape.com acad8adcca Select table column and row support (20973). r=mjudge 2000-05-16 03:03:13 +00:00
erik%netscape.com 210b71c14f bug 27164; need to multiply line-height by font's em square height, not
bounding box height; r=buster
2000-05-15 19:40:42 +00:00
mjudge%netscape.com 6e60f28e28 fixing legal issues 2000-05-15 14:19:25 +00:00
dbaron%fas.harvard.edu 3de09ce54f Fix AtomImpl leaks (includes bug 32608). r=pollmann@netscape.com 2000-05-15 13:12:27 +00:00
evaughan%netscape.com 2316308130 1) Scrolling menus
2) many bug fixes
3) box debuging flags
2000-05-15 04:12:31 +00:00
buster%netscape.com 8b31c633a7 bugs 38396, 29429, 32471, 27390, 32581
errors in incremental calcuation of max-element-size and preferred-size
2000-05-14 04:56:25 +00:00
buster%netscape.com e38f699ad2 bug 38396, a bug in max width calculation exposed by tables 2000-05-14 04:43:52 +00:00
mjudge%netscape.com d12e670ad8 updating capture code 2000-05-14 03:41:25 +00:00
anthonyd%netscape.com 8bbcc675f6 more changes to make table navigation in editor
work correctly and not crash.
2000-05-14 00:10:25 +00:00
mjudge%netscape.com db0ca25636 adding method to remove scrollbars 2000-05-13 23:00:53 +00:00
mjudge%netscape.com fa4088842d fixing warnings and some redundant code 2000-05-13 20:47:42 +00:00
mjudge%netscape.com 481c5db0e2 fixing redundant calls to notify selection listeners 2000-05-13 09:10:16 +00:00
mjudge%netscape.com 06fe36cd3f changing use of nsXIFConverter to nsIXifConverter 2000-05-13 08:10:25 +00:00
mjudge%netscape.com 4d87ea0999 fixing up some of the calls for frameselection to setting mousedown state 2000-05-13 08:09:03 +00:00
mjudge%netscape.com a4c310645c (ender-lite) forcing use of nsixifconverter rather than nsxifconverter. making tostring method take output type parameters. 2000-05-13 08:07:34 +00:00
pollmann%netscape.com 7b2e7fce4d Bug 27383: Pass referer when loading iframe's document to allow javascript: urls - combine load methods, r=nisheeth
Bug 23014: Percent width on iframes allowed, r=karnaze (does not include percent height fixes)
2000-05-12 00:57:28 +00:00
sspitzer%netscape.com 29549b8e39 fix crasher when clicking on a text area. bug #38897. 2000-05-11 08:41:35 +00:00
mjudge%netscape.com 7bfafae7bc need to check for independent selection to grab mousedown state. will change this to be implemented by selectioncontroller later 2000-05-11 04:50:16 +00:00
mjudge%netscape.com 55912eddb8 changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret. 2000-05-11 04:25:43 +00:00
anthonyd%netscape.com e8ceb8ee1b r:mjudge
fix for bug# 29785, keyboard navigation of tables in editor
not completely fixed, tables with row|column span do not navigate correctly
2000-05-11 01:04:39 +00:00
ftang%netscape.com e4fea9b5a0 fix bug 16796. handle german &szlig; and convert to SS in capital and uppercase 2000-05-10 19:44:09 +00:00
jst%netscape.com ee4b181034 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com. 2000-05-10 13:13:39 +00:00
attinasi%netscape.com a29102e7ef Tiny fix to avoid divide-by-zero when the AveCharWidth is 0. b=37577 r=dcone 2000-05-09 21:20:38 +00:00
buster%netscape.com fe02891c04 fixed bug 36022
r=troy (been holding this in my tree for a while)
2000-05-09 19:28:20 +00:00
buster%netscape.com 2d8ef163b2 (forgot to check this in)
effectively removed area frame
work troy was holding in his tree
r=buster
2000-05-09 05:28:08 +00:00
buster%netscape.com c1c9bfa09b effectively removed area frame
work troy was holding in his tree
r=buster
2000-05-09 05:11:12 +00:00
buster%netscape.com 0e193a8fad fixed bug 24770 2000-05-09 05:09:55 +00:00
buster%netscape.com d421f31ce4 just removed a warning 2000-05-09 05:08:27 +00:00
buster%netscape.com a57c2f071c fixed bugs 26952, 30944, 36022
r=troy
2000-05-09 05:08:02 +00:00
buster%netscape.com bc9197fc27 effectively removed area frame
work troy was holding in his tree
r=buster

also fixed bugs 26952, 30944, 36022
r=troy
2000-05-09 05:06:16 +00:00
mjudge%netscape.com d30a3a5508 forgot to initialize this 2000-05-08 04:00:48 +00:00
mjudge%netscape.com 9fc3ea7f15 adjusting how we get nsIFrameSelection. maybe we can QI from SelectionController 2000-05-08 03:59:53 +00:00
rusty.lynch%intel.com 10d2d8fa15 Fix for bug #37165 (Unknown protocol handler in embed/object src attribute
kills plug-in.) r=av
2000-05-07 16:48:06 +00:00
attinasi%netscape.com dcb965aa0f Added AttributeChanged method impl. for the CanvasFrame. This allows the frame to invalidate the whole canvas when a background color or background image changes. b=11491,37502 2000-05-06 05:50:49 +00:00
erik%netscape.com 0f1eec05eb bug 26237; added support for HTML LANG attribute -- it now uses the fonts
specified by the user for elements with the LANG attribute when the font
is a CSS generic (e.g. serif); r=pierre
2000-05-05 21:04:36 +00:00
joki%netscape.com c3d866c555 check in fix for 31892, null check in imagemap event code 2000-05-05 14:10:52 +00:00
dprice%netscape.com a5c995336b fix for 38253 r=mjudge 2000-05-05 05:37:27 +00:00
mjudge%netscape.com 450040c157 bad infiniteloop fix 2000-05-05 02:38:03 +00:00
karnaze%netscape.com a02cdba83c bug 37037, 37490, and a table paganation problem when captions are present. 2000-05-04 23:16:42 +00:00
karnaze%netscape.com b55c22c6ab consider captions as blocks to calculate box-sizing. 2000-05-04 14:47:37 +00:00
mjudge%netscape.com 24e9fbcab6 stealing new bit for frames with their own selection. changing caret to be able to handle multiple selected areas. if the bit doesnt work out i will back it out. 2000-05-04 08:35:42 +00:00
karnaze%netscape.com 7be59ad273 bug 38048 - use correct reflow reason. fixed by Troy, r=karnaze 2000-05-04 00:39:01 +00:00
karnaze%netscape.com 87beb13dc1 bug 30692 - skip inner table cell's block as percentage base and use cell instead. r=troy 2000-05-03 14:36:04 +00:00
mkaply%us.ibm.com 23620fb329 # 34082
r= troy
OS/2 bring up continues - PR_CALLBACKs for VisualAge
2000-05-02 23:07:11 +00:00
mjudge%netscape.com dd57ceb32d new api for limiter in selection 2000-05-02 03:44:17 +00:00
evaughan%netscape.com 532c5be885 Made gfx scrollframe store maxelement size for gfxlist controls. 2000-05-02 02:28:41 +00:00
troy%netscape.com a7a21c2c4b b=33150 Fixed problem where reflow commands in different child lists were
being coalesced
2000-05-02 02:23:31 +00:00
kin%netscape.com 65b72822ba Fix for crasher bugs 37701 and 37728. r=mjudge@netscape.com 2000-05-01 18:21:30 +00:00
rods%netscape.com 27fe983957 fixes two different checks for the existence of lowsrc. al text now displays
correctly for net based images.
2000-05-01 14:35:19 +00:00
dbaron%fas.harvard.edu 6175b3560e Fixed miscellaneous leaks exposed to tinderbox leak stats by brade%netscape.com's JS checkin (rev 1.150 of navigator.js, 2000-04-28). 2000-05-01 00:26:37 +00:00
karnaze%netscape.com 1053177d73 Fix for Linux bustage, bug 37643. Give outer table reflow state initial computed values of 0 to avoid excessive reflows from boxes. 2000-04-30 22:29:01 +00:00
anthonyd%netscape.com 9a23850613 r: mjudge
table bacgrounds now sleected properly with disabled selection
(grey selection)
2000-04-30 18:56:26 +00:00
troy%netscape.com f9362437ce b=36635 Fixed a problem with 'auto' margin calculation not taking into
account border/padding
2000-04-29 00:24:53 +00:00
karnaze%netscape.com 65511dc8d6 new reflow/layout code for outer table to handle captions and margins. better % height handling.
row groups and rows don't include external cellspacing in there dimensions. r=troy.
2000-04-28 21:05:31 +00:00
jst%netscape.com c29c060230 Make nsSelection::ToString(); do the right thing, now it uses the document encoder to create the string representation of the selection. r=mjudge&akkana (before I did a string API change). 2000-04-28 13:58:08 +00:00
mjudge%netscape.com 7e5a6b3cd7 change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument 2000-04-28 06:21:31 +00:00
mjudge%netscape.com 2c0953e1be ender lite checkin. 2000-04-27 07:37:12 +00:00
av%netscape.com f665eca50b Fixing mismatched addref/release pair 2000-04-26 21:47:45 +00:00
evaughan%netscape.com 9b95756d1e Fixed merge error. Added rods performance code back in. 2000-04-26 21:01:57 +00:00
anthonyd%netscape.com a3535292d9 r: mjudge
bug fix for 34397, broken IME selection
2000-04-26 03:54:21 +00:00
akkana%netscape.com df72d780bb Backing out previous change -- wasn't ready. a=mjudge 2000-04-26 01:58:28 +00:00
akkana%netscape.com 5709d8739f Change Save File APIs in layout and editor to eliminate the specific
references to text and html and make them more general (take a mime type).
In the editor, prettyprint all output if editor.prettyprint_html is set.
2000-04-26 01:00:50 +00:00
evaughan%netscape.com 3e33f5b852 1) StyleChange coelescing
2) Warning fixes
3) Table fixes
2000-04-25 07:10:48 +00:00
troy%netscape.com 6b04c3b5fa Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman%netscape.com 3822ffce4e Backing out troy's changes to fix various UI blocker bugs. 2000-04-24 22:29:06 +00:00
putterman%netscape.com 42e26161e8 Backing out troy's changes to fix various UI blocker bugs. 2000-04-24 22:15:55 +00:00
joki%netscape.com bbb0086bfe fixes for 5995, 7304, 10573, 22832, and 9668.
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
2000-04-24 04:41:27 +00:00
troy%netscape.com 7b7f5b686e Fixed CreateViewForFrame() to check for a block-level frame with
'overflow' set to 'hidden' and force the frame to have a view. This
way child frames with views are clipped correctly
2000-04-23 04:55:27 +00:00
troy%netscape.com b115bc7d04 Changed SyncFrameViewAfterReflow() to consider out-of-flow frames
as block-level as well. This covers the case where a floated or
absolutely positioned frame has its 'display' value set to 'inline'
and so we didn't recognise it as block-level
2000-04-23 04:33:23 +00:00
troy%netscape.com 9b393faa48 Changes to bring clipping inline with upcoming CSS2 errata 2000-04-23 00:56:16 +00:00
troy%netscape.com 3a947b0534 Slight performance improvement 2000-04-22 15:50:12 +00:00
rods%netscape.com 465d191a2e Add ifdef'ed Performance Reflow Counting code 2000-04-21 21:51:35 +00:00
anthonyd%netscape.com b5b3122ac2 r=mjudge. Removing redundant call to SetColor for ::RenderString. all places have allready set the color before calling this method. this removal should be a no-op. Selection color now should look correct 2000-04-21 21:38:08 +00:00
rods%netscape.com 21de9f3e8a Add ifdef'ed Performance Reflow Counting code 2000-04-21 14:59:47 +00:00
pierre%netscape.com 0a1b7cc547 Implemented i18n list-style-types. Thanks to bakibon@yahoo.com. 2000-04-21 08:05:29 +00:00
anthonyd%netscape.com 815b66f915 drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge 2000-04-20 23:11:41 +00:00
troy%netscape.com c450772b1e b=6252 Fixed problem with computing of hypothetical box 2000-04-20 04:44:32 +00:00
rods%netscape.com fe078580ed no longer strips beginning and ending spaces of value when GetAttributeValueAt
is called.
Bug 33050
2000-04-19 14:00:11 +00:00
rods%netscape.com 47329d0362 Not enabling creator's to be asked if they want to create a special frame for anonymous content
bug 33515
2000-04-19 13:55:17 +00:00
troy%netscape.com aa529094b7 b=36220 Added check for a frame type of "areaFrame" 2000-04-19 03:27:31 +00:00
troy%netscape.com a8143dd431 b=36202 Patch from roc+moz@cs.cmu.edu that makes sure we invalidate if
necessary when pulling up frames
2000-04-19 03:12:13 +00:00
troy%netscape.com efc3b016a8 b=15405 Renamed root frame to canvas frame and changed frame construction
code to propagate document element's background to canvas
2000-04-19 02:13:43 +00:00
troy%netscape.com 8c36119549 b=36095 Fixed problem in GetNearestContainingBlock() 2000-04-18 05:03:42 +00:00
buster%netscape.com a89c2dd5fd I suck. More debugging code that should have been removed. 2000-04-17 15:54:55 +00:00
buster%netscape.com 2ac349c74c one line of debug code accidentally slipped in. Removed. 2000-04-17 15:03:55 +00:00
buster%netscape.com f40b76249a bug 588 (text justification) for Robert O'Callahan <roc+moz@cs.cmu.edu>
r=buster

bug 18545 ([FLOAT] Problem Centering <TABLE> with <DIV> tag)
r=troy

bugs 18827, 19579, 22327 24782, 26512, 30124, 31849, 32846 (floater behavior wrong)
The primary change here is to determine if a block is impacted by a floater, and if so
mark the block's lines dirty when appropriate.
r=troy

no bug number.  performance work.  reduced the size of some reflow data structures by
collapsing multiple fields into a single bit field.
r=troy
2000-04-17 14:40:46 +00:00
scc%netscape.com 37d7f881c6 making string conversions explicit 2000-04-17 10:28:55 +00:00
nisheeth%netscape.com 7b7f9d1021 Fix for bug 30958: Reflow commands are now processed asynchronously all the time. The semantics of the API for queuing and processing reflow commands has changed. Now, AppendReflowCommand() initiates an asynchronous reflow event and all reflow command processing happens when that event fires. It is no longer possible for consumers outside the presentation shell to call ProcessReflowCommands() synchronously. Because of this change, reflow locks are no longer needed and have been removed. 2000-04-17 07:13:57 +00:00
scc%netscape.com b4caf7e667 making string conversions explicit 2000-04-16 11:19:26 +00:00
troy%netscape.com 79bc68e107 New rules for absolute positioning 2000-04-16 04:07:02 +00:00
scc%netscape.com 52bdf65d60 making string conversions explicit 2000-04-15 21:18:29 +00:00
scc%netscape.com 0012d27605 making string conversions explicit 2000-04-15 20:15:37 +00:00
troy%netscape.com 5620fd8913 Fixed GetIntrinsicImageSize() to return the correct size 2000-04-15 15:49:57 +00:00
mjudge%netscape.com 533234a976 fixing selection speed. only copying to clipboard on mouse up 2000-04-14 23:00:30 +00:00
jband%netscape.com 1a6a4ffc83 extracted the declaration of nsObjectFrame into a separate .h file so that it can be accessed by nsHTMLEmbedElement.cpp. This is needed to fix bug 32150 2000-04-14 22:48:30 +00:00
mjudge%netscape.com 181b0aaa7e touch alot. changing api for notify selection listeners to add document and seleciton pointers to the api. 2000-04-14 11:21:19 +00:00
troy%netscape.com e7c5adfb56 Made FindLineFor() public because I need to call it from the HTML reflow
state code
2000-04-14 04:05:58 +00:00
kmcclusk%netscape.com 1945225950 Clip now applies to child views. b=11660 r=buster@netscape.com
Prevent the invalidation of hidden views (1/2 patch from <Tomi.Leppikangas@oulu.fi> b=34466 r=buster@netscape.com
Prevent ViewManager1 from getting into endless loops (patch from <jst@citec.fi> b=25336 r=buster@netscape.com
tested=WINNT, Linux, Mac
2000-04-13 21:56:27 +00:00
troy%netscape.com 41bb5435ed b=35749 Fixed Purify warning 2000-04-13 20:55:40 +00:00
troy%netscape.com 391a9f5e58 b=35312 Made sure we don't mesure in chunks if letter spacing is
specified
2000-04-13 20:43:48 +00:00
mjudge%netscape.com 5c4c46cd0d table cell selection now shows up background. also small fix for nsBlockFrame to do the right thing for mouse capture. 2000-04-13 20:21:32 +00:00
tbogard%aol.net ec564797d5 Get the service for the plugin host. Don't bother requesting it from the container. 2000-04-13 02:53:18 +00:00
mjudge%netscape.com 7caea63ed1 a=gramps. smoketest fix for 35590 2000-04-13 00:15:02 +00:00
dveditz%netscape.com 1eae54e4e0 get VC5 Mozilla build back off the floor, a=granrose 2000-04-12 22:48:54 +00:00
troy%netscape.com 890549a10c b=35603, r=jinjin@pacbell.net Fix for blocker (crash when selecting
text)
2000-04-12 22:22:58 +00:00
jdunn%netscape.com 2535df76ae adding include for tolower & toupper 2000-04-12 15:52:50 +00:00
troy%netscape.com a37259c6bd Fix for build bustage 2000-04-12 15:42:55 +00:00
troy%netscape.com 43ba4ad192 Added support for measuring text runs in ascii, and changed text transformer
to leave the text as ascii if possible
2000-04-12 14:54:43 +00:00
mjudge%netscape.com 8efaa31294 fixing 2 bugs. bug for notifications going out when we dont need them for selection changing. and for fixing some keyboard navigations around non-text frames 2000-04-12 10:34:19 +00:00
mjudge%netscape.com ac8d5b837a dangit 2000-04-12 05:48:03 +00:00
mjudge%netscape.com 6536f6d6d7 left out static in prototype. mac compiler...grumble 2000-04-12 05:43:42 +00:00
morse%netscape.com 90e57a8f70 attempt to fix mac bustage 2000-04-12 05:20:49 +00:00
mjudge%netscape.com c6128bbf01 dangit forgot this one 2000-04-12 03:35:27 +00:00
mjudge%netscape.com f0c0beb50c fix for setcapture. passes events to the nsHTMLFrame's areaframe when events are trapped to a given frame's view. 2000-04-12 03:04:11 +00:00
ftang%netscape.com 9cf267b815 mjudge at ftangs machine. last fix to stop crashing. still problem with event from external IME window not getting to ESM 2000-04-10 21:35:52 +00:00
ftang%netscape.com 43e62d6dfa mjudge checkin in from ftangs machine. fixing japanese lockup. this will not fix the strange loss of the commit event to the ESM however. that was making thisproblem obvious. 2000-04-10 21:02:25 +00:00
mjudge%netscape.com f7d9bfc8c0 a=leaf r=ftang. I will be more carefull with ime when doing selection.. I will be more carefull with ime... 2000-04-08 00:17:14 +00:00
mjudge%netscape.com 8132899a96 a=leaf. r=sfraser. fixing ime lockup. stupid mistake on my part 2000-04-07 19:32:46 +00:00
jst%netscape.com f523d9cb3a Add a nsHTMLUnknownElement class for LAYER, ILAYER, NOLAYER and unknown elements, this element is a normal element except that it doesn't do inline style processing. This fixes M15 bug #22260. 2000-04-05 01:46:48 +00:00
evaughan%netscape.com 6a2ad59407 1) Bug fixes.
2) Changed to fix rods text control
3) Added new Grid widget
2000-04-05 00:19:00 +00:00