2992 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
73d33434d9 Change ScrollFrameIntoView so that scrolling to an inline frame scrolls to the top of the line containing the inline frame rather than the frame itself. This makes scrolling to empty inline anchors or anchors around images work better. b=38280 r=buster@netscape.com sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84693 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 02:43:00 +00:00
sfraser%netscape.com
d9c80e26a8 nsIDiskDocument is now xpidl-generated. bug and reviewers in previous checkin.
git-svn-id: svn://10.0.0.236/trunk@84685 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 00:06:28 +00:00
akkana%netscape.com
0d7c7c2d2b 17686: Add a pref to control image animation. r=tor, sr=buster
git-svn-id: svn://10.0.0.236/trunk@84683 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 23:55:27 +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
anthonyd%netscape.com
32339edfc0 bug fix for 62796
sr=kin@netscape.com
a=jfrancis@netscape.com
r=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@84669 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 21:44:35 +00:00
dcone%netscape.com
ec87b2a0a4 Took outsome debug code which snuck in.
git-svn-id: svn://10.0.0.236/trunk@84660 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-09 20:41:05 +00:00
peterlubczynski%netscape.com
146b1fcb4f removing dup of export of public nsIPrintContext.h
git-svn-id: svn://10.0.0.236/trunk@84610 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 23:02:14 +00:00
dcone%netscape.com
3c3b355433 Took out a duplicate line.
git-svn-id: svn://10.0.0.236/trunk@84609 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 23:00:46 +00:00
peterlubczynski%netscape.com
6d307a92ff export of public nsIPrintContext.h
git-svn-id: svn://10.0.0.236/trunk@84599 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:59:18 +00:00
dcone%netscape.com
e8efbcf3cc export nsIPrintContext.h
git-svn-id: svn://10.0.0.236/trunk@84598 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:53:41 +00:00
waterson%netscape.com
596264480e Bug 57026. Do not reparent views whenever we 'MoveChildrenTo()', because this breaks SplitToContainingBlock(): no views will have been created in this case! Instead, alter ConstructInline() to move views. r=karnaze, sr=buster.
git-svn-id: svn://10.0.0.236/trunk@84593 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:10:44 +00:00
disttsc%bart.nl
7bb4e544d8 Fix Mac bustage
git-svn-id: svn://10.0.0.236/trunk@84592 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:04:51 +00:00
disttsc%bart.nl
7aae0b9eca Add newline to end of file
git-svn-id: svn://10.0.0.236/trunk@84591 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:02:13 +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
disttsc%bart.nl
5845a072d7 Fix linux/unix bustage
git-svn-id: svn://10.0.0.236/trunk@84588 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 21:00:25 +00:00
dcone%netscape.com
5556760ab2 Added nsIPrintContext interface.
Added this so you can now tell if your laying out to a printer.
r=attinasi sr=buster


git-svn-id: svn://10.0.0.236/trunk@84586 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 20:26:05 +00:00
pierre%netscape.com
b2bb962fc9 Not part of the build. Momentarily check in the StyleContext metrics before doing deeper changes.
git-svn-id: svn://10.0.0.236/trunk@84539 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 00:24:41 +00:00
cls%seawood.org
c6df0ee30a Backing out anthonyd's previous checkin as it is causing text boxes to not work anywhere on at least beos, linux & win32.
Bug #62796


git-svn-id: svn://10.0.0.236/trunk@84532 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 15:11:50 +00:00
anthonyd%netscape.com
df8ca35e51 bug fix for 62796 - various range fixes, including a crasher in Range::deleteContents()
sr=kin@netscape.com
r=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@84513 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 04:52:23 +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
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
cmanske%netscape.com
34f19b7ba3 Fixed selecting multiple rows, columns. Bug 64093, r=mjudge, sr=kin,sfraser
git-svn-id: svn://10.0.0.236/trunk@84329 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 00:24:39 +00:00
attinasi%netscape.com
fe76e144b4 Fixed leak in StyleContextCache: destructor was not cleaning up hash table entries. r=dbaron sr=buster b=63627
git-svn-id: svn://10.0.0.236/trunk@84272 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-02 23:13:49 +00:00
timeless%mac.com
5a498a6fe1 fix for bug 63475 Code Cleanup. Based on style flaws noticed in bug 61287
r=bryner, sr=brendan@mozilla.org.


