hyatt%netscape.com
876bd88124
fix for 101746. r=dbaron, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@104752 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 00:19:01 +00:00
pavlov%netscape.com
3b6f9233b7
adding null check to fix orangeness.
...
git-svn-id: svn://10.0.0.236/trunk@104732 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 08:19:44 +00:00
pavlov%netscape.com
38a84b009c
fix for bug 92248 r=bryner sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@104721 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 05:08:16 +00:00
attinasi%netscape.com
b4a54fc96b
Protection against null param for topcrash bug 100298. r=kmcclusk sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@104480 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:01:04 +00:00
bzbarsky%mit.edu
d063da77e9
Move the zero-check to before we divide by the number. Fixes crash when
...
all 3 header or all 3 footer print prefs are empty strings. Bug 102257,
r=rods, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@104358 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 23:57:57 +00:00
mkaply%us.ibm.com
28b39562c5
#81664
...
r=simon@softel.co.il , sr=attinasi for nsTextFrame, sr=blizzard for nsBidiPresUtils
Cleanup of bidi reordering code
git-svn-id: svn://10.0.0.236/trunk@104294 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 03:43:42 +00:00
mkaply%us.ibm.com
5c53d0b96c
#79798
...
r=ftang, sr=kin@netscape.com
Cursor is an ambigous term - use caret to refer to the text caret in Bidi functions
git-svn-id: svn://10.0.0.236/trunk@104268 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 20:35:55 +00:00
vidur%netscape.com
ec7aeceee0
Fixes for printing bugs 84017 and 89151. The fix for bug 84017 removes the need for a resize reflow to get form frame values to print. The restoration of these values into the new frame model is done as part of the initial reflow. The fix for bug 89151 gets rid of the extra frame model built and forces printed images to come out of the decoded image cache. r=darinf, heikki, sr=rpotts
...
git-svn-id: svn://10.0.0.236/trunk@104221 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 17:50:15 +00:00
jaggernaut%netscape.com
51e0dc7a6c
Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
waterson%netscape.com
2a6a7e9708
Bug 58384, 86279. Be sure to trim letter spacing as well as word spacing in TrimTrailingWhiteSpace(). Also, explicitly add letter spacing where appropriate, instead of including it in word spacing. r=shanjian, sr=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@104145 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 22:39:10 +00:00
attinasi%netscape.com
91f86ff305
Fixed image wrapping in tables problems. b=101674 sr=hyatt r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@104133 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 21:42:03 +00:00
gerv%gerv.net
13afb6d0f9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
...
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
kin%netscape.com
dc40a11ac3
Fix for bug 89236: printing is producing crash
...
Modified nsBlockFrame::DrainOverflowLines() so
that it reparents any floater out-of-flow frames
and their views.
r=dbaron@fas.harvard.edu sr=waterson@netscape.com a=pdt
git-svn-id: svn://10.0.0.236/trunk@104107 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 13:59:23 +00:00
peterlubczynski%netscape.com
8798e2a775
Fix for crash when object frame goes away but stream is still going bug 99569 r=av sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@104080 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 03:34:53 +00:00
peterlubczynski%netscape.com
34002614aa
Ignore leading and trailing whitespace for src and data attributes bug 96362 r=av sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@104079 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 03:29:24 +00:00
waterson%netscape.com
6a8ba73bf2
Bug 73235. Don't add scrollbar's width to MES. r=attinasi, sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@103973 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 20:53:21 +00:00
rbs%maths.uq.edu.au
346ef380a5
bug 99010 - font changes. r=attinasi@netscape.com, sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@103967 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 18:34:30 +00:00
rods%netscape.com
fffbeb35b8
Enables the configuration of headers and footers, via 6 string in the nsIPrintOptions
...
3 for the header and 3 for the footer.
The new codes are &T,&U,&D,&P,&PT (see bug for explanation)
Bug 99415 r=kmcclusk, sr=attinasi a=pdt
git-svn-id: svn://10.0.0.236/trunk@103839 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 14:01:26 +00:00
peterlubczynski%netscape.com
0890a85240
Clean up code in part for fix for doing GET rather than POST when NPN_PostURL is called bug 77603 r=av sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@103797 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 02:45:20 +00:00
alecf%netscape.com
e1220d60f7
oops missed this file - use NS_LITERAL_STRING now that API has changed
...
git-svn-id: svn://10.0.0.236/trunk@103784 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 01:10:14 +00:00
av%netscape.com
934a0ed1b4
Fix for bug 91095 -- Default Plugin bypassed if 'code' attribute is missing in 'applet' tag, r=peterl, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@103728 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 22:04:24 +00:00
rods%netscape.com
96d692a5ec
Removed setting page height to 5 pages when printing a document "AsIs"
...
Also, added special case code for sizing of "AsIs" documents when they
are positioned 0,0
Bug 100797 r=kmcclusk sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103713 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 13:00:04 +00:00
attinasi%netscape.com
0259fc9d5a
Don't allow consecutive images to wrap in table cells with percentage width. r=kmcclusk sr=waterson b=100568
...
git-svn-id: svn://10.0.0.236/trunk@103706 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 06:31:46 +00:00
gerv%gerv.net
ed9b258739
License changes, take 2. Bug 98089. mozilla/content/.
...
git-svn-id: svn://10.0.0.236/trunk@103682 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:32:19 +00:00
karnaze%netscape.com
576d4b2e6d
bug 82401 - remove cell from correct parent when cell spans into split row; work around bug 101264 by doing initial reflow with unconstrained height. sr=kin, r=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@103623 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-24 14:53:06 +00:00
pchen%netscape.com
ee539ee4e4
Fix for smoketest blocker 100702, remove extra lines caused by misapplied
...
patch for bug 98107
git-svn-id: svn://10.0.0.236/trunk@103470 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 20:19:39 +00:00
kin%netscape.com
ffd4f979fb
Fix for bug #92215 : [Table Printing] Mozilla crashes when printing the front page of slashdot
...
Modified nsBlockFrame::ReflowDirtyLines() so that it
removes any floaters on it's continuing frames list,
if they are on lines that are being pulled up.
r=dbaron@fas.harvard.edu sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103443 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 13:41:52 +00:00
waterson%netscape.com
289f661b27
Bug 96228. Make nsContainerFrame::PositionFrameView position _only_ the frame's view (don't recur). Explicitly call nsContainerFrame::PositionChildViews as appropriate when moving a frame post-Reflow. Consolidate view positioning logic duplicated between PositionFrameView and SyncFrameViewAfterReflow, which now correctly computes offset for anonymous view in nsScrollFrame and accounts for scrolled views. r=kmcclusk,karnaze sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@103388 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 00:53:29 +00:00
karnaze%netscape.com
1540a4c12e
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
edburns%acm.org
8d3d442afd
bug=98107
...
r=peterl
sr=rpotts
/* According to the HTML 4.01 spec, at
* http://www.w3.org/TR/html4/types.html#type-cdata
* ''User agents may ignore leading and trailing
* white space in CDATA attribute values (e.g., "
* myval " may be interpreted as "myval"). Authors
* should not declare attribute values with
* leading or trailing white space.''
*/
git-svn-id: svn://10.0.0.236/trunk@103177 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 03:34:17 +00:00
hyatt%netscape.com
01431ff45e
Fix for 49874 and 98109, make iframes build their docshells and kick off their content load from frame construction, also enabling the primary content area to be dynamically shiftable. r=jag, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@103168 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 01:53:00 +00:00
peterlubczynski%netscape.com
e88c276837
Implement plugin printing bug 27478 r=av,beard sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@103060 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 02:11:09 +00:00
dbaron%fas.harvard.edu
7bdb46f971
Make fixed positioning code check for NS_AUTOOFFSET to fix positioning of auto-sized fixed positioned elements relative to bottom or right. b=98579 r=waterson sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@103043 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:55:58 +00:00
attinasi%netscape.com
602857076b
Fixing erroneous addition to previously reviewed and approved patch: b=97619 r=bernd sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@103028 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:14:43 +00:00
mkaply%us.ibm.com
8dcfc84412
#83698
...
r=beard, sr=jband
This code was previously r/sr for XP_UNIX. Because the OS/2 Java plugin is based on the Unix Java plugin, we need this fix too.
git-svn-id: svn://10.0.0.236/trunk@102949 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 21:16:19 +00:00
harishd%netscape.com
7c0676bf06
98261 - reconcile the difference between the ContentSink's notion of depth and Layout's notion of depth. r=heikki, sr=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@102932 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 20:44:41 +00:00
peterlubczynski%netscape.com
9b969a0e52
Fix for crash when checking for a sub document bug 96579 r=av sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@102827 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:43:40 +00:00
waterson%netscape.com
25df26f9d3
Bug 84645. Move XBL insertion point logic into nsCSSFrameConstructor, where it can interact nicely with continuing frames. r=dbaron, sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@102820 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:19:41 +00:00
peterlubczynski%netscape.com
5b05cad31c
Correct ussages of data= for object tags embedding documents bug 97799 r=dcone sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@102791 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 04:00:52 +00:00
waterson%netscape.com
56661b67f2
Bug 97383. Include the float's max-element-width in computation of the line's max-element-width so that we're guaranteed to place content next to a left floater. Revert some of the NOWRAP changes that should no longer be necessary. r=dbaron, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@102761 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 22:17:21 +00:00
jst%netscape.com
2ec1ee65c2
Fixing bug 98828. Cache a few nsSpaceManager objects to avoid spending 43%cvs ci -m ! of the time spent in PresShell::ProcessReflowCommand() in new and delete. r=dbaron@fas.harvard.edu, sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@102715 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 00:55:05 +00:00
attinasi%netscape.com
c51c04dbab
Fixed performance issue by restricting the cases in which we traverse up the frame tree looking for a containing block with a real computed height. b=85016 r=karnaze sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@102708 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-11 00:12:28 +00:00
dbaron%fas.harvard.edu
3513e49a5e
Change NS_SUCCEEDED check to null-check since GetDocument may return a null document. r=jag sr=waterson b=99056
...
git-svn-id: svn://10.0.0.236/trunk@102654 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 19:39:25 +00:00
attinasi%netscape.com
e2f7d9afcc
Tweaked the existing CalcQuirkContainingBlockHeight method to allows for percentage based elements in deeply nested blocks, instead of just elements that are directly in the BODY. b=85016 r=karnaze sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@102595 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 20:09:08 +00:00
attinasi%netscape.com
82570cc02b
Fix for image wrapping problems in table cells. b=97619 r=bernd sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@102594 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-08 19:26:34 +00:00
rjesup%wgate.com
8b0885ab65
bug 92573: VoidArray->AutoVoidArray changes for layout/*. r=kin, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@102448 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:11:44 +00:00
waterson%netscape.com
43c613727c
Bug 55086. Change nsContainerFrame::PositionFrameView() to position child views. Eliminate the |aView| parameter from that method, because the view can be retrieved from the frame and need not be done by the caller. Eliminate the NS_FRAME_NO_MOVE_CHILD_VIEWS flag, which was read-only; i.e., never set by anyone. r=dbaron, sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@102321 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 20:27:19 +00:00
karnaze%netscape.com
10f9310e62
bug 95688 - null check on base url which might fix the talkback reports. sr=kin, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@102295 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 14:05:01 +00:00
edburns%acm.org
753ec174c7
r=peterl
...
sr=waterson
a=asa
modules/plugin/base/src/nsIPluginInstanceOwner.h
modules/plugin/base/src/nsPluginHostImpl.cpp
modules/plugin/base/src/nsPluginHostImpl.h
modules/plugin/base/src/nsPluginViewer.cpp
modules/oji/src/nsJVMManager.cpp
modules/oji/src/nsJVMManager.h
layout/html/base/src/nsObjectFrame.cpp
xpfe/global/resources/locale/en-US/region.properties
Here's what I did to fix this bug.
I pestered Rick Potts about the problem of
nsIWebBrowserChrome->SetStatus() not being synchronous. He fixed that
under bug 97227.
Taking advantage of Rick's fix to 97227, I modified
nsIPluginInstanceOwner to have new method, ShowStatus(const PRUnichar
*aStatusMsg). This is necessary to allow for localized messages to be
posted from the plugin, such as "Starting plugin for type
application/x-java-vm" or "Beginnen steckbar für Art
application/x-java-vm".
I modified all the implementations of nsIPluginInstanceOwner:
layout/html/base/src/nsObjectFrame.cpp
modules/plugin/base/src/nsPluginViewer.cpp
I inserted a call to nsIPluginInstanceOwner->ShowStatus() at the part
just before the big "whole damn app freezes when starting java" thing
happens.
I also modifed nsJVMManager.cpp ShowJavaConsole() to do the same. These
are the two places I know of now that can start java.
git-svn-id: svn://10.0.0.236/trunk@102266 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 03:58:34 +00:00
peterlubczynski%netscape.com
4ff5889753
Fix for not setting reflow state on object frame in printing case bug 97563 r=av sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@102257 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 02:45:48 +00:00