Commit Graph

181 Commits

Author SHA1 Message Date
tor@cs.brown.edu
ec122851bf Bug 87550 - nsImageFrame wasn't adjusting for bordering padding when
invalidating itself.  r=kmcclusk, sr=blizzard
2001-06-25 22:12:15 +00:00
dbaron@fas.harvard.edu
20d7bc6052 Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
pavlov@netscape.com
7b4131e8c8 fixing bug 82520 r=jag sr=hyatt a=tor 2001-06-05 20:22:52 +00:00
hyatt@netscape.com
dfdfa14592 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
attinasi@netscape.com
bc452fa672 Fixed crash when mouse move event is handled by image frame and the baseURI is null (after traversing to the link'd document). b=81728 r=pavlov@netscape.com sr=hyatt2netscape.com a=asa@mozilla.org 2001-05-26 05:46:33 +00:00
pavlov@netscape.com
141d9490b7 changing baseURI to an nsCOMPtr r=jst 2001-05-23 07:00:37 +00:00
valeski@netscape.com
addbf6a47b 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. 2001-05-21 22:40:10 +00:00
mkaply@us.ibm.com
237a3c4b11 More IRIX bustage - CRLF 2001-05-21 00:02:10 +00:00
pavlov@netscape.com
bb46f0c049 fixing bug 32269 r=bryner sr=scc 2001-05-20 21:21:44 +00:00
mstoltz@netscape.com
bff6208f1c Re-checking-in my fix for 47905, which was backed out last night because of a bug in some other code that was checked in along with it. This checkin was not causing the crasher and is unchanged. See earlier checkin comment - in short, this adds same-origin to XMLHttpRequest and cleans up some function calls in caps, removes some unnecessary parameters. r=vidur, sr=jst. 2001-05-19 00:33:51 +00:00
evaughan@netscape.com
2b93d3f3e9 Fix for bug #80902
-r jeff@tcbnetworks.com -sr waterson

Fix for bug #80505

-r aaronl, jgaunt -sr brendan
2001-05-17 23:52:32 +00:00
mstoltz@netscape.com
1dbdb2869e Fixing bug 78831 - treat chrome and resource URLs the same in the
URL loading check and give them access to each other. r=pavlov,
 sr=brendan. This allows us to turn on the fix (already reviewed)
for 69070.
2001-05-15 22:47:21 +00:00
evaughan@netscape.com
c32a797cb6 Landing accessibility
-r aarol, jgaunt

-sr brendan
2001-05-11 21:11:38 +00:00
pavlov@netscape.com
7d02903696 fixing bug 78015 and removing some old imagelib code r=saari sr=hyatt 2001-05-04 06:29:59 +00:00
hyatt@netscape.com
e797066f13 Fix for 77002. reviewers=jst,waterson,hixie,shaver,brendan,pavlov 2001-04-25 19:52:49 +00:00
heikki@netscape.com
7f6759b227 Bug 51339, XHTML map elements did not work, r=harishd, sr=vidur. 2001-04-18 00:14:34 +00:00
pavlov@netscape.com
9944af6c5e fixing printing of images printing them too small. r=timeless sr=ben. bug 73254 and 75425. 2001-04-17 09:03:20 +00:00
akkana@netscape.com
b0ea3b7f1e 74169: Enable controls on image animation in libpr0n. r=pavlov,saari sr=sfraser 2001-04-16 22:02:39 +00:00
pavlov@netscape.com
4bf42c0691 fixing scaling problem r=saari, sr=hyatt 2001-04-15 05:15:48 +00:00
pavlov@netscape.com
46da12cca4 fixing bug 75185 r=brendan sr=attinasi 2001-04-15 02:13:49 +00:00
pollmann@netscape.com
21c8085507 Bug 66399: Make click on targetted server-side image map load resulting page into correct frame, r=nisheeth@netscape.com, sr=jst@netscape.com 2001-04-11 08:12:10 +00:00
sspitzer@netscape.com
12cf238e5e another bulletproofer, until pavlov wakes up. #75416 r=waterson. 2001-04-10 18:16:58 +00:00
pavlov@netscape.com
92da77cb35 fixing images not drawing correctly. bug 73195. patch from kmcclusk@netscape.com. r=pavlov sr=jst 2001-04-04 08:23:14 +00:00
evaughan@netscape.com
690be860d9 XP part of accessibility landing
-r vidur, rods -sr hyatt
2001-04-01 01:01:33 +00:00
pavlov@netscape.com
25b9e6a4b8 fix for bug 73345. r=hixie,bryner sr=cls 2001-03-25 02:56:38 +00:00
pavlov@netscape.com
341ef2ca35 fix for bug 73239. output pixels instead of twips from GetNaturalImageSize. r=ninsheeth sr=shaver,smfr 2001-03-23 21:52:08 +00:00
pavlov@netscape.com
dd7e9002de bug 37779. patch mostly from tor@cs.brown.edu. r=me, saari. r=blizzard for gtk gfx changes. r=rods for the nsImageFrame changes. sr=waterson. needed to land new imagelib. 2001-03-22 07:05:22 +00:00
pavlov@netscape.com
9f2b31a900 adding ifdef'd code to use the new imagelib. bug #70938. r=waterson sr=attinasi 2001-03-22 01:38:35 +00:00
timeless@mac.com
5197e93c42 fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
joki@netscape.com
1b34be5a95 Fix bug 58331, don't access internal frame data after DOM event dispatch. r:peterv sr:jst 2001-03-13 11:32:43 +00:00
attinasi@netscape.com
125fd7cb30 Don't reflow for every notification of an image load if the image frame's size is constrained. b=69552 r=kmcclusk sr=hyatt 2001-03-06 00:47:46 +00:00
heikki@netscape.com
8b420cbe2e Splitting layout into two libraries, layout and content. r=jst@netscape.com, sr=waterson@netscape.com 2001-02-19 21:50:04 +00:00
pierre@netscape.com
5f165d8dc9 Reinstate my changes that were backed out 10 days ago. #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. r=attinasi,sr=buster. 2001-02-07 09:57:26 +00:00
rods@netscape.com
a1ed5b3a4f This checkin enables mozilla to support the printing of selection, the printing of page ranges, and
the printing of headers and footers.
Printing of selection is implemented by the frames figuring out if they are in the selection and painting
if they or not they they don't paint. This also only allows the printing of the first page of
selections, alothough it is well documented where this is implemeted so it can be removed.
Bugs 63426, 31218, 61075 r=dcone,kmcclusk,erik,buster sr=waterson
2001-01-27 14:09:34 +00:00
mcafee@netscape.com
99b5642905 Backing out pierre's change from 1/20 for performance reasons (66263). r=attinasi, a=granrose, phil 2001-01-25 02:58:12 +00:00
pierre@netscape.com
37a4efae45 #43457 split nsStyleSpacing into 4 smaller structures: nsStyleBorder, nsStylePadding, nsStyleMargin, nsStyleOutline. Review=attinasi. Pending Approval: buster. 2001-01-20 22:46:54 +00:00
rods@netscape.com
c0ed0d0271 removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
dbaron@fas.harvard.edu
618fd5b917 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com 2000-12-30 19:22:22 +00:00
warren@netscape.com
0462ea4ce8 Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren@netscape.com
7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
mstoltz@netscape.com
a538cf5586 Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc 2000-10-13 22:59:47 +00:00
heikki@netscape.com
0172e8c80d Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods. 2000-09-19 21:47:04 +00:00
rayw@netscape.com
c6334366cb Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
buster@netscape.com
d67e9fc970 bug 14280
nsTextTransformer.cpp.
  I moved where we translate the nbsp to a (ascii 32 space character) until after the i18n routines are called, so they can properly account
  for the space as non-breaking and therefore part of the first word in the block.

bug  39901 and 38396
  nsHTMLImageLoader.*, nsImageFrame.cpp
  I backed out the bad fix for 38396, and put in a new fix where I store a little state in the image loader flags for cases where the image
  gets an unconstrained reflow and has %-based width.  This does not handle %-based min-width or max-width, that would be a separate
  bug that I'll file shortly.  But this fixes the vast majority of real cases out there.

bug  18754
  nsHRFrame.cpp, quirks.css, nsCSSFrameConstructor.cpp, last part of nsLineLayout.cpp
  in quirks mode, I changed HR from a block element to a replaced inline element that acts like a block, using generated content to get
  newlines before and after the HR.  This isn't ideal, but it gets us backwards compatibility, and ian and dbaron have blessed the approach.

bug  50257
  nsLineLayout.cpp
  Did a couple of things in here:
       * The actual fix is controlled by FIX_BUG_50257 #define symbol.  This basically says that an break (BR) will always fit on a line.
         A more general solution would probably be to round up to the nearest pixel, and if the thing is less than a pixel make it fit on a
         line.  This is a wimpier, safer solution.
       * I noticed that the way we got the compatibility mode was way out of date, very wasteful.  So I fixed that.
       * I noticed that there were a bunch of redundant SetFlag calls.  Since the flag variable is initialized to 0, setting a flag to 0 on a newly
         created object is a waste.

  nsBlockFrame.cpp  --  just added a comment to some odd looking code, to make sure no one comes along later and breaks it
2000-09-11 21:15:02 +00:00
pnunn@netscape.com
e2b172c0f6 bug:13718: natural img dimens. pnunn, r:sfraser 2000-09-08 22:52:05 +00:00
heikki@netscape.com
7a55a9dbfb Got delayed with changed files, here is the second patch... Fixed bug 22710, load and error events were not firing for images. I also changed the select event firing to use nsEvent instead of nsGUIEvent. r=joki. 2000-09-07 21:03:26 +00:00
waterson@netscape.com
b89d5ac3ea Fix build bustage. 2000-08-25 06:22:13 +00:00
waterson@netscape.com
8e2fea6970 Bug 47191. Trim whitespace from relative spec before constructing absolute URLs. r=jst 2000-08-25 06:03:49 +00:00
waterson@netscape.com
24f24b6d51 Bug 49122. Make the image map manage addition and removal of the <area>'s to the primary-frame-for map in the frame manager. r=saari 2000-08-18 06:27:42 +00:00
jst@netscape.com
09553647f8 Fixing nsbeta3+ bug 44002. Don't use non boolean values (the value 2 in this case) as a boolean true since 2 != true in JS. This caused scripts that rely on img.complete == true when an image has loaded to break. r=nisheeth@netscape.com 2000-08-17 06:28:47 +00:00