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