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

1928 Коммитов

Автор SHA1 Сообщение Дата
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
pollmann%netscape.com 43e5d18972 bug 12002: Resizing a frameset by moving the splitter was causing rapid reflows bug was not updating the corresponding views. This change forces an update, which improves perceived performance. r=Troy 2000-04-05 00:10:26 +00:00
troy%netscape.com ac77c942fa Eliminated buffering that the text frame was doing when measuring
text in runs and changed the text transformer code to do the buffering
instead. It was already copying the transformed text into its internal
buffer anyway, so this saves the extra copy
2000-04-04 14:14:47 +00:00
pierre%netscape.com e35773094b Use the system colors to paint the text selection (and added NS_DONT_CHANGE_COLOR to support the Mac selection scheme where colored text keeps its colors when selected). 2000-04-04 09:07:41 +00:00
scc%netscape.com e37740acdb making string conversions explicit 2000-04-03 11:39:09 +00:00
scc%netscape.com c5c503948f making string conversions explicit 2000-04-03 11:20:35 +00:00
evaughan%netscape.com c19480372e Added a hook for the Bidi code. 2000-04-03 06:26:38 +00:00
mjudge%netscape.com ad7071118d selecting generated content works now. subtree iterator and all. incredible... added new private method to nsTextFrame to factor out some things on getting correct offsets from generated frames. its a no-op almost for non generated frames 2000-04-02 05:05:31 +00:00
tbogard%aol.net b52d8a2a80 Use the docShell APIs to do the Load rather than nsIWebShell methods. 2000-04-01 00:26:21 +00:00
nisheeth%netscape.com 971495476f r=troy. Fix for bugs 8131, 13325.
- We no longer display alternate content for broken images inside image
- We only display the image loading icon during the initial load of an image not if its src attribute is changed via the DOM.
- In AttributeChanged(), se don't call ContentChanged() on the document to reflow the image frame but call the parent frame's ReflowDirtyChild() method instead.
2000-04-01 00:13:51 +00:00
cls%seawood.org adf25840d6 Please use PR_TRUE & PR_FALSE. Not all C++ compilers support the keywords true & false. 2000-03-31 11:09:28 +00:00
mjudge%netscape.com 6ce1fbbb34 changed alot here having to do with get position. made it much faster for non-slow frames. (slow=char spacing ect) also removed some code to make the ::GetWidth call factored out so I can reuse it. selection now has a DrawSelectionIterator that spits out the next series of chars and their color ect when drawing selection. this allows us to combine many different types of selection. This also means that XOR is not used here any more. we will hook up selection colors to style shortly in the next week. 2000-03-31 07:26:07 +00:00