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

2701 Коммитов

Автор SHA1 Сообщение Дата
mjudge%netscape.com 7516fa8564 adding call to new api for initing selection 2000-05-02 03:45:01 +00:00
mjudge%netscape.com dd57ceb32d new api for limiter in selection 2000-05-02 03:44:17 +00:00
sfraser%netscape.com c43e7b559a Add null check. 2000-05-01 21:50:18 +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
hyatt%netscape.com 370c46289a Fix scrollbar stylesheet relative to ua stylesheet. 2000-05-01 07:58:07 +00:00
nisheeth%netscape.com 7e37fb4356 1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.
2000-05-01 06:58:53 +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
hyatt%netscape.com 86ac1e20c6 Adding support for other backstop style sheets. 2000-04-28 23:32:51 +00:00
rods%netscape.com 472d0be6f4 added two additional methods for capturing and dumping of reflow stats
it also now keeps diffs between dumps
2000-04-28 23:32:04 +00:00
rods%netscape.com 1a88c07953 added two additional methods for capturing and dumping of reflow stats 2000-04-28 23:31:13 +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
hyatt%netscape.com b7dff2e252 XBL Change 2000-04-27 02:11:41 +00:00
jst%netscape.com 0c513b7385 Fix crash when modifying a stylesheet through the DOM before the document is displayed. 2000-04-26 23:22:06 +00:00
evaughan%netscape.com 9b95756d1e Fixed merge error. Added rods performance code back in. 2000-04-26 21:01:57 +00:00
jst%netscape.com af8646bbb5 Landing DOM Level 2 CSS and Views interfaces and implementation. 2000-04-26 13:58:56 +00:00
akkana%netscape.com df72d780bb Backing out previous change -- wasn't ready. a=mjudge 2000-04-26 01:58:28 +00:00
mjudge%netscape.com 2cfb602409 making string conversions explicit. scc 2000-04-26 01:13:55 +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 e25d9a73e7 Backing out troy's changes to fix various UI blocker bugs. 2000-04-24 22:21:56 +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
dcone%netscape.com da4105b736 Put in the Tiling call from the RenderingContextImpl. 2000-04-24 04:36:05 +00:00
attinasi%netscape.com 255aa49d63 Fixed PseudoStyle resolution for primary style context in ReResolveStyleContext: was passing child-content when it should be passing parent-content. r=pierre 2000-04-23 03:49:19 +00:00
troy%netscape.com 9b393faa48 Changes to bring clipping inline with upcoming CSS2 errata 2000-04-23 00:56:16 +00:00
jdunn%netscape.com fe9da9312c adding newline for hp 2000-04-21 22:17:14 +00:00
anthonyd%netscape.com d49663a53e r=mjudge. adding in focus listener to docviwer. this will now disable/reenable selection on those displays that desired selection at all. 2000-04-21 21:40:28 +00:00
rods%netscape.com 21de9f3e8a Add ifdef'ed Performance Reflow Counting code 2000-04-21 14:59:47 +00:00
hyatt%netscape.com 4a0414c6e1 Tree performance improvements. 2000-04-21 08:12:13 +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
sfraser%netscape.com 831140ee06 Remove the gShellCounter printf cruft. 2000-04-20 22:57:40 +00:00
jst%netscape.com 75c2e94a05 Backing out dcones last changes since they made linux tinderbox go orange, and the toolbar wasn't properly drawn with the changes. 2000-04-20 16:22:10 +00:00
dcone%netscape.com 630efa09d1 Turned on the Fast Background Rendering. 2000-04-20 14:00:22 +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 cbf21dc468 b=26221 Fixed ConstructFrameByDisplayType() to pass in the correct parent
frame pointer when constructing a floated table
2000-04-19 04:44:16 +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
pavlov%netscape.com 8f2b015e61 remove creation code for colorpicker 2000-04-18 23:07:43 +00:00
troy%netscape.com 1dd648e53d Added "canvasFrame" frame type atom 2000-04-18 23:05:15 +00:00
syd%netscape.com 76a839c993 Fix for 36084, r=alecf,a=alecf. Put guard code around code that dereferences a context,
it was null, causing asserts, and eventually, a crash. Bug was a smoketest blocker.
2000-04-18 05:38:05 +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 fa748dfc10 Added GetIntrinsicSize() function 2000-04-15 15:49:03 +00:00
pierre%netscape.com 614a9a491c 33710 "background-color: inherit doesn't work correctly". Split the NS_STYLE_BG_PROPOGATED flag into 2 flags: NS_STYLE_BG_PROPAGATED_TO_PARENT and NS_STYLE_BG_PROPAGATED_FROM_CHILD. MapDeclarationColorInto() fetches the color from the grand-parent if PROPAGATED_TO_PARENT is set. 2000-04-15 10:38:13 +00:00
pierre%netscape.com 6bf46728ec #33244. changed the default value for empty-cells: 'hide' in quirks mode and 'show' in strict mode. 2000-04-15 03:50:48 +00:00
mjudge%netscape.com 533234a976 fixing selection speed. only copying to clipboard on mouse up 2000-04-14 23:00:30 +00:00
mjudge%netscape.com 660131b97e Pavlov beat me to this. he changed the APIS while i was editing this file 2000-04-14 11:52:13 +00:00
mjudge%netscape.com c446b89ed3 get rid of a warning on linux 2000-04-14 11:43:59 +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
mjudge%netscape.com a6cd29e49c new file changes to get working for autocopyt from selection 2000-04-14 11:15:58 +00:00
mjudge%netscape.com 9d2ab1e2fa adding in export of nsIAutoCopy.h 2000-04-14 11:15:34 +00:00
mjudge%netscape.com 8f96fd3223 not in bulid yet 2000-04-14 06:19:03 +00:00
mjudge%netscape.com 212f449ecf not in build yet. 2000-04-14 06:18:36 +00:00
pinkerton%netscape.com 7990ffae73 new clipboard interfaces for unix selection clipboard. 2000-04-14 02:52:38 +00:00
jst%netscape.com 9d31fda302 Making nsDOMAttributeMap a 'live' NamedNodeMap, removed the hashtable for the attributes since a) it caused the none-liveness and b) it was overkill, the number of attributes is usually so low so having a hashtable for them doesn't help much. 2000-04-13 23:42:52 +00:00
jst%netscape.com 5cd69c3154 Update the DOM interface to DOM Level 2, only stubs so far. 2000-04-13 21:21:02 +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
pinkerton%netscape.com d56c55a93c fix anonymous content child location to handle the case where a scroll frame may be in the way. r=hyatt. 2000-04-13 20:10:06 +00:00
ducarroz%netscape.com 245059c4ee Remove the old autocomplete widget which is now replaced by the XBL one (xpfe/components/autocomplete). R=alecf. 2000-04-13 04:50:39 +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 af97e4a182 missed another.get 2000-04-12 04:20:07 +00:00
mjudge%netscape.com bd0b4a8c70 thought this would have been caught on my machine sorry. .get added 2000-04-12 03:26:49 +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
karnaze%netscape.com 4e31ba4a93 bug 35099 - create form frame when inside table related element. a=leaf 2000-04-10 04:00:37 +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
hyatt%netscape.com aa7305bcb3 Elimination of nsIFocusableContent and improvements to tabbing r=saari 2000-04-04 23:55:31 +00:00
pnunn%netscape.com d7030dd86b bug#34444: blocker bug. Backing out changes for dcone. pnunn. 2000-04-04 20:04:40 +00:00
dcone%netscape.com 77701e6a5b Took out the code to do the Tiling.. a method in nsRenderingContext will now do this. This gives each platform
the option of tiling.. and optimizing for speed.  Windows will now be very fast for small tiles that are transparent.
2000-04-04 13:38:36 +00:00
hyatt%netscape.com 220a5faae0 Making <children> support dynamic. 2000-04-04 06:29:20 +00:00
karnaze%netscape.com 38ae2db033 prevent trees from constructing pseudo frames in some cases as did rev 1.407, due to a bug in TableIsValidCellContent. Fix the bug for mathml. 2000-04-04 04:57:08 +00:00
cls%seawood.org f6740baa20 Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287 2000-04-04 04:46:38 +00:00
karnaze%netscape.com 509f652995 bug 2479 - rewrite of table frame construction. r=troy, b=winNT,linux 2000-04-04 01:28:15 +00:00
jst%netscape.com 44d3c72ca2 Updating the DOM Attr interface to match the DOM Level 2 spec. r=waterson@netscape.com 2000-04-03 13:40:04 +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 21e503b111 1) viewmanager2 optimizations -r troy, kevin
2) box fixes for Rod's gfx listbox
3) memory leak fixes
4) box fixes in prep for grid widget
2000-04-03 03:55:38 +00:00
jst%netscape.com ae133403e9 Minor cleanup and fixing a compier warning. 2000-04-02 22:05:10 +00:00
erik%netscape.com 72dbd2f6e8 bug 30022; added Set/Get TextZoom for enlarging/reducing fonts only; also
factored some code to reduce duplication; r=pierre,troy
2000-04-02 21:52:17 +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
rods%netscape.com 13d86b3341 Initial checkin of SVG prototype code for Dean Jackson (if def'ed) 2000-04-01 22:26:38 +00:00
troy%netscape.com c02e95f57e b=25290 Changed ConstructFrameByTag() to treat FORM frames as floater
containing blocks
2000-04-01 18:47:09 +00:00
jst%netscape.com 9f4e5b9940 Updating the DOM Node interface to match the DOM Level 2 interface, only stub implemetations so far. 2000-04-01 13:31:23 +00:00
jst%netscape.com e23d0e4ac9 Changing the DOM exceptions thrown from methods on data nodes, fixes bug #16605. 2000-04-01 12:55:53 +00:00
jst%netscape.com 7df53c3963 Removing some code redundancy in the DOM Core implementations, fixing bugs #16585 and #16606. 2000-04-01 12:36:16 +00:00
cls%seawood.org fcc12321d0 HP-UX's compiler doesn't like calling delete on a void*. Use PR_Malloc & PR_Free instead. Bug #34040 r=jdunn,evaughan a=leaf 2000-04-01 08:35:40 +00:00
nisheeth%netscape.com 0111dba11b Fix for bug 15086. These changes bring us up to date with the Feb 2000 XLink Working Draft. Thanks a lot to Heikki (heikki@citec.fi) for providing these patches. 2000-04-01 00:39:15 +00:00
nisheeth%netscape.com e9badbf920 r=troy. Fix for bug 33422. The display style is set to block level for document element frames. The style was defaulting to inline for cases where an XML document did not set a block level display style on the root element. 2000-04-01 00:18:21 +00:00
rickg%netscape.com e43487c306 fixed silly string usage error 2000-03-31 10:45:55 +00:00
mjudge%netscape.com 4aa3ccc698 changing troys generated content SUB iterator with changes that he sent me personally. these will allow us to have iterators over generated tables or just plain before or after nodes. 2000-03-31 07:22:38 +00:00
mjudge%netscape.com a4bad11091 moving nsGeneratedContent stuff to new file nsGeneratedIterator. adding new bitflags for selection types for nsSelection 2000-03-31 07:17:22 +00:00
mjudge%netscape.com dc60fc89bf adding in nsGeneratedContent as new file 2000-03-31 07:15:13 +00:00
mjudge%netscape.com 772d9f433a changing bitflags for selection types. well they are bitflags now 2000-03-31 07:14:39 +00:00
mjudge%netscape.com 988739343b adding in new init methods for the new nsGeneratedContentIterator! 2000-03-31 07:14:02 +00:00
attinasi%netscape.com 1621b39d9e Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00
evaughan%netscape.com 53b00e50f0 box skinnablility changes.
-r Hyatt
2000-03-31 07:02:06 +00:00
troy%netscape.com 29c2386a5b Increase the size of the underlying arenas from 2K to 4K. After looking
at a veriety of pages that seems to be a better choice
2000-03-31 04:11:28 +00:00
attinasi%netscape.com 431a24ae53 Fixed warning from Mac compiler: no prototype for local static function. 2000-03-30 07:20:16 +00:00
attinasi%netscape.com d012c2b572 Background color for border style -moz-bg-inset and -moz-bg-outset is now obtained from the HTML element instead of nearest ancestor with non-transparent bgcolor (only in Quirks Mode). r=rods b=8524 2000-03-30 06:27:32 +00:00
jim_nance%yahoo.com dc0e139673 Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
warren%netscape.com 727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
jst%netscape.com 78e56ebbd1 Replace internal HTML Doctype API with the DOM DocumentType API, HTML documents now get a DOM DocumentType if the file contains one and the DOM DocumentType is ouput if/when the document is saved. This fixes bug #25020. 2000-03-28 23:25:26 +00:00
rbs%maths.uq.edu.au 217bec402a [#ifdef MOZ_MATHML: NOT PART OF THE DEFAULT BUILD]. Update a MathML hook for <mtable> 2000-03-28 09:32:54 +00:00
rickg%netscape.com 1d1db214c3 add null ptr check to stop crash seen in talkback 2000-03-28 01:08:36 +00:00
hyatt%netscape.com ed33c7beb6 Fix for 33526 2000-03-28 00:41:33 +00:00
akkana%netscape.com 7a61aa1ec0 Fix an entity bug for Naoki: Japanese entities weren't being correctly
pasted.  This also fixes the symptoms, but not the underlying cause,
of the html mail nbsp bug.  r=nhotta
2000-03-28 00:10:44 +00:00
rods%netscape.com 9c19444a41 Added space manaer flag to the creation of Labels.
b=33200
Reworked how and when the prefs are accessed for getting the Gfx Scrollbar prefs
they are got only once and then are cached. Potential preformance issue.
2000-03-27 22:12:42 +00:00
erik%netscape.com 8b683ddda9 lang group table has been moved to proper place under mozilla/intl;
switching calls to that API; minor change; r=none
2000-03-27 04:51:12 +00:00
scc%netscape.com 0f4a2b3d8c small changes to clients of string converting APIs 2000-03-26 10:06:21 +00:00
pierre%netscape.com 924dd819c1 #3371. Implemented css2/css3 system fonts. GFX on Windows and GTK needs to be completed. 2000-03-25 18:54:36 +00:00
morse%netscape.com c15ec9e970 fix bug 32374, block foreign images 2000-03-25 07:09:25 +00:00
hyatt%netscape.com 92b95abb62 Adding support for the <children/> element to XBL. 2000-03-25 02:18:55 +00:00
jst%netscape.com 4b601df80e Don't leak the hash table used for the attribute map (#32196). Patch from shaver, r=beard 2000-03-25 00:54:30 +00:00
slamm%netscape.com f9a4756c9a Change "struct" to "class ... { public:" to quiet a warning. 2000-03-24 21:50:40 +00:00
rods%netscape.com b96d5f84ab Checkbox construction now gets the resolved moz-checkbox style on creation.
Fieldset's block frame now gets the flags with the spacemanager set if it is being absolutely positioned.
r=kmcclusk,dcone b=32949
2000-03-24 15:48:59 +00:00
pollmann%netscape.com 7b81038eb7 Bug 32702: Rename GetHistoryState to CaptureHistoryState (as it is), r=nisheeth 2000-03-24 03:37:03 +00:00
pollmann%netscape.com 0be5605d38 Bug 32702: Rename GetHistoryState to CaptureHistoryState (as it is), and add GetHistoryState method, r=nisheeth 2000-03-24 03:36:58 +00:00
cmanske%netscape.com 175fed3e97 Optimized SelectBlockOfCells to select/unselect only those cells that really need to be. r=mjudge 2000-03-24 02:52:07 +00:00
kmcclusk%netscape.com cc8f1f34bd Offset the viewmanager in nsDocumentViewer by passing the offset to nsIViewManager::Init instead of offsetting the root view b=32161 r=attanasi@netscape.com 2000-03-23 23:50:42 +00:00
nisheeth%netscape.com a89fa8ead5 r=buster. bug 31644. FindPrimaryFrameFor() now accounts for "special" frames created when blocks are encountered within inlines. 2000-03-23 23:18:56 +00:00
troy%netscape.com d82789f57c Added generated content iterator 2000-03-23 21:05:23 +00:00
mstoltz%netscape.com 319b923a3a Changed UpdatePrincipal to AddPrincipal; it takes an input parameter now instead of an inout parameter; this is clearer. r=norris 2000-03-23 04:53:16 +00:00
cmanske%netscape.com e7d0908c04 Added support for Ctrl+Shift+mouseclick to select block of cells. Rewrote nsITableLayout::nsGetCellData() to be much more efficient, eliminating a method in the process. Implemented nsTableCellFrame::Get[Previous|Next]CellInColumn for cursor key navigation in tables. r=mjudge,karnaze. 2000-03-23 04:24:58 +00:00
troy%netscape.com e2d0184d5a Adding back changes that were backed out because they broke the Win32
clobber build. The problem building TestAttributes.exe is fixed
2000-03-23 00:34:54 +00:00
buster%netscape.com 4dc773d517 fixed optimized vs. debug build problem. 2000-03-23 00:10:26 +00:00
buster%netscape.com 1c6eca645a bug 29595 (and others)
fixes layout of pages where a single line is impacted by 2 or more floaters
r=troy
2000-03-22 23:19:10 +00:00
jst%netscape.com 2745ce2c5d Update DOMImplementation, DocumentType and DOM Error codes to match the current DOM Level 2 recommendation, also make HTML documents have a DocumentType if one is given in the file. r=joki@netscape.com 2000-03-22 22:16:14 +00:00
granrose%netscape.com 05d856bd16 backing out troy. 2000-03-22 17:28:54 +00:00
troy%netscape.com 3c95a04c10 New code that isn't being used 2000-03-22 15:15:48 +00:00
jst%netscape.com d41eb8df6f Implmentation of the DOM Level 2 DocumentType interface. Not part of the build yet. r=joki 2000-03-22 14:38:50 +00:00
troy%netscape.com 1449387194 Work-in-progress that isn't being used. Added stub for returning a content
iterator for generated content
2000-03-22 05:53:32 +00:00
dbaron%fas.harvard.edu e10bf39827 Fix leak of style contexts. r=pollmann@netscape.com 2000-03-22 02:54:26 +00:00
dbaron%fas.harvard.edu 87e19c9cef Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161. 2000-03-22 02:43:08 +00:00
cmanske%netscape.com 33b54b20e9 Removing nsRangeList.cpp -- it is replaced by nsSelection.cpp. this and previous checkin today were reviewed by mjudgensRangeList.cpp 2000-03-22 01:43:40 +00:00
akkana%netscape.com 46ace3d54b 23980: convert relative href= and src= to absolute. r=sfraser 2000-03-22 01:33:59 +00:00
jst%netscape.com 80a78d0921 Reducing the size of text nodes by 4 bytes per node. r=troy 2000-03-22 01:23:42 +00:00
cmanske%netscape.com c5f9ea22d4 Cleaning up selection: changed 'RangeList' to 'Selection', thus changing implementation class of nsIDOMSelection and nsIFrameSelection to nsSelection. File nsRangeList.cpp replaced with new nsSelection.cpp 2000-03-21 23:58:02 +00:00
rods%netscape.com 865fc222e1 the previous var wasn't being set so it went down the wrong code path when adjusting
the child list for creating the fieldset.
b=27151 r=kmcclusk
2000-03-21 21:40:23 +00:00
mkaply%us.ibm.com 38d09a352a # 24199
r= pierre@netscape.com
BiDi - ability to change the default direction of the browser
2000-03-21 15:51:59 +00:00
cmanske%netscape.com 5c29355768 Turned off debug output for table selection. r=mjudge 2000-03-21 15:40:34 +00:00
cmanske%netscape.com 01933d5726 Fixed bugs in table selection. Added improvements to facilitate row and column selection. r=mjudge 2000-03-21 06:04:02 +00:00
norris%netscape.com 0ac075877f Added UpdatePrincipal function to support multiple signed scripts in a document. r=norris 2000-03-21 04:09:58 +00:00
nisheeth%netscape.com 77b74c100d r=pollmann. Bug 30916. Content IDs are created for HTML elements created in the HTML content sink, XML content sink and dynamically via JS. The content ID counter is maintained by the document. 2000-03-21 03:25:16 +00:00
jst%netscape.com 225179ca1e Remove the last virtual fuctions from nsGenericElement, this reduces the size of most element nodes in mozilla by 4 bytes. r=troy@netscape.com,bruce@cybersight.com 2000-03-21 01:29:01 +00:00
rods%netscape.com 3e11ee0c01 Added aIsOutline to arg to RenderSize so it can do the right thing when
drawing outlines. Also got rounded outlines to work (not dashed)
Added #if for PaintOuline to control whether it paints on the inside or outside
of the frame.
b=18579 r=dcone
2000-03-18 14:41:00 +00:00
rods%netscape.com 270b0ca8dd Removed a lot of unneeded for for creating viewes for GfxList (experiment and ifdef'ed out)
Now uses GetOptionsContainer to get the frame container for adding options
needed for differences in List and GfxList
b=18895 r=kmcclusk
2000-03-18 14:25:02 +00:00
bryner%uiuc.edu f53f576a37 Fix a leak of the device context. r=bruce. 2000-03-18 04:10:13 +00:00
jst%netscape.com 7eef7a42a1 Backing out my last change since it broke the tree, sorry. 2000-03-18 03:11:52 +00:00
jst%netscape.com 14780c3d56 Removing the last virtual functions from nsGenericElement, this reduces the size of every element object by 4 bytes. r=troy@netscapce.com 2000-03-18 01:55:47 +00:00
jst%netscape.com 872a669579 Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.

dom/public/nsDOMPropEnums.h,v  - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v -  bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v  - bug 12559
2000-03-17 13:27:00 +00:00
pierre%netscape.com 4d43de09aa Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible). In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame. In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701. 2000-03-17 10:15:13 +00:00
troy%netscape.com 7242ae3451 b=31451 Made sure we only set the NS_FRAME_OUT_OF_FLOW frame state bit
if the frame is actually out of the flow
2000-03-17 05:10:37 +00:00
cmanske%netscape.com 429e85acb0 Fixed problems when dragging off a table during table selection. r=mjudge 2000-03-17 04:24:04 +00:00
buster%netscape.com af866be686 fixed VerifyReflow, an important debugging tool for the layout team
no bug number
r=troy
2000-03-17 01:50:54 +00:00
cmanske%netscape.com 0575ec9367 Fixed linux build bustage. Used '.get()' when I shouldn't have! r=mjudge 2000-03-17 00:27:43 +00:00
cmanske%netscape.com 2824049212 Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge 2000-03-16 23:45:39 +00:00
dbaron%fas.harvard.edu c046415a7a Fix a leak of a device context. r=dcone@netscape.com 2000-03-16 01:21:58 +00:00
rods%netscape.com f40f5bbc3f removed ifdef's and replaceed them with if/then/else for GFX Lists and Dropdowns,
now they can be turned on with a boolean instead. This will help with debugging later
r=dcone, b=18895
2000-03-15 15:45:29 +00:00
troy%netscape.com 4f7d1e3f2a b=24343 r=karnaze@netscape.com Changes so we properly lay out after changing
the font using the pref UI. Block and table code changed to handle
eReflowReason_StyleChange
2000-03-15 15:16:03 +00:00
troy%netscape.com 512f105fbf b=21903. Fixes a crash when absolutely positioning a form element. The
problem was no space manager was getting created for the form's frame
2000-03-15 04:38:08 +00:00
dcone%netscape.com 2cffdd24de Put in a canonical pixel scale when images are being read in for the size. This reduces
the printer images sizes considerably.  r=kmclusk.
2000-03-15 04:24:21 +00:00
hyatt%netscape.com 1c02f1ca09 Landing new progressmeter. 2000-03-15 03:16:43 +00:00
rhp%netscape.com 4e23d61267 Changes to fix many bugs including quoting style size - vcard I18N fixes - compose fixes - etc - Bug #: 12505 25610 29806 30048 30744 31207 31589 2000-03-15 01:47:36 +00:00
rods%netscape.com 7166b97e2c preparing for GFX listboxes and dropdowns. This ifdefs the creation code so I
can turn them on and off.
b=18895
2000-03-14 12:03:21 +00:00
hyatt%netscape.com f136d13288 Enhancing XBL. Making tabs boxes. Moving code from titledbutton to button. 2000-03-14 11:09:46 +00:00
troy%netscape.com c5f8fdbf16 b=24125. For INPUT elements we use value of NAME attribute as fallback
for alternate text
2000-03-14 05:30:00 +00:00
troy%netscape.com 9eb066a4eb b=29893. Pollmann had added code to keep us from crashing. I made sure
that the correct tiling behavior happened in the case where the viewport
isn't scrollable
2000-03-14 04:55:42 +00:00
buster%netscape.com abab9db3f2 bug 28553. removed pref that controlled previous fix, since that fix is good to go.
r=troy
a=rickg
2000-03-13 02:40:18 +00:00
rickg%netscape.com ffe78e83e5 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
troy%netscape.com 0c7b650a86 b=5588. Performance improvement. Avoids walking the child list
twice when inserting frames at the head of the list
2000-03-12 03:07:52 +00:00
hyatt%netscape.com 6ead515970 Improving XBL support. 2000-03-11 10:38:36 +00:00
norris%netscape.com 060e388a6b Files:
caps/idl/nsICertificatePrincipal.idl
	caps/idl/nsIPrincipal.idl
	caps/src/nsBasePrincipal.cpp
Implement the ability to manipulate multiple capabilties simultaneously.
r=mstoltz@netscape.com

Files:
	caps/src/nsCodebasePrincipal.cpp
Codebase equality should be based upon origin, not full path.
r=mstoltz@netscape.com

Files:
	caps/src/nsScriptSecurityManager.cpp
Change URI checking to deny based upon scheme rather than allow based upon
scheme for greater flexibility.
r=mstoltz@netscape.com

Files:
	dom/public/nsDOMPropEnums.h
	dom/public/nsDOMPropNames.h
	dom/src/base/nsGlobalWindow.cpp
	modules/libpref/src/init/all.js
Fix bug 20469 Seeing JS functions and global variables from arbitrary host
r=vidur@netscape.com

Files:
	dom/src/base/nsJSUtils.cpp
	dom/src/base/nsJSUtils.h
	dom/src/base/nsJSEnvironment.cpp
	dom/tools/JSStubGen.cpp
	layout/base/src/nsDocument.cpp
	layout/html/content/src/nsGenericHTMLElement.cpp
Improve performance by removing NS_WITH_SERVICE call for every DOM access.
Propagate XPCOM failure codes out properly.
r=vidur@netscape.com

Files:
	layout/html/document/src/nsFrameFrame.cpp
Fix 27387 Circumventing Same Origin security policy using setAttribute
r=vidur@netscape.com
2000-03-11 06:32:42 +00:00
pavlov%netscape.com ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
tbogard%aol.net a069a1170c ContentViewer Initialization now take an nsIWidget instead of a native window. Set status using the nsIWebBrowserChrome interface instead of the old nsIBrowserWindow interface. 2000-03-11 01:25:34 +00:00
tbogard%aol.net 00f72467b3 ContentViewer Initialization now take an nsIWidget instead of a native window. 2000-03-11 01:24:59 +00:00
buster%netscape.com d8df80eb99 bug 28553
r=troy
a=rickg
2000-03-10 01:10:44 +00:00
pollmann%netscape.com 5622a49a33 Bug 30317: Crash fix for scrolling=no, background-attachment: fixed pages r=evaughan, a=rickg 2000-03-09 05:54:58 +00:00
waqar%netscape.com f9b10b89af #=29862
r=vidur
a=jar
d=Fixes the memory leak problem with JavaScript preloading animated gifs.
2000-03-09 00:20:55 +00:00
buster%netscape.com edcec89810 fixed PDT+ bug 30738
r=troy, vidur
a=rickg
2000-03-08 05:33:15 +00:00
vidur%netscape.com 72a38d6e40 Temporary fix for bug 26926. Added state to nsPresShell to deal with the case where the ContentViewer (and ViewManager) went away before it. The ownership model should be sorted out post beta1. r=troy, a=jar 2000-03-07 00:28:33 +00:00
warren%netscape.com c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
rhp%netscape.com 2a2aea124b Just adding a new file to the tree. THIS IS NOT PART OF ANY BUILD! 2000-03-05 17:26:58 +00:00
ftang%netscape.com 024820eef8 fix 29154. r=hyatt/pollmann a=rickg replace nsISupportString/char*/ToNewCSring
with nsISupportWString/PRUnichar*/ToNewUnicode
2000-03-04 05:37:46 +00:00
buster%netscape.com 28ac469ac6 fixed bug 27161 by adding interfacs onto nsIPresShell to get/set the "subshell" for an nsIContent
r=travis
a=jar
2000-03-03 23:15:29 +00:00
alecf%netscape.com dd033ea491 fix for #29304 r=pierre a=jar
only register against the browser.* preferences that layout actually cares about, to improve startup performance
2000-03-03 22:39:31 +00:00
rods%netscape.com cf53860ce3 add call to combobox for setting the frame constructor
b=28593, r=evaughan a=jar
2000-03-03 04:30:32 +00:00
hyatt%netscape.com a84f152eec Fixing a merge conflict. Fallout from same checkin. r=travis,a=jar 2000-03-02 10:47:58 +00:00
hyatt%netscape.com d6796e3c65 XUL RadioGroup element, not used in XUL. r=ben, a=jar 2000-03-02 10:00:09 +00:00
tbogard%aol.net 4eec4fb506 nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg 2000-03-02 07:13:02 +00:00
karnaze%netscape.com fb8782b61f PDT+ bug 28341 - Destroy caption frame when outer table frame is destroyed. Add caption to outer frame rather than inner frame. r=troy, a=rickg 2000-03-02 06:09:37 +00:00
evaughan%netscape.com cf0d42fc25 bugs fixes for: 28460, 27242, 29462
-r hyatt, -a jar
2000-03-02 03:01:30 +00:00
pollmann%netscape.com 54c57adf37 Bug 28670: Move scroll methods from webshell to docshell and XUL scrollbar removal from XULDocument to here r=travis a=rickg 2000-02-29 06:51:04 +00:00
saari%netscape.com 515c3ce686 28467 fix, a=jar, r=hyatt 2000-02-26 01:02:31 +00:00
mjudge%netscape.com b54b534386 regression fix used wrong variable. compared apples to apple seeds instead of other apples. 2000-02-25 23:56:40 +00:00
erik%netscape.com 6cecf95bf9 bug 18136; changing default size for fixed width font to 13px; r=pierre;
a=rickg
2000-02-25 23:01:36 +00:00
hyatt%netscape.com 5ff8c68587 XUL Property APIs, b=26109, r=ben 2000-02-25 08:37:49 +00:00
mjudge%netscape.com c8237d3b1e adding support for new nsIDOMSelection. r=jfrancis a=jar. this is for caret appearance 2000-02-25 04:31:15 +00:00
bryner%uiuc.edu 6985354db4 Adding a new flag to the Win32 build system. Set DISABLE_TESTS=1 to skip
building in the tests directories.  Should not affect the build at all if
you do not have this environment variable.  r=leaf.
2000-02-25 04:12:40 +00:00
mjudge%netscape.com 6ed966c387 bug15384 approved pdt+ team r= patrick beard 2000-02-24 22:01:37 +00:00
norris%netscape.com d64387736b Fix 28612 META Refresh allowed in Mail/News
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar
2000-02-23 22:34:40 +00:00
pollmann%netscape.com 9a177eff73 Bug 28691/16999: Removing obsoleted code. r=harishd a=rickg 2000-02-23 21:36:29 +00:00
pollmann%netscape.com be7e4d3f51 Bug 28691: As penance, I'll fix these leaks too. r=harishd a=rickg 2000-02-23 21:32:23 +00:00
pollmann%netscape.com 90d9b37641 Bug 28691: Fix existing leak that my fix for bug 16999 hilighted. r=harishd a=rickg 2000-02-23 21:24:07 +00:00
pollmann%netscape.com 17abb23f3a Bug 14827: Removing dead code. r=harishd a=rickg 2000-02-21 02:21:38 +00:00
jdunn%netscape.com 080142580c Fix problem with NS_IF_ADDREF on member variables inside of const
member functions.  This includes removing all references to
NS_DEF_PTR and the including of nsIPtr.h

r=troy@netscape.com,dougt@netscape.com,scc@netscape.com
# 28114
a=chofmann@netscape.com
2000-02-17 23:19:18 +00:00
evaughan%netscape.com c7ba739a87 Box performance fix.
-r jevering
2000-02-16 23:00:52 +00:00
joki%netscape.com c564b74577 Fixes for bug 9544, 9552, 9558, 9561, and 13309. event handler 4x compat. and capture/bubble fixes. r:pollmann 2000-02-16 06:59:07 +00:00
buster%netscape.com 4539431ae8 bug 24411
r=troy
changed the frame constructor call for <form> to pass 0 as the flags arg.
2000-02-16 05:09:57 +00:00
mscott%netscape.com d167d60ce2 Bug #19499 --> remove some obsolete code involving mailto
urls. we can handle mailto urls just fine now. this was giving us problems if you moused over or
clicked on a http/file url that had the word "mailto" in it.
r=vidur
2000-02-16 03:28:40 +00:00
attinasi%netscape.com 91f9e59318 ReResolveStyleContext now checks for the case where a background image is no longer used, in which case it stops the load for the frame. r=buster,pierre b=27042 2000-02-16 02:49:01 +00:00
sfraser%netscape.com 5491ddfa58 Fix the document viewer command updating, give it a selection listener etc, so that commands get updated at the right time. for bug 18395. r=pinkerton 2000-02-16 01:39:30 +00:00
hyatt%netscape.com 6359374cc8 Converting trees to XBL. Boosts tree scrolling performance. 2000-02-15 09:28:28 +00:00
mscott%netscape.com 23a00a46c6 This is one of those do the right thing bugs even though I don't have a PDT+ bug for it. Travis and I noticed
today that image urls weren't properly getting added to the doc loader of the containing document. So the top
level document would report a document done notification before the document may really be done.

The fix is to pass the load cookie nsISupports object which originates from the docshell that is opening the
url down into the gfx image code instead of passing the load group down.

r=travis.
2000-02-15 04:49:32 +00:00
dbaron%fas.harvard.edu e0c71d1e53 Fix bug 15428 as suggested by VYV03354@nifty.ne.jp . Stop using 0 as the initial values for min and max of inline box contents so that lines that do not (vertically) contain their own baseline are sized correctly. Also, correctly size BR frames using their line-height (for strict-mode only).
Fix bugs 24186, 26996, and 26998 by reworking the quirks-mode line-height handling so that inline elements that do not have text as children (or meet a few other conditions that show the author wants real CSS support) will not increase the size of the line, but will be as close to their correct size as possible without enlarging the line.  This fix includes emulation of the strange Nav4/IE quirk that a block's line-height is enforced on the first line of LI elements and the last line of LI, DD, and DT elements.  Many of the changes are removing an earlier fix for 24186.

r=buster
2000-02-15 04:26:44 +00:00
dveditz%netscape.com 84688e0640 Attempting to fix nsCOMPtr .get() related bustage on Linux 2000-02-15 02:55:23 +00:00
beard%netscape.com b5072ce22c fixes nsIAtom leaks, bug # 25761, r=waterson 2000-02-15 01:17:18 +00:00
evaughan%netscape.com 5ce4b52cef bug fix for 24351, 22512
-r saari
2000-02-14 01:42:09 +00:00
hyatt%netscape.com dca01601be Making inner tree cell a box frame. Seems to fix about 10 bugs. :) 2000-02-13 09:28:51 +00:00
hyatt%netscape.com a9b8708a2c Moving previous 9701 fix out of frame constructor and into presshell. r=troy 2000-02-13 06:07:38 +00:00
mjudge%netscape.com 03236d5de7 adding new file should not be built yet. this will do no harm 2000-02-12 06:09:19 +00:00
hyatt%netscape.com 34add8f294 Fix for PDT+ bug #9701. Also fixes the crasher holding the tree closed. r=saari 2000-02-12 03:10:01 +00:00
mjudge%netscape.com 5b067e70a2 small change for bad assert... 2000-02-12 00:24:55 +00:00
nisheeth%netscape.com 6ab6755e46 r=hyatt. Partial fix for PDT+ bug 13537. Session history captures frame state now. 2000-02-11 22:54:37 +00:00
tbogard%aol.net b91c1c9cea Assert when trying to sizeToContent on subframes. It's not allowed. r=hyatt 2000-02-11 08:35:20 +00:00
vidur%netscape.com d4b67b3219 Fix for bug 9140. Area elements now have event fired for them. r=joki 2000-02-11 01:24:59 +00:00
attinasi%netscape.com d29d823f98 Updated the code to use the nsIScrollableFrame interface instead of assuming the FirstChild is the scrolled-frame. r=evaughan 2000-02-11 01:23:36 +00:00
attinasi%netscape.com 1ddf942ed0 PaintBorder and RenderSide now tell the StyleUtil function FindNonTransparentBackground to use the parent of the context to find the bgcolor in Quirks mode. r=karnaze b=8524 2000-02-11 01:23:04 +00:00
attinasi%netscape.com 2f46ba2ee2 PresShell is now observing the document always instead of just when a new PresContext is NOT created. r=troy b=25406 2000-02-11 01:21:50 +00:00
attinasi%netscape.com 254d4b2ef3 Support for enabling / Disabling the timer. r=pierre b=25406 2000-02-11 01:21:36 +00:00
attinasi%netscape.com a15ba0edf1 Enabling and Disabling the Style-Timer to bound it to the Frame Creation context. r=nisheeth b=25406 2000-02-11 01:21:05 +00:00
tbogard%aol.net 152712e118 Removed unused include. 2000-02-11 01:16:30 +00:00
troy%netscape.com f15ca67f0e b=26282 r=vidur@netscape.com Now when using the alternate content for an
image that can't be rendered we ignore everything after one of: ; # ?
2000-02-11 01:00:17 +00:00
hyatt%netscape.com c9071b6195 Fixes for bugs 24969 and 27109. 2000-02-11 00:56:41 +00:00
evaughan%netscape.com c1c4f7681f 1) Fixed freeze because of sync drawing in forms
2) Fixed fieldset blocker

