Commit Graph

362 Commits

Author SHA1 Message Date
Jacek Caban 627d31fcd9 wineconsole: Reimplement as AllocConsole wrapper.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-12 18:49:41 +02:00
Jacek Caban 79cb33e192 server: Remove support for creating bare consoles.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-22 21:35:35 +02:00
Jacek Caban 05628e169d wineconsole: Remove curses backend.
Default conhost Unix console handling should cover its use cases.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-22 21:35:35 +02:00
Jacek Caban ca30fa5cb4 wineconsole: Make sure that console process is not attached to another console.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-08-18 21:39:28 +02:00
Jacek Caban fa2b372ec0 wineconsole: Use console in/out handles only in WINECON_Init.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-30 21:41:47 +02:00
Jacek Caban 504d6eaa9a wineconsole: Move WINECON_Spawn call to WINECON_Init.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-30 21:41:47 +02:00
Jacek Caban 78831ae9d0 wineconsole: Use renderer handle instead of hConIn where possible.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-30 21:41:43 +02:00
Jacek Caban c37c9bf65a server: Remove no longer needed CONSOLE_RENDERER_ACTIVE_SB_EVENT events.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-29 14:14:09 +02:00
Jacek Caban 1f5a45e63e wineconsole: Use renderer handle instead of hConOut where possible.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-29 14:14:04 +02:00
Jacek Caban ad1f09d574 wineconsole: Rename hSynchro to console.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-29 14:13:58 +02:00
Jacek Caban 29d5c6c476 wineconsole: Use ReadConsoleOutputW in WINECON_FetchCells.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-27 09:48:19 +02:00
Jacek Caban 928fffee8d wineconsole: Ignore ERROR_IO_INCOMPLETE error in WINECON_GrabChanges.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-27 09:48:17 +02:00
Jacek Caban dc1483c179 wineconsole: Use IOCTL_CONDRV_SET_TITLE ioctl.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-21 15:18:26 +02:00
Jacek Caban 2fc11e8952 wineconsole: Use IOCTL_CONDRV_SET_INPUT_INFO to set console window handle.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-20 20:16:37 +02:00
Jacek Caban 96c5109a0f wineconsole: Use IOCTL_CONDRV_SET_INPUT_INFO in WINECON_SetEditionMode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-20 20:16:32 +02:00
Jacek Caban bd12ec5dff wineconsole: Use IOCTL_CONDRV_SET_INPUT_INFO in WINECON_SetHistoryMode.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-20 20:16:29 +02:00
Jacek Caban abe5fda90d wineconsole: Use IOCTL_CONDRV_SET_INPUT_INFO in WINECON_SetHistorySize.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-20 20:16:26 +02:00
Jacek Caban 919a94aa95 wineconsole: Use NtCreateFile to create renderer object.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-17 00:04:13 +02:00
Jacek Caban ffa52880f2 wineconsole: Use IOCTL_CONDRV_GET_TITLE in WINECON_GetConsoleTitle.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-15 22:57:53 +02:00
Jacek Caban 9c6d0f6eea wineconsole: Use IOCTL_CONDRV_SET_OUTPUT_INFO in WINECON_SetColors.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-10 22:55:12 +02:00
Jacek Caban 6695ca86a2 wineconsole: Use IOCTL_CONDRV_SET_OUTPUT_INFO in WINECON_SetConfig.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-10 22:55:12 +02:00
Jacek Caban 56ee3a8ad1 wineconsole: Use IOCTL_CONDRV_GET_OUTPUT_INFO in WINECON_GetServerConfig.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-09 19:42:23 +02:00
Jacek Caban 340a661723 wineconsole: Use OVERLAPPED to wait for console events.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-08 21:05:44 +02:00
Jacek Caban 378ce9e6be server: Remove no longer needed get_console_renderer_events request.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-08 21:05:26 +02:00
Jacek Caban a0d325333f wineconsole: Use IOCTL_CONDRV_GET_RENDERER_EVENTS to fetch events.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-08 21:05:04 +02:00
Jacek Caban eff42369e9 wineconsole: Use IOCTL_CONDRV_GET_INPUT_INFO in WINECON_GetServerConfig.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-07 19:24:27 +02:00
Roman Pišl 3d2277e04a wineconsole: Don't allow recurrent resizing while grabbing changes.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48747
Signed-off-by: Roman Pišl <rpisl@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-22 08:40:23 +02:00
Roman Pišl 8d8eab04fb wineconsole: Don't activate window when computing positions.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48740
Signed-off-by: Roman Pišl <rpisl@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-22 08:40:21 +02:00
Alexandre Julliard 0f53fca321 wineconsole: Use standard dlopen() instead of the libwine wrappers.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-07 14:26:20 +02:00
Roman Pišl da395975b0 wineconsole: Allow maximization.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48706
Signed-off-by: Roman Pišl <rpisl@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-09 12:10:52 +01:00
Gijs Vermeulen 228b9b7b52 wineconsole: Add registry support for font pitch&family.
Signed-off-by: Gijs Vermeulen <gijsvrm@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 20:47:43 +01:00
Gijs Vermeulen 6ca93646be server: Add support for additional fields in set_console_output_info.
Signed-off-by: Gijs Vermeulen <gijsvrm@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 20:47:43 +01:00
Dmitry Timoshkov bbdd1be4f8 wineconsole: Fix "Select all" functionality in USER backend.
Selection is stored in character cell coords, not in pixels.

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-14 09:39:57 +01:00
Alexandre Julliard d84de4ca00 makefiles: Support specifying installed files in the top-level makefile.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-27 14:48:04 +01:00
Alexandre Julliard b4516a2f1f wineconsole: Set the correct font height even when no registry data is present.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-18 21:42:52 +02:00
Alexandre Julliard 07111f9691 wineconsole: Scale font with system DPI.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45955
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-10 20:46:14 +02:00
Alexandre Julliard 66bbfada5f wineconsole: Set a proper default for the font weight.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-10 20:43:42 +02:00
Alexandre Julliard cf3e22ed6b wineconsole: Try harder to get a scalable font.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-10 20:43:02 +02:00
Michael Stefaniuc 8969cf98cf wineconsole: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-13 19:10:01 +02:00
Fabian Maurer 37654ceba8 wineconsole: When loading settings for an application, respect a 0 in FontSize.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 19:53:43 +02:00
Alexandre Julliard d5f316bf0a makefiles: Disable binary installation in the individual makefiles on Wow64.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 14:16:33 +01:00
Austin English 863b446c50 wineconsole: Move WineHQ URLs to https.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 10:05:57 +01:00
Fabian Maurer b6cab7e202 wineconsole: Use proper size for combobox controls.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-31 18:55:51 +02:00
Alexandre Julliard 03e438dbf5 wineconsole: Remove duplicate line feeds.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-17 22:21:12 +02:00
Alexandre Julliard 9032849d06 wineconsole: Avoid some fatal errors.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-17 22:21:12 +02:00
Alexandre Julliard 29533e4844 wineconsole: Leave room for wide characters only when using a DBCS codepage.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-22 15:08:00 +01:00
Hugh McMaster f592f931b2 server: Get and set the console pop-up color attributes.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 23:31:53 +09:00
Hugh McMaster b9a79c095e wineconsole: Add 'PopupColors' support to the registry.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 23:31:53 +09:00
Hugh McMaster 2d7c73d802 server: Get and set the console color table.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 23:31:52 +09:00
Hugh McMaster b1e6d4c175 wineconsole: Replace hard-coded WCUSER_ColorMap with registry color_map.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-09 11:55:36 +09:00