Commit graph

37366 commits

Author SHA1 Message Date
Timo Kreuzer
43005003c0 Implement PALETTE_ulGetNearestPaletteIndex and PALETTE_ulGetRGBColorFromIndex, replacing COLOR_LookupNearestColor and COLOR_PaletteLookupPixel
Implement PALETTE_vGetBitMasks

svn path=/trunk/; revision=41771
2009-07-04 13:56:33 +00:00
Christoph von Wittich
b6a256d5f2 sync localui with wine 1.1.25
svn path=/trunk/; revision=41770
2009-07-04 11:52:35 +00:00
Christoph von Wittich
2a8f77e56f sync jscript with wine 1.1.25
svn path=/trunk/; revision=41769
2009-07-04 11:49:53 +00:00
Christoph von Wittich
1e74322bd6 sync cryptui with wine 1.1.25
svn path=/trunk/; revision=41768
2009-07-04 11:47:38 +00:00
Timo Kreuzer
954c70f444 Remove useless function
svn path=/trunk/; revision=41767
2009-07-04 11:45:42 +00:00
Christoph von Wittich
bf334e3e90 sync cryptdlg with wine 1.1.25
svn path=/trunk/; revision=41766
2009-07-04 11:44:39 +00:00
Christoph von Wittich
aec2100352 sync crypt32 with wine 1.1.25
svn path=/trunk/; revision=41765
2009-07-04 11:41:32 +00:00
Dmitry Chapyshev
ed3075871f - GetProcessHeap -> RtlGetProcessHeap
- Add checks at heap allocation
- Add some debug prints

svn path=/trunk/; revision=41764
2009-07-04 08:48:18 +00:00
Cameron Gutman
1511c65eb3 - Don't use a global interface_info struct
- This should allow for multiple NIC support but it's currently broken because GetIfTable returns invalid information for NICs after the first one which prevents DHCP initialization for those adapters

svn path=/trunk/; revision=41763
2009-07-04 03:36:19 +00:00
Timo Kreuzer
4e4637dbb8 Merge eng/palette.c, objects/palobj.c and objects/color.c into objects/palette.c, dropping some useless bitrotting code. The rest of the code needs some love and cleanup.
Btw, Arch, how's the weather?

svn path=/trunk/; revision=41762
2009-07-04 00:18:32 +00:00
Cameron Gutman
37671f6a9e - Fix a typo
svn path=/trunk/; revision=41761
2009-07-04 00:04:05 +00:00
Timo Kreuzer
2120170004 [FORMATTING]
palette.c: remove extended header, fix indentation, no code change

svn path=/trunk/; revision=41760
2009-07-03 23:06:04 +00:00
Timo Kreuzer
5fcc972751 [FORMATTING]
palobj.c: Fix indentation, no code change.

svn path=/trunk/; revision=41759
2009-07-03 22:47:33 +00:00
Sylvain Petreolle
5110e854a6 - Disable debugging flood
svn path=/trunk/; revision=41758
2009-07-03 22:41:56 +00:00
Dmitry Chapyshev
5dbd7278db - .def -> .spec
- Add stubs for AsrAddSifEntryW, AsrCreateStateFileW, AsrFreeContext, AsrRestorePlugPlayRegistryData

svn path=/trunk/; revision=41756
2009-07-03 11:21:42 +00:00
Dmitry Chapyshev
b060be6762 - Fixes return values for PeekMessageA/W
svn path=/trunk/; revision=41755
2009-07-03 09:53:34 +00:00
Dmitry Chapyshev
09f8aa06a9 - Use PWINDOW_OBJECT instead HWND in PostTimerMessages, IntGetPaintMessage, co_MsqTranslateMouseMessage, co_MsqPeekHardwareMessage, co_MsqFindMessage, co_MsqWaitForNewMessages, MsqGetTimerMessage, MsqGetFirstTimerExpiry, co_IntPeekMessage
- Allow hWnd equal -1, 0x0000ffff, 0xffffffff
- Fixes 3 winetests for PeekMessageA/W

svn path=/trunk/; revision=41754
2009-07-03 09:37:44 +00:00
James Tabor
86fe4eade9 - More Window Threads issues. Need to finish the window object rewrite!
svn path=/trunk/; revision=41753
2009-07-03 08:03:56 +00:00
Cameron Gutman
5e7a8d3a1a - TCPIP lock rewrite (part 3 of 3)
- Use a spin lock to protect the signalled connections list
 - Add a debug ASSERT into each function that depends on the TCPLock being held
 - Release TCPLock before completing the IRP
 - Add some locking where it was forgotten
 - Optimize HandleSignalledConnection

