276 Commits

Author SHA1 Message Date
jst%netscape.com
855319209e Checking in vidur@netscape.com's fix for bug 81994 which caused scripts on webpages to be executed twice when calling DemoteContainer() in the html content sink. r=nisheeth@netscape.com, sr=jband@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@95899 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 07:03:04 +00:00
pollmann%netscape.com
1720d42be1 Bug 77834: Adding nsIContentList.h, not part of the build.
git-svn-id: svn://10.0.0.236/trunk@95655 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-22 03:40:56 +00:00
valeski%netscape.com
e2736d6096 sr=vidur/shaver@mozilla.org on the content policy callsite and implementation mods (81260). Update of the nsIContentPolicy interface to provide more generic context, a nsIURI instead of a URI wstring, and a nsIDOMWindow for window level context. Existing Callsites have been updated to reflect the new changes, and nsIDOMWindows are now passed into the new API.
git-svn-id: svn://10.0.0.236/trunk@95620 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 22:40:10 +00:00
jst%netscape.com
8e4e3c75fc Fixing bug 81115 that causes the identity of event receivers and event targets to be incorrect in the case where the target/reveiver is an nsGenericElement or a nsGenericDOMDataNode. The problem was the those classes use the event listener manager as a tearoff but QI'ing that tearoff to nsISupports returns the event listener manager and not the element/node, this causes XPConnect to create different wrappers for the same element/node when the event listener tearoff is wrapped in stead of directly wrapping the element/node. This causes problems with event.target in JS, among other things. The solution for this problem was to create a separate tearoff that works correctly and leave the event listener manager alone since it can not be used as a tearoff in all cases. r=pollmann@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@95514 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 07:02:50 +00:00
peterv%netscape.com
f74c7ea12a Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst.
git-svn-id: svn://10.0.0.236/trunk@95505 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 02:59:15 +00:00
vidur%netscape.com
51d5bb6a4a Fix for bug 18843. Dynamically added SCRIPT elements are now processed through a per-document script loader. Script execution that originally occured in the content sinks is now done by the script loader. r=heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@95228 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 05:54:16 +00:00
vidur%netscape.com
b7fe451e66 Part of fix for bug 18843. Dynamically added SCRIPT elements are now processed through a per-document script loader. Script execution that originally occured in the content sinks is now done by the script loader. r=heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@95213 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 05:20:51 +00:00
anthonyd%netscape.com
c76df0b6e2 comments for nsISelection.idl, nothing but comments being added, nothing to see here
git-svn-id: svn://10.0.0.236/trunk@94955 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 06:10:38 +00:00
jst%netscape.com
9d299d36ce Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@94238 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 16:46:42 +00:00
heikki%netscape.com
7788ebd4ed Bugs 67887, 67893, 67882, 68185, 73160, 77923. Added support for XHTML base href and target attributes, meta http-equiv and link href. Fixed the blank page bug when xml-stylesheet PI did not contain href attribute. Fixed getElementById() to not match XHTML name attribute. This fix also includes some minor cleanup. r=nisheeth, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@93488 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-30 23:35:09 +00:00
jfrancis%netscape.com
736e16164c adding NSIRangeUtil implementation and interface to content so that folks outside of layout will have some way to compare dom points to ranges or other points. Groundwork for 65557, among others. r=fm; sr=kin
git-svn-id: svn://10.0.0.236/trunk@93388 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-28 12:02:14 +00:00
erik%netscape.com
a3a70da91b bug 75066; author=simon@softel.co.il; r=jst; sr=erik; diffs from IBM bidi
project (e.g. Arabic, Hebrew)