-r rods, granrose
2000-02-10 21:36:28 +00:00
rods%netscape.com 88e4dcfccf turning off Gfx scrollbars for listboxes
b 27253 r=evaughan
2000-02-10 21:13:44 +00:00
attinasi%netscape.com 22e7312184 backout of accidental checkin... 2000-02-10 20:21:29 +00:00
attinasi%netscape.com 5a8bd5c7d6 Backing out the change I accidentally checked in. 2000-02-10 19:47:36 +00:00
attinasi%netscape.com b57e81919a PaintBorder and RenderSide now tell the StyleUtil function FindNonTransparentBackground to use the parent of the context to find the bgcolor in Quirks mode. r=karnaze b=8524 2000-02-10 19:22:00 +00:00
attinasi%netscape.com fee84adb65 Support for enabling / Disabling the timer. r=pierre b=25406 2000-02-10 19:21:55 +00:00
mjudge%netscape.com 0854f001ce adding remove range for table selection and for completeness. 26460 r=cmanske 2000-02-10 09:17:02 +00:00
nisheeth%netscape.com f719f7a927 r=vidur. Fix for bug . We now revoke pending reflow events in the pres shell's destructor. 2000-02-10 07:27:43 +00:00
mjudge%netscape.com 5201749c56 this was preliminary checkin for later feature. removing offensive line of code for linux. adding back the way it was. I will continue to add this content however but it will be released when not used by nsCOMPtr 2000-02-10 05:20:55 +00:00
mjudge%netscape.com b32999a1de big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened. 2000-02-10 04:35:51 +00:00
evaughan%netscape.com b361107ebe 1) implememted box reflow coelescing.
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543

