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

2681 Коммитов

Автор SHA1 Сообщение Дата
akkana%netscape.com 39a76668ca 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 d16b7355c7 1) StyleChange coelescing
2) Warning fixes
3) Table fixes
2000-04-25 07:10:48 +00:00
troy%netscape.com 8b0eb04e08 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 2426cb03a2 Backing out troy's changes to fix various UI blocker bugs. 2000-04-24 22:21:56 +00:00
putterman%netscape.com af52293cd0 Backing out troy's changes to fix various UI blocker bugs. 2000-04-24 22:15:55 +00:00
joki%netscape.com 3851e31b9f 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 6e3ff0c510 Put in the Tiling call from the RenderingContextImpl. 2000-04-24 04:36:05 +00:00
attinasi%netscape.com 6c78f3bd54 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 73fc3dde30 Changes to bring clipping inline with upcoming CSS2 errata 2000-04-23 00:56:16 +00:00
jdunn%netscape.com 97a831afcb adding newline for hp 2000-04-21 22:17:14 +00:00
anthonyd%netscape.com 745cf02967 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 9d45d84767 Add ifdef'ed Performance Reflow Counting code 2000-04-21 14:59:47 +00:00
hyatt%netscape.com 30397c4972 Tree performance improvements. 2000-04-21 08:12:13 +00:00
pierre%netscape.com ba9958df6e Implemented i18n list-style-types. Thanks to bakibon@yahoo.com. 2000-04-21 08:05:29 +00:00
anthonyd%netscape.com 05840e5f32 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 a041c66823 Remove the gShellCounter printf cruft. 2000-04-20 22:57:40 +00:00
jst%netscape.com 3169f26b01 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 0d23b505e9 Turned on the Fast Background Rendering. 2000-04-20 14:00:22 +00:00
rods%netscape.com 97debdff68 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 2ad7174d88 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 5534d7ffa5 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 e58ca3cc26 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 aba9f144cd remove creation code for colorpicker 2000-04-18 23:07:43 +00:00
troy%netscape.com ba4fb482a9 Added "canvasFrame" frame type atom 2000-04-18 23:05:15 +00:00
syd%netscape.com 1d8095c470 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 2fd6bc2c33 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 ca2faa7f58 making string conversions explicit 2000-04-17 10:28:55 +00:00
nisheeth%netscape.com ae1909623b 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 8624ce5d67 making string conversions explicit 2000-04-16 11:19:26 +00:00
troy%netscape.com ff569f2f21 New rules for absolute positioning 2000-04-16 04:07:02 +00:00
scc%netscape.com c38395df69 making string conversions explicit 2000-04-15 21:18:29 +00:00
scc%netscape.com 927265130c making string conversions explicit 2000-04-15 20:15:37 +00:00
troy%netscape.com 668fac7d79 Added GetIntrinsicSize() function 2000-04-15 15:49:03 +00:00
pierre%netscape.com 38c86ad47a 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 a6156d11f5 #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 4f36050dbc fixing selection speed. only copying to clipboard on mouse up 2000-04-14 23:00:30 +00:00
mjudge%netscape.com 245fc5ff42 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 007532285b get rid of a warning on linux 2000-04-14 11:43:59 +00:00
mjudge%netscape.com dd0979f114 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 f2a2473a82 new file changes to get working for autocopyt from selection 2000-04-14 11:15:58 +00:00
mjudge%netscape.com c0e8e0ff4a adding in export of nsIAutoCopy.h 2000-04-14 11:15:34 +00:00
mjudge%netscape.com e09528eec5 not in bulid yet 2000-04-14 06:19:03 +00:00
mjudge%netscape.com e30463aaad not in build yet. 2000-04-14 06:18:36 +00:00
pinkerton%netscape.com a08bd44ab6 new clipboard interfaces for unix selection clipboard. 2000-04-14 02:52:38 +00:00
jst%netscape.com d779768929 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 2c4d540f7a Update the DOM interface to DOM Level 2, only stubs so far. 2000-04-13 21:21:02 +00:00
mjudge%netscape.com 949cea5712 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 837273571e 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 5fe7f03696 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 fde996376c 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 f401e387ea missed another.get 2000-04-12 04:20:07 +00:00
mjudge%netscape.com 8420dbc746 thought this would have been caught on my machine sorry. .get added 2000-04-12 03:26:49 +00:00
mjudge%netscape.com 3ad06c4f40 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 87b5647bbb bug 35099 - create form frame when inside table related element. a=leaf 2000-04-10 04:00:37 +00:00
evaughan%netscape.com 334dc89adc 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 537541b987 Elimination of nsIFocusableContent and improvements to tabbing r=saari 2000-04-04 23:55:31 +00:00
pnunn%netscape.com 5048ba70dc bug#34444: blocker bug. Backing out changes for dcone. pnunn. 2000-04-04 20:04:40 +00:00
dcone%netscape.com 5bec8cffbd 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 8eb821021a Making <children> support dynamic. 2000-04-04 06:29:20 +00:00
karnaze%netscape.com d30b924d36 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 57978e5c23 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 136e7869d3 bug 2479 - rewrite of table frame construction. r=troy, b=winNT,linux 2000-04-04 01:28:15 +00:00
jst%netscape.com aebdfd63a7 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 953490ff20 making string conversions explicit 2000-04-03 11:39:09 +00:00
scc%netscape.com be4311c49a making string conversions explicit 2000-04-03 11:20:35 +00:00
evaughan%netscape.com 36425cfe40 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 9f88f0ed6f Minor cleanup and fixing a compier warning. 2000-04-02 22:05:10 +00:00
erik%netscape.com 3d1abdc603 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 4f1817faa3 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 24577d0b2d Initial checkin of SVG prototype code for Dean Jackson (if def'ed) 2000-04-01 22:26:38 +00:00
troy%netscape.com a0f180178c b=25290 Changed ConstructFrameByTag() to treat FORM frames as floater
containing blocks
2000-04-01 18:47:09 +00:00
jst%netscape.com 5fdb266f31 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 3c83b6aaa7 Changing the DOM exceptions thrown from methods on data nodes, fixes bug #16605. 2000-04-01 12:55:53 +00:00
jst%netscape.com 52b98a1e56 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 516b741bfe 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 db554bcdd5 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 317f0714d3 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 1fce5aeb4f fixed silly string usage error 2000-03-31 10:45:55 +00:00
mjudge%netscape.com 80449e4b8c 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 a471fdc5e3 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 0aa549340e adding in nsGeneratedContent as new file 2000-03-31 07:15:13 +00:00
mjudge%netscape.com 774b479d38 changing bitflags for selection types. well they are bitflags now 2000-03-31 07:14:39 +00:00
mjudge%netscape.com ba197c0a18 adding in new init methods for the new nsGeneratedContentIterator! 2000-03-31 07:14:02 +00:00
attinasi%netscape.com f435083f78 Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00
evaughan%netscape.com 4891539d50 box skinnablility changes.
-r Hyatt
2000-03-31 07:02:06 +00:00
troy%netscape.com 286dbc1989 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 fb87ca8ace Fixed warning from Mac compiler: no prototype for local static function. 2000-03-30 07:20:16 +00:00
attinasi%netscape.com f1d1b4fc28 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 005e33f06e 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 d60b12b153 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 6eeedef061 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 fa6f54e547 [#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 90abf06a10 add null ptr check to stop crash seen in talkback 2000-03-28 01:08:36 +00:00
hyatt%netscape.com 87a8fb2806 Fix for 33526 2000-03-28 00:41:33 +00:00
akkana%netscape.com 9e4f4dc539 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 606d722963 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 3c0d5e4027 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 9c2f6dad62 small changes to clients of string converting APIs 2000-03-26 10:06:21 +00:00
pierre%netscape.com c2c59a4b6f #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 37b74b183b fix bug 32374, block foreign images 2000-03-25 07:09:25 +00:00
hyatt%netscape.com 9bce2f9996 Adding support for the <children/> element to XBL. 2000-03-25 02:18:55 +00:00
jst%netscape.com 7b2d17ca96 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 87072d74d3 Change "struct" to "class ... { public:" to quiet a warning. 2000-03-24 21:50:40 +00:00
rods%netscape.com 643cbc660f 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 0f509a3a7d Bug 32702: Rename GetHistoryState to CaptureHistoryState (as it is), r=nisheeth 2000-03-24 03:37:03 +00:00
pollmann%netscape.com f177f98edc 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 b1c6615b67 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 b7dfa4f7db 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 fcc59794fa 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 d553b8d821 Added generated content iterator 2000-03-23 21:05:23 +00:00
mstoltz%netscape.com d63fb120a5 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 4771f69c44 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 747997c224 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 1196495900 fixed optimized vs. debug build problem. 2000-03-23 00:10:26 +00:00
buster%netscape.com 69807e3b4b 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 fb0a85bfac 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 8e0370139d backing out troy. 2000-03-22 17:28:54 +00:00
troy%netscape.com d342b8daf0 New code that isn't being used 2000-03-22 15:15:48 +00:00
jst%netscape.com 87479828ed 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 4068500118 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 e110e26f60 Fix leak of style contexts. r=pollmann@netscape.com 2000-03-22 02:54:26 +00:00
dbaron%fas.harvard.edu fd5dc605d2 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 d61c398e65 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 5b2ce19ca0 23980: convert relative href= and src= to absolute. r=sfraser 2000-03-22 01:33:59 +00:00
jst%netscape.com 053a38dec3 Reducing the size of text nodes by 4 bytes per node. r=troy 2000-03-22 01:23:42 +00:00
cmanske%netscape.com a5bf0eee30 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 47e34f9c3f 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 95df8f9115 # 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 ffb4d34084 Turned off debug output for table selection. r=mjudge 2000-03-21 15:40:34 +00:00
cmanske%netscape.com 89f6311468 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 9bc42a40c5 Added UpdatePrincipal function to support multiple signed scripts in a document. r=norris 2000-03-21 04:09:58 +00:00
nisheeth%netscape.com e90cbb686f 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 f3f0c75c8b 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 bec6539714 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 64f13a7d8b 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 c3c4832958 Fix a leak of the device context. r=bruce. 2000-03-18 04:10:13 +00:00
jst%netscape.com af7f00849e Backing out my last change since it broke the tree, sorry. 2000-03-18 03:11:52 +00:00
jst%netscape.com b91323399c 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 b768001187 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 4b5db8f52f 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 a6b5cdb26c 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 39217c44b6 Fixed problems when dragging off a table during table selection. r=mjudge 2000-03-17 04:24:04 +00:00
buster%netscape.com 5b0725884e 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 ee18867646 Fixed linux build bustage. Used '.get()' when I shouldn't have! r=mjudge 2000-03-17 00:27:43 +00:00
cmanske%netscape.com ba3457173e 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 2a01a6ed63 Fix a leak of a device context. r=dcone@netscape.com 2000-03-16 01:21:58 +00:00
rods%netscape.com 0823c92935 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 5386fb954a 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 f903c2a88c 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 b2a2a91063 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 7e9ae84f23 Landing new progressmeter. 2000-03-15 03:16:43 +00:00
rhp%netscape.com 77ad4f848b 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 1b1bb591ab 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 2449b50b90 Enhancing XBL. Making tabs boxes. Moving code from titledbutton to button. 2000-03-14 11:09:46 +00:00
troy%netscape.com f2d178ca1c 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 add95c59d5 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 80aac37961 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 4791ab3e8f removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
troy%netscape.com 532c36edeb 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 c30fb1bab0 Improving XBL support. 2000-03-11 10:38:36 +00:00
norris%netscape.com b06e55722c 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 33ce2d4e90 changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
tbogard%aol.net 330b688b8e 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 8dec60b884 ContentViewer Initialization now take an nsIWidget instead of a native window. 2000-03-11 01:24:59 +00:00
buster%netscape.com 875c02f686 bug 28553
r=troy
a=rickg
2000-03-10 01:10:44 +00:00
pollmann%netscape.com 95bc28d7d0 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 3f00c5ce5c #=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 e39b0d094c fixed PDT+ bug 30738
r=troy, vidur
a=rickg
2000-03-08 05:33:15 +00:00
vidur%netscape.com d2095bbc2b 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 7e37f4f478 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 6b6de2380a 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 f9aeb6ce83 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 61ad5d5127 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 e8d62422d6 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 6769208b97 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 79bf5f5c34 Fixing a merge conflict. Fallout from same checkin. r=travis,a=jar 2000-03-02 10:47:58 +00:00
hyatt%netscape.com daf0f13722 XUL RadioGroup element, not used in XUL. r=ben, a=jar 2000-03-02 10:00:09 +00:00
tbogard%aol.net 5c166f4fd5 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 695014b946 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 d2012fba27 bugs fixes for: 28460, 27242, 29462
-r hyatt, -a jar
2000-03-02 03:01:30 +00:00
pollmann%netscape.com 4f12cda18b 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 d88605b116 28467 fix, a=jar, r=hyatt 2000-02-26 01:02:31 +00:00
mjudge%netscape.com f223c0f551 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 0437648bbd 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 c5a3f61f35 XUL Property APIs, b=26109, r=ben 2000-02-25 08:37:49 +00:00
mjudge%netscape.com 81c805155c 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 bbfe27364b 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 106ee1603a bug15384 approved pdt+ team r= patrick beard 2000-02-24 22:01:37 +00:00
norris%netscape.com 3d5f67908e 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 eac62b2f62 Bug 28691/16999: Removing obsoleted code. r=harishd a=rickg 2000-02-23 21:36:29 +00:00
pollmann%netscape.com 9553438184 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 540a6cfd37 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 de48cfb517 Bug 14827: Removing dead code. r=harishd a=rickg 2000-02-21 02:21:38 +00:00
jdunn%netscape.com 79a31a4d59 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 846d568bf0 Box performance fix.
-r jevering
2000-02-16 23:00:52 +00:00
joki%netscape.com 4596efac68 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 5a83ccf42b 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 4ada318a65 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 bc9e08c335 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 6ff0e90ae4 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 8360743515 Converting trees to XBL. Boosts tree scrolling performance. 2000-02-15 09:28:28 +00:00
mscott%netscape.com c3129824b5 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 7654eb97da 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 e454fa6cf6 Attempting to fix nsCOMPtr .get() related bustage on Linux 2000-02-15 02:55:23 +00:00
beard%netscape.com 62d2e3ecc6 fixes nsIAtom leaks, bug # 25761, r=waterson 2000-02-15 01:17:18 +00:00
evaughan%netscape.com 6025945d69 bug fix for 24351, 22512
-r saari
2000-02-14 01:42:09 +00:00
hyatt%netscape.com 1b65619276 Making inner tree cell a box frame. Seems to fix about 10 bugs. :) 2000-02-13 09:28:51 +00:00
hyatt%netscape.com dd26a933e6 Moving previous 9701 fix out of frame constructor and into presshell. r=troy 2000-02-13 06:07:38 +00:00
mjudge%netscape.com e2bd1c1f55 adding new file should not be built yet. this will do no harm 2000-02-12 06:09:19 +00:00
hyatt%netscape.com 8646455690 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 e1d8c0ef7f small change for bad assert... 2000-02-12 00:24:55 +00:00
nisheeth%netscape.com 9ded4b4e49 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 5e32625591 Assert when trying to sizeToContent on subframes. It's not allowed. r=hyatt 2000-02-11 08:35:20 +00:00
vidur%netscape.com 306c814879 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 e4ed1c8f1d 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 4dca3d4376 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 bab15315db 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 39839d0450 Support for enabling / Disabling the timer. r=pierre b=25406 2000-02-11 01:21:36 +00:00
attinasi%netscape.com 2c12eba1de 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 c97f5db5b2 Removed unused include. 2000-02-11 01:16:30 +00:00
troy%netscape.com de64812b30 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 6db260e802 Fixes for bugs 24969 and 27109. 2000-02-11 00:56:41 +00:00
evaughan%netscape.com b230de42c8 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 66d85bba59 turning off Gfx scrollbars for listboxes
b 27253 r=evaughan
2000-02-10 21:13:44 +00:00
attinasi%netscape.com 983c960bc3 backout of accidental checkin... 2000-02-10 20:21:29 +00:00
attinasi%netscape.com c928260026 Backing out the change I accidentally checked in. 2000-02-10 19:47:36 +00:00
attinasi%netscape.com 720dc524d2 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 11accf56e4 Support for enabling / Disabling the timer. r=pierre b=25406 2000-02-10 19:21:55 +00:00
mjudge%netscape.com a6c152c8ec adding remove range for table selection and for completeness. 26460 r=cmanske 2000-02-10 09:17:02 +00:00
nisheeth%netscape.com 6db3ff3ced 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 f07ef6e176 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 a27771d4f5 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 f71ee84662 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 4d12d19a42 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 fcc693c42f 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 36870eea40 SizeToContent now works properly within the new DocShell API world. r=hyatt 2000-02-08 15:49:14 +00:00
rods%netscape.com e104ee2757 fixes memory leak.
b 26795 r=beard
2000-02-08 13:17:50 +00:00
joki%netscape.com b7846d75d9 Adding getPreventDefault method to events and fixing its propagation through content. r:hyatt 2000-02-08 02:05:57 +00:00
vidur%netscape.com 1b3b2a8670 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 0d5a8124b3 [#ifdef MATHML]. Hook for the <maction> tag 2000-02-07 08:55:51 +00:00
pavlov%netscape.com 06e8dc9d3b 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 3003596810 bug 23994 get the correct child list for a caption frame, r=attinasi 2000-02-04 03:16:47 +00:00
pavlov%netscape.com 34fb41b80b remove the non-needed push/pop states r=sfraser 2000-02-04 03:03:08 +00:00
dbaron%fas.harvard.edu 2d313e91ec 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 eeed59e5ff 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 f091f8b9ab 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 e2aad556ef r=norris. we now pass url creation failure's into the onclick handers 2000-02-02 23:02:59 +00:00
pp%ludusdesign.com 43d7ba4273 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
nisheeth%netscape.com 7065652faa Enabling async reflow after the document has loaded. 2000-02-02 00:19:52 +00:00
waterson%netscape.com c02a1bd063 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 c878887012 fixed backgrounds. r=rods 2000-02-01 16:03:13 +00:00
sfraser%netscape.com 520008108e 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 1600a747cc Avoid crashing when mousing over links in teh composer window. r=brade 2000-02-01 00:00:17 +00:00
rods%netscape.com b9e710dd6b 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 d5cfee006d Sorry - typo in change... 2000-01-31 14:26:25 +00:00
attinasi%netscape.com 899d8d2a27 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 be2639277c [#ifdef MATHML]. Hook for the ms tag 2000-01-30 23:33:38 +00:00
scc%netscape.com ef181b05f8 |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 fe4e5e294c 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 fa580e6551 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 26912d7426 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 f9109408e6 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 f8b1c9d37f Fix to propagate failure from MakeAbsolute to DOM event handler. r=vidur,joki 2000-01-28 06:55:27 +00:00
karnaze%netscape.com d7b72a10f0 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 b24ce89407 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 d7ff3ca24d 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 e5241940fa [#ifdef MATHML]. Hook for the mspace tag 2000-01-27 12:28:41 +00:00
vidur%netscape.com 13e3a7871d 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 6a5ccaa020 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 4956d9de31 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 385205ef51 Minor reformatting and some comments added. b=none r=none 2000-01-27 02:17:04 +00:00
kmcclusk%netscape.com dc23d344e1 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 33831df359 Fix for Bug 24738 - Restricting DOCTYPE to html document only.
r=pollmann
2000-01-26 22:57:18 +00:00
norris%netscape.com e7f484f030 Fix 23227 Document object vulnerability
r=mstoltz
2000-01-26 15:33:57 +00:00
dcone%netscape.com b0fee5d1bd support for regression testing. r=rods 2000-01-26 15:14:41 +00:00
rods%netscape.com c8acdc9e8c 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 e468aef1ea 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 b90aa46ba0 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 0d40a139c3 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 0f660e6f84 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
nisheeth%netscape.com da2abff68d r=Vidur. Always default mDocumentIsLoading to PR_TRUE for now. This stops us from crashing when we hit backspace in the editor. 2000-01-24 19:11:02 +00:00
pierre%netscape.com 8d74811b10 Bug 24676 ("Need -moz-outline-radius feature"). Added the 'outline_radius' similarly to the 'border_radius'. 2000-01-24 11:19:55 +00:00
pierre%netscape.com 65054c6b32 9809 "Dynamic changes of outline properties aren't repainted". Generate a reflow when the outline changes. 2000-01-24 08:16:54 +00:00
nisheeth%netscape.com 71218baaf6 Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me. 2000-01-24 06:43:15 +00:00
norris%netscape.com e753eaa792 Files:
caps/include/nsScriptSecurityManager.h
	caps/src/nsScriptSecurityManager.cpp
	modules/libpref/src/init/all.js
Fix
24565 nsScriptSecurityManager::GetSecurityLevel() is a performance
24567 re-write DOM glue security checks to avoid NS_WITH_SERVICE()
r=waterson

Files:
	dom/src/base/nsGlobalWindow.cpp
	layout/base/src/nsDocument.cpp
	layout/base/src/nsGenericElement.cpp
Fix assertion failure for 1-character property names.


Files:
	dom/src/jsurl/nsJSProtocolHandler.cpp
	webshell/src/nsDocLoader.cpp
Fix 18653 "javascript:" URLs cross windows problems (probably regressi
r=nisheeth

Files:
	layout/events/src/nsEventListenerManager.cpp
Fix
23834 document.onkeypress allows sniffing keystrokes
24152 document.onclick shows links from other window
r=joki
2000-01-23 04:23:14 +00:00
troy%netscape.com 73a3709284 b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
michael.lowe%bigfoot.com 3326c2959e Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan 2000-01-21 21:56:09 +00:00
erik%netscape.com f318b4aca9 bug 24355; Fixed Width Font too large in documents with text fields,
e.g. Bugzilla; going back to the old Variable bigger than Fixed way;
r=ftang; a=chofmann
2000-01-20 01:20:11 +00:00
scc%netscape.com 5c3b4478ed Must use |GetEnumerator|; can't QI a selection to get the enumerator. Fixes bug #24354. Also fixes a leak in the same routine. r=buster, a={chofmann, brendan} 2000-01-19 22:56:25 +00:00
nisheeth%netscape.com 762fd5b61c r=troy. Changed block, inline, and text frames to call the parent's ReflowDirtyChild() method instead of generating reflow commands. 2000-01-19 03:58:05 +00:00
hyatt%netscape.com 1483c11c36 Adding an interface for the creation of elements. r=waterson 2000-01-19 03:09:12 +00:00
scc%netscape.com bde5f1a9a0 OK, mjudge and I have both looked, and we think no callers remain that |QueryInterface| to get an enumerator. Everyone has been fixed to call |GetEnumerator| ... but just in case, we added an assert to find any stragglers. If this assert fires, mjudge or I need to know. bug=16543; r=mjudge 2000-01-19 01:42:54 +00:00
sfraser%netscape.com 9588dc9c47 More of the fix for 14026 -- hook up Select All in the browser windows's controller, and general tidyup. r=saari 2000-01-18 21:06:10 +00:00
sfraser%netscape.com 6b03d0450c Fix to account for the fact that nsISupportsArray returns PRBools for some inteface methods. r=akkana, jfrancis. 2000-01-18 21:02:12 +00:00
attinasi%netscape.com 1c20a6a80b Passing NS_BLOCK_SPACE_MGR for abs. positioned Fieldsets. Fixes bug 23611. r=rods,pierre 2000-01-18 15:40:25 +00:00
bryner%uiuc.edu 694f805643 Make trees capable of scrolling by full pages with the mouse wheel.
General cleanup and additions to mousewheel debugging code (which is
#ifdef DEBUG_scroll).  r=hyatt.
2000-01-16 05:30:49 +00:00
erik%netscape.com 15cc55cd8c bug 8801; use same default size for all generics (serif, monospace, etc);
set default size to 16px; allow pref to be specified in either px or pt;
as discussed in mozilla.layout; r=ftang
2000-01-15 16:30:13 +00:00
jfrancis%netscape.com 570669defd speeding up selection by directly creating ranges, rather than going through CreateInstance(). See bug 19273. 2000-01-15 14:52:24 +00:00
danm%netscape.com 86d8d3bea8 adding a parameter to nsIBrowserWindow::SizeWindowTo. part of bug 15555. r:hyatt 2000-01-15 02:30:34 +00:00
tao%netscape.com 36794ca76e bug 23400: Need to expose api GetDocumentCharacterSet() to JS. r=vidur. 2000-01-15 02:01:05 +00:00