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