-r hyatt, troy, rod
2000-02-09 22:02:40 +00:00
kmcclusk%netscape.com cd6f5d237b Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
jst%citec.fi 48f5ed17fa Make context menus work on XML pages (#15713). r=vidur@netscape.com,joki@netscape.com 2000-02-09 13:58:26 +00:00
tbogard%aol.net 7f0033c302 SizeToContent now works properly within the new DocShell API world. r=hyatt 2000-02-08 15:49:14 +00:00
rods%netscape.com aa15488556 fixes memory leak.
b 26795 r=beard
2000-02-08 13:17:50 +00:00
joki%netscape.com 3480787577 Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt 2000-02-08 02:05:57 +00:00
vidur%netscape.com 0970222b53 Optimize the case for container content with only a single child (the most common case). Now we only allocate a nsVoidArray if there's more than one child. r=troy 2000-02-08 01:12:59 +00:00
rbs%maths.uq.edu.au b45922c8b1 [#ifdef MATHML]. Hook for the <maction> tag 2000-02-07 08:55:51 +00:00
pavlov%netscape.com f3d78aee1d aww, I fixed my favorite bug. The "interesting" toolbar contest is now over. (bug 20496) r=mcafee,large_penguin 2000-02-04 23:14:38 +00:00
karnaze%netscape.com 3d970cf36e bug 23994 get the correct child list for a caption frame, r=attinasi 2000-02-04 03:16:47 +00:00
pavlov%netscape.com d43191b9c1 remove the non-needed push/pop states r=sfraser 2000-02-04 03:03:08 +00:00
dbaron%fas.harvard.edu bf2b8a41ed Event Target Debugging (b=18175), a debugging feature to help with fixing bugs where events are going to the wrong elements. It shows (like Visual Debugging) which frame is receiving events, and one can therefore move the mouse over the page to see what frame gets events. All the code is #ifdef NS_DEBUG. However, it is not yet hooked up to the viewer menu (to be checked in later).
r=joki
2000-02-03 02:49:58 +00:00
troy%netscape.com 792c9c1053 r=vidur@netscape.com Performance. Added NS_FRAME_HAS_VIEW frame state flag
so we can quickly tell whether the frame has an associated view
2000-02-03 00:51:37 +00:00
vidur%netscape.com f77571182e Fix for bug 24306. The DocumentViewer now cleans up dangling webshell references in the PresContext. nsGenericElement::TriggerLink deals with a nonexistent handler (it might have been deleted already as part of event processing). r=buster, joki 2000-02-02 23:40:22 +00:00
valeski%netscape.com 0eefca1c2f r=norris. we now pass url creation failure's into the onclick handers 2000-02-02 23:02:59 +00:00
pp%ludusdesign.com 58065dda04 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
nisheeth%netscape.com ac04e405d8 Enabling async reflow after the document has loaded. 2000-02-02 00:19:52 +00:00
waterson%netscape.com a26daa2f0d Bugs 20677, 23905. Change nsXULElement to implement nsIContent like nsGenericElement and nsGenericHTMLElement. Specifically, do 'shallow' SetDocument() calls in AppendChildTo(), InsertChildAt() and ReplaceChildAt() methods. Change nsXULDocument to leave newly create element's mDocument as null (so 'null mDocument' means 'this element is not currently in the document'. Fix callers to ensure that a deep SetDocument() is made where necessary. r=hyatt 2000-02-01 22:57:36 +00:00
dcone%netscape.com 360be95564 fixed backgrounds. r=rods 2000-02-01 16:03:13 +00:00
sfraser%netscape.com dc37943ae3 Fix for 25952, don't crash when doing Open Location from composer window. nsPresState was using a null mProperties table. r=beard 2000-02-01 02:14:29 +00:00
sfraser%netscape.com 4cdaf734cf Avoid crashing when mousing over links in teh composer window. r=brade 2000-02-01 00:00:17 +00:00
rods%netscape.com bbf1942149 removing the creation of native widget and replacing them with asserts (for now)
b 17027 r kmccluck
2000-01-31 22:46:55 +00:00
attinasi%netscape.com e88987eb6d Sorry - typo in change... 2000-01-31 14:26:25 +00:00
attinasi%netscape.com 111ba4ec67 Changed the setting of PrimaryFrame for elements wrapped in a GfxScrollFrame,
except for the DocElement which still has the primary frame set to the scrolledframe.
Fixed compiler warning around NS_NewFiedlSetFrame(...).
r=evaughan b=23803
2000-01-31 14:04:41 +00:00
rbs%maths.uq.edu.au 838e028417 [#ifdef MATHML]. Hook for the ms tag 2000-01-30 23:33:38 +00:00
scc%netscape.com 7ae82df9e9 |nsFrameIterator::QueryInterface| neglects to handle |nsIBidirectionalEnumerator| ... replacing hand-rolled QI with the macro to fix. r=pinkerton 2000-01-29 19:59:53 +00:00
vidur%netscape.com 5dff43a188 Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann 2000-01-29 00:34:07 +00:00
vidur%netscape.com e8157b30cb Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann 2000-01-28 23:43:12 +00:00
sfraser%netscape.com 667a9319d7 Fix for crash loading bugzilla pages (infinite reflow recursion). by vidur, r=smfr, a=leaf 2000-01-28 22:58:17 +00:00
rods%netscape.com c56fe2a751 when an option contained a comment node and and an attr was unset case a
WipeContainingBlock to be called. This was because the undisplayed node had a psuedo
style that wasn't being properly reolved to this code thought the comment was now visible
instead of being hidden.
b=none r=pierre,attinasi
2000-01-28 15:03:00 +00:00
warren%netscape.com 20da4f3233 Fix to propagate failure from MakeAbsolute to DOM event handler. r=vidur,joki 2000-01-28 06:55:27 +00:00
karnaze%netscape.com bce1929fcf bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.
2000-01-28 02:19:45 +00:00
nisheeth%netscape.com 44c1cfd98b Fix for bug 10818. r=troy. Add reflow batching APIs to the pres shell. 2000-01-28 00:48:02 +00:00
kin%netscape.com b8e9916823 Fix for bug #25259: [Regression]Cannot enter text in Composer
Backed out attinasi@netscape.com's changes from revision 1.337.
a=leaf@netscape.com
2000-01-27 20:21:28 +00:00
rbs%maths.uq.edu.au c36d169e2c [#ifdef MATHML]. Hook for the mspace tag 2000-01-27 12:28:41 +00:00
vidur%netscape.com 42cdaa322f Fixed bug 16609. RemoveNamedItem now returns the correct error code if the attribute doesn't exist. r=pollmann 2000-01-27 05:17:11 +00:00
vidur%netscape.com 52b312047c Fix for bugs 25082 and 25084. Range::SetStartBefore, etc. need to return an error for a null sibling. Range::createContextualFragment needed to allow for a null document. r=pollmann 2000-01-27 02:51:51 +00:00
attinasi%netscape.com 85ed4c3d57 Setting GfxScrollFrame as the PrimaryFrame for scrolled content instead of the ScrollPortFrame. Also fixed some spots that were not correctly getting at the scrolled frame from the PrimaryFrame. b=23803 r=evaughan 2000-01-27 02:19:12 +00:00
attinasi%netscape.com d6004947d4 Minor reformatting and some comments added. b=none r=none 2000-01-27 02:17:04 +00:00
kmcclusk%netscape.com eeeb109f4c Added support for widgetless viewmanager. Changed code pattern that assumed the root view
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com
2000-01-26 23:04:40 +00:00
harishd%netscape.com 22ce02da97 Fix for Bug 24738 - Restricting DOCTYPE to html document only.
r=pollmann
2000-01-26 22:57:18 +00:00
norris%netscape.com 7ec9655d07 Fix 23227 Document object vulnerability
r=mstoltz
2000-01-26 15:33:57 +00:00
dcone%netscape.com e31204f271 support for regression testing. r=rods 2000-01-26 15:14:41 +00:00
rods%netscape.com 970f05bca6 impls the new flag to only scroll when not visible
b 18649 r=troy
2000-01-25 20:36:24 +00:00
nisheeth%netscape.com 9c6617b147 r=vidur. Add support for a new pref "layout.reflow.async.afterDocLoad" that enables async reflow in the pres shell only after the document is done loading. Cleaned up ExitReflowLock() so that it uses preferences to decide whether to do async reflow, not a parameter. 2000-01-25 16:00:44 +00:00
rods%netscape.com d770d65d07 Added "const" infront of the arg for SetDefaultFont and SetDefaultFixedFont
r=pierre b=905
2000-01-25 14:33:03 +00:00
rods%netscape.com f40d94ae94 Added new flag for scrolling a frame if it isn't visible
r=troy b=18649
2000-01-25 14:31:41 +00:00
hyatt%netscape.com 0dfb94bf0a Fixes for bugs: 18193, 13971, 23440, 18444, 21462, 21818, 22619, 23498, 24081, and 21972. r=just about everybody. 2000-01-25 06:35:27 +00:00