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