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