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