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

6964 Коммитов

Автор SHA1 Сообщение Дата
aaronl%netscape.com 24638c0863 Bug 142549. After find, spacebar doesn't scroll page. r=bryner, sr=kin. Bug 102679. Composer loses focus after image delete. r=kyle, sr=kin 2002-06-25 22:57:48 +00:00
rods%netscape.com 545f2640f9 We do not want to skip page ejects when printing the selection
BUg 153964 r=dcone sr=kin
2002-06-25 22:11:56 +00:00
dbaron%fas.harvard.edu e63a11c0e8 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +00:00
caillon%returnzero.com 56487d7001 Speed up and move the helper functions in nsRange to nsContentUtils and make compareTreePosition() faster.
Bug 144014 r=bzbarsky sr=jst
2002-06-25 20:03:06 +00:00
timeless%mac.com a5688a818a Bug 125090 Bad tag enum passed to CNavDTD::IntTagToStringTag()!!: 'str_ptr',
r=bz sr=jst
2002-06-25 06:47:53 +00:00
heikki%netscape.com 27bd54e7fe Bug 151933, xml:base should call CheckLoadURI like HTML base. r=harishd, sr=jst. 2002-06-24 19:53:50 +00:00
peterv%netscape.com f10f1eaa93 Fix for bug 153757 (hasAttribute on a HTML label crashes). r=caillon, sr=jst. 2002-06-24 11:07:07 +00:00
sicking%bigfoot.com 6f2c9c280e Make us evaluate a <script> as soon as it's in the main tree and it either contains children or has the "src" attribute set. Also make sure that the same <script> is never evaluated twice.
Bug 26790, r=peterv, sr=jst
2002-06-22 01:16:14 +00:00
rpotts%netscape.com 424c54035e bug #147741 (r=jst, sr=darin) Call nsIContentPolicy for toplevel and subdocuments. 2002-06-21 22:47:42 +00:00
bzbarsky%mit.edu 750ed97f3f Fix dynamic changes to generated content. Bug 57226, r=dbaron, sr=kin 2002-06-21 22:31:19 +00:00
jst%netscape.com 220258d498 Fixing bug 150824. Don't crash if initialization of an XBL JS class fails. r=dbradley@netscape.com, sr=alecf@netscape.com 2002-06-21 20:55:17 +00:00
varga%utcru.sk 6671a0756a Fix for bug 127842 - Reload the Bookmark and History tab context menu in
sidebar crashes mozilla
r=bryner, sr=shaver
2002-06-21 12:18:48 +00:00
caillon%returnzero.com 340d2757fc Bug 153044. Computed style implementation for some -moz-border-radius properties.
r=bzbarsky
sr=jst
2002-06-21 06:42:21 +00:00
cmanske%netscape.com 4404e25c54 Allow drag&drop of image from browser. b=146299 [checking in for mjudge] r=cmanske, sr=jag 2002-06-21 06:16:14 +00:00
radha%netscape.com f39992a397 Fix for bug # 35011. r=jst sr=kin. window.onscroll and element.onscroll don't fire. 2002-06-20 21:47:59 +00:00
peterv%netscape.com 1773dac99b Remove unnecessary includes. 2002-06-20 14:35:17 +00:00
peterv%netscape.com d5b273bc97 Fix for bug 142108 (Crash when reloading XML+XSLT Trunk, M100, N70PR1, M11A [@ nsXMLContentSink::Observe][@ 0x00000001]). r=Pike, sr=jst. 2002-06-20 12:04:22 +00:00
peterv%netscape.com ecc891787d Fix for bug 94475 (if first whitespace in line in textarea is a tab it is changed to a new line). Patch by t_mutreja@yahoo.com, r=bratell@lysator.liu.se, sr=heikki. 2002-06-20 11:45:09 +00:00
rods%netscape.com 944a302a29 Need to call EndObservingDocument before destroy of PresShell
Bug 152536 r=dcone sr=jst
2002-06-19 22:18:43 +00:00
rods%netscape.com 89bbd44ace Add PR_LOGGING for printing
Bug 121622 r=dcone sr=kin
2002-06-19 21:51:13 +00:00
jaggernaut%netscape.com 270fced72b Back out changes for bug 35011 (context menu, ctrl+key, page-up/down all stopped working in browser). 2002-06-19 12:37:57 +00:00
caillon%returnzero.com 5ad14210fa Bug 149474, Implement preventdefault="true" on XBL handlers, so that bindings are able to prevent the default action even if JavaScript is disabled. r=bryner sr=jag 2002-06-19 00:43:46 +00:00
radha%netscape.com 52f1f0b826 Fix for bug # 35011 r=joki sr=jst. window.onscroll and element.onscroll don't fire. 2002-06-18 23:00:50 +00:00
jst%netscape.com b7fa3cbd10 Adding new file for shared container elements. Not part of the build yet. 2002-06-18 20:03:54 +00:00
bzbarsky%mit.edu adae42c01e Check the status code of HTTP channels before blindly loading the
sheet.  Bug 112644, r=bbaetz, sr=darin
2002-06-18 02:46:11 +00:00
bzbarsky%mit.edu cfece5fdc2 fix rendering of <font size="+0">. Bug 150022, r=doron, sr=jst 2002-06-18 02:42:40 +00:00
bzbarsky%mit.edu b5ebc8a68e fix build bustage -- views are not refcounted 2002-06-18 01:01:54 +00:00
seawood%netscape.com 0396fcc9ce Bump lgot buffer again for MIPS builds.
Thanks to Nick Blievers <nickb@adacel.com.au> for the patch.
Bug #152453 r=cls
2002-06-18 01:01:07 +00:00
bzbarsky%mit.edu 07bd7dd42b NS4 measures image.x/image.y from the enclosing layer, not from the
body.  Bug 130415, r=jkeiser, sr=jst
2002-06-17 23:45:21 +00:00
bryner%netscape.com 08bd6fa15e Fix crasher 151568 caused by my checkin for focus bug 131651. r=dbaron, sr=blake. 2002-06-15 23:38:06 +00:00
mstoltz%netscape.com 6f5d99be4c 133170 - Need to re-check host for security on a redirect after a call to
XMLHttpRequest.open(). For xmlextras, r=heikki, sr=jband. For caps,
r=bzbarsky, sr=jst
147754 - Add same-origin check to XMLSerializer. Patch by jst. r=mstoltz,
sr=jband
113351 - Add same-origin check to XSL Include. Patch by peterv and jst,
r=mstoltz, sr=rpotts
135267 - Add same-origin check to stylesheets included via LINK tags.
r=dveditz, sr=scc
2002-06-14 23:54:18 +00:00
heikki%netscape.com 00249d5998 Forgot to remove extra addref. 2002-06-14 23:19:59 +00:00
heikki%netscape.com b461c2b1a3 Bug 151745, need to stabilize XPCOM object before using (prevents a crash in SVG). Patch from alex.fritze@crocodile-clips.com, r=peterv, sr=heikki. 2002-06-14 20:02:29 +00:00
heikki%netscape.com 3aa2bfb797 Bug 125583, disable automatic XLinks in mail, and make it so that pref dom.disable_open_during_load also disables all automatic XLinks that try to open in new window. r=harishd, sr=jst. 2002-06-14 18:52:16 +00:00
glazman%netscape.com 7cd80968b9 Making nsCSSDeclaration::GetValue() call itself to respond !important values when needed was making the CSS Parser choke in nsCSSParserImpl::AppendValue()
b=148501, r=brade, r=bzbarsky, sr=jst
2002-06-14 12:36:43 +00:00
joki%netscape.com b846194d1e Fix for bug 123700, send synthetic mouseenter/out messages to IFRAME elements to allow tracking when mouse is inside IFRAME. r:harishd, sr:jst 2002-06-14 04:14:55 +00:00
dbaron%fas.harvard.edu 32d8cc878c XUL fastload shouldn't call ParseStyleAttribute when there is no style attribute. b=151262 r=waterson sr=brendan 2002-06-13 22:14:36 +00:00
kin%netscape.com 8996b9ec1c Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
mozilla/content/base/public/nsISelectionController.idl
  mozilla/content/base/src/nsSelection.cpp
  mozilla/editor/composer/src/nsEditorShell.cpp
  mozilla/editor/idl/nsIPlaintextEditor.idl
  mozilla/editor/libeditor/base/nsEditor.cpp
  mozilla/editor/libeditor/base/nsEditor.h
  mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
  mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
  mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
  mozilla/editor/ui/dialogs/content/EdTableProps.js
  mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
  mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
  mozilla/layout/base/public/nsIFrameSelection.h
  mozilla/layout/html/base/src/nsPresShell.cpp
  mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
  mozilla/mailnews/compose/src/nsMsgCompose.cpp
  mozilla/xpfe/browser/resources/content/viewPartialSource.js

    - Added aIsSynchronous arg to the ScrollSelectionIntoView()
      method of nsISelectionController and nsIFrameSelection.
      Updated all callers to pass new arg.

    - Modified selection to post a plevent to call which does the
      call to ScrollIntoView() in the async ScrollIntoView() case.

    - Edits in text widgets now use asynchronous reflow, paint,
      and scroll processing full time.

    - Removed redundant ScrollSelectionIntoView() calls in the
      editor event listeners.

    - Editor IME code now forced to flush reflows and paints before
      getting caret coordinates.

