reactos.git
17 years agomerge 25562
Sylvain Petreolle [Fri, 26 Jan 2007 22:31:55 +0000 (22:31 +0000)]
merge 25562

svn path=/branches/ros-branch-0_3_1/; revision=25643

17 years agomerge 25640
Sylvain Petreolle [Fri, 26 Jan 2007 22:17:44 +0000 (22:17 +0000)]
merge 25640

svn path=/branches/ros-branch-0_3_1/; revision=25641

17 years agomerge r25600
Ged Murphy [Wed, 24 Jan 2007 15:26:51 +0000 (15:26 +0000)]
merge r25600

svn path=/branches/ros-branch-0_3_1/; revision=25616

17 years agomerge new icon/cursor selection code, cursors and radio button drawing code from...
Ged Murphy [Wed, 24 Jan 2007 15:25:43 +0000 (15:25 +0000)]
merge new icon/cursor selection code, cursors and radio button drawing code from head

svn path=/branches/ros-branch-0_3_1/; revision=25615

17 years ago- Merge 25572 (except the NTLPC related part), this fixes VMWare detection.
Aleksey Bragin [Wed, 24 Jan 2007 12:14:04 +0000 (12:14 +0000)]
- Merge 25572 (except the NTLPC related part), this fixes VMWare detection.
- Merge a small part of 25501 ("Fix the KiMask32Array").

svn path=/branches/ros-branch-0_3_1/; revision=25614

17 years agoMerge 25473.
Aleksey Bragin [Wed, 24 Jan 2007 11:50:03 +0000 (11:50 +0000)]
Merge 25473.

svn path=/branches/ros-branch-0_3_1/; revision=25613

17 years ago- Merge a couple of small bugfixes from 25461 (smss and csrss related)
Aleksey Bragin [Wed, 24 Jan 2007 10:52:55 +0000 (10:52 +0000)]
- Merge a couple of small bugfixes from 25461 (smss and csrss related)
- Merge 25472

svn path=/branches/ros-branch-0_3_1/; revision=25612

17 years agoMerge xml changes to 0.3.1 branch.
Maarten Bosma [Sun, 21 Jan 2007 15:12:00 +0000 (15:12 +0000)]
Merge xml changes to 0.3.1 branch.

svn path=/branches/ros-branch-0_3_1/; revision=25554

17 years agoMerge 25454, 25455, 25457, 25458.
Aleksey Bragin [Sat, 20 Jan 2007 15:29:52 +0000 (15:29 +0000)]
Merge 25454, 25455, 25457, 25458.

svn path=/branches/ros-branch-0_3_1/; revision=25547

17 years agoMerge 25429:25431, 25437, 25441:25443.
Aleksey Bragin [Sat, 20 Jan 2007 15:15:54 +0000 (15:15 +0000)]
Merge 25429:25431, 25437, 25441:25443.

svn path=/branches/ros-branch-0_3_1/; revision=25546

17 years ago- Sync desk.cpl with trunk
Aleksey Bragin [Tue, 16 Jan 2007 17:46:06 +0000 (17:46 +0000)]
- Sync desk.cpl with trunk

svn path=/branches/ros-branch-0_3_1/; revision=25487

17 years ago- Merge 25404-25406, very small part of 25407, 25409, 25410, 25412+25414, 25422-25426.
Aleksey Bragin [Mon, 15 Jan 2007 20:33:07 +0000 (20:33 +0000)]
- Merge 25404-25406, very small part of 25407, 25409, 25410, 25412+25414, 25422-25426.

svn path=/branches/ros-branch-0_3_1/; revision=25470

17 years ago- Merge two small fixes from 25400
Aleksey Bragin [Mon, 15 Jan 2007 19:41:14 +0000 (19:41 +0000)]
- Merge two small fixes from 25400
- Merge 25401 and 25402

svn path=/branches/ros-branch-0_3_1/; revision=25468

17 years ago- Merge 25373
Aleksey Bragin [Sun, 14 Jan 2007 22:36:14 +0000 (22:36 +0000)]
- Merge 25373
- Merge 25396 (only the part related to semgr.c file)
- Merge 25399

svn path=/branches/ros-branch-0_3_1/; revision=25460

17 years agoAdd config.rbuild and change version to 0.3.1
Aleksey Bragin [Sun, 14 Jan 2007 20:49:18 +0000 (20:49 +0000)]
Add config.rbuild and change version to 0.3.1

svn path=/branches/ros-branch-0_3_1/; revision=25459

17 years agoAdd hit-testing for caption buttons.
Eric Kohl [Sat, 13 Jan 2007 19:15:12 +0000 (19:15 +0000)]
Add hit-testing for caption buttons.

svn path=/trunk/; revision=25443

