Commit graph

30592 commits

Author SHA1 Message Date
Magnus Olsen 4b2acdc21b Adding simple test for CreateBitmapIndrect and show it care if bmWidthBytes is align or not
this test have done on windows xp sp2 and pass it fine. 


svn path=/trunk/; revision=33433
2008-05-11 10:35:09 +00:00
Aleksey Bragin ebdf34b599 Kamil Hornicek <tykef@atlas.cz>
- Update PSDK headers.

svn path=/trunk/; revision=33432
2008-05-11 10:16:10 +00:00
Hervé Poussineau 28e9a590db Fix indentation, to match mouclass one.
svn path=/trunk/; revision=33431
2008-05-11 10:03:52 +00:00
Hervé Poussineau 507a803c65 serial: Fix FileStandardInformation and FilePositionInformation classes
serial: Add FileNetworkOpenInformation class
serenum: Pass all requests to next driver, even unknown ones

svn path=/trunk/; revision=33430
2008-05-11 09:51:46 +00:00
Filip Navara a173ef04c2 A driver-supplied Cancel routine is called with the cancel spin lock held, it must be released on IRP completion. Patch by R.T.Sivakumar <rtshiva@gmail.com>.
svn path=/trunk/; revision=33429
2008-05-11 09:47:57 +00:00
Filip Navara a907b85b1a SEH protect NtReplyWaitReceivePortEx and fix one instance of message type checking to correctly account for kernel LPC messages.
svn path=/trunk/; revision=33428
2008-05-11 09:39:26 +00:00
Magnus Olsen 973109beb4 Remove old hack I implmeneted in NtGdiCreateBitmap it is height == 0 or width == 0, it create 1x1 1Bpp we can remove this hack now.
BugFix CreateBitmapIndirect, the code have been tested in reactos and windows, include abiword 
1. the bmWidthBytes must be align with 2 and it must be 2 or higher like windows xp/2003 and msdn
2. Do not do direcly call to NtGdiCreateBitmap use CreateBitmap so we getting same behoir for 1x1 1Bpp bitmap.
3. This will also take care of handle leaks for bitmap that being create with height = 0,  width = 0 and do not delete the object.
4. Windowss does not check if the incoming bitmap is NULL, this behoir to make it more compatible. 




svn path=/trunk/; revision=33427
2008-05-11 08:20:18 +00:00
Magnus Olsen 0dfbae2961 adding test to NtGdiCreateBitmap show it does not accpect height = 0 and widith = 0
svn path=/trunk/; revision=33426
2008-05-11 08:09:02 +00:00
James Tabor 3369214f4f Implement some stubs.
svn path=/trunk/; revision=33425
2008-05-11 06:35:26 +00:00
James Tabor 63466eec38 Fix brush attribute structure and add flags. Add gdi handle cache structures.
svn path=/trunk/; revision=33424
2008-05-11 05:32:50 +00:00
James Tabor b8f704d4aa Point out ParentWindowHandle for HWND_MESSAGE.
svn path=/trunk/; revision=33423
2008-05-11 04:29:24 +00:00
Daniel Reimer 7a36161dd1 Bug 3229: spanish files by remialdo@gmail.com
Bug 3231: Italian resource update by Paolo Devoti (devotip@tiscali.it)

svn path=/trunk/; revision=33422
2008-05-10 22:00:47 +00:00
Daniel Reimer 9b2aa002a1 Bug 3229: spanish files by Javier Remacha (remialdo@gmail.com)
svn path=/trunk/; revision=33421
2008-05-10 21:51:59 +00:00
Pierre Schweitzer 851c81eee6 "Implemented" FsRtlNotifyChangeDirectory
It just redirects to FsRtlNotifyFullChangeDirectory (which is *NOT* implemented)

svn path=/trunk/; revision=33420
2008-05-10 20:05:57 +00:00
Colin Finck 32a2579694 Sync riched20 to Wine 1.0-rc1
Samuel Serapión got some apps like 7-Zip and PowerISO installed with the new version.

