2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
[reactos.git] / reactos / ChangeLog
1 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
2
3 * drivers/net/tcpip/include/.cvsignore: New file.
4 * drivers/net/tcpip/include/precomp.h: New file.
5 * drivers/net/tcpip/Makefile (TARGET_PCH): Set to include/precomp.h.
6 * drivers/net/tcpip/tests/Makefile (TARGET_PCH): Reset.
7 * drivers/net/tcpip/*/*.c: Use pre-compiled header.
8
9 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
10
11 * drivers/net/ndis/include/.cvsignore: New file.
12 * drivers/net/ndis/.cvsignore: Add *.d.
13 * drivers/net/ndis/Makefile (TARGET_PCH): Set to include/ndissys.h.
14 * drivers/net/ndis/*.c: Use pre-compiled header.
15
16 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
17
18 * drivers/net/afd/include/.cvsignore: New file.
19 * drivers/net/afd/include/tdiconn.h: Don't include <afd.h>.
20 * drivers/net/afd/.cvsignore: Add *.d.
21 * drivers/net/afd/makefile (TARGET_PCH): Set to include/afd.h.
22
23 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
24
25 * subsys/system/taskmgr/.cvsignore: Add *.gch.
26 * subsys/system/taskmgr/precomp.h: New file.
27 * subsys/system/taskmgr/makefile (TARGET_PCH): Set to precomp.h.
28 * subsys/system/taskmgr/*.c: Use pre-compiled header.
29
30 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
31
32 * subsys/system/usetup/.cvsignore: Add *.gch.
33 * subsys/system/usetup/precomp.h: New file.
34 * subsys/system/usetup/makefile (TARGET_PCH): Set to precomp.h.
35 * subsys/system/usetup/*.c: Use pre-compiled header.
36
37 2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
38
39 * subsys/system/cmd/.cvsignore: Add *.gch.
40 * subsys/system/cmd/precomp.h: New file.
41 * subsys/system/cmd/Makefile (TARGET_PCH): Set to precomp.h.
42 * subsys/system/cmd/*.c: Use pre-compiled header.
43
44 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
45
46 * lib/user32/include/.cvsignore: New file.
47 * lib/user32/Makefile (TARGET_PCH): Set to include/user32.h.
48 * lib/user32/*/*.c: Use pre-compiled header.
49 * include/wine/debug.h (FIXME): Override previous declaration is needed.
50
51 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
52
53 * lib/userenv/.cvsignore: Add *.gch.
54 * lib/userenv/makefile (TARGET_PCH): Set to precomp.h.
55 * lib/userenv/*.c: Use pre-compiled header.
56
57 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
58
59 * lib/ws2_32/include/.cvsignore: New file.
60 * lib/ws2_32/makefile (TARGET_PCH): Set to include/ws2_32.h.
61 * lib/ws2_32/include/[catalog.h, handle.h]: Don't include ws2_32.h.
62
63 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
64
65 * lib/gdi32/include/.cvsignore: New file.
66 * lib/gdi32/.cvsignore: Remove *.gch.
67
68 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
69
70 * lib/gdi32/.cvsignore: Ignore *.gch.
71 * lib/gdi32/include/precomp.h: New file.
72 * lib/gdi32/Makefile (TARGET_PCH): Set to include/precomp.h.
73 * lib/gdi32/*/*.c: Use pre-compiled header.
74
75 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
76
77 * lib/msvcrt/.cvsignore: Ignore *.gch.
78 * lib/msvcrt/precomp.h: New file.
79 * lib/msvcrt/Makefile (TARGET_PCH): Set to precomp.h.
80 * lib/msvcrt/*/*.c: Use pre-compiled header.
81
82 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
83
84 * lib/crtdll/.cvsignore: Ignore *.gch.
85 * lib/crtdll/precomp.h: New file.
86 * lib/crtdll/Makefile (TARGET_PCH): Set to precomp.h.
87 * lib/crtdll/*/*.c: Use pre-compiled header.
88
89 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
90
91 * lib/advapi32/.cvsignore: Ignore *.gch.
92 * lib/advapi32/advapi32.h: New file.
93 * lib/advapi32/Makefile (TARGET_PCH): Set to advapi32.h.
94 * lib/advapi32/*/*.c: Use pre-compiled header.
95
96 2004-08-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
97
98 * ntoskrnl/include/.cvsignore: New file.
99 * ntoskrnl/include/ntoskrnl.h: Ditto.
100 * ntoskrnl/*/*.c: Use pre-compiled header.
101 * ntoskrnl/Makefile: Support pre-compiled header.
102 * tools/helper.mk: .pch files are now .gch files.
103
104 2004-07-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
105
106 * Makefile (DLLS): Add gdiplus.
107 * apistatus.lst: Add gdiplus.dll.
108 * baseaddress.cfg (TARGET_BASE_LIB_GDIPLUS): Declare.
109 * bootdata/packages/reactos.dff: Add gdiplus.dll.
110 * include/ntos/rtl.h (InsertTailList): Remove dependency on RtlAssert.
111 * lib/gdiplus/(gdiplus, include, tests, tests/tests): New directories.
112 * lib/gdiplus/(.cvsignore, gdiplus.def, gdiplus.edf, gdiplus.rc,
113 makefile): New files.
114 * lib/gdiplus/gdiplus/(.cvsignore, *.c): Ditto.
115 * lib/gdiplus/include/(debug.h, GdiPlusPrivate.h): Ditto.
116 * lib/gdiplus/tests/(.cvsignore, Makefile, passthrough.c): Ditto.
117 * lib/gdiplus/tests/tests/(.cvsignore, test-1.c): Ditto.
118
119 2004-07-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
120
121 * Makefile, drivers/video/makefile, lib/cpl/Makefile, ntoskrnl/Makefile,
122 tools/helper.mk: Add test target.
123 * include/ntos/types.h (UINT16, PUINT16): Declare.
124 * regtests/kmregtests/tests/mdl-1.c, regtests/kmregtests/tests/mdl-2.c,
125 regtests/kmregtests/tests/mm-1.c, subsys/win32k/tests/tests/eng-mem-1.c:
126 Simplify tests.
127 * regtests/shared/regtests.c: Include <ctype.h> and <stdlib.h>.
128 * regtests/shared/regtests.h (DISPATCHER): Declare the whole function.
129 * tools/regtests.c: Refactor part of register_test into get_test_name();
130 Stub for running tests in the build environment.
131 * w32api/include/basetsd.h (INT16, PINT16, UINT16, PUINT16): Declare.
132 * lib/user32/misc/exticon.c (UINT16): Remove declaration.
133
134 2004-07-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
135
136 * rules.mak: Be silent only if VERBOSE=no.
137
138 2004-07-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
139
140 * rules.mak: Do not print "'target' is up to date." messages.
141
142 2004-07-21 Casper S. Hornstrup <chorns@users.sourceforge.net>
143
144 * w32api/include/(GdiPlus.h, GdiPlusBase.h, GdiPlusBrush.h, GdiPlusColor.h,
145 GdiPlusColorMatrix.h, GdiPlusEffects.h, GdiPlusEnums.h, GdiPlusFlat.h,
146 GdiPlusGpStubs.h, GdiPlusGraphics.h, GdiPlusHeaders.h,
147 GdiPlusImageAttributes.h, GdiPlusImaging.h GdiPlusInit.h,
148 GdiPlusLineCaps.h, GdiPlusMatrix.h, GdiPlusMem.h, GdiPlusMetaFile.h,
149 GdiPlusMetaHeader.h, GdiPlusPath.h, GdiPlusPen.h, GdiPlusPixelFormats.h,
150 GdiPlusStringFormat.h, GdiPlusTypes.h): New files.
151
152 2004-07-21 Casper S. Hornstrup <chorns@users.sourceforge.net>
153
154 * rules.mak, iface/addsys/makefile, iface/native/makefile,
155 tools/Makefile: Be quiet if VERBOSE=no.
156 * tools/helper.mk: Print module name if it was successfully built.
157 * tools/regtests.c, tools/wine2ros/wine2ros.c: Be quiet.
158
159 2004-06-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
160
161 * tools/helper.mk: Skip automatic dependency tracking if
162 DEPENDENCIES=no.
163
164 2004-05-31 Casper S. Hornstrup <chorns@users.sourceforge.net>
165
166 * include/reactos/version.h (KERNEL_VERSION_BUILD_TYPE): Replace possible
167 value FINAL with RELEASE.
168
169 2004-03-27 Art Yerkes <arty@users.sourceforge.net>
170
171 * Fixed make bootcd on windows + cross. Define TOPDIR as PATH_TO_TOP
172
173 2004-03-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
174
175 * subsys/system/usetup/bootsup.c (UpdateFreeLoaderIni): Use existing
176 ReactOS entry if available.
177
178 2004-03-09 Casper S. Hornstrup <chorns@users.sourceforge.net>
179
180 * regtests/Makefile: Make REGTEST_TARGETS depend on *.c.
181 * regtests/kmregtests/driver.c: Update call to PerformTests().
182 * regtests/kmrtint/kmrtint.c (RegTestMain): Update to match prototype.
183 * regtests/kmrtint/kmrtint.def (RegTestMain): Ditto.
184 * regtests/kmrtint/kmrtint.edf (RegTestMain): Ditto.
185 * regtests/win32base/tests/ws2event.c: New file.
186 * regtests/regtests/regtests.c (OUPUT_MODE_DbgPrint,
187 OUPUT_MODE_OutputDebugString, OUPUT_MODE_printf): Define.
188 (OutputMode): New variable.
189 (OutputRoutine): New function.
190 (RunTestDriver): Add TestName parameter.
191 (main): Parse command line to find output routine and test name.
192 * regtests/shared/regtests.c (PerformTest): Use specified output routine
193 if specified. Run only specified test if specified.
194 (PerformTests): Update call to PerformTest().
195 * regtests/shared/regtests.h (TestOutputRoutine): Add prototype.
196 (TestDriverMain): Add OutputRoutine and TestName parameter.
197 (PerformTests): Ditto.
198 * regtests/win32base/Makefile (TARGET_SDKLIBS): Add ws2_32.a.
199 * regtests/win32base/driver.c (RegTestMain): Update to match prototype.
200 * regtests/win32base/win32base.def (RegTestMain): Ditto.
201 * regtests/win32base/win32base.edf (RegTestMain): Ditto.
202 * tools/regtests.c (UMSTUB): Update call to PerformTests().
203
204 2004-03-04 Casper S. Hornstrup <chorns@users.sourceforge.net>
205
206 * drivers/net/tcpip/tcpip/i386: New directory.
207 * drivers/net/tcpip/tcpip/i386/checksum.S: New file.
208 * drivers/net/tcpip/notes.txt: New file.
209 * drivers/net/afd/afd/dispatch.c (AfdDispCompleteListen): Signal ACCEPT
210 network event.
211 (AfdDispEventSelect): Reference event handle.
212 * drivers/net/afd/afd/tdi.c (TdiListen): Remove unused event.
213 Move Iosb and RequestConnectionInfo to AFD_LISTEN_REQUEST structure.
214 * drivers/net/afd/include/afd.h (AFDFCB): Replace EventObjects with
215 EventObject of type PKEVENT.
216 * drivers/net/tcpip/makefile (ARCH_OBJECTS): New variable.
217 (TARGET_OBJECTS): Add ARCH_OBJECTS.
218 * drivers/net/tcpip/include/address.h (AddrCloneAddress): New prototype.
219 * drivers/net/tcpip/include/checksum.h (ChecksumFold, csum_partial): New
220 prototype.
221 (TCPv4Checksum): New macro.
222 (CorrectChecksum): Rename to IPv4CorrectChecksum.
223 (TCPv4CorrectChecksum): New macro.
224 * drivers/net/tcpip/include/ip.h (IPv4_DF_MASK): New constant.
225 * drivers/net/tcpip/include/tcp.h (TCP_XXX): Correct constants.
226 (TCPCreateSegment, TCPFreeSegment, TCPAddSegment): Prototype.
227 * drivers/net/tcpip/include/titypes.h (TCP_SEND_REQUEST): Add SequenceNumber
228 and AckNumber.
229 (TCP_SEGMENT): New structure.
230 (CONNECTION_ENDPOINT): Add ListenRequest and ReceivedSegments.
231 * drivers/net/tcpip/network/transmit.c (SendFragments): Release memory
232 for Data on failure.
233 * drivers/net/tcpip/tcpip/address.c (AddrCloneAddress): New function.
234 * drivers/net/tcpip/tcpip/checksum.c (ChecksumFold): Factor out folding
235 from ChecksumCompute.
236 * drivers/net/tcpip/tcpip/dispatch.c (DispTdiListen): Support asynchronous
237 operation.
238 * drivers/net/tcpip/tcpip/fileobjs.c (FileOpenAddress): Don't cast to
239 PTDI_ADDRESS_IP.
240 Initialize ReceivedSegments.
241 * drivers/net/tcpip/tcpip/routines.c (DisplayIPHeader): New function.
242 (DisplayIPPacket): Call DisplayIPHeader().
243 (DisplayTCPHeader): Change format strings.
244 * drivers/net/tcpip/transport/tcp/tcp.c (IPIdentification,
245 TCPSegmentList): Add.
246 (TCPCreateSegment, TCPFreeSegment, TCPAddSegment,
247 TCPBuildAndTransmitSendRequest2, TCPiSelectISS, TCPiReceiveListen,
248 TCPiReceiveSynSent, TCPiReceiveSynReceived, TCPiReceiveData): New
249 function.
250 (TCPiBuildPacket): Build segment.
251 (TCPStartup): Initialize TCPSegmentList.
252 (TCPShutdown): Cleanup TCPSegmentList.
253
254 2004-02-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
255
256 * drivers/net/tcpip/datalink/loopback.c: Reformat.
257 * drivers/net/tcpip/network/neighbor.c: Ditto.
258 * drivers/net/tcpip/tcpip/info.c: Ditto.
259 * drivers/net/tcpip/transport/datagram/datagram.c: Cleanup.
260 If there is an out-of-resources situation, don't transmit the
261 datagram out of order.
262
263 2004-02-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
264
265 * tools/regtests.c (KMSTUB): Correct device name.
266
267 2004-02-22 Ge van Geldorp <ge@gse.nl>
268
269 * Implement keyboard navigation for menus
270 * Implement system menus
271
272 2004-02-22 Casper S. Hornstrup <chorns@users.sourceforge.net>
273
274 * Makefile (all): Put REGTESTS dependency earlier in the list.
275 * lib/kernel32/makefile: Support regression tests.
276 * lib/kernel32/misc/dllmain.c: Prepare regression tests.
277 * regtests/win32base/driver.c: (DummyThreadMain,
278 RunPrivateTests): Add.
279 (RegTestMain): Run private module regression tests.
280 * tools/helper.mk: Add rtshared.a to MK_LIBS if building
281 user-mode regression tests.
282 * tools/regtests.c (UMSTUB): Add.
283 (main): Output user-mode stub.
284 * lib/kernel32/tests: New directory.
285 * lib/kernel32/tests/.cvsignore: New file.
286 * lib/kernel32/tests/Makefile: New file.
287 * lib/kernel32/tests/tests: New directory.
288 * lib/kernel32/tests/tests/.cvsignore: New file.
289 * regtests/win32base/tests/file-1.c: move...
290 * lib/kernel32/tests/tests/file-1.c: ...here.
291
292 2004-02-22 Casper S. Hornstrup <chorns@users.sourceforge.net>
293
294 * config (REGRESSIONTESTS): Add.
295 * rules.mak (REGTESTS_PATH_INC): Add.
296 * drivers/net/tcpip/makefile: Support regression tests.
297 * drivers/net/tcpip/tcpip/main.c: Prepare regression tests.
298 * hal/halx86/Makefile: Rename TARGET_LIBPATH to TARGET_IMPLIBPATH.
299 * regtests/kmregtests/driver.c (KMRegTestsRegister): Add.
300 (KMRegTestsRun): Move call to InitializeTests() and RegisterTests() to
301 DriverEntry().
302 (KMRegTestsDispatch): Support IOCTL_KMREGTESTS_REGISTER.
303 * regtests/kmregtests/kmregtests.h (IOCTL_KMREGTESTS_REGISTER): Define.
304 * tools/config.mk: Define REGTESTS if REGRESSIONTESTS = 1.
305 * tools/helper.mk: Support module private regression tests.
306 (TARGET_LIBPATH): Rename to TARGET_IMPLIBPATH.
307 (TARGET_LIBPATH, TARGET_REGTESTS): Add.
308 * tools/mkconfig.c: Support REGTESTS.
309 * tools/regtests.c (umstubfile, kmstubfile): Add.
310 (is_file_changed, write_file_if_changed): Add.
311 (KMSTUB): Add.
312 (HELP): Mention -u and -k switches.
313 (main): Parse -u and -k switches.
314 * drivers/net/tcpip/tests: New directory.
315 * drivers/net/tcpip/tests/.cvsignore: New file.
316 * drivers/net/tcpip/tests/Makefile: Makefile.
317 * drivers/net/tcpip/tests/tests: New directory.
318 * drivers/net/tcpip/tests/tests/.cvsignore: New file.
319
320 2004-02-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
321
322 * apistatus.lst: Correct path of videoprt.dll.
323
324 2004-02-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
325
326 * bootdata/packages/reactos.dff: Add oleaut32.dll.
327
328 2004-01-21 Casper S. Hornstrup <chorns@users.sourceforge.net>
329
330 * apistatus.lst: Rename tdi.dll to tdi.sys.
331
332 2004-01-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
333
334 * tools/winebuild/spec32.c (BuildDef32File): Don't support private flag
335 when cross-compiling.
336
337 2004-01-02 Steven Edwards <Steven_Ed4153@yahoo.com>
338 * ntoskrnl/kd/dlog.c: Make /DEBUGPORT=FILE work. With the help
339 of Filip Navara
340 * ntoskrnl/ke/main.c: Ditto
341
342 2003-12-29 Steven Edwards <Steven_Ed4153@yahoo.com>
343 * lib/version: Sync with Winehq 12-29-03
344
345 2003-12-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
346
347 * apps/utils/net/roshttpd/error.cpp (ReportErrorStr): Cast to wchar_t*,
348 not __wchar_t*.
349 * apps/utils/net/roshttpd/makefile (TARGET_CPPFLAGS): Add -Wno-deprecated.
350 (TARGET_GCCLIBS): Add stdc++.
351 * apps/utils/net/roshttpd/common/socket.cpp: Include <string.h>.
352 * apps/utils/net/roshttpd/common/thread.cpp (CThread::CThread): Fix
353 warning.
354 * drivers/net/afd/afd/afd.c (ListenRequestLookasideList): New variable.
355 (DriverEntry): Initialize ListenRequestLookasideList.
356 * drivers/net/afd/afd/dispatch.c (AfdDispCompleteListen): New function.
357 (AfdDispListen): Partial implement.
358 * drivers/net/afd/afd/opnclose.c (AfdInitializeFCB): Initialize
359 NewFCB->ListenRequestQueue.
360 (AfdKillListenRequests): New function.
361 (AfdClose): Call AfdKillListenRequests.
362 * drivers/net/afd/afd/routines.c (DumpName): New function.
363 * drivers/net/afd/afd/tdi.c (TdiAddressSizeFromType): New function.
364 (TdiBuildConnectionInfo): Initialize ConnInfo->OptionsLength.
365 (TdiBuildNullConnectionInfo): New function.
366 (TdiOpenAddressFileIPv4, TdiOpenConnectionEndpointFile): EaName is
367 0-terminated.
368 (TdiListen): New function.
369 * drivers/net/afd/include/afd.h (AFDFCB): Add ListenRequestQueue.
370 (AFD_LISTEN_REQUEST): New structure.
371 (ListenRequestLookasideList): Declare.
372 (DumpName, TdiListen): Add prototypes.
373 * drivers/net/tcpip/datalink/lan.c (BindAdapter): Initialize
374 AnsiAddress.Length and AnsiAddress.MaximumLength.
375 * drivers/net/tcpip/include/debug.h: Define DEBUG_TCP.
376 * drivers/net/tcpip/include/routines.h (DisplayTCPPacket): Add
377 prototype.
378 (DISPLAY_TCP_PACKET): Define.
379 * drivers/net/tcpip/include/tcp.h (TCPListen): Add prototype.
380 * drivers/net/tcpip/include/titypes.h (ADDRESS_FILE): Add Connection.
381 * drivers/net/tcpip/network/ip.c (IPLocateNTEOnInterface): Cleanup.
382 * drivers/net/tcpip/tcpip/address.c (AddrSearchNext): Port is in
383 network byte order.
384 * drivers/net/tcpip/tcpip/dispatch.c (DispTdiAssociateAddress):
385 Initialize AddrFile->Connection.
386 (DispTdiListen): Implement.
387 * drivers/net/tcpip/tcpip/fileobjs.c (FileOpenAddress): Don't
388 initialize AddrFile->Connections.
389 * drivers/net/tcpip/tcpip/routines.c: Include <tcp.h>.
390 (DisplayIPPacket): Enable.
391 (DisplayTCPHeader, DisplayTCPPacket): New functions.
392 * drivers/net/tcpip/transport/tcp/tcp.c: Include <routines.h>.
393 (TCPListen, TCPiReceive): New functions.
394 (TCPReceive): Partial implement.
395 * lib/msafd/misc/helpers.c (CreateHelperDLLDatabase): Add
396 {SOCK_STREAM,IPPROTO_TCP,0} and {SOCK_DGRAM,IPPROTO_UDP,0} mappings.
397 * lib/ntdll/ldr/utils.c (LdrLoadDll): Print name of DLL if not found.
398 * lib/ws2_32/include/ws2_32.h (Initialized): Declare.
399 (WINSOCK_THREAD_BLOCK): Remove Initialized member.
400 * (WSAINITIALIZED, WSASETINITIALIZED): Update.
401 * lib/ws2_32/misc/catalog.c (CreateCatalog): Add
402 {SOCK_STREAM,IPPROTO_TCP,0} and {SOCK_DGRAM,IPPROTO_UDP,0} mappings.
403 (Initialized): New variable.
404 (DllMain): Don't initialize p->Initialized.
405 * ntoskrnl/dbg/kdb.c: Include <ctype.h>.
406 * subsys/win32k/ntuser/message.c (NtUserDispatchMessage): Kill noisy
407 message.
408
409 2003-12-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
410
411 * tools/wine2ros: New directory.
412 * tools/wine2ros/Makefile: New file.
413 * tools/wine2ros/wine2ros.c: Ditto.
414 * tools/Makefile (wine2ros_target): Add.
415 * rules.mak (WINE2ROS): Define.
416
417 2003-12-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
418
419 Changes for compiling with w32api/Wine
420
421 * include/basetsd.h: #include_next <basetsd.h>. Add definitions missing
422 in w32api.
423 * include/mmddk.h: #include_next <mmddk.h>. Add definitions missing in
424 w32api.
425 * include/wine/winternl.h (DbgPrint): Use ReactOS prototype to avoid
426 conflicts.
427
428 2003-12-09 Casper S. Hornstrup <chorns@users.sourceforge.net>
429
430 * rules.mak (WINEBUILD): Define.
431 * tools/winebuild/Makefile: New file.
432 * tools/winebuild/import.c (ldcombine_files): Replace mkstemps with Win32
433 APIs.
434 * tools/winebuild/main.c (main): Win16 specs and relays are not supported.
435 * tools/winebuild/spec32.c (EXCEPTION_WINE_STUB, EH_NONCONTINUABLE):
436 Define.
437 (BuildDef32File): Don't emit PRIVATE.
438
439 2003-12-09 Casper S. Hornstrup <chorns@users.sourceforge.net>
440
441 * tools/winebuild: Import winebuild from Wine (D20031208).
442
443 2003-12-08 Casper S. Hornstrup <chorns@users.sourceforge.net>
444
445 * include/win32k/text.h (NtGdiExtTextOut): Follow ExtTextOut prototype.
446 * lib/gdi32/objects/text.c (ExtTextOutW): Call NtGdiExtTextOut().
447 * lib/user32/controls/edit.c (EDIT_BuildLineDefs_ML): Order parameters to
448 CreateRectRgn().
449 * lib/user32/windows/draw.c (TabbedTextOutA): Implement.
450 (TEXT_TabbedTextOut): New function.
451 (TabbedTextOutW): Implement.
452 * subsys/win32k/objects/text.c (NtGdiExtTextOut): Call NtGdiTextOut() for
453 now.
454
455 2003-12-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
456
457 * lib/user32/windows/accel.c (U32IsValidAccelMessage): Translate WM_KEYUP
458 and WM_SYSKEYUP messages.
459 (TranslateAcceleratorA): Returntype of RtlMultiByteToUnicodeN is NTSTATUS,
460 so interpret it as such.
461 * subsys/win32k/ntuser/accelerator.c (NtUserDestroyAcceleratorTable):
462 Call ObmCloseHandle() before destroying the object.
463 (IntTranslateAccelerator): New function.
464 (NtUserTranslateAccelerator): Partial implementation.
465
466 2003-12-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
467
468 * subsys/win32k/include/accelerator.h: New file.
469 * subsys/win32k/ntuser/accelerator.c: Ditto.
470 * include/win32k/ntuser.h (NtUserDestroyAcceleratorTable): Make returntype
471 BOOLEAN.
472 * subsys/win32k/makefile (NTUSER_OBJECTS): Add ntuser/accelerator.o.
473 * subsys/win32k/include/object.h (USER_OBJECT_TYPE): Add otAcceleratorTable.
474 * subsys/win32k/main/dllmain.c (DllMain): Call InitAcceleratorImpl().
475 * subsys/win32k/ntuser/stubs.c (NtUserCopyAcceleratorTable,
476 NtUserCreateAcceleratorTable, NtUserDestroyAcceleratorTable,
477 NtUserTranslateAccelerator): Move to accelerator.c.
478
479 2003-12-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
480
481 * apps/tests/accelerator: New directory.
482 * apps/tests/accelerator/accelerator.c: New file.
483 * apps/tests/accelerator/.cvsignore: Ditto.
484 * apps/tests/accelerator/Makefile: Ditto.
485 * apps/tests/Makefile (TEST_APPS): Add accelerator.
486
487 2003-12-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
488
489 * regtests/Makefile: Generate regression test registrations.
490 * regtests/kmregtests/.cvsignore: Ignore Makefile.tests.
491 * regtests/win32base/.cvsignore: Ditto.
492 * regtests/kmregtests/Makefile: Include Makefile.tests.
493 * regtests/win32base/Makefile: Ditto.
494 * regtests/kmregtests/tests: New directory.
495 * regtests/win32base/tests: Ditto.
496 * regtests/kmregtests/tests/.cvsignore: New file.
497 * regtests/win32base/tests/.cvsignore: Ditto.
498 * tools/helper.mk: Remove TARGET_GENREGTESTS.
499 * tools/regtests.c: Generate makefile for regression tests.
500 (change_extension): New function.
501 * regtests/win32base/file-1.c: Move ...
502 * regtests/win32base/tests/file-1.c: ... here.
503
504 2003-12-06 Martin Fuchs <martin-fuchs@gmx.net>
505 * Doxyfile, Makefile: initial doxygen configuration
506 * drivers/Doxyfile, drivers/Makefile: Ditto.
507 * ntoskrnl/Doxyfile, ntoskrnl/Makefile: Ditto.
508 * subsys/win32k/Doxyfile, subsys/win32k/Makefile: Ditto.
509 * apps/Doxyfile, apps/Makefile: Ditto.
510
511 2003-11-29 Casper S. Hornstrup <chorns@users.sourceforge.net>
512
513 * tools/cabman/dfp.cxx (CDFParser::Parse): Allow TokenString.
514 (CDFParser::PerformFileCopy): Use CurrentChar instead of length of
515 CurrentString to find the start of the next token.
516
517 2003-11-08 Martin Fuchs <martin-fuchs@gmx.net>
518
519 * controls/button.c partial fix for for Bug #42:
520 activate Ansi window procedures for standard controls
521 * controls/combo.c Ditto.
522 * controls/edit.c Ditto.
523 * controls/icontitle.c Ditto.
524 * controls/listbox.c Ditto.
525 * controls/static.c Ditto.
526 * windows/dialog.c Ditto.
527 * windows/mdi.c Ditto.
528 * windows/menu.c Ditto.
529 * windows/defwnd.c Fixed WM_GETTEXT error handling in DefWindowProcW().
530
531 2003-10-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
532
533 * Makefile: New target uboot for simple unattended setup.
534 * bootdata/unattend.inf.sample: Sample unattended setup script.
535 * subsys/system/usetup/partlist.c (SelectPartition): New function.
536 * subsys/system/usetup/partlist.h (SelectPartition): Prototype.
537 * subsys/system/usetup/usetup.c: Support unattended setup.
538 (IsUnattendedSetup, UnattendDestinationDiskNumber,
539 UnattendDestinationPartitionNumber, UnattendInstallationDirectory):
540 New.
541 (CheckUnattendedSetup, InstallDirectoryPage1): New function.
542
543 2003-08-30 Filip Navara <xnavara@volny.cz>
544
545 * tools/cabman/cabinet.cxx (CCabinet::ConvertPath): NULL-terminate
546 newpath.
547
548 2003-08-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
549
550 * tools/rmkdir.c: Fix for absolute paths.
551
552 2003-08-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
553
554 * tools/rmkdir.c: Create all (sub)directories in path on win32.
555
556 2003-08-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
557
558 * bootdata/packages/reactos.dff: Don't include winmm.dll in reactos.cab.
559
560 2003-08-29 Casper S. Hornstrup <chorns@users.sourceforge.net>
561
562 * Makefile: Copy freeloader files to bootable CD.
563
564 2003-08-28 Martin Fuchs <martin-fuchs@gmx.net>
565
566 * subsys/system/explorer/taskbar/startmenu.cpp,
567 subsys/system/explorer/shell/shellbrowser.cpp:
568 Implemented control panel window in cabinet view mode.
569
570 2003-08-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
571
572 * Makefile: Support creating compressed bootable CDs.
573 * rules.mak (HOST_CXX, HOST_AR, CABMAN): Define.
574 * bootdata/txtsetup.sif: Add Cabinets section.
575 Remove files that are put in reactos.cab.
576 * subsys/system/usetup/filequeue.c (SetupCloseFileQueue): Release
577 memory allocated for SourceCabinet.
578 (SetupQueueCopy): Support copying files in cabinets.
579 (SetupCommitFileQueue): Support copying files in cabinets.
580 * subsys/system/usetup/filequeue.h (SetupQueueCopy): Add SourceCabinet
581 parameter.
582 * subsys/system/usetup/filesup.c (SetupExtractFile): New function.
583 * subsys/system/usetup/filesup.h (SetupExtractFile): Prototype.
584 * subsys/system/usetup/infcache.c (InfOpenBufferedFile): New function.
585 * subsys/system/usetup/infcache.h (InfOpenBufferedFile): Prototype.
586 * subsys/system/usetup/makefile (TARGET_SDKLIBS): Add zlib.a.
587 (TARGET_CFLAGS): Add zlib to include path.
588 (TARGET_OBJECTS): Add cabinet.o.
589 * subsys/system/usetup/usetup.c (PrepareCopyPageInfFile): New function.
590 (PrepareCopyPage): Process Cabinets section.
591 * tools/helper.mk: Support C++ applications.
592 * rosbin.txt: Remove.
593 * bootdata/packages: New directory.
594 * bootdata/packages/reactos.dff: New file.
595 * lib/zlib/Makefile.host: New file.
596 * subsys/system/usetup/cabinet.c: Ditto.
597 * subsys/system/usetup/cabinet.h: Ditto.
598 * tools/cabman: New directory.
599 * tools/cabman/.cvsignore: New file.
600 * tools/cabman/cabinet.cxx: Ditto.
601 * tools/cabman/cabinet.h: Ditto.
602 * tools/cabman/cabman.h: Ditto.
603 * tools/cabman/dff.txt: Ditto.
604 * tools/cabman/dfp.cxx: Ditto.
605 * tools/cabman/dfp.h: Ditto.
606 * tools/cabman/main.cxx: Ditto.
607 * tools/cabman/makefile: Ditto.
608 * tools/cabman/makefile.win32: Ditto.
609 * tools/cabman/mszip.cxx: Ditto.
610 * tools/cabman/mszip.h: Ditto.
611 * tools/cabman/raw.cxx: Ditto.
612 * tools/cabman/raw.h: Ditto.
613
614 2003-08-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
615
616 * include/structs.h: Apply packed attribute to the typedef, not the
617 type's name.
618 * include/ntos/keyboard.h: Ditto.
619 * include/ntos/tss.h: Ditto.
620 * include/win32k/cursoricon.h: Ditto.
621 * include/win32k/math.h: Include the compiler's math.h for builtins.
622 * ntoskrnl/nt/vdm.c (NtEarlyInitVdm): Avoid warning when compiling using
623 GCC 3.4.
624
625 2003-08-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
626
627 * apps/tests/tcpsvr/tcpsvr.c (main): Fix multiline string constant.
628
629 2003-08-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
630
631 * apps/utils/stats/stats.c (ReadLine): Handle unix end-of-line characters.
632
633 2003-08-23 Casper S. Hornstrup <chorns@users.sourceforge.net>
634
635 * apps/tests/Makefile (TEST_APPS): Remove patblt and stretchblt
636 as they break full make.
637
638 2003-08-22 Martin Fuchs <martin-fuchs@gmx.net>
639
640 * subsys/system/explorer/taskbar/traynotify.cpp:
641 Added tray notification area.
642 Implemented quick launch bar.
643
644 2003-08-22 Martin Fuchs <martin-fuchs@gmx.net>
645
646 * include/wine/commctrl.h:
647 Removed commctrl.h header file to use the one of W32API headers.
648
649 2003-08-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
650
651 * subsys/win32k/ntuser/menu.c (IntSetMenuDefaultItem,
652 IntGetMenuDefaultItem): Fix unsigned/signed warnings.
653
654 2003-08-19 Martin Fuchs <martin-fuchs@gmx.net>
655
656 * subsys/system/explorer/taskbar/startmenu.cpp:
657 Implemented navigation in submenus of the start menu.
658 Start menus can now resolve shortcuts and launch programs.
659
660 2003-08-18 Martin Fuchs <martin-fuchs@gmx.net>
661
662 * subsys/system/explorer/taskbar/taskbar.cpp:
663 First draft of explorer start menu.
664
665 2003-08-17 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
666
667 * include/csrss/: csrss.h: implemented Ctrl Event handler
668 * subsys/csrss/api/: conio.c:
669 * subsys/csrss/: api.h:
670 * lib/kernel32/misc/: console.c:
671
672 2003-08-16 Martin Fuchs <martin-fuchs@gmx.net>
673
674 * subsys/system/explorer/taskbar/taskbar.cpp:
675 first draft of working task bar
676
677 2003-08-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
678
679 * include/win32k/ntuser.h (NtUserGetClassName): Make nMaxCount an ULONG.
680 * subsys/win32k/dib/dib16bpp.c: Fix unsigned/signed warnings.
681 * subsys/win32k/dib/dib1bpp.c: Ditto.
682 * subsys/win32k/dib/dib32bpp.c: Ditto.
683 * subsys/win32k/dib/dib4bpp.c: Ditto.
684 * subsys/win32k/dib/dib8bpp.c: Ditto.
685 * subsys/win32k/eng/lineto.c: Ditto.
686 * subsys/win32k/eng/mouse.c: Ditto.
687 * subsys/win32k/eng/xlate.c: Ditto.
688 * subsys/win32k/misc/driver.c: Ditto.
689 * subsys/win32k/ntuser/class.c: Ditto.
690 * subsys/win32k/ntuser/keyboard.c: Ditto.
691 * subsys/win32k/ntuser/timer.c: Ditto.
692 * subsys/win32k/ntuser/window.c: Ditto.
693 * subsys/win32k/objects/bitmaps.c: Ditto.
694 * subsys/win32k/objects/color.c: Ditto.
695 * subsys/win32k/objects/coord.c: Ditto.
696 * subsys/win32k/objects/dib.c: Ditto.
697 * subsys/win32k/objects/path.c: Ditto.
698 * subsys/win32k/objects/region.c: Ditto.
699 * subsys/win32k/objects/text.c: Ditto.
700
701 2003-08-13 Martin Fuchs <martin-fuchs@gmx.net>
702
703 * subsys/system/explorer/taskbar/ex_bar.c, ex_menu.c:
704 Make explorer bar look more like windows taskbar bar
705
706 2003-08-09 Martin Fuchs <martin-fuchs@gmx.net>
707
708 * subsys/system/explorer/*.c: Subclassing of shell window for drawing
709 desktop background. Open child folders by double click in
710 ShellBrowserChild
711
712 2003-08-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
713
714 * bootdata/txtsetup.sif (SetupData): Add /NOBOOTSCREEN to OsLoadOptions.
715 * hal/halx86/display.c (CHAR_ATTRIBUTE_BLACK): Define.
716 (HalClearDisplay): Add CharAttribute parameter.
717 (HalInitializeDisplay, HalReleaseDisplayOwnership): Blue screen.
718 * hal/halx86/halinit.c (DriverEntry): Blue screen for boot phase 2.
719 * include/reactos/resource.h (IDB_BOOTIMAGE): Define.
720 * ntoskrnl/Makefile: Add boot video objects.
721 * ntoskrnl/Makefile.i386: Ditto.
722 * ntoskrnl/ntoskrnl.def: Add boot video exports.
723 * ntoskrnl/ntoskrnl.edf: Ditto.
724 * ntoskrnl/ntoskrnl.rc (IDB_BOOTIMAGE): Define.
725 * ntoskrnl/include/internal/kd.h (KdInit3): Add.
726 * ntoskrnl/kd/kdebug.c (KdInitSystem): Print information in KdInit3.
727 * ntoskrnl/ke/bug.c (KeBugCheckWithTf, KeBugCheckEx): Switch to
728 text-mode on crash if needed.
729 * ntoskrnl/ke/main.c (ExpInitializeExecutive): Display bootscreen image
730 during boot.
731 * ntoskrnl/ke/i386/v86m_sup.S (_KiV86Complete): Restore previous mode and
732 old exception handler list.
733 * subsys/csrss/init.c: Change PrintString to DPRINT1.
734 * subsys/smss/init.c: Change PrintString to DPRINT1.
735 (SignalInitEvent): New.
736 (InitSessionManager): Call SignalInitEvent to switch to text-mode if
737 needed.
738 * subsys/smss/smss.c: Change PrintString to DPRINT1.
739 * ntoskrnl/inbv: New directory.
740 * ntoskrnl/inbv/i386: Ditto.
741 * ntoskrnl/res: Ditto.
742 * include/ntos/bootvid.h: New file.
743 * ntoskrnl/inbv/.cvsignore: Ditto.
744 * ntoskrnl/inbv/bootvid.c: Ditto.
745 * ntoskrnl/inbv/inbv.c: Ditto.
746 * ntoskrnl/inbv/i386/.cvsignore: Ditto.
747 * ntoskrnl/inbv/i386/pixelsup.S: Ditto.
748 * ntoskrnl/res/bootimage.bmp: Ditto.
749
750 2003-08-09 Martin Fuchs <martin-fuchs@gmx.net>
751
752 * win32k/ntuser/window.c implemented NtUserSetShellWindowEx() and
753 introduced NtUserGetShellWindow().
754 * iface/addsys/w32ksvc.db added new syscall for NtUserGetShellWindow().
755 * lib/user32/misc/desktop.c: moved SetShellWindowEx() implementation
756 in kernal space, see NtUserSetShellWindowEx().
757
758 2003-08-09 Martin Fuchs <martin-fuchs@gmx.net>
759
760 * subsys/system/explorer implemented explorer and desktop window
761 using shell view.
762
763 2003-08-09 Casper S. Hornstrup <chorns@users.sourceforge.net>
764
765 * lib/user32/windows/dialog.c (GetDlgItemInt): Fix unsigned/signed
766 warning.
767 * lib/user32/windows/menu.c (IsMenu): Ditto.
768 * lib/user32/windows/messagebox.c (MSGBOX_OnInit): Ditto.
769 * ntoskrnl/mm/ppool.c: Ditto.
770
771 2003-08-09 Martin Fuchs <martin-fuchs@gmx.net>
772
773 * include/func.h: added GetShellWindow()
774 * lib/user32/misc/desktop.c: implemented GetShellWindow(),
775 SetShellWindow() and SetShellWindowEx().
776 * lib/user32/user32.def: Ditto.
777 * lib/user32/user32.edf: Ditto.
778
779 2003-07-29 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
780
781 Patch by Art Yerkes <ayerkes@speakeasy.net>
782 * apps/utils/consw/: consw.c makefile runprg.bat Adding Keyboard
783 Testing Code
784
785 In order to use this patch you need a keyboard dll named kbdus.dll.
786 The dll is loaded at runtime, when TranslateMessage is called the
787 first time. Since these dlls are really simple (the kbd_us example
788 is in the DDK), it should be easy to make an LGPL one that gets
789 shipped with ReactOS. The one I am testing with so far is the one
790 from win2k. (arty)
791
792 I've tested this patch it works okay w/o kbdus.dll installed. (jt)
793
794 * apps/utils/Makefile: Main part of patch.
795 * ntoskrnl/include/internal/: kbd.h Ditto.
796 * subsys/csrss/api/conio.c: Ditto.
797 * subsys/csrss/api/wapi.c: Ditto.
798 * subsys/win32k/ldr/loader.c: Ditto.
799 * subsys/win32k/ntuser/input.c: Ditto.
800 * subsys/win32k/ntuser/keyboard.c: Ditto.
801
802 2003-07-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
803
804 * drivers/fs/vfat/*.c: Remove protection of NDEBUG.
805
806 2003-07-24 Casper S. Hornstrup <chorns@users.sourceforge.net>
807
808 Move welcome from rosapps to here and beautify it a bit.
809
810 * Makefile: Copy bootdata/autorun.inf, and bootdata/icon.ico to CD.
811 (SYS_APPS) Add welcome.
812 * include/defines.h (BS_FLAT): Define.
813 * bootdata/autorun.inf: New file.
814 * bootdata/icon.ico: Ditto.
815 * subsys/system/welcome: New directory.
816 * subsys/system/welcome/.cvsignore: New file.
817 * subsys/system/welcome/Makefile: Ditto.
818 * subsys/system/welcome/resource.h: Ditto.
819 * subsys/system/welcome/welcome.c: Ditto.
820 * subsys/system/welcome/welcome.rc: Ditto.
821 * subsys/system/welcome/res/: New directory.
822 * subsys/system/welcome/res/background-right.bmp: New file.
823 * subsys/system/welcome/res/background-top.bmp: Ditto.
824 * subsys/system/welcome/res/default.bmp: Ditto.
825 * subsys/system/welcome/res/icon.ico: Ditto.
826 * subsys/system/welcome/res/topic0.bmp: Ditto.
827 * subsys/system/welcome/res/topic1.bmp: Ditto.
828 * subsys/system/welcome/res/topic2.bmp: Ditto.
829
830 2003-07-23 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
831
832 lib/user32/misc/: stubs.c Removed stub for ClientToScreen.
833 lib/user32/windows/: window.c Implemented ClientToScreen &
834 IsIconic.
835
836 2003-07-20 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
837
838 * include/win32k/ntuser.h Implemented GetKeyState, GetKeyboardState &
839 SetKeyboardState.
840 * subsys/win32k/ntuser/stubs.c
841 * subsys/win32k/ntuser/keyboard.c
842 * lib/user32/windows/input.c
843
844 2003-07-20 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
845
846 * lib/gdi32/misc/stubs.c Implemented Unpluged DC code.
847 * lib/gdi32/objects/dc.c ditto
848 * lib/gdi32/objects/line.c ditto
849 * lib/gdi32/objects/text.c ditto
850 * lib/gdi32/objects/region.c ditto
851 * lib/user32/windows/draw.c Implemented FrameRect, InvertRect and
852 DrawFocusRect.
853
854 2003-07-18 Royce Mitchell III <royce3@ev1.net>
855
856 * drivers/fs/vfat/volume.c: fixed bug lines 88, 92 - wasn't copying
857 null-terminator.
858
859 2003-07-18 Royce Mitchell III <royce3@ev1.net>
860
861 * include/defines.h: added missing DISP_CHANGE_BADPARAM
862 * include/ntos/gditypes.h: fixed DEVMODEA/W structures
863 (had to move POINTL structure from structs.h)
864 * include/win32k/ntuser.h: fixed some parameter lists
865 * subsys/win32k/ntuser/stubs.c: ditto
866 * lib/user32/misc/devmode.c: new function USER32_DevModeA2W
867 converts DEVMODEA structure to a DEVMODEW
868 * lib/user32/include/user32.h: declaration for USER32_DevModeA2W
869 * lib/user32/makefile: added misc/devmode.c
870 * lib/user32/misc/desktop.c: converting CreateDesktopA's
871 DEVMODEA to a DEVMODEW now.
872 * lib/user32/misc/display.c: implemented all functions except
873 GetMonitorInfoA/W
874
875 2003-07-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
876
877 * drivers/fs/ntfs/notes.txt: New file.
878 * drivers/fs/ntfs/close.c: Ditto.
879 * drivers/fs/ntfs/rw.c: Ditto.
880 * drivers/fs/ntfs/attrib.c: Change Cdfs prefix to Ntfs.
881 * drivers/fs/ntfs/fcb.c: Ditto.
882 * drivers/fs/ntfs/finfo.c: Ditto.
883 * drivers/fs/ntfs/fsctl.c: Ditto.
884 * drivers/fs/ntfs/volinfo.c: Ditto.
885 * drivers/fs/ntfs/ntfs.c (DriverEntry): Set remaining dispatch functions.
886 * drivers/fs/ntfs/ntfs.h: Change Cdfs prefix to Ntfs.
887 (NTFS_RECORD_HEADER, FILE_RECORD_HEADER): Document fields.
888 * drivers/fs/ntfs/makefile (TARGET_OBJECTS): Add close.o rw.o.
889
890 2003-07-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
891
892 * INSTALL: Update installation instructions.
893
894 2003-07-16 Royce Mitchell III <royce3@ev1.net>
895
896 * modifed strtok & wcstok in msvcrt so that crtdll can use it.
897 * new private support functions _lasttoken and _wlasttoken to support
898 strtok and wcstok respectively.
899 * fixed lib/msvcrt/stdio/vfscanf.c to remove unnecessary globals.
900 * changed crtdll to use msvcrt's stdio/scanf.c
901
902 2003-07-16 Royce Mitchell III <royce3@ev1.net>
903
904 * fixed warnings at lib/msvcrt/stdio/fputs.c:79
905 and lib/msvcrt/stdlib/errno.c:14
906 and lib/msvcrt/stdlib/wputenv.c:24
907
908 2003-07-16 Royce Mitchell III <royce3@ev1.net>
909
910 * integrated Art Yerkes' _ftime implementation at
911 lib/msvcrt/time/ftime.c
912 * fixed ungetc warning in lib/msvcrt/stdio/vfscanf.c (also
913 renamed ungetc macro to UNGETC for clarity)
914
915 2003-07-15 Royce Mitchell III <royce3@ev1.net>
916
917 * fixed references to errno in MSVCRT to use __set_errno() and
918 _errno() respectively.
919 * Fixed warning (args 3 & 6 in call to CreateThread) in
920 lib/msvcrt/process/threadx.c
921
922 2003-07-15 Royce Mitchell III <royce3@ev1.net>
923
924 * modified crtdll to forward most of it's CTYPE, STRING
925 and WSTRING entries to NTDLL or MSVCRT.
926
927 2003-07-14 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
928
929 * lib/gdi32/misc/stubs.c Remove FillRgn.
930 * lib/gdi32/objects/region.c Add FillRng.
931 It looks okay.
932
933 2003-07-12 Casper S. Hornstrup <chorns@users.sourceforge.net>
934
935 Changes for compiling with w32api
936
937 * include/ddk/extypes.h (NPAGED_LOOKASIDE_LIST, PAGED_LOOKASIDE_LIST):
938 Match w32api fields.
939 * include/ddk/halfuncs.h (HalReturnToFirmware, HalReleaseDisplayOwnership,
940 HalQueryDisplayOwnership): Move ...
941 * include/ntos/halfuncs.h: ... here.
942 * include/ntos/rtl.h: (PopEntrySList, PushEntrySList): Move to
943 ntoskrnl/ex/lookas.c.
944 * include/ntos/zw.h (NtAccessCheckAndAuditAlarm, NtCancelTimer,
945 NtCreatePagingFile, NtCreateThread, NtFlushInstructionCache,
946 NtFlushVirtualMemory, NtGetTickCount, NtLoadKey, NtLockVirtualMemory,
947 NtOpenObjectAuditAlarm, NtProtectVirtualMemory, NtQueryDirectoryObject,
948 NtQueryIntervalProfile, NtQueryVirtualMemory, NtRaiseHardError,
949 NtSetInformationKey, NtSetInformationObject, NtSetTimer, NtUnloadKey,
950 NtUnlockVirtualMemory, NtWaitForMultipleObjects, NtCreateProfile,
951 NtDelayExecution, NtExtendSection, NtQuerySection): Include for w32api.
952 * ntoskrnl/ntoskrnl.def (ExInterlockedAddUlong,
953 ExInterlockedInsertHeadList, ExInterlockedInsertTailList,
954 ExInterlockedPopEntryList, ExInterlockedPushEntryList,
955 ExInterlockedRemoveHeadList): Make FASTCALL.
956 * ntoskrnl/ntoskrnl.edf: Ditto.
957 * ntoskrnl/ex/list.c: Ditto.
958 * include/ddk/exfuncs.h: Ditto.
959 (InterlockedPopEntrySList, InterlockedPushEntrySList,
960 ExAllocateFromPagedLookasideList, ExFreeToPagedLookasideList): Add.
961 * ntoskrnl/ex/interlck.c (ExInterlockedDecrementLong,
962 ExInterlockedAddUlong, ExInterlockedIncrementLong): Undefine if defined.
963 * ntoskrnl/ex/lookas.c (PopEntrySList, PushEntrySList,
964 LookasideListLock): Add.
965 * drivers/dd/blue/blue.c: Include <roskrnl.h>.
966 * drivers/dd/videoprt/videoprt.c: Ditto.
967
968 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
969
970 * lib/user32/controls/edit.c (EDIT_EM_SetLimitText,
971 EDIT_WM_StyleChanged): Fix unsigned/signed warning.
972
973 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
974
975 * config (DBG): Default to 0.
976
977 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
978
979 * regtests: New directory.
980 * regtests/kmregtests: Ditto.
981 * regtests/kmrtint: Ditto.
982 * regtests/regtests: Ditto.
983 * regtests/shared: Ditto.
984 * regtests/win32base: Ditto.
985 * include/roskrnl.h: New file.
986 * regtests/Makefile: Ditto.
987 * regtests/kmregtests/.cvsignore: Ditto.
988 * regtests/kmregtests/driver.c: Ditto.
989 * regtests/kmregtests/kmregtests.h: Ditto.
990 * regtests/kmregtests/Makefile: Ditto.
991 * regtests/kmrtint/.cvsignore: Ditto.
992 * regtests/kmrtint/kmrtint.c: Ditto.
993 * regtests/kmrtint/kmrtint.def: Ditto.
994 * regtests/kmrtint/kmrtint.edf: Ditto.
995 * regtests/kmrtint/Makefile: Ditto.
996 * regtests/regtests/.cvsignore: Ditto.
997 * regtests/regtests/Makefile: Ditto.
998 * regtests/regtests/regtests.c: Ditto.
999 * regtests/shared/.cvsignore: Ditto.
1000 * regtests/shared/Makefile: Ditto.
1001 * regtests/shared/regtests.c: Ditto.
1002 * regtests/shared/regtests.h: Ditto.
1003 * regtests/win32base/.cvsignore: Ditto.
1004 * regtests/win32base/driver.c: Ditto.
1005 * regtests/win32base/file-1.c: Ditto.
1006 * regtests/win32base/Makefile: Ditto.
1007 * regtests/win32base/win32base.def: Ditto.
1008 * regtests/win32base/win32base.edf: Ditto.
1009 * tools/regtests.c: Ditto.
1010 * Makefile: Add target regtests.
1011 * config: Add SEH option.
1012 * rules.mak: Add tool REGTESTS.
1013 * bootdata/hivesys.inf: Add service kmregtests.
1014 * include/win32k/bitmaps.h (DIB_BitmapInfoSize): Correct prototype.
1015 * ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Reverse wrong boolean
1016 expression.
1017 * ntoskrnl/ke/i386/usertrap.c (KiUserTrapHandler): Ditto.
1018 * tools/Makefile: Add tool regtests.
1019 * tools/config.mk: Handle SEH option.
1020 * tools/helper.mk: Support regression tests.
1021
1022 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1023
1024 * apps/tests/bitblt/bitblt.c (MainWndProc): Declare variables
1025 before any statements are processed in the scope.
1026 * apps/tests/icontest/icontest.c (WinMain): Ditto.
1027 * apps/tests/wm_paint/wm_paint.c (WinMain, MainWndProc): Ditto.
1028
1029 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1030
1031 * lib/user32/controls/button.c (PB_Paint, GB_Paint): Declare variables
1032 before any statements are processed in the scope.
1033 * lib/user32/controls/combo.c (CBPaintButton): Ditto.
1034 * lib/user32/windows/accel.c (TranslateAcceleratorA): Ditto.
1035 * subsys/win32k/include/class.h (W32kGetClassLong): Fix prototype.
1036 * subsys/win32k/ntuser/class.c (W32kGetClassLong): Match prototype.
1037 * subsys/win32k/ntuser/windc.c (DceAllocDCE): Ditto.
1038 * subsys/win32k/ntuser/window.c (DestroyThreadWindows): Ditto.
1039
1040 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1041
1042 * tools/rgenstat/rgenstat.c (process_directory): Fix building on Windows.
1043
1044 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1045
1046 * tools/rgenstat/rgenstat.c (API_INFO): Add filename field.
1047 (path_to_url, get_filename): New functions.
1048 (parse_file, process_directory): Build cvs path.
1049 (generate_xml_for_component): Set file attribute on a function.
1050 * tools/rgenstat/web/rapistatus.css (.h): New class.
1051 * tools/rgenstat/web/rapistatus.js (clickHandler): Go to the file in
1052 ViewCVS on click on a function.
1053 * tools/rgenstat/web/rapistatus.xsl: Handle file attribute.
1054
1055 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1056
1057 * subsys/win32k/objects/region.c (W32kFillRgn): Fix syntax error.
1058
1059 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1060
1061 * tools/rgenstat/rgenstat.c (get_previous_identifier): Skip end-of-line
1062 characters when searching for identifier.
1063 (parse_file): Print a warning if no identifier is found.
1064
1065 2003-07-10 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
1066
1067 * subsys/win32k/objects/region.c: (W32kFillRgn) Implement.
1068
1069 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1070
1071 * lib/winspool/stubs.c: Add @implemented and @unimplemented to APIs.
1072
1073 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1074
1075 * lib/wsock32/stubs.c: Add @implemented and @unimplemented to APIs.
1076
1077 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1078
1079 * lib/ws2_32/misc/bsd.c: Add @implemented and @unimplemented to APIs.
1080 * lib/ws2_32/misc/dllmain.c: Ditto.
1081 * lib/ws2_32/misc/event.c: Ditto.
1082 * lib/ws2_32/misc/ns.c: Ditto.
1083 * lib/ws2_32/misc/sndrcv.c: Ditto.
1084 * lib/ws2_32/misc/stubs.c: Ditto.
1085 * lib/ws2_32/misc/upcall.c: Ditto.
1086
1087 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1088
1089 * drivers/dd/videoprt/videoprt.c: Add @implemented and @unimplemented
1090 to APIs.
1091
1092 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1093
1094 * lib/version/misc/stubs.c: Add @implemented and @unimplemented to APIs.
1095
1096 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1097
1098 * lib/user32/misc/dde.c: Add @implemented and @unimplemented to APIs.
1099 * lib/user32/misc/desktop.c: Ditto.
1100 * lib/user32/misc/display.c: Ditto.
1101 * lib/user32/misc/exit.c: Ditto.
1102 * lib/user32/misc/object.c: Ditto.
1103 * lib/user32/misc/resources.c: Ditto.
1104 * lib/user32/misc/sprintf.c: Ditto.
1105 * lib/user32/misc/stubs.c: Ditto.
1106 * lib/user32/misc/timer.c: Ditto.
1107 * lib/user32/misc/winhelp.c: Ditto.
1108 * lib/user32/misc/winsta.c: Ditto.
1109 * lib/user32/windows/accel.c: Ditto.
1110 * lib/user32/windows/bitmap.c: Ditto.
1111 * lib/user32/windows/class.c: Ditto.
1112 * lib/user32/windows/clipboard.c: Ditto.
1113 * lib/user32/windows/cursor.c: Ditto.
1114 * lib/user32/windows/dc.c: Ditto.
1115 * lib/user32/windows/defwnd.c: Ditto.
1116 * lib/user32/windows/dialog.c: Ditto.
1117 * lib/user32/windows/draw.c: Ditto.
1118 * lib/user32/windows/font.c: Ditto.
1119 * lib/user32/windows/hook.c: Ditto.
1120 * lib/user32/windows/icon.c: Ditto.
1121 * lib/user32/windows/input.c: Ditto.
1122 * lib/user32/windows/mdi.c: Ditto.
1123 * lib/user32/windows/menu.c: Ditto.
1124 * lib/user32/windows/message.c: Ditto.
1125 * lib/user32/windows/messagebox.c: Ditto.
1126 * lib/user32/windows/nonclient.c: Ditto.
1127 * lib/user32/windows/paint.c: Ditto.
1128 * lib/user32/windows/prop.c: Ditto.
1129 * lib/user32/windows/rect.c: Ditto.
1130 * lib/user32/windows/text.c: Ditto.
1131 * lib/user32/windows/window.c: Ditto.
1132
1133 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1134
1135 * drivers/net/tdi/cte/string.c: Add @implemented and @unimplemented to
1136 APIs.
1137 * drivers/net/tdi/cte/stubs.c: Ditto.
1138 * drivers/net/tdi/tdi/dereg.c: Ditto.
1139 * drivers/net/tdi/tdi/handler.c: Ditto.
1140 * drivers/net/tdi/tdi/obsolete.c: Ditto.
1141 * drivers/net/tdi/tdi/stubs.c: Ditto.
1142
1143 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1144
1145 * lib/snmpapi/snmpapi.c: Add @implemented and @unimplemented to APIs.
1146
1147 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1148
1149 * lib/secur32/lsa.c: Add @implemented and @unimplemented to APIs.
1150
1151 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1152
1153 * drivers/storage/scsiport/scsiport.c: Add @implemented and
1154 @unimplemented to APIs.
1155
1156 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1157
1158 * drivers/net/ndis/ndis/40gone.c: Add @implemented and @unimplemented
1159 to APIs.
1160 * drivers/net/ndis/ndis/50gone.c: Ditto.
1161 * drivers/net/ndis/ndis/buffer.c: Ditto.
1162 * drivers/net/ndis/ndis/cl.c: Ditto.
1163 * drivers/net/ndis/ndis/cm.c: Ditto.
1164 * drivers/net/ndis/ndis/co.c: Ditto.
1165 * drivers/net/ndis/ndis/control.c: Ditto.
1166 * drivers/net/ndis/ndis/hardware.c: Ditto.
1167 * drivers/net/ndis/ndis/io.c: Ditto.
1168 * drivers/net/ndis/ndis/memory.c: Ditto.
1169 * drivers/net/ndis/ndis/miniport.c: Ditto.
1170 * drivers/net/ndis/ndis/protocol.c: Ditto.
1171 * drivers/net/ndis/ndis/string.c: Ditto.
1172 * drivers/net/ndis/ndis/stubs.c: Ditto.
1173 * drivers/net/ndis/ndis/time.c: Ditto.
1174
1175 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1176
1177 * lib/kernel32/debug/break.c: Add @implemented and @unimplemented
1178 to APIs.
1179 * lib/kernel32/debug/debugger.c: Ditto.
1180 * lib/kernel32/debug/output.c: Ditto.
1181 * lib/kernel32/except/except.c: Ditto.
1182 * lib/kernel32/file/backup.c: Ditto.
1183 * lib/kernel32/file/cnotify.c: Ditto.
1184 * lib/kernel32/file/copy.c: Ditto.
1185 * lib/kernel32/file/create.c: Ditto.
1186 * lib/kernel32/file/curdir.c: Ditto.
1187 * lib/kernel32/file/delete.c: Ditto.
1188 * lib/kernel32/file/deviceio.c: Ditto.
1189 * lib/kernel32/file/dir.c: Ditto.
1190 * lib/kernel32/file/dosdev.c: Ditto.
1191 * lib/kernel32/file/file.c: Ditto.
1192 * lib/kernel32/file/find.c: Ditto.
1193 * lib/kernel32/file/iocompl.c: Ditto.
1194 * lib/kernel32/file/lfile.c: Ditto.
1195 * lib/kernel32/file/lock.c: Ditto.
1196 * lib/kernel32/file/mailslot.c: Ditto.
1197 * lib/kernel32/file/move.c: Ditto.
1198 * lib/kernel32/file/npipe.c: Ditto.
1199 * lib/kernel32/file/pipe.c: Ditto.
1200 * lib/kernel32/file/rw.c: Ditto.
1201 * lib/kernel32/file/tape.c: Ditto.
1202 * lib/kernel32/file/volume.c: Ditto.
1203 * lib/kernel32/mem/global.c: Ditto.
1204 * lib/kernel32/mem/heap.c: Ditto.
1205 * lib/kernel32/mem/isbad.c: Ditto.
1206 * lib/kernel32/mem/local.c: Ditto.
1207 * lib/kernel32/mem/procmem.c: Ditto.
1208 * lib/kernel32/mem/section.c: Ditto.
1209 * lib/kernel32/mem/virtual.c: Ditto.
1210 * lib/kernel32/misc/atom.c: Ditto.
1211 * lib/kernel32/misc/comm.c: Ditto.
1212 * lib/kernel32/misc/computername.c: Ditto.
1213 * lib/kernel32/misc/console.c: Ditto.
1214 * lib/kernel32/misc/env.c: Ditto.
1215 * lib/kernel32/misc/error.c: Ditto.
1216 * lib/kernel32/misc/errormsg.c: Ditto.
1217 * lib/kernel32/misc/handle.c: Ditto.
1218 * lib/kernel32/misc/ldr.c: Ditto.
1219 * lib/kernel32/misc/mbchars.c: Ditto.
1220 * lib/kernel32/misc/muldiv.c: Ditto.
1221 * lib/kernel32/misc/perfcnt.c: Ditto.
1222 * lib/kernel32/misc/profile.c: Ditto.
1223 * lib/kernel32/misc/res.c: Ditto.
1224 * lib/kernel32/misc/stubs.c: Ditto.
1225 * lib/kernel32/misc/sysinfo.c: Ditto.
1226 * lib/kernel32/misc/time.c: Ditto.
1227 * lib/kernel32/misc/toolhelp.c: Ditto.
1228 * lib/kernel32/process/cmdline.c: Ditto.
1229 * lib/kernel32/process/create.c: Ditto.
1230 * lib/kernel32/process/proc.c: Ditto.
1231 * lib/kernel32/process/session.c: Ditto.
1232 * lib/kernel32/string/lstring.c: Ditto.
1233 * lib/kernel32/synch/critical.c: Ditto.
1234 * lib/kernel32/synch/event.c: Ditto.
1235 * lib/kernel32/synch/intrlck.c: Ditto.
1236 * lib/kernel32/synch/mutex.c: Ditto.
1237 * lib/kernel32/synch/sem.c: Ditto.
1238 * lib/kernel32/synch/timer.c: Ditto.
1239 * lib/kernel32/synch/wait.c: Ditto.
1240 * lib/kernel32/thread/fiber.c: Ditto.
1241 * lib/kernel32/thread/fls.c: Ditto.
1242 * lib/kernel32/thread/thread.c: Ditto.
1243 * lib/kernel32/thread/tls.c: Ditto.
1244
1245 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1246
1247 * lib/iphlpapi/iphlpapi.c: Add @implemented and @unimplemented
1248 to APIs.
1249
1250 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1251
1252 * lib/gdi32/main/dllmain.c: Add @implemented and @unimplemented
1253 to APIs.
1254 * lib/gdi32/misc/stubs.c: Ditto.
1255 * lib/gdi32/misc/stubsa.c: Ditto.
1256 * lib/gdi32/misc/stubsw.c: Ditto.
1257 * lib/gdi32/objects/bitblt.c: Ditto.
1258 * lib/gdi32/objects/brush.c: Ditto.
1259 * lib/gdi32/objects/clip.c: Ditto.
1260 * lib/gdi32/objects/dc.c: Ditto.
1261 * lib/gdi32/objects/fillshap.c: Ditto.
1262 * lib/gdi32/objects/line.c: Ditto.
1263 * lib/gdi32/objects/pen.c: Ditto.
1264 * lib/gdi32/objects/region.c: Ditto.
1265 * lib/gdi32/objects/text.c: Ditto.
1266
1267 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1268
1269 * drivers/storage/class2/class2.c: Add @implemented and @unimplemented
1270 to APIs.
1271
1272 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1273
1274 * lib/advapi32/misc/shutdown.c: Add @implemented and @unimplemented
1275 to APIs.
1276 * lib/advapi32/misc/stubs.c: Ditto.
1277 * lib/advapi32/misc/sysfunc.c: Ditto.
1278 * lib/advapi32/reg/reg.c: Ditto.
1279 * lib/advapi32/sec/ac.c: Ditto.
1280 * lib/advapi32/sec/misc.c: Ditto.
1281 * lib/advapi32/sec/sec.c: Ditto.
1282 * lib/advapi32/sec/sid.c: Ditto.
1283 * lib/advapi32/service/scm.c: Ditto.
1284 * lib/advapi32/service/sctrl.c: Ditto.
1285 * lib/advapi32/token/privilege.c: Ditto.
1286 * lib/advapi32/token/token.c: Ditto.
1287
1288 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1289
1290 * tools/rgenstat/rgenstat.c (parse_file): Be silent.
1291
1292 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1293
1294 * rules.mak (XSLTPROC): Add.
1295 * tools/Makefile: Add rgenstat.
1296 * apistatus.lst: New file.
1297 * tools/rgenstat: New directory.
1298 * tools/rgenstat/.cvsignore: New file.
1299 * tools/rgenstat/llmosrt.c: Ditto.
1300 * tools/rgenstat/Makefile: Ditto.
1301 * tools/rgenstat/rgenstat.c: Ditto.
1302 * tools/rgenstat/web: New directory.
1303 * tools/rgenstat/web/*.gif: New files.
1304 * tools/rgenstat/web/.cvsignore: New file.
1305 * tools/rgenstat/web/rapistatus.css: Ditto.
1306 * tools/rgenstat/web/rapistatus.js: Ditto.
1307 * tools/rgenstat/web/rapistatus.xsl: Ditto.
1308
1309 2003-07-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1310
1311 * drivers/fs/vfat/misc.c (VfatLockControl): Move it so it is placed
1312 before it is referenced.
1313 * include/win32k/ntuser.h (NtUserQueryWindow): Correct prototype.
1314 * lib/winedbgc/debug.c (default_dbg_vlog): Use wine_dbg_vprintf, not
1315 __wine_dbg_vprintf.
1316 * ntoskrnl/nt/vdm.c (NtEarlyInitVdm): Work around GCC 3.4 trying to be
1317 smart.
1318
1319 2003-07-07 James Tabor <jimtabor@adsl-64-217-116-74.dsl.hstntx.swbell.net>
1320
1321 * subsys/win32k/ntuser/window.c: (NtUserQueryWindow) Implement.
1322 * include/win32k/ntuser.h: Ditto.
1323 * lib/user32/windows/window.c: (GetWindowThreadProcessId) Implement.
1324
1325 2003-07-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1326
1327 * lib/user32/windows/defwnd.c (DefWndHandleLButtonUpNC,
1328 User32DefWindowProc): Only send WM_SYSCOMMAND message, not WM_CLOSE.
1329 (DefWndHandleSysCommand): Handle SC_CLOSE message.
1330
1331 2003-07-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1332
1333 * include/win32k/ntuser.h (NtUserSetFocus): Correct prototype.
1334 * lib/user32/misc/stubs.c (SetFocus): Remove.
1335 * lib/user32/windows/defwnd.c (KEYDATA_ALT): New.
1336 (User32DefWindowProc): Handle WM_SYSKEYDOWN.
1337 * lib/user32/windows/input.c (SetFocus): New.
1338 * subsys/win32k/include/msgqueue.h (USER_MESSAGE_QUEUE): Document
1339 FocusWindow field.
1340 * subsys/win32k/include/window.h (W32kSetFocusWindow): Change return type
1341 to HWND.
1342 * subsys/win32k/include/winsta.h (W32kGetFocusMessageQueue): New.
1343 * subsys/win32k/ntuser/input.c (KeyboardThreadMain): Handle system keys.
1344 * subsys/win32k/ntuser/keyboard.c (NtUserSetFocus): New.
1345 * subsys/win32k/ntuser/msgqueue.c (MsqPostKeyboardMessage): Implement.
1346 * subsys/win32k/ntuser/stubs.c (NtUserSetFocus): Remove.
1347 * subsys/win32k/ntuser/window.c (W32kSetFocusWindow): Implement.
1348 (NtUserGetClientRect, W32kGetWindowProc, NtUserCreateWindowEx): Release
1349 window reference on error.
1350 (W32kDestroyWindow): Remove focus from window tree before destroying it
1351 if needed.
1352 * subsys/win32k/ntuser/winpos.c (WinPosChangeActiveWindow): Implement.
1353 (WinPosShowWindow): Activate window if needed.
1354 * subsys/win32k/ntuser/winsta.c (W32kGetFocusMessageQueue): New.
1355
1356 2003-06-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
1357
1358 * lib/user32/controls/button.c (ButtonWndProc_common): Fix unsigned/signed
1359 warning.
1360
1361 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1362
1363 * include/ddk/dbgfuncs.h: Move ...
1364 * include/ntos/dbgfuncs.h: ... here.
1365 * include/basetsd.h (LONG32): Make it a long.
1366 * include/ntos.h: Include ntos/dbgfuncs.h.
1367 * include/ddk/dbgfuncs.h (DBG_STATUS_*, DBG_GET_SHOW_*): Move to
1368 include/ntos/dbgfuncs.h.
1369 * include/ddk/exfuncs.h (ExNotifyCallback): Match w32api prototype.
1370 (*BinaryTree, *SplayTree, *HashTable): Move to include/ntos/zw.h.
1371 * include/ddk/extypes.h (TRAVERSE_METHOD, PKEY_COMPARATOR,
1372 PTRAVERSE_ROUTINE, _BINARY_TREE_NODE, BINARY_TREE, SPLAY_TREE_NODE,
1373 SPLAY_TREE, HASH_TABLE): Move to include/ntos/zwtypes.h.
1374 * include/ddk/status.h (STATUS_PATH_SYNTAX_BAD): Rename to
1375 STATUS_OBJECT_PATH_SYNTAX_BAD.
1376 * apps/utils/objdir/objdir.c (StatusToName): Change
1377 STATUS_PATH_SYNTAX_BAD to STATUS_OBJECT_PATH_SYNTAX_BAD.
1378 * ntoskrnl/dbg/errinfo.c: Use STATUS_OBJECT_PATH_SYNTAX_BAD.
1379 * include/ntos/rtl.h (RtlQueryRegistryValues, RtlWriteRegistryValue,
1380 RtlDeleteRegistryValue): Match w32api prototypes.
1381 * include/ntos/zw.h (ZwQuerySystemTime): Ditto.
1382 * lib/kernel32/file/cnotify.c (FindFirstChangeNotificationW): Use
1383 STATUS_OBJECT_PATH_SYNTAX_BAD.
1384 * lib/ntdll/rtl/registry.c (RtlDeleteRegistryValue,
1385 RtlQueryRegistryValues, RtlWriteRegistryValue): Match w32api prototypes.
1386 * ntoskrnl/cm/cm.h, ntoskrnl/cm/ntfunc.c, ntoskrnl/cm/regfile.c: Change
1387 FILETIME to LARGE_INTEGER.
1388 * ntoskrnl/cm/rtlfunc.c (RtlDeleteRegistryValue, RtlQueryRegistryValues,
1389 RtlWriteRegistryValue): Match w32api prototypes.
1390 * ntoskrnl/ex/callback.c (ExNotifyCallback): Ditto.
1391 * ntoskrnl/ex/time.c (NtQuerySystemTime): Ditto.
1392
1393 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1394
1395 * hal/halx86/dma.c (AdapterObjects): Don't put braces on scalar
1396 initializers.
1397
1398 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1399
1400 Changes for compiling with w32api
1401
1402 * include/ddk/obfuncs.h (ObCreateObject): Remove.
1403 * include/ntos/zwtypes.h (ObRosCreateObject): Add.
1404 * ntoskrnl/ntoskrnl.def, ntoskrnl/ntoskrnl.edf: Export ObCreateObject@36
1405 and ObRosCreateObject@20.
1406 * ntoskrnl/cm/ntfunc.c, ntoskrnl/cm/registry.c, ntoskrnl/cm/regobj.c,
1407 ntoskrnl/io/create.c, ntoskrnl/io/device.c, ntoskrnl/io/iocomp.c,
1408 ntoskrnl/lpc/connect.c, ntoskrnl/lpc/create.c, ntoskrnl/mm/section.c,
1409 ntoskrnl/nt/evtpair.c, ntoskrnl/nt/mutant.c, ntoskrnl/nt/ntevent.c,
1410 ntoskrnl/nt/ntsem.c, ntoskrnl/nt/nttimer.c, ntoskrnl/nt/profile.c,
1411 ntoskrnl/ob/dirobj.c, ntoskrnl/ob/namespc.c, ntoskrnl/ob/symlink.c,
1412 ntoskrnl/ps/create.c, ntoskrnl/ps/process.c, ntoskrnl/se/token.c,
1413 subsys/win32k/ntuser/winsta.c: Use ObRosCreateObject, not ObCreateObject.
1414 * ntoskrnl/ob/object.c (ObRosCreateObject): Rename from ObCreateObject.
1415 (ObCreateObject): Add stub.
1416
1417 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1418
1419 Changes for compiling with w32api
1420
1421 * include/ddk/cctypes.h (PREACTOS_COMMON_FCB_HEADER): Remove.
1422 (FSRTL_COMMON_FCB_HEADER): Add.
1423 * include/ddk/iotypes.h (FILE_OBJECT): Rename field
1424 SectionObjectPointers to SectionObjectPointer.
1425 * ntoskrnl/cc/copy.c, ntoskrnl/cc/misc.c, ntoskrnl/cc/pin.c,
1426 ntoskrnl/cc/view.c, ntoskrnl/io/rawfs.c, ntoskrnl/mm/section.c,
1427 drivers/fs/cdfs/cleanup.c, drivers/fs/cdfs/fcb.c,
1428 drivers/fs/cdfs/fsctl.c, drivers/fs/ntfs/fcb.c, drivers/fs/ntfs/fsctl.c,
1429 drivers/fs/vfat/close.c, drivers/fs/vfat/create.c,
1430 drivers/fs/vfat/finfo.c, drivers/fs/vfat/fcb.c, drivers/fs/vfat/fsctl.c:
1431 Use new FILE_OBJECT structure.
1432 * drivers/fs/cdfs/cdfs.h, drivers/fs/ntfs/ntfs.h, drivers/fs/vfat/vfat.h:
1433 Use new FSRTL_COMMON_FCB_HEADER structure.
1434 * drivers/net/afd/include/afd.h (FSRTL_COMMON_FCB_HEADER): Remove.
1435 * include/ddk/ketypes.h (KQUEUE): Match w32api structure.
1436 * ntoskrnl/ke/queue.c, ntoskrnl/ke/wait.c: Use new structure.
1437 * ntoskrnl/ke/spinlock.c (KeAcquireSpinLockAtDpcLevel,
1438 KeReleaseSpinLockFromDpcLevel): Undefine before declaring.
1439
1440 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1441
1442 Changes for compiling with w32api
1443
1444 * include/ddk/ketypes.h (KSPIN_LOCK, PKSPIN_LOCK): Match w32api
1445 structures.
1446 * ntoskrnl/ke/spinlock.c: Use new structures.
1447
1448 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1449
1450 Changes for compiling with w32api
1451
1452 * include/ddk/service.h: Move ...
1453 * include/ntos/service.h: ... here.
1454 * include/ddk/kdfuncs.h: Move ...
1455 * include/ntos/kdfuncs.h: ... here.
1456 * include/ntos/halfuncs.h: New file.
1457 * ntoskrnl/include/internal/hal/hal.h,
1458 ntoskrnl/include/internal/hal/bus.h,
1459 ntoskrnl/include/internal/hal/mps.h: Remove.
1460 * hal/halx86/include/hal.h: Remove disabled code.
1461 * include/ntos.h: Include ntos/service.h, ntos/halfuncs.h, and
1462 ntos/kdfuncs.h.
1463 * include/ddk/fstypes.h (FILE_LOCK_TOC): Move ...
1464 * include/ntos/file.h: ... here.
1465 * include/ddk/halfuncs.h (HalAllProcessorsStarted,
1466 HalBeginSystemInterrupt, HalDisableSystemInterrupt,
1467 HalEnableSystemInterrupt, HalEndSystemInterrupt,
1468 HalInitializeProcessor, HalInitSystem, HalReportResourceUsage): Move to
1469 include/ntos/halfuncs.h.
1470 * include/ddk/iofuncs.h (IoAssignDriveLetters): Ditto.
1471 * include/ddk/kefuncs.h (KeInitializeApc): Match w32api prototype.
1472 (KeRaiseIrqlToSynchLevel): Move to include/ntos/halfuncs.h.
1473 * include/ddk/ketypes.h (KAPC_ENVIRONMENT): Move to include/ntos/types.h.
1474 (KDEVICE_QUEUE, KDEVICE_QUEUE_ENTRY): Match w32api prototype.
1475 (KINTERRUPT): Move to include/ntos/zwtypes.h.
1476 * include/ddk/mmtypes.h (PAGE_ROUND_UP, PAGE_ROUND_DOWN): Move ...
1477 * include/ntos/mm.h: ... here.
1478 * include/ddk/ntddk.h: Don't include ddk/kdfuncs.h.
1479 * include/ddk/pstypes.h (PKTHREAD, PRKTHREAD): Add.
1480 (PsInitialSystemProcess, PsProcessType, PsThreadType): Move ...
1481 include/ntos/ps.h: ... here.
1482 * lib/ntdll/rtl/i386/exception.c (SehpContinue): New.
1483 * ntoskrnl/rtl/i386/exception.c (SehpContinue): Ditto.
1484 * ntoskrnl/include/internal/ke.h: Include <ddk/ntifs.h>.
1485 * ntoskrnl/include/internal/ntoskrnl.h: Include internal/ke.h.
1486 * ntoskrnl/ex/napi.c: Use new structure SSDT_ENTRY.
1487 * ntoskrnl/ke/apc.c (KeInitializeApc): Match w32api prototype.
1488 * ntoskrnl/ke/kqueue.c: Use fields of new structures KDEVICE_QUEUE
1489 and KDEVICE_QUEUE_ENTRY.
1490
1491 2003-06-07 Casper S. Hornstrup <chorns@users.sourceforge.net>
1492
1493 * ntoskrnl/cm/regfile.c (CmiCopyKey): Fix unsigned/signed warning.
1494
1495 2003-06-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1496
1497 * lib/user32/windows/icon.c (CURSORICON_FindBestCursor,
1498 CURSORICON_FindBestIcon): Fix unsigned/signed warning.
1499
1500 2003-06-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1501
1502 Changes for compiling with w32api
1503
1504 * ntoskrnl/include/internal/i386/ps.h (KPCR_TSS): Redefine as 0x3C.
1505 (KPCR_TIB): New structure.
1506 (IKPCR): Ditto.
1507 (KPCR): Match w32api structure fieldnames.
1508 * ntoskrnl/ke/main.c (ExpInitializeExecutive): Adjust for changes to KPCR.
1509 * ntoskrnl/ke/i386/kernel.c: Ditto.
1510 * ntoskrnl/ps/thread.c: Ditto.
1511
1512 2003-06-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
1513
1514 Changes for compiling with w32api
1515
1516 * include/ntos/zwtypes.h (SYSTEM_MODULES): Rename to
1517 SYSTEM_MODULE_INFORMATION. Match w32api structure fieldnames.
1518 (SYSTEM_MODULE_INFORMATION): Rename to SYSTEM_MODULE_INFORMATION_ENTRY.
1519 Match w32api structure fieldnames.
1520 * include/epsapi.h: Include <ntos.h>.
1521 (PSYSMOD_ENUM_ROUTINE, PsaCaptureSystemModules, PsaWalkSystemModules,
1522 PsaWalkFirstSystemModule, PsaWalkNextSystemModule): Use
1523 SYSTEM_MODULE_INFORMATION_ENTRY and SYSTEM_MODULE_INFORMATION structures.
1524 * lib/epsapi/enum/drivers.c: Use SYSTEM_MODULE_INFORMATION_ENTRY and
1525 SYSTEM_MODULE_INFORMATION structures.
1526 * lib/psapi/misc/win32.c: Ditto.
1527 * ntoskrnl/ldr/loader.c: Ditto.
1528 * lib/epsapi/enum/modules.c: Include <ntos.h>.
1529 * lib/ntdll/rtl/thread.c: Ditto.
1530 * lib/rosrtl/thread/context.c: Ditto.
1531 * lib/rosrtl/thread/create.c: Ditto.
1532 * lib/rosrtl/thread/stack.c: Ditto.
1533 * include/ntos.h: Include "rosrtl/thread.h".
1534 * include/structs.h (_BLOB_DEFINED): Rename to __BLOB_T_DEFINED.
1535 * include/winsock2.h: Ditto.
1536 * include/ntos/obtypes.h (POBJECT_TYPE): Make a pointer to struct
1537 _OBJECT_TYPE.
1538 (PHANDLE_TABLE): Make a pointer to struct _HANDLE_TABLE.
1539 * ntoskrnl/include/internal/mm.h (PSECTION_OBJECT): Make a pointer to
1540 struct _SECTION_OBJECT.
1541 * ntoskrnl/include/internal/i386/ps.h (PKPCR): Make a pointer to struct
1542 _KPCR.
1543
1544 2003-05-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
1545
1546 * Makefile: Update bootcd target.
1547
1548 2003-05-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
1549
1550 * subsys/system/usetup/progress.c (ProgressNextStep): Check if NewPos
1551 is odd.
1552
1553 2003-05-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
1554
1555 Changes for compiling with w32api
1556
1557 * include/ddk/haltypes.h: Move ...
1558 * include/ntos/haltypes.h: ... here.
1559 * include/ddk/obtypes.h: Move ...
1560 * include/ntos/obtypes.h: ... here.
1561 * include/ddk/i386/tss.h: Move ...
1562 * include/ntos/tss.h: ... here.
1563 * include/errors.h, include/windows.h: #include_next <windows.h>.
1564 * include/ntos.h: Include "ntos/haltypes.h", "ntos/obtypes.h", and
1565 "ntos/tss.h".
1566 * include/ddk/defines.h (EXPORTED, IMPORTED): Move to
1567 include/ntos/types.h.
1568 * include/ddk/exfuncs.h, include/ddk/mmtypes.h, include/ntos/except.h,
1569 include/ntos/file.h, include/ole32/guiddef.h, include/win32k/color.h,
1570 lib/msafd/include/debug.h, lib/user32/include/debug.h,
1571 lib/ws2_32/include/debug.h, lib/ws2help/debug.h,
1572 ntoskrnl/include/internal/debug.h, ntoskrnl/ke/i386/bthread.S,
1573 ntoskrnl/rtl/error.c: Don't define macros if previously defined.
1574 * include/ddk/halfuncs.h: Include <ntos/haltypes.h>.
1575 * include/ddk/iotypes.h: Include <ntos/obtypes.h>.
1576 * include/ddk/ketypes.h (MB_FLAGS_*, LOADER_MODULE, ADDRESS_RANGE,
1577 LOADER_PARAMETER_BLOCK): Move to include/ntos/types.h.
1578 * include/ddk/ntddk.h: #include_next <ddk/ntddk.h>.
1579 * include/ddk/ntifs.h: #include_next <ddk/ntifs.h>.
1580 * include/napi/shared_data.h (SharedUserData): Undefine before defining.
1581 * include/ntos/rtl.h (RtlUpcaseUnicodeString): Correct prototype.
1582 * include/ntos/zwtypes.h (THREAD_STATE): Add.
1583 * lib/ntdll/rtl/unicode.c (RtlUpcaseUnicodeString): Match new prototype.
1584 * ntoskrnl/rtl/unicode.c (RtlUpcaseUnicodeString): Ditto.
1585 * lib/string/Makefile: Include Makefile.$(ARCH). Don't include
1586 makefile.$(ARCH).
1587 * ntoskrnl/ex/sysinfo.c, ntoskrnl/include/internal/ntoskrnl.h,
1588 * ntoskrnl/include/internal/ob.h, ntoskrnl/ob/handle.c: Include <ntos.h>.
1589 * ntoskrnl/ke/i386/syscall.S: Don't include <ddk/defines.h>.
1590 (KernelMode, UserMode): Define.
1591 * ntoskrnl/ke/i386/stkswitch.S, ntoskrnl/ke/i386/tskswitch.S,
1592 ntoskrnl/ke/i386/v86m_sup.S: Include <ntos/tss.h>
1593
1594 2003-05-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
1595
1596 * Makefile: Fix typo.
1597
1598 2003-05-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
1599
1600 * Makefile: Don't install system.hiv. Install fonts and nls directory.
1601 * tools/rcopy.c (copy_file, copy_directory, is_directory): New functions.
1602
1603 2003-05-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
1604
1605 * ntoskrnl/io/irp.c (IofCallDriver): Don't reference FileObject.
1606
1607 2003-05-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1608
1609 * ntoskrnl/io/cleanup.c (IopCompleteRequest1, IoSecondStageCompletion):
1610 Don't dereference Irp->UserEvent here.
1611 * ntoskrnl/io/irp.c (IofCallDriver): Reference FileObject.
1612 * ntoskrnl/io/rw.c (IopReadWriteIoComplete): New function.
1613 * (NtReadFile, NtWriteFile): Set I/O completion routine if using an
1614 event that is under object manager control.
1615
1616 2003-05-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
1617
1618 * ntoskrnl/Makefile (OBJECTS_IO): Add io/rawfs.o.
1619 * ntoskrnl/cm/registry.c (CmiInitHives): Check status using NT_SUCCESS().
1620 * ntoskrnl/include/internal/io.h (RawFsIsRawFileSystemDeviceObject,
1621 RawFsDriverEntry): Add prototypes.
1622 * ntoskrnl/include/internal/ntoskrnl.h (IoInit2): Add prototype.
1623 * ntoskrnl/io/device.c (IopCreateDriverObject): Handle unnamed services.
1624 * ntoskrnl/io/fs.c (IoMountVolume): Handle mounting of raw volumes.
1625 (IoRegisterFileSystem): Add registered filesystem device objects at the
1626 head of the list.
1627 * ntoskrnl/io/iomgr.c (IoInit2): New function.
1628 * ntoskrnl/ke/main.c (ExpInitializeExecutive): Call IoInit2().
1629 * ntoskrnl/mm/section.c (MmQuerySectionView): Check return value of call
1630 to MmFindRegion().
1631 * ntoskrnl/io/rawfs.c: New file.
1632
1633 2003-05-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1634
1635 * lib/fslib/vfatlib/vfatlib.c (VfatFormat): Set hidden sectors.
1636 * ntoskrnl/io/xhaldrv.c (xHalIoWritePartitionTable): Implement support
1637 for primary partitions.
1638 * subsys/system/usetup/partlist.c (CreateSelectedPartition): Compute
1639 hidden sectors.
1640 * subsys/system/usetup/usetup.c (SelectPartitionPage,
1641 DrawFileSystemList, FormatPartitionPage): Don't use conditional define
1642 ENABLE_FORMAT.
1643 (CreateFileSystemList): Don't draw "Keep current file system" option if
1644 formatting is needed.
1645 (SelectFileSystemPage): Figure out if partition must be formatted.
1646 * subsys/system/usetup/usetup.h (ENABLE_FORMAT): Remove.
1647 (FILE_SYSTEM_LIST): Add ForceFormat field.
1648
1649 2003-05-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
1650
1651 * lib/user32/windows/font.c (TEXT_PathEllipsify, TEXT_Reprefix): Fix
1652 unsigned/signed warning.
1653 * ntoskrnl/mm/pagefile.c (MmWriteToSwapPage, MmReadFromSwapPage,
1654 NtCreatePagingFile): Ditto.
1655
1656 2003-05-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1657
1658 * tools/helper.mk: Kill implicit rule ".o".
1659
1660 2003-04-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
1661
1662 * Makefile (DLLS): Add epsapi, psapi and wsock32.
1663 * lib/ntdll/ldr/utils.c (LdrPerformRelocations): Handle the case where a
1664 relocation crosses a page boundary.
1665 (LdrFixupImports): Use image load address in calculatation of import
1666 address list.
1667
1668 2003-04-28 Casper S. Hornstrup <chorns@users.sourceforge.net>
1669
1670 * lib/fslib/vfatlib/vfatlib.h: New file.
1671 * subsys/system/usetup/format.c: Ditto.
1672 * subsys/system/usetup/format.h: Ditto.
1673 * lib/fslib/vfatlib/vfatlib.c (GetShiftCount): Define.
1674 (VfatWriteBootSector, VfatWriteFsInfo, VfatWriteFAT,
1675 VfatWriteRootDirectory): New function.
1676 (VfatFormat): Implement.
1677 * subsys/system/usetup/bootsup.c: (InstallFat32BootCodeToFile): Use
1678 0x0000 as marker to disable backup boot sector.
1679 (InstallFat32BootCodeToDisk): Add lower 8-bit to BackupBootSector.
1680 Also treat 0x0000 as no backup boot sector is available.
1681 * subsys/system/usetup/makefile (TARGET_SDKLIBS): Define.
1682 (TARGET_OBJECTS): Add format.o.
1683 * subsys/system/usetup/partlist.c (AddPartitionList): Initialize
1684 PartNumber field.
1685 (GetSelectedPartition): Set PartEntryNumber correctly.
1686 (CreateSelectedPartition): Write partition information to disk.
1687 (DeleteSelectedPartition): New function.
1688 * subsys/system/usetup/partlist.h (PARTDATA): Add field CreatePartition.
1689 (DeleteSelectedPartition): Prototype.
1690 * subsys/system/usetup/usetup.c (ConfirmDeletePartition): New function.
1691 (SelectPartitionPage): Support deletion of partition.
1692 (FormatPartitionPage): Support formatting of partition.
1693
1694 2003-04-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
1695
1696 * tools/helper.mk (TARGET_ASFLAGS): Add -march and define MK_ARCH_ID.
1697 * lib/ntdll/makefile (TARGET_ASFLAGS): Define as
1698 "-I $(PATH_TO_TOP)/include".
1699 (TARGET_OBJECTS): Add ldr/entry.o.
1700 * lib/ntdll/ldr/startup.c: Move inline assembly code...
1701 * lib/ntdll/ldr/entry.S: ...here. New file.
1702
1703 2003-04-27 Casper S. Hornstrup <chorns@users.sourceforge.net>
1704
1705 * include/kernel32/kernel32.h (assert): Define.
1706 * tools/mkhive/.cvsignore: New file.
1707
1708 2003-04-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
1709
1710 * subsys/system/usetup/partlist.c (AddPartitionList): Create
1711 unpartitioned areas.
1712 (CreatePartitionListNoGUI): Save disk geometry.
1713 (PrintDiskData): Do not print hidden partition list entries.
1714 (ScrollDownPartitionList, ScrollUpPartitionList): Skip hidden partition
1715 list entries.
1716 (GetActiveBootPartition): Use CurrentDisk as index.
1717 (CreateSelectedPartition): New function.
1718 * subsys/system/usetup/partlist.h (PARTDATA): Add field NewPartSize.
1719 (PARTENTRY): Add fields StartingOffset and HidePartEntry.
1720 (DISKENTRY): Add fields Cylinders, TracksPerCylinder, SectorsPerTrack,
1721 and BytesPerSector;
1722 (CreateSelectedPartition): Add Prototype.
1723 * subsys/system/usetup/usetup.c (PAGE_NUMBER): Add CREATE_PARTITION_PAGE
1724 and FORMAT_PARTITION_PAGE
1725 (CurrentPartitionList, CurrentFileSystemList): New globals.
1726 (SelectPartitionPage): Set CurrentPartitionList.
1727 (PARTITION_SIZE_INPUT_FIELD_LENGTH): Define as 6.
1728 (DrawInputField, ShowPartitionSizeInputBox, CreatePartitionPage,
1729 CreateFileSystemList, DestroyFileSystemList, DrawFileSystemList,
1730 ScrollDownFileSystemList, ScrollUpFileSystemList, FormatPartitionPage):
1731 New functions.
1732 (SelectFileSystemPage): Draw partition screen.
1733 (CheckFileSystemPage): Handle CREATE_PARTITION_PAGE and
1734 FORMAT_PARTITION_PAGE.
1735 * subsys/system/usetup/usetup.h (FILE_SYSTEM, FILE_SYSTEM_LIST): Add enums.
1736
1737 2003-04-17 Casper S. Hornstrup <chorns@users.sourceforge.net>
1738
1739 * tools/mkhive/infcache.c (InfpCacheFindSection, InfpCacheFindKeyLine,
1740 InfFindFirstLine, InfFindFirstMatchLine, InfFindNextMatchLine,
1741 InfGetLineCount): Change call to stricmp() to strcasecmp().
1742 * tools/mkhive/reginf.c (GetRootKey): Ditto.
1743 * tools/mkhive/registry.c (RegSetValue, RegQueryValue): Ditto.
1744
1745 2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
1746
1747 * ntoskrnl/kd/gdbstub.c (KdEnterDebuggerException): Fix signed/unsigned
1748 comparison warning.
1749 * ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Ditto.
1750 * ntoskrnl/ke/i386/usertrap.c (KiUserTrapHandler): Ditto.
1751 * tools/helper.mk: Do not install static libraries.
1752
1753 2003-04-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
1754
1755 * tools/Makefile: Fix rule for mkflpimg.
1756
1757 2003-04-12 Casper S. Hornstrup <chorns@users.sourceforge.net>
1758
1759 * tools/cdmake/Makefile: Use HOST_CC.
1760 * tools/cdmake/cdmake.c (MAX_PATH, DIR_SEPARATOR_CHAR,
1761 DIR_SEPARATOR_STRING): Define.
1762 (directory_record): Add fields name_on_cd and extension_on_cd.
1763 (error_exit): Make a macro. Avoid using vfprintf and fprintf.
1764 (write_directory_record, new_directory_record, compare_directory_order,
1765 pass): Use name_on_cd and extension_on_cd.
1766 (make_directory_records, get_file_specifications): Use DIR_SEPARATOR_CHAR.
1767 (new_directory_record, make_directory_records): Linux implementations.
1768 (main): Use DIR_SEPARATOR_CHAR.
1769
1770 2003-04-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
1771
1772 * lib/freetype/.cvsignore: Ignore nul.
1773
1774 2003-04-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
1775
1776 * drivers/storage/atapi/atapi.c (AtapiReadWrite): Expect an interrupt a
1777 bit sooner.
1778 * hal/halx86/isa.c (HalpGetIsaInterruptVector): Compute vector for MP.
1779 * hal/halx86/pci.c (HalpGetPciInterruptVector): Ditto.
1780 * hal/halx86/sysbus.c (HalpGetSystemInterruptVector): Ditto.
1781 * hal/halx86/mp.c (AssignIrqVector): Rewrite.
1782 (MpsTimerHandler): Disable for now.
1783 (MpsSpuriousHandler): Do not acknowledge interrupt.
1784 (HalAllProcessorsStarted): Only boot 1 CPU for now.
1785 (RescheduleDpcRoutine): New function.
1786 (RescheduleDpc): New variable.
1787 (HalpInitMPS): Initialize RescheduleDpc. Fix bug in call to memset.
1788 * hal/halx86/mpsirql.c: Rewrite.
1789 * hal/halx86/include/mps.h (VECTOR2IRQ, IRQ2VECTOR, VECTOR2IRQL,
1790 IRQL2VECTOR): New macros.
1791 * ntoskrnl/ntoskrnl.def: Add KeRescheduleThread@0.
1792 * ntoskrnl/ntoskrnl.edf: Ditto.
1793 * ntoskrnl/include/internal/ke.h (KeRescheduleThread): Prototype.
1794 * ntoskrnl/ke/kthread.c (KeRescheduleThread): New function.
1795 * ntoskrnl/ke/i386/exp.c (KeInitExceptions): Remove unneeded call to
1796 set_trap_gate().
1797 * ntoskrnl/ke/i386/irq.c (VECTOR2IRQ, IRQ2VECTOR, VECTOR2IRQL): Correct.
1798 (IRQ_BASE): Define as FIRST_DEVICE_VECTOR.
1799 (NR_IRQS): Define using IRQ_BASE.
1800 (KeInitInterrupts): Use IRQ_BASE.
1801 (KiInterruptDispatch2): Rewrite.
1802 (KiInterruptDispatch): Ditto.
1803 (KeConnectInterrupt): Pass Vector to HalEnableSystemInterrupt() for MP.
1804 (KeDisconnectInterrupt): Pass Vector to HalDisableSystemInterrupt() for MP.
1805 * ntoskrnl/ke/i386/trap.s (_KiTrapProlog): Change 0x124 to KPCR_CURRENT_THREAD.
1806
1807 2003-04-06 Casper S. Hornstrup <chorns@users.sourceforge.net>
1808
1809 * Makefile: Add format.
1810 * include/fslib/vfatlib.h (VfatFormat): Prototype.
1811 * lib/fmifs/format.c (VfatFormat): Add stub.
1812 * lib/fmifs/makefile (TARGET_LIBS): Add vfatlib.a.
1813 * lib/fslib/vfatlib/vfatlib.c (VfatFormat): Add stub.
1814 * tools/helper.mk: Do not install .sym files for static libraries.
1815 * subsys/system/format: New directory.
1816 * subsys/system/format/makefile: New file.
1817 * subsys/system/format/format.c: Ditto.
1818
1819 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1820
1821 * include/fslib: New directory.
1822 * lib/fslib: Ditto.
1823 * lib/fslib/vfatlib: Ditto.
1824 * include/fslib/vfatlib.h: New file.
1825 * lib/fslib/vfatlib/.cvsignore: Ditto.
1826 * lib/fslib/vfatlib/Makefile: Ditto.
1827 * lib/fslib/vfatlib/vfatlib.c: Ditto.
1828 * Makefile: Support file system libraries
1829 * lib/zlib/Makefile: Remove nostrip target.
1830 * tools/helper.mk: Add nostrip target.
1831
1832 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1833
1834 * tools/.cvsignore: Ignore rline.
1835
1836 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1837
1838 * bootcd.bat: Install dosmbr.bin.
1839 * drivers/storage/disk/disk.c (DiskClassDeviceControl): Pass physical
1840 device object to IoWritePartitionTable().
1841 * ntoskrnl/io/xhaldrv.c (xHalReadMBR): New function.
1842 (xHalWriteMBR): Ditto.
1843 (xHalExamineMBR): Use xHalReadMBR() to read MBR.
1844 (xHalIoWritePartitionTable): Partial implement.
1845 * subsys/system/usetup/bootsup.c (InstallMBRBootCodeToDisk): New function.
1846 * subsys/system/usetup/bootsup.h (InstallMBRBootCodeToDisk): Prototype.
1847 * subsys/system/usetup/partlist.c (CreatePartitionListNoGUI): New function.
1848 (CreatePartitionList): Use CreatePartitionListNoGUI() to create partition
1849 list.
1850 (GetPartitionInformation): New function.
1851 (MarkPartitionActive): Ditto.
1852 * subsys/system/usetup/partlist.h (MarkPartitionActive): Prototype.
1853 * subsys/system/usetup/usetup.c (SelectPartitionPage): Make SystemRootPath
1854 point to the selected partition if no partitions are active.
1855 (BootLoaderPage): If no partitions are active, then install a DOS MBR and
1856 mark the selected partition active.
1857
1858 2003-04-05 Casper S. Hornstrup <chorns@users.sourceforge.net>
1859
1860 * Makefile: Add bootcd target.
1861 (BOOTCD_INSTALL): Set for bootcd install.
1862 * rules.mak (TOPDIR): Define on windows.
1863 (BOOTCD_DIR): Define.
1864 (RLINE): Define.
1865 * apps/tests/lpc/makefile: Handle BOOTCD_INSTALL.
1866 * apps/tests/mstest/Makefile: Ditto.
1867 * apps/tests/nptest/Makefile: Ditto.
1868 * apps/tests/shm/makefile: Ditto.
1869 * ntoskrnl/Makefile: Handle BOOTCD_INSTALL. Add bootcd target.
1870 * drivers/dd/vga/makefile: Add bootcd target.
1871 * drivers/dd/blue/makefile (TARGET_BOOTSTRAP): Define as yes.
1872 * drivers/dd/floppy/Makefile: Ditto.
1873 * drivers/fs/cdfs/makefile: Ditto.
1874 * drivers/fs/ntfs/makefile: Ditto.
1875 * drivers/fs/vfat/makefile: Ditto.
1876 * drivers/input/keyboard/makefile: Ditto.
1877 * drivers/storage/atapi/makefile: Ditto.
1878 * drivers/storage/cdrom/makefile: Ditto.
1879 * drivers/storage/class2/makefile: Ditto.
1880 * drivers/storage/disk/makefile: Ditto.
1881 * drivers/storage/scsiport/makefile: Ditto.
1882 * hal/halx86/Makefile: Ditto.
1883 * lib/ntdll/makefile: Ditto.
1884 * subsys/system/usetup/makefile (TARGET_BOOTSTRAP): Define as yes.
1885 (TARGET_BOOTSTRAP_NAME): Define as smss.exe.
1886 * tools/Makefile: Add rline executable.
1887 * tools/helper.mk: Support bootcd targets.
1888 * tools/rline.c: New file.
1889
1890 2003-04-04 Casper S. Hornstrup <chorns@users.sourceforge.net>
1891
1892 * lib/freetype/builds/compiler/gcc.mk (CC): Comment out; use CC from
1893 rules.mak instead.
1894 * lib/freetype/README.ROS: Note this in porting guide.
1895
1896 2003-03-29 Casper S. Hornstrup <chorns@users.sourceforge.net>
1897
1898 * ntoskrnl/ex/sysinfo.c (SystemProcessInformation): Fix warning.
1899
1900 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1901
1902 * include/ntos/rtltypes.h (PRTL_BASE_PROCESS_START_ROUTINE): Define.
1903 * lib/kernel32/process/create.c (RtlBaseProcessStartRoutine): Import.
1904 (KlCreateFirstThread): Support images with native subsystem ID.
1905 * lib/ntdll/def/ntdll.def (RtlBaseProcessStartRoutine): Export.
1906 * lib/ntdll/def/ntdll.edf (RtlBaseProcessStartRoutine): Ditto.
1907 * lib/ntdll/rtl/exception.c (RtlBaseProcessStart): Forward declare.
1908 (RtlBaseProcessStartRoutine, RtlBaseProcessStart): Add.
1909
1910 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1911
1912 * include/defines.h (VS_FFI_SIGNATURE, VS_FFI_STRUCVERSION): Define.
1913
1914 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1915
1916 * ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Use exception code
1917 STATUS_ACCESS_VIOLATION for exception 14.
1918
1919 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1920
1921 * ntoskrnl/fs/util.c (FsRtlGetFileSize): Implement.
1922
1923 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1924
1925 * lib/ntdll/rtl/nls.c (RtlCustomCPToUnicodeN, RtlMultiByteToUnicodeN,
1926 RtlOemToUnicodeN, RtlUnicodeToCustomCPN, RtlUnicodeToMultiByteN,
1927 RtlUnicodeToMultiByteSize, RtlUnicodeToOemN,
1928 RtlUpcaseUnicodeToCustomCPN, RtlUpcaseUnicodeToMultiByteN,
1929 RtlUpcaseUnicodeToOemN): Assert when unimplemented code is reached.
1930
1931 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1932
1933 * include/ntos/zwtypes.h (FILE_BASIC_INFORMATION): Use LARGE_INTEGER,
1934 not TIME type for time fields.
1935 * lib/kernel32/file/copy.c (SetLastWriteTime): Adjust for new type.
1936 (CopyFileExW): Ditto.
1937
1938 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1939
1940 * include/ntos/types.h (FALSE): Protect with #ifndef FALSE.
1941 (TRUE): Protect with #ifndef TRUE.
1942
1943 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1944
1945 * include/napi/i386/segment.h (put_user, get_user,
1946 bad_user_access_length, __segment_dummy, __sd, __const_sd, __put_user,
1947 __get_user, __generic_memcpy_tofs, __constant_memcpy_tofs, COMMON,
1948 __generic_memcpy_fromfs, __constant_memcpy_fromfs, memcpy_fromfs,
1949 memcpy_tofs, get_fs_byte, get_fs_word, get_fs_long, put_fs_byte,
1950 put_fs_word, put_fs_long, get_user_word, get_user_byte, get_user_long,
1951 put_user_byte, put_user_word, put_user_long, get_fs, get_ds, set_fs,
1952 set_ds): Remove.
1953
1954 2003-03-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1955
1956 * include/ddk/pstypes.h (TLS_OUT_OF_INDEXES): Define.
1957
1958 2003-02-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
1959
1960 * ntoskrnl/cc/view.c (CcRosFlushDirtyPages): Treat a write attempt with
1961 a return value of STATUS_END_OF_FILE as a successful write.
1962 * ntoskrnl/cc/copy.c (WriteCacheSegment): Ditto.
1963
1964 2003-02-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
1965
1966 * ntoskrnl/cm/regfile.c (CmiRemoveSubKey): Kill warnings.
1967 (CmiMergeFree): Ditto.
1968
1969 2003-02-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
1970
1971 * include/structs.h (OSVERSIONINFOEXA): Expand definition of
1972 OSVERSIONINFOA.
1973 (OSVERSIONINFOEXW): Expand definition of OSVERSIONINFOW.
1974 * lib/msafd/misc/helpers.c (LocateHelperDLL): Cast AddressFamily,
1975 SocketType, and Protocol to INT.
1976 * lib/ws2_32/misc/catalog.c (LocateProvider): Ditto.
1977
1978 2003-01-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
1979
1980 * ntoskrnl/dbg/profile.c (KdbProfilerThreadMain): Make STDCALL.
1981
1982 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
1983
1984 * drivers/net/tcpip/makefile (TCP_OBJECTS): Add transport/tcp/tcpcore.o,
1985 transport/tcp/tcp_input.o, transport/tcp/tcp_ipv4.o,
1986 transport/tcp/tcp_output.o, and transport/tcp/tcp_timer.o.
1987 * drivers/net/tcpip/transport/tcp/tcp.c (TCPStartup): Call tcp_init().
1988 * drivers/net/tcpip/include/linux.h: New file.
1989 * drivers/net/tcpip/include/tcpcore.h: Ditto.
1990 * drivers/net/tcpip/include/tcpdef.h: Ditto.
1991 * drivers/net/tcpip/transport/tcp/tcp_input.c: Ditto.
1992 * drivers/net/tcpip/transport/tcp/tcp_ipv4.c: Ditto.
1993 * drivers/net/tcpip/transport/tcp/tcp_output.c: Ditto.
1994 * drivers/net/tcpip/transport/tcp/tcp_timer.c: Ditto.
1995 * drivers/net/tcpip/transport/tcp/tcpcore.c: Ditto.
1996
1997 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
1998
1999 * lib/kernel32/k32.h: New file.
2000 * lib/kernel32/makefile (TARGET_CFLAGS): Add -I./.
2001 (TARGET_PCH): Set to k32.h.
2002 * lib/kernel32/except/except.c: Use <k32.h>.
2003 * lib/kernel32/file/backup.c: Ditto.
2004 * lib/kernel32/file/cnotify.c: Ditto.
2005 * lib/kernel32/file/copy.c: Ditto.
2006 * lib/kernel32/file/create.c: Ditto.
2007 * lib/kernel32/file/curdir.c: Ditto.
2008 * lib/kernel32/file/delete.c: Ditto.
2009 * lib/kernel32/file/deviceio.c: Ditto.
2010 * lib/kernel32/file/dir.c: Ditto.
2011 * lib/kernel32/file/dosdev.c: Ditto.
2012 * lib/kernel32/file/file.c: Ditto.
2013 * lib/kernel32/file/find.c: Ditto.
2014 * lib/kernel32/file/iocompl.c: Ditto.
2015 * lib/kernel32/file/lfile.c: Ditto.
2016 * lib/kernel32/file/lock.c: Ditto.
2017 * lib/kernel32/file/mailslot.c: Ditto.
2018 * lib/kernel32/file/move.c: Ditto.
2019 * lib/kernel32/file/npipe.c: Ditto.
2020 * lib/kernel32/file/pipe.c: Ditto.
2021 * lib/kernel32/file/rw.c: Ditto.
2022 * lib/kernel32/file/tape.c: Ditto.
2023 * lib/kernel32/file/volume.c: Ditto.
2024 * lib/kernel32/mem/global.c: Ditto.
2025 * lib/kernel32/mem/heap.c: Ditto.
2026 * lib/kernel32/mem/isbad.c: Ditto.
2027 * lib/kernel32/mem/local.c: Ditto.
2028 * lib/kernel32/mem/procmem.c: Ditto.
2029 * lib/kernel32/mem/section.c: Ditto.
2030 * lib/kernel32/mem/virtual.c: Ditto.
2031 * lib/kernel32/misc/atom.c: Ditto.
2032 * lib/kernel32/misc/comm.c: Ditto.
2033 * lib/kernel32/misc/console.c: Ditto.
2034 * lib/kernel32/misc/debug.c: Ditto.
2035 * lib/kernel32/misc/dllmain.c: Ditto.
2036 * lib/kernel32/misc/env.c: Ditto.
2037 * lib/kernel32/misc/error.c: Ditto.
2038 * lib/kernel32/misc/handle.c: Ditto.
2039 * lib/kernel32/misc/ldr.c: Ditto.
2040 * lib/kernel32/misc/profile.c: Ditto.
2041 * lib/kernel32/misc/res.c: Ditto.
2042 * lib/kernel32/misc/stubs.c: Ditto.
2043 * lib/kernel32/misc/sysinfo.c: Ditto.
2044 * lib/kernel32/misc/time.c: Ditto.
2045 * lib/kernel32/process/cmdline.c: Ditto.
2046 * lib/kernel32/process/create.c: Ditto.
2047 * lib/kernel32/process/proc.c: Ditto.
2048 * lib/kernel32/process/session.c: Ditto.
2049 * lib/kernel32/string/lstring.c: Ditto.
2050 * lib/kernel32/synch/critical.c: Ditto.
2051 * lib/kernel32/synch/event.c: Ditto.
2052 * lib/kernel32/synch/intrlck.c: Ditto.
2053 * lib/kernel32/synch/mutex.c: Ditto.
2054 * lib/kernel32/synch/sem.c: Ditto.
2055 * lib/kernel32/synch/timer.c: Ditto.
2056 * lib/kernel32/synch/wait.c: Ditto.
2057 * lib/kernel32/thread/fiber.c: Ditto.
2058 * lib/kernel32/thread/thread.c: Ditto.
2059 * lib/kernel32/thread/tls.c: Ditto.
2060
2061 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
2062
2063 * apps/testsets/Makefile (TEST_SETS): Remove ldr.
2064 * include/msvcrt/ctype.h (towupper): Make returntype wchar_t.
2065
2066 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
2067
2068 * tools/rtouch.c: Include <sys/utime.h>, not <utime.h>.
2069
2070 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
2071
2072 * tools/rtouch.c: New file.
2073 * rules.mak (ROS_USE_PCH): Default to no.
2074 (RTOUCH): Define.
2075 * tools/Makefile: Add rtouch utility.
2076 * tools/helper.mk: Support precompiled headers.
2077
2078 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
2079
2080 * ntoskrnl/dbg/profile.c: New file.
2081 * ntoskrnl/Makefile (OBJECTS_KDBG): Add dbg/profile.o.
2082 * ntoskrnl/dbg/kdb.h: Define NTOS_MODE_KERNEL. Include <ntos.h>.
2083 (LdrGetAddressInformation, KdbInitProfiling, KdbInitProfiling2,
2084 KdbDisableProfiling, KdbEnableProfiling, KdbProfileInterrupt) Prototype.
2085 * ntoskrnl/kd/kdebug.c (KdInitSystem): Add /PROFILE option if KDBG=1.
2086 * ntoskrnl/ke/main.c (ExpInitializeExecutive): Call KdbInitProfiling2()
2087 if KDBG=1.
2088 * ntoskrnl/ke/i386/irq.c: Include <../dbg/kdb.h> if KDBG=1.
2089 (KiInterruptDispatch): Call KdbProfileInterrupt() on timer interrupt
2090 if KDBG=1.
2091
2092 2003-01-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
2093
2094 * drivers/fs/vfat/create.c (VfatSupersedeFile): Only notify cache manager
2095 about change in file size if caching is initiated on the file stream.
2096
2097 2003-01-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
2098
2099 * boot.bat: Use DOS end-of-line characters.
2100
2101 2003-01-02 Casper S. Hornstrup <chorns@users.sourceforge.net>
2102
2103 * ntoskrnl/ke/timer.c (KeExpireTimers): Avoid signed/unsigned comparison
2104 warning.
2105 * lib/user32/controls/scrollbar.c (SCROLL_DrawScrollBar): Put a statement
2106 at end.
2107
2108 2002-12-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
2109
2110 * drivers/fs/vfat/cleanup.c (VfatCleanupFile): Only uninitialize caching
2111 when initialized.
2112 * drivers/fs/vfat/fcb.c (vfatReleaseFCB): Ditto.
2113 * lib/kernel32/mem/section.c (CreateFileMappingW): Pass NULL as
2114 MaximumSize to NtCreateSection if dwMaximumSizeHigh and dwMaximumSizeLow
2115 are both 0.
2116 * ntoskrnl/cc/pin.c (CcMapData): Assert if Bcb is NULL.
2117 * ntoskrnl/cc/view.c (CcRosReleaseCacheSegment, CcRosLookupCacheSegment,
2118 CcRosMarkDirtyCacheSegment, CcRosUnmapCacheSegment,
2119 CcRosCreateCacheSegment, CcRosGetCacheSegmentChain,
2120 CcRosGetCacheSegment, CcRosRequestCacheSegment, CcFlushCache,
2121 CcRosDeleteFileCache, CcRosReferenceCache, CcRosDereferenceCache,
2122 CcRosReleaseFileCache, CcGetFileObjectFromSectionPtrs): Ditto.
2123 * ntoskrnl/mm/section.c (MiReadPage): Assert if Fcb->Bcb is NULL.
2124 (MmCreateDataFileSection): Make sure caching is initialized for the file
2125 stream.
2126
2127 2002-11-15 Casper S. Hornstrup <chorns@users.sourceforge.net>
2128
2129 * include/ddk/ldrtypes.h: Move ...
2130 * include/ntos/ldrtypes.h: ... here.
2131 * include/ddk/ntddk.h: Include ldrtypes.h at new location.
2132
2133 2002-11-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
2134
2135 * drivers/bus/acpi/ospm/osl.c (acpi_os_readable, acpi_os_writable):
2136 Match prototypes.
2137 * include/ascii.h (AbortSystemShutdownA): Correct prototype.
2138 * include/debug.h (assert): Wrap in #ifndef assert.
2139 * include/funcs.h (AbortSystemShutdown): Remove duplicate prototype.
2140 * include/ddk/rtltypes.h: Move ...
2141 * include/ntos/rtltypes.h: ... here.
2142 * include/ddk/rtl.h: Move ...
2143 * include/ntos/rtl.h: ... here.
2144 * include/ddk/zwtypes.h: Move ...
2145 * include/ntos/zwtypes.h: ... here.
2146 * include/ddk/zw.h: Move ...
2147 * include/ntos/zw.h: ... here.
2148 | include/ddk/cmfuncs.h: Remove file; Move NtCreateKey to ntos/zw.h.
2149 * include/ntos.h: #include ntos/rtltypes.h, ntos/rtl.h, ntos/zwtypes.h,
2150 and ntos/zw.h.
2151 * include/unicode.h: (AbortSystemShutdownW): Correct prototype.
2152 * include/ddk/ntddk.h: Include headers at new location; Don't include
2153 removed files.
2154 * include/defines.h: Wrap definitions in w32api in #ifndef __USE_W32API.
2155 * include/ntos/zwtypes.h: Ditto.
2156 * include/napi/lpc.h: Ditto.
2157 * include/napi/shared_data.h: Ditto.
2158 * include/napi/teb.h: Ditto.
2159 * include/napi/types.h: Ditto.
2160 * include/ntdll/ldr.h: Ditto.
2161 * include/ntdll/rtl.h: Ditto.
2162 * include/ntos/console.h: Ditto.
2163 * include/ntos/disk.h: Ditto.
2164 * include/ntos/except.h: Ditto.
2165 * include/ntos/file.h: Ditto.
2166 * include/ntos/gditypes.h: Ditto.
2167 * include/ntos/heap.h: Ditto.
2168 * include/ntos/keyboard.h: Ditto.
2169 * include/ntos/mm.h: Ditto.
2170 * include/ntos/ntdef.h: Ditto.
2171 * include/ntos/ps.h: Ditto.
2172 * include/ntos/registry.h: Ditto.
2173 * include/ntos/security.h: Ditto.
2174 * include/ntos/synch.h: Ditto.
2175 * include/ntos/time.h: Ditto.
2176 * include/ntos/types.h: Ditto.
2177 * include/ntos/port.h: Ditto.
2178 * lib/advapi32/misc/shutdown.c (AbortSystemShutdownW,
2179 AbortSystemShutdownA): Correct prototype.
2180 * lib/advapi32/reg/reg.c: #include ntos.h.
2181 * lib/advapi32/sec/misc.c: Ditto.
2182 * lib/advapi32/sec/sid.c: Ditto.
2183 * lib/advapi32/service/sctrl.c: Ditto.
2184 * lib/advapi32/token/token.c: Ditto.
2185 * lib/kernel32/misc/dllmain.c: Ditto.
2186 * ntoskrnl/ex/napi.c: Ditto.
2187 * ntoskrnl/rtl/i386/exception.c: Ditto.
2188 * lib/advapi32/sec/ac.c: Ditto.
2189 (FindFirstFreeAce, GetAce): Change PACE* to PACE_HEADER*.
2190 * lib/advapi32/service/scm.c (EnumServicesStatusExA,
2191 EnumServicesStatusExW, QueryServiceStatusEx): Correct prototype.
2192 * lib/ntdll/rtl/ppb.c (RtlDestroyProcessParameters): Match prototype.
2193 * ntoskrnl/dbg/errinfo.c (DbgGetErrorText): Use %08x, not %08lx.
2194 * ntoskrnl/io/arcname.c (IoCreateSystemRootLink): Use %u, not %lu.
2195 * ntoskrnl/ke/main.c (ExpInitializeExecutive): Ditto.
2196 * (_main): Use %d, not %ld.
2197 * ntoskrnl/include/internal/i386/ke.h: Add #pragma GCC system_header.
2198 * include/ddk/ntdef.h (NTSYSAPI, NTAPI, NTKERNELAPI): Define to STDCALL;
2199 Check if already defined.
2200 * include/base.h (STDCALL, CDECL, CALLBACK, PASCAL): Move to ntos/types.h.
2201
2202 2002-11-13 Rick Gaiser <RickG81@Wanadoo.nl>
2203
2204 * drivers/bus/isapnp/isapnp.c (FindNextReadPort): Increment Port before
2205 checking wether port address is in NE2000 address space range and returning
2206 port address value.
2207
2208 2002-11-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
2209
2210 * drivers/bus/acpi/include/acpi.h: Include platform/types.h.
2211 * drivers/bus/acpi/include/actypes.h: (UINT8, BOOLEAN, UCHAR, UINT16,
2212 INT32, UINT32, UINT64): Disable, use the OS defined types instead.
2213 * drivers/bus/acpi/include/platform/types.h: Remove all types,
2214 include ntos.h instead.
2215 * drivers/bus/acpi/ospm/include/acpisys.h: Don't include
2216 platform/types.h.
2217
2218 2002-11-10 Casper S. Hornstrup <chorns@users.sourceforge.net>
2219
2220 * include/defines.h: Fix warnings when bulding with gcc 3.3.
2221 * include/ddk/status.h: Ditto.
2222 * include/freetype/internal/ftdebug.h: Ditto.
2223 * include/net/ndis.h: Ditto.
2224 * lib/msafd/misc/helpers.c: Ditto.
2225 * lib/user32/windows/defwnd.c: Ditto.
2226 * lib/user32/windows/window.c: Ditto.
2227 * ntoskrnl/cm/ntfunc.c: Ditto.
2228 * ntoskrnl/cm/regfile.c: Ditto.
2229 * ntoskrnl/cm/regobj.c: Ditto.
2230 * ntoskrnl/dbg/errinfo.c: Ditto.
2231 * ntoskrnl/ex/hashtab.c: Ditto.
2232 * ntoskrnl/include/internal/mm.h: Ditto.
2233 * ntoskrnl/io/irp.c: Ditto.
2234 * ntoskrnl/kd/gdbstub.c: Ditto.
2235 * ntoskrnl/ke/queue.c: Ditto.
2236 * ntoskrnl/ke/sem.c: Ditto.
2237 * ntoskrnl/ldr/resource.c: Ditto.
2238 * ntoskrnl/mm/balance.c: Ditto.
2239 * ntoskrnl/mm/freelist.c: Ditto.
2240 * ntoskrnl/mm/mdl.c: Ditto.
2241 * ntoskrnl/mm/npool.c: Ditto.
2242 * ntoskrnl/mm/section.c: Ditto.
2243 * ntoskrnl/rtl/error.c: Ditto.
2244 * ntoskrnl/rtl/mem.c: Ditto.
2245 * ntoskrnl/rtl/string.c: Ditto.
2246 * ntoskrnl/rtl/time.c: Ditto.
2247 * ntoskrnl/rtl/unicode.c: Ditto.
2248 * ntoskrnl/rtl/wstring.c: Ditto.
2249 * ntoskrnl/rtl/i386/exception.c: Ditto.
2250 * subsys/win32k/freetype/src/base/ftinit.c: Ditto.
2251
2252 2002-11-03 Casper S. Hornstrup <chorns@users.sourceforge.net>
2253
2254 * apps/tests/lpc/lpcclt.c: Change LPC_MESSAGE_HEADER to LPC_MESSAGE.
2255 * include/csrss/csrss.h: Ditto.
2256 * include/lsass/lsass.h: Ditto.
2257 * include/napi/dbg.h: Ditto.
2258 * include/napi/lpc.h: Ditto.
2259 * lib/kernel32/misc/console.c: Ditto.
2260 * lib/ntdll/csr/lpc.c: Ditto.
2261 * lib/ntdll/dbg/debug.c: Ditto.
2262 * lib/secur32/lsa.c: Ditto.
2263 * ntoskrnl/dbg/user.c: Ditto.
2264 * ntoskrnl/include/internal/port.h: Ditto.
2265 * ntoskrnl/lpc/connect.c: Ditto.
2266 * ntoskrnl/lpc/reply.c: Ditto.
2267 * ntoskrnl/ps/process.c: Ditto.
2268 * subsys/csrss/api/conio.c: Ditto.
2269 * subsys/csrss/api/process.c: Ditto.
2270 * subsys/csrss/api/user.c: Ditto.
2271
2272 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
2273
2274 * lib/msvcrt/except/seh.s: Fix end-of-line formatting.
2275 * lib/ntdll/rtl/i386/exception.c: Ditto.
2276 * lib/ntdll/rtl/i386/except.s: Ditto.
2277 * ntoskrnl/rtl/i386/except.s: Ditto.
2278 * ntoskrnl/rtl/i386/seh.s: Ditto.
2279
2280 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
2281
2282 * lib/msvcrt/Makefile (OBJECTS_EXCEPT): Add except/seh.o; Remove
2283 except/exhand3.o.
2284 * lib/msvcrt/except/exhand2.c (MsvcrtDebug): New function.
2285 * lib/msvcrt/except/unwind.c (PEXCEPTION_FRAME): Remove.
2286 (_global_unwind2): Correct prototype.
2287 * lib/ntdll/makefile (RTL_I386_OBJECTS, ARCH_OBJECTS): New groups.
2288 (TARGET_OBJECTS): Add ARCH_OBJECTS group.
2289 * lib/ntdll/rtl/exception.c (KiUserExceptionDispatcher): Set
2290 NumberParameters in exception record.
2291 (RtlRaiseStatus): Remove.
2292 * ntoskrnl/Makefile (OBJECTS_RTL): Remove rtl/seh.o.
2293 (OBJECTS_RTL_I386): Add rtl/i386/except.o, rtl/i386/exception.o, and
2294 rtl/i386/seh.o.
2295 * ntoskrnl/ke/catch.c (RtlpExecuteHandlerForException,
2296 RtlpDumpExceptionRegistrations, RtlpDispatchException,
2297 RtlpExecuteHandler, RtlpExceptionHandler, RtlpUnwindHandler,
2298 RtlpExecuteHandlerForException, RtlpExecuteHandlerForUnwind,
2299 RtlUnwind): Remove.
2300 (RtlpDispatchException): Add prototype.
2301 * ntoskrnl/ke/i386/usertrap.c (ExceptionTypeStrings): Remove.
2302 * ntoskrnl/ps/create.c (PsCreateTeb): Mark end of exception
2303 registration list.
2304 * tools/helper.mk (TARGET_ASFLAGS): Add -g if DBG = 1.
2305 * lib/msvcrt/except/exhand3.c: Remove.
2306 * ntoskrnl/rtl/seh.c: Ditto.
2307 * lib/msvcrt/except/seh.s: New file.
2308 * lib/ntdll/rtl/i386/except.s: Ditto.
2309 * lib/ntdll/rtl/i386/exception.c: Ditto.
2310 * ntoskrnl/rtl/i386/except.s: Ditto.
2311 * ntoskrnl/rtl/i386/exception.c: Ditto.
2312 * ntoskrnl/rtl/i386/seh.s: Ditto.
2313
2314 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
2315
2316 * lib/kernel32/process/create.c (_except_handler): New function.
2317 (BaseProcessStart): Ditto.
2318 (KlCreateFirstThread): Return INVALID_HANDLE_VALUE on error; Call
2319 BaseProcessStart() before process entry point.
2320 * lib/kernel32/thread/thread.c (_except_handler): New function.
2321 (ThreadStartup): Protect thread using SEH constructs.
2322
2323 2002-10-26 Casper S. Hornstrup <chorns@users.sourceforge.net>
2324
2325 * include/ddk/zw.h (NtProcessStartup): Use standard calling convention.
2326 * subsys/csrss/csrss.c (NtProcessStartup): Ditto.
2327 * subsys/smss/smss.c (NtProcessStartup): Ditto.
2328 * subsys/system/autochk/autochk.c (NtProcessStartup): Ditto.
2329 * subsys/system/usetup/usetup.c (NtProcessStartup): Ditto.
2330
2331 2002-10-25 Casper S. Hornstrup <chorns@users.sourceforge.net>
2332
2333 * apps/tests/tokentest/tokentest.c (ROS_ACE_HEADER): Move field
2334 AccessMask ...
2335 (ROS_ACE): ... here.
2336 (DisplayDacl): Make pAce an ROS_ACE*; Use new path for AceType; Use
2337 sizeof(ACE) instead of sizeof(ACE_HEADER).
2338 * include/ntos/security.h (ACE_HEADER): Move field AccessMask ...
2339 (ACE): ... here.
2340 * lib/ntdll/rtl/acl.c: Use new path for AccessMask.
2341 * ntoskrnl/se/semgr.c: Ditto.
2342 * ntoskrnl/se/acl.c (SepInitDACLs): Use new path for AccessMask; Use
2343 sizeof(ACE) instead of sizeof(ACE_HEADER).
2344 * ntoskrnl/se/token.c (SepCreateSystemProcessToken): Use sizeof(ACE)
2345 instead of sizeof(ACE_HEADER).
2346
2347 2002-10-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
2348
2349 * include/napi/teb.h (RTL_USER_PROCESS_PARAMETERS): Use field names
2350 as described in Windows NT/2000 Native API Reference.
2351 * lib/kernel32/file/file.c: Use new field names.
2352 * lib/kernel32/misc/console.c: Ditto.
2353 * lib/kernel32/process/create.c: Ditto.
2354 * lib/kernel32/process/proc.c: Ditto.
2355 * lib/ntdll/rtl/path.c: Ditto.
2356 * lib/ntdll/rtl/ppb.c: Ditto.
2357 * lib/ntdll/rtl/process.c: Ditto.
2358
2359 2002-10-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
2360
2361 * include/ntos.h: Include relevant files.
2362 * include/internal/ke.h: Include files relative to
2363 ntoskrnl/include.
2364 * include/internal/arch/ke.h: Ditto.
2365
2366 2002-10-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
2367
2368 * drivers/dd/floppy/floppy.c: Changed PAGESIZE to PAGE_SIZE.
2369 * drivers/fs/cdfs/fcb.c: Ditto.
2370 * drivers/fs/cdfs/fsctl.c: Ditto.
2371 * drivers/fs/cdfs/rw.c: Ditto.
2372 * drivers/fs/ext2/dir.c: Ditto.
2373 * drivers/fs/ext2/inode.c: Ditto.
2374 * drivers/fs/ext2/rw.c: Ditto.
2375 * drivers/fs/ext2/super.c: Ditto.
2376 * drivers/fs/minix/blockdev.c: Ditto.
2377 * drivers/fs/minix/cache.c: Ditto.
2378 * drivers/fs/minix/inode.c: Ditto.
2379 * drivers/fs/minix/rw.c: Ditto.
2380 * drivers/fs/ntfs/fcb.c: Ditto.
2381 * drivers/fs/ntfs/ntfs.h: Ditto.
2382 * drivers/fs/vfat/create.c: Ditto.
2383 * drivers/fs/vfat/direntry.c: Ditto.
2384 * drivers/fs/vfat/dirwr.c: Ditto.
2385 * drivers/fs/vfat/fat.c: Ditto.
2386 * drivers/fs/vfat/fcb.c: Ditto.
2387 * drivers/fs/vfat/fsctl.c: Ditto.
2388 * drivers/fs/vfat/rw.c: Ditto.
2389 * drivers/storage/class2/class2.c: Ditto.
2390 * drivers/storage/scsiport/scsiport.c: Ditto.
2391 * hal/halx86/adapter.c: Ditto.
2392 * hal/halx86/mp.c: Ditto.
2393 * include/ddk/mmfuncs.h: Ditto.
2394 * include/ddk/mmtypes.h: Ditto.
2395 * include/ddk/i386/pagesize.h: Ditto.
2396 * include/ntdll/pagesize.h: Ditto.
2397 * lib/kernel32/process/create.c: Ditto.
2398 * lib/kernel32/thread/thread.c: Ditto.
2399 * lib/ntdll/ldr/utils.c: Ditto.
2400 * lib/ntdll/rtl/env.c: Ditto.
2401 * lib/ntdll/rtl/heap.c: Ditto.
2402 * lib/ntdll/rtl/ppb.c: Ditto.
2403 * lib/ntdll/rtl/process.c: Ditto.
2404 * lib/ntdll/rtl/thread.c: Ditto.
2405 * ntoskrnl/cc/copy.c: Ditto.
2406 * ntoskrnl/cc/view.c: Ditto.
2407 * ntoskrnl/ex/sysinfo.c: Ditto.
2408 * ntoskrnl/include/internal/i386/mm.h: Ditto.
2409 * ntoskrnl/io/mdl.c: Ditto.
2410 * ntoskrnl/ke/kthread.c: Ditto.
2411 * ntoskrnl/ke/i386/kernel.c: Ditto.
2412 * ntoskrnl/ldr/init.c: Ditto.
2413 * ntoskrnl/ldr/loader.c: Ditto.
2414 * ntoskrnl/mm/anonmem.c: Ditto.
2415 * ntoskrnl/mm/cont.c: Ditto.
2416 * ntoskrnl/mm/freelist.c: Ditto.
2417 * ntoskrnl/mm/iospace.c: Ditto.
2418 * ntoskrnl/mm/kmap.c: Ditto.
2419 * ntoskrnl/mm/marea.c: Ditto.
2420 * ntoskrnl/mm/mdl.c: Ditto.
2421 * ntoskrnl/mm/mminit.c: Ditto.
2422 * ntoskrnl/mm/ncache.c: Ditto.
2423 * ntoskrnl/mm/npool.c: Ditto.
2424 * ntoskrnl/mm/pagefile.c: Ditto.
2425 * ntoskrnl/mm/pageop.c: Ditto.
2426 * ntoskrnl/mm/section.c: Ditto.
2427 * ntoskrnl/mm/slab.c: Ditto.
2428 * ntoskrnl/mm/i386/page.c: Ditto.
2429 * ntoskrnl/ob/handle.c: Ditto.
2430 * ntoskrnl/ps/create.c: Ditto.
2431 * ntoskrnl/ps/process.c: Ditto.
2432 * ntoskrnl/ps/w32call.c: Ditto.
2433 * subsys/win32k/include/object.h: Ditto.
2434
2435 2002-10-01 Casper S. Hornstrup <chorns@users.sourceforge.net>
2436
2437 * lib/ntdll/string/ctype.c: Undefine __MSVCRT__ to not have mingw
2438 runtime import _pctype.
2439
2440 2002-09-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
2441
2442 * lib/user32/misc/desktop.c (string.h): Include.
2443 * lib/user32/misc/resources.c: Ditto.
2444 * lib/user32/misc/winhelp.c: Ditto.
2445 * lib/user32/windows/accel.c: Ditto.
2446 * lib/user32/windows/bitmap.c: Ditto.
2447 * subsys/win32k/freetype/ctype.c: Undefine __MSVCRT__ and _pctype to not
2448 have mingw runtime import _pctype.
2449
2450 2002-09-30 Casper S. Hornstrup <chorns@users.sourceforge.net>
2451
2452 * ntoskrnl/cc/view.c (alloca): Prototype.
2453 * ntoskrnl/rtl/ctype.c: Undefine __MSVCRT__ to not have mingw runtime
2454 import _pctype.
2455
2456 2002-08-26 David Welch <welch@computer2.darkstar.org>
2457
2458 * lib/gdi32/misc/dllmain.c (GdiDllInitialize): Don't initialize
2459 win32k.sys for each process.
2460 * subsys/csrss/init.c (CsrServerInitialization): Initialize
2461 win32k.sys as well.
2462
2463 2002-08-26 David Welch <welch@computer2.darkstar.org>
2464
2465 * ntoskrnl/ps/process.c (NtCreateProcess): Reference the
2466 parent process's handle using ExGetPreviousMode.
2467
2468 2002-08-26 David Welch <welch@computer2.darkstar.org>
2469
2470 * lib/user32/misc/dllmain.c (Init): Initialize gdi32 as well.
2471
2472 2002-08-26 David Welch <welch@computer2.darkstar.org>
2473
2474 * iface/addsys/genw32k.c (main, process): Generate a set of
2475 stubs for csrss as well.
2476
2477 2002-08-26 David Welch <welch@computer2.darkstar.org>
2478
2479 * lib/kernel32/process/create.c (CreateProcessW): Initialize
2480 all the members of the new process's PPB.
2481
2482 2002-08-17 David Welch <welch@computer2.darkstar.org>
2483
2484 * ntoskrnl/mm/rmap.c (MmWritePagePhysicalAddress): Ensure the
2485 process isn't freed in the middle of our operations.
2486
2487 2002-08-17 David Welch <welch@computer2.darkstar.org>
2488
2489 * drivers/fs/vfat/finfo.c (VfatSetAllocationSizeInformation): Fixed.
2490
2491 2002-08-17 David Welch <welch@computer2.darkstar.org>
2492
2493 * ntoskrnl/ps/create.c (PiDeleteThread): Don't dereference
2494 the thread's process while holding the thread list lock.
2495
2496 2002-08-17 David Welch <welch@computer2.darkstar.org>
2497
2498 * ntoskrnl/mm/section.c (MmMapViewOfSection): Check there is
2499 enough space for all parts of an image before mapping it; if
2500 there isn't enough space free at the preferred base address
2501 then try to choose a different one.
2502
2503 2002-08-17 David Welch <welch@computer2.darkstar.org>
2504
2505 * ntoskrnl/mm/mpw.c (MmInitMpwThread): Run the MPW thread at
2506 idle priority.
2507
2508 2002-08-17 David Welch <welch@computer2.darkstar.org>
2509
2510 * ntoskrnl/mm/kmap.c (ExUnmapPage, ExAllocatePageWithPhysPage,
2511 MiFreeNonPagedPoolRegion, MiAllocNonPagedPoolRegion): Maintain
2512 a hint of the next free page; makes running with whole page
2513 allocation more bearable.
2514
2515 2002-08-17 David Welch <welch@computer2.darkstar.org>
2516
2517 * ntoskrnl/mm/anonmem.c (MmPageOutVirtualMemory): Show an
2518 out of swap space message if we are out of swap space.
2519 * ntoskrnl/mm/section.c (MmPageOutSectionView): Show an
2520 out of swap space message if we are out of swap space.
2521 * ntoskrnl/mm/pagefile.c (MmAllocSwapPage): Don't automatically
2522 show an out of swap space message on failure.
2523 * ntoskrnl/mm/pagefile.c (MmShowOutOfSpaceMessagePagingFile): New
2524 function to notify the user that the pagefile is full.
2525
2526 2002-08-17 David Welch <welch@computer2.darkstar.org>
2527
2528 * drivers/lib/zlib/Makefile: Create a dummy zlib.sym
2529
2530 2002-08-16 David Welch <welch@computer2.darkstar.org>
2531
2532 * ntoskrnl/mm/npool.c (ExAllocateWholePageBlock): Converted
2533 to use PHYSICAL_ADDRESS type for page address.
2534
2535 2002-08-16 David Welch <welch@computer2.darkstar.org>
2536
2537 * subsys/win32k/ntuser/class.c (W32kCreateClass): Corrected
2538 typo when calculating the offset into the class object to
2539 put the class name string.
2540
2541 2002-08-16 David Welch <welch@computer2.darkstar.org>
2542
2543 * ntoskrnl/ps/thread.c (PsDispatchThreadNoLock): Don't call
2544 the reaper function directly; set an event to wake up a seperate
2545 reaper thread.
2546 * ntoskrnl/ps/thread.c (PsReaperThreadMain): New function that
2547 waits for a notification and then calls PsReapThreads.
2548 * ntoskrnl/ps/thread.c (PsInitThreadManagement): Create the
2549 reaper thread.
2550
2551 2002-08-15 David Welch <welch@computer2.darkstar.org>
2552
2553 * lib/advapi32/misc/dllmain.c (DllMain): Removed debug message.
2554
2555 2002-08-14 David Welch <welch@computer2.darkstar.org>
2556
2557 * subsys/smss/init.c (SmPagingFilesQueryRoutine): If possible
2558 take the size of the paging file from the registry.
2559
2560 2002-08-14 David Welch <welch@computer2.darkstar.org>
2561
2562 * ntoskrnl/mm/section.c (MmCreateDataFileSection): Extend the
2563 section if necessary.
2564
2565 2002-08-14 David Welch <welch@computer2.darkstar.org>
2566
2567 * ntoskrnl/mm/pagefile.c (NtCreatePagingFile): Set the file
2568 size using the FileAllocationInformation class.
2569
2570 2002-08-14 David Welch <welch@computer2.darkstar.org>
2571
2572 * ntoskrnl/mm/anonmem.c (MmWritePageVirtualMemory): Implemented
2573 function to write anonymous memory pages to the swap file.
2574 * ntoskrnl/mm/anonmem.c (MmFreeVirtualMemoryPage): Free any
2575 swap page associated with the page.
2576 * ntoskrnl/mm/mpw.c (MmWriteDirtyPages): New function to find
2577 pages to write to disk.
2578 * ntoskrnl/mm/mpw.c (MmMpwThreadMain): Implemented MPW functionality.
2579 * ntoskrnl/mm/rmap.c (MmWritePagePhysicalAddress): New function
2580 to write a single page back to disk.
2581 * ntoskrnl/mm/rmap.c (MmSetCleanAllRmaps, MmSetDirtyAllRmaps,
2582 MmIsDirtyPageRmap): New rmap function to support the MPW thread.
2583 * ntoskrnl/mm/section.c (MmWritePageSectionView): Implemented
2584 function to write back section pages.
2585 * ntoskrnl/mm/section.c (MmFreeSectionPage): Free any swap
2586 entry associated with the page; mark pages shared with
2587 the cache as dirty if necessary.
2588
2589 2002-08-14 David Welch <welch@computer2.darkstar.org>
2590
2591 * ntoskrnl/ldr/loader.c (LdrPEProcessModule): Set name of
2592 the module into the module text structure.
2593
2594 2002-08-14 David Welch <welch@computer2.darkstar.org>
2595
2596 * ntoskrnl/io/rw.c (NtReadFile, NtWriteFile): Use the correct
2597 test for whether to wait for the completion of i/o.
2598
2599 2002-08-14 David Welch <welch@computer2.darkstar.org>
2600
2601 * ntoskrnl/cm/ntfunc.c (NtFlushKey): Request synchronous i/o
2602 from NtOpenFile.
2603 * ntoskrnl/cm/regfile (CmiInitPermanentRegistryHive): Request
2604 synchronous i/o from NtCreateFile.
2605 * ntoskrnl/dbg/kdb_stabs.c (LdrpLoadModuleSymbols): Request
2606 synchronous i/o from NtOpenFile.
2607 * ntoskrnl/ldr/sysdll.c (LdrpMapSystemDll): Request synchronous i/o
2608 from NtOpenFile.
2609
2610 2002-08-14 David Welch <welch@computer2.darkstar.org>
2611
2612 * ntoskrnl/cc/view.c (CcRosSuggestFreeCacheSegment): Maintain the
2613 correct reference count.
2614
2615 2002-08-14 David Welch <welch@computer2.darkstar.org>
2616
2617 * ntoskrnl/cc/view.c (CcRosFlushCacheSegment): New function to
2618 write back a modified cache segment.
2619 * ntoskrnl/cc/view.c (CcRosFlushDirtyPages): New function to
2620 flush some dirty pages from the cache.
2621 * ntoskrnl/cc/view.c (CcRosMarkDirtyCacheSegment): New function to
2622 mark a cache segment modified while mapped into memory as dirty.
2623
2624 2002-08-14 David Welch <welch@computer2.darkstar.org>
2625
2626 * ntoskrnl/cc/pin.c (CcMapData, CcUnpinData, CcSetDirtyPinnedData):
2627 Store the dirty status in the BCB; don't write back dirty data
2628 immediately.
2629
2630 2002-08-14 David Welch <welch@computer2.darkstar.org>
2631
2632 * include/ntos/mm.h: Added SEC_XXXX defines from 'Windows NT/2000
2633 Native API Reference'
2634
2635 2002-08-14 David Welch <welch@computer2.darkstar.org>
2636
2637 * drivers/fs/vfat/ea.c (VfatSetExtendedAttributes): Empty
2638 placeholder for extended attribute functions.
2639
2640 2002-08-14 David Welch <welch@computer2.darkstar.org>
2641
2642 * drivers/fs/vfat/finfo.c (VfatSetAllocationSizeInformation):
2643 Added function to set allocation size.
2644
2645 2002-08-14 David Welch <welch@computer2.darkstar.org>
2646
2647 * drivers/fs/vfat/fcb.c (vfatFCBInitializeCache): Renamed
2648 to vfatFCBInitializeCacheFromVolume.
2649 * drivers/fs/vfat/fcb.c (vfatMakeFCBFromDirEntry): Don't
2650 initialise the cache with a file object representing the
2651 volume unless the FCB is for a directory.
2652
2653 2002-08-14 David Welch <welch@computer2.darkstar.org>
2654
2655 * drivers/fs/vfat/create.c (VfatPagingFileCreate): Added a
2656 new function for handling paging file only code.
2657 * drivers/fs/vfat/create.c (VfatSupersedeFile): Added a
2658 new function for doing a file supersede.
2659 * drivers/fs/vfat/create.c (VfatCreateFile): Reformatted and
2660 adjusted control flow. Set allocation size and extended attributes
2661 on create.
2662 * drivers/fs/vfat/create.c (VfatCreate): Removed goto.
2663
2664 2002-08-14 David Welch <welch@computer2.darkstar.org>
2665
2666 * drivers/fs/vfat/cleanup.c (VfatCleanupFile): Renamed
2667 updEntry to VfatUpdateEntry.
2668 * drivers/fs/vfat/close.c (VfatCloseFile): Renamed
2669 updEntry to VfatUpdateEntry.
2670 * drivers/fs/vfat/dirwr.c (updEntry): Renamed to
2671 VfatUpdateEntry.
2672 * drivers/fs/vfat/dirwr.c (addEntry): Renamed to
2673 VfatAddEntry.
2674
2675 2002-08-14 David Welch <welch@computer2.darkstar.org>
2676
2677 * apps/tests/sectest/sectest.c (main): Fixed formatting.
2678
2679 2002-08-10 David Welch <welch@computer2.darkstar.org>
2680
2681 * ntoskrnl/mm/i386/page.c (MmSetPageProtect): Fixed
2682 behaviour when called on the system address space.
2683
2684 2002-08-10 David Welch <welch@computer2.darkstar.org>
2685
2686 * ntoskrnl/mm/virtual.c (MmQueryAnonMem, MmProtectAnonMem,
2687 NtAllocateVirtualMemory, NtFreeVirtualMemory): Renamed
2688 segments to regions; moved region code to seperate file.
2689 Implemented NtQueryVirtualMemory and NtProtectVirtualMemory
2690 for anonymous memory areas.
2691
2692 2002-08-10 David Welch <welch@computer2.darkstar.org>
2693
2694 * ntoskrnl/mm/anonmem.c: Moved functions relating to
2695 areas created with NtAllocateVirtualMemory to a
2696 seperate file.
2697
2698 2002-08-10 David Welch <welch@computer2.darkstar.org>
2699
2700 * ntoskrnl/mm/section.c (MmQuerySectionView): Implemented
2701 NtQueryVirtualMemory for section views.
2702
2703 2002-08-10 David Welch <welch@computer2.darkstar.org>
2704
2705 * ntoskrnl/mm/section.c (MmAccessFaultSectionView,
2706 MmNotPresentFaultSectionView, MmProtectSectionView,
2707 MmMapViewOfSegment, MmAlterViewAttributes): Implemented
2708 NtProtectVirtualMemory for section views.
2709
2710 2002-08-10 David Welch <welch@computer2.darkstar.org>
2711
2712 * ntoskrnl/ke/main.c: Removed SEH test code.
2713
2714 2002-08-10 David Welch <welch@computer2.darkstar.org>
2715
2716 * lib/ntdll/ldr/utils.c (LdrFixupImports): Remove the readonly
2717 protection from the IAT before writing to it.
2718
2719 2002-08-10 David Welch <welch@computer2.darkstar.org>
2720
2721 * lib/ntdll/ldr/utils.c (LdrAdjustDllName): Properly null terminate
2722 the base name of the DLL.
2723
2724 2002-08-10 David Welch <welch@computer2.darkstar.org>
2725
2726 * ntoskrnl/ldr/loader.c (LdrPEProcessModule): Set the text segment
2727 of modules to readonly after loading.
2728
2729 2002-08-09 David Welch <welch@computer2.darkstar.org>
2730
2731 * ntoskrnl/ps/create.c (NtCreateThread): Call PsSuspendThread
2732 if NtCreateThread has CreateSuspended as TRUE.
2733 * ntoskrnl/ps/suspend.c (PsSuspendThread, PsResumeThread,
2734 PiSuspendThreadKernelRoutine): Fixed suspend functionality.
2735
2736 2002-08-09 David Welch <welch@computer2.darkstar.org>
2737
2738 * ntoskrnl/ke/i386/usertrap.c (print_user_address): Copy
2739 the LDR variable from the right address.
2740
2741 2002-08-09 David Welch <welch@computer2.darkstar.org>
2742
2743 * ntoskrnl/ke/apc.c (KiDeliverNormalApc): Check for
2744 kernel APCs pending on exit from the kernel.
2745 * ntoskrnl/ke/apc.c (KiDeliverNormalApc, KiDeliverUserApc,
2746 KiDeliverApc): Set the APC's inserted flag to FALSE after
2747 removing it from the thread's queue.
2748
2749 2002-08-09 David Welch <welch@computer2.darkstar.org>
2750
2751 * lib/kernel32/thread/thread.c (ThreadStartup): Don't
2752 call DLL entrypoints; this is done by LdrInitializeThunk.
2753 * lib/ntdll/ldr/startup.c (LdrInitializeThunk): Call
2754 DLLs in initialization order; take the loader lock before
2755 calling.
2756
2757 2002-08-09 David Welch <welch@computer2.darkstar.org>
2758
2759 * apps/tests/thread/thread.c (main): Test suspend and
2760 resume functionality.
2761
2762 2002-08-08 David Welch <welch@computer2.darkstar.org>
2763
2764 * ntoskrnl/mm/section (NtQuerySection): Return the
2765 right result length.
2766
2767 2002-08-08 David Welch <welch@computer2.darkstar.org>
2768
2769 * ntoskrnl/ke/usertrap.c (print_user_address): Check for
2770 a NULL LDR structure in the PEB; copy the LDR pointer in
2771 safely.
2772
2773 2002-08-08 David Welch <welch@computer2.darkstar.org>
2774
2775 * ntoskrnl/ke/apc.c (KiDeliverUserApc): Deliver all present
2776 APCs; release the APC spinlock while acccessing user memory.
2777
2778 2002-08-08 David Welch <welch@computer2.darkstar.org>
2779
2780 * include/internal/ps.h: Adjusted offsets into the ETHREAD
2781 structure.
2782 * include/internal/ps.h: Removed redundant members from the
2783 KTHREAD structure.
2784 * ntoskrnl/ke/kthread.c (KeInitializeThread): Removed
2785 redundant members from the KTHREAD structure.
2786
2787 2002-08-08 David Welch <welch@computer2.darkstar.org>
2788
2789 * ntoskrnl/dbg/kdb.c (KdbEnterDebuggerException): New
2790 function to enter the debugger on an exception.
2791 * ntoskrnl/kd/kdebug.c (KdInitSystem): Initialize the
2792 local kernel debugger if enabled.
2793 * ntoskrnl/ke/catch.c (KiDispatchException): Enter the
2794 local kernel debugger on an exception.
2795
2796 2002-08-08 David Welch <welch@computer2.darkstar.org>
2797
2798 * include/ntdll/ldr.h: Added definition for a DLL entrypoint.
2799 * lib/kernel32/process/create.c (KlCreateFirstThread): Put
2800 the argument to the NtProcessStartup function on the stack.
2801 * lib/kernel32/process/create.c (KlInitPeb): Read the
2802 base address of the new image from the PEB.
2803 * lib/kernel32/process/create.c (CreateProcessW): Start the
2804 first thread at the entrypoint of the new image.
2805 * lib/ntdll/ldr/startup.c (LdrInitializeThunk): If the
2806 function is called after the initial startup then just call the
2807 entrypoints for the loaded DLLs with DLL_THREAD_ATTACH. Don't
2808 call the entrypoint of the image.
2809 * lib/ntdll/rtl/process.c (RtlpCreateFirstThread): Put the
2810 argument to the NtProcessStartup function on the stack.
2811 * lib/ntdll/rtl/process.c (KlInitPeb): Read the base address of
2812 the new image from the PEB.
2813 * lib/ntdll/rtl/process.c (RtlCreateUserProcess): Start the
2814 first thread at the entrypoint of the new image.
2815 * ntoskrnl/ke/i386/bthread.S (PsBeginThreadWithContextInternal):
2816 Use the system call path to begin a usermode thread.
2817 * ntoskrnl/ke/i386/thread.c (Ke386InitThreadWithContext): Convert
2818 the supplied context into a trap frame.
2819 * ntoskrnl/ldr/init.c (LdrLoadInitialProcess): Put the PEB argument
2820 to the NtProcessStartup function on the new stack; start the
2821 first thread at the entrypoint of the image.
2822 * ntoskrnl/ps/create.c (NtCreateThread): Create an APC to call
2823 LdrInitializeThunk in the context of a new thread before its
2824 entrypoint.
2825
2826 2002-08-08 David Welch <welch@computer2.darkstar.org>
2827
2828 * drivers/fs/vfat/cleanup.c (VfatCleanupFile): Uninitialise
2829 the cache on file cleanup.
2830 * drivers/fs/vfat/fcb.c (vfatReleaseFcb): Don't uninitialise
2831 the cache on file close.
2832 * ntoskrnl/cc/copy.c: Renamed zero page global variable.
2833 * ntoskrnl/cc/view.c: Added cache delete function.
2834
2835 2002-07-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
2836
2837 * rules.mak (RSYM): Define.
2838 * include/ddk/zwtypes.h (DebugDbgLoadSymbols): Add to enum
2839 _DEBUG_CONTROL_CODE.
2840 * include/ntdll/ldr.h (LDR_SYMBOL_INFO, LdrpLoadUserModuleSymbols): Add.
2841 (LdrLoadModuleSymbols): Remove.
2842 * include/ntos/kdbgsyms.h (ST_FILENAME, ST_FUNCTION,
2843 ST_LINENUMBER): Add.
2844 (SYMBOL). Make Name an ANSI_STRING.
2845 (IMAGE_SYMBOL_INFO, AreSymbolsParsed): Add.
2846 * lib/ntdll/ldr/startup.c (LdrInitializeThunk): Call
2847 LdrpLoadUserModuleSymbols() not LdrLoadModuleSymbols().
2848 * lib/ntdll/ldr/utils.c (LdrLoadModuleSymbols): Rename to
2849 LdrpLoadUserModuleSymbols.
2850 (LdrpLoadUserModuleSymbols): Use DebugDbgLoadSymbols debug control code.
2851 (LdrLoadDll): assert if out of memory.
2852 (LdrLoadDll): Call
2853 LdrpLoadUserModuleSymbols(), not LdrLoadModuleSymbols().
2854 * lib/ntdll/string/ctype.c (_pctype): #undef.
2855 * ntoskrnl/dbg/dbgctrl.c (NtSystemDebugControl): Call
2856 LdrLoadUserModuleSymbols on DebugDbgLoadSymbols.
2857 * ntoskrnl/include/internal/ldr.h (LdrGetAddressInformation): Add.
2858 * ntoskrnl/include/internal/module.h (MODULE_TEXT_SECTION): Make SymbolInfo
2859 an IMAGE_SYMBOL_INFO.
2860 * ntoskrnl/ke/i386/exp.c (LdrGetAddressInformation): Add prototype.
2861 (print_address): Change #ifdef KDBG to #ifdef DBG.
2862 (KiDoubleFaultHandler, KiDumpTrapFrame, KeDumpStackFrames): Dump
2863 one stack frame per line.
2864 * ntoskrnl/ke/i386/multiboot.S: Create pagetables for more kernel
2865 address space so larger modules can be passed from the boot loader.
2866 * ntoskrnl/ke/i386/usertrap.c (LdrGetAddressInformation): Add prototype.
2867 (print_user_address): Print symbols using LdrGetAddressInformation().
2868 * ntoskrnl/ldr/loader.c (SYMBOLFILE_HEADER, IMAGE_SYMBOL_INFO_CACHE,
2869 STAB_ENTRY, N_FUN, N_SLINE, N_SO, SymbolListHead): Add.
2870 (TAG_SYM_BUF): Remove.
2871 (LdrInitDebug): Remove unneeded code.
2872 (LdrInit1): Prepare for loading symbols.
2873 (LdrpReadLine, HexL, LdrpParseLine, LdrpLoadModuleSymbolsFromBuffer,
2874 LdrpLoadUserModuleSymbolsFromBuffer): Remove.
2875 (LdrpParseImageSymbols, LdrpGetFileName, LdrpGetFunctionName,
2876 LdrpGetLineNumber, LdrGetAddressInformation, LdrpLookupUserSymbolInfo): Add.
2877 (LdrpLoadModuleSymbols, LdrInitializeBootStartDriver): Change to use new
2878 symbol structures.
2879 (LdrLoadUserModuleSymbols): Cache symbol buffers.
2880 (LdrUnloadModuleSymbols): Implement.
2881 (LdrLoadModule, LdrUnloadModule): Change #ifdef KDBG to #ifdef DBG.
2882 (LdrPEProcessModule): Split a line into two lines.
2883 (LdrPEProcessModule): Setup for loading symbols.
2884 * ntoskrnl/ldr/sysdll.c (LdrpMapSystemDll): Open with FILE_SHARE_READ.
2885 * ntoskrnl/ps/process.c (PiFreeSymbols): Call LdrUnloadModuleSymbols() to
2886 free symbols.
2887 (PiDeleteProcess): Change #ifdef KDBG to #ifdef DBG.
2888 * ntoskrnl/rtl/ctype.c (_pctype): #undef.
2889 * ntoskrnl/rtl/string.c (strncpy): Terminate destination string.
2890 * tools/Makefile (rsym): Add target.
2891 * tools/helper.mk: Include config and use -g if DBG = 1.
2892
2893 2002-07-13 Casper S. Hornstrup <chorns@users.sourceforge.net>
2894
2895 * Makefile (install_before): Install system.hiv to correct location.
2896
2897 2002-07-04 David Welch <welch@computer2.darkstar.org>
2898
2899 * subsys/win32k/include/callback.h: Fixed callback argument
2900 definitions.
2901 * subsys/win32k/ntuser/winpos.c: Implemented some more of the windows
2902 sizing/moving code.
2903 * subsys/win32k/ntuser/painting.c: Implemented some more of the
2904 window painting code.
2905 * subsys/win32k/objects/coord.c: Implemented LPtoDP and DPtoLP.
2906 * subsys/win32k/objects/region.c: Added stubs for some more
2907 region functions.
2908
2909 2002-07-04 David Welch <welch@computer2.darkstar.org>
2910
2911 * ntoskrnl/ps/process.c (NtCreateProcess): Duplicate the
2912 process desktop handle as well.
2913
2914 2002-07-04 David Welch <welch@computer2.darkstar.org>
2915
2916 * ntoskrnl/se/token.c: Don't call the ZwXXX variant of
2917 system calls when in system context.
2918
2919 2002-07-04 David Welch <welch@computer2.darkstar.org>
2920
2921 * ntoskrnl/Makefile: Added file with MDA output code.
2922 * ntoskrnl/kd/kdebug.c: Recognize MDA as a destination for
2923 debug output.
2924
2925 2002-07-04 David Welch <welch@computer2.darkstar.org>
2926
2927 * lib/user32/windows/defwnd.c: Implemented some more of the
2928 default window handler.
2929
2930 2002-07-04 David Welch <welch@computer2.darkstar.org>
2931
2932 * lib/user32/misc/stubs.c: Removed some stubs to seperate files.
2933
2934 2002-07-04 David Welch <welch@computer2.darkstar.org>
2935
2936 * lib/user32/user32.def: Export ScreenToClient otherwise we
2937 get problems when code in user32 tries to call it.
2938
2939 2002-07-04 David Welch <welch@computer2.darkstar.org>
2940
2941 * include/win32k/region.h: Added prototypes for some missing
2942 region functions.
2943
2944 2002-07-04 David Welch <welch@computer2.darkstar.org>
2945
2946 * include/win32k/ntuser.h: Added prototypes for some missing
2947 NtUserXXX functions.
2948
2949 2002-07-04 David Welch <welch@computer2.darkstar.org>
2950
2951 * include/user32/wininternal.h: Added some constants for
2952 private GetDCEx styles that WINE needs.
2953
2954 2002-07-04 David Welch <welch@computer2.darkstar.org>
2955
2956 * include/user32/callback.h: Fixed callbacks for messages with
2957 parameters.
2958
2959 2002-07-04 David Welch <welch@computer2.darkstar.org>
2960
2961 * include/napi/win32.h (W32THREAD): Added pointer to the
2962 thread's desktop.
2963 * include/napi/win32.h (W32PROCESS): Removed handle table,
2964 added a pointer to the process's window station.
2965 * subsys/win32k/ntuser/guicheck.c (W32kGuiCheck): Reference
2966 a process's window station on the first win32k system call. Reference
2967 a thread's desktop on the first win32k system call.
2968
2969 2002-07-04 David Welch <welch@computer2.darkstar.org>
2970
2971 * include/messages.h: Added some missing WM_XXX constants.
2972
2973 2002-07-04 David Welch <welch@computer2.darkstar.org>
2974
2975 * drivers/dd/ide/makefile: Compiling with debugging messages
2976 needs libgcc to be linked in.
2977
2978 2002-07-04 David Welch <welch@computer2.darkstar.org>
2979
2980 * iface/addsys/genw32k.c: Generate a variable with the
2981 number of system calls.
2982 * iface/native/genntdll.c: Generate a proper stack frame for
2983 the user system call stubs.
2984 * ntoskrnl/ke/i386/syscall.S: Generate a proper stack frame for
2985 the handler for system calls.
2986
2987 2002-07-04 David Welch <welch@computer2.darkstar.org>
2988
2989 * Makefile: Build the GUI startup application.
2990 * subsys/system/gstart/gstart.c: Application to start up
2991 the GUI.
2992
2993 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2994
2995 * tools/helper.mk: Make an import library a proper target
2996 depending on the .def file.
2997
2998 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
2999
3000 * subsys/win32k/ntuser/window.c (NtUserGetWindowLong): Began
3001 implementation.
3002
3003 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3004
3005 * subsys/win32k/misc/object.c (ObmCreateHandle): Return the
3006 correct handle value.
3007
3008 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3009
3010 * subsys/win32k/makefile: Make win32k depend on the file containing
3011 the service table.
3012
3013 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3014
3015 * ntoskrnl/ke/i386/stkswitch.S (KeSwitchStackAndRet,
3016 KePushAndStackSwitchAndSysRet): Push one value only.
3017 * ntoskrnl/ps/w32call.c (NtCallbackReturn, NtW32Call): Moved
3018 these functions to a new file. Restore the old trap frame after
3019 returning from a callback.
3020
3021 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3022
3023 * lib/user32/windows/message.c (CallWindowProcA, CallWindowProcW):
3024 Convert message to Unicode or ASCII if necessary.
3025
3026 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3027
3028 * include/user32/callback.h: Added WM_CREATE and WM_NCCALCSIZE
3029 callbacks.
3030 * lib/user32/windows/window.c (User32SendCREATEMessageForKernel,
3031 User32SendNCCREATEMessageForKernel): Implemented.
3032 * subsys/win32k/ntuser/callback.c (W32kSendCREATEMessage):
3033 Implemented.
3034
3035 2002-06-18 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3036
3037 * include/structs.h: Added Unicode and ASCII versions of
3038 CREATESTRUCT.
3039
3040 2002-06-16 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3041
3042 * tools/helper.mk: Make the install target depend on all the
3043 files to be installed.
3044
3045 2002-06-16 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3046
3047 * ntoskrnl/ps/thread.c (NtCallbackReturn): Set TSS.Esp0 to the
3048 top of the old stack.
3049 * ntoskrnl/ps/thread.c (NtW32Call): Set TSS.Esp0 to the top of
3050 the new stack. Free the callback stack correctly. Don't copy
3051 portion of the trap frame that doesn't exist in non-v86-mode
3052 interrupts.
3053 * ntoskrnl/ps/thread.c (PsFreeCallbackStack): New function to
3054 free a stack allocated with PsAllocateCallbackStack.
3055
3056 2002-06-16 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3057
3058 * drivers/dd/null/makefile: Commented out local LDFLAGS as
3059 these cause bad relocations in the stripped image.
3060
3061 2002-06-16 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3062
3063 * config: Corrected spelling error.
3064
3065 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3066
3067 * subsys/system/winlogon/winlogon.c (WinMain): Check for
3068 failure when creating a window system.
3069
3070 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3071
3072 * ntoskrnl/ob/handle.c (ObDuplicateObject): Added this internal
3073 function for duplicating objects.
3074 * ntoskrnl/ps/process.c (NtCreateProcess): Duplicate the parent
3075 process's window station to the child process.
3076 * ntoskrnl/ps/process.c (PsInitProcessManagement): Initialize the
3077 first process's window station.
3078
3079 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3080
3081 * ntoskrnl/mm/marea.c (MmCreateMemoryArea): Initialise
3082 page operation structure members.
3083 * ntoskrnl/mm/pageop.c (MmReleasePageOp, MmGetPageOp): Increment
3084 or decrement the page operation count in the memory area.
3085 * ntoskrnl/mm/virtual.c (MmNotPresentFaultVirtualMemory,
3086 MmPageOutVirtualMemory): Check for a deleted memory area before
3087 handling the fault.
3088 * ntoskrnl/mm/virtual.c (MmFreeVirtualMemory): Wait for all
3089 page operations to finish before freeing the memory area.
3090
3091 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3092
3093 * ntoskrnl/ke/i386/syscall.S (interrupt_handler2e): Corrected
3094 test for previous mode, upper 16-bit of CS on the stack after an
3095 interrupt are arbitary.
3096
3097 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3098
3099 * lib/user32/misc/winsta.c: Cleaned up indentation.
3100
3101 2002-06-11 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3102
3103 * apps/tests/winhello/winhello.c (WinMain, MainWndProc):
3104 Cleaned up formatting, some more error checks.
3105
3106 2002-06-04 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3107
3108 * ntoskrnl/mm/virtual.c (MmSecureVirtualMemory,
3109 MmUnsecureVirtualMemory, NtQueryVirtualMemory): Corrected indentation.
3110
3111 2002-06-04 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3112
3113 * ntoskrnl/ke/i386/exp.c (KiDoubleFaultHandler): Print CR3
3114 correctly.
3115
3116 2002-06-04 David Welch <welch@whitehall1-5.seh.ox.ac.uk>
3117
3118 * ntoskrnl/include/internal/ps.h: Added KTHREAD_STACK_LIMIT definition.
3119 * ntoskrnl/ke/i386/tskswitch.S (Ki386ContextSwitch): Force all the
3120 pages of the kernel stack to be accessible from this process.
3121
3122 2002-06-04 David Welch <welch@cwcom.net>
3123
3124 * ntoskrnl/cc/view.c (ReadCacheSegmentChain): Changes to use
3125 PHYSICAL_ADDRESS type for physical addresses.
3126 * ntoskrnl/cc/copy.c (CcRosCreateCacheSegment): Changes to use
3127 PHYSICAL_ADDRESS type for physical addresses.
3128 * ntoskrnl/cc/copy.c (CcFreeCachePage): Changes to use
3129 PHYSICAL_ADDRESS type for physical addresses.
3130 * ntoskrnl/include/internal/mm.h: Changed prototypes to use
3131 PHYSICAL_ADDRESS type for physical addresses.
3132 * ntoskrnl/include/internal/ps.h (KPROCESS): Changed type of
3133 page directory base to PHYSICAL_ADDRESS.
3134 * ntoskrnl/include/internal/i386/mm.h: Changed prototypes to use
3135 PHYSICAL_ADDRESS type for physical addresses.
3136 * ntoskrnl/ke/kthread.c (KeFreeStackPage): Changes to use
3137 PHYSICAL_ADDRESS type for physical addresses.
3138 * ntoskrnl/ke/kthread.c (KeInitializeThread): Changes to use
3139 PHYSICAL_ADDRESS type for physical addresses.
3140 * ntoskrnl/ke/process.c (KeAttachProcess, KeDetachProcess): Changes
3141 to use PHYSICAL_ADDRESS type for physical addresses.
3142 * ntoskrnl/ke/kernel.c (PcrPages, KeApplicationProcessorInit): Changes
3143 to use PHYSICAL_ADDRESS type for physical addresses.
3144 * ntoskrnl/mm/balance.c (MM_ALLOCATION_REQUEST): Changes to use
3145 PHYSICAL_ADDRESS type for physical addresses.
3146 * ntoskrnl/mm/balance.c (MmReleasePageMemoryConsumer): Changes to use
3147 PHYSICAL_ADDRESS type for physical addresses.
3148 * ntoskrnl/mm/balance.c (MmRequestPageMemoryConsumer): Changes to use
3149 PHYSICAL_ADDRESS type for physical addresses.
3150 * ntoskrnl/mm/cont.c (MmFreeContinuousPage): Changes to use
3151 PHYSICAL_ADDRESS type for physical addresses.
3152 * ntoskrnl/mm/cont.c (MmAllocateContinuousAlignedMemory): Changes to
3153 use PHYSICAL_ADDRESS type for physical addresses.
3154 * ntoskrnl/mm/freelist.c (MmTransferOwnershipPage,
3155 MmGetLRUFirstUserPage, MmGetLRUNextUserPage, MmGetContinuousPages,
3156 MmInitializePageList, MmSetFlagsPage, MmSetRmapListHeadPage,
3157 MmGetRmapListHeadPage, MmMarkPageMapped, MmMarkPageUnmapped,
3158 MmGetFlagsPage, MmSetSavedSwapEntryPage, MmGetSavedSwapEntryPage,
3159 MmReferencePage, MmGetReferenceCountPage, MmIsUsablePage,
3160 MmDereferencePage, MmGetLockCountPage, MmLockPage, MmUnlockPage,
3161 MmAllocPage): Changes to use PHYSICAL_ADDRESS type for physical
3162 addresses.
3163 * ntoskrnl/mm/iospace.c (MmMapIoSpace): Changes to use
3164 PHYSICAL_ADDRESS type for physical addresses.
3165 * ntoskrnl/mm/kmap.c (ExAllocatePage, MiZeroPage, MiCopyFromUserPage,
3166 ExAllocatePageWithPhysPage): Changes to use PHYSICAL_ADDRESS type for
3167 physical addresses.
3168 * ntoskrnl/mm/marea.c (MmFreeMemoryArea): Changes to use
3169 PHYSICAL_ADDRESS type for physical addresses.
3170 * ntoskrnl/mm/mdl.c (MmUnlockPages, MmMapLockedPages,
3171 MmProbeAndLockPages): Changes to use PHYSICAL_ADDRESS type for
3172 physical addresses.
3173 * ntoskrnl/mm/mm.c (MmSharedDataPagePhysicalAddress,
3174 MmCommitPagedPoolAddress, MmNotPresentFault): Changes to use
3175 PHYSICAL_ADDRESS type for physical addresses.
3176 * ntoskrnl/mm/mminit.c (MmInitVirtualMemory): Changes to use
3177 PHYSICAL_ADDRESS type for physical addresses.
3178 * ntoskrnl/mm/ncache.c (MmAllocateNonCachedMemory,
3179 MmFreeNonCachedPage): Changes to use PHYSICAL_ADDRESS type for
3180 physical addresses.
3181 * ntoskrnl/mm/npool.c (grow_kernel_pool): Changes to use
3182 PHYSICAL_ADDRESS type for physical addresses.
3183 * ntoskrnl/mm/rmap.c (MmPageOutPhysicalAddress, MmInsertRmap,
3184 MmDeleteAllRmaps, MmDeleteRmap): Changes to use
3185 PHYSICAL_ADDRESS type for physical addresses.
3186 * ntoskrnl/mm/section.c (MiReadPage, MmNotPresentFaultSectionView,
3187 MmAccessFaultSectionView, MmPageOutDeleteMapping,
3188 MmPageOutSectionView, MmFreeSectionPage): Changes to use
3189 PHYSICAL_ADDRESS type for physical addresses.
3190 * ntoskrnl/mm/slab.c (ExGrowSlabCache): Changes to use
3191 PHYSICAL_ADDRESS type for physical address.
3192 * ntoskrnl/mm/virtual.c (MmPageOutVirtualMemory,
3193 MmNotPresentFaultVirtualMemory, MmFreeVirtualMemoryPage): Changes to
3194 use PHYSICAL_ADDRESS type for physical address.
3195 * ntoskrnl/mm/wset.c (MmTrimUserMemory): Changes to use
3196 PHYSICAL_ADDRESS type for physical address.
3197 * ntoskrnl/mm/page.c (Mmi386ReleaseMmInfo, MmCopyMmInfo,
3198 MmGetPhysicalAddressForProcess, MmCreateVirtualMapping,
3199 MmCreateVirtualMappingUnsafe, MmCreateVirtualMappingForProcess,
3200 MmDeleteVirtualMapping): Changes to use PHYSICAL_ADDRESS type for
3201 physical address.
3202 * ntoskrnl/ps/process (PsInitProcessManagment): Changes to use
3203 PHYSICAL_ADDRESS type for physical address.
3204 * ntoskrnl/ps/thread.c (PsAllocateCallbackStack): Changes to use
3205 PHYSICAL_ADDRESS type for physical address.
3206
3207 2002-06-04 David Welch <welch@cwcom.net>
3208
3209 * Lots of change since the ChangeLog was last updated.
3210
3211 2001-03-18 David Welch <welch@cwcom.net>
3212
3213 * ntoskrnl/ke/apc.c (KiDeliverApc): Bug fix.
3214 * ntoskrnl/ke/apc.c (KeInsertQueueApc): More comments.
3215 * ntoskrnl/ke/catch.c (KiDispatchException): Bug fix.
3216 * ntoskrnl/ke/timer.c (KeDelayExecutionThread): Don't use removed
3217 function KeAddTimeoutThread.
3218 * ntoskrnl/ke/timer.c (KeAddTimeoutThread): Removed.
3219 * ntoskrnl/ke/wait.c (KeWaitForSingleObject, KeWaitForMultipleObjects):
3220 Don't use KeAddTimeoutThread.
3221 * ntoskrnl/mm/freelist.c (MmAllocateContiguousAlignedMemory): Bug fix
3222 * ntoskrnl/mm/freelist.c (MmAllocatePage): Allocate from the top
3223 memory.
3224
3225 2001-03-17 David Welch <welch@cwcom.net>
3226
3227 * ntoskrnl/ke/catch.c (KiDispatchException): Implementation of
3228 exception handling, user-mode only.
3229
3230 2001-03-16 David Welch <welch@cwcom.net>
3231
3232 * include/ddk/zw.h: Corrected declarations of NtCreateProfile,
3233 NtQueryIntervalProfile, NtSetIntervalProfile.
3234 * include/ddk/zwtypes.h: Added definitions of KPROFILE_SOURCE.
3235 * ntoskrnl/include/internal/ke.h: Added the interrupted EIP as a
3236 parameter to KiUpdateSystemTime for profiling purposes.
3237 * ntoskrnl/include/internal/nt: Added declaration for profiling
3238 support initialization.
3239 * ntoskrnl/ke/timer.c (KiUpdateSystemTime, KeExpireTimers): Call
3240 the profiling code on a timer interrupt with the interrupt EIP.
3241 * ntoskrnl/ke/i386/irq.c (KiDispatchInterrupt): Pass the interrupted
3242 EIP to KiUpdateSystemTime.
3243 * ntoskrnl/mm/virtual.c (NtReadVirtualMemory, NtWriteVirtualMemory):
3244 Release the MDLs used properly.
3245 * ntoskrnl/nt/nt.c: Call the profiling support initialization.
3246 * ntoskrnl/nt/ntevent.c (NtCreateEvent): Don't try copying the
3247 ObjectAttributes parameter if it is NULL.
3248 * ntoskrnl/nt/profile.c: Implemented profiling.
3249
3250 2001-03-16 David Welch <welch@cwcom.net>
3251
3252 * ntoskrnl/include/internal/safe.h: Corrected typo.
3253 * ntoskrnl/nt/ntevent.c (NtCreateEvent, NtOpenEvent, NtQueryEvent):
3254 Corrected typos.
3255 * ntoskrnl/rtl/mem.c: Missing header file.
3256
3257 2001-03-16 David Welch <welch@cwcom.net>
3258
3259 * ntoskrnl/include/internal/safe.h: Add definitions for handling
3260 potentially unsafe pointers.
3261
3262 2001-03-16 David Welch <welch@cwcom.net>
3263
3264 * ntoskrnl/include/internal/mm.h: Removed MmSafeCopyToUser and
3265 MmSafeCopyFromUser as source files need these but don't want internal
3266 mm definitions.
3267 * ntoskrnl/nt/ntevent.c (NtCreateEvent, NtOpenEvent, NtPulseEvent,
3268 NtQueryEvent, NtResetEvent, NtSetEvent): Copy data to and from
3269 user mode safely.
3270 * ntoskrnl/rtl/mem.c (MmCopyToCaller, MmCopyFromCaller): Helper
3271 functions for copying data to and from potentially unsafe pointers.
3272
3273 2000-12-23 David Welch <welch@cwcom.net>
3274
3275 * All task switching is done in software.
3276 * Beginnings of v86 mode support.
3277
3278 2000-12-22 David Welch <welch@cwcom.net>
3279
3280 * ntoskrnl/ps/kill.c (PiTerminateProcessThreads): Drop
3281 PiThreadListLock before calling PsTerminateOtherThread
3282
3283 2000-12-16 David Welch <welch@cwcom.net>
3284
3285 * ntoskrnl/ex/fmutex.c (ExReleaseFastMutexUnsafe): Only set the
3286 fast mutex's owner back to NULL if it is being released
3287
3288 2000-12-10 David Welch <welch@cwcom.net>
3289
3290 * ntoskrnl/ke/i386/vm86_sup.S (Ki386RetToV86Mode): Added function
3291 to do the raw switch to v86 mode.
3292 * ntoskrnl/include/internal/vm86.h: Definitions for the v86 mode
3293 support.
3294
3295 2000-12-10 David Welch <welch@cwcom.net>
3296
3297 * ntoskrnl/ke/i386/trap.s (PsBeginThreadWithContextInternal): Moved
3298 to ntoskrnl/ke/i386/bswitch.S.
3299 * ntoskrnl/ke/i386/trap.s (interrupt_handler2e): Moved to
3300 ntoskrnl/ke/i386/syscall.S.
3301 * ntoskrnl/ke/i386/trap.s (old_interrupt_handler2e): Removed.
3302
3303 2000-12-04 David Welch <welch@cwcom.net>
3304
3305 * ntoskrnl/ke/i386/irq.c (KiInterruptDispatch): Record the last PC
3306 value for a rescheduled thread.
3307 * ntoskrnl/ke/i386/irqhand.s: Construct a primitive trap frame
3308 in interrupt handlers.
3309
3310 2000-08-30 David Welch <welch@cwcom.net>
3311
3312 * Added calibration of KeStallExecutionProcessor timing
3313 (code from linux 2.2.16).
3314
3315 * Corrected compilation bugs in user32 library.
3316
3317 * Corrected compilation bugs related to anonymous structs
3318 in ndis code.
3319
3320 * Pass command line to kernel from loadros.
3321
3322 * Corrected PIC mask calculation.
3323
3324 2000-05-27 David Welch <welch@cwcom.net>
3325
3326 * Fixed issue with closing non-existent or already closed
3327 handle.
3328
3329 2000-01-26 David Welch <welch@cwcom.net>
3330
3331 * ZwCreateProcess now maps ntdll rather than the user-mode
3332 code.
3333
3334 1999-09-06 David Welch <welch@cwcom.net>
3335
3336 * Implemented ZwOpenProcess.
3337
3338 * Partially implemented killing other threads (possible memory
3339 leaks).
3340
3341 * Made a start on a proper implemention of APCs (based on
3342 article in NT insider).
3343
3344 1998-12-08 David Welch <welch@cwcom.net>
3345
3346 * Corrected bug in shell (Read two keypresses and assumed they
3347 where the key going up and down respectively).
3348
3349 * Corrected race in dpc handling.
3350
3351 * Took out cleanup sections in ZwReadFile (now handled by the
3352 APC).
3353
3354 * Disabled broken code in kernel32.
3355