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