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

1938 Коммитов

Автор SHA1 Сообщение Дата
peterl%netscape.com 536fe1d103 removed old autostring constructor per rickg 1999-06-27 20:42:45 +00:00
valeski%netscape.com 32de4bf808 various #ifdef NECKO fixes. 1999-06-27 16:12:20 +00:00
warren%netscape.com fbd6d1dc57 Necko ifdefs for layout and rdf. 1999-06-26 06:36:26 +00:00
akkana%netscape.com 77de9e4f9c - Add a prettyprint flag to the html-to-text sink (false by default).
When prettyprinting is on, we will attempt to make the plaintext
  mimic the look of the html; when off (as for copy/paste), we just
  dump the text with no formatting information.
1999-06-26 00:01:11 +00:00
rjc%netscape.com b71e65cc64 Only set natural order attribute on the containment element. 1999-06-25 09:32:43 +00:00
rjc%netscape.com 990539b30a Unset sortActive and sortDirection attributes if "natural order" is being used. 1999-06-25 09:19:29 +00:00
rjc%netscape.com d61393dde8 Get sorting working with new tree structure. Basically, just look for treechildren instead of treebody when walking down from the root of the tree. 1999-06-25 06:47:28 +00:00
warren%netscape.com 32d4f24430 Changed URLGroup to LoadGroup 1999-06-25 02:31:51 +00:00
warren%netscape.com 4001aade80 Renamed nsIURLGroup to nsILoadGroup in preparation for necko. 1999-06-25 02:17:37 +00:00
warren%netscape.com bde10cf3a0 More necko changes. 1999-06-25 01:53:22 +00:00
waterson%netscape.com b6f0320775 Fix use of nsString with nsAutoString where appropriate. 1999-06-24 21:19:02 +00:00
akkana%netscape.com 8acb7e9e08 5924: Fix XIF handling of HTML comments, and also pass through the document's original formatting whitespace 1999-06-24 20:15:52 +00:00
waterson%netscape.com 4b1f9242e4 Land RDF_19990617_BRANCH. Add Change() and Move() methods to nsIRDFDataSource; add OnChange() and OnMove() methods to nsIRDFObserver. Factor nsIRDFDatasource::Init() and ::Flush() into nsIRDFRemoteDataSource. Change ownership model s.t. a datasource reference counts its observers. 1999-06-24 00:22:58 +00:00
pollmann%netscape.com 3cc85150d7 Adding form submit observer interface for Wallet and Single Signon 1999-06-24 00:07:34 +00:00
warren%netscape.com 15272e93b7 More necko changes. Changed nsIPluginTagInfo2::GetDocumentBase to copy string. 1999-06-23 19:55:21 +00:00
hyatt%netscape.com fc69b0751c Fix for 8735. 1999-06-23 07:21:11 +00:00
warren%netscape.com 1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
hyatt%netscape.com b66c3c67f2 Landing the tree widget branch. 1999-06-23 03:02:21 +00:00
akkana%netscape.com c91c3d0b61 Remove selection methods from nsIDocument -- they were bogus anyway, real selection lives in the pres shell 1999-06-22 21:47:45 +00:00
peterl%netscape.com 36caaab61a removed unnecessary null tests (tested at call site for performance)
cleaned up null link handler testing to avoid URL conputation
1999-06-22 19:25:31 +00:00
peterl%netscape.com 4025e89b09 removed unnecessary null tests (tested at call site for performance) 1999-06-22 19:24:50 +00:00
peterl%netscape.com 7d7e80396c use '-moz-fixed' for pre fixed font hack instead of 'monospace'
cleaned up font api
1999-06-22 19:23:56 +00:00
peterl%netscape.com 1485469e1a allow underscores in idents 1999-06-22 19:22:59 +00:00
peterl%netscape.com d27ebaeab1 fixed skipping of unsupported at rules
made ID parsing CSS2 compliant
1999-06-22 19:22:41 +00:00
peterl%netscape.com 62e9153f02 fixed UMR
added error output for charset converter failure
1999-06-22 19:21:54 +00:00
peterl%netscape.com d160093ada use '-moz-fixed' font for pre hack instead of 'monospace' 1999-06-22 19:19:13 +00:00
peterl%netscape.com 3df4e1bece better protection against bad calls in resolve style 1999-06-22 19:16:40 +00:00
peterl%netscape.com 17693c2f37 added fixed font flag support 1999-06-22 19:16:16 +00:00
rods%netscape.com 4722496f0e Turned on dragOver style 1999-06-22 14:21:27 +00:00
rods%netscape.com 63f061e2e4 Fixed clearing of state for setting style for mouse hover and dragOver Bug #3175
Added support for DROP to force a style change.
1999-06-22 14:20:14 +00:00
kmcclusk%netscape.com 881c29d70e Numerous changes to support gfx-rendered form elements. 1999-06-21 20:41:56 +00:00
rjc%netscape.com 2a4f942c9a Clean up. 1999-06-21 10:46:47 +00:00
rjc%netscape.com 2df2a78102 Turn on. 1999-06-21 09:22:17 +00:00
rjc%netscape.com 3937aff223 Conditionalize. 1999-06-21 09:12:35 +00:00
rjc%netscape.com c806f94639 OnAssert() and OnUnassert() now understand if the contents were generated by a XUL template and, if so, try to do the right thing. 1999-06-21 08:59:14 +00:00
jfrancis%netscape.com efad00c9ea don't consume mouse down events if no link handler (allows text selection to work in links when link clicking is disabled). 1999-06-21 07:56:49 +00:00
jfrancis%netscape.com 94fabdd3d9 making the world safe for null linkHandlers 1999-06-21 07:47:29 +00:00
jfrancis%netscape.com 9d7fc58091 care and feeding of the compiler... 1999-06-20 23:32:22 +00:00
jfrancis%netscape.com 8531cceb6e spring cleaning of interfaces 1999-06-20 23:02:48 +00:00
rjc%netscape.com a853570702 When building a subtree from a template, nodes are now unique until we find one with the "uri='...'" attribute set. 1999-06-20 09:11:25 +00:00
rjc%netscape.com b1c1954e42 Fix bug #8465 by starting at the parent of the node which is about to be inserted when looking for the "ignore" attribute. Also, save the "id" of the template node used to create node... in preparation for getting onAssert() and onUnassert() working fully with templates. 1999-06-20 05:45:40 +00:00
waterson%netscape.com 830f25fc05 Bugs 8453, 8401, 7222. DOM 'insertBefore()' was hopelessly broken, lots of bugs causing random things to happen in the zombie pool. 1999-06-20 00:22:33 +00:00
jfrancis%netscape.com d7a49fad32 fixing bug that broke selection in docs with generated content 1999-06-20 00:12:59 +00:00
sfraser%netscape.com 70b79ed46b Comment out nsTraceRefCnt lines, which should really be debug only. 1999-06-19 21:51:14 +00:00
sspitzer%netscape.com 2c44b3b132 safety checks to prevent dereferencing null 1999-06-19 21:18:13 +00:00
mjudge%netscape.com f94cf28089 oops forgot one 1999-06-19 20:50:20 +00:00
mjudge%netscape.com f98938bdfd up/down selection BRFrames dont allow selecting upon them for now. horizontal bars are now drawn selected. ect. 1999-06-19 20:36:44 +00:00
valeski%netscape.com e23b3c673c NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061. 1999-06-18 17:34:08 +00:00
waterson%netscape.com 082e6c8f04 Bug 3440. Annotate node on 'close' to ensure XUL builder re-runs when the node is opened again. r=rjc, a=chofmann 1999-06-17 22:08:21 +00:00
waterson%netscape.com 6b6dc2a655 Bug 8221. Fix false positive on the leak grep radar. 1999-06-17 19:49:05 +00:00
saari%netscape.com e35eca0fca Fixing Bug #8328, keybinding fix 1999-06-17 01:48:22 +00:00
joki%netscape.com 3e8742b912 Fix for bug 8270. A:chofmann Reenable key events to control tabbing/scrolling 1999-06-16 22:52:16 +00:00
jfrancis%netscape.com 39fd84cbfe bug 8287; rvd sfraser; aprvd buster; aprvd chofmann 1999-06-16 21:38:51 +00:00
waterson%netscape.com 533c62b3a8 When destroying an RDFElement, call SetParent(nsnull) on each of its children so that there aren't any dangling reference back to us (should a child leak, or be referred to by somebody else). 1999-06-16 06:44:23 +00:00
peterl%netscape.com 3e70c0acb6 dont emit error messages when sheets canceled after doc disconnect 1999-06-16 06:16:53 +00:00
peterl%netscape.com ffcfa88bf5 changed initialization of basefont so as not to override font style on HTML elements 1999-06-16 06:15:01 +00:00
pollmann%netscape.com 7730a73adc Bug 2195: select[n] == select.options[n], new implementation for nonstandard DOM interface 1999-06-16 05:19:08 +00:00
joki%netscape.com 87bdaea2dd Fixing event clientx/y coords to have the right value even in subviews 1999-06-16 04:39:51 +00:00
waterson%netscape.com dbf578a94e Bug 6665. Hack to addref resources before doing the sort. This saves mailnews from having to recreate them. 1999-06-16 02:07:56 +00:00
nisheeth%netscape.com 8f16f22564 Fixed a crash that resulted from trying to access freed memory in CSSLoaderImpl::DidLoadStyle(). I was trying to access aLoadData to print out an error message after aLoadData had been freed. Moved the error printing code to where aLoadData still has valid content. 1999-06-16 01:29:27 +00:00
vidur%netscape.com 67ee9dfef9 sink now creates content for BASE element 1999-06-16 00:44:50 +00:00
sfraser%netscape.com c464dfe7ba Don't release the selection that you didn't addref, mister document encoder. 1999-06-15 23:58:41 +00:00
nisheeth%netscape.com c3f5debc82 Fix for bug 4196. Clicking on anchors now targets frames properly. We were being too eager in truncating the target in nsGenericHTMLElement::GetBaseTarget(). 1999-06-15 23:58:07 +00:00
peterl%netscape.com 8eae23158b sync to css loader api change (default namespace) 1999-06-15 06:22:46 +00:00
peterl%netscape.com eb5234afd3 better medium testing api 1999-06-15 06:22:07 +00:00
peterl%netscape.com 5a92df470b added better medium testing api 1999-06-15 06:21:47 +00:00
peterl%netscape.com 8079c8b02f added faster medium testing support
added default namespace support
WIP for faster cascade
1999-06-15 06:20:46 +00:00
peterl%netscape.com d4d5bc6e95 changed medium testing API 1999-06-15 06:19:57 +00:00
peterl%netscape.com eb378fd080 added default namespace id
added safety checks when loading is aborted
1999-06-15 06:19:21 +00:00
peterl%netscape.com 29466176e6 added default namespace id 1999-06-15 06:18:37 +00:00
peterl%netscape.com 79f80316a0 added default namespace ID to loading 1999-06-15 06:18:23 +00:00
peterl%netscape.com a7811ef149 use new medium testing api
use enumeration func for faster rule matching
1999-06-15 06:15:51 +00:00
peterl%netscape.com 93a3dcc5f3 added create child namespace by id 1999-06-15 06:14:59 +00:00
peterl%netscape.com 61dec32772 added UseForMedium (for faster medium testing) 1999-06-15 06:14:31 +00:00
peterl%netscape.com e5916cf43f added new create child namespace 1999-06-15 06:14:09 +00:00
evaughan%netscape.com e2255c4a64 Integrated a new XP scrollbar
Added tri state behavior to titled buttons.
1999-06-15 04:02:43 +00:00
waterson%netscape.com ad1c86cebf Add REF into the element map so that the generic builder sees it in OnAssert() and OnUnassert(). Resolve it to an absolute URI before using so that ref='foo/bar.rdf#bing' works. 1999-06-15 03:21:20 +00:00
joki%netscape.com 2c742db83b Fixes for event going to frames which have changes as a result of other event handlers. (loosely bug 1283) 1999-06-15 03:14:28 +00:00
vidur%netscape.com 1e53949df6 Implemented Set/GetValue for Select elements 1999-06-14 23:14:17 +00:00
vidur%netscape.com 8941203f0b Fix for bug 6154. Unqualified references in the context of a form are now resolved. 1999-06-14 22:09:25 +00:00
jdunn%netscape.com 2c11b7f1ed fixing macro syntax. HP flagged the construct as an error. 1999-06-14 21:16:05 +00:00
waterson%netscape.com 096ab07f71 Fix leak of tree element. 1999-06-14 21:15:29 +00:00
rjc%netscape.com 5853a4243b Unset column sorting attributes instead of setting them to false if they aren't active. 1999-06-14 08:20:35 +00:00
tague%netscape.com 2ee25ba819 Fixed conditional problem when i turned on my keyobard patch. 1999-06-14 04:39:03 +00:00
tague%netscape.com 8688949472 Turned on bug fix for #6896: Windows editorinterprets the period key as a forward delete. 1999-06-13 21:13:12 +00:00
waterson%netscape.com df6128537a Remove crufty code that wasn't doing anything. Fix refcounting on the database. 1999-06-13 18:31:06 +00:00
waterson%netscape.com ea79d87ea4 Remove crufty code that wasn't doing anything. 1999-06-13 18:30:47 +00:00
buster%netscape.com a9f36a0958 added support for style contexts getting background and font defaults from
the pres context.
1999-06-12 22:31:15 +00:00
waterson%netscape.com ee1c9aa7cc Fix incorrect usage of dont_QueryInterface(). Fix bogus refcounting cruft in the nsIContent manipulators that must've been left over from when mChildren was an nsVoidArray. 1999-06-12 19:39:11 +00:00
waterson%netscape.com 6eb6f4542d Fix incorrect use of dont_QueryInterface() that was causing massive leakage. 1999-06-12 19:35:54 +00:00
waterson%netscape.com ae793413a5 Fix incorrect use of dont_QueryInterface() with dont_AddRef(). Use nsCOMPtr in broadcast hookup code. 1999-06-12 19:33:37 +00:00
vidur%netscape.com 1aa9f07f1b Fix for bug 6785. Incorrect reinitializing of mData. 1999-06-12 00:37:36 +00:00
nisheeth%netscape.com c62e745099 Fix for bug 7401. Output an error when a URL load fails. 1999-06-11 23:10:59 +00:00
nisheeth%netscape.com fcf33c238f Patch from Johny Stenback (jst@citec.fi). Thanks a lot. 1999-06-11 19:08:39 +00:00
sfraser%netscape.com 1d5f5e549a Comment out useless assert. 1999-06-10 21:43:08 +00:00
mjudge%netscape.com 225111bf33 fixing table selection again. also adding parameter to nsIFocusTracker that allows us to get the current caret location. I am also stopping nsTableRowFrame from putting blue border around itself since cells are a high enough granularity. made a change to nsIFrame GetPosition to remove some useless parameters ect. this caused me to change nsDOMEvent.cpp and some other places.
MJ
1999-06-10 21:08:17 +00:00
rjc%netscape.com 3161197c50 XUL templates now look for any attribute (other than "uri") which equals "..." and substitutes the URI of the attached node. 1999-06-10 19:44:59 +00:00
peterl%netscape.com 24bee1ac96 added code to ignore unknown namespace prefix for attributes
(actually the parser should've rejected it before here)
1999-06-10 05:33:47 +00:00
peterl%netscape.com f7975c0847 added new rule interfaces & base class 1999-06-10 05:32:38 +00:00
peterl%netscape.com 3b7258b706 better namespace support
made descend from nsICSSRule
1999-06-10 05:30:36 +00:00
peterl%netscape.com 75797028a3 removed cruft 1999-06-10 05:29:53 +00:00
peterl%netscape.com 6609b24e1e added support for other rule types
cleaned up api
1999-06-10 05:29:22 +00:00
peterl%netscape.com cc94275b15 better namespace support
made descend from nsCSSRule base class
1999-06-10 05:28:32 +00:00
peterl%netscape.com 5c11b505d7 added helper method to token 1999-06-10 05:27:01 +00:00
peterl%netscape.com 781a1b7b49 added support for @namespace & @media
stubbed out support for other @rules
sync to sheet api changes
1999-06-10 05:25:23 +00:00
peterl%netscape.com 29ee43f3d1 Cleanup API
Added support for other rule types
Added namespace support
1999-06-10 05:22:13 +00:00
peterl%netscape.com 1b3cc1eb51 sync to style sheet api change
added support for detecting other css rule types
1999-06-10 05:21:22 +00:00
peterl%netscape.com 6c8f1b966b made query for attributes in other namespaces legal, just not work 1999-06-10 05:20:28 +00:00
peterl%netscape.com 784f0c9bee added code to ignore unknown namespace prefix for attributes
(actually the parser should've rejected it before here)
1999-06-10 05:18:46 +00:00
peterl%netscape.com fa94e3b67e removed equals and hashvalue methods 1999-06-10 05:17:27 +00:00
kostello%netscape.com 9e423a7b8c Fix build bustage: changed include to be the right case 1999-06-10 01:06:35 +00:00
kostello%netscape.com 683648b5be Akkana set up a service for encoding a document.
This checkin adds the implementations for encoding
HTML and plain text:

nsTextEncoder::EncodeToString(..)
nsHTMLEncoder::EncodeToStream(..)

Hooked these services into the nsHTMLEditor implemenation

We probably want to update the clipboard code to
use the same pattern as in nsHTMLEditor.cpp
1999-06-10 00:35:02 +00:00
hyatt%netscape.com 431a8f8a69 Popups put the "grrrr!" in "swinger", baby! 1999-06-09 09:03:15 +00:00
hyatt%netscape.com 4837ef67be Ok, everything's peachy on the RDF end. Time to work on the front end. 1999-06-09 08:39:10 +00:00
hyatt%netscape.com 3c9cbf513e Altering the args for createPopup. 1999-06-09 08:36:06 +00:00
waterson%netscape.com 1715e9d49e Don't rely on rdf_PossiblyMake[Relative|Absolute](); rather, use XUL-specific functions to do it. 1999-06-09 08:30:47 +00:00
hyatt%netscape.com fb60c4761f Updating popups to use screen coordinates instead of being hardcoded to (50,50). 1999-06-09 08:00:27 +00:00
hyatt%netscape.com 39f9584c09 Fixing build bustage. 1999-06-09 07:51:52 +00:00
joki%netscape.com 25aab9fee5 Fixing event coordinates to give screen based info. Also fixing direct reference to frames via their names. 1999-06-09 07:38:26 +00:00
hyatt%netscape.com 58cba873bf More content model tweaks. 1999-06-09 05:45:15 +00:00
tague%netscape.com d0540fc75b Conditional fix for #7629. Only builds with a conditional set in my environment 1999-06-09 03:17:56 +00:00
hyatt%netscape.com ae05f65693 Changed event names to "create" and "destroy" 1999-06-09 01:11:39 +00:00
hyatt%netscape.com ecb23ec197 Changed events names to "create" and "destroy". 1999-06-09 01:11:22 +00:00
hyatt%netscape.com 68093a04cc Fix that makes the blur handler ultra-paranoid. It sanity checks its target before
closing the window.  (I'm having to do this since focus/blur events bubble. @#$@#$%#)
1999-06-09 01:07:31 +00:00
hyatt%netscape.com c8acfc6f08 Controller stuff. 1999-06-08 23:04:24 +00:00
hyatt%netscape.com 2ae117dc39 Woo woo. Focus implementation. 1999-06-08 21:58:55 +00:00
hyatt%netscape.com 45176e2d9e Adding new idl. 1999-06-08 21:58:32 +00:00
joki%netscape.com a5de3b4554 Fixing coords for click event since by not setting them at all before they were unlikely to be correct. 1999-06-08 19:28:52 +00:00
joki%netscape.com 71fae75ff6 Fix hover state crash at document change. Bug 6580 1999-06-08 19:01:56 +00:00
hyatt%netscape.com f0aed7d386 Adding a reminder comment to a file for future reference. 1999-06-08 05:24:06 +00:00
hyatt%netscape.com 1605014d5e Added construct and destruct events to the DOM. 1999-06-08 05:10:13 +00:00
hyatt%netscape.com 2537f3bb24 Added support for "onconstruct" and "ondestruct" events for popups. 1999-06-08 05:08:16 +00:00
joki%netscape.com 7e2352ba3a Adding new method to nsIDOMNSUIEvent to give event pos as range offset. 1999-06-08 02:19:26 +00:00
akkana%netscape.com 2b9b55f748 Add Init method to pass in the document and mime type 1999-06-08 00:01:55 +00:00
karnaze%netscape.com 35ef411a8e new style rule for table elements inheriting backgrounds in Nav Quirks mode 1999-06-07 21:09:07 +00:00
akkana%netscape.com b80a790741 Split document encoder's Encode() method into a stream method and a string method 1999-06-07 19:32:36 +00:00
rjc%netscape.com 9638765196 Get context popup menus work on Mac by checking if the CTRL key is down (just like how the Mac's Finder works). 1999-06-07 05:43:09 +00:00
sspitzer%netscape.com 9deb82c07a fix build breakage on UNIX. tindebox builds with --enable-pedantic, which
catches stuff like this.
1999-06-04 23:57:35 +00:00
akkana%netscape.com 02d2da5839 attempt to fix win build bustage 1999-06-04 23:45:25 +00:00
akkana%netscape.com e562ae82cb cast away constness for a temporary fix to windows build bustage 1999-06-04 22:58:47 +00:00
akkana%netscape.com 5185a8d0a0 XIF Document Encoder; and partial fix for XIF-to-html conversion of comments 1999-06-04 22:22:53 +00:00
hyatt%netscape.com 38639ff1bc Fixes for several bugs. 1999-06-04 22:05:47 +00:00
nisheeth%netscape.com 3530c1e1a6 Fix for bug 6892. We should not set focus each time a document viewer creates a new window but leave it to the embedding application to decide when to set focus. 1999-06-04 01:48:38 +00:00
nisheeth%netscape.com 4ad268acd8 Fix for bug 4924. Attributes created with no namespace prefix are now assigned no namespace. They were erroneously being assigned the default namespace earlier. 1999-06-04 01:16:18 +00:00
akkana%netscape.com fdb319aff9 Checking in the non-dangerous parts of the XIF document/html encoder 1999-06-04 01:04:08 +00:00
akkana%netscape.com b0031e0a99 Vidur's initial implementation of Insert HTML Fragment 1999-06-03 22:38:38 +00:00
akkana%netscape.com f3219d053d Part of Vidur's html fragment changes: files which aren't in the build yet 1999-06-03 22:30:12 +00:00
warren%netscape.com c777f81791 Left over from mozilla/base/src. 1999-06-03 21:50:54 +00:00
alecf%netscape.com fb914c4e6d oops, forgot to make this native code for C++ 1999-06-03 20:47:09 +00:00
rjc%netscape.com 30efebddc1 XUL templates are now strong enough to support building menus and menuitems. 1999-06-03 07:16:18 +00:00