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