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