svn path=/trunk/; revision=41752
2009-07-03 06:28:59 +00:00
Cameron Gutman
4c8e421fe9 - TCPIP locking rewrite (part 2 of x)
- Add locking in places that need it
 - Eliminate double acquisition of TCPLock for the same request
 - Next step: Verify that all places that need locking have it

svn path=/trunk/; revision=41751
2009-07-03 00:57:47 +00:00
Dmitry Gorbachev
e50ff89e86 Color schemes by Peter Dimitriu. Bug #4654.
svn path=/trunk/; revision=41750
2009-07-02 22:41:39 +00:00
Matthias Kupfer
f71dce8c39 IntIsMenu() removed - use UserGetMenuObject() instead
svn path=/trunk/; revision=41749
2009-07-02 22:28:58 +00:00
Colin Finck
6f56231f21 Merge the OpenTTD update from 0.3.10 branch
svn path=/trunk/; revision=41748
2009-07-02 21:18:18 +00:00
James Tabor
a9a2a4be8f - In the process of rewriting IntGdiCreateDisplayDC, making it an intermediate level support function for IntGdiCreateDC.
svn path=/trunk/; revision=41744
2009-07-02 19:09:32 +00:00
Benedikt Freisen
d5fa564670 Fixed cropping function and implemented size boxes
svn path=/trunk/; revision=41742
2009-07-02 17:02:37 +00:00
Daniel Reimer
8371c9d0d1 Bug 4636: Romanian translation patch by Dimitriu Petru
Bug 4638: Japanese translation update for some files by Tomoya Kitagawa
Bug 4651: Unfinished translation to polish (ichoroszi@gmail.com)
Bug 4652: update for slovak and others translations by Mario Kacmar

svn path=/trunk/; revision=41739
2009-07-02 08:33:06 +00:00
Johannes Anderwald
6b46801171 - Register a device interface for each stream
svn path=/trunk/; revision=41738
2009-07-02 07:58:06 +00:00
Cameron Gutman
21929c948e - tcpip locking rewrite (part 1 of x)
- Use ExInterlocked list functions to manipulate the request lists
 - Fix usage of the wrong lock to protect the listen request list
 - Next step: Optimize usage of TCPLock

svn path=/trunk/; revision=41737
2009-07-02 07:16:50 +00:00
Cameron Gutman
661d9e889c - Don't cancel already completed requests
- Fix potential NULL pointer access
 - Actually disassociate the address file and connection in DispTdiDisassociateAddress
 - Insert new requests at the end of the list not the beginning

svn path=/trunk/; revision=41736
2009-07-02 06:51:34 +00:00
James Tabor
b0f7201ddb - wine sync dde.c and dde_private.h to 1.1.24.
svn path=/trunk/; revision=41735
2009-07-02 05:07:12 +00:00
Matthias Kupfer
a0680b7d25 Mikhail Denisenko <denisenkom AT gmail DOT com>
- Add symbols to system menu by using marlett font.
- See issue #4450 for details.

svn path=/trunk/; revision=41733
2009-07-01 21:56:44 +00:00
Christoph von Wittich
9f3c9390f1 fix msvc build
svn path=/trunk/; revision=41732
2009-07-01 21:31:13 +00:00
Matthias Kupfer
f11dc64ecc change to LOGFONTW, because it's unicode
svn path=/trunk/; revision=41730
2009-07-01 20:54:40 +00:00
Colin Finck
8e916f0d4b Add some more working apps to the Downloader list, update the RosBE link.
Based on a patch by Victor Martinez

svn path=/trunk/; revision=41729
2009-07-01 19:49:45 +00:00
Benedikt Freisen
18bef83e69 Paint:
- Fixed new bug in palette drawing (replacing a + by a -)
- Added "Show grid" and "Show miniature" functions
- Therefore changed the menus -> please check translations

