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