aboutsummaryrefslogtreecommitdiffstats
path: root/unix/tx
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'stdexcept' of github.com:CendioOssman/tigervncPierre Ossman2024-11-071-1/+3
|\
| * Use standard library naming for exceptionsPierre Ossman2024-11-061-1/+1
| | | | | | | | | | This makes things more consistent since we mix with the standard library exceptions so often.
| * Use standard exception classesPierre Ossman2024-11-061-0/+2
| | | | | | | | | | Use the more specific already included exception classes for common errors to keep things more understandable.
* | Avoid invalid XFree for XClassHintPierre Ossman2024-10-221-0/+1
|/ | | | | | It seems XGetClassHint() doesn't set the pointers to NULL if there is no name, so we need to make sure it is cleared beforehand. Otherwise we can get an invalid pointer given to XFree().
* Merge branch 'errno' of github.com:CendioOssman/tigervncPierre Ossman2024-10-091-1/+1
|\
| * Consistently use SocketException for socket errorsPierre Ossman2024-10-091-1/+1
| | | | | | | | | | | | The behaviour is not consistent as Windows doesn't use errno for socket errors, but Unix systems do. Always use the same exception to keep things somewhat sane.
* | Add clipboard support to x0vncserverGaurav Ujjwal2024-09-252-6/+10
|/
* Avoid shadowing variablesPierre Ossman2024-06-241-2/+2
| | | | | It's a source of confusion and possibly bugs to reuse the same variable name for multiple things.
* Mark overridden virtual functionsPierre Ossman2024-06-244-4/+4
| | | | | Use the new "override" keyword to properly differentiate between new virtual methods, and existing virtual methods being overridden.
* Use nullptr in all C++ codePierre Ossman2024-06-246-20/+26
| | | | | It's more readable than 0, and a bit safer than NULL, so let's try to follow modern norms.
* Prefer target_include_directories()Pierre Ossman2023-03-311-5/+5
| | | | | It is more specific, and it properly sets up propagation when include directories also need to be used further down a dependency chain.
* Use standard C string functionsPierre Ossman2023-02-041-2/+2
| | | | It's just confusing that we have our own variety that isn't compatible.
* Remove custom CharArray typePierre Ossman2023-02-041-0/+1
| | | | | It has now been replaced, mostly by std::string, so remove the actual type definition.
* Use std::string instead of CharArrayPierre Ossman2023-02-042-19/+19
| | | | | Let's use a more common type instead of something homegrown. Should be more familiar to new developers.
* Use stdint typesPierre Ossman2023-02-012-2/+1
| | | | | Avoid having our own custom stuff and instead use the modern, standard types, for familiarity.
* Explicitly mark unused parametersPierre Ossman2023-01-045-9/+11
| | | | | This allows us to separate accidentally unused, from explicitly unused parameters, which allows us to turn on such checks in the compiler.
* Mark system include paths correctlyPierre Ossman2023-01-041-1/+1
| | | | | This makes sure the compiler doesn't complain about problems in those files.
* Be consistent in including config.hPierre Ossman2021-12-301-0/+4
| | | | | | The generally recommended way is to include it from source files, not headers. We had a mix of both. Let's try to be consistent and follow the recommended way.
* Fix memory leaksJan Grulich2018-11-201-7/+9
|
* Remove support for Lynx/OSPeter Åstrand (astrand)2017-11-081-5/+0
|
* spelling fixesklemens2017-01-281-1/+1
|
* Fix some bad signed/unsigned mismatchesPierre Ossman2015-06-171-4/+4
|
* Remove all unused TX widgetsPierre Ossman2014-07-0711-1487/+1
|
* Add a global event handler so that we can intercept custom eventsPierre Ossman2014-06-252-0/+28
| | | | | | that aren't for a specific window. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5184 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Some applications probe for clipboard formats using thePierre Ossman2013-11-061-0/+2
| | | | | | | | | trial-and-error method rather than asking for TARGETS. We need to make sure we properly report unsupported formats back to these. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@5137 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Remove unused autotools build systemDRC2011-06-241-10/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4540 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Split out the pixel format conversion magic to its own class and makePierre Ossman2011-03-081-1/+1
| | | | | | | | TransImageGetter be just an ImageGetter interface to that functionality. This allows more flexible use of the pixel conversion routines. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4338 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Get the Unix stuff to build using CMake. Based on a patch by Henrik Andersson.Pierre Ossman2011-03-081-0/+13
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4336 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] TXViewport: check if we need another scrollbar after adding oneAdam Tkac2011-01-171-4/+13
| | | | | | | Thanks to Paulo Zanoni for the patch. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4234 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] TXViewport: set the window max width/height considering the scrollbarsAdam Tkac2011-01-171-0/+11
| | | | | | | Thanks to Paulo Zanoni for the patch. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4233 3789f03b-4d11-0410-bbf8-ca57d06f2519
* [Bugfix] Don't crash in TXImage::updateColourMap function due NULL pointerAdam Tkac2010-03-041-1/+2
| | | | | | | | | | | | dereference. Thanks to Jan Gorig for the patch. Main problem is that DesktopWindow::setColourMapEntries starts timer and after it expires it calls im->updateColourMap. During timer period format might be changed to full color thus "tig" pointer dereferenced in updateColourMap() becomes invalid. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4003 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Make unix/ subtree compilable.Adam Tkac2009-09-041-1/+2
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/unified_buildsys@3893 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Revert previous commit (r3889). Windows code has to be cleaned before thisAdam Tkac2009-09-044-4/+4
| | | | | | | change. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3890 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Replace rfb::strDup by safe_strdup and remove rfb::strFree in favor of free()Adam Tkac2009-09-044-4/+4
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3889 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Fix generation of native pixel format so the that internal state is correct.Pierre Ossman2009-04-201-13/+19
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3783 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Revert r3657 (import of autogenerated) files.Adam Tkac2009-03-131-528/+0
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3675 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Import autogenerated files for unix/ and common/ subdirs to make sourceAdam Tkac2009-03-111-0/+528
| | | | | | | | compilable without GNU autotools. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3657 3789f03b-4d11-0410-bbf8-ca57d06f2519
* When updating X11 window title, update WM_ICON_NAME and WM_CLASS asPeter Åstrand2009-01-151-1/+8
| | | | | | | | | | well. Tested in ThinLinc since 2008-01-10. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3550 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Implemented support for DesktopName pseudo encoding, which allowsPeter Åstrand2009-01-152-0/+7
| | | | | | | | | | updating the desktop name on the fly. Tested in ThinLinc since 2008-01-07. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3549 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Include headers in Makefile.am-s in unix/* to fix "make dist" commandAdam Tkac2008-07-141-2/+5
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2625 3789f03b-4d11-0410-bbf8-ca57d06f2519
* - generate Makefile.in in unix/* subtree from Makefile.amAdam Tkac2008-04-172-17/+6
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2490 3789f03b-4d11-0410-bbf8-ca57d06f2519
* After discussion with Constantin reverted 2433, 2434, 2436, 2437 and 2438Adam Tkac2008-03-224-14/+17
| | | | | | | | (build automation and i18n changes). Latest server changes (2439 and 2440) are OK. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2442 3789f03b-4d11-0410-bbf8-ca57d06f2519
* - handle HAVE_MITSHM macro through config.hAdam Tkac2008-03-202-0/+7
| | | | | | | | | | | - removed unix/intl stuff and added unix/vncviewer/gettext.h file which cares about platform independent translations - removed unwanted config.rpath and ABOUT-NLS (autogenerated) - moved unix/po to top directory - internationalization works again git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2434 3789f03b-4d11-0410-bbf8-ca57d06f2519
* - use Makefile.am and configure.acAdam Tkac2008-03-202-17/+7
| | | | | | | | - removed unwanted files - internationalization and jpeg library doesn't work yet git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2433 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Added some missing #includes whose prevent build source with gcc 4.3Adam Tkac2008-03-191-0/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2431 3789f03b-4d11-0410-bbf8-ca57d06f2519
* viewer could aborted when only one scrollbar should be usedAdam Tkac2008-03-142-7/+22
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2420 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Updated build scripts in unix/ for new directory layout.Constantin Kaplinsky2006-06-021-1/+1
| | | | git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@617 3789f03b-4d11-0410-bbf8-ca57d06f2519
* Migrating to new directory structure adopted from the RealVNC's source tree. ↵Constantin Kaplinsky2006-05-2517-0/+2646
More changes will follow. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@590 3789f03b-4d11-0410-bbf8-ca57d06f2519