Commit Graph

1852 Commits

Author SHA1 Message Date
pinkerton%netscape.com
b067edf867 Moving Screen API away from individual attributes for performance reasons (stage 1). Fixes bugs on win32 with xul popups where taskbar is not at bottom of screen. 2000-04-21 06:55:13 +00:00
yueheng.xu%intel.com
6f65d74f71 fixed #35910 (PostScript error when printing CJK pages but a CJK font dictionary/Unicodedict is not defined.). The fix included a Masaki Tatakai's suggestion to define a NoglyphUnicodedict dictionary and switch at run time. So the default behavior will be: all unicode with non-zero high byte will be printed as "han". With a post processing filter to define a /Unicodedict and its font procedures, above default behavior will be overwritten. This change also fixed 34367, #27311, #18132, so we have italics, bold, etc. style support now. We might also fixed #36264 which is likely a dup of #35910, though #35910 only happens for non ASCIIcontent and #36264 happens for an ASCII content 2000-04-21 01:07:56 +00:00
dcone%netscape.com
1b3b25e6f6 Updated 256 color mode for tiling 2000-04-20 23:33:46 +00:00
beard%netscape.com
3f1ed5ff9c Compatibility with Universal Headers 3.3 or later. a=leaf 2000-04-19 22:13:51 +00:00
dcone%netscape.com
36976a0d00 Updated the Tiling code. 2000-04-18 13:39:26 +00:00
scc%netscape.com
d967b5fb5c making string conversions explicit 2000-04-17 09:57:13 +00:00
cls%seawood.org
56e9ddefaa Changed BeOS linker flags so that it will resolve all symbols when linking shared libs. Added -lbe to OS_LIBS for BeOS. This should get rid of the "missing symbol" error at runtime. 2000-04-17 03:47:33 +00:00
tor%cs.brown.edu
d5fd6b2ed8 Composite work: special case the common framebuffer formats
(32bpp, 24bpp, 16bpp) and general cleanup.  r=pavlov
2000-04-15 19:58:09 +00:00
ftang%netscape.com
86dc9b35f1 improve superscript/subscript/fraction in the transliteration fallback add latin fallback for U+1Exx 2000-04-14 22:32:03 +00:00
tor%cs.brown.edu
e3d6da3d4b Compositing work: fix 16bpp color shift and remove unneeded logic. r=blizzard 2000-04-14 14:50:55 +00:00
ftang%netscape.com
1804c318d0 add fallback code for precomposed hangul 2000-04-14 03:50:57 +00:00
tor%cs.brown.edu
fbebf1c92e Alpha compositing work: fix 16bpp and be more flexible about the
ximage read from the server.  Remove old debugging printf.  r=pavlov
2000-04-14 03:36:05 +00:00
erik%netscape.com
737b559744 bug 35108; we weren't drawing the geometric shapes from the Japanese
JIS X 0208 fonts on Unix; fixed now
2000-04-13 21:13:04 +00:00
erik%netscape.com
f2f541d32f bug 35515; get *-iso10646-1 fonts to work by correcting the test for glyph
availability; bug 35665; add support for microsoft-cp1251 fonts
2000-04-13 03:24:13 +00:00
troy%netscape.com
b2bf96d0c6 b=34731 Fixed bug in Unicode version of GetWidth() that takes a line break array.
Also added an ascii version of function
2000-04-12 14:49:46 +00:00
dcone%netscape.com
267816d9ac Changed some tiling code. Cleanup up how DIB's and DDB's are cleaned up. 2000-04-12 13:52:10 +00:00
dcone%netscape.com
ba0010a19e Changed some tiling code. 2000-04-12 13:47:03 +00:00
cls%seawood.org
fc6c8a2097 BeOS build fixes. Bug #34553 2000-04-12 06:20:59 +00:00
pavlov%netscape.com
b148e60588 disable x11-shm code until crash can be looked at
rewrote image drawing code
  -- refactored drawing
  -- added tiling code
