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