dcone%netscape.com
f12f16d7ca
fixed resoluton problem for printing.
1998-12-16 18:02:38 +00:00
warren%netscape.com
0580a8e5c4
Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
1998-12-16 05:40:20 +00:00
sfraser%netscape.com
e9e844fade
Make sure the port is initialized before being used.
1998-12-16 01:59:31 +00:00
michaelp%netscape.com
361c8080ab
we now call GetNearestColor() in 16bpp when creating brushes and pens.
1998-12-15 23:13:59 +00:00
dcone%netscape.com
031b91086c
fixed the scaling bug
1998-12-15 22:22:40 +00:00
dcone%netscape.com
b8ac234783
fixed some scaling issues for the mac, more to come
1998-12-15 16:56:53 +00:00
michaelp%netscape.com
56739d78ed
added ability to create a drawing surface from an HDC under windows.
1998-12-15 05:51:30 +00:00
beard%netscape.com
3cb1e6a525
Regenerated with GenToc.
1998-12-13 18:15:37 +00:00
beard%netscape.com
18984e5a80
First Checked In.
1998-12-13 05:01:04 +00:00
dcone%netscape.com
4a72bbc421
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
dbbc7656e0
Update routines for creating a rendering context, and fixed the printer routines.
1998-12-11 16:03:10 +00:00
sfraser%netscape.com
4dd86fa679
Convert AppleSingle -> binary
1998-12-09 20:48:54 +00:00
pierre%netscape.com
444722da26
removed saari's hack
1998-12-09 10:17:31 +00:00
pierre%netscape.com
8511ddd1bf
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
6a2a819850
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
8ad023962d
Removed some include files
1998-12-09 10:14:46 +00:00
pierre%netscape.com
9d05ec1948
optimized and cleaned up
1998-12-08 01:47:04 +00:00
pierre%netscape.com
f05cc800e4
rewrote the GraphicState handling
1998-12-07 03:38:58 +00:00
pavlov%pavlov.net
98d8b3260b
set the horizontal scrollbars to the same size size as the verticle ones
1998-12-06 03:48:00 +00:00
pierre%netscape.com
7286b17e0d
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
9e32e43c56
added StartDraw(), EndDraw() and mCurrentBuffer. More changes to come soon.
1998-12-06 00:36:35 +00:00
ramiro%netscape.com
e06da2636b
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
9de953c38c
Have cvs ignore generated files.
1998-12-05 11:07:45 +00:00
ramiro%netscape.com
e2b921bf3c
Add cvsignore entries for makefiles generated bu autoconf.
1998-12-05 09:07:33 +00:00
akkana%netscape.com
5da3c4fcdf
base/src/nscore.h
1998-12-04 21:36:23 +00:00
dcone%netscape.com
62ebba6112
added the nsDeviceContextSpec and factory support for printing support
1998-12-04 15:04:30 +00:00
dcone%netscape.com
26823e00ba
Added the nsDeviceContextSpecFactory and nsDeviceContextSpec support
1998-12-04 15:03:41 +00:00
dcone%netscape.com
88115c192c
Added printing support
1998-12-04 15:02:57 +00:00
dcone%netscape.com
67bb22ffd2
First Checked In.
1998-12-04 15:02:26 +00:00
wtc%netscape.com
a8634da8db
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
a07f36d7a3
Mac only hackery to make rendering better.
1998-12-03 04:24:54 +00:00
dcone%netscape.com
26ca8b6da1
Changed the name so the file can be used on the Mac
1998-12-02 16:06:31 +00:00
saari%netscape.com
b27c30186d
Fixing build breakage.
nsRegionMac API changed on me.
1998-12-02 04:26:16 +00:00
saari%netscape.com
bc42ed5311
fixed hand merge error
1998-12-02 02:51:48 +00:00
saari%netscape.com
78e6d81792
----------------------------------------
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
0a0eebced5
fixed build bustage.
1998-12-02 01:08:43 +00:00
michaelp%netscape.com
6cfbcd06d4
added GetNativeRegion() and GetRegionComplexity() methods.
1998-12-02 00:36:56 +00:00
michaelp%netscape.com
65c80dd46c
added FlushFontCache() method.
1998-12-02 00:36:08 +00:00
michaelp%netscape.com
1ee9c1329d
fixed build bustage.
1998-12-01 03:20:31 +00:00
michaelp%netscape.com
cf6649b654
revised blending APIs.
1998-12-01 02:15:44 +00:00
beard%netscape.com
c0c7bc482d
Mac shared library migration.
1998-11-30 22:15:00 +00:00
michaelp%netscape.com
337fdd7b1a
fixed resource leak.
1998-11-28 04:24:15 +00:00
michaelp%netscape.com
b90db6870e
fixed duplicate resource free.
1998-11-28 04:23:23 +00:00
michaelp%netscape.com
6458aae507
added missing NS_INIT_REFCNT().
1998-11-28 04:21:40 +00:00
peterl%netscape.com
69e3d48a66
fixed bug in font family enumeration
1998-11-26 01:22:04 +00:00
peterl%netscape.com
67259ff2eb
made text decorations minimum size of 1 pixel
1998-11-26 01:21:22 +00:00
pavlov%pavlov.net
284b625465
fix twipstopixels and got the scrollbars being sized correctly.
1998-11-25 02:35:59 +00:00
pavlov%pavlov.net
af40821be2
fixed my assertions
1998-11-24 02:43:07 +00:00
pavlov%pavlov.net
cb493acde9
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
7daa228fcb
added STRICT to list of preprocessor macros.
1998-11-23 19:00:08 +00:00
danm%netscape.com
a6c31bb67b
tweak change from last rev, which was close, but misbehaved.
1998-11-23 17:34:50 +00:00
troy%netscape.com
941d378fe1
Added some casts to make the 6.0 compiler happy
1998-11-23 03:43:49 +00:00
michaelp%netscape.com
8a584e6cef
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
bdeb783286
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
4b838b50a8
changed for drawing surface HDC ownership setting.
1998-11-23 03:11:16 +00:00
michaelp%netscape.com
4f12e7519f
added data member to drawing surface to determine HDC ownership.
1998-11-23 03:10:10 +00:00
msw%gimp.org
3cdb3eefd1
A _horrible_ hack to make fonts readable. Needs much work here.
1998-11-22 04:48:47 +00:00
cyeh%netscape.com
65038e9551
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
cd511096b1
Another small fix, to take out unnessasary code.
1998-11-20 19:26:06 +00:00
dcone%netscape.com
86b548ad37
deleted duplicate from nsIImage.h - no longer needed
1998-11-20 18:55:50 +00:00
dcone%netscape.com
cff6d69a99
Took out all blending code, and updated to coding standards, general cleanup
1998-11-20 17:37:18 +00:00
pavlov%pavlov.net
10f11b0cca
make sure we return a value for all of the NS_IMETHODIMP methods
1998-11-20 03:30:49 +00:00
pavlov%pavlov.net
9f635e44ef
Impliment SetLineStyle and DrawPolyline
1998-11-18 03:56:41 +00:00
jfrancis%netscape.com
150af5ea50
more shared lib conversion work.
1998-11-18 02:44:02 +00:00
jfrancis%netscape.com
cd1419e599
more shared lib conversion work
1998-11-18 02:43:45 +00:00
peterl%netscape.com
bcb947be7e
tweaked x-height guess for true-type fonts
1998-11-18 02:07:40 +00:00
blizzard%appliedtheory.com
a87dd1063b
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
5633be113a
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
bd93f104b0
Added shared lib targets
1998-11-17 05:38:30 +00:00
jfrancis%netscape.com
798674dd4a
Shared Lib conversion
1998-11-17 05:37:42 +00:00
jfrancis%netscape.com
9b5e605ed6
First Checked In.
1998-11-17 05:26:28 +00:00
pinkerton%netscape.com
75adbe82f7
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
b163c102f9
removed some debugging messages
1998-11-15 19:32:54 +00:00
pavlov%pavlov.net
6d4f1d1b64
Remove debugging message and set the scrollbar size
1998-11-15 00:57:21 +00:00
pavlov%pavlov.net
0cb2e3c66d
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
4f708b1231
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
551a9f0ab8
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
d76a646548
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
2ae2b3babd
Draw directly onto windows, not on a pixmap
1998-11-14 06:35:25 +00:00
michaelp%netscape.com
0647ee3c40
fixed build bustage.
1998-11-14 02:58:09 +00:00
kipp%netscape.com
5ee9e214aa
Fixed typo
1998-11-14 02:31:29 +00:00
michaelp%netscape.com
b731d5dc2c
changes to support printing architecture and actual printing under windows.
1998-11-14 02:05:13 +00:00
pavlov%pavlov.net
5f6f52a7b2
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
07e457eaf1
add nsRegionGTK to the factory. this fixes some major region related
...
problems.
1998-11-13 16:29:46 +00:00
pavlov%pavlov.net
4894032ac0
implimentation for DrawString for PRUnichar characters.
1998-11-11 23:08:19 +00:00
rpotts%netscape.com
c71fa4e0f4
Fixed random crash...
1998-11-11 10:04:57 +00:00
pierre%netscape.com
efc32562aa
Set the scroll bar dimensions to 16 pixels instead of 10.
1998-11-11 01:41:44 +00:00
pavlov%pavlov.net
2f4620b9b4
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
fde80a386c
have GetFontMetrics return a sane value. this fixes crash
1998-11-09 22:59:14 +00:00
pavlov%pavlov.net
b2e38fec66
remove assertion in nsRenderingContextGTK and added gdk_rgb_init() to
...
nsDeviceContextGTK
1998-11-09 15:47:45 +00:00
rpotts%netscape.com
23f93aa1da
propagate abnormal stream termination correctly...
1998-11-08 09:03:02 +00:00
pavlov%pavlov.net
a8799e5126
yet another patch from Owen Taylor <otaylor@redhat.com> that impliments
...
nsFontMetricsGTK
1998-11-07 23:21:18 +00:00
pavlov%pavlov.net
0ae3117b58
patch that impliments nsRenderingContextGTK from Owen Taylor
...
<otaylor@redhat.com>
1998-11-07 23:19:06 +00:00
pavlov%pavlov.net
32eb4e8c99
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
733e8c1795
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
e4bd0c3b01
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
f392b64628
updated inverse colormap code, now blend works at 4 bit resolution
1998-11-04 22:38:37 +00:00
michaelp%netscape.com
64f26ac7f0
xpcom'ed blender.
1998-11-04 19:03:37 +00:00
dcone%netscape.com
3c44a29c2c
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
28d3382df3
save and restore the colors in CopyOffScreenBits()
1998-11-04 06:55:50 +00:00
pierre%netscape.com
8086c5e22a
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
a6268eee92
Cache data to improve performance in GetMacFontNumber()
1998-11-04 06:49:14 +00:00
cls%seawood.org
bc6ca3753f
Removed hardcoded 'gtk-config'
1998-11-03 16:16:37 +00:00
cls%seawood.org
f70174e61a
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
f8cc315185
Fixing use of uninitialized var in nsRenderingContextMac :: CopyOffScreenBits()
1998-11-02 22:42:15 +00:00
pavlov%pavlov.net
187da7572d
apply patches from Frank Visser <fvisser@hgmp.mrc.ac.uk>
1998-11-02 22:29:22 +00:00
shaver%netscape.com
3b5f798561
add Frank Visser's nsRegionGTK
1998-11-02 14:17:06 +00:00
ramiro%netscape.com
4f83e7be8b
Add support for gtk.
1998-11-02 13:56:59 +00:00
ramiro%netscape.com
4803da0b22
Changed 'unix' to 'motif' to deal with toolkit confusion.
1998-11-02 12:24:05 +00:00
ramiro%netscape.com
c7abdd319f
Use -lfoo for libs instead of hardcoding to $(DIST)/bin/libfoo.so. This
...
makes more unix linker happy.
1998-11-02 12:20:07 +00:00
pavlov%pavlov.net
c22ce85418
more work on making this stuff work.
1998-11-01 19:30:03 +00:00
shaver%netscape.com
d83fbd627e
use gtk-config to find proper CFLAGS
1998-11-01 07:49:23 +00:00
shaver%netscape.com
8427d0db3e
add --enable-nglayout=gtk to build with GTK and not motif
1998-11-01 00:09:30 +00:00
blizzard%appliedtheory.com
ef969a30e6
fixes to get building and linking.
1998-10-31 23:17:57 +00:00
shaver%netscape.com
504eea4df4
gtklayout.c needs to be in widgets, not gfx
1998-10-31 21:42:02 +00:00
shaver%netscape.com
3bbd8557f1
add gtklayout.* to local build, since we'll need it for the drawing context, and we don't want all of gnome-libs
1998-10-31 16:17:21 +00:00
mcafee%netscape.com
a6f9ad1357
libgfxunix.a -> libgfxmotif.a. r=ramiro@netscape.com, spider@netscape.com
1998-10-31 07:05:37 +00:00
blizzard%appliedtheory.com
b20766e1cf
Skel code for gtk/gdk gfx library. This compiles and does nothing else.
1998-10-31 04:12:39 +00:00
michaelp%netscape.com
b078cd272e
fixed build bustage.
1998-10-30 05:04:39 +00:00
michaelp%netscape.com
e2c0081f9f
fixed build bustage.
1998-10-30 04:27:48 +00:00
michaelp%netscape.com
9eaa3fb70d
again.
1998-10-30 04:13:34 +00:00
michaelp%netscape.com
2b227e4108
fixed build bustage.
1998-10-30 04:13:33 +00:00
michaelp%netscape.com
f85c3fa2a1
fixed build bustage.
1998-10-30 03:52:25 +00:00
michaelp%netscape.com
42bb7d7f21
fixed build bustage.
1998-10-30 03:16:17 +00:00
michaelp%netscape.com
02692c7c64
fixed build bustage.
1998-10-30 02:51:08 +00:00
michaelp%netscape.com
fc225bf7c1
changes to support nsIRenderingContext that conforms to COM conventions.
1998-10-30 02:08:25 +00:00
pinkerton%netscape.com
d2e881143e
Don't use the offscreen pixmap if it is null (low memory situations)
1998-10-29 20:03:57 +00:00
dcone%netscape.com
3d66397f2a
Abstracted the nsBlender class
1998-10-29 19:22:42 +00:00
pinkerton%netscape.com
82e3dddcc8
default constructor initializes position/size to 0 so people don't have to call Empty() any more.
1998-10-29 18:06:45 +00:00
pinkerton%netscape.com
690dc03bc0
Turn on xSYM generation for both targets and enable debugging to touch the right prefs.
1998-10-29 17:44:13 +00:00
pierre%netscape.com
f740ba45f7
Landing MacWidgets...
1998-10-29 14:06:26 +00:00
cls%seawood.org
ddf746506e
Added $XLDFLAGS & $XLIBS to EXTRA_DSO_LDOPTS
1998-10-28 05:38:12 +00:00
cls%seawood.org
411ab80ce3
New autoconf files for nglayout
1998-10-28 03:53:57 +00:00
kipp%netscape.com
780cf0470a
Support high accuracy rendering (slowly)
1998-10-27 16:49:40 +00:00
shaver%netscape.com
575453b254
ancient GTK port, as starting point
1998-10-27 15:43:49 +00:00
michaelp%netscape.com
c68614adc1
fixed bug in ref counting on drawing surfaces in the rendering context.
1998-10-27 00:09:44 +00:00
peterl%netscape.com
7ab51700bd
fixed usage of grey vs gray, now we support both
1998-10-26 23:11:07 +00:00
dcone%netscape.com
eaf7731727
fixed a parameter for spacing
1998-10-26 18:05:45 +00:00
kipp%netscape.com
859cceb62f
Revised DrawString API to take a spacing array for character spacing control
1998-10-26 17:12:39 +00:00
mcafee%netscape.com
4c30201be5
Fixing Solaris bustage, this file needs an EOL character on the last line
1998-10-26 05:39:12 +00:00
michaelp%netscape.com
236e6a4a24
fixed build bustage.
1998-10-23 20:17:36 +00:00
michaelp%netscape.com
2812cd80c1
made CopyBits() more flexible. added better ddraw support for windows rendering
...
context. added ddraw support to windows blender. made CreateDrawingSurface()
able to be smarter.
1998-10-23 17:58:18 +00:00
rods%netscape.com
3dae4d6469
Removed debug statements
1998-10-16 22:36:43 +00:00
rods%netscape.com
2e7ee2f9e5
GetWidget was not creating enough memory to hold the string for text
...
measurement. This was causing it to write off into memory.
1998-10-16 22:27:27 +00:00
rods%netscape.com
fcfb7952b9
Added a lot of error check for a null mRenderingSurface
1998-10-16 19:31:25 +00:00
rpotts%netscape.com
a536953437
zero the pointer to the IL_ImageRequest being held by the ImageRequestImpl when the IL_ImageRequest is destroyed. The IL_imageRequest can be destroyed by either the ImageRequestImpl *or* the IL_ImageGroup...
1998-10-14 23:56:33 +00:00
valeski%netscape.com
cee140ae96
Raptor only change. Providing method definitions for IsURLInCache when NU_CACHE is defined.
1998-10-14 22:39:16 +00:00
peterl%netscape.com
8d52e15ff1
guess at x-height since text metrics is unreliable on windows
1998-10-13 19:08:43 +00:00
dcone%netscape.com
37a98400aa
First Checked In.
1998-10-12 13:50:27 +00:00
michaelp%netscape.com
125493c236
fixed leak of regions in state cloning.
1998-10-11 00:40:10 +00:00