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