svn path=/trunk/; revision=33419
2008-05-10 19:50:28 +00:00
Aleksey Bragin 620f89d44b - Get rid of duplicated (and different) NB_LAST_STOCK definitions in gdi32 and win32k, now it's defined to 22 (19 being a last public stock object, other 2 are internal).
- Move a DEFAULT_BITMAP definiton from gdi32 into ntgdityp.h (not the best place, but could be moved to a better one later), and assign it a number 21, which it is on Windows XP (tested with a win32kntest framework, tests are committed).
- Fix CreateBitmap to return a 1x1 stock bitmap object if the requested Width and Height are 0.
- All of this work is based on Magnus Olsen's patches and Wine.

svn path=/trunk/; revision=33418
2008-05-10 19:03:58 +00:00
Colin Finck b1c2a48e3b Samuel Serapión (samdwise51 AT gmail DOT com):
- Winesync of crypt32
  The function import_certs_from_dir had to be killed, because it uses UNIX-only functions. (see "crypt32_ros.diff")
- This gets MSN Messenger a bit more to work

svn path=/trunk/; revision=33417
2008-05-10 18:43:43 +00:00
Magnus Olsen 7e4da4bd18 move the undoc DC_BITMAP to ntgdityp.h header after advice from fireball and kjk
svn path=/trunk/; revision=33416
2008-05-10 18:10:36 +00:00
Magnus Olsen c6d6043053 fixing a memory overwrite bug I miskate intrudes
the private size of stackobject list contain 22 object, and we do not want mix up the private size and the user mode size for different version. 

svn path=/trunk/; revision=33415
2008-05-10 18:07:41 +00:00
Dmitry Chapyshev 4ec8e30269 - Add new layouts to bootcd
svn path=/trunk/; revision=33414
2008-05-10 18:01:32 +00:00
Dmitry Chapyshev cb65a82319 Add keyboard layouts:
- Arabic (101) (by Alexey Komarov)
- Arabic (102) (by Alexey Komarov)
- Arabic (102) AZERTY (by Alexey Komarov)
- Armenian Western (by Alexey Komarov)
- Assamese (Inscript)
- Bengali
- Croatian
- Devanagari - INSCRIPT
- Gujarati
- Malayalam

svn path=/trunk/; revision=33413
2008-05-10 17:58:45 +00:00
Magnus Olsen 25fb37a67f implement DC_BITMAP for GetStockObject.
it works for any apps want it. and using this undoc value
testcase exists in w32knapi have been run in windows and reactos.


svn path=/trunk/; revision=33412
2008-05-10 17:39:38 +00:00
Magnus Olsen ea9d73b0f2 adding a new define DC_BITMAP for GetStockObject
svn path=/trunk/; revision=33411
2008-05-10 17:37:43 +00:00
Magnus Olsen 1bc8ff3d85 adding a testcase for GetStockObject(21);
it is 1x1 1Bpp Bitmap.

svn path=/trunk/; revision=33410
2008-05-10 16:12:35 +00:00
Magnus Olsen 04df00182d adding more testcase for NtGdiGetStockObject it testing what type for gdi object the handle return now and we manger figout what type of handle the value 20 and value 21
NtGdiGetStockObject(20) == GDI_OBJECT_TYPE_COLORSPACE
 NtGdiGetStockObject(21) == GDI_OBJECT_TYPE_BITMAP

svn path=/trunk/; revision=33409
2008-05-10 15:21:49 +00:00
Colin Finck 96f6e0a854 Attempt to fix build
svn path=/trunk/; revision=33408
2008-05-10 15:08:45 +00:00
Magnus Olsen c958c7e3b0 adding a simple NtGdiGetStockObject
it show undocumented stockobject exists in windows xp/2003
value 20 and 21

svn path=/trunk/; revision=33407
2008-05-10 14:01:40 +00:00
Magnus Olsen 826f6108be commit testcase for wdith negative and 0
svn path=/trunk/; revision=33406
2008-05-10 12:02:59 +00:00
Magnus Olsen a623366dca adding height -1 and height 0 test for create a bitmap
svn path=/trunk/; revision=33405
2008-05-10 11:55:58 +00:00
Magnus Olsen dc6e9467cc revert r33403 for it break abiword
we need fixing gdi32.dll bugs before we can fix it correct

svn path=/trunk/; revision=33404
2008-05-10 11:42:00 +00:00
Magnus Olsen 608264fa22 1. remove hack in NtGdiCreateBitmap
2. BugFix IntGdiCreateBitmap 
   1. Height can not be negative value 
   2. width can not be negative value
   3. Planes or BitsPerPixel can not be biger that 32Bpp
   4. BitsPerPixel can not be 0
   5. width size is max  0x7FFFFFFF hex



