aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* TigerVNC 1.8.0v1.8.01.8-branchPierre Ossman2017-05-163-4/+4
|
* Update Swedish translationGöran Uddeborg2017-05-151-114/+61
|
* Make RandR callbacks optional as they were beforeJan Grulich2017-05-091-3/+7
| | | | (cherry picked from commit 994296ebd00bb26a171febaef749d102f747c1e9)
* Update Serbian translationМирослав Николић2017-05-091-113/+99
| | | | (cherry picked from commit bf0b607993b70b2f634fc7f8a30e0f955f279e5e)
* Make sure install path for java classes is properly defined (re:#295)Brian P. Hinz2017-05-071-0/+2
|
* Fix for issue #455Brian P. Hinz2017-05-062-7/+8
|
* Set gateway host correctly when -via is usedBrian P. Hinz2017-05-061-1/+1
|
* Multithreaded decoder improvements (java viewer)Brian P. Hinz2017-05-063-11/+12
|
* Update Dutch translationBenno Schulenberg2017-05-051-118/+106
| | | | (cherry picked from commit 923bb976c79691ff063b7ca64db72427274ecd9a)
* Add Hungarian translationBalázs Úr2017-05-022-1/+660
| | | | (cherry picked from commit cba5f2d99cd63d1224526c030b563899d29b8624)
* Update French translationStéphane Aulery2017-05-021-119/+59
| | | | (cherry picked from commit 90bab337db587f6bb8643c08576ae1f889c3b20a)
* Update Turkish translationVolkan Gezer2017-05-021-559/+491
| | | | (cherry picked from commit 6755e9e5c4fdd48452ddaae1094484715ce6d676)
* Update Bulgarian translationAlexander Shopov2017-05-021-212/+153
| | | | (cherry picked from commit 8a4d48c2d1c2ebe8b620b24e839eae16e9b75373)
* Updated Vietnamese translationTrần Ngọc Quân2017-05-021-113/+99
| | | | (cherry picked from commit b6cfadc26766efb29394201be501c27301f2bf29)
* Update Russian translationYuri Kozlov2017-05-021-115/+101
| | | | (cherry picked from commit 554a84b16337a75cabd093e79c56850959734467)
* Update Brazilian Portuguese translationRafael Fontenelle2017-05-021-116/+101
| | | | (cherry picked from commit 8c022b83c59fda46831f657c2118bc9de9147af2)
* Update Ukrainian translationYuri Chornoivan2017-05-021-113/+99
| | | | (cherry picked from commit e4bc61e4a3dfd5a4396247eb323070ec8a38fede)
* Filter out alpha channel for normal draw() operationPierre Ossman2017-04-281-3/+11
| | | | | | | | | macOS actually uses the alpha channel on windows, so we can get visual artifacts if we feed it bogus alpha data. This filtering unfortunately causes some CPU usage, but it's necessary until we can make sure the framebuffer always contains proper 0xff for alpha. (cherry picked from commit a88991bdc8154bda8a805755dd82cb71c93b35df)
* Use correct color space for current monitorPierre Ossman2017-04-284-27/+50
| | | | | | | | We won't always be on the primary monitor, so check which color space we're actually using right now. For offscreen stuff we assume a standard sRGB color space. (cherry picked from commit 1669a2d5a15aa39313cb74eff4f62dfe14d136cd)
* Create new CGImage for each drawPierre Ossman2017-04-282-36/+46
| | | | | | | | The system expects these to be immutable, so changing the data after creation only works in some special cases. We need to recreate the CGImage object each time we've changed something. (cherry picked from commit 3b347313f1880c0744fd7aa29f45ea010dcfcf42)
* Use sub-image instead of clippingPierre Ossman2017-04-281-18/+18
| | | | | | It seems to be more efficient. (cherry picked from commit 2d0dc3abee27c9383ad3ab23e02ecf94fcdd7596)
* Only draw overlays when neededPierre Ossman2017-04-281-8/+12
| | | | | | Some backends don't like empty draw operations, so have an early check. (cherry picked from commit 0630434292b19898e6bd66e46cc4c6a641efdfe5)
* TigerVNC 1.7.90 (1.8.0 beta)v1.7.90Pierre Ossman2017-04-193-4/+4
|
* Update translation template filePierre Ossman2017-04-191-110/+56
|
* More fixes for java viewer performance regressionBrian P. Hinz2017-04-175-10/+26
|
* Limit size of cursor accepted by client.Michal Srb2017-04-062-0/+11
| | | | | | | | | Width and height of a cursor are received as U16 from network. Accepting full range of U16 values can cause integer overflows in multiple places. The worst is probably VLA in CMsgReader::readSetXCursor: rdr::U8 buf[width*height*4]; The width*height*4 can be too big to fit on stack or it can overflow into negative numbers. Both cases are undefined behaviour. Following writes to buf can overwrite other data on stack.
* Partial fix for java viewer performance regressionBrian P. Hinz2017-04-041-8/+8
|
* Merge branches 'fix-vencrypt-leak' and 'fixes-ssecurityplain' of ↵Pierre Ossman2017-03-302-1/+11
|\ | | | | | | https://github.com/michalsrb/tigervnc
| * Limit max username/password size in SSecurityPlain.Michal Srb2017-03-302-0/+10
| | | | | | | | | | | | | | | | | | | | | | Setting the limit to 1024 which should be still more than enough. Unlimited ulen and plen can cause various security problems: * Overflow in `is->checkNoWait(ulen + plen)` causing it to contine when there is not enough data and then wait forever. * Overflow in `new char[plen + 1]` that would allocate zero sized array which succeeds but returns pointer that should not be written into. * Allocation failure in `new char[plen + 1]` from trying to allocate too much and crashing the whole server. All those issues can be triggered by a client before authentication.
| * Fix checkNoWait logic in SSecurityPlain.Michal Srb2017-03-301-1/+1
| | | | | | | | | | | | | | Currently it proceeds only if there aren't enough data in queue and then it blocks waiting. Also the required amount to receive from network is (ulen + plen), not (ulen + plen + 2). This allowed not authenticated clients to deny service to everyone.
* | Delete underlying ssecurity in SSecurityVeNCrypt.Michal Srb2017-03-291-0/+2
|/ | | | Otherwise it gets leaked which would allow even not authenticated clients to exhaust server memory.
* Be more restrictive with shared memory mode bitsPierre Ossman2017-03-291-1/+1
| | | | Everyone else seems to get by with using 0600, so let's do the same.
* Avoid leaking shared memory via X serverPierre Ossman2017-03-291-0/+1
| | | | | It's not enough that we detach from the shared memory, we must also tell the X server to do so for it to be freed properly.
*-. Merge branches 'fix' and 'fix-double-free-fences' of ↵Pierre Ossman2017-03-297-14/+17
|\ \ | | | | | | | | | https://github.com/michalsrb/tigervnc
| | * Prevent double free by crafted fences.Michal Srb2017-03-272-1/+4
| | | | | | | | | | | | If client sent fence with some data, followed by fence with no data (length 0), the original fence data were freed, but the pointer kept pointing at them. Sending one more fence would attempt to free them again.
| * | Prevent leak of SecurityServer and ClientServer.Michal Srb2017-03-274-13/+10
| | | | | | | | | | | | | | | | | | They are created in SConnection's and CConnection's constructors but never destroyed. There is no reason for the indirection, so lets make them direct members.
| * | Fix crash from integer overflow in SMsgReader::readClientCutTextMichal Srb2017-03-271-0/+3
| |/ | | | | | | | | | | The length sent by client is U32, but is converted into int. If it was bigger than 0x7fffffff the resulting int is negative, it passes the check against maxCutText and later throws std::bad_alloc from CharArray which takes down the whole server. All the Streaming API deals with lengths in ints, so we can't tell it to skip that big amount of data. And it is not realistic to expect more than 2GB of clipboard data anyway. So lets just throw rdr::Exception that will disconnect this client and keep the server alive.
* / Update visible copyright year to 2017Samuel Mannehed2017-03-208-8/+8
|/
* Add Friulian to list of active languagesPierre Ossman2017-03-171-1/+1
| | | | Should have been included in the previous commit.
* Add Friulian translationFabio Tomat2017-03-131-0/+713
|
* Fix for "Invalid use of member 'stats' in static member function"Brian P. Hinz2017-03-101-2/+2
|
* Remove Windows version informationPierre Ossman2017-03-071-3/+2
| | | | It has been out of date for some time.
* Java client support for X CursorBrian P. Hinz2017-02-272-0/+60
|
* Fix for exception handling in decoder threads (java client)Brian P. Hinz2017-02-271-1/+1
|
* Java client support for cursors with full alphaBrian P. Hinz2017-02-279-79/+126
|
* Merge branch 'fps' of https://github.com/CendioOssman/tigervncPierre Ossman2017-02-249-162/+176
|\
| * Remove unused variable deferredUpdateTimerSetPierre Ossman2017-02-242-2/+1
| |
| * Send updates with a fixed intervalPierre Ossman2017-02-245-84/+66
| | | | | | | | | | | | | | | | This redesigns the old "deferred updates" mechanism in to a frame clock that governs how often updates are sent out. The goal is still the same, to aggregate updates and avoid pointless updates, all in the name of efficiency. This model should however be more robust against delays that sometimes causes us to miss the desired rate.
| * Avoid flicker with a rendered cursorPierre Ossman2017-02-241-9/+4
| | | | | | | | | | This is not the code path commonly used in performance sensitive scenarios, so favour correctness over performance.
| * Only update rendered cursor when requestedPierre Ossman2017-02-243-28/+26
| |