added patch from Tim Rowley <tor@cs.brown.edu> for 8bit alpha compositing of images (not used yet)
2000-04-12 02:23:12 +00:00
ftang%netscape.com
a940d655e5 add transliteration fall back . fix bug 33501 2000-04-11 22:41:21 +00:00
erik%netscape.com
bd62b54933 was dereferencing a NULL pointer for some fonts; discovered via Beta 1's
TalkBack; r=troy; a=leaf
2000-04-07 17:47:40 +00:00
erik%netscape.com
5025979c67 bug 30382; mostly written by tor@cs.brown.edu, partly by me; re-use the
font name cache in nsFontMetricsGTK.cpp from the device context
2000-04-05 03:56:15 +00:00
mkaply%us.ibm.com
20aacb7ad0 # 33860
r= mkaply@us.ibm.com
OS/2 bring up - bad code in drawing cursor
2000-04-05 02:28:40 +00:00
Jerry.Kirk%Nexwarecorp.com
0a76fbb383 Fix extern definition of PdReleaseDirectContext it should be extern'd as
a "C" function. PHOTON ONLY
r=kedl
2000-04-04 14:28:43 +00:00
dcone%netscape.com
3f94a07786 Added a CanTile() method. 2000-04-04 13:27:28 +00:00
dcone%netscape.com
2fa4791b0f Added a CanTile() method 2000-04-04 13:27:10 +00:00
pierre%netscape.com
66aaad2336 Fix a crash with Test10: a missing SetPort() in FindScreenForSurface(). 2000-04-04 08:01:15 +00:00
cls%seawood.org
fdd09457b4 Fix for EXTRA_DSO_LIBS in rules.mk
OS/2 Makefile.in changes (Patch 4a).  Bug #34106
2000-04-04 07:37:50 +00:00
cls%seawood.org
f6740baa20 Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287 2000-04-04 04:46:38 +00:00
erik%netscape.com
78bd430e0d bug 34037; added KOI8-U Ukrainian support for Unix 2000-04-04 04:36:32 +00:00
yueheng.xu%intel.com
278b89630c fix to bug #31351 (printing need support Unicode string) and bug #30176 (Fail to
print Chinese webpages). Design documentation is at http://linux.webchina.org/
printing/cprint.html. Tested existing ASCII pages and it remains working as before. For Chinese pages or other i18n pages, need Unicode encoded PostScript font support on the platform for rendering. Here we just output Unicode and user defined rendering
procedure 'unicodeshow'. For platforms without a Unicode encoded PostScript font, need a seperate post-processing utility to insert the font info at run time before the PostScript file is fed into a printer. I have such an utility documented in above web address and it depends on a TrueType font file which the user should buy by themselves. r=dcone.
2000-04-04 03:23:45 +00:00
erik%netscape.com
f2f736b027 enabling the CSS font-family fix that the MathML guys contributed, by
turning the ifdef MATHML's into #if 1's
2000-04-04 01:20:35 +00:00
Jerry.Kirk%Nexwarecorp.com
0d2a2c7280 Adding Screen classes for Neutrino and makeing small interface changes
to catch up with new version of Photon header files that appeared
during latest Patch G.
PHOTON ONLY
2000-04-04 01:17:13 +00:00
erik%netscape.com
4fd828211a enabling the "Symbol" font support that was added by the MathML guys for
Unix, by removing the #ifdef ...MATHML
2000-04-04 00:56:02 +00:00
bruce%cybersight.com
4a5a34ee41 Fix for #34220. r=Pavlov 2000-04-04 00:33:34 +00:00
mkaply%us.ibm.com
7e138ea359 # 33860
r= mkaply@us.ibm.com
OS/2 bringup
2000-04-04 00:07:04 +00:00
erik%netscape.com
e9264f0862 bug 30022; added support for Enlarge/Reduce Text Size for Unix 2000-04-03 22:55:29 +00:00
mkaply%us.ibm.com
5be529fbad # 33859
r= dcone@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-04-03 22:40:31 +00:00
dcone%netscape.com
5f5ddc54b4 Added some tiling support. 2000-04-03 13:39:30 +00:00
scc%netscape.com
a3e01d96a8 making string conversions explicit 2000-04-03 08:27:43 +00:00
erik%netscape.com
1a0cae1f6c bug 30022; added Set/Get TextZoom for enlarging/reducing fonts only;
r=pierre,troy; will do Unix next; someone will take care of the Mac
2000-04-02 21:47:15 +00:00
Jerry.Kirk%Nexwarecorp.com
16d4e3ac8a Remove local copy of nsIRenderingContextImpl.h and inherit from
gfx/public/nsRenderingContextImpl.h like everyone else.
Photon Only.
2000-04-02 14:42:15 +00:00
cls%seawood.org
da66e49516 Adding a script to print out which of a given list of files do not end with a newline. Source files that do not end with a newline break at least the HP-UX compiler. Adding newlines to all of the source files found at this point. 2000-04-02 07:17:25 +00:00
cls%seawood.org
fc8d5ec6e6 OS/2 specific Makefile changes. Bug #34106 a=leaf 2000-04-01 10:37:01 +00:00
pavlov%netscape.com
8ae4c3bced fix ref problem with gc's from the gc cache. fixes bug 32120 2000-03-31 09:55:47 +00:00
troy%netscape.com
04d42a3503 Added new GetWidth() function that takes as additional arguments an
array of break points and an available width and then returns how many
characters fit in the available width. This allows the text frame code
to measure in chunks instead of just a single word at a time
2000-03-31 03:34:05 +00:00
dcone%netscape.com
ddb2a0e497 Use the nsRenderingContextImpl as the Base Class for nsRenderingContextImpl. 2000-03-30 15:13:12 +00:00
dcone%netscape.com
85e172407c Put nsRenderingContextImpl.cpp into the build. 2000-03-30 15:11:01 +00:00
dcone%netscape.com
dedad8ce7c Put nsRenderingContextImpl in Manifest. 2000-03-30 15:09:03 +00:00
dcone%netscape.com
cdd098a3ed Added some methods for Tiling backgrounds. 2000-03-30 15:01:41 +00:00
dcone%netscape.com
c7825191f2 Added some methods for tiling. 2000-03-30 15:00:45 +00:00
jim_nance%yahoo.com
dc0e139673 Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
dveditz%netscape.com
4e80826107 resurrecting VC5.0 build by disabling multiple monitor code when _MSC_VER is less than 1200 2000-03-30 01:00:28 +00:00
waqar%netscape.com
71fb271a55 r=dcone@netscape.com
d=Cross platform addition to the Rendering context.
2000-03-30 00:50:05 +00:00
pavlov%netscape.com
b2926528b8 remove some tests that are no longer valid 2000-03-29 23:42:08 +00:00
dcone%netscape.com
985b19482a Added nsRenderingContextImpl to Mozilla.. Windows now uses this Implementation..
other platforms to follow.  r=kmclusk
2000-03-29 15:53:29 +00:00
dcone%netscape.com
d93b9829a3 Added a new class.. which will be a cross platform implementation for the
RenderingContext.  r = kmmclusk
2000-03-29 15:49:25 +00:00
warren%netscape.com
727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
troy%netscape.com
4e2ec77d3b Added GetAveCharWidth() function 2000-03-29 01:26:08 +00:00
dcone%netscape.com
1817600339 Fixed the masks for the Images.. cleaned up some routines.
r=mmclusky
2000-03-28 14:41:21 +00:00
erik%netscape.com
43a65f0fca lang group table has been added to proper location under mozilla/intl;
removing the redundant table here; minor change; r=none
2000-03-27 04:55:35 +00:00
rbs%maths.uq.edu.au
489983c1d4 [#ifdef MOZ_MATHML: NOT PART OF THE DEFAULT BUILD] Rename x-cm-cmex to x-t1-cmex, and x-cm-cmsy to x-t1-cmsy, in accordance with the nomenclature in the ucvmath module 2000-03-27 00:10:29 +00:00
scc%netscape.com
ef0cdea840 small changes to clients of string converting APIs 2000-03-26 08:50:15 +00:00
pierre%netscape.com
dfc365a5f0 #3371. Added support for the Appearance Manager in the css2/css3 system fonts. 2000-03-25 19:44:00 +00:00
pierre%netscape.com
924dd819c1 #3371. Implemented css2/css3 system fonts. GFX on Windows and GTK needs to be completed. 2000-03-25 18:54:36 +00:00
pinkerton%netscape.com
9c10daa841 Updating device context to work with multiple monitors (r=hyatt). fixes bugs 21942, 32611. 2000-03-24 22:03:29 +00:00
beard%netscape.com
6e3b65fab7 bug #28559, fix device context leak, r=dcone 2000-03-24 21:41:15 +00:00
beard%netscape.com
dbd4a9b3ac bug #33091, added range check to prevent memory corruption, r=kmcclusk 2000-03-24 21:32:10 +00:00
tbogard%aol.net
bd5b532ce6 Adding implementation for the new method OnStartURIOpen on nsIURIContentListener. 2000-03-24 00:26:51 +00:00
blizzard%redhat.com
41c318779d clean up to use generic factory constructors. _so_ much cleaner this way. r=pavlov,shaver 2000-03-24 00:00:22 +00:00
pierre%netscape.com
bbfa2dc285 #32339 "font-weight: bolder and font-weight: lighter not working correctly on Mac". 2000-03-23 22:21:15 +00:00
sfraser%netscape.com
a1c3f75e00 Move StPixelLocker into nsGfxUtils.h, and added some code so that transparent images print properly. r=jfrancis 2000-03-21 21:54:08 +00:00
sfraser%netscape.com
e3042083ab Use StPortSetter from the nsGfxUtils.h header. r=pinkerton 2000-03-21 21:43:13 +00:00
waqar%netscape.com
143cd8b917 r=pollmann@netscape.com
#=1248
d=Rendering of images on slow connections. The code was submitted by
adam@gimp.org. I reviewed it and tested it.
2000-03-21 01:43:24 +00:00
pnunn%netscape.com
9a411e4518 bug#32377. fix leak, handle error. r:bruce@cybersight.com 2000-03-21 01:39:42 +00:00
pinkerton%netscape.com
3af4603d30 caching screen objects to avoid repeated memory allocations. r=saari. 2000-03-21 01:34:02 +00:00
dcone%netscape.com
63dae09a9e Added a new interface for the tiling of backgrounds. r=rods 2000-03-20 15:53:17 +00:00
morse%netscape.com
7107518582 implement test for detecting foreign images 2000-03-19 16:58:35 +00:00
bryner%uiuc.edu
958b4d7987 Handle the static library dependencies correctly. r=pavlov. 2000-03-19 06:14:02 +00:00
pinkerton%netscape.com
32b9f26794 making dev context use screen manager to get info about the screen. r=sfraser. 2000-03-18 00:57:22 +00:00
pinkerton%netscape.com
e17aeaff6f adding numberOfScreens to interface. minor cleanup. 2000-03-18 00:56:34 +00:00
sfraser%netscape.com
b17dd52588 First Checked In. 2000-03-18 00:29:07 +00:00
dcone%netscape.com
6004b14bbd fixed a multiple definition of nsISupports. r=beard 2000-03-17 21:55:25 +00:00
neeti%netscape.com
760f19694f fix for 29853 in trunk, r=dp,Animated ads are stopping after one loop, and are then being reloaded from the server 2000-03-17 21:51:31 +00:00
dcone%netscape.com
6b627911a8 Added method to get the deviceCaps for the technology.. to be used for printing.
And a more efficient method to draw an image when only part of it has been read in.
r=attinasi
2000-03-17 15:51:58 +00:00
dcone%netscape.com
65b9a74a24 Added method to get the deviceCaps for the technology.. to be used for printing.
r=attinasi
2000-03-17 15:50:56 +00:00
pinkerton%netscape.com
120e64e906 screen manager and screen impls, first cut assuming only one monitor. make the dev context use them. r=pavlov. 2000-03-17 06:09:24 +00:00
pinkerton%netscape.com
3a3bf85501 Single-monitor impl of screen manager/object for win32 just to get something in place. DevContext
now uses it, but will also have to be tweaked when the multi-monitor impl is implemented. Just
pushing code around for now, nothing major. r=danm.
2000-03-17 04:15:39 +00:00
pnunn%netscape.com
1e18604b32 bug#29853. r:davidm. preserves background loading attribute when imglib sets
load attributes from imglib reload policies. pnunn
2000-03-17 00:13:04 +00:00
sfraser%netscape.com
89642093ed Changes to nsRepeater to allow it to handle idlers as well as repeaters. bug 904. r=pinkerton 2000-03-16 23:01:56 +00:00
bruce%cybersight.com
5d6b5ce6dd Fix a potential leak of a drawing surface. Fix a definite and frequent leak of graphics contexts. r=Pavlov. 2000-03-16 06:53:59 +00:00
pavlov%netscape.com
f681f9974d make destructors virtual to fix warnings 2000-03-16 06:51:22 +00:00
pinkerton%netscape.com
4d5376543f create the screen manager service when asked. 2000-03-16 04:57:05 +00:00
pinkerton%netscape.com
b73f02a86b add screen and screen manager to the build. r=scc. 2000-03-16 04:56:39 +00:00
pinkerton%netscape.com
3898cef2b9 adding screen manager r=scc 2000-03-16 04:55:46 +00:00
pinkerton%netscape.com
e5d45e65c8 First Checked In. 2000-03-16 04:49:32 +00:00
dbaron%fas.harvard.edu
4bc2e51d2b Fix leak of nsPref. Bug 28819. r=erik@netscape.com 2000-03-16 01:36:48 +00:00
erik%netscape.com
81fa2a5b4a local .cvsignore file; does not affect build; r=none 2000-03-15 17:37:47 +00:00
dcone%netscape.com
74470ca9fd Added a calculatioin for the offset in the lock. This is needed for the blending. r=rods. 2000-03-15 15:17:55 +00:00
dcone%netscape.com
a366d55b11 fixed blender to work with the new viewmanager and mutliple bit depths.
r=rods
2000-03-15 15:07:14 +00:00
dcone%netscape.com
bc84a3e1fa fixed blender to work with viewer, cleaned up code, now works at most bit depths.
r=rods
2000-03-15 15:06:35 +00:00
kmcclusk%netscape.com
1fedf5bd6d Changed call nsFontMetricsWin::GetFontWeightTable
from ToCString to WideCharToMultiByte to support multibyte font names.
b=28399 r=rods@netscape.com
2000-03-15 01:18:34 +00:00
ftang%netscape.com
3454f3f8ca fix bug 29498. remove buggy hebrew hack untill the layout level support bi-di
by the bi-di team. r=erik
2000-03-14 09:39:57 +00:00
ftang%netscape.com
342c90824c fix 29498. Remove hebrew/arabic hack until bi-di team have the real solution in the layout level. r=erik 2000-03-14 09:31:39 +00:00
pierre%netscape.com
f1d816a488 #581 "CSS "must have" fonts cursive and fantasy aren't supported". Changed the default fonts to be compatible with OS9: cursive is Apple Chancery instead of Zapf Chancery and fantasy is Gadget instead of New Century Schlbk. 2000-03-14 08:55:12 +00:00
troy%netscape.com
7ee600dafc Changed to use threadsafe implementations of addref/release 2000-03-14 04:06:10 +00:00
erik%netscape.com
5bef42992c bug 454; use fallbacks for the popular windows-1252 characters on Unix;
for example, ellipsis is drawn using three dots "..."; r=rbs (Roger Sidje)
2000-03-12 23:13:49 +00:00
rickg%netscape.com
194f10b94d landing phase 2 to remove deprecated string calls 2000-03-12 11:10:07 +00:00
rickg%netscape.com
ffe78e83e5 removed calls to deprecated string methods 2000-03-12 09:14:14 +00:00
rickg%netscape.com
62e292619d removed references to nsStr 2000-03-12 08:58:33 +00:00
pavlov%netscape.com
50476c6454 fix for lack of selection drawing on 8bit displays bug 17968 2000-03-12 06:24:13 +00:00
erik%netscape.com
9391108515 removing unused code; a=blizzard 2000-03-11 19:28:35 +00:00
pavlov%netscape.com
ecfbc0cc6f add code to the destructor so we clean up our object 2000-03-11 10:53:50 +00:00
rbs%maths.uq.edu.au
450f4f021a Move maps from PRUint8* to PRUint32*. Use the charset converter manager to retrieve maps and convertres. Added GetGlyphIndices(), fix for b:6585, and lay some groundwork for new modes (e.g., HEX/Unicode) for ViewSource, r:troy,erik. a:troy 2000-03-11 07:49:08 +00:00
pavlov%netscape.com
1c9cecf145 fix speedracer 2000-03-11 04:34:33 +00:00
pavlov%netscape.com
ce094b4cfc changes to let us build on MacOS X 2000-03-11 03:08:04 +00:00
Jerry.Kirk%Nexwarecorp.com
11b20e4abd Clean-up Makefile and bring it more in line with GTK version. 2000-03-08 13:39:09 +00:00
toshok%hungry.com
6be7a25f82 move variables that were static to the file and (in the case of copyRegion) static to a function into private/static variables in the class. gets around a strange GOTOFF warning/crash when using g++ 295 and binutils 2.9.1 2000-03-08 06:06:45 +00:00
mkaply%us.ibm.com
419752f670 # 25555
r= dcone@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-03-07 20:52:13 +00:00
Jerry.Kirk%Nexwarecorp.com
329e21e349 Removing -DDEBUG to force PR_LOGing on, this causes optimized builds
not to link correctly.
PHOTON ONLY
2000-03-07 13:30:49 +00:00
Jerry.Kirk%Nexwarecorp.com
fad4735ad1 Fix binary character that got checked in by accident.
PHOTON ONLY
2000-03-07 01:52:45 +00:00
warren%netscape.com
c24fe181c5 Fixing anticipated bustage due to thread safety checking code. 2000-03-05 23:56:59 +00:00
warren%netscape.com
c0497e31be Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
tor%cs.brown.edu
d7527c45a1 Bug #30160. Replace expensive XListFontsWithInfo with XListFonts.
r=blizzard,erik
2000-03-04 02:00:08 +00:00
dcone%netscape.com
1e2e771716 draw only the part of the image that has been read in. This limits the size of the blitting.. which can be quite a few blits depending on the image and the incremental loading and drawing. r=kmclusk a=rickg. 2000-03-02 21:00:59 +00:00
cls%seawood.org
7d85eea7c4 More fixes for motif build. Bug 22266 2000-03-02 12:33:06 +00:00
jbetak%netscape.com
03cf5064ad a=bobj, r=troy, erik, bug 21127 font prefs do not list fonts 2000-03-01 00:12:13 +00:00
cls%seawood.org
81ce504bb7 More fixes for the motif toolkit. Bug #22266 2000-02-28 01:13:43 +00:00
cls%seawood.org
63181e575e Implement nsFontMetric gfx changes for motif. Vain attempt to fix bug #22266. 2000-02-25 23:06:40 +00:00
dcone%netscape.com
be56173884 Make the Descent positive.. thats how we use the descent for our fonts. r=buster a=rgessner b=22009 2000-02-25 14:34:01 +00:00
Jerry.Kirk%Nexwarecorp.com
256e51e70b Intermediate fix for drawing large images. This was really slow on test4
and the disney page.
2000-02-25 13:51:01 +00:00
bryner%uiuc.edu
6985354db4 Adding a new flag to the Win32 build system. Set DISABLE_TESTS=1 to skip
building in the tests directories.  Should not affect the build at all if
you do not have this environment variable.  r=leaf.
2000-02-25 04:12:40 +00:00
pierre%netscape.com
6875bf641b Bug 18136/21950 "Fixing the font size mess". Implemented Todd Farhner's system in nsStyleUtil. Disabled the font size rounding code on Windows (see bug 24005). r=erik, a=rickg 2000-02-24 12:51:28 +00:00
gagan%netscape.com
d4293a9bc7 r=valeski,rjc a=jar. Fixes for the following bugs-
bug 1582 - HTTP Referer header problem.
This is now resolved with a preference (network.sendRefererHeader)
If set to 0 no referrer header is sent (ever) If set to 1 the
referrer header is sent only in cases of user link-clicks and if
set to 2 is sent from image requests as well.

bug 17158 - No Proxies For wasn't implemented.
This was not being read correctly and I also moved and cleaned up
the parsing function to nsProtocolProxyService (thereby also
killing bug 27728)

bug 24642 - http://www.win98central.com/#437 was crashing.
bug 26686 - crash in nsHTTPRequest destructor.
Both of these crashes were because of the nsHTTPRequest being
unconditionally released in the destructor of nsHTTPChannel. Although the main problem remains, I have made it a non-crasher now.

bug 27844 - HTTP breaks when only using FTP proxy.
This was happening because we were not resetting values of the
proxy when they are removed from the preference pane.
2000-02-23 21:17:17 +00:00
alecf%netscape.com
e6d9bf2658 fix xlib build (does not affect default seamonkey build!) 2000-02-20 02:49:34 +00:00
troy%netscape.com
f7fb63eb17 b=27056 a=rickg@netscape.com r=erik@netscape.com r=vidur@netscape.com
Performance improvements. Reduce the number of ::SelectObject() calls
when measuring text and displaying text
2000-02-19 01:59:18 +00:00
alecf%netscape.com
d6a7e12777 fix for #28275, r=erik, a=chofmann,phil
properly unregister for pref callbacks
2000-02-17 23:38:23 +00:00
Jerry.Kirk%Nexwarecorp.com
8f466b4ecd Increase the draw buffer size for PHOTON only. This was causing us
to be unable to render pages that had images in which a single
line was more than 4096 bytes. PHOTON ONLY.
a=leaf
2000-02-17 00:44:50 +00:00
cls%seawood.org
8b30dc934f BeOS specific tweaks to allow the browser to compile.
Fixed configure.in to properly set developer specific debug flag under BeOS.
Added UNIX_CRASH_ON_ASSERT ifdef to stop BeOS from bring up debugger on non-abort assertions.
2000-02-16 08:06:00 +00:00
pnunn%netscape.com
e9a299a219 Bug#27691: fixes printing by changing reload policy for image lib. r:mcafee 2000-02-16 05:57:52 +00:00
pnunn%netscape.com
7a76f72498 bug#27691. fixes printing by changing default img reload policy. r:mcafee 2000-02-16 05:56:56 +00:00
Jerry.Kirk%Nexwarecorp.com
29f1ac98a8 Overwrite the checked in version to get rid of a binary character
that somehow got checked in.
2000-02-15 21:25:45 +00:00
mscott%netscape.com
23a00a46c6 This is one of those do the right thing bugs even though I don't have a PDT+ bug for it. Travis and I noticed
today that image urls weren't properly getting added to the doc loader of the containing document. So the top
level document would report a document done notification before the document may really be done.

The fix is to pass the load cookie nsISupports object which originates from the docshell that is opening the
url down into the gfx image code instead of passing the load group down.

r=travis.
2000-02-15 04:49:32 +00:00
mkaply%us.ibm.com
490394c65a # 25555
r= jdunn@netscape.com
OS/2 changes for Mozilla
2000-02-14 15:57:53 +00:00
Jerry.Kirk%Nexwarecorp.com
476a1a032c Fixing Combo-Boxes and other things that use GetSystemAttributes
began work on getting fonts to work "correctly" whatever that is...
PHOTON ONLY
2000-02-14 15:30:18 +00:00
Jerry.Kirk%Nexwarecorp.com
dbcc34f2c1 Update nsImagePh class and bring it more in line with the GTK version.
PHOTON ONLY
2000-02-14 13:22:07 +00:00
syd%netscape.com
592a52285e Added prefs support for margins, complete support for printer preferences in
Unix postscript printing. r=ben. Fixes bugs 4637 and 4638.
2000-02-14 10:15:17 +00:00
syd%netscape.com
6d240800fc Take netscape out of the dialog name, this is used by mozilla also.
Save printer dialog settings to preferences. Still have to hook up
margins. r=dveditz
2000-02-14 09:09:43 +00:00
erik%netscape.com
14579428e7 bug 27543 and bug 27566; crashing in profile manager; need to unregister
pref callback when destroying device context; r=none
2000-02-13 18:05:36 +00:00
erik%netscape.com
8e94846f15 bug 13072; we now take the smaller font when the desired font size is
precisely half-way between 2 available fonts; this avoids the 18-pixel
times font on systems with only the "75dpi" (sic) fonts installed;
the 18-pixel font is too large and bold-looking; r=tao
2000-02-12 22:17:15 +00:00
erik%netscape.com
41c4b4d248 bug 24005; wrap a pref around the font size rounding code, as discussed
by rickg, Eric Krock, buster, pierre and I; r=pierre
2000-02-12 17:28:41 +00:00
pnunn%netscape.com
aa85daed4b bug# 21036: Change imglib reload policies to work with necko load attributes. pnunn, r:neeti,dp. 2000-02-12 01:51:57 +00:00
Jerry.Kirk%Nexwarecorp.com
3fc4e7a084 Add support for the GetSpaceWidth() method in nsFontMetrics and added
the call to it in nsRenderingContextPh::GetWidth. This is PHOTON ONLY.
2000-02-11 14:44:50 +00:00
bryner%uiuc.edu
562036ebfc We don't need to build xlibrgb except when compiling the motif or xlib
toolkits. r=pavlov@netscape.com.
2000-02-11 03:07:32 +00:00
attinasi%netscape.com
5e98c782e5 case-insensitive check for font-name in LoadFont. r=eric b=27005 2000-02-11 01:22:20 +00:00
erik%netscape.com
e70304a0fb bug 24005; putting the font size rounding code back in, since removing it
caused problems; part of ongoing discussion between rickg, pierre, etc.
2000-02-11 01:05:55 +00:00
pnunn%netscape.com
28b1afa12e fix for bug#25021. r:neeti, rpotts. fix needed for pdt bugs. pnunn. 2000-02-11 00:55:37 +00:00
Jerry.Kirk%Nexwarecorp.com
0427220fc1 Check in updated version of nsGfxFactory that manages the ImageManager
class. This was crashing us. PHOTON ONLY
Also added un-finished nsFontEnumerator class to nsFontMetricsPh
2000-02-10 13:13:29 +00:00
kmcclusk%netscape.com
cd6f5d237b Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
Jerry.Kirk%Nexwarecorp.com
052d7dde17 Finish initial conversion from Photon 1 to Photon 2.
Force all off-screen drawing to be done in video card RAM instead of main
system RAM using Pd functions instead of Pm functions. PHOTON ONLY
r=kedl
2000-02-09 14:07:54 +00:00
dcone%netscape.com
914645e511 Fixed some flags and mask's in 16 bit blend. r=rods 2000-02-09 06:09:43 +00:00
dcone%netscape.com
496958732f Took out a bogus call to ::LockPixels().. r=rods 2000-02-09 04:16:42 +00:00
alecf%netscape.com
4e664d8443 add callback to browser.screen_resolution so that the screen resolution is maintained when a profile is loaded
r=erik
2000-02-08 05:52:41 +00:00
erik%netscape.com
97be3d9aa4 bug 13072; Shyjan and Roger (MathML) guys came up with this fix to base
the font size on the normal "design" size (em square) of the font;
r=erik; a=pavlov
2000-02-08 03:20:40 +00:00
scc%netscape.com
73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
scc%netscape.com
cde0495559 Pro5 update 2000-02-07 22:29:52 +00:00
dcone%netscape.com
bbff46ffb3 Converted decent into a negative value. r=rods 2000-02-07 14:02:01 +00:00
pavlov%netscape.com
a77bec64b2 add GetNumRects() to nsIRegion to return the number of rects making up the region. make two XChangeGC calls in to 1 to reduce X server traffic. inline a few methods that are used internally in the gtk implimentations. remove some code cruft. r=bryner@uiuc.edu 2000-02-07 03:39:21 +00:00
troy%netscape.com
d0c65982b9 b=26692 r=erik@netscape.com Eliminated two places where nsAutoString objects
were being allocated on the heap
2000-02-07 01:07:16 +00:00
pavlov%netscape.com
8088c6b635 put include guards around nsGCCache.h and inlined a few function sr=smfr 2000-02-06 01:03:16 +00:00
beard%netscape.com
89328048ea forgot to forward declare nsIGraphics here. fixing bustage. 2000-02-06 00:23:59 +00:00
beard%netscape.com
9b065d271d removed unsafe StartDraw/EndDraw methods, using StPortSetter instead, added GetGraphics(). r=smfr 2000-02-05 23:02:37 +00:00
beard%netscape.com
be019de095 added nsGraphicsImpl.cpp. r=smfr 2000-02-05 22:52:13 +00:00
beard%netscape.com
4faf7eb194 added nsIGraphics.idl. r=smfr 2000-02-05 22:49:34 +00:00
beard%netscape.com
6f64e96705 XP implementation of scriptable graphics interface. r=pavlov (not part of build) 2000-02-05 22:05:51 +00:00
beard%netscape.com
7469acea26 scriptable interface for graphics. r=pavlov 2000-02-05 22:02:19 +00:00
erik%netscape.com
50247b2f4a fixing Solaris build bustage 2000-02-05 05:04:09 +00:00
erik%netscape.com
75c92dced2 bug 8801; temporary fix for bad performance problem with font prefs;
r=troy
2000-02-05 03:32:53 +00:00
erik%netscape.com
54a5a9aff7 bug 8801; temporary fix for a bad performance problem with font prefs;
r=troy
2000-02-05 03:31:39 +00:00
sspitzer%netscape.com
af23c46ce0 use NS_WITH_SERVICE to make the code cleaner. 2000-02-04 23:02:25 +00:00
dcone%netscape.com
fd9fde5eca Added code to the Lock and unlock for blending support. 2000-02-04 15:53:39 +00:00
dcone%netscape.com
f7522d5c81 Added Mac blender support. r=rods 2000-02-04 15:52:55 +00:00
mscott%netscape.com
b1f1fbcb8d more prepation for docshell landing. Implement IsPreferred and move implemtation of CanHandlecontent from the
application layer into the webshell/docshell layer.

r=travis
2000-02-04 08:45:34 +00:00
pavlov%netscape.com
8f04abab54 remove code cruft and initialize the gcvalues struct's values to 0 so that we can correctly compare them in the gc cache r=tor@cs.brown.edu 2000-02-04 06:31:01 +00:00
pinkerton%netscape.com
7d8250392f fix the access paths for pro5 migration. r=macdev. 2000-02-04 03:27:36 +00:00
pavlov%netscape.com
fdd95dbe9d check for null properly 2000-02-03 23:40:13 +00:00
erik%netscape.com
021bbcc595 bug 26331; we were missing some of the Traditional Chinese Big5 font
character encoding names; names gathered by momoi; r=erik
2000-02-03 23:38:51 +00:00
neeti%netscape.com
d7eb8e76a0 fix for bug 25360, need to check channel for errors. r=pnunn 2000-02-03 23:27:37 +00:00
pnunn%netscape.com
4e8cbc7f5d wrong bug number for version 3.18. The real bug# is 26351. -pn 2000-02-03 23:22:10 +00:00
pavlov%netscape.com
7a85210963 more x server traffic reduction by reducing cliping stuff r=blizzard 2000-02-03 23:18:31 +00:00
pnunn%netscape.com
670279ca4a bug#22754. Added null check for image. pnunn. r:neeti. 2000-02-03 23:16:24 +00:00
rods%netscape.com
0644d8c077 Caches parent DC to be used for GetSystemAttributes, needed for getting scrollbar information (in pixels). r=dcone b=24367 2000-02-03 15:42:27 +00:00
Jerry.Kirk%Nexwarecorp.com
9e8b66296a Remove clip.c, we no longer have to override the clipping functions
that are built into Photon.
2000-02-03 01:06:16 +00:00
sfraser%netscape.com
40a87a3632 Changed to use NS_DECL_ISUPPORTS_INHERITED. r=beard 2000-02-02 06:43:51 +00:00
sfraser%netscape.com
c0f553f7f1 Turn off the sync image icon loading, which has bad side-effects. bug 6553. r=beard, valeski 2000-02-02 06:43:18 +00:00
jdunn%netscape.com
6b54cadaac make Ansi C++ compliant
enums ranges need to be contained within their value range
#= 25826
r= pavlov@netscape.com
2000-02-01 23:01:02 +00:00
rods%netscape.com
a3080c6594 fixed margins r=rods 2000-02-01 22:39:18 +00:00
pnunn%netscape.com
4b387cfa79 bug#1248, fix part1. pnunn. rev:troy,dcone,neeti 2000-02-01 22:25:21 +00:00
pp%ludusdesign.com
48e640ed4f Conversion to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-01 14:26:27 +00:00
pavlov%netscape.com
f260f44b59 fix for silly sun compiler from tor r=me 2000-02-01 03:14:18 +00:00
syd%netscape.com
a311b7eda2 Minor changes for PostScript printing. r=dcone. 2000-01-31 21:24:19 +00:00
mscott%netscape.com
22cc6f5b98 API sync with nsIURIContentListener r=travis 2000-01-29 06:09:45 +00:00
pavlov%netscape.com
333acd3bb2 fix the caret blinking bug on linux and remove an extra call to things that don't need to be called r=mcafee 2000-01-28 23:52:28 +00:00
sfraser%netscape.com
cfef057383 Fix for 25366 -- check for color grafport before getting the GrafVars. r=pinkerton 2000-01-28 23:39:24 +00:00
dcone%netscape.com
baf98ae0ce Took out ifdef for the Mac. Loading Icon will now display. r=rods 2000-01-28 14:56:07 +00:00
pavlov%netscape.com
ca389d3e84 make hpux happier. 2000-01-28 08:08:30 +00:00
tor%cs.brown.edu
610667c8a0 Shuffle #includes to get proper definition of NULL for picky C++ compilers.
r=pepper
2000-01-28 03:08:02 +00:00
pavlov%netscape.com
d042a09689 this wasn't supposed to go in yet 2000-01-28 01:28:54 +00:00
pavlov%netscape.com
9771d23c13 add a GC cache so that we talk to the X server less r=blizzard 2000-01-28 01:05:49 +00:00
pavlov%netscape.com
695cd53ae6 remove round trips to the X server when we create rendering contexts. only set font and color info on the GC when a draw is going to happen. 2000-01-26 11:37:58 +00:00
pavlov%netscape.com
4a7d74e28d make things better(tm) r=blizzard 2000-01-26 02:42:34 +00:00
dcone%netscape.com
55240d6d23 Added flags so selection button does not come up and print to file is hidden. Put in support for quiet
printing (no dialog) r=rods
2000-01-25 15:45:09 +00:00
Jerry.Kirk%Nexwarecorp.com
71009b66e8 Fix up the font picking stuff for Photon 1 2000-01-25 13:49:49 +00:00
Jerry.Kirk%Nexwarecorp.com
06478f0693 Adding in new code by Derek that better matches Photon Fonts for the font
that Mozilla requested.
r=kedl
2000-01-25 03:38:02 +00:00
Jerry.Kirk%Nexwarecorp.com
1b6100f808 Fixing compiler warning/errors caused by -pedantic
Changing method used to extent fonts and adding our version of wctombs
r=kedl
2000-01-25 03:26:00 +00:00
sfraser%netscape.com
d19fe2f629 First Checked In. 2000-01-25 03:18:22 +00:00
Jerry.Kirk%Nexwarecorp.com
f922fd3cdc Fix the destructor, it leaks less this way.
r=kedl
2000-01-25 03:00:41 +00:00
dcone%netscape.com
b244931153 Added the canonical pixels scale calculation. r = rods. b = 24405 2000-01-24 14:58:49 +00:00
dcone%netscape.com
ec07a3805b implemented a method to return the canonical pixel scale. r = rods b = 24405 2000-01-24 14:58:00 +00:00
dcone%netscape.com
b11158d941 Added a member for the Canonical pixel scale - cross platform. r=rods b=24405 2000-01-24 14:52:12 +00:00
tor%cs.brown.edu
b22d70637a Merge gtk font changes, fix font handling in PopState().
Not in standard build.  r=blizzard, a=choffman
2000-01-20 22:43:29 +00:00
neeti%netscape.com
de2f1cc41f fix for memory leak bug# 21301. MLK: ImageNetContextSyncImpl leaks. r=pnunn 2000-01-18 13:10:47 +00:00
rbs%maths.uq.edu.au
54944bc747 [#ifdef MOZ_MATHML] Left-over when changing the character coordinate system of the bounding metrics. 2000-01-18 03:54:28 +00:00
sford3%swbell.net
b2c319eae7 Replace instances of nsTextFormater with nsTextFormatter, r=jst@citec.fi 2000-01-17 22:32:13 +00:00
mscott%netscape.com
a770fdf7e5 loading a uri takes the channel instead of the uri. The caller
must create the channel before call openuri.
r=rpotts.
2000-01-17 19:56:31 +00:00
alecf%netscape.com
1a3063b751 fix xlib bit rottage 2000-01-17 08:29:52 +00:00
rbs%maths.uq.edu.au
b159fe6b2b [#ifdef MOZ_MATHML] Get the real x-height for precise MathML positioning. Bug 18814 can feed on this. 2000-01-17 00:54:01 +00:00
Jerry.Kirk%Nexwarecorp.com
e3ae6932b7 bug 8001; add font name prefs code for Photon. This is initial
and only meant to get things compiling again until I can review and
understand this bug. PHOTON ONLY
2000-01-16 18:25:37 +00:00
Jerry.Kirk%Nexwarecorp.com
2ea6fa1d79 Work around a Photon bug when trying to Invert Text in the InvertRect
function by forcing a flush after the draw.
r=kedl
2000-01-16 01:55:27 +00:00
Jerry.Kirk%Nexwarecorp.com
1c6e902daf Multiplying the Screen Width and Height by three to take into account
the default 3x3 virtual console. This may not be the "right" way
but I am going with it for the moment.
r=kedl
2000-01-16 01:53:47 +00:00
erik%netscape.com
287652f4c1 bug 24005; was rounding font size down to be compatible with Nav4; this
turns out to have disastrous effects on pages with font-size 9px; removed
the rounding code after testing effects on various "Top Sites"; r=none
(but discussed with Troy)
2000-01-15 18:50:18 +00:00
erik%netscape.com
496213931b bug 17861; set minimum default logical resolution to 96, using OS's
reported value if higher than 96; coded by David Baron; r=erik
2000-01-15 18:20:54 +00:00
erik%netscape.com
ebccc58538 bug 8801; add font name prefs code for Unix; r=ftang 2000-01-15 16:37:53 +00:00
Jerry.Kirk%Nexwarecorp.com
ac672b5a43 Photon UI Only
Changing some debug output to silence the RenderingContext a bit so I can
work on other problems...
r=kedl
2000-01-14 13:17:25 +00:00
Jerry.Kirk%Nexwarecorp.com
edbd9d3f4f Add code to work around Photon bug. If any part of "text" is rendered
slightly off the drawing surface then the entire chunk of text is clipped.
This is an awful hack that just increases the draw surface by 100.
(A magic number) I am filing a bug with Photon to get a fix.
r=kedl
2000-01-14 13:15:33 +00:00
rbs%maths.uq.edu.au
aecdd16b1d [#ifdef MOZ_MATHML] Change of the character cordinate system of GetBoundingMetrics() 2000-01-14 08:02:12 +00:00
rbs%maths.uq.edu.au
e1fd5b686c [#ifdef MOZ_MATHML] Change of the character cordinate system of GetBoundingMetrics() 2000-01-14 06:15:37 +00:00
neeti%netscape.com
0aaf184ecb fix for memory leak of ImageSystemServicesImpl, bug 21298, r=pnunn 2000-01-13 23:34:19 +00:00
pnunn%netscape.com
3fdce350ca bug#12722: timer interacting with image groups. pnunn. rev: neeti@netscape.com 2000-01-13 23:01:11 +00:00
pinkerton%netscape.com
13f4b1427e Replacing TARGET_CARBON ifdefs with inline functions in nsCarbonHelpers.h to make code more readable. 2000-01-12 07:14:09 +00:00
pinkerton%netscape.com
71d28f9b6d Replacing TARGET_CARBON ifdefs with inline functions in nsCarbonHelpers.h to make code more readable. 2000-01-12 07:02:17 +00:00
dbaron%fas.harvard.edu
8d42619583 Fix bug 11168. Underline position metrics are returned as positive
numbers by X, but Mozilla wants them to be negative.  This caused
problems only for certain font servers (those that returned underline
position metrics).

r=pavlov
2000-01-12 02:24:46 +00:00
pp%ludusdesign.com
698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
pinkerton%netscape.com
c00c54e40e First Checked In. 2000-01-11 05:18:43 +00:00
cls%seawood.org
4f34e05855 Removed redundant XPDIST from the build. Changed existing references to DIST.
Replaced all uses of $(DIST)/include with $(PUBLIC) except those looking for NSPR headers.
Removed extra instances of $(DIST)/include or $(PUBLIC) from INCLUDES as it's already there.
Override OS_LIBS when setting host variables for cross-compiling.
2000-01-11 05:13:01 +00:00
cls%seawood.org
4331ad7aba Add MKSHLIB_FORCE_ALL & MKSHLIB_UNFORCE_ALL pairs around the timer libs and other static libraries to be linked into the shared library. 2000-01-11 05:06:24 +00:00
dcone%netscape.com
31d90becfe Fixed some transform errors. r=rickg. bugs = 14385,19601 2000-01-10 14:52:49 +00:00
rbs%maths.uq.edu.au
90dd2e41c8 [MATHML] Coded GetItalicSlope() and updated GetBoundingMetrics(). Added code to catch up with recent changes in gfx/src/windows that broke the MathML build on Win32 2000-01-07 14:22:07 +00:00
rbs%maths.uq.edu.au
0f95730da9 [#ifdef MOZ_MATHML] Added GetItalicSlope() in nsIFontMetrics.h to get the tagent of the italic angle needed for the italic correction. Added leftItalicCorrection in nsBoundingMetrics and updated documentation 2000-01-07 14:16:02 +00:00
rbs%maths.uq.edu.au
f1416deebf [#ifdef MOZ_MATHML] Patch of Shyjan Mahamud to set mActualSize to the designed size of the font, when the font requested is not a scalable font 2000-01-07 14:07:56 +00:00