beard%netscape.com
a537bf43de
Fixes bug #1177 , where text gets drawn over itself in long documents.
...
git-svn-id: svn://10.0.0.236/trunk@30702 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 19:29:59 +00:00
pierre%netscape.com
5c08fafa37
Performance: use GetSpaceWidth() / removed mOriginalClipRegion and replaced it with mMainRegion.
...
Cleanup: merged SetClipRectInPixels() into SetClipRect() and removed one of the GraphicState constructors.
git-svn-id: svn://10.0.0.236/trunk@30660 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 04:10:38 +00:00
pierre%netscape.com
5ba2fff630
Removed mOriginalClipRegion: it was in fact equivalent to mMainRegion.
...
git-svn-id: svn://10.0.0.236/trunk@30659 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 04:10:04 +00:00
pierre%netscape.com
8d46c740bd
Performance improvement: added GetSpaceWidth()
...
git-svn-id: svn://10.0.0.236/trunk@30658 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 04:02:59 +00:00
dcone%netscape.com
2807d70e98
fixed a bug with using mString to use the unicode value
...
git-svn-id: svn://10.0.0.236/trunk@30525 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-06 06:57:24 +00:00
ftang%netscape.com
03eb6dbd5a
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@30453 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:55:50 +00:00
erik%netscape.com
24138a3054
Fix for one of the memory leaks found by The Mighty Bruce.
...
git-svn-id: svn://10.0.0.236/trunk@30429 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-05 23:18:38 +00:00
kipp%netscape.com
587f736a3f
Fix small bug in DrawRect and added a comment to help
...
git-svn-id: svn://10.0.0.236/trunk@29977 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-03 20:48:35 +00:00
erik%netscape.com
7079f015fc
Fix for bug 5778. I forgot to release the prefs service. Approved chofmann.
...
git-svn-id: svn://10.0.0.236/trunk@29847 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:28:47 +00:00
erik%netscape.com
db394bcf27
Fix for bugs 4800 and 4810. I forgot to free a font handle, which led to
...
system resource exhaustion and machine shutdown (on Win95).
git-svn-id: svn://10.0.0.236/trunk@29844 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 18:23:20 +00:00
pierre%netscape.com
5fc2e4f30b
Landing framesets changes. Added mOriginalClipRegion. Approved: choffmann
...
git-svn-id: svn://10.0.0.236/trunk@29836 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 13:52:45 +00:00
pinkerton%netscape.com
f6143cd473
added GetIID() method.
...
git-svn-id: svn://10.0.0.236/trunk@29830 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 08:59:11 +00:00
briano%netscape.com
04395184a9
Fix for the BSD/OS build (virtual memory exhausted).
...
git-svn-id: svn://10.0.0.236/trunk@29829 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 03:01:13 +00:00
briano%netscape.com
e0709fe1a1
Moved ns_observer_proc() to as close to the beginning of the file as possible to get rid of the static prototype that seemed to be confusing as and ld on FreeBSD 2.2. Okay'd by kipp and troy.
...
git-svn-id: svn://10.0.0.236/trunk@29828 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 01:58:44 +00:00
bruce%cybersight.com
5078864b28
Remove -lnetlib from link lines. Not needed.
...
git-svn-id: svn://10.0.0.236/trunk@29691 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 05:30:09 +00:00
pierre%netscape.com
52145bc04f
end of the debate? changing the defaults back to 96 dpi and do display small fonts
...
git-svn-id: svn://10.0.0.236/trunk@29687 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 05:06:41 +00:00
erik%netscape.com
fde9a7c3c6
Fix related to bug 5599. We now look at the "browser.screen_resolution"
...
pref for the dpi value. If it is not set, we use the default of 96.
If it is set to zero (0), we use the X server's dpi value. Otherwise,
we use whatever dpi value was set in the pref.
git-svn-id: svn://10.0.0.236/trunk@29677 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 04:35:34 +00:00
pierre%netscape.com
719d4d9299
fixed a syntax error in DisplayVerySmallFonts(): the first time only we were returning a wrong value
...
git-svn-id: svn://10.0.0.236/trunk@29666 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 03:32:52 +00:00
pierre%netscape.com
6168cad56a
added the "browser.display_very_small_fonts" pref
...
changed the default dpi to 72
git-svn-id: svn://10.0.0.236/trunk@29661 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 02:45:49 +00:00
peterl%netscape.com
019bec8760
allow letter O to be treated as zero in color hex values, egads
...
git-svn-id: svn://10.0.0.236/trunk@29641 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 01:41:23 +00:00
pierre%netscape.com
b702b22ac9
#5000 : added "browser.screen_resolution" pref
...
git-svn-id: svn://10.0.0.236/trunk@29602 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-28 00:20:58 +00:00
erik%netscape.com
6c0e09c9ed
Fixes for bugs 4800 and 4810. Was crashing on Japanese Windows 95 because
...
GetTextExtentPoint32W and ExtTextOutW are not properly implemented on that
version of Windows. This is a workaround.
git-svn-id: svn://10.0.0.236/trunk@29528 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 21:44:20 +00:00
pierre%netscape.com
64524db947
#5000 "GFX changes required to assume 96 dpi default scaling": enabled the 96 dpi checked in earlier
...
git-svn-id: svn://10.0.0.236/trunk@29426 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 08:20:49 +00:00
pierre%netscape.com
6e3a53131d
#5000 "GFX changes required to assume 96 dpi default scaling"
...
git-svn-id: svn://10.0.0.236/trunk@29421 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 06:45:09 +00:00
pierre%netscape.com
14041ac1a6
optimized SetClipRectInPixels for the 'kReplace' case.
...
added some error checking after allocating new regions.
git-svn-id: svn://10.0.0.236/trunk@29397 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 05:33:16 +00:00
dcone%netscape.com
141f57c78d
Fixed bug that causes the Mac to crash in background.
...
The pixelType of the Pixmap was set wrong.
git-svn-id: svn://10.0.0.236/trunk@29177 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 17:25:46 +00:00
dcone%netscape.com
7d88af9a82
fixed bug so refcount is inited
...
git-svn-id: svn://10.0.0.236/trunk@29176 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-26 17:25:00 +00:00
blizzard%redhat.com
b2ee85e9dd
little more xlib work
...
git-svn-id: svn://10.0.0.236/trunk@29098 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-25 02:58:15 +00:00
ftang%netscape.com
5703ce7f46
First Checked In.
...
git-svn-id: svn://10.0.0.236/trunk@28941 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-23 20:53:49 +00:00
pavlov%pavlov.net
fdfd280c7a
revert my last changes. i'm moving speed ups into a branch
...
git-svn-id: svn://10.0.0.236/trunk@28610 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 02:07:03 +00:00
pierre%netscape.com
11cc5a6d83
replaced mOriginalSurface with mSavePort
...
on delete, restore the grafPort origin
fixed a regression leak of the offscreen buffer
git-svn-id: svn://10.0.0.236/trunk@28603 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 01:27:12 +00:00
pavlov%pavlov.net
ace02540a5
beginning work on making mozilla fast...
...
git-svn-id: svn://10.0.0.236/trunk@28587 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 00:07:40 +00:00
rickg%netscape.com
7b9dcc2a7d
sync with new nsString2 API
...
git-svn-id: svn://10.0.0.236/trunk@28563 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 22:55:35 +00:00
erik%netscape.com
58165eda5e
Bug 5304 -- we now assume 96dpi (we ignore the X server).
...
Also fixed problem with fonts when no font containing the requested glyph
could be found. (Thanks to Kipp for discovering this.)
git-svn-id: svn://10.0.0.236/trunk@28471 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 18:53:35 +00:00
dcone%netscape.com
264181100c
Implemented the DrawPolyline method.
...
git-svn-id: svn://10.0.0.236/trunk@28237 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 13:36:11 +00:00
pavlov%pavlov.net
64e5dfc918
add some code that was accedentally removed last time
...
git-svn-id: svn://10.0.0.236/trunk@28015 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-18 20:07:31 +00:00
pavlov%pavlov.net
e24aaf6b5b
code cleanups
...
git-svn-id: svn://10.0.0.236/trunk@28012 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-18 19:31:16 +00:00
erik%netscape.com
d11d7fbaba
Fixed bugs 2522 and 4875. Switched from FONTSIGNATURE to cmap to figure
...
out which glyphs are available. Removed FONT_SWITCHING ifdef.
git-svn-id: svn://10.0.0.236/trunk@27888 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-16 20:01:12 +00:00
kipp%netscape.com
da6c66f6f9
Fixed to handle destroy callbacks better to unwind connections to image lib
...
git-svn-id: svn://10.0.0.236/trunk@27675 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:34:44 +00:00
toshok%hungry.com
593373dbd6
add ::'s
...
git-svn-id: svn://10.0.0.236/trunk@27564 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 08:56:14 +00:00
toshok%hungry.com
edb559faa8
steal some drawing guts from ../motif
...
git-svn-id: svn://10.0.0.236/trunk@27563 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 08:54:51 +00:00
toshok%hungry.com
5eea9c2eda
region code for xlib gfx.
...
git-svn-id: svn://10.0.0.236/trunk@27562 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 08:04:37 +00:00
alecf%netscape.com
d1c459b2e3
use new nsQuickSort rather than old XP_QSORT
...
git-svn-id: svn://10.0.0.236/trunk@27524 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 02:48:00 +00:00
kipp%netscape.com
411453cc95
Fix a memory corrupting issue with dangling references to nsImageRequests's
...
git-svn-id: svn://10.0.0.236/trunk@27395 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:55:11 +00:00
kipp%netscape.com
131d57b8d1
Disable icon loading on unix and mac until netlib can cope
...
git-svn-id: svn://10.0.0.236/trunk@27394 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 21:54:43 +00:00
erik%netscape.com
f1beef252d
Win95's font enumerator returns less info (smaller structs). Added code
...
to get the info via another method. Also enlarged the Unicode range array
to prevent reading off the end. Added printf's for debugging the Unicode
ranges.
git-svn-id: svn://10.0.0.236/trunk@27353 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-13 20:04:51 +00:00
pavlov%pavlov.net
7cdfaaad77
use shared images where available for blending
...
git-svn-id: svn://10.0.0.236/trunk@27046 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 20:57:50 +00:00
pavlov%pavlov.net
ffc1857edf
oops, ifdef'd out a tad too much code.
...
git-svn-id: svn://10.0.0.236/trunk@27035 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 20:10:55 +00:00
pavlov%pavlov.net
8f5f30ef27
code cleanups. begin work on using xshm
...
git-svn-id: svn://10.0.0.236/trunk@27034 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 19:36:40 +00:00
blizzard%redhat.com
e16e030191
xlib based gfx skeleton code
...
git-svn-id: svn://10.0.0.236/trunk@27014 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-10 15:23:47 +00:00