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
André Hentschel
d00f031646
cmd: Improve German translation.
2010-02-15 12:20:01 +01:00
Alexandre Julliard
e85bf5c190
makefiles: Fix the installation rules for programs bin directory.
2010-02-11 20:23:49 +01:00
Alexandre Julliard
93f0339387
makefiles: Move all the recursion rules to the top-level makefile.
2010-02-11 14:38:26 +01:00
Alexandre Julliard
9463687f78
makefiles: Build the programs directly from the top-level makefile.
2010-02-10 19:51:08 +01:00
Kusanagi Kouichi
3b6c20e486
notepad: Increase the text limit.
2010-02-10 14:30:59 +01:00
Dylan Smith
7aba35c608
wordpad: Fixed quick print so that it doesn't print blank pages.
2010-02-10 11:35:01 +01:00
Jacek Caban
28a4a7bd42
cmd: Added cmd.exe tests.
2010-02-10 11:31:16 +01:00
Alexandre Julliard
454fb3c1da
makefiles: Generate the list of test binaries from configure.
2010-02-08 21:29:13 +01:00
Alexandre Julliard
9644d1dcd7
makefiles: Generate a general catch-all dependency on .tab.h files to replace the manually maintained ones.
2010-02-08 20:58:00 +01:00
Vladimir Pankratov
5af24c31ec
wordpad: Update Russian translation.
2010-02-08 17:14:44 +01:00
Vincent Povirk
7f8279e127
winemenubuilder: Use a custom error function.
2010-02-08 17:14:43 +01:00
Alexandre Julliard
ecb2d7bd93
winetest: Report the correct source directory for program tests.
2010-02-06 20:36:12 +01:00
Alexandre Julliard
6fae8e1df1
winetest: Require an email address to submit a report.
2010-02-06 10:22:21 +01:00
Eric Pouech
b50e571947
winedbg: Implement is_func_call on x86_64 CPU.
2010-02-04 13:39:27 +01:00
Eric Pouech
4f4e38ce40
winedbg: Implemented is_step_over method for x86-64 CPU.
2010-02-04 13:39:27 +01:00
Eric Pouech
9ed8d56ed2
winedbg: Implemented is_break_insn for x86-64 CPUs.
2010-02-04 13:39:27 +01:00
Eric Pouech
6979ea7d5b
winedbg: Implemented is_function_return method for x86-64 CPU.
2010-02-04 13:39:27 +01:00
Eric Pouech
7d3a9c6ffd
winedbg: Implement float fetching for x86-64 debugger.
2010-02-04 13:39:27 +01:00
Eric Pouech
7c9cd44965
winedbg: Added some more instructions disassembly.
2010-02-04 13:39:27 +01:00
Eric Pouech
4b8b078344
winedbg: Fix 32bit displacement sign extension.
2010-02-04 13:39:27 +01:00
Eric Pouech
7f1105e656
winedbg: Add disassembly capacity to x86-64 backend.
2010-02-04 13:39:27 +01:00
Eric Pouech
e1b677dcd1
winedbg: For x86-64 CPU, fix $rip variable definition.
2010-02-04 13:39:27 +01:00
Eric Pouech
f91948ad94
winedbg: Extend print_typed_basic to handle unicode strings.
2010-02-04 13:39:27 +01:00
Dan Kegel
7de394d6ab
reg.exe: Handle setting DWORD registry values.
2010-02-03 15:50:34 +01:00
Alexandre Julliard
7b7444fbca
makefiles: Simplify the installation of program binaries by not attempting to hardlink them.
2010-02-03 11:50:24 +01:00
Dan Kegel
15998c2bdb
cmd: Size buffer in create_full_path() correctly.
2010-02-03 11:07:14 +01:00