Commit Graph

115 Commits

Author SHA1 Message Date
Alexandre Julliard f55db7882d server: Add link_name and unlink_name object operations.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-04 21:07:19 +09:00
Hugh McMaster 8ac323f61b wineconsole: Send the largest console window size information to the server.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 17:07:34 +01:00
Hugh McMaster b61badcc90 server: Add console font information.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:24 +09:00
Sebastian Lackner 9e66d84585 server: Add a missing grab_object in cgwe_enum.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 16:39:07 +09:00
Sebastian Lackner 51d17bfd2f server: Remove a wrong release_object in write_console_input.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 10:58:45 +09:00
Sebastian Lackner 453d71b9f7 server: Avoid invalid memory access when create_console_input fails. 2015-08-19 20:19:58 +09:00
Sebastian Lackner 0f133aedd5 server: Avoid invalid memory accesses when create_console_output fails. 2015-08-19 20:19:58 +09:00
Alexandre Julliard 837b39b202 server: Add read and write fd member functions.
Also rename no_flush() to no_fd_flush() for consistency.
2015-05-06 09:07:42 +09:00
Sebastian Lackner 9aad600d86 server: Always remove inflight fd if alloc_console fails. 2014-11-20 22:33:29 +09:00
Sebastian Lackner d00e8ebda7 server: Avoid calling close on negative value in create_console_output handler (Coverity). 2014-11-20 22:33:10 +09:00
Sebastian Lackner 609d43e408 server: Avoid leaking file descriptors if create_console_input fails. 2014-11-18 14:12:29 +09:00
Alexandre Julliard 39644bb309 server: Pass a wait queue entry to the signaled/satisfied object functions. 2013-08-27 23:48:36 +02:00
Nikolay Sivov 2ef7e5fdae server: Fix string length used with strncmpW(). 2013-08-27 21:30:02 +02:00
Eric Pouech 2a219b948c kernel32: Added support for insert/overwrite modes while editing a line. 2011-01-19 12:57:46 +01:00
Eric Pouech 91e3a40e41 server: Removed the no longer used bare parameter out of get_console_mode request. 2010-11-08 13:30:25 +01:00
Eric Pouech 04607ca632 server: Fix console creation logic. 2010-09-22 12:43:34 +02:00
Alexandre Julliard 1cb09660ce server: Fix a couple of leaks in the new console code. 2010-09-19 12:27:12 +02:00
Eric Pouech 687b3dc25c server: Ensure we set proper errors when getting a NULL fd out of a handle. 2010-09-18 13:03:07 +02:00
Eric Pouech a2322e3735 kernel32: Fixed a couple of cases where the console was not reset in cooked mode after a bare console has been created. 2010-09-13 14:45:18 -05:00
Eric Pouech daaee9e50f server: Properly return the errors for bare console objects. 2010-09-01 14:01:03 +02:00
Eric Pouech 2f7af56d41 server: Simplify the wineconsole event notification code. 2010-09-01 14:01:02 +02:00
Eric Pouech 4fdcdefccf server: Report in get_console_mode request whether it's a bare console or not. 2010-09-01 14:01:02 +02:00
Eric Pouech 6f32644aa0 server: Allow a screen buffer to be attached to a given fd (for bare consoles). 2010-09-01 14:01:02 +02:00
Eric Pouech b39a8d9ea2 server: Enhanced the console input object so that it doesn't require a wineconsole to be running. 2010-09-01 14:01:02 +02:00
Eric Pouech 1f25534628 server: Streamline a bit the console allocation code. 2010-08-30 17:52:11 +02:00
Eric Pouech 465f3d1a85 server: Use generic file access rights (inside of console specific ones) for console management. 2010-08-30 17:51:32 +02:00
XueFeng Chang 4bc7c59f44 server: Check create_event return value in console creation. 2010-02-23 12:09:25 +01:00
Francois Gouget d6abd3835f server: Remove an unneeded cast. 2008-12-01 13:01:40 +01:00
Kirill K. Smirnov 6e76cc7622 server: Properly notify renderer while activating another screen buffer. 2007-12-18 13:30:46 +01:00
Alexandre Julliard 8382eb01b2 server: Return correct object types in the get_directory_entry request. 2007-12-05 18:16:42 +01:00
Rob Shearman dd9e392796 server: Use the security descriptor passed in when creating events. 2007-10-25 12:47:22 +02:00
Lionel Debroux 2f89fe7b37 server: Remove redundant NULL checks before free (found by Smatch). 2007-10-22 12:36:08 +02:00
Rob Shearman c1707d8938 server: Add get_sd and set_sd object operations to allow the security descriptor to be stored somewhere other than server memory, such as on disk. 2007-10-04 12:30:52 +02:00
Kirill K. Smirnov f3e13174c7 wineconsole: Implement GetConsoleWindow. 2007-08-24 12:03:22 +02:00
Alexandre Julliard 627ca4079e server: Stop exporting the console_input structure. Get rid of console.h. 2007-05-11 12:46:32 +02:00
Kirill K. Smirnov 9d74661856 server: Move console codepages to the server. 2007-05-11 12:41:29 +02:00
Kirill K. Smirnov 545d7f130c server: Fix access check in screen buffer handling. 2007-05-10 14:23:37 +02:00
Alexandre Julliard 7e71c1ddee server: Add an open_file() function to the object operations. 2007-03-22 11:44:29 +01:00
Alexandre Julliard 31b02bbd1f server: Avoid crash in alloc_console when the process has no parent. 2007-01-04 09:41:14 +01:00
Alexandre Julliard 8700c4341b server: Get rid of the server-side file descriptor cache management. 2006-11-02 20:52:05 +01:00
Michael Stefaniuc 5cecceccb2 server: Remove redundant NULL check before free() (found by Smatch). 2006-10-10 12:56:16 +02:00
Michael Stefaniuc a624977f21 server: Fix some comparisons between signed and unsigned. 2006-07-26 11:11:04 +02:00
Alexandre Julliard 0f273c17ff server: Added data_size_t type to represent sizes in the server protocol.
Make it an unsigned int to save some space on Win64, if we need to
transfer more than 4Gb over the server pipe something is seriously
wrong.
2006-07-26 11:11:03 +02:00
Mike McCormack fac494c822 server: open_console's from field should be a handle. 2006-06-07 14:30:28 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman 7a3df4d097 server: Free ptr in console_input_append_hist.
Free ptr in console_input_append_hist before returning, otherwise it
will be leaked (found by Coverity).
Remove the setting of last error on mem_alloc failure, as it is already
done in mem_alloc.
2006-04-07 13:08:49 +02:00
Eric Pouech 2e0b5336f6 Suppress some false-positives reported by valgrind. 2006-01-27 16:17:51 +01:00
Alexandre Julliard b4fa1b914c server: Fixed console access rights handling. 2005-12-22 13:54:34 +01:00
Alexandre Julliard 28beba31d6 server: Added infrastructure for access rights mapping. 2005-12-12 14:57:40 +01:00
Alexandre Julliard 24560e70bb server: Make alloc_handle use attributes instead of inherit flag. 2005-12-09 13:58:25 +01:00