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