17 years ago- add italian translation by Paolo Devoti, devotip@tiscali.it
Johannes Anderwald [Sat, 13 Jan 2007 18:39:38 +0000 (18:39 +0000)]
- add italian translation by Paolo Devoti, devotip@tiscali.it
- fixes some issues with the patch (missing \ or \n or ")
See issue #1983 for more details.

svn path=/trunk/; revision=25442

17 years ago- add italian translation by Paolo Devoti, devotip@tiscali.it
Johannes Anderwald [Sat, 13 Jan 2007 18:20:53 +0000 (18:20 +0000)]
- add italian translation by Paolo Devoti, devotip@tiscali.it
- fixes bug 1974, 1975, 1976

svn path=/trunk/; revision=25441

17 years agoadding GetData32Be, GetData32Le for getting 4bytes from big or lite endian
Magnus Olsen [Sat, 13 Jan 2007 17:27:14 +0000 (17:27 +0000)]
adding GetData32Be, GetData32Le for getting 4bytes from big or lite endian
start implment Ld for ppc.

svn path=/trunk/; revision=25440

17 years agoadding print out the type of asm file in the asm file
Magnus Olsen [Sat, 13 Jan 2007 14:34:50 +0000 (14:34 +0000)]
adding print out the type of asm file in the asm file

svn path=/trunk/; revision=25439

17 years agoadding option for disambler mode, disambler mode does not translate a binary file...
Magnus Olsen [Sat, 13 Jan 2007 12:23:25 +0000 (12:23 +0000)]
adding option for disambler mode, disambler mode does not translate a binary file. it doing a disambler of the file

svn path=/trunk/; revision=25438

17 years ago- make sysreg compilable under Linux
Johannes Anderwald [Sat, 13 Jan 2007 12:19:56 +0000 (12:19 +0000)]
- make sysreg compilable under Linux
- sysreg is now able to start the emulator but it cannot get any debug data yet. But this might be due that i tested sysreg in linux under vmware which then ran qemu....

svn path=/trunk/; revision=25437

17 years ago1. last move is done arm to From folder
Magnus Olsen [Sat, 13 Jan 2007 10:39:12 +0000 (10:39 +0000)]
1. last move is done arm to  From folder
2. remove some include in CpuToIntel.c file they are not longer need it.

svn path=/trunk/; revision=25436

17 years agoCreate a folder call From and start move in all cpu we will in futer translate from
Magnus Olsen [Sat, 13 Jan 2007 10:27:17 +0000 (10:27 +0000)]
Create a folder call From and start move in all cpu we will in futer translate from

svn path=/trunk/; revision=25435

17 years ago1. finish the peloader, left todo add decoder for each sectionheader, add the base...
Magnus Olsen [Sat, 13 Jan 2007 09:56:05 +0000 (09:56 +0000)]
1. finish the peloader, left todo add decoder for each sectionheader, add the base address when u call a brain, and some other minior fix
2. fix some comment that was wrong.

svn path=/trunk/; revision=25434

17 years agobackport the start of a pe loader,
Magnus Olsen [Fri, 12 Jan 2007 21:11:44 +0000 (21:11 +0000)]
backport the start of a pe loader,
backport allot of bug fix. like open file, reading file.
My working copy have allot of hacks and is a big mess. This stuff is cleanup from it.

svn path=/trunk/; revision=25433

17 years agoThai language support: keyboard layout
Dmitry Gorbachev [Thu, 11 Jan 2007 22:44:26 +0000 (22:44 +0000)]
Thai language support: keyboard layout

svn path=/trunk/; revision=25431

17 years agoadded target depmap to makefile
Christoph von Wittich [Thu, 11 Jan 2007 20:33:04 +0000 (20:33 +0000)]
added target depmap to makefile

svn path=/trunk/; revision=25430

17 years agoadded a dependencymap backend (it doesn't do anything yet)
Christoph von Wittich [Thu, 11 Jan 2007 20:32:20 +0000 (20:32 +0000)]
added a dependencymap backend (it doesn't do anything yet)

svn path=/trunk/; revision=25429

17 years ago- Fix a couple of typos, patch by GreyGhost.
Peter Ward [Thu, 11 Jan 2007 15:22:04 +0000 (15:22 +0000)]
- Fix a couple of typos, patch by GreyGhost.

svn path=/trunk/; revision=25426

17 years ago- Applied patch for "Invalid Sync after loading BLUE.SYS (bootCD-dbg)".
Peter Ward [Thu, 11 Jan 2007 14:47:50 +0000 (14:47 +0000)]
- Applied patch for "Invalid Sync after loading BLUE.SYS (bootCD-dbg)".
- See issue http://www.reactos.org/bugzilla/show_bug.cgi?id=1953
- Patch by Dmitry G. Gorbachev (hto at mail cnt dot ru).

svn path=/trunk/; revision=25425

17 years ago- Make IntSystemParametersInfo send a WM_SETTINGCHANGE message when needed.
Timo Kreuzer [Wed, 10 Jan 2007 23:55:53 +0000 (23:55 +0000)]
- Make IntSystemParametersInfo send a WM_SETTINGCHANGE message when needed.
- Some code cleanup

svn path=/trunk/; revision=25423

17 years agoDon't remove keyboard focus from any other window than the one that was disabled.
Timo Kreuzer [Wed, 10 Jan 2007 23:48:02 +0000 (23:48 +0000)]
Don't remove keyboard focus from any other window than the one that was disabled.

svn path=/trunk/; revision=25422

17 years agoFix warnings
Thomas Bluemel [Wed, 10 Jan 2007 22:52:07 +0000 (22:52 +0000)]
Fix warnings

svn path=/trunk/; revision=25421

17 years agoDon't rely on stdio.h to define EOF, as native stdio.h can conflict with ROS headers
Hervé Poussineau [Wed, 10 Jan 2007 20:02:41 +0000 (20:02 +0000)]
Don't rely on stdio.h to define EOF, as native stdio.h can conflict with ROS headers

svn path=/trunk/; revision=25419

17 years agoMove up wpp include, as it is needed by widl
Hervé Poussineau [Wed, 10 Jan 2007 19:57:52 +0000 (19:57 +0000)]
Move up wpp include, as it is needed by widl

svn path=/trunk/; revision=25418

17 years agoDisable some boot options on non-x86 platforms.
Hervé Poussineau [Wed, 10 Jan 2007 19:48:35 +0000 (19:48 +0000)]
Disable some boot options on non-x86 platforms.
You can enable them again for specific platforms if needed.

svn path=/trunk/; revision=25417

17 years agoAllow use of ROS_PREFIX on MS Windows platforms (needed for cross-compiling)
Hervé Poussineau [Wed, 10 Jan 2007 19:39:52 +0000 (19:39 +0000)]
Allow use of ROS_PREFIX on MS Windows platforms (needed for cross-compiling)

svn path=/trunk/; revision=25416

17 years agoMove x86 specific part to i386/ directory.
Hervé Poussineau [Wed, 10 Jan 2007 19:39:01 +0000 (19:39 +0000)]
Move x86 specific part to i386/ directory.
Fix a few warnings

svn path=/trunk/; revision=25415

17 years agosorry, forgot to remove that line
Timo Kreuzer [Wed, 10 Jan 2007 18:31:33 +0000 (18:31 +0000)]
sorry, forgot to remove that line

svn path=/trunk/; revision=25414

17 years ago- Fix build.
Alex Ionescu [Wed, 10 Jan 2007 06:09:57 +0000 (06:09 +0000)]
- Fix build.

svn path=/trunk/; revision=25413

17 years agoremove focus from window, when it gets diabled
Timo Kreuzer [Wed, 10 Jan 2007 04:51:27 +0000 (04:51 +0000)]
remove focus from window, when it gets diabled
- fixes bug 843
See issue #843 for more details.

svn path=/trunk/; revision=25412

17 years ago- Commit NTLPC and remove old implementation.
Alex Ionescu [Wed, 10 Jan 2007 04:27:40 +0000 (04:27 +0000)]
- Commit NTLPC and remove old implementation.
- Yeah, this adds another regression on top of the new Ob stuff, but in the end it's for the better, as it removes more race conditions and buggy code.
- This whole week I've fixed about 45 bugs and removed a dozen race conditions, sorry for the 2-3 regressions, they will be fixed ASAP.
- DELETE MAKEFILE.AUTO BEFORE BUILDING THIS BUILD.

svn path=/trunk/; revision=25411

17 years agoMake NtUserSetFocus accept NULL window.
Timo Kreuzer [Wed, 10 Jan 2007 04:23:33 +0000 (04:23 +0000)]
Make NtUserSetFocus accept NULL window.

svn path=/trunk/; revision=25410

17 years agoShould be 7 zeros not 6.
James Tabor [Wed, 10 Jan 2007 03:42:10 +0000 (03:42 +0000)]
Should be 7 zeros not 6.

svn path=/trunk/; revision=25409

17 years ago- Implement ObReferenceProcessHandleTable and ObDereferenceProcessHandleTable and...
Alex Ionescu [Wed, 10 Jan 2007 03:35:59 +0000 (03:35 +0000)]
- Implement ObReferenceProcessHandleTable and ObDereferenceProcessHandleTable and use them where appropriate to avoid race issues if the process is being killed meanwhile.
- Implement ObpReferenceProcessObjectByHandle and simplfy ObDuplicateObject.
- Disable hard errors while closing handles, and protect against races. Also print our error message since it seems handles aren't being closed now (message displays leak count).
- Honour DUPLICATE_CLOSE_SOURCE during failure paths in ObDuplicateObject, and catch race conditions.
- Add some more sanity checks and speed up some internal referencing.

svn path=/trunk/; revision=25408

17 years ago- Fix a bug in ExfWakePushLock.
Alex Ionescu [Wed, 10 Jan 2007 01:00:46 +0000 (01:00 +0000)]
- Fix a bug in ExfWakePushLock.
- Implement object directory locking to avoid race conditions in Ob and enable most of the query referencing code.

svn path=/trunk/; revision=25407

17 years ago- Add currency page controls.
Eric Kohl [Tue, 9 Jan 2007 23:00:21 +0000 (23:00 +0000)]
- Add currency page controls.
- Display currency format information.

svn path=/trunk/; revision=25406

17 years agoImplement new keyboard driver and layout structures to help Saveliy Tretiakovs LoadKe...
James Tabor [Tue, 9 Jan 2007 22:55:40 +0000 (22:55 +0000)]
Implement new keyboard driver and layout structures to help Saveliy Tretiakovs LoadKeyboardLayout implementation.

svn path=/trunk/; revision=25405

17 years ago Updated French translation by Pierre Schweitzer 2007 (heis_spiter AT hotmail DOT...
Johannes Anderwald [Tue, 9 Jan 2007 22:02:17 +0000 (22:02 +0000)]
 Updated French translation by Pierre Schweitzer 2007 (heis_spiter AT hotmail DOT com)
See issue #1969 for more details.

svn path=/trunk/; revision=25404

17 years ago- Heavy cleanup of locking and lookup macros in ob_x.h.
Alex Ionescu [Tue, 9 Jan 2007 21:48:26 +0000 (21:48 +0000)]
- Heavy cleanup of locking and lookup macros in ob_x.h.
- Add calls to ObpInitializeDirectoryLookup where required.
- Fixup calls to ObpAcquireDirectoryLockExclusive, but still keep them stubbed out for now.

svn path=/trunk/; revision=25403

17 years ago- czech translation by Kamil Hornicek, hornik1@fel.cvut.cz
Johannes Anderwald [Tue, 9 Jan 2007 21:21:52 +0000 (21:21 +0000)]
- czech translation by Kamil Hornicek, hornik1@fel.cvut.cz
See issue #1959 for more details.

svn path=/trunk/; revision=25402

17 years ago- i prefer tabs
Johannes Anderwald [Tue, 9 Jan 2007 20:41:14 +0000 (20:41 +0000)]
- i prefer tabs

svn path=/trunk/; revision=25401

17 years ago- Fix Port and Section Object Type creation by specifying a valid ValidAccessMask...
Alex Ionescu [Tue, 9 Jan 2007 17:18:22 +0000 (17:18 +0000)]
- Fix Port and Section Object Type creation by specifying a valid ValidAccessMask when creating the types.
- NTLPC "Branch": Ports need to maintain a Type List.
- Use proper access mode in parse callbacks.
- Properly validate the access mask given to ObpCreate(Unnamed)Handle and only grant valid bits according to ValidAccessMask.
- Use InterlockedExchangeAdd for reference count bias instead of looping on a single increment.
- Only return the object if the caller did any bias to it.
- Detach from the process much later, since exclusive process support and handle table database needs to be in the same context as the owner.
- Add audit calls to ObpCreateHandle.
- Add stubbed out calls to ObpCleanupDirectoryLookup in ObpCreateHandle.

svn path=/trunk/; revision=25400

17 years agodon't include the Iso targets in the workspace
Christoph von Wittich [Tue, 9 Jan 2007 12:28:30 +0000 (12:28 +0000)]
don't include the Iso targets in the workspace

svn path=/trunk/; revision=25399

17 years agominor changes, for be use later, adding some new data types
Magnus Olsen [Tue, 9 Jan 2007 10:53:19 +0000 (10:53 +0000)]
minor changes, for be use later, adding some new data types

svn path=/trunk/; revision=25398

17 years ago- Hold reference to the current directory and to the current parent directory during...
Alex Ionescu [Tue, 9 Jan 2007 09:37:36 +0000 (09:37 +0000)]
- Hold reference to the current directory and to the current parent directory during lookups.
- Add more stubbed out cleanup code.

svn path=/trunk/; revision=25397

17 years ago- Complete the hack that's already in SeAccessCheck to also return STATUS_SUCCESS...
Alex Ionescu [Tue, 9 Jan 2007 09:30:43 +0000 (09:30 +0000)]
- Complete the hack that's already in SeAccessCheck to also return STATUS_SUCCESS if we return TRUE always. Otherwise, code might weirdly fail.
- Save parent directory during lookups and check if the caller has the right to traverse it, if we ever need to.
- Optimize the configuration of the lookup context so that it's only done when necessary, add stub calls to lock the directory.

svn path=/trunk/; revision=25396

17 years ago- Add missing code to ObpLookupDirectoryEntry.
Alex Ionescu [Tue, 9 Jan 2007 09:07:36 +0000 (09:07 +0000)]
- Add missing code to ObpLookupDirectoryEntry.
- Add calls to ObpInitailizeDirectoryLookup.
- Add calls to ObpCleanupDirectoryLookup but disable them for now.
- Add calls to ObpAcquireDirectoryLock but disable them for now.

svn path=/trunk/; revision=25395

17 years ago- Enable sanity check in ObInsertObject to catch assholes that were calling it incorr...
Alex Ionescu [Tue, 9 Jan 2007 08:38:07 +0000 (08:38 +0000)]
- Enable sanity check in ObInsertObject to catch assholes that were calling it incorrectly (without a Handle output parameter, which is only allowed in a specific scenario). Changes:
   - Registry code which was calling ObInsertObject for no reason at all. Now an ugly hack has been added to Cm code to perform the only operation the insert did -> to free the create info.
   - SeSubProcessToken was broken and calling it incorrectly, fixed.
   - \Device\PhysicalMemory was being inserted incorrectly, fixed.
   - Boot-time driver objects were being inserted for no reason, call removed.
- Support the only case of ObInsertObject where it is OK to call it without an output handle. This codepath will only charge quota instead of creating the full-blown handle.

svn path=/trunk/; revision=25394

17 years ago- Merge some local changes from my version of ObpLookupObjectName:
Alex Ionescu [Tue, 9 Jan 2007 07:54:19 +0000 (07:54 +0000)]
- Merge some local changes from my version of ObpLookupObjectName:
   - Fixup the way we allocate object names: use paged pool instead of non-paged pool, detect insufficient memory case, detect failure to insert entry into the object directory, use name length, not maximum length when copying, use RtlCopy, not RtlMove.
   - Support forcing of case-insensitivity and OBJ_FORCE_ACCESS_CHECK.
   - Call ObCheckCreateObjectAccess and fail if access isn't granted.
   - Call ObpCheckTraverseAccess if traversing a directory fomr user-mode and fail lookup if access wasn't granted.
   - Fixup return of proper error code if we reparsed.
   - Add FIXME note for SeCreateGlobalPrivilege check which is missing.
   - Add callout IRQL checks around parse callouts.
   - Rename some variables for clearer meaning.
   - Add an extra reference when calling the parse routine in the reparse case.

svn path=/trunk/; revision=25393

17 years ago- Add internal macros for acquiring the object directory pushlock during lookup ...
Alex Ionescu [Tue, 9 Jan 2007 07:28:40 +0000 (07:28 +0000)]
- Add internal macros for acquiring the object directory pushlock during lookup (not yet used).
- Add internal macros for incrementing/decrementing query references, and use them where appropriate. Do not yet support the path for an object which is currently being defer deleted.
- Add internal macros for cleaning up a directory lookup (not yet used and needs renaming/cleanup), initializing a directory lookup (not yet used).
- Don't call security callback in ObpDeleteNameCheck. Make sure permanent flag is still cleared after acquiring type lock. Add special call for symboilc links. Add commented out calls to lock the object directory.

svn path=/trunk/; revision=25392

17 years agoimplement SPI_SETNONCLIENTMETRICS in SystemParametersInfoA
Timo Kreuzer [Tue, 9 Jan 2007 01:19:52 +0000 (01:19 +0000)]
implement SPI_SETNONCLIENTMETRICS in SystemParametersInfoA

svn path=/trunk/; revision=25391

17 years ago-don't create project files for the ISO targets
Christoph von Wittich [Tue, 9 Jan 2007 00:17:23 +0000 (00:17 +0000)]
-don't create project files for the ISO targets
-use the new extended_obj_names to prevent C::B from linking the wrong libs
-change project file version to 1.6
-compile spec, S, asm and idl files
-delete the temp rc files after building

svn path=/trunk/; revision=25390

17 years ago- Make ObpReleaseCapturedName an actual function and rename it to ObpFreeObjectNameBu...
Alex Ionescu [Mon, 8 Jan 2007 21:02:22 +0000 (21:02 +0000)]
- Make ObpReleaseCapturedName an actual function and rename it to ObpFreeObjectNameBuffer. Fix a bug in this function which was causing it to attempt freeing the UNICODE_STRING structure instead of the actual buffer.
- Implement ObpAllocateObjectNameBuffer instead of inlined code in ObpCaptureObjectAttributes. Enable usage of the Name Buffer Lookaside List since the bug in ObpFreeObjectNameBuffer has now been fixed. This should result in significant speedup and less fragmentation of pool memory.
- Allocate object names in the paged pool instead of non-paged pool, if we can't use the lookaside list.

svn path=/trunk/; revision=25389

17 years ago- Add hit-testing to the preview control (almost complete).
Eric Kohl [Mon, 8 Jan 2007 20:55:47 +0000 (20:55 +0000)]
- Add hit-testing to the preview control (almost complete).
- Add selected item combobox.
- Select item in the combobox upon clicking on an item in the preview window.

svn path=/trunk/; revision=25388

17 years ago- "No files where added or changed, there is nothing to see here" <= Yeah, thanks...
Alex Ionescu [Mon, 8 Jan 2007 20:52:45 +0000 (20:52 +0000)]
- "No files where added or changed, there is nothing to see here" <= Yeah, thanks a lot Tortoise.

svn path=/trunk/; revision=25387

17 years agoClean up tabs / spaces mix (no code change)
Timo Kreuzer [Mon, 8 Jan 2007 20:01:04 +0000 (20:01 +0000)]
Clean up tabs / spaces mix (no code change)

svn path=/trunk/; revision=25386

17 years ago- Implement ObpCreateSymbolicLinkName and enable call to the function. It shouldn...
Alex Ionescu [Mon, 8 Jan 2007 19:52:49 +0000 (19:52 +0000)]
- Implement ObpCreateSymbolicLinkName and enable call to the function. It shouldn't do any work currently because we don't have DOS Device Maps.
- Also stub ObpDeleteSymbolicLinkName since it'll probably be needed later.

svn path=/trunk/; revision=25385

17 years ago- Implement ObFindHandleForObject and add it to the NDK. However, it depends on ExEnu...
Alex Ionescu [Mon, 8 Jan 2007 19:40:10 +0000 (19:40 +0000)]
- Implement ObFindHandleForObject and add it to the NDK. However, it depends on ExEnumHandleTable which is still unimplemented.
- Fix up prototype of the function (it returns TRUE/FALSE, not NTSTATUS) and fix callers to use it properly.
- Also add ExEnumHandleTable to NDK.

svn path=/trunk/; revision=25384

17 years ago- Fix some NDK dependency problems.
Alex Ionescu [Mon, 8 Jan 2007 18:11:24 +0000 (18:11 +0000)]
- Fix some NDK dependency problems.

svn path=/trunk/; revision=25383

17 years ago- Fix kmtest's inclusion of the NDK.
Alex Ionescu [Mon, 8 Jan 2007 17:56:56 +0000 (17:56 +0000)]
- Fix kmtest's inclusion of the NDK.
- Implement support for the Handle Count Database.
- Don't do anything in IopCloseFile if this isn't the last handle for the process.
- Fix definition of OBJECT_HANDLE_COUNT_DATABASE.

svn path=/trunk/; revision=25382

17 years ago- Fix build. Sorry, forgot that the last commit also included changes to FsrtlAreName...
Alex Ionescu [Mon, 8 Jan 2007 17:49:44 +0000 (17:49 +0000)]
- Fix build. Sorry, forgot that the last commit also included changes to FsrtlAreNamesEqual to raise an exception if upcasing the strings failed.

svn path=/trunk/; revision=25381

17 years ago- Add authors' names.
Alex Ionescu [Mon, 8 Jan 2007 17:22:15 +0000 (17:22 +0000)]
- Add authors' names.

svn path=/trunk/; revision=25380

17 years ago- Delete /fs directory.
Alex Ionescu [Mon, 8 Jan 2007 16:51:06 +0000 (16:51 +0000)]
- Delete /fs directory.
- Add /fsrtl directory with new file structure and remove all the code except for some smaller "known-working" functions.
- Reason for this is that FsRtl now has a new owner (Dominique Coté) and he will be implementing and testing proper versions of the routines.

svn path=/trunk/; revision=25379

17 years ago- Fix some annoying warnings in wrc.
Peter Ward [Mon, 8 Jan 2007 08:48:28 +0000 (08:48 +0000)]
- Fix some annoying warnings in wrc.
- Fixed a warning in winebuild.

svn path=/trunk/; revision=25373

17 years ago- Fix ObReferenceObjectByName to do proper name validation checks.
Alex Ionescu [Mon, 8 Jan 2007 08:03:47 +0000 (08:03 +0000)]
- Fix ObReferenceObjectByName to do proper name validation checks.
- Fix ObReferenceObjectByName to call ObpCheckObjectReference before allowing the caller to obtain the reference.
- Rename ObFindObject to ObpLookupObjectName and shuffle parameters around and add some placeholder code that resets the object pointer of the lookup context.
- Modify ObpChargeQuotaForObject to also return if this is a new object.
- Modify ObpDecrementHandleCount to detect when objects with a handle database are being used. Also protect close callout with checks. Protect ObpCloseHAndleTableEntry's callouts with checks as well.
- Update logic of ObpIncrementHandleCount and ObpIncrementUnnamedHandleCount to handle currently exclusive objects as well as new handles with OBJ_EXCLUSIVE. Also detect objects that require handle databases and protect callouts.
- Support CreatorInfo and the TypeList in ObpIncrementHandleCount. Also update the TotalNumberOfHandles in the object type properly.
- Fixup object type lock usage in these routines.
- Do proper invalid attributes check in ObOpenObjectByName, and also use a buffer from the pool instead of the stack.
- Make ObInsertObject detect invalid object insertions and change some parameter names and checks.
- Add stub code to validate the access mask in ObInsertObject. Proper initailize some lookup variables before starting lookup.
- Add detection for symbolic link inserts which require some handling code later on.
- Free the create information at the right moment isntead of too late.
- Add some missing Ob functions, flags and types to the NDK. Fix OBJECT_DIRECTORY structure to use EX_PUSH_LOCK for locks, not ERESOURCE.

svn path=/trunk/; revision=25372

17 years ago- Changes to lookup context set-up as place-holder and compatibility for future patch...
Alex Ionescu [Mon, 8 Jan 2007 07:54:57 +0000 (07:54 +0000)]
- Changes to lookup context set-up as place-holder and compatibility for future patch. Only configure the lookup context once, outside the initial loop, instead of configuring it with the same settings at each iteration.

svn path=/trunk/; revision=25371

17 years ago- Validate lookup context in ObpInsertEntryDirectory.
Alex Ionescu [Mon, 8 Jan 2007 07:53:50 +0000 (07:53 +0000)]
- Validate lookup context in ObpInsertEntryDirectory.
- Read actual ObpLUIDDeviceMapsEnable variable do determine if shadow-searching is enabled in ObpLookupEntryDirectory.
- Currently disable all directory locking code (it was never used anyways) in ObpLookupEntryDirectory.
- Update ObpLookupEntryDirectory with placeholder code/branches for future patch implementing directory locks.

svn path=/trunk/; revision=25370

17 years ago- Set an invalid pointer as the object header's type when freeing it, to detect inval...
Alex Ionescu [Mon, 8 Jan 2007 07:51:07 +0000 (07:51 +0000)]
- Set an invalid pointer as the object header's type when freeing it, to detect invalid usage.
- Optimize type mutex acquisition in ObpDeleteObject. Also optimize freeing of the unicode_String containing the name. Also add callout checks/protection during the security and delete procedure callouts.
- Acquire object type mutex during modification of the OB_FLAG_PERMANENT flag in ObpSetPermanentObject.
- Initialize default QueryReferences field to 1 during object allocation.
- Support undocumented 0x10000 object attribute flag used in Windows 2003 SP1 and higher to protect objects from user-mode access (such as PhysicalMemory).
- Use InterlockedIncrements for ObjectType accounting outside the type lock.
- Clear the lookup context's object pointer for future use.

svn path=/trunk/; revision=25369

17 years ago- Implement ObCheckCreateObjectAccess, ObpCheckTraverseAccess, ObpCheckObjectReferenc...
Alex Ionescu [Mon, 8 Jan 2007 07:46:17 +0000 (07:46 +0000)]
- Implement ObCheckCreateObjectAccess, ObpCheckTraverseAccess, ObpCheckObjectReference. These APIs are not used yet but are all very similar to ObCheckObjectAccess. There are used at different places by Ob to make sure that the current token and access rights permits some privileged operations such as directory traversal, object referencing and object creation.

svn path=/trunk/; revision=25368

17 years ago- Add ObDereferenceObjectDeferDelete to NDK.
Alex Ionescu [Mon, 8 Jan 2007 07:44:22 +0000 (07:44 +0000)]
- Add ObDereferenceObjectDeferDelete to NDK.

svn path=/trunk/; revision=25367

17 years ago- Fix a bug in ExReleasePushLock which broken contention checking.
Alex Ionescu [Mon, 8 Jan 2007 07:43:49 +0000 (07:43 +0000)]
- Fix a bug in ExReleasePushLock which broken contention checking.

svn path=/trunk/; revision=25366

17 years ago- Fix ntdll and usetup not to use OBJ_OPENLINK on symbolic links. This attribute...
Alex Ionescu [Mon, 8 Jan 2007 07:43:18 +0000 (07:43 +0000)]
- Fix ntdll and usetup not to use OBJ_OPENLINK on symbolic links. This attribute is for registry keys, not symlinks.

svn path=/trunk/; revision=25365

17 years ago- Fix _PsProcessType for MSVC compilation.
Alex Ionescu [Mon, 8 Jan 2007 07:42:38 +0000 (07:42 +0000)]
- Fix _PsProcessType for MSVC compilation.

svn path=/trunk/; revision=25364

17 years agofixed most of the memory leaks
Christoph von Wittich [Mon, 8 Jan 2007 02:40:38 +0000 (02:40 +0000)]
fixed most of the memory leaks

svn path=/trunk/; revision=25363

17 years agoadded defines for GetClassLongPtrA/W
Christoph von Wittich [Mon, 8 Jan 2007 02:29:32 +0000 (02:29 +0000)]
added defines for GetClassLongPtrA/W

svn path=/trunk/; revision=25362

17 years ago- implement SPI_GETMINIMIZEDMETRICS and SPI_SETMINIMIZEDMETRICS in IntSystemParameter...
Timo Kreuzer [Mon, 8 Jan 2007 02:18:58 +0000 (02:18 +0000)]
- implement SPI_GETMINIMIZEDMETRICS and SPI_SETMINIMIZEDMETRICS in IntSystemParametersInfo and UserSystemParametersInfo
- add both to SystemParametersInfoA
See issue #1668 for more details.

svn path=/trunk/; revision=25361

17 years agoimplement SPI_SETNONCLIENTMETRICS in IntSystemParametersInfo and UserSystemParametersInfo
Timo Kreuzer [Mon, 8 Jan 2007 00:23:15 +0000 (00:23 +0000)]
implement SPI_SETNONCLIENTMETRICS in IntSystemParametersInfo and UserSystemParametersInfo

svn path=/trunk/; revision=25360

17 years agoFix compilation
Hervé Poussineau [Sun, 7 Jan 2007 23:55:50 +0000 (23:55 +0000)]
Fix compilation

svn path=/trunk/; revision=25359

17 years agoAdd German resource for wordpad.
Timo Kreuzer [Sun, 7 Jan 2007 23:13:41 +0000 (23:13 +0000)]
Add German resource for wordpad.

svn path=/trunk/; revision=25358

17 years ago- Confused left and right, please fix in the translations.
Maarten Bosma [Sun, 7 Jan 2007 22:06:25 +0000 (22:06 +0000)]
- Confused left and right, please fix in the translations.
- Misspelled Environment

svn path=/trunk/; revision=25356

17 years agoAdd french tranlation by Heis Spiter
Hervé Poussineau [Sun, 7 Jan 2007 22:00:01 +0000 (22:00 +0000)]
Add french tranlation by Heis Spiter
See issue #1913 for more details.

svn path=/trunk/; revision=25355

17 years agoFix svn properties
Hervé Poussineau [Sun, 7 Jan 2007 21:59:10 +0000 (21:59 +0000)]
Fix svn properties
Use SUBLANG_ENGLISH_US in LANG_ENGLISH resource file

svn path=/trunk/; revision=25354

17 years agoUpdated french translation (by Heis Spiter)
Hervé Poussineau [Sun, 7 Jan 2007 21:43:24 +0000 (21:43 +0000)]
Updated french translation (by Heis Spiter)
See issue #1916 for more details.

svn path=/trunk/; revision=25353

17 years agoMy first commit!
Timo Kreuzer [Sun, 7 Jan 2007 21:18:34 +0000 (21:18 +0000)]
My first commit!
NtGdiExtTextOut:
- Unlock dc if failed
- Copy string from usermode using MmCopyFromCaller

svn path=/trunk/; revision=25352

17 years agoCleanup of libxml2 library - removing all stuff which is not needed for building...
Aleksey Bragin [Sun, 7 Jan 2007 19:46:10 +0000 (19:46 +0000)]
Cleanup of libxml2 library - removing all stuff which is not needed for building the library.

Whole version of this version of libxml2 is stored in vendor/libxml2/current, and future updates will be done only via proper vendor imports.

svn path=/trunk/; revision=25351

17 years agoCleanup of zlib library - removing all stuff which is not needed for building the...
Aleksey Bragin [Sun, 7 Jan 2007 19:10:09 +0000 (19:10 +0000)]
Cleanup of zlib library - removing all stuff which is not needed for building the library (~280 files/160 folders -> 40 files/no folders).

Whole version of this version of zlib is stored in vendor/zlib/current, and future updates will be done only via proper vendor imports.

svn path=/trunk/; revision=25348

17 years agoupdate from zlib 1.1.4 to 1.2.3
Magnus Olsen [Sun, 7 Jan 2007 15:56:49 +0000 (15:56 +0000)]
update from zlib 1.1.4 to 1.2.3

                ChangeLog file for zlib
Changes in 1.2.3 (18 July 2005)
- Apply security vulnerability fixes to contrib/infback9 as well
- Clean up some text files (carriage returns, trailing space)
- Update testzlib, vstudio, masmx64, and masmx86 in contrib [Vollant]

Changes in 1.2.2.4 (11 July 2005)
- Add inflatePrime() function for starting inflation at bit boundary
- Avoid some Visual C warnings in deflate.c
- Avoid more silly Visual C warnings in inflate.c and inftrees.c for 64-bit
  compile
- Fix some spelling errors in comments [Betts]
- Correct inflateInit2() error return documentation in zlib.h
- Added zran.c example of compressed data random access to examples
  directory, shows use of inflatePrime()
- Fix cast for assignments to strm->state in inflate.c and infback.c
- Fix zlibCompileFlags() in zutil.c to use 1L for long shifts [Oberhumer]
- Move declarations of gf2 functions to right place in crc32.c [Oberhumer]
- Add cast in trees.c t avoid a warning [Oberhumer]
- Avoid some warnings in fitblk.c, gun.c, gzjoin.c in examples [Oberhumer]
- Update make_vms.com [Zinser]
- Initialize state->write in inflateReset() since copied in inflate_fast()
- Be more strict on incomplete code sets in inflate_table() and increase
  ENOUGH and MAXD -- this repairs a possible security vulnerability for
  invalid inflate input.  Thanks to Tavis Ormandy and Markus Oberhumer for
  discovering the vulnerability and providing test cases.
- Add ia64 support to configure for HP-UX [Smith]
- Add error return to gzread() for format or i/o error [Levin]
- Use malloc.h for OS/2 [Necasek]

Changes in 1.2.2.3 (27 May 2005)
- Replace 1U constants in inflate.c and inftrees.c for 64-bit compile
- Typecast fread() return values in gzio.c [Vollant]
- Remove trailing space in minigzip.c outmode (VC++ can't deal with it)
- Fix crc check bug in gzread() after gzungetc() [Heiner]
- Add the deflateTune() function to adjust internal compression parameters
- Add a fast gzip decompressor, gun.c, to examples (use of inflateBack)
- Remove an incorrect assertion in examples/zpipe.c
- Add C++ wrapper in infback9.h [Donais]
- Fix bug in inflateCopy() when decoding fixed codes
- Note in zlib.h how much deflateSetDictionary() actually uses
- Remove USE_DICT_HEAD in deflate.c (would mess up inflate if used)
- Add _WIN32_WCE to define WIN32 in zconf.in.h [Spencer]
- Don't include stderr.h or errno.h for _WIN32_WCE in zutil.h [Spencer]
- Add gzdirect() function to indicate transparent reads
- Update contrib/minizip [Vollant]
- Fix compilation of deflate.c when both ASMV and FASTEST [Oberhumer]
- Add casts in crc32.c to avoid warnings [Oberhumer]
- Add contrib/masmx64 [Vollant]
- Update contrib/asm586, asm686, masmx86, testzlib, vstudio [Vollant]

Changes in 1.2.2.2 (30 December 2004)
- Replace structure assignments in deflate.c and inflate.c with zmemcpy to
  avoid implicit memcpy calls (portability for no-library compilation)
- Increase sprintf() buffer size in gzdopen() to allow for large numbers
- Add INFLATE_STRICT to check distances against zlib header
- Improve WinCE errno handling and comments [Chang]
- Remove comment about no gzip header processing in FAQ
- Add Z_FIXED strategy option to deflateInit2() to force fixed trees
- Add updated make_vms.com [Coghlan], update README
- Create a new "examples" directory, move gzappend.c there, add zpipe.c,
  fitblk.c, gzlog.[ch], gzjoin.c, and zlib_how.html.
- Add FAQ entry and comments in deflate.c on uninitialized memory access
- Add Solaris 9 make options in configure [Gilbert]
- Allow strerror() usage in gzio.c for STDC
- Fix DecompressBuf in contrib/delphi/ZLib.pas [ManChesTer]
- Update contrib/masmx86/inffas32.asm and gvmat32.asm [Vollant]
- Use z_off_t for adler32_combine() and crc32_combine() lengths
- Make adler32() much faster for small len
- Use OS_CODE in deflate() default gzip header

Changes in 1.2.2.1 (31 October 2004)
- Allow inflateSetDictionary() call for raw inflate
- Fix inflate header crc check bug for file names and comments
- Add deflateSetHeader() and gz_header structure for custom gzip headers
- Add inflateGetheader() to retrieve gzip headers
- Add crc32_combine() and adler32_combine() functions
- Add alloc_func, free_func, in_func, out_func to Z_PREFIX list
- Use zstreamp consistently in zlib.h (inflate_back functions)
- Remove GUNZIP condition from definition of inflate_mode in inflate.h
  and in contrib/inflate86/inffast.S [Truta, Anderson]
- Add support for AMD64 in contrib/inflate86/inffas86.c [Anderson]
- Update projects/README.projects and projects/visualc6 [Truta]
- Update win32/DLL_FAQ.txt [Truta]
- Avoid warning under NO_GZCOMPRESS in gzio.c; fix typo [Truta]
- Deprecate Z_ASCII; use Z_TEXT instead [Truta]
- Use a new algorithm for setting strm->data_type in trees.c [Truta]
- Do not define an exit() prototype in zutil.c unless DEBUG defined
- Remove prototype of exit() from zutil.c, example.c, minigzip.c [Truta]
- Add comment in zlib.h for Z_NO_FLUSH parameter to deflate()
- Fix Darwin build version identification [Peterson]

Changes in 1.2.2 (3 October 2004)
- Update zlib.h comments on gzip in-memory processing
- Set adler to 1 in inflateReset() to support Java test suite [Walles]
- Add contrib/dotzlib [Ravn]
- Update win32/DLL_FAQ.txt [Truta]
- Update contrib/minizip [Vollant]
- Move contrib/visual-basic.txt to old/ [Truta]
- Fix assembler builds in projects/visualc6/ [Truta]

Changes in 1.2.1.2 (9 September 2004)
- Update INDEX file
- Fix trees.c to update strm->data_type (no one ever noticed!)
- Fix bug in error case in inflate.c, infback.c, and infback9.c [Brown]
- Add "volatile" to crc table flag declaration (for DYNAMIC_CRC_TABLE)
- Add limited multitasking protection to DYNAMIC_CRC_TABLE
- Add NO_vsnprintf for VMS in zutil.h [Mozilla]
- Don't declare strerror() under VMS [Mozilla]
- Add comment to DYNAMIC_CRC_TABLE to use get_crc_table() to initialize
- Update contrib/ada [Anisimkov]
- Update contrib/minizip [Vollant]
- Fix configure to not hardcode directories for Darwin [Peterson]
- Fix gzio.c to not return error on empty files [Brown]
- Fix indentation; update version in contrib/delphi/ZLib.pas and
  contrib/pascal/zlibpas.pas [Truta]
- Update mkasm.bat in contrib/masmx86 [Truta]
- Update contrib/untgz [Truta]
- Add projects/README.projects [Truta]
- Add project for MS Visual C++ 6.0 in projects/visualc6 [Cadieux, Truta]
- Update win32/DLL_FAQ.txt [Truta]
- Update list of Z_PREFIX symbols in zconf.h [Randers-Pehrson, Truta]
- Remove an unnecessary assignment to curr in inftrees.c [Truta]
- Add OS/2 to exe builds in configure [Poltorak]
- Remove err dummy parameter in zlib.h [Kientzle]

Changes in 1.2.1.1 (9 January 2004)
- Update email address in README
- Several FAQ updates
- Fix a big fat bug in inftrees.c that prevented decoding valid
  dynamic blocks with only literals and no distance codes --
  Thanks to "Hot Emu" for the bug report and sample file
- Add a note to puff.c on no distance codes case.

Changes in 1.2.1 (17 November 2003)
- Remove a tab in contrib/gzappend/gzappend.c
- Update some interfaces in contrib for new zlib functions
- Update zlib version number in some contrib entries
- Add Windows CE definition for ptrdiff_t in zutil.h [Mai, Truta]
- Support shared libraries on Hurd and KFreeBSD [Brown]
- Fix error in NO_DIVIDE option of adler32.c

Changes in 1.2.0.8 (4 November 2003)
- Update version in contrib/delphi/ZLib.pas and contrib/pascal/zlibpas.pas
- Add experimental NO_DIVIDE #define in adler32.c
    - Possibly faster on some processors (let me know if it is)
- Correct Z_BLOCK to not return on first inflate call if no wrap
- Fix strm->data_type on inflate() return to correctly indicate EOB
- Add deflatePrime() function for appending in the middle of a byte
- Add contrib/gzappend for an example of appending to a stream
- Update win32/DLL_FAQ.txt [Truta]
- Delete Turbo C comment in README [Truta]
- Improve some indentation in zconf.h [Truta]
- Fix infinite loop on bad input in configure script [Church]
- Fix gzeof() for concatenated gzip files [Johnson]
- Add example to contrib/visual-basic.txt [Michael B.]
- Add -p to mkdir's in Makefile.in [vda]
- Fix configure to properly detect presence or lack of printf functions
- Add AS400 support [Monnerat]
- Add a little Cygwin support [Wilson]

Changes in 1.2.0.7 (21 September 2003)
- Correct some debug formats in contrib/infback9
- Cast a type in a debug statement in trees.c
- Change search and replace delimiter in configure from % to # [Beebe]
- Update contrib/untgz to 0.2 with various fixes [Truta]
- Add build support for Amiga [Nikl]
- Remove some directories in old that have been updated to 1.2
- Add dylib building for Mac OS X in configure and Makefile.in
- Remove old distribution stuff from Makefile
- Update README to point to DLL_FAQ.txt, and add comment on Mac OS X
- Update links in README

Changes in 1.2.0.6 (13 September 2003)
- Minor FAQ updates
- Update contrib/minizip to 1.00 [Vollant]
- Remove test of gz functions in example.c when GZ_COMPRESS defined [Truta]
- Update POSTINC comment for 68060 [Nikl]
- Add contrib/infback9 with deflate64 decoding (unsupported)
- For MVS define NO_vsnprintf and undefine FAR [van Burik]
- Add pragma for fdopen on MVS [van Burik]

Changes in 1.2.0.5 (8 September 2003)
- Add OF to inflateBackEnd() declaration in zlib.h
- Remember start when using gzdopen in the middle of a file
- Use internal off_t counters in gz* functions to properly handle seeks
- Perform more rigorous check for distance-too-far in inffast.c
- Add Z_BLOCK flush option to return from inflate at block boundary
- Set strm->data_type on return from inflate
    - Indicate bits unused, if at block boundary, and if in last block
- Replace size_t with ptrdiff_t in crc32.c, and check for correct size
- Add condition so old NO_DEFLATE define still works for compatibility
- FAQ update regarding the Windows DLL [Truta]
- INDEX update: add qnx entry, remove aix entry [Truta]
- Install zlib.3 into mandir [Wilson]
- Move contrib/zlib_dll_FAQ.txt to win32/DLL_FAQ.txt; update [Truta]
- Adapt the zlib interface to the new DLL convention guidelines [Truta]
- Introduce ZLIB_WINAPI macro to allow the export of functions using
  the WINAPI calling convention, for Visual Basic [Vollant, Truta]
- Update msdos and win32 scripts and makefiles [Truta]
- Export symbols by name, not by ordinal, in win32/zlib.def [Truta]
- Add contrib/ada [Anisimkov]
- Move asm files from contrib/vstudio/vc70_32 to contrib/asm386 [Truta]
- Rename contrib/asm386 to contrib/masmx86 [Truta, Vollant]
- Add contrib/masm686 [Truta]
- Fix offsets in contrib/inflate86 and contrib/masmx86/inffas32.asm
  [Truta, Vollant]
- Update contrib/delphi; rename to contrib/pascal; add example [Truta]
- Remove contrib/delphi2; add a new contrib/delphi [Truta]
- Avoid inclusion of the nonstandard <memory.h> in contrib/iostream,
  and fix some method prototypes [Truta]
- Fix the ZCR_SEED2 constant to avoid warnings in contrib/minizip
  [Truta]
- Avoid the use of backslash (\) in contrib/minizip [Vollant]
- Fix file time handling in contrib/untgz; update makefiles [Truta]
- Update contrib/vstudio/vc70_32 to comply with the new DLL guidelines
  [Vollant]
- Remove contrib/vstudio/vc15_16 [Vollant]
- Rename contrib/vstudio/vc70_32 to contrib/vstudio/vc7 [Truta]
- Update README.contrib [Truta]
- Invert the assignment order of match_head and s->prev[...] in
  INSERT_STRING [Truta]
- Compare TOO_FAR with 32767 instead of 32768, to avoid 16-bit warnings
  [Truta]
- Compare function pointers with 0, not with NULL or Z_NULL [Truta]
- Fix prototype of syncsearch in inflate.c [Truta]
- Introduce ASMINF macro to be enabled when using an ASM implementation
  of inflate_fast [Truta]
- Change NO_DEFLATE to NO_GZCOMPRESS [Truta]
- Modify test_gzio in example.c to take a single file name as a
  parameter [Truta]
- Exit the example.c program if gzopen fails [Truta]
- Add type casts around strlen in example.c [Truta]
- Remove casting to sizeof in minigzip.c; give a proper type
  to the variable compared with SUFFIX_LEN [Truta]
- Update definitions of STDC and STDC99 in zconf.h [Truta]
- Synchronize zconf.h with the new Windows DLL interface [Truta]
- Use SYS16BIT instead of __32BIT__ to distinguish between
  16- and 32-bit platforms [Truta]
- Use far memory allocators in small 16-bit memory models for
  Turbo C [Truta]
- Add info about the use of ASMV, ASMINF and ZLIB_WINAPI in
  zlibCompileFlags [Truta]
- Cygwin has vsnprintf [Wilson]
- In Windows16, OS_CODE is 0, as in MSDOS [Truta]
- In Cygwin, OS_CODE is 3 (Unix), not 11 (Windows32) [Wilson]

Changes in 1.2.0.4 (10 August 2003)
- Minor FAQ updates
- Be more strict when checking inflateInit2's windowBits parameter
- Change NO_GUNZIP compile option to NO_GZIP to cover deflate as well
- Add gzip wrapper option to deflateInit2 using windowBits
- Add updated QNX rule in configure and qnx directory [Bonnefoy]
- Make inflate distance-too-far checks more rigorous
- Clean up FAR usage in inflate
- Add casting to sizeof() in gzio.c and minigzip.c

Changes in 1.2.0.3 (19 July 2003)
- Fix silly error in gzungetc() implementation [Vollant]
- Update contrib/minizip and contrib/vstudio [Vollant]
- Fix printf format in example.c
- Correct cdecl support in zconf.in.h [Anisimkov]
- Minor FAQ updates

Changes in 1.2.0.2 (13 July 2003)
- Add ZLIB_VERNUM in zlib.h for numerical preprocessor comparisons
- Attempt to avoid warnings in crc32.c for pointer-int conversion
- Add AIX to configure, remove aix directory [Bakker]
- Add some casts to minigzip.c
- Improve checking after insecure sprintf() or vsprintf() calls
- Remove #elif's from crc32.c
- Change leave label to inf_leave in inflate.c and infback.c to avoid
  library conflicts
- Remove inflate gzip decoding by default--only enable gzip decoding by
  special request for stricter backward compatibility
- Add zlibCompileFlags() function to return compilation information
- More typecasting in deflate.c to avoid warnings
- Remove leading underscore from _Capital #defines [Truta]
- Fix configure to link shared library when testing
- Add some Windows CE target adjustments [Mai]
- Remove #define ZLIB_DLL in zconf.h [Vollant]
- Add zlib.3 [Rodgers]
- Update RFC URL in deflate.c and algorithm.txt [Mai]
- Add zlib_dll_FAQ.txt to contrib [Truta]
- Add UL to some constants [Truta]
- Update minizip and vstudio [Vollant]
- Remove vestigial NEED_DUMMY_RETURN from zconf.in.h
- Expand use of NO_DUMMY_DECL to avoid all dummy structures
- Added iostream3 to contrib [Schwardt]
- Replace rewind() with fseek() for WinCE [Truta]
- Improve setting of zlib format compression level flags
    - Report 0 for huffman and rle strategies and for level == 0 or 1
    - Report 2 only for level == 6
- Only deal with 64K limit when necessary at compile time [Truta]
- Allow TOO_FAR check to be turned off at compile time [Truta]
- Add gzclearerr() function [Souza]
- Add gzungetc() function

Changes in 1.2.0.1 (17 March 2003)
- Add Z_RLE strategy for run-length encoding [Truta]
    - When Z_RLE requested, restrict matches to distance one
    - Update zlib.h, minigzip.c, gzopen(), gzdopen() for Z_RLE
- Correct FASTEST compilation to allow level == 0
- Clean up what gets compiled for FASTEST
- Incorporate changes to zconf.in.h [Vollant]
    - Refine detection of Turbo C need for dummy returns
    - Refine ZLIB_DLL compilation
    - Include additional header file on VMS for off_t typedef
- Try to use _vsnprintf where it supplants vsprintf [Vollant]
- Add some casts in inffast.c
- Enchance comments in zlib.h on what happens if gzprintf() tries to
  write more than 4095 bytes before compression
- Remove unused state from inflateBackEnd()
- Remove exit(0) from minigzip.c, example.c
- Get rid of all those darn tabs
- Add "check" target to Makefile.in that does the same thing as "test"
- Add "mostlyclean" and "maintainer-clean" targets to Makefile.in
- Update contrib/inflate86 [Anderson]
- Update contrib/testzlib, contrib/vstudio, contrib/minizip [Vollant]
- Add msdos and win32 directories with makefiles [Truta]
- More additions and improvements to the FAQ

Changes in 1.2.0 (9 March 2003)
- New and improved inflate code
    - About 20% faster
    - Does not allocate 32K window unless and until needed
    - Automatically detects and decompresses gzip streams
    - Raw inflate no longer needs an extra dummy byte at end
    - Added inflateBack functions using a callback interface--even faster
      than inflate, useful for file utilities (gzip, zip)
    - Added inflateCopy() function to record state for random access on
      externally generated deflate streams (e.g. in gzip files)
    - More readable code (I hope)
- New and improved crc32()
    - About 50% faster, thanks to suggestions from Rodney Brown
- Add deflateBound() and compressBound() functions
- Fix memory leak in deflateInit2()
- Permit setting dictionary for raw deflate (for parallel deflate)
- Fix const declaration for gzwrite()
- Check for some malloc() failures in gzio.c
- Fix bug in gzopen() on single-byte file 0x1f
- Fix bug in gzread() on concatenated file with 0x1f at end of buffer
  and next buffer doesn't start with 0x8b
- Fix uncompress() to return Z_DATA_ERROR on truncated input
- Free memory at end of example.c
- Remove MAX #define in trees.c (conflicted with some libraries)
- Fix static const's in deflate.c, gzio.c, and zutil.[ch]
- Declare malloc() and free() in gzio.c if STDC not defined
- Use malloc() instead of calloc() in zutil.c if int big enough
- Define STDC for AIX
- Add aix/ with approach for compiling shared library on AIX
- Add HP-UX support for shared libraries in configure
- Add OpenUNIX support for shared libraries in configure
- Use $cc instead of gcc to build shared library
- Make prefix directory if needed when installing
- Correct Macintosh avoidance of typedef Byte in zconf.h
- Correct Turbo C memory allocation when under Linux
- Use libz.a instead of -lz in Makefile (assure use of compiled library)
- Update configure to check for snprintf or vsnprintf functions and their
  return value, warn during make if using an insecure function
- Fix configure problem with compile-time knowledge of HAVE_UNISTD_H that
  is lost when library is used--resolution is to build new zconf.h
- Documentation improvements (in zlib.h):
    - Document raw deflate and inflate
    - Update RFCs URL
    - Point out that zlib and gzip formats are different
    - Note that Z_BUF_ERROR is not fatal
    - Document string limit for gzprintf() and possible buffer overflow
    - Note requirement on avail_out when flushing
    - Note permitted values of flush parameter of inflate()
- Add some FAQs (and even answers) to the FAQ
- Add contrib/inflate86/ for x86 faster inflate
- Add contrib/blast/ for PKWare Data Compression Library decompression
- Add contrib/puff/ simple inflate for deflate format description

svn path=/trunk/; revision=25342

17 years agoprepare for sync of zlib
Magnus Olsen [Sun, 7 Jan 2007 15:11:57 +0000 (15:11 +0000)]
prepare for sync of zlib
add malloc to usetup. it only will be use by zlib 1.2.3 when the sync is finish

svn path=/trunk/; revision=25339