Commit Graph

4475 Commits

Author SHA1 Message Date
Austin English 27717a5127 cmd: Add testcases for goto. 2010-03-24 19:02:12 +01:00
Nikolay Sivov e22f6aa6e3 cmd: Ignore spaces before goto label. 2010-03-24 19:02:06 +01:00
Christian Costa 3ae8d5888a attrib.exe: Add stubbed command. 2010-03-19 16:25:48 +01:00
Trey Hunner 5e3e2ca7ff ping: Add skeleton ping command. 2010-03-19 16:25:48 +01:00
Jacek Caban e486a02157 cmd: Added @or_broken@ handling to test templates and use it to fix tests on win2k. 2010-03-18 11:18:18 +01:00
Yann Droneaud ac8d92405c cmd: Add another expansion test.
Test %VAR%VAR% to check that the second variable is not expanded.
2010-03-16 17:03:38 +01:00
Yann Droneaud 954d06ca35 cmd: Remove %CD% test.
%CD% seems not supported on Windows NT 4.
2010-03-16 17:03:30 +01:00
Alexandre Julliard fbef7217b9 makefiles: Remove the no longer needed explicit dependencies for bison files. 2010-03-16 13:28:24 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Yann Droneaud 9bad2febf3 cmd: Added some expansion tests. 2010-03-15 16:51:37 +01:00
Yann Droneaud 727df7a2ef cmd: Fixed uninitialised field in WCMD_addCommand() (Valgrind). 2010-03-15 13:42:08 +01:00
Henry Kroll III d3369086ed notepad: Don't prompt to save empty Untitled file. 2010-03-15 13:18:05 +01:00
Alexandre Julliard f47bcc22fc winetest: Refuse to run if we cannot create a window. 2010-03-05 13:10:16 +01:00
Arjun Comar a607f53779 cmd: Fix cmd to take /? as a help parameter. 2010-03-04 17:31:05 +01:00
Hwang YunSong 5c5f37a6c7 wordpad: Update Korean translation. 2010-03-02 11:14:19 +01:00
Anders Jonsson 61a56d3492 wordpad: Update Swedish translation. 2010-03-02 11:12:10 +01:00
Alexandre Julliard 61812d17f8 kernel32: Moved creation of the DynData registry keys to wineboot. 2010-03-01 14:03:35 +01:00
Andrey Turkin 9939fd6012 extrac32: Enhance command-line parsing. 2010-03-01 11:33:14 +01:00
Dylan Smith 3fbe40e2f9 wineconsole: Handle mouse wheel scrolling for user backend.
The mouse wheel will scroll if the buffer height is greater than the
console window's height in lines, otherwise console mouse input events
are generated.
2010-02-26 13:02:24 +01:00
Detlef Riekenberg b6439286b6 wordpad: Update German print preview translation. 2010-02-26 13:02:09 +01:00
Aurimas Fišeras 2e91ca1759 wordpad: Update Lithuanian translation. 2010-02-26 13:02:05 +01:00
Vitaly Perov d4e665431b notepad: Implement printing to file. 2010-02-26 13:02:01 +01:00
Dylan Smith bb58537e95 wordpad: Show page numbers in statusbar for print preview. 2010-02-25 12:11:13 +01:00
Dylan Smith 3355be3e5d wordpad: Number of preview pages to show when unzoomed is persistent.
Either one or two pages may be shown in print preview when zoomed out.
This value is stored in the registry in native wordpad, and preserved
while opening and closing the print preview.  Zooming in will only show one
page, but the pages shown value must be saved because it will return to the
preview pages shown value after unzooming completely. If two pages should
be shown when there is only one page of text, then a second blank page is
shown.
2010-02-24 15:12:30 +01:00
Dylan Smith adc2c9547e wordpad: Added zoom cursor for print preview.
In print preview you can zoom in by left clicking on one of the pages.  The
zoom cursor is displayed whenever the mouse is over the page to indicate to
the user that they can zoom in.  When fully zoomed in it will zoom out when
this is done again.  When clicking on the second page, it will zoom into
that page.
2010-02-24 15:12:30 +01:00
Andrey Turkin 7628fcdd76 extrac32: Implement /C mode. 2010-02-24 12:16:37 +01:00
Paul Vriens 4064efdc27 cmd: Fix a memory leak (Valgrind). 2010-02-23 12:06:51 +01:00
Dylan Smith 3264450c35 wordpad: Avoid forward declarations in print.c. 2010-02-22 12:08:28 +01:00
Dylan Smith 20dea9a890 wordpad: Don't waste time getting the number of preview pages.
For print preview it will take more time to wait for the whole text to be
wrapped for EM_FORMATRANGE than to wait for just the first page.  Trying to
get the total number of pages will cause the whole test to be wrapped.
Instead all that is needed is to just determine if a page is the last page,
which can be determined by it's page end offset compared to the text length.
2010-02-22 12:08:20 +01:00
Dylan Smith f235c48cae wordpad: Avoid unnecessary deletion of hdcSized. 2010-02-22 12:08:11 +01:00
Dylan Smith 8f19111325 wordpad: Cache text length. 2010-02-22 12:08:06 +01:00
Dylan Smith 7a9f72863d wordpad: Update bitmaps outside of WM_PAINT.
This avoids having to delete the device context and the bitmap selected
into it just to update the bitmap, since it was setting preview.hdc to
NULL to indicate that these bitmaps needed to be updated. This patch
also helps make WM_PAINT messages get processed faster by moving this out
of the code for handling WM_PAINT.
2010-02-22 12:07:59 +01:00
Dylan Smith a75bf390d7 wordpad: Use pages_shown variables to indicate pages shown.
Previously hdc2 needed to be deleted and set to NULL to indicate that only
one page should be shown. I have avoided this using a new variable for
the preview structure.