svn path=/trunk/; revision=33403
2008-05-10 11:23:54 +00:00
Gregor Brunmar 7eab8b0750 Made user32.dll compile under MSVC (doesn't link though)
svn path=/trunk/; revision=33402
2008-05-10 10:29:19 +00:00
Thomas Bluemel 433a98b5fa Fix some task switch window bugs
svn path=/trunk/; revision=33401
2008-05-10 01:45:08 +00:00
Johannes Anderwald 9539538ba0 - when menu position cannot be found insert new item at the end
- reduces winetest failures from 1550 to 1250
- behaviour verified on Windows Vista

svn path=/trunk/; revision=33400
2008-05-09 18:11:40 +00:00
Daniel Reimer 7a754a98d0 Well... I forgot to revert some files... sry
svn path=/trunk/; revision=33399
2008-05-09 17:45:46 +00:00
Daniel Reimer 65a136825d Update of some Headers for the Winetests of non autosynched Dlls. Done by Kamil Horniceck
Update XCOPY from wine.

svn path=/trunk/; revision=33398
2008-05-09 17:37:21 +00:00
Daniel Reimer f108d390f0 Update of Winetests of non autosynched Dlls. Done by Kamil Horniceck
svn path=/trunk/; revision=33397
2008-05-09 17:35:45 +00:00
Colin Finck ad119a417d Convert the remaining ANSI-only stuff to TCHAR
svn path=/trunk/; revision=33396
2008-05-09 13:33:12 +00:00
Dmitry Chapyshev 46db68bb13 - Add new languages
svn path=/trunk/; revision=33395
2008-05-09 13:06:29 +00:00
Dmitry Chapyshev 6d4eb0a221 - Add new layouts to bootcd
- Add new languages

svn path=/trunk/; revision=33394
2008-05-09 13:06:00 +00:00
Colin Finck fe2ee8daa3 Fix build (no idea why my rbuild didn't notice the "unicode" attribute change...)
svn path=/trunk/; revision=33393
2008-05-09 12:59:55 +00:00
Daniel Reimer 5d79f46a06 Bug 3217: shdocvw translation patch by Seungju Kim (admin@manateeshome.com)
Bug 3228: Update for few slovak RCs by Mario Kacmar (kario@szm.sk)
Some fixes and translation updates for winhelp and wordpad synched from wine
Netherland Translation for charmap from Wouter Thierens

svn path=/trunk/; revision=33392
2008-05-09 12:45:47 +00:00
Daniel Reimer 85fbc8ec50 Bug 3228: Update for few slovak RCs by Mario Kacmar (kario@szm.sk)
svn path=/trunk/; revision=33391
2008-05-09 12:38:26 +00:00
Dmitry Chapyshev 96e0908452 Add keyboard layouts:
- Armenian Eastern
- Azeri Cyrillic
- Azeri Latin
- Belarusian
- Portuguese (Brazilian ABNT2)
- Kazakh

svn path=/trunk/; revision=33390
2008-05-09 12:29:22 +00:00
Colin Finck e459df7144 Compile calc as Unicode and remove the unneeded __USE_W32API define
svn path=/trunk/; revision=33389
2008-05-09 12:24:56 +00:00
Colin Finck 7b6887ffc8 - Delete "winecalc", there is no reason to keep it as we have our own calculator app now.
- Delete "smartpdf", it never worked and is outdated.

svn path=/trunk/; revision=33388
2008-05-09 11:58:30 +00:00
Colin Finck 9e45b56ced Change the translation of the "Help" menu item to "?", so that the menu can be displayed in one line at a small window size.
Also minor indentation fix

See issue #2590 for more details.

svn path=/trunk/; revision=33387
2008-05-09 11:38:45 +00:00
Dmitry Chapyshev fbc903478d - Add some defines
svn path=/trunk/; revision=33386
2008-05-09 11:32:56 +00:00
Christoph von Wittich 8fd63a45fa add some initial xen support to sysreg (hack)
svn path=/trunk/; revision=33385
2008-05-09 10:39:51 +00:00
Aleksey Bragin ceabf213ba - Revert 33366 for explorer too. Bugs in explorer should be fixed first.
svn path=/trunk/; revision=33384
2008-05-09 09:32:17 +00:00