Commit Graph

502 Commits

Author SHA1 Message Date
jfrancis%netscape.com
da170b8a62 more shared lib conversion work.
git-svn-id: svn://10.0.0.236/trunk@14851 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:44:02 +00:00
jfrancis%netscape.com
910475eaff more shared lib conversion work
git-svn-id: svn://10.0.0.236/trunk@14850 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:43:45 +00:00
peterl%netscape.com
d2592b689c tweaked x-height guess for true-type fonts
git-svn-id: svn://10.0.0.236/trunk@14839 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 02:07:40 +00:00
blizzard%appliedtheory.com
5477366e93 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.


git-svn-id: svn://10.0.0.236/trunk@14800 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 15:32:13 +00:00
msw%gimp.org
2e2473f9bc 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.


git-svn-id: svn://10.0.0.236/trunk@14799 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 09:08:10 +00:00
jfrancis%netscape.com
22444ae9fd Added shared lib targets
git-svn-id: svn://10.0.0.236/trunk@14795 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 05:38:30 +00:00
jfrancis%netscape.com
b80ec268a0 Shared Lib conversion
git-svn-id: svn://10.0.0.236/trunk@14794 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 05:37:42 +00:00
jfrancis%netscape.com
5b3e72e2a1 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@14793 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 05:26:28 +00:00
pinkerton%netscape.com
fa6c94850f 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.
git-svn-id: svn://10.0.0.236/trunk@14775 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-17 01:08:01 +00:00
pavlov%pavlov.net
af89faa093 removed some debugging messages
git-svn-id: svn://10.0.0.236/trunk@14724 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 19:32:54 +00:00
pavlov%pavlov.net
454a4f22b8 Remove debugging message and set the scrollbar size
git-svn-id: svn://10.0.0.236/trunk@14686 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 00:57:21 +00:00
pavlov%pavlov.net
604aeb8534 patch from Owen Taylor <otaylor@redhat.com> to fix fix the GBR->RGB conversion
for images.


git-svn-id: svn://10.0.0.236/trunk@14685 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 00:53:10 +00:00
kipp%netscape.com
7200077d4d 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
git-svn-id: svn://10.0.0.236/trunk@14683 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-15 00:20:27 +00:00
pavlov%pavlov.net
8c1ac53b4d 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.


git-svn-id: svn://10.0.0.236/trunk@14682 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 23:47:41 +00:00
pavlov%pavlov.net
35061f6ecd use NS_TO_X to convert the pixel to gdkrgb type. this may not be what we want
to do here though.


git-svn-id: svn://10.0.0.236/trunk@14674 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 19:39:04 +00:00
msw%gimp.org
968efffd3e Draw directly onto windows, not on a pixmap
git-svn-id: svn://10.0.0.236/trunk@14665 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 06:35:25 +00:00
michaelp%netscape.com
96d71286a4 fixed build bustage.
git-svn-id: svn://10.0.0.236/trunk@14661 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:58:09 +00:00
kipp%netscape.com
c631ba58e3 Fixed typo
git-svn-id: svn://10.0.0.236/trunk@14657 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:31:29 +00:00
michaelp%netscape.com
7c96d12312 changes to support printing architecture and actual printing under windows.
git-svn-id: svn://10.0.0.236/trunk@14651 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 02:05:13 +00:00
pavlov%pavlov.net
b0ed8266ad Fix the Font methods. This allows the pages to be rendered.. under something
so we still can't see it.. i'm looking


git-svn-id: svn://10.0.0.236/trunk@14646 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-14 01:43:27 +00:00
pavlov%pavlov.net
72065479ef add nsRegionGTK to the factory. this fixes some major region related
problems.


git-svn-id: svn://10.0.0.236/trunk@14594 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 16:29:46 +00:00
pavlov%pavlov.net
fb993cf19e implimentation for DrawString for PRUnichar characters.
git-svn-id: svn://10.0.0.236/trunk@14475 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 23:08:19 +00:00
rpotts%netscape.com
47cd835bdd Fixed random crash...
git-svn-id: svn://10.0.0.236/trunk@14422 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 10:04:57 +00:00
pierre%netscape.com
32cba0e347 Set the scroll bar dimensions to 16 pixels instead of 10.
git-svn-id: svn://10.0.0.236/trunk@14388 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 01:41:44 +00:00
pavlov%pavlov.net
11a75fc3e7 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.


git-svn-id: svn://10.0.0.236/trunk@14328 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 04:28:00 +00:00
pavlov%pavlov.net
3b2e646d56 have GetFontMetrics return a sane value. this fixes crash
git-svn-id: svn://10.0.0.236/trunk@14307 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 22:59:14 +00:00
pavlov%pavlov.net
3e54e2709e remove assertion in nsRenderingContextGTK and added gdk_rgb_init() to
nsDeviceContextGTK


