1
1
Index: base/shell/explorer/desktop/desktop.cpp
2
2
===================================================================
3
- --- base/shell/explorer/desktop/desktop.cpp (revision 62316 )
3
+ --- base/shell/explorer/desktop/desktop.cpp (revision 62758 )
4
4
+++ base/shell/explorer/desktop/desktop.cpp (working copy)
5
5
@@ -326,8 +326,8 @@
6
6
HWND DesktopWindow::Create()
@@ -15,8 +15,17 @@ Index: base/shell/explorer/desktop/desktop.cpp
15
15
int height = GetSystemMetrics(SM_CYSCREEN);
16
16
Index: cmake/baseaddress.cmake
17
17
===================================================================
18
- --- cmake/baseaddress.cmake (revision 62316 )
18
+ --- cmake/baseaddress.cmake (revision 62758 )
19
19
+++ cmake/baseaddress.cmake (working copy)
20
+ @@ -1,7 +1,7 @@
21
+ set(baseaddress_ntdll 0x7c920000) # should be above 0x7c920000
22
+ set(baseaddress_kernel32 0x77d80000)
23
+ set(baseaddress_msvcrt 0x77cd0000)
24
+ - set(baseaddress_advapi32 0x77c20000)
25
+ + set(baseaddress_advapi32 0x77c70000)
26
+ set(baseaddress_gdi32 0x77bb0000)
27
+ set(baseaddress_user32 0x77a20000)
28
+ set(baseaddress_dhcpcsvc 0x779d0000)
20
29
@@ -272,6 +272,7 @@
21
30
set(baseaddress_wbemprox 0x70c70000)
22
31
set(baseaddress_windowscodecs 0x70b60000)
@@ -27,7 +36,7 @@ Index: cmake/baseaddress.cmake
27
36
set(baseaddress_wing32 0x70900000)
28
37
Index: cmake/config.cmake
29
38
===================================================================
30
- --- cmake/config.cmake (revision 62316 )
39
+ --- cmake/config.cmake (revision 62758 )
31
40
+++ cmake/config.cmake (working copy)
32
41
@@ -58,6 +58,9 @@
33
42
"Whether to compile support for ELF files.
@@ -37,11 +46,11 @@ Index: cmake/config.cmake
37
46
+ "Whether to build and use Wine-based Win32 subsystem.")
38
47
+
39
48
set(NSWPAT FALSE CACHE BOOL
40
- "Whether to compile apps/libs with features covered software patents or not .
49
+ "Whether to build apps/libs with features covered by software patents.
41
50
If you live in a country where software patents are valid/apply, don't
42
51
Index: CMakeLists.txt
43
52
===================================================================
44
- --- CMakeLists.txt (revision 62316 )
53
+ --- CMakeLists.txt (revision 62758 )
45
54
+++ CMakeLists.txt (working copy)
46
55
@@ -134,6 +134,10 @@
47
56
add_definitions(-D_WINKD_=1)
@@ -51,7 +60,7 @@ Index: CMakeLists.txt
51
60
+ add_definitions(-D_ARWINSS_=1)
52
61
+ endif()
53
62
+
54
- if((NOT DEFINED PCH) AND (CMAKE_VERSION STREQUAL "2.8.12.1-ReactOS"))
63
+ if((NOT DEFINED PCH) AND (CMAKE_VERSION STREQUAL "2.8.12.1-ReactOS") AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang") )
55
64
set(PCH 1)
56
65
else()
57
66
@@ -236,6 +240,9 @@
@@ -66,7 +75,7 @@ Index: CMakeLists.txt
66
75
create_iso_lists()
67
76
Index: include/asm/syscalls.inc
68
77
===================================================================
69
- --- include/asm/syscalls.inc (revision 62316 )
78
+ --- include/asm/syscalls.inc (revision 62758 )
70
79
+++ include/asm/syscalls.inc (working copy)
71
80
@@ -95,6 +95,7 @@
72
81
@@ -86,7 +95,7 @@ Index: include/asm/syscalls.inc
86
95
.ENDP
87
96
Index: include/psdk/winddi.h
88
97
===================================================================
89
- --- include/psdk/winddi.h (revision 62316 )
98
+ --- include/psdk/winddi.h (revision 62758 )
90
99
+++ include/psdk/winddi.h (working copy)
91
100
@@ -2683,7 +2683,7 @@
92
101
_In_ ULONG cjSize,
@@ -99,7 +108,7 @@ Index: include/psdk/winddi.h
99
108
FONTOBJ_pGetGammaTables(
100
109
Index: include/reactos/wine/config.h
101
110
===================================================================
102
- --- include/reactos/wine/config.h (revision 62316 )
111
+ --- include/reactos/wine/config.h (revision 62758 )
103
112
+++ include/reactos/wine/config.h (working copy)
104
113
@@ -1,3 +1,5 @@
105
114
+ #include "reactos/buildno.h"
@@ -109,7 +118,7 @@ Index: include/reactos/wine/config.h
109
118
/* Define to a function attribute for Microsoft hotpatch assembly prefix. */
110
119
Index: lib/3rdparty/CMakeLists.txt
111
120
===================================================================
112
- --- lib/3rdparty/CMakeLists.txt (revision 62316 )
121
+ --- lib/3rdparty/CMakeLists.txt (revision 62758 )
113
122
+++ lib/3rdparty/CMakeLists.txt (working copy)
114
123
@@ -2,7 +2,9 @@
115
124
add_subdirectory(adns)
@@ -121,33 +130,42 @@ Index: lib/3rdparty/CMakeLists.txt
121
130
add_subdirectory(fullfat)
122
131
add_subdirectory(libmpg123)
123
132
add_subdirectory(libsamplerate)
124
- Index: lib/3rdparty/freetype/CMakeLists.txt
125
- ===================================================================
126
- --- lib/3rdparty/freetype/CMakeLists.txt (revision 62316)
127
- +++ lib/3rdparty/freetype/CMakeLists.txt (working copy)
128
- @@ -11,7 +11,9 @@
129
- src/base/ftbbox.c
130
- src/base/ftbdf.c
131
- src/base/ftbitmap.c
132
- + src/base/ftcid.c
133
- src/base/ftdebug.c
134
- + src/base/ftfstype.c
135
- src/base/ftgasp.c
136
- src/base/ftglyph.c
137
- src/base/ftgxval.c
133
+ Index: subsystems/win32/csrsrv/init.c
134
+ ===================================================================
135
+ --- subsystems/win32/csrsrv/init.c (revision 62758)
136
+ +++ subsystems/win32/csrsrv/init.c (working copy)
137
+ @@ -20,7 +20,7 @@
138
+ /* DATA ***********************************************************************/
139
+
140
+ // Debug Flag
141
+ - ULONG CsrDebug = 0; // 0xFFFFFFFF;
142
+ + ULONG CsrDebug = 0xFFFFFFFF;
143
+
144
+ HANDLE CsrHeap = NULL;
145
+ HANDLE CsrObjectDirectory = NULL;
138
146
Index: win32ss/CMakeLists.txt
139
147
===================================================================
140
- --- win32ss/CMakeLists.txt (revision 62316 )
148
+ --- win32ss/CMakeLists.txt (revision 62758 )
141
149
+++ win32ss/CMakeLists.txt (working copy)
142
- @@ -7,6 +7,8 @@
150
+ @@ -6,7 +6,10 @@
151
+ PROJECT(WIN32SS)
143
152
144
153
add_subdirectory(drivers)
154
+ + add_subdirectory(user/winsrv)
145
155
146
156
+ if (NOT _ARWINSS_)
147
157
+
148
158
if(USE_DIBLIB)
149
159
add_subdirectory(gdi/diblib)
150
160
endif()
161
+ @@ -18,7 +21,6 @@
162
+ add_subdirectory(gdi/gdi32)
163
+ add_subdirectory(reactx)
164
+ add_subdirectory(user/user32)
165
+ - add_subdirectory(user/winsrv)
166
+
167
+ spec2def(win32k.sys win32k.spec ADD_IMPORTLIB)
168
+
151
169
@@ -243,3 +245,4 @@
152
170
add_asm_files(win32ksys_asm sys-stubs.S)
153
171
add_library(win32ksys ${win32ksys_asm})
@@ -156,7 +174,7 @@ Index: win32ss/CMakeLists.txt
156
174
\ No newline at end of file
157
175
Index: win32ss/drivers/CMakeLists.txt
158
176
===================================================================
159
- --- win32ss/drivers/CMakeLists.txt (revision 62316 )
177
+ --- win32ss/drivers/CMakeLists.txt (revision 62758 )
160
178
+++ win32ss/drivers/CMakeLists.txt (working copy)
161
179
@@ -1,6 +1,8 @@
162
180
@@ -169,7 +187,7 @@ Index: win32ss/drivers/CMakeLists.txt
169
187
add_subdirectory(watchdog)
170
188
Index: win32ss/include/ntgdihdl.h
171
189
===================================================================
172
- --- win32ss/include/ntgdihdl.h (revision 62316 )
190
+ --- win32ss/include/ntgdihdl.h (revision 62758 )
173
191
+++ win32ss/include/ntgdihdl.h (working copy)
174
192
@@ -270,6 +270,7 @@
175
193
DWORD dwCFCount;
@@ -199,3 +217,81 @@ Index: win32ss/include/ntgdihdl.h
199
217
typedef struct _BRUSH_ATTR /* Used with pen too. */
200
218
{
201
219
FLONG AttrFlags;
220
+ Index: win32ss/user/winsrv/consrv/conoutput.c
221
+ ===================================================================
222
+ --- win32ss/user/winsrv/consrv/conoutput.c (revision 62758)
223
+ +++ win32ss/user/winsrv/consrv/conoutput.c (working copy)
224
+ @@ -77,9 +77,13 @@
225
+ * Indeed, the palette handle comes from a console app
226
+ * calling ourselves, running in CSRSS.
227
+ */
228
+ + #ifndef _ARWINSS_
229
+ NtUserConsoleControl(ConsoleMakePalettePublic,
230
+ &SetPaletteRequest->PaletteHandle,
231
+ sizeof(SetPaletteRequest->PaletteHandle));
232
+ + #else
233
+ + UNIMPLEMENTED;
234
+ + #endif
235
+
236
+ Status = ConDrvSetConsolePalette(Buffer->Header.Console,
237
+ Buffer,
238
+ Index: win32ss/user/winsrv/consrv/frontends/gui/conwnd.c
239
+ ===================================================================
240
+ --- win32ss/user/winsrv/consrv/frontends/gui/conwnd.c (revision 62758)
241
+ +++ win32ss/user/winsrv/consrv/frontends/gui/conwnd.c (working copy)
242
+ @@ -161,7 +161,11 @@
243
+ }
244
+ else
245
+ {
246
+ + #ifndef _ARWINSS_
247
+ NtUserConsoleControl(GuiConsoleWndClassAtom, &WndClassAtom, sizeof(ATOM));
248
+ + #else
249
+ + UNIMPLEMENTED;
250
+ + #endif
251
+ }
252
+
253
+ return (WndClassAtom != 0);
254
+ Index: win32ss/user/winsrv/usersrv/init.c
255
+ ===================================================================
256
+ --- win32ss/user/winsrv/usersrv/init.c (revision 62758)
257
+ +++ win32ss/user/winsrv/usersrv/init.c (working copy)
258
+ @@ -95,7 +95,9 @@
259
+ WINAPI
260
+ PrivateCsrssManualGuiCheck(LONG Check)
261
+ {
262
+ + #ifndef _ARWINSS_
263
+ NtUserCallOneParam(Check, ONEPARAM_ROUTINE_CSRSS_GUICHECK);
264
+ + #endif
265
+ }
266
+
267
+ ULONG
268
+ @@ -102,7 +104,13 @@
269
+ NTAPI
270
+ CreateSystemThreads(PVOID pParam)
271
+ {
272
+ + #ifndef _ARWINSS_
273
+ NtUserCallOneParam((DWORD)pParam, ONEPARAM_ROUTINE_CREATESYSTEMTHREADS);
274
+ + #else
275
+ + while (TRUE)
276
+ + {
277
+ + }
278
+ + #endif
279
+ DPRINT1("This thread should not terminate!\n");
280
+ return 0;
281
+ }
282
+ Index: win32ss/user/winsrv/usersrv/shutdown.c
283
+ ===================================================================
284
+ --- win32ss/user/winsrv/usersrv/shutdown.c (revision 62758)
285
+ +++ win32ss/user/winsrv/usersrv/shutdown.c (working copy)
286
+ @@ -901,7 +901,11 @@
287
+ NTSTATUS Status;
288
+
289
+ /* FIXME Inside 2000 says we should impersonate the caller here */
290
+ + #ifndef _ARWINSS_
291
+ Status = NtUserCallTwoParam(UserProcessId, Flags, TWOPARAM_ROUTINE_EXITREACTOS);
292
+ + #else
293
+ + Status = 0;
294
+ + #endif
295
+
296
+ /* If the message isn't handled, the return value is 0, so 0 doesn't indicate
297
+ success. Success is indicated by a 1 return value, if anything besides 0
0 commit comments