r=jfrancis@netscape.com  sr=waterson@netscape.com
2002-06-13 20:43:32 +00:00
glazman%netscape.com 2bc07ba87c fixing crasher due to outbounds index in nsCSSStyleSheet.cpp; b=151198, r=brade, sr=jst 2002-06-13 08:29:51 +00:00
mstoltz%netscape.com 0f1432a6c5 Backing out fix for 135267 - this patch requires another change that hasn't gone in yet. 2002-06-12 22:49:14 +00:00
mstoltz%netscape.com dfd61675d7 Fixing 135267 - don't allow access to style rules loaded from a different
host. r=dveditz, sr=scc.
2002-06-12 21:20:17 +00:00
jkeiser%netscape.com b0e02ba22a Make pressing enter submit by clicking the first button in form even if there is only one textfield in form. bug 147850, r=bzbarsky@mit.edu, sr=jst@netscape.com 2002-06-12 07:50:45 +00:00
jkeiser%netscape.com ec94f09a05 Comment form submission more thoroughly. bug 148466, r=alexsavulov@netscape.com, rs=jband@netscape.com 2002-06-12 07:39:08 +00:00
jkeiser%netscape.com f28bcdf9cc Make select.selectedIndex = 3; clear all selections in multiple select. bug 77039, r=rods@netscape.com, sr=jst@netscape.com 2002-06-12 07:36:57 +00:00
jkeiser%netscape.com e244eaa11c Make input type=hidden save/restore value. bug 149962, r=rods, sr=jst 2002-06-12 06:35:11 +00:00
mkaply%us.ibm.com 88fef04a15 OS/2 bustage 2002-06-12 05:04:12 +00:00
bryner%netscape.com e1f0385937 Fix the situation where clicking a link that has a mousedown handler which opens a window would erroneously send a blur to the newly-opened window (bug 131651). r=saari, sr=hewitt. 2002-06-12 05:00:35 +00:00
shanjian%netscape.com 6e7e01ff80 #102407 Unexpected instances of POSTDATA warning messages [form sub]
Swap the priority of weakdoc charset and default charset.
disable auto detection for POST document.
r=ftang, sr=darin
2002-06-12 04:18:31 +00:00
dbaron%fas.harvard.edu 155b9b60cb Fix crash exiting print preview in certain cases (pages with frames; embedding apps) by ensuring view manager outlives pres shell. b=148308 r=rods sr=waterson 2002-06-12 03:32:24 +00:00
dbaron%fas.harvard.edu e5a0855621 Fix crashes related to editing of HR elements by wrapping generated content for leaf frames in an extra frame so :before and :after are always the first/last children of the primary frame. Disable generated content for floating and absolutely positioned leaf frames. b=141054 sr=waterson r=kin 2002-06-12 03:27:48 +00:00
roc+%cs.cmu.edu 3cd559ba29 Bug 124685. Change damage propagation algorithm to traverse the widget tree instead of the view tree; speeds up certain testcases. r=kmcclusk,rs=waterson 2002-06-12 03:22:35 +00:00
harishd%netscape.com c5b2e00d88 Strip leading/trailing spaces from img src attribute value that was preventing image rendering. b=87894, r=jkaiser, sr=jst 2002-06-11 23:23:12 +00:00
smontagu%netscape.com 66051e90f8 Do Arabic shaping earlier before measuring the text so that it gets laid out correctly. Bugs 117041, 138097. r=ftang, sr=waterson 2002-06-11 21:00:20 +00:00
cbiesinger%web.de 15a321ca78 bug 115473 r=pavlov sr=brendan
Remove timer priorities
2002-06-11 20:47:04 +00:00
ben%netscape.com fa148fdef3 Fix for topcrashers bug 143118 and bug 146891 - prevent continued deserialization after a a deserialization failure of the XUL PD by aborting on failure, also, ensure that that propagates up so we can catch it. Fix an oops (trying to remove the fasl file before closing the stream to it) and hack around a nsLocalFileWin bug (bug 150156) in the process. r=waterson, sr=brendan, a=asa 2002-06-09 10:31:00 +00:00
jkeiser%netscape.com 7e4bfd5520 Fire onSubmit event when enter pressed in no-submit-button forms (bug 149685). r=peterv, sr=jst, a=asa 2002-06-07 23:00:17 +00:00
rods%netscape.com caa5458797 Don't check the range boolean for ending the page
Bug 146296 r=dcone sr=waterson a=asa
2002-06-07 14:30:17 +00:00
alecf%netscape.com bcf192e308 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
heikki%netscape.com 6acf10e067 Bug 132105, XLinks must pay attention to the popup prefs. r=harishd, sr=jst. 2002-06-04 20:24:37 +00:00
rods%netscape.com d97cfcf96a Check for null dom content before doing QI
Bug 148760 r=jkesier sr=jst
2002-06-04 12:06:59 +00:00
cbiesinger%web.de 1a92e0f845 bug 8031 r=tor sr=dveditz
XBM support
2002-06-04 08:48:12 +00:00
jkeiser%netscape.com 75a0b457df Bug 125578. 2002-06-04 02:46:30 +00:00
jkeiser%netscape.com 4d507d3aff Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com 2002-06-04 00:44:04 +00:00
timeless%mac.com c3741ef7d1 Bug 144763 tolerate do_QueryReferent() returning null [@nsXULPrototypeScript::Compile]
r=harishd sr=jst
2002-06-03 19:17:46 +00:00
dbaron%fas.harvard.edu d3867266eb Make quirk stylesheet assertion |#ifdef DEBUG_dbaron| until I figure out why it's firing. b=147691 r=hwaara sr=waterson 2002-06-03 18:26:18 +00:00
jst%netscape.com c47b132755 Attempting to fix bug 138900. Avoid multiple calls to LoadSrc() in iframe elements while the document is being built. This should speed up pageloads for pages with iframes on them. r=jkeiser@netscape.com, sr=jaggernaut@netscape.com 2002-06-01 01:15:57 +00:00
roc+%cs.cmu.edu 6f4e473b18 Bug 50623. Don't forget background styles inherited from the initial context. This has the effect of making FRAME/IFRAME documents transparent by default. Also, make FRAME/IFRAME elements paint any background styles set on them. r=dbaron,sr=waterson 2002-05-31 03:20:23 +00:00
jst%netscape.com 33039e5faf Removing duplicate #include... 2002-05-29 19:15:50 +00:00
dbaron%fas.harvard.edu 1dcbcf7e98 Remove universalSelector atom. b=112318 sr=waterson r=brendan 2002-05-29 00:49:48 +00:00
dbaron%fas.harvard.edu 30dcd428ab Convert the 4 tables of the RuleHash from nsHashtable to pldhash. Encapsulate the differences between tables, and the quirks/strict differences within the id and class tables, in the 6 sets of hashtable ops. Remove mCaseSensitive member and related code from AtomKey and remove nsInt32Key completely. Null-terminate lists of RuleValues rather than using a special mEndValue, and build the lists in the reverse order (reversing the meaning of their index). Store universal rules in their own list rather than using magic key. b=112318 sr=waterson r=brendan 2002-05-29 00:49:44 +00:00
peterv%netscape.com b98a256c65 Fix for bug 88761 (html code for selected and noshade (and other minimizable attributes) not w3c conformant). r=heikki, sr=jst. 2002-05-28 12:34:48 +00:00
dbaron%fas.harvard.edu e6315d638a Clear the undisplayed content map before calling SetDocument(null), which can cause some XBL content to be destroyed without notifications, leaving dangling pointers in the undisplayed map. b=145737 r=bzbarsky sr=waterson 2002-05-26 17:03:42 +00:00
dbaron%fas.harvard.edu 8d231a5fae Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst 2002-05-23 23:09:31 +00:00
rods%netscape.com 503207a2ce The allows TAB events to be processed. This seems to work fine, because the
forms controls can never get focus. I did a lot of testing and the focus goes
to the toolbar and doesn't go to any forms controls.
Bug 145388 r=dcone sr=attinasi
2002-05-23 10:48:37 +00:00
dbaron%fas.harvard.edu 8e1dde577e Fix checking of checkboxes inside their label by not sending the duplicate event if the click was already within the form control. b=96813 r=jkeiser sr=jst 2002-05-23 00:23:12 +00:00
jst%netscape.com 1075a3f80d Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
harishd%netscape.com 1e4585c9ba Ensuring complete consumption of DOCTYPE content. b=142625, r=heikki, sr=jst 2002-05-22 00:46:16 +00:00
dbaron%fas.harvard.edu d2188e6086 Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst 2002-05-22 00:14:51 +00:00
rods%netscape.com b9efd96eca unregisters the focus listener after a new one is installed.
Bug 145388 r=dcone sr=jst
2002-05-21 19:37:28 +00:00
glazman%netscape.com 6f04b18617 fixing brad Tbox warning; b=142019, r=bzbarsky, sr=jst 2002-05-21 13:33:25 +00:00
glazman%netscape.com 8b99db659f output of CSS border and background shorthand properties was buggy ; the new code implements a proposal by Hixie that tries to output the minimal number of properties.
b=142019, r=bzbarsky, sr=jst
2002-05-21 08:16:42 +00:00
jkeiser%netscape.com cb85de7cc8 Fix crasher regression from bug 74091. bug 74091, r=dbaron@fas.harvard.edu, sr=
jst@netscape.com
2002-05-21 02:11:05 +00:00
jst%netscape.com a60314c4c2 Fixing typo in assert... 2002-05-21 00:26:27 +00:00
bryner%netscape.com f711b863c8 Prevent a crash that happens if you context-click while autocomplete is active in mail compose (bug 137864). r=danm, sr=jag. 2002-05-21 00:00:46 +00:00
jst%netscape.com 262f28f900 Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com 2002-05-20 22:47:02 +00:00
jst%netscape.com 90ecf50e31 Fixing bug 132609. Make window.close() work even when called from an event handler that was added with addEventListener(). r=heikki@netscape.com, sr=jband@netscape.com 2002-05-20 20:55:41 +00:00
jst%netscape.com 8bc8cd61ad Backing out a small part of jkeiser's fix for bug 74091 which caused bug 145741. CallQueryInterface() is not null safe. r=harishd@netscape.com. sr=jst@netscape.com 2002-05-20 18:48:00 +00:00
dbaron%fas.harvard.edu 71e2043a88 Limit the quirk that prevents dynamic pseudo-classes from applying to quirks mode, to :hover and :active only, and to a stricter definition of global selectors, since we no longer have to worry about performance problems. b=96984 sr=attinasi r=bzbarsky 2002-05-19 02:05:29 +00:00
jst%netscape.com c68cadcb79 Fixing bug 131841. Don't make calls on weak XPCOM (nsIPresShell in this case) pointers since the objects might go away during the call, this lead to a crash in this particular case. r=sicking@bigfoot.com, sr=vidur@netscape.com, brendan@mozilla.org 2002-05-18 00:02:50 +00:00
jst%netscape.com 9b99b5c3e1 Fixing bug 145064. Don't throw exceptions when asking for .pathname n' friends on types of URI's that don't support the property in question. r=bzbarsky@mit.edu, sr=heikki@netscape.com 2002-05-17 22:31:23 +00:00
aaronl%netscape.com fa3df635f3 Bug 130969. Active accessibility: fix MSAA focus events. r=bryner, saari. sr=jst 2002-05-17 04:04:24 +00:00
dbaron%fas.harvard.edu 3db6a04379 Null-check mBindingTable to avoid crash with some themes. b=143835 r=brendan sr=waterson 2002-05-17 02:33:03 +00:00
rpotts%netscape.com 73de225b01 bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener) 2002-05-16 20:57:37 +00:00
jkeiser%netscape.com b9e5e084ab Make option text show up when option changes. bug 136885, r=rods@netscape.com, sr=attinasi@netscape.com 2002-05-16 19:27:13 +00:00
jkeiser%netscape.com 79d7d4bffc Make textarea wrap="hard" not wrap text for restore/JS (only submit and edit). bug 74091, r=rods@netscape.com, sr=attinasi@netscape.com 2002-05-16 18:26:05 +00:00
rods%netscape.com 55cdb88790 Adds a new arg to the PP call. The new arg is not being used, it is
for future and is needed for the API freeze.
Bug 144716 r=dcone sr=attinasi
2002-05-16 13:51:54 +00:00
pete.zha%sun.com b6994b2435 bug 143168:remove ilayer layer tag from mozilla code
r=harishd, sr=jst
Check in for Jerry Tan(jerry.tan@sun.com)'s fix
2002-05-16 03:08:15 +00:00
akkana%netscape.com 067ccb614c 46227: eliminate extra spaces inserted switching between normal and source modes of composer. Patch is from burpmaster@truffula.net, r=akk, sr=jst 2002-05-16 00:32:40 +00:00
dougt%netscape.com 333512db88 Fixing svg build bustage 2002-05-15 21:21:07 +00:00
varga%utcru.sk 0cc2ec0655 Fix for bug 142404 - nsXULTreeBuilder::Drop should enable drop if canDropBeforeAfter is true
r=varga, sr=hewitt
2002-05-15 19:51:08 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
jkeiser%netscape.com a8f8f9fbbe Make submit() and reset() work as events. bug 144534, r=alexsavulov@netscape.com, sr=jst@netscape.com 2002-05-15 01:24:59 +00:00
rods%netscape.com 68b0319c10 Changing CID to ContractID and const char* to const char xxx[]
As part of Bug 144128
2002-05-14 14:32:42 +00:00
rods%netscape.com 517bc877a1 Static build bustage fix 2002-05-14 14:15:19 +00:00
rods%netscape.com 0c5c90b638 This patch does the following:
1) Introduces a new public interface nsIPrintSettingService which emables consumers to create PS objects whithout a nsIWebBrowserPrint interface
2) The implementation is nsPrintOptionsImpl which now impls the private interface nsIPrintOptions and the public iface nsIPrintSettingsService
3) Several methods/attrs have been moved from nsIWebBrowserPrint iface to nsIPrintSettingsService
4) The CIDs for nsIPrintOptions and nsIPrinSettingsService are now the same.
5) There is no longer a CID "@mozilla.org/gfx/printoptions;1"
6) nsIWebBrowserPrint still has the "globalPrintSettings" attr so if you already have an nsIWebBrowserPrint you don't have to create the PS Service to get it.
7) A bug has been filed to rename the imlp of nsPrintOptionsImpl to nsPrintSettingsService.
Bug 144128 r=dcone sr=attinasi
2002-05-14 12:05:00 +00:00
caillon%returnzero.com ddd3d5d711 Initial implementation of DOM Level 3 Core methods Node.compareTreePosition() and Node.isSameNode(), Bug 139344, r=jkeiser, sr=jst 2002-05-14 01:28:17 +00:00
timeless%mac.com ed1ec0e54d Bug 142853 disabling XUL cache causes assertions, eats ram
honor pref: nglayout.debug.disable_xul_cache
this fixes the assertion
r=waterson sr=alecf
2002-05-14 01:15:27 +00:00
bzbarsky%mit.edu dd5e12cdab Fix blocker 143917 -- wrong form being submitted for nested
forms.  Patch by jkeiser, r=bzbarsky/peterv sr=jst/shaver
2002-05-13 17:22:30 +00:00
bzbarsky%mit.edu 9a641fb5a3 Initialize the hint, just in case. Bug 139968, r=jkeiser, sr=jst 2002-05-11 23:26:44 +00:00
jst%netscape.com ab64824a3b Fixing bug 135278. Stop don't use Substring() on a null poiter, Substring() asserts if given a null pointer. r=dbaron@fas.harvard.edu, sr=jaggernaut@netscape.com 2002-05-10 18:21:50 +00:00
mkaply%us.ibm.com 9394a1d1d7 #137782
r=pinkerton, sr=jst, a=asa
Change for OS/2 only - use right mouse button for drag
2002-05-10 03:07:06 +00:00
rods%netscape.com 1d956bc3a5 making a few adjustments to the APIs before the freeze
Bug 143248 r=conrad sr=attinasi
2002-05-09 22:02:44 +00:00
danm%netscape.com c64dedd749 null guard gLastFocusedContent in PreHandleEvent. bug 142918 r=jst,saari a=blizzard 2002-05-09 21:53:54 +00:00
radha%netscape.com 6a00af1441 Removing a printf from a previous checkin. 2002-05-09 20:35:02 +00:00
aaronl%netscape.com 28b810acff Bug 139877. Right click context menu accesskeys require 'Enter' to perform action (regression). Fix by Kyle Yuan. r=aaronl, sr=jst 2002-05-09 20:12:21 +00:00
bzbarsky%mit.edu dc80028fdb make clip:inherit work. Bug 141734, r=dbaron, sr=attinasi 2002-05-09 20:05:25 +00:00
bzbarsky%mit.edu c6a7cce9eb Fix off-by-one-char error that caused hang. Bug 142290, r=caillon, sr=jst 2002-05-09 14:41:51 +00:00
jkeiser%netscape.com 8de1592240 Treat NOLAYER like any undeclared tag (from Antonio Xu). Bug 61443, r=harishd@netscape.com, sr=jst@netscape.com 2002-05-09 02:33:34 +00:00
hewitt%netscape.com 804cbe3128 129980 - crash right clicking while loading page, r=peterl, sr=ben 2002-05-09 01:43:18 +00:00
jkeiser%netscape.com 857b402bc0 Remove DemoteForm. Sweet, sweet revenge--may you rest in peace. bug 90756, r=harishd@netscape.com, sr=vidur@netscape.com, sr=jst@netscape.com 2002-05-09 00:29:23 +00:00
bzbarsky%mit.edu 8de4653d57 Bug 140758 redux -- cache results of getElementsByTagName in case people call
it in a loop.  r=dbaron, sr=jst
2002-05-08 20:48:19 +00:00
aaronl%netscape.com a97fef7f68 Bug 136696. Active Accessibility: support get_accKeyboardShortcut(). r=jgaunt, sr=jst 2002-05-08 20:43:49 +00:00
rods%netscape.com 7848ffedc6 Need to call StartPrint to initialize the Seq Frame
Bug 143089 r=dcone sr=kin
2002-05-08 20:11:14 +00:00
waterson%netscape.com bb36eb4d2b Bug 132905. Tweak CreateTemplatecontents slightly to help isolate a topcrash. r=rjc, sr=alecf 2002-05-08 18:50:41 +00:00
bzbarsky%mit.edu 4c72e3ff70 Back last checkin out till I get the windows casting stuff settled out.... 2002-05-08 04:13:16 +00:00
bzbarsky%mit.edu 4354cea72a Fix bustage 2002-05-08 03:47:22 +00:00
bzbarsky%mit.edu 89ef733d9c Bug 140758 -- cache results of getElementsByTagName in case people call
it in a loop.  r=dbaron, sr=jst
2002-05-08 03:15:45 +00:00
darin%netscape.com 6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
rods%netscape.com 464860f81c OK, really fixing the HP bustage this time. 2002-05-07 15:33:06 +00:00
rods%netscape.com 50dc137d4e fixed build bustage on HP 2002-05-07 14:07:28 +00:00
rods%netscape.com 51a39e7277 These files are no longer needed.
Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi
2002-05-07 14:03:30 +00:00
rods%netscape.com 15a673155f Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi
2002-05-07 12:03:37 +00:00
ben%netscape.com 399e766e81 bug 142165, crash and fasl file invalidation when loading non-chrome XUL files.
Ensure that we only poke the chrome cache for prototype documents that are chrome
URIs. Also, ensure that we only cache the fasl'ed prototype when it was read
without hiccup.
r=blake, sr=brendan.
2002-05-07 01:29:44 +00:00
brendan%mozilla.org cb5cb78578 Fix script attribute handling so type trumps language (135493, r=heikki, sr=jst). 2002-05-06 22:59:42 +00:00
hwaara%chello.se 07056fa136 #109291, "document.*Color is empty".
Fix our DOM color  properties to work like on other browsers. For example, when no body bgcolor is explicitely specified, we will return the default bgcolor instead of just returning null. Same thing with text color, visited link color etc.

r=fabian, sr=jst
2002-05-06 21:58:10 +00:00
mkaply%us.ibm.com c355d8c308 OS/2 bustage 2002-05-05 03:26:52 +00:00
mkaply%us.ibm.com dd81682347 OS/2 bustage - its either remove PR_CALLBACK or add it to the header. I don't have an OS/2 machine since I am in San Antonio where my new son was born. See http://www.kaply.com 2002-05-04 18:49:30 +00:00
bryner%netscape.com 7801134817 Make the XUL cache lock gc'ing of script objects while they are in the cache, to prevent pulling out a bogus JSObject. Bug 132216, r=waterson, sr=brendan. 2002-05-04 09:15:04 +00:00
jst%netscape.com a239cacff7 Fixing bug 140944. Making document.body.scroll* map to the scroll info for the root scroll frame. r=bzbarsky@mit.edu, sr=shaver@mozilla.org. 2002-05-03 21:14:13 +00:00
sicking%bigfoot.com b4fccd9b86 Bug 119317. Drop support for non-namespaced "inherits" xbl-attribute and move over the last uses of the old syntax.
r=Hixie sr=hyatt
2002-05-03 17:51:44 +00:00
ben%netscape.com 4d1250c271 Forgot to mention that all prior checkins were for bug 112064 :-) 2002-05-03 03:10:23 +00:00
ben%netscape.com a67d1f4b6f [Chrome FastLoad]
Implement XUL Prototype Document and Prototype Element serialization/deserialization scheme for FastLoad of chrome documents.
r=brendan, sr=hyatt
2002-05-03 03:04:34 +00:00
rbs%maths.uq.edu.au ca47d8b903 Added yet another defense to make Mozilla really robust when font resources run out, the patch makes font metrics to be fail safe or at least very hard to break -- to the point that failure means that the system is barely working (testing showed that Mozilla stayed alive while other applications were dying). Per request of super-reviewer & driver, also removed wallpaper null-checks sprinkled in the past for the problem. b=136248, r=shanjian, sr=attinasi 2002-05-02 22:24:59 +00:00
rods%netscape.com c19ef82a9c Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 14:10:12 +00:00
rods%netscape.com 288186b2f3 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 13:47:53 +00:00
rods%netscape.com 5f8760cbcd backing out unwanted changes 2002-05-02 13:24:08 +00:00
rods%netscape.com b1cb2953ae Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi
2002-05-02 12:38:43 +00:00
jaggernaut%netscape.com f565587530 Bug 141455: hang when selecting text and right-clicking on page. r=akkana, sr=alecf 2002-05-01 20:52:29 +00:00
dbaron%fas.harvard.edu eb7778a448 Remove ClearUndisplayedContentMap hack from ReconstructStyleData (expanded for bug 118014; see bug 136728). Fix multiple content inserted notifications from XBL (the real cause of bug 118014) by checking the undisplayed content map in addition to the primary frame map. Fix FrameManager::GetUndisplayedContent to work correctly, and remove code in nsCSSFrameConstructor::AttributeChanged that was working around its brokenness. b=136704 sr=waterson r=attinasi 2002-05-01 00:36:50 +00:00
dbaron%fas.harvard.edu 2d7fe2e0eb Rename Mozilla-extension values for real CSS properties to begin with -moz-. Remove some unused code. b=3935 r=hixie sr=waterson 2002-05-01 00:17:04 +00:00
dbaron%fas.harvard.edu 48f0f64960 Add command-line tool for parsing CSS files. b=139943 sr=waterson r=attinasi 2002-05-01 00:03:57 +00:00
jkeiser%netscape.com c93a43a69a Allow form submit with javascript URI to call submit() within the JS function. bug 139798, r=alexsavulov@netscape.com, sr=attinasi@netscape.com 2002-04-30 23:21:58 +00:00
shaver%mozilla.org 32e2ad6d6b Fix Forte bustage resulting from fix for 124335 (private, unused |operator new|
not returning a value).  Trading for warnings on gcc, which would really
rather have me throw an exception.
2002-04-30 12:44:49 +00:00
jkeiser%netscape.com b987812e88 Fix stupid-Mac-OSX-compiler crasher. bug 134934, r=saari@netscape.com, sr=attinasi@netscape.com 2002-04-30 08:03:01 +00:00
pavlov%netscape.com 3935f19e47 bug 133217. r=biesi sr=ben. fixes problem where imagelib will reload images when it shouldn't due to the wrong pointer address being passed in 2002-04-29 21:59:32 +00:00
shaver%mozilla.org f4d99037e1 Use an nsFixedSizeAllocator to legalize the bit-packing's assumption that
all nsXULAttributes pointers will be 8-byte aligned.  Bug 124335, r=brendan,
sr=waterson.
2002-04-29 21:28:29 +00:00
alecf%netscape.com 9348ce8ac8 fix bug 139633 - as a part of freezing nsAString, move Left/Right/Mid back into nsString, and fix consumers to start using Substring()
r=jag, sr=darin
2002-04-29 20:29:54 +00:00
glazman%netscape.com dbd393ad57 The 'lighter' CSS value was not output in STYLE attributes because of a bug in |nsCSSProps::SearchKeywordTableInt|
This routine was stopping on negative values but there are some negative values defined in nsStyleConsts.h