The device context were also being deleted without deleting the bitmaps
created for them and selected into them, so this patch also gets these
bitmaps and deletes them with their device context.
2010-02-22 12:07:49 +01:00
Dylan Smith b278101580 wordpad: Get preview page character boundaries with number of pages.
Rather than making seperate calls to EM_FORMATRANGE to get the number of
pages and the character boundaries, it would be easiest to get both
together.  The time to process EM_FORMATRANGE seems like it would take a
lot longer than the time needed to cache the character page boundaries.
2010-02-22 12:07:33 +01:00
Dylan Smith 7451facf2f wordpad: Added missing calls to DeleteDC and ReleaseDC. 2010-02-22 12:07:22 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Paul Vriens 2ef6101768 cmd/tests: Compare strings case-insensitive. 2010-02-19 11:30:03 +01:00
Trey Hunner 41c0db3ce9 cmd: Add test for 'if' case sensitivity. 2010-02-19 11:30:00 +01:00
Paul Vriens f468055408 cmd: Remove some unneeded extension checking. 2010-02-18 17:15:19 +01:00
Dan Kegel 8110dde8ae cmd: Fix 'else', with tests. 2010-02-18 12:43:00 +01:00
Marcus Meissner a3afe94831 winedbg: Segment registers are not affected by rex prefix (Coverity). 2010-02-18 12:43:00 +01:00
Dylan Smith 2397171cf3 wordpad: Added text colour toolbar button. 2010-02-18 12:42:46 +01:00
Dylan Smith 003e7e9675 wordpad: Avoid making monochrome bitmaps for print preview.
Previewly monochrome bitmaps were being created by CreateCompatibleBitmap
because the hdc passed into that call came from CreateCompatibleDC which is
initialized with a single pixel monochrome bitmap.
2010-02-18 12:18:26 +01:00
Dan Kegel e4fd5196c2 cmd: Rename reference file from .out to .exp to avoid clash with gnu make builtin rule. 2010-02-17 09:48:03 +01:00
Dan Kegel 8bc6ff9d90 cmd: Add test to show ~dp0 should be directory containing batch file. 2010-02-17 09:46:02 +01:00
Dan Kegel 9d63b91405 cmd: Add test to show set "FOO=bar" should not include the quotes in the variable value. 2010-02-17 09:44:06 +01:00
Dan Kegel 786429b3d7 cmd: Turn off echo, add visual separator between testcases. 2010-02-17 09:43:22 +01:00
Dan Kegel 5035f3cff3 cmd: Move all tests to test_builtins.cmd. 2010-02-17 09:43:09 +01:00
Marcus Meissner 6beb48c4e1 winedbg: rex is not used for Grp15b (Coverity). 2010-02-17 09:42:55 +01:00
Dmitry Timoshkov aa25fcded7 winedbg: Print parameter values in backtraces in hex. 2010-02-16 11:33:28 +01:00