Commit Graph

4505 Commits

Author SHA1 Message Date
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
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
Dan Kegel 60fe4dae7a cmd: %~dp0 should expand to the directory containing the batch file, not the current directory. 2010-02-03 11:07:07 +01:00
Trey Hunner afb374b7aa cmd: Add support for 'if /i'. 2010-02-02 11:59:33 +01:00
Frédéric Delanoy f6aaddbd3b wordpad: Update French translation. 2010-02-02 11:47:20 +01:00
Frédéric Delanoy 51a6153672 wordpad: Fix typo in keyboard shortcut. 2010-02-02 11:47:20 +01:00
Luca Bennati e8fb8fb1a1 cmdlgtst: Fix Italian translation. 2010-02-02 11:47:20 +01:00
Luca Bennati a0f7a63427 winefile: Fix Italian translation. 2010-02-02 11:47:20 +01:00
Luca Bennati 4cd6feffb4 wineconsole: Fix Italian translation. 2010-02-02 11:47:20 +01:00
Luca Bennati 7bc4c7425d view: Fix Italian translation. 2010-02-02 11:47:20 +01:00
Luca Bennati d92b85de23 uninstaller: Fix Italian translation. 2010-02-02 11:47:20 +01:00
Luca Bennati 691ac6faaf progman: Fix Italian translation. 2010-02-02 11:47:20 +01:00
Luca Bennati 45d3113747 winedbg: Add Italian translation. 2010-02-02 11:47:19 +01:00
Luca Bennati 4c9f6b151d wineboot: Add Italian translation. 2010-02-02 11:47:19 +01:00
Luca Bennati 9069faac68 net: Add Italian translation. 2010-02-02 11:47:19 +01:00
Luca Bennati 0692a960a8 reg: Add Italian translation. 2010-02-01 12:48:17 +01:00
Igor Paliychuk c0c5ab16e1 wordpad: Update Ukrainian translations. 2010-02-01 12:08:54 +01:00
Igor Paliychuk e80a1214f8 winefile: Add Ukrainian translations. 2010-02-01 12:08:45 +01:00
Luca Bennati bf10ce40c4 write: Add Italian translation. 2010-02-01 12:03:42 +01:00
Luca Bennati 9f7c68fd92 wordpad: Add Italian translation. 2010-02-01 12:03:30 +01:00
Luca Bennati d975db80b5 xcopy: Add Italian translation. 2010-02-01 12:03:21 +01:00
André Hentschel 0c470a3362 wordpad: Fix German translation. 2010-02-01 12:00:22 +01:00
Anders Jonsson 18b918d0c4 wordpad: Update Swedish translation. 2010-02-01 11:59:46 +01:00
Aurimas Fišeras 6b64799c18 wordpad: Update Lithuanian translation. 2010-02-01 11:59:43 +01:00
Dylan Smith 0c46da86bf wordpad: Implement zooming in for print preview.
The preview is now drawn onto it's own window rather directly onto
the client area of the top level window.  This is done to allow for
scrollbars, since the page won't usually fit in the window when zoomed in.
Refactoring was needed as a result of this, and in order to provide more
granularity for updates to avoid EM_FORMATRANGE messages being sent when
the page the same page is being displayed.
2010-01-29 14:59:02 +01:00
Dylan Smith aaabd9f2f3 wordpad: Fixed spacing calculations for print preview. 2010-01-29 14:59:02 +01:00
Igor Paliychuk 3df59ccf69 xcopy.exe: Add Ukrainian translations. 2010-01-29 13:30:05 +01:00
Igor Paliychuk d05656f373 write.exe: Add Ukrainian translations. 2010-01-29 13:30:05 +01:00
Igor Paliychuk 05450498d0 wordpad: Add Ukrainian translations. 2010-01-29 13:30:04 +01:00
Igor Paliychuk 4423b0c7b4 reg.exe: Add Ukrainian translations. 2010-01-29 13:30:04 +01:00
Alexandre Julliard ee0f4b0da3 winetest: Refuse to run if the mount manager isn't running.
This usually indicates that the Wine prefix isn't valid.
2010-01-28 15:50:52 +01:00
Alexandre Julliard fd0efd92e0 wineboot: Set the USERNAME and USERPROFILE variables in the volatile environment. 2010-01-28 13:29:04 +01:00
Alexandre Julliard 4e2827aa33 wineboot: Add a wrapper function for RegSetValueExW. 2010-01-28 13:27:41 +01:00
Dylan Smith ad52ae67a5 wordpad: Don't render the text when getting the number of pages.
EM_FORMATRANGE will render the text if wParam is non-zero, and there
is no reason to actually render the text when just getting the number
of pages.
2010-01-27 18:46:06 +01:00
Dylan Smith fc473e0f63 wordpad: Reset rc.bottom between calls to EM_FORMATRANGE.
EM_FORMATRANGE will set rc.bottom within the FORMATRANGE struct to be the
bottom of the area actually printed to, so this must be reset between calls
to make sure that the page boundaries are consistent between the pages.
2010-01-27 18:46:06 +01:00
Vitaly Lipatov f8562ace96 wineconsole: Fix Russian translation. 2010-01-19 15:03:58 +01:00
Paul Vriens d38682816b oleview: Fix size parameter for memset (Coccinelle). 2010-01-11 11:34:41 -06:00
Marcin Baczyński 477117a03f winedbg: Remove superfluous void* cast. 2010-01-07 17:59:57 +01:00
André Hentschel 76c518539f winedbg: Update link. 2010-01-06 09:52:44 +01:00
Alexandre Julliard 26a42f8452 winedos: Merge all of winedos back into krnl386. 2010-01-05 16:25:34 +01:00
Josselin Bardet 2b07ae5e6f msiexec: Support of /package option. 2010-01-04 17:06:52 +01:00
Dan Kegel b6e8e13599 cmd: Fix echoing of multiline commands. 2010-01-04 11:41:28 +01:00
Dan Kegel 27235ecb65 cmd: Echoed prompts are preceded by a blank line. 2010-01-04 11:41:28 +01:00
Andrew Nguyen f06cb3e6c0 cmd: Set the PROMPT environment variable on startup. 2009-12-31 12:12:18 +01:00
Alexandre Julliard a18bbec0f0 kernel: Add an import lib for krnl386, and stop importing 16-bit functions from kernel32. 2009-12-30 18:01:34 +01:00
Steven Edwards d6055a4165 winefile: Replace builtin execute dialog with standard RunFile dialog. 2009-12-30 16:28:01 +01:00