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