svn path=/trunk/; revision=41728
2009-07-01 19:24:17 +00:00
James Tabor
345be0f17a - Add more vista types. Added another window message type, based on winproc.c. Added two vista prototypes for ntuser.
- Implemented new PostMessage and SendNotifyMessage, this is for bug 4646. I realize the need to update/sync dde code from wine. This relates to the new post and send functions and the use of MsgiKMToUMMessage. Trying to understand this mess.
- CreateDesktop is used to create the HWND_MESSAGE for the desktop. This is a work in progress. The ntuser prototype is updated too. Now pass the correct data from user to kernel space.
- Major update to event code and testing with user32 wine test msg. ATM, only two ntuser notifications are sent if the app has a event hook. Need to add more notifications at the correct points.
- Code arranging in hooks. Testing with user32 cross test works, need to add more ntuser hook calls at the correct points.
- Testing: More is required! User32 cross tests win and msg, win test hangs at flush_events. FF 1.5.x (Still has that funny minimize bug. Play with it and see. Missing one more check I think.) and AbiWord 2.4.1. Notepad lite is doing something very naughty inside it's hook call, with out the source, testing it will be imposable, so someone needs to find an open source program that does the same thing.
- Reference: Drag and drop file into window: winproc.c WM_COPYGLOBALDATA http://wiki.winprog.org/wiki/Windows_messages

svn path=/trunk/; revision=41727
2009-07-01 17:19:16 +00:00
Johannes Anderwald
67c08d9b00 - Remove dead code
- Reuse free audio handle index

svn path=/trunk/; revision=41726
2009-07-01 15:00:12 +00:00
Johannes Anderwald
f6ef04567a - Partly Implement StreamClassReadWriteConfig
- Allocate a HwInstance buffer which is passed to each instantiated filter instance

svn path=/trunk/; revision=41725
2009-07-01 14:44:31 +00:00
Dmitry Gorbachev
645b22988a Fix some warnings / bugs.
svn path=/trunk/; revision=41724
2009-07-01 09:59:47 +00:00
Cameron Gutman
fdb5cd14fe - Fix corruption of ARP target protocol address
- We were copying the address type (1 byte) and 3 bytes of the target address instead of all 4 bytes of the target address

svn path=/trunk/; revision=41723
2009-07-01 05:14:56 +00:00
Timo Kreuzer
8cb1238455 intrin_x86: Don't test for __MSVCSRT__ when implementing _rotr and _rotl. gcc defines __MSVCSRT__ and "knows" these funtions, but doesn't implemnt them.
svn path=/trunk/; revision=41722
2009-07-01 00:40:07 +00:00
Cameron Gutman
fd848cadad - Put the correct source address in Raw IP and UDP packets
- Remove (now unused) IPGetDefaultAddress which just broke things
 - Fixes responses from different IP addresses when trying to ping the loopback adapter
 - See issue #4573 for more details

svn path=/trunk/; revision=41720
2009-06-30 21:14:21 +00:00
James Tabor
5ad493ce71 - Implement support function adding global atoms in win32k.
svn path=/trunk/; revision=41719
2009-06-30 19:12:02 +00:00
Cameron Gutman
95f968d50b - Restore a value that is lost in MiniportReset when AddressingReset is TRUE
- I need to do more investigation on which values need to be restored but I know CurrentLookahead is one of them
 - Add support for protocol-initiated miniport resets

svn path=/trunk/; revision=41718
2009-06-30 18:44:26 +00:00
Christoph von Wittich
2fc619f0ec this should fix ATI IXP700 in compat mode
See issue #4591 for more details.

svn path=/trunk/; revision=41717
2009-06-30 15:57:20 +00:00
Colin Finck
f0b9fbd0f9 SVN maintenance: Add missing svn:ignore properties to many directories and fix some existing ones
svn path=/trunk/; revision=41716
2009-06-30 15:39:49 +00:00
Colin Finck
3c23e13901 Remove non-existing "windows" module, the "optional" one is still just virtual.
See issue #4645 for more details.

svn path=/trunk/; revision=41715
2009-06-30 15:09:08 +00:00
Christoph von Wittich
25e9d83a07 replace some values by constants
svn path=/trunk/; revision=41714
2009-06-30 14:21:33 +00:00
Aleksey Bragin
e468760dd8 - Rewrite VideoPort and Win32k (Eng) event functions to:
* Use a documented ENG_EVENT structure (thus be compatible with Windows videoprt/win32k) instead of a stupid (PKEVENT) casting everywhere through EngEvent or VideoPort event functions;
 * Implement additional checks for user mapped events in EngDeleteEvent and EngWaitForSingleObject;
 * Implement EngReadStateEvent and EngClearEvent.
 * Provide a better, readable code which matches kernelstyle coding guidelines;
 * Remove (stub out) totally incorrect and buggy map user events support;
- Compile videoprt with ms-extensions flag enabled.

svn path=/trunk/; revision=41713
2009-06-30 13:42:42 +00:00
Aleksey Bragin
615a35bf83 - Remove empty directory (include/reactos/drivers/drivers).
svn path=/trunk/; revision=41712
2009-06-30 13:10:27 +00:00