peterl%netscape.com
c8b57920d0
allow letter O to be treated as zero in color hex values, egads
1999-04-28 01:41:23 +00:00
pierre%netscape.com
38586e088b
#5000 : added "browser.screen_resolution" pref
1999-04-28 00:20:58 +00:00
erik%netscape.com
90ed979b75
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.
1999-04-27 21:44:20 +00:00
pierre%netscape.com
e732383034
#5000 "GFX changes required to assume 96 dpi default scaling": enabled the 96 dpi checked in earlier
1999-04-27 08:20:49 +00:00
pierre%netscape.com
cc14f63658
#5000 "GFX changes required to assume 96 dpi default scaling"
1999-04-27 06:45:09 +00:00
pierre%netscape.com
7d83b6caa3
optimized SetClipRectInPixels for the 'kReplace' case.
added some error checking after allocating new regions.
1999-04-27 05:33:16 +00:00
dcone%netscape.com
3959254621
Fixed bug that causes the Mac to crash in background.
The pixelType of the Pixmap was set wrong.
1999-04-26 17:25:46 +00:00
dcone%netscape.com
34e7c3f783
fixed bug so refcount is inited
1999-04-26 17:25:00 +00:00
blizzard%redhat.com
e34ab4441f
little more xlib work
1999-04-25 02:58:15 +00:00
ftang%netscape.com
2c53d70289
First Checked In.
1999-04-23 20:53:49 +00:00
pavlov%pavlov.net
99260f74b0
revert my last changes. i'm moving speed ups into a branch
1999-04-22 02:07:03 +00:00
pierre%netscape.com
0976ce8bd9
replaced mOriginalSurface with mSavePort
on delete, restore the grafPort origin
fixed a regression leak of the offscreen buffer
1999-04-22 01:27:12 +00:00
pavlov%pavlov.net
0aadfa5537
beginning work on making mozilla fast...
1999-04-22 00:07:40 +00:00
rickg%netscape.com
3b55b0615c
sync with new nsString2 API
1999-04-21 22:55:35 +00:00
erik%netscape.com
32d98077c3
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.)
1999-04-21 18:53:35 +00:00
dcone%netscape.com
4200140c35
Implemented the DrawPolyline method.
1999-04-20 13:36:11 +00:00
pavlov%pavlov.net
4802b5acf1
add some code that was accedentally removed last time
1999-04-18 20:07:31 +00:00
pavlov%pavlov.net
42dd281b9e
code cleanups
1999-04-18 19:31:16 +00:00
erik%netscape.com
9a3a5c2115
Fixed bugs 2522 and 4875. Switched from FONTSIGNATURE to cmap to figure
...
out which glyphs are available. Removed FONT_SWITCHING ifdef.
1999-04-16 20:01:12 +00:00
kipp%netscape.com
6090e32c75
Fixed to handle destroy callbacks better to unwind connections to image lib
1999-04-15 20:34:44 +00:00
toshok%hungry.com
2c0db3ec84
add ::'s
1999-04-15 08:56:14 +00:00
toshok%hungry.com
b8acb06566
steal some drawing guts from ../motif
1999-04-15 08:54:51 +00:00
toshok%hungry.com
46003e27fb
region code for xlib gfx.
1999-04-15 08:04:37 +00:00
alecf%netscape.com
584044398e
use new nsQuickSort rather than old XP_QSORT
1999-04-15 02:48:00 +00:00
kipp%netscape.com
3b358633dd
Fix a memory corrupting issue with dangling references to nsImageRequests's
1999-04-13 21:55:11 +00:00
kipp%netscape.com
6ca78ea2e2
Disable icon loading on unix and mac until netlib can cope
1999-04-13 21:54:43 +00:00
erik%netscape.com
32e817a9f3
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.
1999-04-13 20:04:51 +00:00
sspitzer%netscape.com
f1e1d10f96
some more cvs ignore work
1999-04-10 21:22:31 +00:00
pavlov%pavlov.net
2983e18ba0
use shared images where available for blending
1999-04-10 20:57:50 +00:00
pavlov%pavlov.net
9e8a282b8d
oops, ifdef'd out a tad too much code.
1999-04-10 20:10:55 +00:00
pavlov%pavlov.net
9fbd39f894
code cleanups. begin work on using xshm
1999-04-10 19:36:40 +00:00
blizzard%redhat.com
01bc21fcd5
xlib based gfx skeleton code
1999-04-10 15:23:47 +00:00
briano%netscape.com
a0959bed09
It turns out that other platforms besides NTO don't have PATH_MAX, so this change should fix them all.
1999-04-10 01:05:53 +00:00
pinkerton%netscape.com
3a6a48bf99
Move all apple libs into MacOS target of interfaces.mcp. Only "apple" lib in each project should now be InterfacesStubs (with some minor exceptions). permission to checkin granted by cyeh.
1999-04-10 00:15:14 +00:00
michaelp%netscape.com
361cc1877f
flush the font cache after setting a new zoom value.
1999-04-08 22:41:17 +00:00
michaelp%netscape.com
2ee150b32a
cleaned.
1999-04-08 22:40:20 +00:00
ftang%netscape.com
b1b7a9c212
fix bug 4694. Change the Hangul block to the Unicode 2.0 Hangul rnage from 1.1 rnage
1999-04-08 21:38:07 +00:00
erik%netscape.com
3b6cad2fdf
Fix for bug 4627. Tested by Bruce Mitchener. Approved by Chris Yeh.
1999-04-08 17:12:12 +00:00
ramiro%netscape.com
efe0b61826
Comment out a annoying printf. Approved by cyeh.
1999-04-07 07:04:35 +00:00
pavlov%pavlov.net
06d3b32566
fix for double freeing
1999-04-07 06:36:38 +00:00
pavlov%pavlov.net
c4cb34dacd
rot13'd all the files to make them appear much prettier, and in the process fixed some bugs i believe.
1999-04-07 04:02:44 +00:00
pierre%netscape.com
27fb1501c0
added nsATSUIUtils.cpp
moved the ATSUI code out of nsRenderingContextMac
1999-04-07 03:18:53 +00:00
pierre%netscape.com
7f8be9bafe
made the destructor public
1999-04-07 03:17:03 +00:00
pierre%netscape.com
23f5f16590
First Checked In.
1999-04-07 03:16:22 +00:00
erik%netscape.com
b8e3a6dfc9
Bug 4573. Was not dealing with the case where only a scalable font was
...
available (no bitmap fonts). Fixed.
1999-04-06 19:45:38 +00:00
ramiro%netscape.com
7f7b389476
Add SetClip{Rect,Region} tracing debug code.
1999-04-06 13:22:21 +00:00
ramiro%netscape.com
7039ea67c8
Add #ifdef copy flag debug printfs.
1999-04-06 12:48:46 +00:00
michaelp%netscape.com
28ac77c295
enabled creation of blender objects.
1999-04-05 22:49:18 +00:00
erik%netscape.com
a3adbdb65d
Got rid of some tabs.
1999-04-05 22:31:58 +00:00
syd%netscape.com
3edfeff5dd
Get PATH_MAX right for Neutrino 2.0 (QNX - photon UI).
1999-04-05 21:45:08 +00:00
erik%netscape.com
8c2abbadfb
Added font scaling. It will try to scale the font if it's available, and
...
the desired size is more than 20% larger or smaller than an available
bitmap font.
1999-04-05 21:30:07 +00:00
ftang%netscape.com
26362bcce3
Fix breakage. Add #include <Resources.h>
1999-04-05 18:38:27 +00:00
erik%netscape.com
6f2df38bda
Add some space beneath East Asian characters for the underline. Also,
...
adjust their baseline to sit above the underline.
1999-04-05 18:30:12 +00:00
ftang%netscape.com
fe360b2913
Fix non ASCII font name problem by using a hashtable . It also improve the performance for GetMacFontNum 25.4 time faster. Reviewed and approved by pierre
1999-04-05 18:06:55 +00:00
ftang%netscape.com
6d82ed3756
Add TextCommon and TextEncodingConverter lib
1999-04-05 18:05:12 +00:00
erik%netscape.com
5b7a609d90
Adding Japanese support to the Unix/GTK font code.
1999-04-02 23:06:19 +00:00
erik%netscape.com
9104d8320e
AIX's compiler is strict. Fixed my code.
1999-04-02 20:34:14 +00:00
erik%netscape.com
a1e0dcc7d6
Need to check for dummy font family, and ignore. Corrected.
1999-04-02 19:40:11 +00:00
erik%netscape.com
4427a09acb
Bold Japanese text was not working, since there are no bold Japanese fonts
...
on Linux. So I re-arranged the font tree to allow normal Japanese fonts to
be used instead.
1999-04-02 19:10:38 +00:00
erik%netscape.com
8084d2183c
Free the loaded fonts array. Start the loaded fonts array at size 1.
1999-04-02 15:52:29 +00:00
erik%netscape.com
b36b571f63
Throwing the switch. Flipped the FONT_SWITCHING ifdef. New font lookup
...
code is now live.
1999-04-02 15:36:01 +00:00
erik%netscape.com
d3c8326505
Fixed uninitialized memory problem, and added DrawString routine for new
...
FONT_SWITCHING code (for Unicode). To be enabled (ifdeffed) tomorrow AM.
1999-04-02 07:20:13 +00:00
ramiro%netscape.com
ff452fe61e
Tweak code to allow blending to work on unix. It will currently work only
...
on certain depths and images. Demo10 works on 16 bit depths.
1999-04-01 22:29:44 +00:00
ramiro%netscape.com
74df2deb9c
Implement GetDepth(). Before it was hardcoded to 24 in the superclass.
1999-04-01 21:58:46 +00:00
erik%netscape.com
6b3ee2d93d
Initial check-in of new X/GTK font code. Improved font-weight "bolder"
...
and "lighter", more accurate font-size (max ascent and max descent),
better speed.
However, ifdeffed for now to try on various platforms.
1999-04-01 00:04:36 +00:00
jdunn%netscape.com
ab5bde421e
Include prenv to get PR_GetEnv prototype
1999-03-31 22:55:29 +00:00
erik%netscape.com
a6d5903901
Fixed a compiler warning.
1999-03-31 22:52:51 +00:00
syd%netscape.com
ca263b2c48
Fix for AIX build bustage.
1999-03-31 20:18:54 +00:00
syd%netscape.com
98bf9f6e28
Fix for AIX compatibility
1999-03-31 20:18:11 +00:00
syd%netscape.com
2d0c4a5cbf
Replace getenv with NSPR function, remove stdlib.h include. Partially done
...
for AIX build.
1999-03-31 20:17:01 +00:00
mcafee%netscape.com
b5007d4bb3
Some code got stomped, putting it back. Specifically we need a prototype for UnixPrData() for Solaris/CC.
1999-03-31 09:14:07 +00:00
ramiro%netscape.com
936366514e
Take gtk specific blender code out. Its not needed. All blender code is
...
fully XP now.
Also, turn off manufacturing of blender objects until unix speicifc issues
can be resolved. Otherwise, stuff like demo4 breaks.
1999-03-31 06:21:07 +00:00
michaelp%netscape.com
af46e48278
now vends nsBlender rather than nsBlenderWin.
1999-03-31 06:07:12 +00:00
michaelp%netscape.com
fe7e53d1be
made blender fully XP.
1999-03-31 04:54:06 +00:00
michaelp%netscape.com
2c64e2a9e2
kill nsBlenderWin
1999-03-31 04:53:25 +00:00
michaelp%netscape.com
5bceeddf6c
killed
1999-03-31 04:53:11 +00:00
ramiro%netscape.com
de0f3f737c
delete vs. delete[] vs. free fixes.
...
Thanks to "Bruce Mitchener, Jr." <bruce@cybersight.com for finding all these
and making patches.
1999-03-30 05:26:59 +00:00
pavlov%pavlov.net
a8fdb7be3a
more work on Lock() and Unlock()
1999-03-30 01:52:05 +00:00
michaelp%netscape.com
7e66c9a28e
fixed problem of gImageManager becoming a dnagling reference to a dead object
...
by adding an additional reference to the global image manager when it is
created. current solution is that suggested by adam locke, but this really needs
to be a service so that we don't leak memory. also made destructor virtual
to correct warning pointed out by bruce@cybersight.com .
1999-03-30 01:43:32 +00:00
syd%netscape.com
c6f2006ddc
Fix typo.
1999-03-30 01:42:08 +00:00
michaelp%netscape.com
c6f76c4d7a
added virtual destructors where necessary as pointed out by bruce@cybersight.com.
1999-03-30 01:41:13 +00:00
syd%netscape.com
058dd1c863
Fixed misspell of virtual.
1999-03-30 01:33:40 +00:00
syd%netscape.com
ba9bd482be
Initialize mIsTopToBottom to PR_TRUE
1999-03-30 01:20:16 +00:00
syd%netscape.com
74f9123328
Initialize mIsTopToBottom to PR_FALSE.
1999-03-30 01:04:48 +00:00
syd%netscape.com
aed6f1a81c
Implement GetIsRowOrderTopToBottom(), declare mIsTopToBottom member variable.
1999-03-30 01:04:13 +00:00
syd%netscape.com
f1dcc1f109
Postscript colorimage code now queries platform to determine if image
...
rows are organized top to bottom, or bottom to top, and processes image
bytes depending on this order.
1999-03-30 01:02:46 +00:00
syd%netscape.com
2850b6e828
Implement GetIsRowOrderTopToBottom(); declare mIsTopToBottom member variable
1999-03-30 01:00:32 +00:00
syd%netscape.com
cc415051ed
Implement GetBytesPix. Declare mIsTopToBottom member variable.
1999-03-30 00:59:16 +00:00
syd%netscape.com
d4d63c9b67
Initialize mIsTopToBottom to PR_TRUE; remove GetBytesPix
1999-03-30 00:58:04 +00:00
syd%netscape.com
652c0fd774
Get whether rows are organized top to bottom, or bottom to top in images.
1999-03-30 00:56:35 +00:00
ramiro%netscape.com
c1771d6c75
Comment was messed up causing compiler to spew dumb messages.
1999-03-29 15:57:16 +00:00
pavlov%pavlov.net
0116c5f559
build nsBlender.cpp under unix. this fixes builds.
1999-03-28 00:13:30 +00:00
pavlov%pavlov.net
1cccf298e0
add nsBlender to unix
1999-03-27 23:19:22 +00:00
pavlov%pavlov.net
946d040350
make file end with a newline
1999-03-27 23:14:38 +00:00
michaelp%netscape.com
4a22776591
added for guys from Nexware.
1999-03-27 00:25:26 +00:00
ramiro%netscape.com
ef24e6bc53
Opps, forgot a debug abort().
1999-03-26 10:40:44 +00:00
ramiro%netscape.com
bb74a84005
Fix 2 things.
...
1) dont do the RGB -> BGR conversion. Its not needed thanks
to a IMGLIB workaround i just checked in.
2) create a pixmap from the image data only ONCE for unique image bits and
re paint that, instead of doing this every single time we render.
1999-03-26 09:53:13 +00:00
ramiro%netscape.com
39fb8151db
noisy fonts only on debug build.
1999-03-26 09:46:28 +00:00
ramiro%netscape.com
3504870212
print depth on debug printf
1999-03-26 09:43:57 +00:00
erik%netscape.com
14101060a0
Unicode support for fonts on Windows. Reviewed by Michael Plitkins.
1999-03-25 23:41:36 +00:00
kipp%netscape.com
ddeb99e94d
Put my changes back in that don cone accidently removed
1999-03-24 15:57:24 +00:00
michaelp%netscape.com
cb5768fb88
fixed rect containment test.
1999-03-23 22:37:50 +00:00
michaelp%netscape.com
d6043e368d
fixed docs for ContainsRect().
1999-03-23 22:37:20 +00:00
dcone%netscape.com
7891ac9157
Took out nsOldDrawingSurfaceGTK.h, this was lost between checkins
1999-03-22 23:16:42 +00:00
dcone%netscape.com
12b0502c2a
Include files added for default fonts
1999-03-22 21:48:16 +00:00
dcone%netscape.com
14a5e92098
Added UNIX support for postscript printing, fixed many bugs.
...
Added nsIDeviceContextSpecPS interface so we can do PS on any platoform, get
information from the print dialog.
1999-03-22 21:45:00 +00:00
kipp%netscape.com
cf718d1cfe
DIsabled a free of stack memory
1999-03-22 15:42:07 +00:00
pavlov%pavlov.net
8a651d5b1b
fix crash
1999-03-22 03:48:51 +00:00
pavlov%pavlov.net
7be0422aa4
fix up some more ugly memory leaks.
1999-03-22 02:36:41 +00:00
pavlov%pavlov.net
3b7c0515de
fix up some mem leaks caused by Push/PopState()
1999-03-22 01:50:34 +00:00
pavlov%pavlov.net
16dece517e
fix a memory leak.
1999-03-21 21:50:59 +00:00
pavlov%pavlov.net
99c6f8cb62
stomp a few more bugs from my previous checkin.
1999-03-21 21:31:58 +00:00
pavlov%pavlov.net
61983aeb80
fix refcounting.
1999-03-21 21:01:21 +00:00
pavlov%pavlov.net
3cfbaec942
nsRenderingContextGTK now uses nsDrawingSurfaceGTK
1999-03-21 20:42:01 +00:00
pavlov%pavlov.net
7b94d80f09
code cleanup and internal gtk refcounting changes.
1999-03-21 06:25:34 +00:00
ramiro%netscape.com
0327cb11c6
Wrapped in PR_BEGIN_EXTERN_C and PR_END_EXTERN_C to fix c++/c linkage problem.
1999-03-18 23:29:50 +00:00
mcafee%netscape.com
1d4db53562
Added prototype for UnixPrDialog(). r=syd@netscape.com
1999-03-18 22:33:04 +00:00
kipp%netscape.com
7e4b526ce6
Eliminate some GDK warning messages by only freeing valid pixmaps
1999-03-18 21:19:30 +00:00
kipp%netscape.com
7cfbbc726c
Revised the font matching algorithm to work somewhat better; allow for font-scaling in debug builds with an environment variable
1999-03-18 21:19:10 +00:00
kipp%netscape.com
1feb50ef1f
Fudge the dpi into something that makes for more rational scaling to twips
1999-03-18 21:18:40 +00:00
leaf%mozilla.org
c69daeca76
backing out change that clearly has destabilized the tree.
1999-03-18 04:43:38 +00:00
pavlov%pavlov.net
423dbe5f86
fix for hpux and aix build bustage. approved by leaf.
1999-03-18 03:16:44 +00:00
leaf%mozilla.org
0a0f5ac00f
Landing nspr library name change, and plevent function call change.
1999-03-17 21:32:03 +00:00
pavlov%pavlov.net
e069b49551
fix mem leak for real this time.
1999-03-14 23:15:35 +00:00
pavlov%pavlov.net
dd2dc823c1
minor cleanups.
1999-03-14 23:03:34 +00:00
pavlov%pavlov.net
a66936a6ba
fix bug #3564
1999-03-14 18:06:18 +00:00
mcafee%netscape.com
0d248c9512
getenv() needs a prototype for Solaris.
1999-03-14 09:00:38 +00:00
syd%netscape.com
07fe21fdf3
gtk_toggle_button_get_active() is an API newer than Gtk+ 1.1.13. Replaced it
...
with legacy code that just looks at active field of widget directly (I could
use the GtkObject interfaces, but those are kludgy and the reason that the
newer API was introduced). Eventually (hopefully soon) we'll migrate to Gtk+
1.2 (which will fix some rendering bugs as well...)
1999-03-13 05:25:31 +00:00
syd%netscape.com
b55d6660fd
Declare mPrData
1999-03-13 03:39:38 +00:00
syd%netscape.com
776299af35
Call GTK print dialog. Currently, Init routine returns FAILURE, effectively
...
stubbing out this functionality. Done Cone will turn it on at a later time.
Gtk+ print menu crashes will temporarily disappear because of this change.
1999-03-13 03:21:16 +00:00
syd%netscape.com
c7f2156193
Add nsPrintdGTK.c to build.
1999-03-13 03:19:58 +00:00
syd%netscape.com
79b04d08cc
Print dialog for Gtk. Needs to be wired by Done Cone, currently stubbed out
...
in caller.
1999-03-13 03:19:28 +00:00
ftang%netscape.com
3129869870
change the macroman converter to a better shape.... reviewed by pierre
1999-03-12 21:58:28 +00:00
ramiro%netscape.com
846235af9b
Make it possible to prefix mozilla dlls that conflict with system dlls.
1999-03-12 12:43:04 +00:00
mjudge%netscape.com
304a4dd1e8
backing out fix
1999-03-12 01:35:13 +00:00
mjudge%netscape.com
c2778d78c7
fixing libs phase to make the windows lib to be used by \widget
1999-03-12 01:29:31 +00:00
ftang%netscape.com
fd08485b1f
Add atsui work for non ASCII text. Reviewed and approved by pierre. Need more work to convert more text into MacRoman.
1999-03-12 01:15:52 +00:00
dcone%netscape.com
4dca61f35f
added the nsdrawingsurfacemac to project
1999-03-11 15:02:42 +00:00
dcone%netscape.com
e0e0b71155
update to use the nsDrawingSurfaceMac object for its onscreen on offscreen drawing.
1999-03-11 14:42:11 +00:00
michaelp%netscape.com
fe4a94c163
factored code.
1999-03-10 01:03:03 +00:00
michaelp%netscape.com
6aa94d777d
added blender method that takes rendering contexts.
...
added LockDrawingSurface() and UnlockDrawingSurface() to rendering
context.
fixed state maintenance errors in rendering context win.
added IsReleaseDCDestructive() to drawingsurfacewin.
1999-03-09 22:07:06 +00:00
warren%netscape.com
c50687b845
nsRepository -> nsIComponentManager changes.
1999-03-09 09:44:27 +00:00
cls%seawood.org
0934081cb8
Introduced separate CXXFLAGS for use with C++ code in the same style as the existing CFLAGS. Prepended _ to some configure.in private variables.
1999-03-07 05:18:45 +00:00
pavlov%pavlov.net
5c7b826ee3
more work
1999-03-07 00:58:11 +00:00
pavlov%pavlov.net
263b825378
add a few comments in here on how a few things should be done.
1999-03-07 00:40:08 +00:00
cyeh%netscape.com
5fe1801c03
fix pdb file generation so that the go into $(OBJDIR) and also
...
have more useful names other than "none.pdb". some cleanup remains.
1999-03-05 23:24:48 +00:00
mcmullen%netscape.com
0b721e55f8
Removed the offset parameter from the base stream interfaces. Implemented string streams.
1999-03-05 22:53:56 +00:00
dcone%netscape.com
ff22a0cab6
Update the surfaces to include graphics state
1999-03-05 14:48:44 +00:00
mcafee%netscape.com
fdf88ceddf
Uninitialized variables
1999-03-05 04:40:14 +00:00
kipp%netscape.com
4147924a67
Use proper new/delete operators
1999-03-05 04:36:00 +00:00
kipp%netscape.com
284d8dc4af
Stop linking with other libraries to avoid finding symbols with dlsym that we don't want to find
1999-03-05 04:35:49 +00:00
scc%netscape.com
31ff626ae9
rename |IID()| --> |GetIID()|
1999-03-03 19:48:57 +00:00
dcone%netscape.com
bc393c9072
First Checked In.
1999-03-03 15:46:43 +00:00
dcone%netscape.com
95d8d66ce8
Update some functions, and formating
1999-03-02 16:47:16 +00:00
brade%netscape.com
9d62c2b952
add static to reduce compiler warnings on Macintosh
1999-03-02 15:17:14 +00:00
alecf%netscape.com
b2ca370ed9
fix const-ness problem that was plaguing AIX and Linux -pedantic
1999-03-02 01:39:23 +00:00
dcone%netscape.com
8764cbc65a
Fixed up postscript stuff, now prints on Unix
1999-03-01 16:23:36 +00:00
ramiro%netscape.com
511902dedb
gcc 2.7.x portability fixes.
1999-03-01 12:25:24 +00:00
michaelp%netscape.com
c7ccc56a41
added fix for GetRects(). not currently called by anything but the new
...
compositor which is not yet enabled. approved by sar.
1999-02-26 20:16:50 +00:00
kmcclusk%netscape.com
2e36ac6ce8
Added support to read Adobe Font Metric files to get the correct font metrics
...
for printing.
1999-02-26 20:03:35 +00:00
kipp%netscape.com
abab5c61cf
Cleaned up all of the operator new/delete usage
1999-02-26 19:40:22 +00:00
alecf%netscape.com
71425ad3ac
fix HPUX bustage - HP already has MIN, MAX, TRUE, and FALSE defined
1999-02-26 17:27:02 +00:00
alecf%netscape.com
3f9190fe0f
fix HPUX bustage: font should be const
1999-02-26 17:26:25 +00:00
ebina%netscape.com
66e1467fa8
Changing RegisterFactory to use the new API.
1999-02-26 17:19:00 +00:00
kipp%netscape.com
f562a1eb60
Cache alpha-clip pixmap across rendering calls so that transparent gifs render faster; flush cache when bits are updated so that transparent animated gifs don't break
1999-02-26 16:59:18 +00:00
kipp%netscape.com
f33e75ab5e
Removed inline virtuals - a no-no
1999-02-26 16:58:18 +00:00
kipp%netscape.com
3c967b856f
Get alpha line stride so that we don't produce the wrong alpha mask
1999-02-26 16:57:54 +00:00
pavlov%pavlov.net
01a2380c19
began work on nsDrawingSurfaceGTK.cpp. it isn't built yet, as it doens't
...
compile though. renamed the nsDrawingSurfaceGTK.h to nsOldDrawingSurfaceGTK.h
to avoid name conflicts for now.
1999-02-26 15:26:02 +00:00
warren%netscape.com
97781f4c14
Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends.
1999-02-26 10:17:14 +00:00
sfraser%netscape.com
d847eb7428
Mac project changes -- link with MSLDropInRuntime, instead of MSLShLibRuntime, and fix link order.
1999-02-26 00:54:57 +00:00
michaelp%netscape.com
08a43fbfd4
added nsIDrawingSurface, a windows specific counterpart and a windows
...
implementation. cleaned up windows blending code to the point where we
don't really need platform specific blending implementations at all
anymore. added region area return from nsIRegion::GetRects(). unified all
windows bitmap management code under nsDrawingSurfaceWin.cpp.
1999-02-25 18:53:31 +00:00
kipp%netscape.com
fb9e2b01ee
Eliminate global constuctor dependency
1999-02-25 16:41:54 +00:00
kipp%netscape.com
8cd78f227c
new
1999-02-25 16:41:09 +00:00
mcafee%netscape.com
59858e5406
Removing unused rules, cleaning this up.
1999-02-24 08:39:19 +00:00
kipp%netscape.com
c74f87d07d
Removed some off by one rendering errors (not a perfect fix!)
1999-02-23 19:39:11 +00:00
kipp%netscape.com
bf3fa605eb
Latest snapshot using linux version of the tools
1999-02-23 19:38:50 +00:00
warren%netscape.com
01f7011acc
Added forgotten initialization.
1999-02-23 08:01:02 +00:00
mcafee%netscape.com
9c01a49a9a
C++ comments in C file.
1999-02-23 05:04:56 +00:00
kmcclusk%netscape.com
cc41ac096d
Added support for creating a postscript device context for printing under GTK.
...
Sanitized the GTK nsDeviceContextSpecFactoryG, nsRenderingContextPS, nsDeviceContextPS,
and nsDeviceContextSpecG by removing WIN32 dependencies.
Added checks for null widgets in nsWidget and nsScrollbar GTK implementations.
1999-02-22 18:56:54 +00:00
dcone%netscape.com
a5a9edc3d6
Added fixes to get it to compile under UNIX
1999-02-22 15:00:59 +00:00
pavlov%pavlov.net
11111cc945
minor code cleanups
1999-02-21 17:40:00 +00:00
dcone%netscape.com
913c087dee
Added the printer support files for GTK
1999-02-18 22:35:11 +00:00
michaelp%netscape.com
5d4c7f34d2
made GetClipRegion comply with new API definition.
1999-02-18 22:34:19 +00:00
kipp%netscape.com
c6d06e2e44
Compute subscript/super-script offsets; support (disabled) scalable fonts
1999-02-18 03:32:29 +00:00
harishd%netscape.com
288eb59701
Added FontMetrics for regression testing.
...
Will be wired up later
1999-02-17 18:21:51 +00:00
mjudge%netscape.com
c95550b563
fix for nsCOMPtr Carpool change
1999-02-17 02:56:26 +00:00
michaelp%netscape.com
9332f17d3e
made nsRenderingContextWin::GetClipRegion() work.
1999-02-16 00:50:32 +00:00
troy%netscape.com
612cd01861
Added some "const" to code that was retrieving a pointer to the internal
...
buffer managed by nsString
1999-02-14 05:56:15 +00:00
kipp%netscape.com
4477965d94
Added IID static method
1999-02-12 17:13:30 +00:00
dcone%netscape.com
3be8aecf3c
fixed clipping, added ellipse and arc support
1999-02-12 16:12:15 +00:00
pierre%netscape.com
a7cbc355e7
GetHints() returns NS_RENDERING_HINT_FAST_8BIT_TEXT
1999-02-12 05:56:56 +00:00
pierre%netscape.com
1b903e62bb
Fixed GetClipRegion/SetClipRegion to work with the actual region instead of its bounding box
1999-02-11 23:51:15 +00:00
pierre%netscape.com
e2f88ae014
Added SetNativeRegion() + fixed 2 small bugs
1999-02-11 23:50:12 +00:00
sfraser%netscape.com
df155f75ba
Added an assert in GetWidth, which fires if you try to measure width on a longer string than you really have. (May be triggered by selection code.)
1999-02-11 04:37:41 +00:00
kipp%netscape.com
a974c955ce
Fixed memory corruption crasher by passing in the correct width/height to the swizzler routine
1999-02-11 02:21:48 +00:00
michaelp%netscape.com
e39ba40fc7
made GetRects() and FreeRects() work. killed ForEachRect().
1999-02-11 01:54:01 +00:00
michaelp%netscape.com
dfd4a7b87e
killed ForEachRect().
1999-02-11 01:53:42 +00:00
kipp%netscape.com
5bc85299cc
Implement support for the spacing array for DrawString; fixed bug - didn't init mDrawStringBuf in ctor
1999-02-10 22:23:16 +00:00
kipp%netscape.com
72979eb40b
Use a growable buffer to translate unicode to GdkWChar's instead of mallocing for every draw/measure
1999-02-10 17:58:43 +00:00
kipp%netscape.com
25ae173d9f
Eliminate a compiler warning
1999-02-10 17:58:16 +00:00
pierre%netscape.com
7a849a7a02
backed out ftang's changes from version 1.72
1999-02-10 10:24:57 +00:00
alecf%netscape.com
30cbc8d51b
fix casting for strict compilers
1999-02-10 08:24:04 +00:00
michaelp%netscape.com
a8d07f7697
added GetRects()/FreeRects() to nsIRegion. add GetDrawingSurface() to
...
nsIRenderingContext.
1999-02-10 02:15:47 +00:00
mcafee%netscape.com
9d2cbf6a48
More portable Makefile, and this one builds
1999-02-10 01:50:29 +00:00
mcafee%netscape.com
34b2b77be6
Wrapping tests up in ENABLE_TESTS
1999-02-10 01:21:39 +00:00
michaelp%netscape.com
ab4ddd5d5b
fleshed out rect enumeration method.
1999-02-10 00:35:04 +00:00
michaelp%netscape.com
2100aab591
added xregion.h (formerly known as region.h in the old xfe).
...
added support for enumerating over the rects of an XRegion.
1999-02-09 19:22:33 +00:00
dcone%netscape.com
622882d224
Fixed bug
1999-02-08 17:23:59 +00:00
dcone%netscape.com
ba7a2c46d3
Took out an method not used, that broke build
1999-02-08 17:13:33 +00:00
dcone%netscape.com
c551b32606
cleanup of nsIImage class. There were routines and methods no longer used or needed.
1999-02-08 16:34:56 +00:00
pavlov%pavlov.net
fe54bfc647
remove some unused code
1999-02-06 03:40:50 +00:00
pavlov%pavlov.net
59ac1def38
and they said, "let there be toolbars"
1999-02-05 08:10:08 +00:00
pavlov%pavlov.net
2926c80732
redo the entire region handling in nsRenderingContext -- not quite finished
1999-02-04 19:17:40 +00:00
pavlov%pavlov.net
a7ca8c1e5b
fix big endian image stuff
1999-02-04 18:57:54 +00:00
dcone%netscape.com
e6d64f4cd8
Fixed typo
1999-02-04 15:54:34 +00:00
dcone%netscape.com
bab2192635
Added image support to the postscript
1999-02-04 15:17:42 +00:00
pavlov%pavlov.net
fe7505fb67
some work on SetClipRectInPixels and some warnings cleanups
1999-02-03 19:17:46 +00:00
dcone%netscape.com
b4bc6a1e00
Rewrote postscript stuff into a nsPostScriptObj class
1999-02-03 18:21:33 +00:00
davidm%netscape.com
307ec6dc29
2439 [PP] Links are not underlined correctly
1999-02-01 23:50:25 +00:00
ftang%netscape.com
98bbad344e
turn on ATSUI and use it in the case of non-ASCII characters so we can start testing Japanese pages such as http://home.netscape.com/ja
1999-02-01 22:32:40 +00:00
dcone%netscape.com
c737f445e8
Added the Transparency for the GIF.
1999-02-01 15:38:31 +00:00
pavlov%pavlov.net
5e3703bd09
make the underline a bit closer
1999-01-30 00:25:26 +00:00
ftang%netscape.com
68581e4546
fix non-ASCII font face cannot be found problem
1999-01-29 18:06:42 +00:00
dcone%netscape.com
9363ec90a2
Fixed the font information, added some postscript drawing routines.
1999-01-29 17:00:46 +00:00
michaelp%netscape.com
21085a9bdf
fixed build bustage.
1999-01-28 05:46:05 +00:00
michaelp%netscape.com
b6e5b908e0
removed aWidth from DrawString(). added aFontID to DrawString() and GetWidth().
1999-01-28 05:03:05 +00:00
harishd%netscape.com
664193cfb9
Changing the variable aElementColor to aBorderColor.
...
The computed colors for all the border style should be based on
the actual 'border-side-color' not the element's color after all.
1999-01-28 00:29:54 +00:00
harishd%netscape.com
804d46de03
Changing the varible name aElementColor to aBordercolor.
...
The computed colors for all the border style should be based on
the actual 'border-side-color' not the element's color after all.
CSS2 Spec. was wrong.
1999-01-28 00:29:00 +00:00
slamm%netscape.com
58fb46e06b
Use TK_CFLAGS instead of TK_GTK_FLAGS. Put each CPPSRC on its own line
1999-01-27 19:52:30 +00:00
michaelp%netscape.com
bb1bc3026c
fix build bustage.
1999-01-25 23:40:01 +00:00
michaelp%netscape.com
2fdbb0c53b
apparently this needs to be exported too...
1999-01-25 23:06:55 +00:00
michaelp%netscape.com
1b121f5a72
moving headers from src to public. added support for dib sections to windows
...
drawing surface. WIP on making blender work with arbitrary pixel organizations.
1999-01-25 22:16:47 +00:00
pinkerton%netscape.com
97f94ab95b
Fix bug 2535 (memory leak) with nsCOMPtr
1999-01-25 17:44:21 +00:00
sudu%netscape.com
6624efe2b9
OJI MozClassic to raptor merge
1999-01-25 08:05:00 +00:00
pavlov%pavlov.net
d349eb9a9f
compute the scrollbar width/height instead of using a constant number
1999-01-24 07:53:30 +00:00
pavlov%pavlov.net
cb0fa1ddcf
use some funky calculations to figure out the underline offset and the
...
underlining size
1999-01-24 06:55:17 +00:00
pavlov%pavlov.net
4aa2d8dda4
clean up some font code
1999-01-23 03:29:50 +00:00
wtc%netscape.com
f66584ab9a
Avoid string literals that span multiple lines because some compilers
...
don't like line endings in string literals.
1999-01-23 02:04:40 +00:00
wtc%netscape.com
5210c5cd6b
Text after #endif should be put inside a comment.
1999-01-23 02:02:42 +00:00
harishd%netscape.com
af31f3fd40
Added method to display CSS 3D borders.
1999-01-22 22:20:11 +00:00
harishd%netscape.com
667a2eddc7
Added method to display CSS 3D borders.
...
Also, have added a helper method.
1999-01-22 22:19:13 +00:00
dcone%netscape.com
261d0f0c9b
Combined files so 3 were deleted, one added. The Rendering and Device contexts
...
no longer need deligates, so they were removed. Cleaned up alot of code no
longer needed
1999-01-22 16:21:58 +00:00
pavlov%pavlov.net
d1ef13df42
fix rods's broken code
1999-01-22 00:45:56 +00:00
rods%netscape.com
87c958fab8
I removed the error.
1999-01-22 00:41:18 +00:00
rods%netscape.com
57251495aa
Added new Method for getting System Attributes (colors, fonts, sizes)
...
many of these are duplicated in nsLookAndFeel. The enums will be removed
from nsLookAndFeel.
1999-01-21 23:55:27 +00:00
mcafee%netscape.com
4f3741123d
Comment: No output = test passed
1999-01-21 22:10:57 +00:00
pierre%netscape.com
698b0c7465
initialize the Rendering Context from a GrafPort to fix a crash on print
1999-01-21 08:41:21 +00:00
jfrancis%netscape.com
12ce9c8c0d
adding checks for null mContext member in a couple of places - fixes bug #2200
1999-01-19 02:05:53 +00:00
pierre%netscape.com
434b3ec6d6
Numerous changes: introduced the DrawingSurface, a combination of GraphicState and GrafPort.
1999-01-19 00:02:15 +00:00
pavlov%pavlov.net
a22e76b95a
use the right visual when we create the pixmaps
1999-01-17 22:48:27 +00:00
pavlov%pavlov.net
6240573521
fix for crashing.
1999-01-17 17:51:02 +00:00
pierre%netscape.com
5fbcc14dbb
#2439 : Links are not underlined correctly
1999-01-16 07:09:59 +00:00
dcone%netscape.com
dd089a67f5
Added new postscript fontmetric code, and update the Device and Rendering context to use them
1999-01-15 22:44:32 +00:00
pierre%netscape.com
ae8c0fabc5
fix for #2209 "Can't display toolbars and xpTree": always call CommonInit() in SelectDrawingSurface().
1999-01-15 22:35:41 +00:00
sfraser%netscape.com
dddd2e1412
Turning off ATSUI font rendering (for now) so that QA can test layout that semi-works.
1999-01-15 18:18:02 +00:00
sfraser%netscape.com
f2404607f8
Another part of fix for 2411 -- add a condition that was in the 4.x codebase, that no font smaller than 9pt was used.
1999-01-15 18:15:21 +00:00
sfraser%netscape.com
fa33a30db5
Fix font selection when using ATSUI (part of bug 2411)
1999-01-15 05:23:23 +00:00
jfrancis%netscape.com
d6323fbd09
Fixing leaking of GraphioStates in nsRenderingContextMac destructor
1999-01-15 05:14:51 +00:00
peterl%netscape.com
781a155121
finally removed compatibility emulation of Nav font rounding bug
...
Let the games begin
Checkin during red tree approved by sar
1999-01-15 01:52:03 +00:00
davidm%netscape.com
b8287a15a4
2312 When not using ATSUI, no conversion is made from Latin-1 to MacRoman
2155 Proportional font spacing issues using metrics ( fix for nonATSUI drawing case )
1999-01-14 23:51:17 +00:00
pierre%netscape.com
8cf6ca1f0b
fixed build breakage
1999-01-14 07:30:02 +00:00
sfraser%netscape.com
83c0407709
Fix build bustage (adding method CreateFontAliasTable())
1999-01-14 07:14:24 +00:00
pierre%netscape.com
6702d70f61
Fix (part of) bug 2154: small-caps are displayed with the 'condense' attribute.
1999-01-14 07:12:07 +00:00
pierre%netscape.com
8c245d6692
Fix (part of) bug 2154: small-caps are displayed with the 'condense' attribute.
1999-01-14 06:54:21 +00:00
sfraser%netscape.com
23d3ce9f51
Add a utility routine to set the port's text traits, and call it from GetWidth and DrawString. Also fix warnings with the ATSUI calls, and fix the ATSUI #ifdef so that it's possible to #ifdef out all calls to the ATSUI library.
1999-01-14 05:49:51 +00:00
sfraser%netscape.com
54acb0fee9
Fix for bug 2211, and other font rendering changes and fixes. Fix davidm's changes to avoid blowing the font cache, change the static function to return font information, rather than set it.
1999-01-14 05:47:20 +00:00
sfraser%netscape.com
b3f733e464
Override CreateFontAliasTable to tweak the font settings for Mac (specifically, use Courier in preference to Courier New for the fixed width font). Also #ifdef out the font num cache, now that nsFontMetricsMac is smarter about cacheing the font num.
1999-01-14 05:44:50 +00:00
sfraser%netscape.com
217f980483
Added FontManager lib, for the call to the MacOS 8.5 routine FetchFontInfo
1999-01-14 05:43:18 +00:00
davidm%netscape.com
0e90b29e67
Bugzilla [PP] Font mapping is wrong
1999-01-13 02:14:10 +00:00
pierre%netscape.com
6c895ae8a1
Some cleanup in ATSUI. The constant USE_ATSUI_HACK, when it's not defined, now effectively removes all the ATSUI code and the ATSUnicodeLib can be removed from the project.
1999-01-12 11:35:49 +00:00
pavlov%pavlov.net
776e6c6161
strikethrough now shows...
1999-01-11 00:54:15 +00:00
pavlov%pavlov.net
70fd3c99ef
remove unused code. fixed underlining.
1999-01-08 15:51:46 +00:00
sfraser%netscape.com
20c8b9f23a
Fix the damn asserts
1999-01-08 03:15:15 +00:00
ftang%netscape.com
0e18fe6c32
add ATSUI hack. This hack could be turn off by comment out the
#define USE_ATSUI_HACK
line.
1999-01-07 18:27:09 +00:00
ftang%netscape.com
0cb361150e
add weak link to ATSUnicodeLib
1999-01-07 18:24:42 +00:00
dcone%netscape.com
c72183a22a
Continued work on the Postscript Device and RenderingContexts.
...
Removed unessisary file, factory is not needed.
1999-01-07 14:50:53 +00:00
pavlov%pavlov.net
d4978b9108
remove debugging comment
1999-01-06 02:06:00 +00:00
pierre%netscape.com
f8c62f1334
removed the handle locking/unlocking in Init()
1999-01-05 04:07:23 +00:00
pierre%netscape.com
bee6ae8584
commented out an annoying assert
1999-01-05 03:51:17 +00:00
pavlov%pavlov.net
34526ffae5
we now underline things.
1999-01-05 03:25:55 +00:00
blizzard%appliedtheory.com
7546120993
patch from Brian Ryner <bryner@uiuc.edu> for scaling fonts a little
...
better.
1998-12-29 21:08:11 +00:00
dcone%netscape.com
28d21b3691
Cleanup of the ps directory, incremental changes
1998-12-24 15:25:04 +00:00
dcone%netscape.com
53d344fffa
Took out files no longer needed for ps, updated all the files for postscript support
1998-12-21 22:13:04 +00:00
peterl%netscape.com
47275b4933
rename string key to make buggy unix compilers happy
1998-12-21 05:55:44 +00:00
pavlov%pavlov.net
0a03230a26
s/ :: /::/
1998-12-19 18:01:17 +00:00
dcone%netscape.com
1045fc091b
Renamed files for the Postscript directory in GFX
1998-12-18 16:36:47 +00:00
pierre%netscape.com
ef366cc40b
Fixed/implemented offscreen drawings - numerous changes
1998-12-18 13:33:31 +00:00
pierre%netscape.com
ed9efc3407
Call DeviceContextImpl::Init() just because Windows does it
1998-12-18 13:29:06 +00:00
waterson%netscape.com
5e4eb205b5
Added IID() method to fix build bustage.
1998-12-18 01:33:04 +00:00
pinkerton%netscape.com
f5c9eca872
inserted IID() method for use with nsCOMPtr.
1998-12-17 22:13:41 +00:00
kmcclusk%netscape.com
bda828779a
Added files to do postscript output.
1998-12-16 18:30:12 +00:00
dcone%netscape.com
8c984661d6
fixed resoluton problem for printing.
1998-12-16 18:02:38 +00:00
warren%netscape.com
b22a4e72fd
Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
1998-12-16 05:40:20 +00:00
sfraser%netscape.com
59e4e80c3d
Make sure the port is initialized before being used.
1998-12-16 01:59:31 +00:00
michaelp%netscape.com
cc6547db1b
we now call GetNearestColor() in 16bpp when creating brushes and pens.
1998-12-15 23:13:59 +00:00
dcone%netscape.com
ce63f20492
fixed the scaling bug
1998-12-15 22:22:40 +00:00
dcone%netscape.com
6c691b667d
fixed some scaling issues for the mac, more to come
1998-12-15 16:56:53 +00:00
michaelp%netscape.com
2f04ba48dc
added ability to create a drawing surface from an HDC under windows.
1998-12-15 05:51:30 +00:00
beard%netscape.com
c8acfa93a2
Regenerated with GenToc.
1998-12-13 18:15:37 +00:00
beard%netscape.com
48c16d8ad3
First Checked In.
1998-12-13 05:01:04 +00:00
dcone%netscape.com
2eeca3714d
Added an init routine for the Graphic state that takes an nsDrawingSurface so the state will not be initialized to null.
1998-12-11 16:04:23 +00:00
dcone%netscape.com
02171add6c
Update routines for creating a rendering context, and fixed the printer routines.
1998-12-11 16:03:10 +00:00
sfraser%netscape.com
f7e4e7b7b9
Convert AppleSingle -> binary
1998-12-09 20:48:54 +00:00
pierre%netscape.com
14a4e6ffe4
removed saari's hack
1998-12-09 10:17:31 +00:00
pierre%netscape.com
34de93e57a
A bunch of changes: removed saari's hacks, fixed origins, fixed clipping, fixed offscreen (for simple use like in the ImageButtons only, not for multiple offscreen surfaces like the Blender in the ViewManager), fixed a bug in some drawing functions (DrawEllipse, FillEllipse, DrawArc)
1998-12-09 10:17:06 +00:00
pierre%netscape.com
a7f5371e86
Copied SetAlphaMask() from Windows in an attempt to fix some problems (it did not but I'm leaving it there because it cannot hurt).
1998-12-09 10:15:44 +00:00
pierre%netscape.com
ae7da3b28a
Removed some include files
1998-12-09 10:14:46 +00:00
pierre%netscape.com
52293d7973
optimized and cleaned up
1998-12-08 01:47:04 +00:00
pierre%netscape.com
219e03195f
rewrote the GraphicState handling
1998-12-07 03:38:58 +00:00
pavlov%pavlov.net
74f4b9c9a4
set the horizontal scrollbars to the same size size as the verticle ones
1998-12-06 03:48:00 +00:00
pierre%netscape.com
7e910ae537
Init() does some clipping and initializes the Pen and TextMode (it's related to changes in nsWindow::StartDraw()). In all the drawing functions, replaced SetPort/SetClip/SetOrigin with StartDraw/EndDraw. More changes to come soon.
1998-12-06 00:37:00 +00:00
pierre%netscape.com
2361e037c2
added StartDraw(), EndDraw() and mCurrentBuffer. More changes to come soon.
1998-12-06 00:36:35 +00:00
ramiro%netscape.com
558ca75430
Add a return to a function which is supposed to return a value,
...
to keep the Solaris native compiler happy.
Thanks to Tim Rowley <tor@cs.brown.edu> for the fix.
1998-12-05 11:50:32 +00:00
ramiro%netscape.com
b67e714e27
Have cvs ignore generated files.
1998-12-05 11:07:45 +00:00
ramiro%netscape.com
2009b728de
Add cvsignore entries for makefiles generated bu autoconf.
1998-12-05 09:07:33 +00:00
akkana%netscape.com
497aa2b9d1
base/src/nscore.h
1998-12-04 21:36:23 +00:00
dcone%netscape.com
5be9da2b88
added the nsDeviceContextSpec and factory support for printing support
1998-12-04 15:04:30 +00:00
dcone%netscape.com
80fa21d0cd
Added the nsDeviceContextSpecFactory and nsDeviceContextSpec support
1998-12-04 15:03:41 +00:00
dcone%netscape.com
4c67f97482
Added printing support
1998-12-04 15:02:57 +00:00
dcone%netscape.com
1f60f3fa1a
First Checked In.
1998-12-04 15:02:26 +00:00
wtc%netscape.com
29c86a6abf
The GetFont method of nsIFontMetrics takes a const pointer reference
...
as argument, so we must pass a const pointer reference to it.
1998-12-03 06:29:56 +00:00
saari%netscape.com
74c6d2c0d6
Mac only hackery to make rendering better.
1998-12-03 04:24:54 +00:00
dcone%netscape.com
950a5280a9
Changed the name so the file can be used on the Mac
1998-12-02 16:06:31 +00:00
saari%netscape.com
a808658ccc
Fixing build breakage.
nsRegionMac API changed on me.
1998-12-02 04:26:16 +00:00
saari%netscape.com
5c25f41f7d
fixed hand merge error
1998-12-02 02:51:48 +00:00
saari%netscape.com
28cb5213a1
----------------------------------------
mozilla/widget/public/nsIWidget.h
- Added some more #defines for GetNativeData. I don't like this and want to remove them ASAP.
1998-12-02 02:45:08 +00:00
michaelp%netscape.com
6f81511f6c
fixed build bustage.
1998-12-02 01:08:43 +00:00
michaelp%netscape.com
95b847f98b
added GetNativeRegion() and GetRegionComplexity() methods.
1998-12-02 00:36:56 +00:00
michaelp%netscape.com
9fef332a02
added FlushFontCache() method.
1998-12-02 00:36:08 +00:00
michaelp%netscape.com
dc929b5daa
fixed build bustage.
1998-12-01 03:20:31 +00:00
michaelp%netscape.com
2f03a0e858
revised blending APIs.
1998-12-01 02:15:44 +00:00
beard%netscape.com
c62b49cafc
Mac shared library migration.
1998-11-30 22:15:00 +00:00
michaelp%netscape.com
d9abc55f33
fixed resource leak.
1998-11-28 04:24:15 +00:00
michaelp%netscape.com
5672308e65
fixed duplicate resource free.
1998-11-28 04:23:23 +00:00
michaelp%netscape.com
e8689abce9
added missing NS_INIT_REFCNT().
1998-11-28 04:21:40 +00:00
peterl%netscape.com
bd8aff99bb
fixed bug in font family enumeration
1998-11-26 01:22:04 +00:00
peterl%netscape.com
42de75e7c8
made text decorations minimum size of 1 pixel
1998-11-26 01:21:22 +00:00
pavlov%pavlov.net
0f9c52e150
fix twipstopixels and got the scrollbars being sized correctly.
1998-11-25 02:35:59 +00:00
pavlov%pavlov.net
2700bd9553
fixed my assertions
1998-11-24 02:43:07 +00:00
pavlov%pavlov.net
07ebf09540
Added assertions to the gfx code so that we can find xp bugs easier
1998-11-24 01:32:12 +00:00
michaelp%netscape.com
f151795800
added STRICT to list of preprocessor macros.
1998-11-23 19:00:08 +00:00
danm%netscape.com
474e21dcf7
tweak change from last rev, which was close, but misbehaved.
1998-11-23 17:34:50 +00:00
troy%netscape.com
f27f459041
Added some casts to make the 6.0 compiler happy
1998-11-23 03:43:49 +00:00
michaelp%netscape.com
1261cf624b
changed ::ReleaseDC() call in RealizeFont() key off of the same thing that
...
it used to conditionally call ::GetDC(). strictly speaking this change was
not necessary. i did it to make the code look a bit cleaner and accomodate
the situation where a device context is Init()ed with a null widget handle.
a device context of that sort is questionable, but that issue can be
addressed separately.
1998-11-23 03:14:38 +00:00
michaelp%netscape.com
d38a87a984
fixed a bunch of resource leaks exposed by the xpviewer and made
...
HDC state propagation in SetupDC() more complete.
1998-11-23 03:12:16 +00:00
michaelp%netscape.com
f6b1106639
changed for drawing surface HDC ownership setting.
1998-11-23 03:11:16 +00:00
michaelp%netscape.com
e553c87cd1
added data member to drawing surface to determine HDC ownership.
1998-11-23 03:10:10 +00:00
msw%gimp.org
d8b598b7e6
A _horrible_ hack to make fonts readable. Needs much work here.
1998-11-22 04:48:47 +00:00
cyeh%netscape.com
e9d3c67427
Removing static makefiles as a part of the transition to Autoconf. I have taken great
...
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.
If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com .
1998-11-21 00:34:32 +00:00
dcone%netscape.com
21a3ef6dd1
Another small fix, to take out unnessasary code.
1998-11-20 19:26:06 +00:00
dcone%netscape.com
4b38899109
deleted duplicate from nsIImage.h - no longer needed
1998-11-20 18:55:50 +00:00
dcone%netscape.com
208b3aa288
Took out all blending code, and updated to coding standards, general cleanup
1998-11-20 17:37:18 +00:00
pavlov%pavlov.net
8a1a6e728a
make sure we return a value for all of the NS_IMETHODIMP methods
1998-11-20 03:30:49 +00:00
pavlov%pavlov.net
bf153d6a2f
Impliment SetLineStyle and DrawPolyline
1998-11-18 03:56:41 +00:00
jfrancis%netscape.com
f2babd8ddd
more shared lib conversion work.
1998-11-18 02:44:02 +00:00
jfrancis%netscape.com
4d38cea30e
more shared lib conversion work
1998-11-18 02:43:45 +00:00
peterl%netscape.com
9c7ff59c0d
tweaked x-height guess for true-type fonts
1998-11-18 02:07:40 +00:00
blizzard%appliedtheory.com
c8afe530dc
clean up transparent image rendering. Also, make sure that the XImage is
...
free'ed after rendering and that the gc is placed back into a sane state.
1998-11-17 15:32:13 +00:00
msw%gimp.org
6f230c4eff
First pass of alpha support in images by Chris Blizzard, fixed for endian
...
problems. There is still a little work left to do on this.
1998-11-17 09:08:10 +00:00
jfrancis%netscape.com
ae09eecf3c
Added shared lib targets
1998-11-17 05:38:30 +00:00
jfrancis%netscape.com
e09bf9f6db
Shared Lib conversion
1998-11-17 05:37:42 +00:00
jfrancis%netscape.com
e9d0485cfc
First Checked In.
1998-11-17 05:26:28 +00:00
pinkerton%netscape.com
00c7772c6f
fix in SupportsNativeWidgets() to draw so we can continue working, but things are not fixed for real. Read the comment in that method for more details.
1998-11-17 01:08:01 +00:00
pavlov%pavlov.net
d37064bb7b
removed some debugging messages
1998-11-15 19:32:54 +00:00
pavlov%pavlov.net
a45f04456d
Remove debugging message and set the scrollbar size
1998-11-15 00:57:21 +00:00
pavlov%pavlov.net
692ecddcfe
patch from Owen Taylor <otaylor@redhat.com> to fix fix the GBR->RGB conversion
...
for images.
1998-11-15 00:53:10 +00:00
kipp%netscape.com
558b7ddede
Repaired Get3DColors code to work properly; added in extra code to make sure we never return the passed in color as one of the output colors
1998-11-15 00:20:27 +00:00
pavlov%pavlov.net
b2dcc33009
convert BGR colors to RGB for tables and such. We now draw images, text, etc
...
correctly, and we don't crash (at least not usually). Images are not
converted from BGR to RGB yet, but they will be shortly.
1998-11-14 23:47:41 +00:00
pavlov%pavlov.net
c78ce8959c
use NS_TO_X to convert the pixel to gdkrgb type. this may not be what we want
...
to do here though.
1998-11-14 19:39:04 +00:00
msw%gimp.org
6d9614e80e
Draw directly onto windows, not on a pixmap
1998-11-14 06:35:25 +00:00
michaelp%netscape.com
52a93d39fd
fixed build bustage.
1998-11-14 02:58:09 +00:00
kipp%netscape.com
1c24060a87
Fixed typo
1998-11-14 02:31:29 +00:00
michaelp%netscape.com
71145c6585
changes to support printing architecture and actual printing under windows.
1998-11-14 02:05:13 +00:00
pavlov%pavlov.net
2124bc7e7b
Fix the Font methods. This allows the pages to be rendered.. under something
...
so we still can't see it.. i'm looking
1998-11-14 01:43:27 +00:00
pavlov%pavlov.net
7b272ff255
add nsRegionGTK to the factory. this fixes some major region related
...
problems.
1998-11-13 16:29:46 +00:00
pavlov%pavlov.net
49588adf07
implimentation for DrawString for PRUnichar characters.
1998-11-11 23:08:19 +00:00
rpotts%netscape.com
045173d28e
Fixed random crash...
1998-11-11 10:04:57 +00:00
pierre%netscape.com
e0bf1c0c94
Set the scroll bar dimensions to 16 pixels instead of 10.
1998-11-11 01:41:44 +00:00
pavlov%pavlov.net
b6da782354
Removed some old debugging messages and redid some font initialization which
...
seems to work a tad better, though it has plenty room to be improved.
1998-11-10 04:28:00 +00:00
pavlov%pavlov.net
b3bb7da32f
have GetFontMetrics return a sane value. this fixes crash
1998-11-09 22:59:14 +00:00
pavlov%pavlov.net
e44103d2a5
remove assertion in nsRenderingContextGTK and added gdk_rgb_init() to
...
nsDeviceContextGTK
1998-11-09 15:47:45 +00:00
rpotts%netscape.com
cd26939253
propagate abnormal stream termination correctly...
1998-11-08 09:03:02 +00:00
pavlov%pavlov.net
00aab88d53
yet another patch from Owen Taylor <otaylor@redhat.com> that impliments
...
nsFontMetricsGTK
1998-11-07 23:21:18 +00:00
pavlov%pavlov.net
1a5889d130
patch that impliments nsRenderingContextGTK from Owen Taylor
...
<otaylor@redhat.com>
1998-11-07 23:19:06 +00:00
pavlov%pavlov.net
fd44f1a692
Apply patch from Owen Taylor <otaylor@redhat.com> that does images the right
...
way.
1998-11-07 19:54:14 +00:00
pavlov%pavlov.net
91f01223d3
Implimented nsImageGTK. Fixed some compling problems in the other files due
...
to headers needed in nsImageGTK
1998-11-07 17:24:46 +00:00
saari%netscape.com
46a3f20413
Mac only change.
Don't unlock GDeviceHandles. Fixed.
Don't dereference unlocked handles. Fixed.
1998-11-07 01:45:03 +00:00
dcone%netscape.com
0e4d103bf8
updated inverse colormap code, now blend works at 4 bit resolution
1998-11-04 22:38:37 +00:00
michaelp%netscape.com
7020110f4e
xpcom'ed blender.
1998-11-04 19:03:37 +00:00
dcone%netscape.com
13fc916361
updated the blending, fixed 8 bit blending, and fixed a leak in the blender
1998-11-04 16:02:50 +00:00
pierre%netscape.com
d09053f2cb
save and restore the colors in CopyOffScreenBits()
1998-11-04 06:55:50 +00:00
pierre%netscape.com
9362ebb11d
Use GetFontHandle() to return the fontNum because we don't have font handles on Mac
1998-11-04 06:51:20 +00:00
pierre%netscape.com
44c1e39b49
Cache data to improve performance in GetMacFontNumber()
1998-11-04 06:49:14 +00:00
cls%seawood.org
c14d1dd8a3
Removed hardcoded 'gtk-config'
1998-11-03 16:16:37 +00:00
cls%seawood.org
f50c938b76
Removed classic build Makefiles from configure.in
...
Changed --enable-fe to --enable-toolkit which takes a single argument.
Changed MOZ_FE to MOZ_TOOLKIT.
Removed USE_NGLAYOUT and USE_NGLAYOUT_GTK.
Removed FULL_STATIC_BUILD and --enable-min-shared.
Removed checks for gnome and qt.
1998-11-03 15:48:45 +00:00
jfrancis%netscape.com
052c88b77e
Fixing use of uninitialized var in nsRenderingContextMac :: CopyOffScreenBits()
1998-11-02 22:42:15 +00:00
pavlov%pavlov.net
d0ab75d674
apply patches from Frank Visser <fvisser@hgmp.mrc.ac.uk>
1998-11-02 22:29:22 +00:00
shaver%netscape.com
474a38c01c
add Frank Visser's nsRegionGTK
1998-11-02 14:17:06 +00:00
ramiro%netscape.com
a307948fc5
Add support for gtk.
1998-11-02 13:56:59 +00:00
ramiro%netscape.com
aeb5b540fb
Changed 'unix' to 'motif' to deal with toolkit confusion.
1998-11-02 12:24:05 +00:00