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