git-svn-id: svn://10.0.0.236/trunk@14280 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-09 15:47:45 +00:00
rpotts%netscape.com
bceab2e61f propagate abnormal stream termination correctly...
git-svn-id: svn://10.0.0.236/trunk@14263 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-08 09:03:02 +00:00
pavlov%pavlov.net
bc53841b8e yet another patch from Owen Taylor <otaylor@redhat.com> that impliments
nsFontMetricsGTK


git-svn-id: svn://10.0.0.236/trunk@14246 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 23:21:18 +00:00
pavlov%pavlov.net
26fed3657e patch that impliments nsRenderingContextGTK from Owen Taylor
<otaylor@redhat.com>


git-svn-id: svn://10.0.0.236/trunk@14245 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 23:19:06 +00:00
pavlov%pavlov.net
221f39c0a2 Apply patch from Owen Taylor <otaylor@redhat.com> that does images the right
way.


git-svn-id: svn://10.0.0.236/trunk@14243 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 19:54:14 +00:00
pavlov%pavlov.net
bae8029782 Implimented nsImageGTK. Fixed some compling problems in the other files due
to headers needed in nsImageGTK


git-svn-id: svn://10.0.0.236/trunk@14238 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 17:24:46 +00:00
saari%netscape.com
7ea3e11e01 Mac only change.
Don't unlock GDeviceHandles. Fixed.
Don't dereference unlocked handles. Fixed.


git-svn-id: svn://10.0.0.236/trunk@14221 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-07 01:45:03 +00:00
dcone%netscape.com
e4d6b73897 updated inverse colormap code, now blend works at 4 bit resolution
git-svn-id: svn://10.0.0.236/trunk@14108 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 22:38:37 +00:00
michaelp%netscape.com
b334610eb4 xpcom'ed blender.
git-svn-id: svn://10.0.0.236/trunk@14092 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 19:03:37 +00:00
dcone%netscape.com
536a210148 updated the blending, fixed 8 bit blending, and fixed a leak in the blender
git-svn-id: svn://10.0.0.236/trunk@14080 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 16:02:50 +00:00
pierre%netscape.com
2f1162ac13 save and restore the colors in CopyOffScreenBits()
git-svn-id: svn://10.0.0.236/trunk@14059 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:55:50 +00:00
pierre%netscape.com
4ce01434b7 Use GetFontHandle() to return the fontNum because we don't have font handles on Mac
git-svn-id: svn://10.0.0.236/trunk@14055 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:51:20 +00:00
pierre%netscape.com
6b3655097e Cache data to improve performance in GetMacFontNumber()
git-svn-id: svn://10.0.0.236/trunk@14053 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 06:49:14 +00:00
cls%seawood.org
05a1c42505 Removed hardcoded 'gtk-config'
git-svn-id: svn://10.0.0.236/trunk@13992 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 16:16:37 +00:00
cls%seawood.org
dbfcbd98f5 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.


git-svn-id: svn://10.0.0.236/trunk@13990 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-03 15:48:45 +00:00
jfrancis%netscape.com
696ff1d673 Fixing use of uninitialized var in nsRenderingContextMac :: CopyOffScreenBits()
git-svn-id: svn://10.0.0.236/trunk@13925 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 22:42:15 +00:00
pavlov%pavlov.net
d718c75e36 apply patches from Frank Visser <fvisser@hgmp.mrc.ac.uk>
git-svn-id: svn://10.0.0.236/trunk@13922 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 22:29:22 +00:00
shaver%netscape.com
54e5227fce add Frank Visser's nsRegionGTK
git-svn-id: svn://10.0.0.236/trunk@13868 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 14:17:06 +00:00
ramiro%netscape.com
d8242d6b50 Add support for gtk.
git-svn-id: svn://10.0.0.236/trunk@13867 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 13:56:59 +00:00
ramiro%netscape.com
a079b82f96 Changed 'unix' to 'motif' to deal with toolkit confusion.
git-svn-id: svn://10.0.0.236/trunk@13862 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 12:24:05 +00:00
ramiro%netscape.com
2e7953e856 Use -lfoo for libs instead of hardcoding to $(DIST)/bin/libfoo.so. This
makes more unix linker happy.


git-svn-id: svn://10.0.0.236/trunk@13861 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-02 12:20:07 +00:00
pavlov%pavlov.net
ee4fc06d7b more work on making this stuff work.
git-svn-id: svn://10.0.0.236/trunk@13844 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 19:30:03 +00:00
shaver%netscape.com
3515cf905f use gtk-config to find proper CFLAGS
git-svn-id: svn://10.0.0.236/trunk@13835 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 07:49:23 +00:00
shaver%netscape.com
85af300c3f add --enable-nglayout=gtk to build with GTK and not motif
git-svn-id: svn://10.0.0.236/trunk@13831 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-01 00:09:30 +00:00