b=137061, r=caillon, sr=kin
2002-04-29 09:39:55 +00:00
badami%netscape.com a0d65ac8a9 bug 122877 r=bratell sr=jst a=asa patch=t_mutreja@yahoo.com
case insensitive matching for attributes (HREF != href)
2002-04-29 06:20:58 +00:00
racham%netscape.com 486f60f0e0 Fixing bug 140183. Checking ShowProgress dialog attribute and pref as printing is done. Patch by Rod Spears. r=danm,bhuvan sr=sspitzer 2002-04-28 01:43:23 +00:00
darin%netscape.com e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
bryner%netscape.com 15b0c5bbab Fix shift-tabbing in the case where the first focusable element in the page has a non-text child node. Bug 136495, r=aaronl, sr=jst. 2002-04-27 01:20:48 +00:00
peterv%netscape.com bab1b97925 Fix for bug 140060 (ReplaceChild on a document's documentElement fails). r=bz, sr=jst. 2002-04-26 21:52:48 +00:00
bryner%netscape.com 1055ff87c1 Removing old XBL form control images. Not part of the build. 2002-04-26 21:12:19 +00:00
caillon%returnzero.com 6517a6882c 139343, zapping build warnings from computed style. r=bzbarsky,sr=jst 2002-04-26 18:10:14 +00:00
jkeiser%netscape.com dc6b152999 Make iframe not load on DemoteForm and not load when iframe is removed from tree (bug 138900). r=peterv@netscape.com, sr=jst@netscape.com 2002-04-26 03:24:32 +00:00
jst%netscape.com f3bec601cc Fixing Txul regression bug 138012. Make docshells always accessible through box objects and load about:blank when no src is specified on a frame. Eliminate creation of synthetic documents when they're not needed. r=peterv@netscape.com, sr=jaggernaut@netscape.com 2002-04-25 23:04:52 +00:00
jst%netscape.com 0a95c85b3a Fixing regression bug 139870. Don't crash when running into framesets/iframes that are too deeply nested. r=peterV@netscape.com, sr=heikki@netscape.com 2002-04-25 22:06:49 +00:00
peterv%netscape.com f1d35b4a9d Fix for bug 129006 (Invalid xml crashes mozilla after reload [@nsXMLContentSink::Observe]). r=Pike, sr=jst. 2002-04-25 11:58:08 +00:00
bryner%netscape.com 8a1bce249c Backing out the patch for bug 136495 because it caused regression bug 139801. 2002-04-25 05:59:02 +00:00
seawood%netscape.com c0ec608df6 Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components
2002-04-25 02:52:44 +00:00
sicking%bigfoot.com ce5200db57 bug 137399: Make removeAttribute work again for html-elements not in main doc-tree
r=glazou sr=jst
2002-04-24 22:08:05 +00:00
rods%netscape.com bb4148f2e9 printing properties must be moved to global jar
Bug 138026 r=dcone sr=attinasi a=judson adt=putterman
2002-04-24 13:15:13 +00:00
bryner%netscape.com 2f8918d886 Fix for shift-tabbing out of the document into the URL bar (the tab-from-caret code was getting confused in this case). Bug 136495, r=aaronl, sr=ben. 2002-04-24 09:11:50 +00:00
mkaply%us.ibm.com 8057eac190 #124164
r=pedemont, sr=blizzard
OS/2 only - get rid of OS/2 specific setting of form fonts
2002-04-24 04:03:49 +00:00
jst%netscape.com 18f1c685f6 Fixing regression bug 138663. Cached mail compose windows open up blank. r=harishd@netscape.com, sr=jband@netscape.com 2002-04-24 00:33:56 +00:00
rods%netscape.com bdb9588496 mOrigDCScale needs to come from the previous PrintData object or it will continue to get smaller
Bug 139459  r=dcone sr=attinasi
2002-04-24 00:26:54 +00:00
smontagu%netscape.com 7606504aac ArabicShaping() shouldn't assume that the input and output is in visual order. Bug 137871. r=ftang, sr=attinasi 2002-04-24 00:26:49 +00:00
smontagu%netscape.com 40d6505f73 Move HandleNumbers() from nsBidiPresUtils to nsBidiUtils. Bug 137857. r=ftang, sr=attinasi 2002-04-23 23:29:18 +00:00
pinkerton%netscape.com 4008c80d05 add first stage of dragging images. advertise os-native image format to other applications. r=ccarlen/sr=alecf. bug# 138049 2002-04-23 14:24:48 +00:00
peterv%netscape.com e64baa91ff Forgot to make this minor change that jst requested to my fix for bug 135895 (XHTML <style> element not working). 2002-04-23 12:44:30 +00:00
rods%netscape.com ee07c55f61 Make the UI scrollbars now scale in PrintPreview. We are having to do all this rather bizarre
stuff because the scrollbars in the document share all the same code and style contexts of the UI scrollbars
Bug 120616 r=dcone sr=attinasi
2002-04-23 12:05:43 +00:00
jst%netscape.com d2298f34f2 Fixing bugs 138138 and 138663. Making boxobjects clear their presentation related data when a XUL document is hidden. r=jkeiser@netscape.com, sr=rpotts@netscape.com 2002-04-22 23:48:14 +00:00
jst%netscape.com 70e9ad0081 Fixing printing crash bug 127891. Make the destruction of printing related frames not hide iframe's document viewers. r=rods@netscape.com, sr=rpotts@netscape.com 2002-04-22 23:12:18 +00:00
jkeiser%netscape.com f001ddac95 Fix Tinderbox popups not appearing (bug 138676), jst's patch, r=jkeiser, sr=heikki 2002-04-20 19:22:51 +00:00
caillon%returnzero.com 46d193f1aa Bug 113273. Implement computed style for '-moz-appearance', '-moz-box-*', '-moz-float-edge', and '-moz-user-*'. r=bzbarsky, sr=jst 2002-04-20 14:30:57 +00:00
dbaron%fas.harvard.edu 50fb6ea324 Fix assertion when typing over a selection. b=137556 sr=kin r=bryner 2002-04-20 12:36:45 +00:00
jaggernaut%netscape.com 7e4e14d8c5 Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux. 2002-04-20 01:48:32 +00:00
jst%netscape.com c5afc3b674 Fixing typo in a comment... 2002-04-19 23:56:45 +00:00
jst%netscape.com 14dc7f7425 Fixing regression bug 138540. Make iframe's with scrollbars='no' not have scrollbars. r=bzbarsky@mit.edu, sr=rpotts@netscape.com 2002-04-19 23:55:45 +00:00
bzbarsky%mit.edu 20b44485af Fix the "style rules" display for display:table elements. Bug 122557,
r=caillon, sr=hewitt
2002-04-19 22:29:24 +00:00
gerv%gerv.net 0f7ebbdfe9 Bug 3935 - mozilla-native psuedo classes and properties should be marked as such. This fixes a number of them; still a few more to do. Patch by gerv, r=dbaron, sr=jst, a=asa. 2002-04-19 08:07:11 +00:00
mkaply%us.ibm.com 2a201d3fe3 OS/2 bustage - forgot to remove it in header 2002-04-19 06:05:03 +00:00
joki%netscape.com f4e5a803f5 Fix for bug 124990 , Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface). These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
2002-04-19 02:53:22 +00:00
joki%netscape.com bdfd051dfb Fix for bug 124990, Add additional processing loop for DOM event listeners to allow browser level handlers to be fired after content based listeners. r:saari, sr:jst
Browser based listeners can now registers themselves using the AddGroupedEventListener and passing the system event group (which can be gotten via the nsIDOMEventReceiver interface).  These listeners will now fire after all content based listeners have processed.
In this initial version of the checkin most browser listeners are still left in the original content group for stability purposes.
2002-04-19 02:52:01 +00:00
mkaply%us.ibm.com 00d8addd25 OS/2 bustage - no PR_CALLBACK here 2002-04-19 02:33:00 +00:00
jst%netscape.com 6ea3d0551d Fixing bug 98654. Make document.write() not cancel earlier location.href=...'s when both are done from the same script. r=bzbarsky@mit.edu, sr=vidur@netscape.com 2002-04-18 23:25:35 +00:00
jst%netscape.com e40ab1ff50 Fixing bug 98654. Make document.write() not cancel earlier location.href=...'s when both are done from the same script. r=bzbarsky@mit.edu, sr=vidur@netscape.com 2002-04-18 22:49:39 +00:00
harishd%netscape.com d6971b20c1 Prevent charset loading for document.write content because the content is already in unicode. b=125317, r=ftang, sr=jst 2002-04-18 22:11:17 +00:00
pinkerton%netscape.com 51e2faee6d removing nsControllerCommandManager. r=ccarlen/sr=sfraser. bug# 137647. 2002-04-18 22:09:52 +00:00
jkeiser%netscape.com 0dc252669f Close submitted files (input type=file) when done with them. (bug 126829) r=dougt@netscape.com, sr=darin@netscape.com 2002-04-18 22:02:09 +00:00
jkeiser%netscape.com 566a4c84be Fix keyboard movement crasher all-disabled selects (bug 136606), r=rods@netscape.com, sr=attinasi@netscape.com 2002-04-18 21:54:57 +00:00
alex.fritze%crocodile-clips.com a9c5405132 [SVG build only] Bug#137973: Use SafeElementAt instead of
ElementAt. Patch by <paul.golz@crocodile-clips.com>.
2002-04-18 21:53:53 +00:00
jkeiser%netscape.com abb00065b5 Make iframe load when setAttribute("src") happens on it (blocker bug 138007), JST's patch +some, r=bryner@netscape.com, sr=heikki@netscape.com 2002-04-18 20:59:54 +00:00
jst%netscape.com ea45ab47a7 Fixing crasher bug 138138. Clear the box object table in xul documents when a xul document is hidden since the box object table may contain references to non-refcounted frames that will be destroyed when the document is hidden. r=jkeiser@netscape.com, sr=heikki@netscape.com 2002-04-18 19:50:31 +00:00
caillon%returnzero.com dbe5c17f5f Bug 137297. Alphabetize computed style's queryableProperties list. r=bzbarsky, sr=hewitt 2002-04-17 14:30:58 +00:00
jst%netscape.com cd9afd67e1 Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com. 2002-04-17 04:17:16 +00:00
mjudge%netscape.com 9f82495160 fix for up down behavior after typing or selecting sr=kin a=scc r=jfrancis 2002-04-16 23:26:22 +00:00
akkana%netscape.com fdc4ae63df 134439: Make plaintext compose wrap to window width instead of output
width, and don't wrap quotes in <pre> or <span>, to work around various
editor bugs.  Detect quoted blocks at output time, and continue our
existing behavior of not wrapping quoted text. r=jfrancis,bratell, sr=alecf.
2002-04-16 23:11:33 +00:00
heikki%netscape.com fee3074107 Bug 137632, effectively back out bug 59774 for XML. Going back/forward in history positions us correctly with anchors again. r=radha, sr=jst. 2002-04-16 22:21:54 +00:00
mozilla.BenB%bucksch.org b2245554ad Fixing win32 bustage, hopefully. 2002-04-16 19:28:51 +00:00
bzbarsky%mit.edu 22cfba4a7c Fix crash on copy of text with embedded nulls. Bug 136278, r=brade, sr=kin. 2002-04-16 19:16:33 +00:00
mozilla.BenB%bucksch.org eae3a5f7c3 108153, 30888, 69529, 126082:
New HTML message body options for Mailnews
Provide a work around / fix for some of the security and usability problems that HTML mails currently impose, by not rendering everything the sender throws at the user.