git-svn-id: svn://10.0.0.236/trunk@92118 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 23:35:24 +00:00
pollmann%netscape.com
fa49d41052 Bug 65609: (DOM) Allow form elements inside a subtree to find their parent when the subtree is appended/inserted. r=nisheeth@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@91014 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 00:45:52 +00:00
hyatt%netscape.com
85789f4550 Fix for 73695. r=danm, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@90721 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 01:30:03 +00:00
waterson%netscape.com
6ce71820d4 Bug 71911. Fix MIPSpro bustage; patch courtesy John Vandenberg <zeroJ@null.net>. r=waterson, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@90711 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-29 00:44:21 +00:00
valeski%netscape.com
e028f93870 r=rpotts. comment changes only. 48726. adding status to idl files of api rev. ifaces.
git-svn-id: svn://10.0.0.236/trunk@90298 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 00:22:18 +00:00
waterson%netscape.com
92db598eb6 Bug 71530. Implement RDF outliner. Break nsXULTemplateBuilder into two subclasses: nsXULContentBuilder and nsXULOutlinerBuilder. Explode helper classes into separate files. Fix ownership and communication between nsXULElement, nsXULDocument, and nsXULTemplateBuilder. r=hyatt, sr=ben
git-svn-id: svn://10.0.0.236/trunk@90243 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-23 10:56:18 +00:00
jst%netscape.com
44345760e7 Fixing bugs 64523, 50018, 57626, 59024, 61413 and probably others, making the document and form JS engine resolve hooks find what they're supposed to find, and nothing more, making the element-by-name and element-by-id lookup in the document be hashtable based to avoid walking the whole DOM tree over and over again when resolving names on the document object and also on form objects. This is an order of magnitude speedup for pages that contain a large number of form controls, such as hotmail and aol mail. Also did a bunch of cleanup here n' there. r=pollmann@netscape.com, sr=vidur@netscape.comI.
git-svn-id: svn://10.0.0.236/trunk@90103 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 08:51:52 +00:00
erik%netscape.com
d294fedda9 bug 71314; author=simon@softel.co.il; r=mjudge,anthonyd; sr=erik; changes
from IBM bidi project (Arabic, Hebrew, etc); some in ifdef for now


