Commit Graph

4545 Commits

Author SHA1 Message Date
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
Eric Pouech 280259aaca winedbg: In "info threads" commands, also show the name of the processes even if not debugged. 2009-12-30 16:15:20 +01:00
Michael Stefaniuc 75fde14ffc winetest: Remove superfluous WPARAM casts. 2009-12-30 16:13:44 +01:00
Alexandre Julliard 40a264b0e7 winevdm: Move the loading of the system drivers into their specific 16-bit module. 2009-12-28 23:50:40 +01:00
Andrew Nguyen 101d72f83c wineboot: Generate the HKCU\Volatile Environment registry key. 2009-12-28 14:23:27 +01:00
Alexandre Julliard 55f024afe1 wordpad: Use the main module instance instead of getting it from the window. 2009-12-28 14:20:37 +01:00
Gerald Pfeifer f2d18c1c26 winedbg: Use #elif defined(...) instead of plain #elif in main(). 2009-12-28 12:27:16 +01:00
Michael Stefaniuc cdaba88592 wordpad: Remove some explicit LPARAM/WPARAM casts. 2009-12-28 12:27:14 +01:00
Michael Stefaniuc 3fae3f3666 winecfg: Remove some explicit WPARAM casts. 2009-12-28 12:27:14 +01:00
Austin English cc72c4d346 cmd: Use DOS newlines, not UNIX. 2009-12-23 14:27:31 +01:00
Gerald Pfeifer 0885d345b6 winedbg: Use #elif defined(...) instead of plain #elif when detecting architectures in dbg_start_interactive(). 2009-12-23 14:27:30 +01:00
Eric Pouech 4c661dc822 winedbg: Fix for stack symbols on 64bit platform. 2009-12-22 15:38:28 +01:00
Eric Pouech afcd3a6b1a winedbg: Ensure the stack pointer is also passed to StackWalk. 2009-12-22 15:38:14 +01:00
Eric Pouech a775d41c10 winedbg: Push the correct machine type to StackWalk. 2009-12-22 15:38:01 +01:00
André Hentschel 35efca6ab3 winetest: Fix a cast. 2009-12-21 15:01:25 +01:00
Alexandre Julliard 99cb916de6 progman: Don't try to access the internals of an icon object. 2009-12-18 12:45:31 +01:00
Nicolas Le Cam 7692d926e8 winedbg: Fix Norwegian translation warning by adding UTF-8 pragma. 2009-12-16 12:20:35 +01:00
Alexander Nicolaysen Sørnes bdda678803 winedbg: Add Norwegian Bokmål translation. 2009-12-15 16:09:12 +01:00
Eric Pouech 4195c2f3bb winedbg: Implement breakpoint management for x86_64 targets. 2009-12-15 11:58:15 +01:00
Eric Pouech f96bdda0f3 winedbg: Added 'a' to the format supported in examine command (a stands for address). 2009-12-15 11:55:57 +01:00
Eric Pouech 5aa859de72 winedbg: Allow internal (host) integral variables to hold 64bit value on 64bit platforms. 2009-12-15 11:55:41 +01:00
Eric Pouech 4ce6c90c36 winedbg: Fix some types for homogenous support on 64bit platform. 2009-12-15 11:55:17 +01:00
Eric Pouech 12c3a012cb winedbg: Force 64bit line number information throughout the code to ease 64bit portability. 2009-12-14 12:30:56 +01:00
Eric Pouech 91c7ff2994 winedbg: For the x86_64 backend, fetch all the integral types. 2009-12-14 12:30:42 +01:00
Eric Pouech ab2e0bdef6 winedbg: Added a couple of tweaks to properly support 32bit vs 64bit wide addresses. 2009-12-14 12:30:33 +01:00
Eric Pouech 97d44dd399 dbghelp: Force 64bit module enumeration on all platforms. 2009-12-14 12:29:43 +01:00
Eric Pouech 7daa50c041 winedbg: Ensure all addresses passed to break functions are 64bit wide. 2009-12-14 12:29:35 +01:00
Eric Pouech 485280c64b winedbg: Enforce 64bit modules address on 64bit platforms. 2009-12-14 12:29:23 +01:00
Gregor Schneider b6a5da06e9 xcopy: Remove unneeded assignment. 2009-12-14 12:04:06 +01:00
Alexander Nicolaysen Sørnes 9e76a701d7 winecfg: Update Norwegian Bokmål translation. 2009-12-14 12:04:06 +01:00
Francois Gouget e19c71ad80 winedbg: Use SUBLANG_NEUTRAL for Spanish. 2009-12-14 12:04:04 +01:00
Vincent Povirk 0926dd96f6 wineboot: Terminate processes immediately after WM_ENDSESSION.
Once a process returns from WM_ENDSESSION, we can assume it has finished
doing any cleanup it needs but will most likely not shut down on its own.
2009-12-11 11:51:54 +01:00
Vincent Povirk decf64b86c wineboot: Do not force --kill when --end-session is set.
The --kill switch ends processes from all desktops, but --end-session only
applies to the current desktop. This causes windows from other desktops to
dangerously close without notification that the session is ending.
2009-12-11 11:51:46 +01:00
Alexandre Julliard ec73f0b71a winedbg: Fix a number of 64-bit pointer truncation issues. 2009-12-10 15:23:45 +01:00
Alexandre Julliard 58b007b0b7 clock: Convert to Unicode. 2009-12-09 18:53:35 +01:00
Alexandre Julliard 305fcef612 net: Use the explicit name for all A/W function. 2009-12-09 18:52:46 +01:00
Alexandre Julliard 79b00726f2 cmd: Use the explicit name for all A/W function. 2009-12-09 18:52:40 +01:00
Alexandre Julliard c09ac7a41f winedbg: Use the explicit name for all A/W function. 2009-12-09 18:14:07 +01:00
Jaime Rave 2113050e75 winedbg: Add Spanish translation. 2009-12-09 12:19:25 +01:00
Paul Chitescu 910b191574 services.exe: Reduce Registry access to KEY_READ or MAXIMUM_ALLOWED wherever possible. 2009-12-07 14:51:05 +01:00
Marcus Meissner 552db89b06 reg: Fixed 2 functionality bugs in REG DELETE (Coverity). 2009-12-07 14:18:29 +01:00
André Hentschel 9f9635d2a2 xcopy: Fix time acronyms in German translation. 2009-12-07 14:18:27 +01:00
Marcus Meissner f62218fc66 cmd: Break out of the argument scan loop (Coverity). 2009-12-04 14:34:58 +01:00
Jacek Caban b07bc34515 winetest: Remove no longer needed Gecko check. 2009-12-03 15:27:56 +01:00
Juan Lang eaa67c385c winecfg: Update Portuguese translation. 2009-12-03 10:22:47 +01:00
Austin Lund 56a57f0c9e winemine: Fix WM_MOUSEMOVE for left and right mouse buttons pressed. 2009-11-30 12:47:52 +01:00
Austin English 0b7903c46c wordpad: Only allow one find/replace window. 2009-11-23 13:09:13 +01:00
Paul Vriens c34ca48b3e winetest: Add product information to the output for Vista and higher. 2009-11-20 11:42:18 +01:00
Francois Gouget 085c39342b cmd: Remove spaces before '\n's. 2009-11-18 15:15:40 +01:00
Damjan Jovanovic 03e9fbb515 winemenubuilder: Escape XML special characters in menus. 2009-11-16 11:35:38 +01:00
Damjan Jovanovic e1e07b40ba winemenubuilder: Escape XML special characters in MIME types. 2009-11-13 12:19:23 +01:00
Erich Hoover 8a6e2c8eea wineconsole: Fix Alt+F10 sent when F10 pressed. 2009-11-13 11:52:23 +01:00
Ilya Shpigor 007586ea29 extrac32: Implementation of the CAB archive extraction. 2009-11-11 11:26:51 +01:00
Eric Pouech a116f78ded winedbg: In proxy mode, correctly init the wine_segs fields. 2009-11-09 20:02:20 +01:00
Eric Pouech 3fac812bd9 winhlp32: Added support for macros as hotspots' target. 2009-11-09 20:02:11 +01:00
Rob Shearman dd4804c413 winhlp32: Restore the original window proc for the richedit control before freeing the winhelp window memory. 2009-11-09 19:43:31 +01:00
Luca Bennati bef35afba8 clock: Update Italian translation. 2009-11-09 19:40:24 +01:00
Luca Bennati 8977e5b46e start: Update Italian translation. 2009-11-09 19:40:14 +01:00
Luca Bennati 79bb4bd549 cmd: Add Italian translation. 2009-11-09 19:40:05 +01:00
Ilya Shpigor e7cc2868aa extrac32: Add command-line parsing. 2009-11-04 16:45:18 +01:00
Austin English e64f7525b5 mshta: Add a stub program. 2009-10-30 15:26:44 +01:00