This class removes every HTML tag/attribute that is not explicitly allowed from the source.
Adding new class to build
r=akk, sr=jst
2002-04-16 18:24:14 +00:00
mozilla.BenB%bucksch.org cc4a595485 108153, 30888, 69529, 126082:
New HTML message body options for Mailnews
Provide a work around / fix for some of the security and usability problems that HTML mails currently impose, by not rendering everything the sender throws at the user.

This class removes every HTML tag/attribute that is not explicitly allowed from the source.
Adding new files
r=akk, sr=jst
2002-04-16 18:19:09 +00:00
hwaara%chello.se 34c91fa45e #137382, cleanup handling of SVG namespace, and remove old bogus namespace.
r=afri (not part of default build)
2002-04-16 18:13:13 +00:00
timeless%mac.com 3fa15ed85d Bug 137780 lots of warnings about unhandled enum and a complaint about
using an unscoped nsCOMPtr in a switch
r=dbradley sr=jst
2002-04-16 18:09:53 +00:00
kin%netscape.com fb9b52b024 Fix for bug 68331 (Moving caret in TEXTAREA to start of line can cause page to scroll horizontally)
- Modified GetSelectionRegionRectAndScrollableView() to clip
  aRect so that it is completely within the bounds of the
  scrolledView. This insures that other scrolled views in
  the parent hierarchy will not scroll more than they have to.

