867c553378
Third Batch: Update files using ChatGPT 4o
2024-05-31 16:19:45 +02:00
René Genz
9e99dd52d6
Fix minor spelling mistakes
2017-11-02 01:01:44 +01:00
Henrik Andersson
0d707ae103
Fix sign-compare compiler warnings
2017-10-20 13:30:42 +02:00
Karl Mikaelsson
1f13c85583
Remove infrastructure to auto-generate proto.h
...
If proto.h is supposed to be auto-generated it should probably not be
present in the repo at all. Re-running cproto showed that proto.h has
been manually edited for quite some time, so this just makes this the
only workflow.
It also gets rid of a bit of #ifdefs, so that's nice.
2017-10-05 15:18:13 +02:00
Henrik Andersson
87d8d123b8
Rework the logging system
...
This commit will add a logging system to solve the problem that
one actually need to recompile rdesktop from source to enable
different debug logging.
- Same logging api for all kind of logging and messages to
end user.
- Adding -v for verbose output when running rdesktop.
- All messages are logged into a subject and with a type, eg:
logger(Keyboard, Notice, "Autos-electing %s based on locale.", locale);
- Debug logging is enabled trough a environment variable RDEKSTOP_DEBUG,
which specifies subjects of interest, comma separated. There is a special
subject named All which includes all subject for debug loggin. There is also
a simple logic opeartor '!' = NOT which can be used in combination like:
RDESKTOP_DEBUG=All,!Graphics,!Sound
Which would give debug log output for All subject except Graphics and Sound.
2017-01-26 14:19:40 +01:00
Henrik Andersson
2a6298ac63
Add support for _NET_WM_PING to be used by Window Managers.
2015-09-15 14:31:16 +02:00
Henrik Andersson
49a67bdfce
Add _NET_WM_PID and required WM_CLIENT_MACHINE properties to windows.
2015-09-15 12:38:28 +02:00
Peter Åstrand
7945532bfe
Similar to SeamlessRDPshell commit 1745. Avoid issues with topmost
...
("_NET_WM_STATE_ABOVE") windows relating to non-topmost windows.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1746 423420c4-83ab-492f-b58f-81f9feb106b5
2013-09-19 14:39:08 +00:00
Peter Åstrand
279cfc334d
Fix SeamlessRDP bugs related to maximized Windows:
...
* Fix ewmhints.c:ewmh_get_window_state was not working on 64 bit
platforms.
* In EWMH, HIDDEN overrides MAXIMIZED_VERT/MAXIMIZED_HORZ.
* Finally, if we receive a POSITION when window is maximized or
minimized, it's wrong to simply ignore the POSITION and simply set
the local values to what the server gave us. Instead, we are sending
back a new POSITION.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1739 423420c4-83ab-492f-b58f-81f9feb106b5
2013-09-17 13:11:22 +00:00
Peter Åstrand
27068f53f8
Updated the copyright notices for the things we have been working on.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1612 423420c4-83ab-492f-b58f-81f9feb106b5
2011-04-13 08:55:42 +00:00
Peter Åstrand
cf7d593ff8
Adjusted incorrect memcpy line in ewmh_del_icon, as suggested by
...
#1970489 .
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1554 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-18 08:02:24 +00:00
Peter Åstrand
19f88c925a
Applied rdesktop-x86_64-crash-fix.patch from #1970489 .
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1553 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-18 07:53:37 +00:00
Peter Åstrand
38e38e90a0
Applied:
...
[PATCH] _NET_WORKAREA is interpreted wrong on 64-bit machines (-g workarea)
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1550 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-14 15:21:45 +00:00
Peter Åstrand
281d7c9f06
Changed license to GPLv3
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1534 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-12 08:31:06 +00:00
Jay Sorg
f306257aa4
ran indent and removed some spaces at EOL
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1475 423420c4-83ab-492f-b58f-81f9feb106b5
2008-07-11 03:55:52 +00:00
Peter Åstrand
6718610779
Applied rdesktop part of patch:
...
[ 1715359 ] seamlessrdp topmost windows
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1442 423420c4-83ab-492f-b58f-81f9feb106b5
2008-03-06 15:39:21 +00:00
Pierre Ossman
81a75745cb
Implement support for icons in SeamlessRDP.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1412 423420c4-83ab-492f-b58f-81f9feb106b5
2007-06-18 12:00:34 +00:00
Jay Sorg
6091381a81
prefix BOOL with RD_
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1371 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-08 04:47:06 +00:00
Peter Åstrand
6e285f3440
ewmh_modify_state: Prevent using uninitialized state; simplify code.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1224 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-09 20:22:11 +00:00
Pierre Ossman
9babc7a978
Fix memory leak spotted by valgrind.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1182 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-22 09:49:21 +00:00
Pierre Ossman
8b98524485
Support for window groups and modal windows.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1176 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-21 14:42:25 +00:00
Pierre Ossman
54bd012205
Set _NET_WM_STATE property manually for withdrawn windows.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1158 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-17 15:16:52 +00:00
Pierre Ossman
8eabb673ff
Combine the functions to add and remove wm states into a single function.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1145 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-16 13:27:13 +00:00
Pierre Ossman
06b0c2eb6e
Set _NET_WM_STATE atoms via the window manager (as required by the spec.).
...
Unfortunately, this means we have to wait for the window to leave the
withdrawn state.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1142 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-16 08:41:53 +00:00
Pierre Ossman
70af626e05
Spec says that the wm doesn't have to respect requests to change
...
_NET_WM_STATE_HIDDEN, so we shouldn't rely on it.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1140 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-16 08:09:41 +00:00
Peter Åstrand
661a93ab08
Set _NET_WM_NAME
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1138 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-15 15:16:18 +00:00
Pierre Ossman
f4cb53875c
Handle popups without a parent by setting the window manager hints
...
_NET_WM_STATE_SKIP_TASKBAR and _NET_WM_STATE_SKIP_PAGER. That seems to get
the behaviour we want.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1136 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-15 15:10:21 +00:00
Peter Åstrand
1894873fb3
When a seamless window is moved to a new desktop, move all other seamless windows as well.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1118 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-15 06:42:57 +00:00
Peter Åstrand
2a804a8b4f
Implemented support for changing state normal/minimized/maximized via EWMH. Also, sending notifications to server when local state changes.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/branches/seamlessrdp-branch/rdesktop@1117 423420c4-83ab-492f-b58f-81f9feb106b5
2006-03-14 13:56:50 +00:00
Peter Åstrand
52f4561c54
Updated URL to EWMH spec.
...
Changed copyright, it's 2005 now.
Added (disabled) skel for sending _NET_MOVERESIZE_WINDOW.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1012 423420c4-83ab-492f-b58f-81f9feb106b5
2005-09-12 12:36:45 +00:00
Peter Åstrand
1320755f2b
Added missing c-basic-offset:s and license headers
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@962 423420c4-83ab-492f-b58f-81f9feb106b5
2005-08-03 10:56:16 +00:00
Peter Åstrand
fa69350cc2
Indent fixes.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@467 423420c4-83ab-492f-b58f-81f9feb106b5
2003-09-15 07:59:36 +00:00
Peter Åstrand
2dee4ee3df
Copyright update.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@466 423420c4-83ab-492f-b58f-81f9feb106b5
2003-09-08 08:30:35 +00:00
Peter Åstrand
033b815598
Added my copyright
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@465 423420c4-83ab-492f-b58f-81f9feb106b5
2003-09-08 08:27:57 +00:00
Peter Åstrand
c86e12e6dc
Fixed GCC compiler warnings.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@463 423420c4-83ab-492f-b58f-81f9feb106b5
2003-09-05 08:34:19 +00:00
Jay Sorg
fb2ce8bcf4
more g_ prefix for global vars
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@449 423420c4-83ab-492f-b58f-81f9feb106b5
2003-08-27 22:51:33 +00:00
Matt Chapman
1e8a4d5279
Fix a few compile warnings.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@299 423420c4-83ab-492f-b58f-81f9feb106b5
2003-01-30 11:20:30 +00:00
Peter Åstrand
f5ff597cc6
Including rdesktop.h after Xlib.h.
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@265 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-19 10:38:53 +00:00
Peter Åstrand
daf1ac6752
Support for extended WM hint _NET_WORKAREA, via -g workarea
...
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@262 423420c4-83ab-492f-b58f-81f9feb106b5
2002-11-18 18:12:49 +00:00