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