Commit Graph

18 Commits

Author SHA1 Message Date
René Genz
9e99dd52d6 Fix minor spelling mistakes 2017-11-02 01:01:44 +01: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
Peter Åstrand
b638882347 Include emails in copyright statements.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1615 423420c4-83ab-492f-b58f-81f9feb106b5
2011-04-13 11:13:04 +00:00
Peter Åstrand
add482fcef Avoid gcc warning when using DEBUG; RD_HBITMAP is really a pointer.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1542 423420c4-83ab-492f-b58f-81f9feb106b5
2010-01-12 15:16:31 +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
Peter Åstrand
bf4c26c110 Two minor fixes to avoid compiler warnings.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1477 423420c4-83ab-492f-b58f-81f9feb106b5
2008-09-26 11:32:43 +00:00
Jay Sorg
88855ddcbf update the copyright year
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1474 423420c4-83ab-492f-b58f-81f9feb106b5
2008-07-11 03:51:23 +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
Jay Sorg
797df4fa02 copyright year update
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1364 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-04 05:39:39 +00:00
Jay Sorg
b670bdacfa RD_ prefix and win32 compatibility for core files
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1363 423420c4-83ab-492f-b58f-81f9feb106b5
2007-01-04 04:55:56 +00:00
Jay Sorg
7bf79518c0 idx should be uint16
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1221 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-08 04:19:11 +00:00
Jay Sorg
effa62b9c6 pstcache_save_bitmap should use uint8 for width and height
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1220 423420c4-83ab-492f-b58f-81f9feb106b5
2006-04-08 03:59:24 +00:00
Peter Åstrand
acffcd7e9c Applied patch #1390148 from Ilya Konstantinov: Refactoring of color depth code.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@1041 423420c4-83ab-492f-b58f-81f9feb106b5
2006-01-24 12:40:24 +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
Jeroen Meijer
a78d2b3ec9 optimise persistent bitmap caching and hopefully improve the terminology
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@829 423420c4-83ab-492f-b58f-81f9feb106b5
2005-03-08 00:23:02 +00:00
Jeroen Meijer
4fa5233b39 fix huge persistent cache files bug
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@807 423420c4-83ab-492f-b58f-81f9feb106b5
2004-12-25 13:37:08 +00:00
Peter Åstrand
dc156f8fcd Indent fixes
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@737 423420c4-83ab-492f-b58f-81f9feb106b5
2004-07-12 21:07:39 +00:00
Jay Sorg
7f836f0384 added persistant bitmap chaching from Jeroen Meijer, slightly modified
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@724 423420c4-83ab-492f-b58f-81f9feb106b5
2004-06-27 17:51:54 +00:00