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