Commit Graph

6665 Commits

Author SHA1 Message Date
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