r=brade@netscape.com  sr=sfraser@netscape.com
2002-04-16 13:30:28 +00:00
peterv%netscape.com 2ef0f9a849 Fix for bug 132300 (Need a better way to bootstrap an XPathEvaluator). r=pike, sr=jst. 2002-04-16 11:57:17 +00:00
jaggernaut%netscape.com 42eaaed438 Bug 121841: <!ENTITY> hangs 0.9.8 and trunk using 100% CPU. r=bryner, sr=scc. With thanks to Jeff Qiu <jeff.qiu@sun.com>. 2002-04-16 06:27:16 +00:00
bryner%netscape.com 2fdd9e39df Adding support for optgroups for XBL form controls (bug 130115). r=jkeiser, varga sr=jst. 2002-04-16 05:09:35 +00:00
bzbarsky%mit.edu 0ca58c61fe cloneNode() needs to copy the "style" attr as an HTMLValue, not as a
string.  Bug 137428, r=fabian, sr=jst
2002-04-16 04:12:03 +00:00
mjudge%netscape.com b0f1fe2322 r= jfrancis sr= kin 2002-04-16 02:39:54 +00:00
dougt%netscape.com ccf4243cd6 fix mac build bustage 2002-04-16 01:25:24 +00:00
dougt%netscape.com 4c7faccac7 removing #error to fix build bustage 2002-04-15 23:57:42 +00:00
joki%netscape.com dc9ac75b02 Fix for bug 135345, have input element check its own focus state before attempting to set focus to itself to avoid possible recursion inside onfocus handlers. r:jkeiser, sr:jst 2002-04-15 23:29:15 +00:00
heikki%netscape.com 6cf402c80c Bug 136788, when going back and forth in history we still need to call StartLayout and EndLoad. Patch from peterv, r=jst, sr=heikki. 2002-04-15 22:53:58 +00:00
dbaron%fas.harvard.edu 31405a1069 Remove bitrotted DEBUG_RULES code. Clean up RULE_HASH_STATS debugging code. Add comments to HasStateDependentStyle, and speed it up by making IsStateSelector match only what it needs to. Clean up GetRuleCascade by sorting the final array in non-reversed order and merging BuildStateEnum and BuildHashEnum. b=128743 r=bzbarsky sr=waterson 2002-04-15 22:49:26 +00:00
dougt%netscape.com f4cf458eb8 Use flat strings when constructing string keys. This fixes a few high volume string key constructors. See 135781. r=dp@netscape.com, sr=darin@netscape.com 2002-04-15 22:39:43 +00:00
jst%netscape.com dbf3500843 Comment changes only... 2002-04-15 22:36:52 +00:00
dbaron%fas.harvard.edu 8e67539937 Fix event state changes on some UI buttons by not overwriting a true result from HasStateDependentStyle with a false one. b=137067 r=bzbarsky sr=waterson 2002-04-15 22:28:54 +00:00
bryner%netscape.com 57db3f841d Removing the old versions of the xbl form controls from the tree (bug 137483). r=pinkerton, sr=ben. 2002-04-15 22:21:28 +00:00
rods%netscape.com 6cc2d64532 Original check work with passing back NS_OK, it appears something in the front-end
may have changed. Passing back NS_ERROR_FAILURE now works. (maybe should have been that
in the first place)
Bug 136185 r=dcone sr=attinasi
2002-04-15 13:30:32 +00:00
rods%netscape.com 7003507aa7 For PP cache the zoom and zoomtext scale factors and reset then back into the DC when leaving PP.
Bug 136785 r=dcone sr=attinasi
2002-04-15 13:22:05 +00:00
sicking%bigfoot.com f8c2ea5afa Bug 119317: move the "inherits" attribute to the xbl namespace for most clients.
r=hixie sr=hyatt
2002-04-13 14:25:38 +00:00
rbs%maths.uq.edu.au 859d9a486f SaveAs leaves private [-|_moz] attributes in the output, b=134298, r=akkana, sr=jst 2002-04-13 07:47:21 +00:00
peterv%netscape.com 4bea2ab35a Fix for bug 135895 (XHTML <style> element not working). r=sicking, sr=jst. 2002-04-12 13:24:32 +00:00
caillon%returnzero.com f14a42b26d Bug 117707. Disabling most of the prefs in Edit>Prefs>Advanced>Scripts/Windows was causing real JS scripts to break because it used CAPS. Move the checks for these features into C++, with new prefs. Patch by doronr@naboonline.com (initial work) and caillon@returnzero.com. r=fabian sr=jst a=asa. 2002-04-12 10:11:00 +00:00
alecf%netscape.com 5a9b13eaf9 argh, continuing to fix bustage 2002-04-12 03:39:11 +00:00
alecf%netscape.com c86e3e23b8 fix bustage by switching from nsIChromeRegistry to nsIXULChromeRegistry 2002-04-12 02:42:13 +00:00
alecf%netscape.com fba198f16c fix for bug 119923 - split nsIChromeRegistry into 2 interfaces, one that is XUL-specific
this way we can implement an minimal chrome registry for embedding, that doesn't support all the wacky skin- and locale-switching goodness of XUL.
r=waterson, sr=hyatt
2002-04-12 01:52:27 +00:00
harishd%netscape.com 53b4906887 Fixing bustage 2002-04-12 00:39:05 +00:00
harishd%netscape.com cd7eee0829 Fixed a crash my making sure that the CNavDTD and HTMLContentSink stacks are synchronized when handling a FORM. b=133410, r=heikki, sr=jst 2002-04-11 23:50:44 +00:00
dbaron%fas.harvard.edu 07103ecbea Fix up and enable hierarchical :hover and remove the hacks that made :hover work for anchors without it. Pass mask rather than pseudo-class to ContentStatesChanged notifications. Optimize event state changes in the style system by passing state mask to HasStateDependentStyle and using it in HasStateDependentStyle implementations. b=5693 r=bryner, joki sr=hyatt 2002-04-11 03:49:30 +00:00
dbaron%fas.harvard.edu 739a1a3e49 Fix percentage font sizes when all font properties specified (and not inherited) by weaking (again) optimization of not calling parent's GetStyleData. b=132381 r=hyatt sr=waterson 2002-04-11 03:29:40 +00:00
rods%netscape.com 3a83bbf187 To fix bustage. 2002-04-11 01:28:37 +00:00
rods%netscape.com 56c0612f03 The real fix is to enable the printing of XUL docs, which is what is crashing.
The best we can do right now is not print XUL Docs. This patch checks to see if
it is a XUL document and if it is it idsplay a dialog and and doesn't Print or
Print Preview.
Bug 136185 r=dcone sr=attinasi
2002-04-11 00:45:11 +00:00
rods%netscape.com 1756fd22db Add a new attr to PrintObject for identifying POs that are to be hidden, not
reflowed. So if a frameset frame's root frame is zero height then we mark it
hidden and not to be printed.
Bug 134769 r=dcone sr=attinasi
2002-04-11 00:33:24 +00:00
harishd%netscape.com 7609e93846 Fix line numbers in html. b=111576, r=heikki, sr=jst, a=asa,chofmann 2002-04-10 22:16:46 +00:00
jst%netscape.com eafd961a01 Checking in jeff.qiu@sun.com's fix for bug 77585. Speeding up nsGenericDOMDataNode::AppendData(). r=cbiesinger@web.de, sr=jst@netscape.com 2002-04-10 21:44:04 +00:00
akkana%netscape.com 24f016af08 129122: add a new serializer mode (used primarily by mail) in which
<br> tags within <pre> blocks are translated to newlines.
  r=nhotta,ducarroz,tmutreja sr=sspitzer
2002-04-10 21:25:15 +00:00