git-svn-id: svn://10.0.0.236/trunk@84252 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-01 03:58:07 +00:00
dbaron%fas.harvard.edu
b4de65c19e Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:22:22 +00:00
blakeross%telocity.com
028f5a31d7 Fix 41077: show caret during selection on Windows. r=rcassin@supernova.org sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@84128 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-28 03:27:23 +00:00
heikki%netscape.com
885b101f3f Bug 45627 and bug 45552. XMLSerializer to deal better with empty elements, special characters, elements from the HTML namespace and namespaces in general, and processing instructions. Removed a lot of duplicate code in XML Extras component, and made several small optimizations with nsCOMPtr initializations. r=vidur, a=jst.
git-svn-id: svn://10.0.0.236/trunk@84112 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 23:48:10 +00:00
sspitzer%netscape.com
681a5f7e34 I have no desire to hear hyatt moo. r=bryner
git-svn-id: svn://10.0.0.236/trunk@84106 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 22:37:09 +00:00
anthonyd%netscape.com
a1ab735a6f fix for bug#58028 - Range CompareBoundaryPoints returning incorrect values
r=jst,kin
a=kin


git-svn-id: svn://10.0.0.236/trunk@84077 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-27 00:37:01 +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
koehler%mythrium.com
50182298c6 Bug 59528 - BeOS: images are drawn outside of its bounding box - r=cls
git-svn-id: svn://10.0.0.236/trunk@84016 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 23:19:04 +00:00
mkaply%us.ibm.com
4caaef016a OS/2 TB breakage
PR_CALLBACK


git-svn-id: svn://10.0.0.236/trunk@83980 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 02:39:03 +00:00
attinasi%netscape.com
fcdcfc547e Turning the Style Context FastCache back on. a=hyatt@netscape, reviewed previously by pierre@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83969 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 23:34:44 +00:00
attinasi%netscape.com
a684a2fc7f Fixes regression due to Style Data sharing: forcing shared contexts to be unique now when they have to be reresolved. b=63118 r=karnaze@netscape.com a=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83959 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-21 22:16:38 +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
e8cfb821a1 Trying to fix speedracer build bustage
git-svn-id: svn://10.0.0.236/trunk@83886 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 02:56:17 +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
dbaron%fas.harvard.edu
0e283e8c8c Make destructors that exist only for MOZ_COUNT_DTOR be #ifdef NS_BUILD_REFCNT_LOGGING instead of #ifdef DEBUG so the leak stats on optimized builds are correct. r=waterson@netscape.com sr=brendan@mozilla.org b=62421
git-svn-id: svn://10.0.0.236/trunk@83772 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 18:56:06 +00:00
blakeross%telocity.com
4dfc8a2520 Fixing a typo (refrlow -> reflow). r=attinasi sr=alecf
git-svn-id: svn://10.0.0.236/trunk@83741 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 23:48:55 +00:00
attinasi%netscape.com
f7c3c2d58d Turned on Style Context Data Sharing. b=39618, r=pierre, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@83711 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 06:09:50 +00:00
jst%netscape.com
74dd2e29a1 Fixing bug 62160, accessing ins or del elements from JS didn't work and caused a crash in the JS GC later on. sr=scc@mozilla.org, r=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83708 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-15 05:48:19 +00:00
hyatt%netscape.com
7de9d1164b Fix for 62301. r=hewitt, sr=ben
git-svn-id: svn://10.0.0.236/trunk@83624 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 09:32:39 +00:00
vidur%netscape.com
33d6574ffe Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@83552 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:13 +00:00
hyatt%netscape.com
c6a53f58a9 Fixing linux build bustage
git-svn-id: svn://10.0.0.236/trunk@83469 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 09:47:05 +00:00
hyatt%netscape.com
2fd7a1940a Speeding up retrieval of anonymous nodes by removing a redundant copy.
a=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@83465 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 09:21:22 +00:00
hyatt%netscape.com
17c7769c81 Adding support for box objects to XML and HTML. Fixed focus bug with Generic Elements
r=jst@netscape.com, a=ben@netscape.com


git-svn-id: svn://10.0.0.236/trunk@83463 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 09:19:59 +00:00
bryner%uiuc.edu
aae64e984b Mousewheel bugs 29244, 50339, 42313, 33733, and 57598. r=rods,pavlov. sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@83448 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 07:28:19 +00:00
dbaron%fas.harvard.edu
fc1d2a9cd5 Convert correct usage of |nsCOMPtr<T>::operator&| to use |address_of| since the operator& will soon become private. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83446 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:46:08 +00:00