Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
84bde6a4
Commit
84bde6a4
authored
May 30, 2000
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
May 30, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Separate wineps out of Wine's core.
parent
3951ff24
Show whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
47 additions
and
28 deletions
+47
-28
Make.rules.in
Make.rules.in
+1
-0
Makefile.in
Makefile.in
+0
-2
configure
configure
+2
-2
configure.in
configure.in
+1
-1
Makefile.in
dlls/Makefile.in
+1
-2
gdi_main.c
dlls/gdi/gdi_main.c
+1
-2
.cvsignore
dlls/wineps/.cvsignore
+4
-0
Makefile.in
dlls/wineps/Makefile.in
+6
-5
afm.c
dlls/wineps/afm.c
+0
-0
bitblt.c
dlls/wineps/bitblt.c
+0
-0
bitmap.c
dlls/wineps/bitmap.c
+0
-0
brush.c
dlls/wineps/brush.c
+0
-0
clipping.c
dlls/wineps/clipping.c
+0
-0
color.c
dlls/wineps/color.c
+0
-0
driver.c
dlls/wineps/driver.c
+0
-0
escape.c
dlls/wineps/escape.c
+0
-0
font.c
dlls/wineps/font.c
+0
-0
graphics.c
dlls/wineps/graphics.c
+0
-0
init.c
dlls/wineps/init.c
+23
-3
objects.c
dlls/wineps/objects.c
+0
-0
pen.c
dlls/wineps/pen.c
+0
-0
ppd.c
dlls/wineps/ppd.c
+0
-0
ps.c
dlls/wineps/ps.c
+0
-0
psdrv.h
dlls/wineps/psdrv.h
+1
-1
text.c
dlls/wineps/text.c
+0
-0
wineps.spec
dlls/wineps/wineps.spec
+4
-0
wineps16.spec
dlls/wineps/wineps16.spec
+1
-1
.cvsignore
graphics/psdrv/.cvsignore
+0
-1
.cvsignore
if1632/.cvsignore
+1
-7
Makefile.in
if1632/Makefile.in
+1
-0
main.c
loader/main.c
+0
-1
No files found.
Make.rules.in
View file @
84bde6a4
...
...
@@ -140,6 +140,7 @@ DLLS = \
win87em \
windebug \
wineoss.drv \
wineps \
wing \
wininet \
winmm \
...
...
Makefile.in
View file @
84bde6a4
...
...
@@ -37,7 +37,6 @@ LIBSUBDIRS = \
graphics
\
graphics/enhmetafiledrv
\
graphics/metafiledrv
\
graphics/psdrv
\
graphics/win16drv
\
if1632
\
library
\
...
...
@@ -105,7 +104,6 @@ LIBOBJS = \
graphics/graphics.o
\
graphics/enhmetafiledrv/enhmetafiledrv.o
\
graphics/metafiledrv/metafiledrv.o
\
graphics/psdrv/psdrv.o
\
graphics/win16drv/win16drv.o
\
if1632/if1632.o
\
loader/loader.o
\
...
...
configure
View file @
84bde6a4
...
...
@@ -6239,6 +6239,7 @@ dlls/win32s/Makefile
dlls/win87em/Makefile
dlls/winaspi/Makefile
dlls/windebug/Makefile
dlls/wineps/Makefile
dlls/wing/Makefile
dlls/wininet/Makefile
dlls/winmm/Makefile
...
...
@@ -6262,7 +6263,6 @@ files/Makefile
graphics/Makefile
graphics/enhmetafiledrv/Makefile
graphics/metafiledrv/Makefile
graphics/psdrv/Makefile
graphics/ttydrv/Makefile
graphics/win16drv/Makefile
graphics/x11drv/Makefile
...
...
@@ -6473,6 +6473,7 @@ dlls/win32s/Makefile
dlls/win87em/Makefile
dlls/winaspi/Makefile
dlls/windebug/Makefile
dlls/wineps/Makefile
dlls/wing/Makefile
dlls/wininet/Makefile
dlls/winmm/Makefile
...
...
@@ -6496,7 +6497,6 @@ files/Makefile
graphics/Makefile
graphics/enhmetafiledrv/Makefile
graphics/metafiledrv/Makefile
graphics/psdrv/Makefile
graphics/ttydrv/Makefile
graphics/win16drv/Makefile
graphics/x11drv/Makefile
...
...
configure.in
View file @
84bde6a4
...
...
@@ -1033,6 +1033,7 @@ dlls/win32s/Makefile
dlls/win87em/Makefile
dlls/winaspi/Makefile
dlls/windebug/Makefile
dlls/wineps/Makefile
dlls/wing/Makefile
dlls/wininet/Makefile
dlls/winmm/Makefile
...
...
@@ -1056,7 +1057,6 @@ files/Makefile
graphics/Makefile
graphics/enhmetafiledrv/Makefile
graphics/metafiledrv/Makefile
graphics/psdrv/Makefile
graphics/ttydrv/Makefile
graphics/win16drv/Makefile
graphics/x11drv/Makefile
...
...
dlls/Makefile.in
View file @
84bde6a4
...
...
@@ -75,7 +75,6 @@ EXTRADLLNAMES = \
commdlg
\
compobj
\
ddeml
\
dispdib
\
dplay
\
gdi
\
keyboard
\
...
...
@@ -183,7 +182,7 @@ libdplayx.@LIBEXT@ libdplay.@LIBEXT@: dplayx/libdplayx.@LIBEXT@
libdsound.@LIBEXT@
:
dsound/libdsound.@LIBEXT@
$(RM)
$@
&&
$(LN_S)
dsound/libdsound.@LIBEXT@
$@
libgdi32.@LIBEXT@ libgdi.@LIBEXT@
libdispdib.@LIBEXT@
:
gdi/libgdi32.@LIBEXT@
libgdi32.@LIBEXT@ libgdi.@LIBEXT@
:
gdi/libgdi32.@LIBEXT@
$(RM)
$@
&&
$(LN_S)
gdi/libgdi32.@LIBEXT@
$@
libicmp.@LIBEXT@
:
icmp/libicmp.@LIBEXT@
...
...
dlls/gdi/gdi_main.c
View file @
84bde6a4
...
...
@@ -8,7 +8,6 @@
#include "gdi.h"
#include "global.h"
#include "psdrv.h"
#include "tweak.h"
#include "win16drv.h"
...
...
@@ -35,7 +34,7 @@ BOOL WINAPI MAIN_GdiInit(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved
if
(
!
WIN16DRV_Init
())
return
FALSE
;
/* PSDRV initialization */
if
(
!
PSDRV_Init
(
))
return
FALSE
;
if
(
!
LoadLibraryA
(
"wineps"
))
return
FALSE
;
return
TRUE
;
}
dlls/wineps/.cvsignore
0 → 100644
View file @
84bde6a4
Makefile
libwineps.so.1.0
wineps.spec.c
wineps16.spec.c
graphics/psdrv
/Makefile.in
→
dlls/wineps
/Makefile.in
View file @
84bde6a4
DEFS
=
@DLLFLAGS@
-D__WINE__
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
psdrv
MODULE
=
wineps
SOVERSION
=
1.0
ALTNAMES
=
wineps16
SPEC_SRCS
=
wineps.spec wineps16.spec
C_SRCS
=
\
afm.c
\
...
...
@@ -23,8 +26,6 @@ C_SRCS = \
ps.c
\
text.c
all
:
$(MODULE).o
@MAKE_RULES@
@MAKE_DLL_RULES@
### Dependencies:
graphics/psdrv
/afm.c
→
dlls/wineps
/afm.c
View file @
84bde6a4
File moved
graphics/psdrv
/bitblt.c
→
dlls/wineps
/bitblt.c
View file @
84bde6a4
File moved
graphics/psdrv
/bitmap.c
→
dlls/wineps
/bitmap.c
View file @
84bde6a4
File moved
graphics/psdrv
/brush.c
→
dlls/wineps
/brush.c
View file @
84bde6a4
File moved
graphics/psdrv
/clipping.c
→
dlls/wineps
/clipping.c
View file @
84bde6a4
File moved
graphics/psdrv
/color.c
→
dlls/wineps
/color.c
View file @
84bde6a4
File moved
graphics/psdrv
/driver.c
→
dlls/wineps
/driver.c
View file @
84bde6a4
File moved
graphics/psdrv
/escape.c
→
dlls/wineps
/escape.c
View file @
84bde6a4
File moved
graphics/psdrv
/font.c
→
dlls/wineps
/font.c
View file @
84bde6a4
File moved
graphics/psdrv
/graphics.c
→
dlls/wineps
/graphics.c
View file @
84bde6a4
File moved
graphics/psdrv
/init.c
→
dlls/wineps
/init.c
View file @
84bde6a4
...
...
@@ -221,15 +221,35 @@ static LOGFONTA DefaultLogFont = {
* Initializes font metrics and registers driver. Called from GDI_Init()
*
*/
BOOL
PSDRV_Init
(
void
)
BOOL
WINAPI
PSDRV_Init
(
HINSTANCE
hinst
,
DWORD
reason
,
LPVOID
reserved
)
{
TRACE
(
"
\n
"
);
static
int
process_count
=
0
;
TRACE
(
"(0x%4x, 0x%08lx, %p)
\n
"
,
hinst
,
reason
,
reserved
);
switch
(
reason
)
{
case
DLL_PROCESS_ATTACH
:
if
(
!
process_count
++
)
{
/* FIXME: return FALSE if we fail any of these steps */
PSDRV_Heap
=
HeapCreate
(
0
,
0x10000
,
0
);
PSDRV_GetFontMetrics
();
PSDRV_DefaultFont
=
CreateFontIndirectA
(
&
DefaultLogFont
);
return
DRIVER_RegisterDriver
(
"WINEPS"
,
&
PSDRV_Funcs
);
DRIVER_RegisterDriver
(
"WINEPS"
,
&
PSDRV_Funcs
);
}
break
;
case
DLL_PROCESS_DETACH
:
if
(
!--
process_count
)
{
DeleteObject
(
PSDRV_DefaultFont
);
HeapDestroy
(
PSDRV_Heap
);
DRIVER_UnregisterDriver
(
"WINEPS"
);
}
break
;
}
return
TRUE
;
}
/**********************************************************************
* PSDRV_CreateDC
*/
...
...
graphics/psdrv
/objects.c
→
dlls/wineps
/objects.c
View file @
84bde6a4
File moved
graphics/psdrv
/pen.c
→
dlls/wineps
/pen.c
View file @
84bde6a4
File moved
graphics/psdrv
/ppd.c
→
dlls/wineps
/ppd.c
View file @
84bde6a4
File moved
graphics/psdrv
/ps.c
→
dlls/wineps
/ps.c
View file @
84bde6a4
File moved
include
/psdrv.h
→
dlls/wineps
/psdrv.h
View file @
84bde6a4
...
...
@@ -251,7 +251,7 @@ extern AFM *PSDRV_FindAFMinList(FONTFAMILY *head, char *name);
extern
void
PSDRV_AddAFMtoList
(
FONTFAMILY
**
head
,
AFM
*
afm
);
extern
void
PSDRV_FreeAFMList
(
FONTFAMILY
*
head
);
extern
BOOL
PSDRV_Init
(
voi
d
);
extern
BOOL
WINAPI
PSDRV_Init
(
HINSTANCE
hinst
,
DWORD
reason
,
LPVOID
reserve
d
);
extern
HFONT16
PSDRV_FONT_SelectObject
(
DC
*
dc
,
HFONT16
hfont
,
FONTOBJ
*
font
);
extern
HPEN
PSDRV_PEN_SelectObject
(
DC
*
dc
,
HPEN
hpen
,
PENOBJ
*
pen
);
extern
HBRUSH
PSDRV_BRUSH_SelectObject
(
DC
*
dc
,
HBRUSH
hbrush
,
...
...
graphics/psdrv
/text.c
→
dlls/wineps
/text.c
View file @
84bde6a4
File moved
dlls/wineps/wineps.spec
0 → 100644
View file @
84bde6a4
name wineps
type win32
init PSDRV_Init
if1632/wineps
.spec
→
dlls/wineps/wineps16
.spec
View file @
84bde6a4
name wineps
name wineps
16
type win16
13 pascal16 DeviceMode(word word str str) PSDRV_DeviceMode16
...
...
graphics/psdrv/.cvsignore
deleted
100644 → 0
View file @
3951ff24
Makefile
if1632/.cvsignore
View file @
84bde6a4
*.spec.c
Makefile
call16.s
comm.spec.c
dispdib.spec.c
kernel.spec.c
system.spec.c
thunk.glue.c
toolhelp.spec.c
wineps.spec.c
wprocs.spec.c
if1632/Makefile.in
View file @
84bde6a4
...
...
@@ -7,6 +7,7 @@ MODULE = if1632
SPEC_SRCS
=
\
comm.spec
\
dispdib.spec
\
kernel.spec
\
system.spec
\
toolhelp.spec
\
...
...
loader/main.c
View file @
84bde6a4
...
...
@@ -49,7 +49,6 @@
#include "thread.h"
#include "task.h"
#include "debugtools.h"
#include "psdrv.h"
#include "win16drv.h"
#include "callback.h"
#include "server.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment