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