git-svn-id: svn://10.0.0.236/trunk@89949 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:16:22 +00:00
joki%netscape.com
ae32024353 Fix 49120 (Force event handler compilation when properties accessed from JS) and 53640 (Fix event capture to work starting from text nodes) r:peterv, sr:jst
git-svn-id: svn://10.0.0.236/trunk@89493 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 11:37:16 +00:00
hyatt%netscape.com
7eeaba98a2 Fix for 70704 and 71261. r=pierre, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@89435 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:34:02 +00:00
Peter.VanderBeken%pandora.be
275b883c56 Expose Reset from nsIDocument.
r=jag, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@89330 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-12 06:39:27 +00:00
heikki%netscape.com
71d5a4d22d Bug 69830, cleanup after layout split by moving duplicated files to a library that is statically linked to content and layout, and backing out changes to inline some functions that now also live in the shared lib. r=jst, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@88896 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 02:41:16 +00:00
locka%iol.ie
a00cf47159 Removed some unused forward definitions, added documentation. b=64327 sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@88296 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-01 13:42:49 +00:00
waterson%netscape.com
072b4036bc Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan.
git-svn-id: svn://10.0.0.236/trunk@87623 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 03:01:34 +00:00
Peter.VanderBeken%pandora.be
bad04a33a1 Content/layout split-up. Not part of the build. r=jst@netscape.com, sr=waterson@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@87368 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 17:51:42 +00:00
jst%netscape.com
2487b0e057 Removing unused file.
git-svn-id: svn://10.0.0.236/trunk@87358 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 13:14:10 +00:00
heikki%netscape.com
80b36e2891 Checking in changes needed for splitting layout into two separate libraries. r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet.
git-svn-id: svn://10.0.0.236/trunk@87357 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 12:55:42 +00:00
heikki%netscape.com
547ee0941d Adding new files needed for splitting layout into two separate libraries (some of these files have been moved from mozilla/layout). r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet.
git-svn-id: svn://10.0.0.236/trunk@87351 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 11:56:40 +00:00
heikki%netscape.com
610c029420 Checking in new files needed for layout split. Not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@87285 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 09:53:29 +00:00
hyatt%netscape.com
8244a8912e Fix for 67739. r=pierre,attinasi sr=ben
git-svn-id: svn://10.0.0.236/trunk@87131 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 21:24:47 +00:00
dbaron%fas.harvard.edu
78915e633d Adding newline to end of file to fix HP bustage.
git-svn-id: svn://10.0.0.236/trunk@87100 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 15:22:22 +00:00
jfrancis%netscape.com
c905838848 bug 50497: plaintext copy loses newlines on paste
bug 57292: copy of table cell contents shouldn't copy cell
bug 57170: some inline style not preserved across copy paste
for all above: r=akkana; sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@87098 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-15 13:22:26 +00:00
nhotta%netscape.com
2dd996accf Changed to control entity (CER) generation by a document charset, bug 65324, r=jst, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@86864 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 01:00:14 +00:00
pollmann%netscape.com
2d0d3de45d Bug 42892: Split FlushPendingNotifications in to content and content+frames cases (speed up content list access), r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86318 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 05:46:46 +00:00
dbaron%fas.harvard.edu
bfc35757e1 Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023
git-svn-id: svn://10.0.0.236/trunk@85638 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 16:58:15 +00:00
dbaron%fas.harvard.edu
6c9757124a Change the way nsDocument stores its children by replacing separate nsVoidArrays for prolog and epilog with a single nsISupportsArray that also holds the root element. Using this change, simplify many of the child handling methods in nsDocument (and fix some bugs in them). Since nsDocument no longer uses prolog and epilog, remove AppendToProlog and AppendToEpilog from nsIDocument. b=47850 r=jst@netscape.com sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85490 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 14:19:38 +00:00
sfraser%netscape.com
4e7e05789b Convert nsIDiskDocument to xpidl, and change it from using nsFileSpecs to nsIFiles. Bug 62567, r= buster, ducarroz, adamlock, sr=kin
git-svn-id: svn://10.0.0.236/trunk@84675 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 22:47:02 +00:00
akkana%netscape.com
13ae4ba935 33088: restructure editor output routines. r=kin,buster,adamlock sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84590 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:01:29 +00:00
jst%netscape.com
c282b18e91 Fixing bug 64513. Adding missing version number to a contract id. r=blakeross@telocity.com
git-svn-id: svn://10.0.0.236/trunk@84509 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 03:06:19 +00:00
jst%netscape.com
e59263f7ec Redoing the way code is shared between different element classes in mozilla, in stead of having an inner object (mInner) and forwarding function calls to the inner object the elements now inherit from what used to be the inner object. Previously nsIJSScriptObject and nsIContent (and related interfaces) were implemented on all leaf classes (~60 classes) and all the methods in those interfaces were forwarded to the inner object, now all those methods are inherited in stead. This saves us ~3600 methods in the layout library (and 160k of code on linux) and cleans the code up considerably. r=pollmann@netscape.com, harishd@netscape.com sr=vidur@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@84036 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-23 10:56:31 +00:00
cmanske%netscape.com
2df58f216c Reinstating table selection work for bug 57863 and fixed textfield.value bug 63376. r=kin, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@83912 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 22:13:54 +00:00
leaf%mozilla.org
758c5a8f89 backing out regression-causing changes to reopen tree
git-svn-id: svn://10.0.0.236/trunk@83903 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 18:09:53 +00:00
cmanske%netscape.com
dafb7a83b7 Convert IDL defines from short to long so enums are PRInt32 on all platforms (fixing build bustage)
git-svn-id: svn://10.0.0.236/trunk@83887 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 03:15:16 +00:00
cmanske%netscape.com
2fc3e46191 Table selection work (part of b=57863): Moved param for GetTableSelectionDate from .h to .idl, requiring change from PRUint32 to PRInt16 for all users. Table Cell ranges are now added in document order (location in table) when selecting multiple cells. Refactored table selection methods and fixed leaks. r=mjudge, sr=kin
git-svn-id: svn://10.0.0.236/trunk@83879 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 01:36:41 +00:00
locka%iol.ie
d1bbed58a9 New encoder fixup helper interface. b=57996, r=jst
git-svn-id: svn://10.0.0.236/trunk@83101 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 01:08:22 +00:00
heikki%netscape.com
41b020b9c1 Bug 59389, eliminate nsIContent::IsSynthetic(). r=jst, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@82397 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 00:42:42 +00:00
jst%netscape.com
d547615f19 Rolling in the last of the NOXIF changes from the Netscape 6 branch, code mostly written by jfrancis. Fixes bugs 50742, 55806, 56000 and 55669. sr=kin, scc. r=kandrot, jst.
git-svn-id: svn://10.0.0.236/trunk@80959 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 22:50:14 +00:00
jst%netscape.com
17e33bbc26 Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst


git-svn-id: svn://10.0.0.236/trunk@80681 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 10:57:30 +00:00
Peter.VanderBeken%pandora.be
2cabd6fa68 Enabling XSLT hooks in layout in default build. Bug #42228. r=axel@pike.org, a=waterson@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@79394 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 20:53:08 +00:00