Pierre Ossman
337dbc3922
Return std::string instead of dynamic allocations
We mostly use classical C strings, but the memory management around them
can get confusing and error prone. Let's use std::string for the cases
where we need to return a newly allocated string.
il y a 1 an
Catherine Tower
645c1f2aea
Ignore whitespace around components of host-and-port specification
This is to make the code more tolerant of typos when entering a hostname
il y a 1 an
Pierre Ossman
7caaea1040
Fix display/port switch at display 100
168b92c
broke the handling that assumes display 100 and above are
actually a port number.
il y a 8 ans
Pierre Ossman
168b92c71d
Clean up getHostAndPort()
It now does more validation, and handles unescaped IPv6 addresses
better.
il y a 8 ans
Pierre Ossman
3270a59ae4
Catch when no host was specified a bit more gracefully.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4308 3789f03b-4d11-0410-bbf8-ca57d06f2519
il y a 13 ans
Adam Tkac
d36b626bbb
Revert previous commit (r3889). Windows code has to be cleaned before this
change.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3890 3789f03b-4d11-0410-bbf8-ca57d06f2519
il y a 14 ans
Adam Tkac
97abe8a548
Replace rfb::strDup by safe_strdup and remove rfb::strFree in favor of free()
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3889 3789f03b-4d11-0410-bbf8-ca57d06f2519
il y a 14 ans
Constantin Kaplinsky
a2adc8d4cf
Migrating to new directory structure adopted from the RealVNC's source tree. More changes will follow.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@589 3789f03b-4d11-0410-bbf8-ca57d06f2519
il y a 18 ans
Constantin Kaplinsky
de179d4ed7
The "rfb" library merged with VNC 4.1.1 code.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@522 3789f03b-4d11-0410-bbf8-ca57d06f2519
il y a 18 ans
Constantin Kaplinsky
47ed8d321c
Initial revision
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@2 3789f03b-4d11-0410-bbf8-ca57d06f2519
il y a 19 ans