gitso

gitso Commit Details


Date:2008-11-11 19:19:46 (16 years 1 month ago)
Author:gerberad
Branch:master
Commit:0e6ea2bf05c687b451e402ea07ce31a5897234d9
Parents: 3b259575e7e550156239992d836d99318199729b
Message:Updated license information for our code as well as third party source and copyright information. Updated Mac port for new icons, threads, build script, extra flags, etc.

Changes:

File differences

gitso/trunk/AboutWindow.py
11
22
33
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
428
529
630
731
832
933
10
11
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
1251
1352
1453
......
3473
3574
3675
37
38
39
40
41
42
4376
4477
4578
import wx
import os, os.path, sys, cStringIO
"""
Gisto - Gitso is to support others
Gitso is a utility to facilitate the connection of VNC
@author: Aaron Gerber ('gerberad') <gerberad@gmail.com>
@author: Derek Buranen ('burner') <derek@buranen.info>
@copyright: 2008
Gitso is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Gitso is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Gitso. If not, see <http://www.gnu.org/licenses/>.
"""
class InfoPage(wx.Panel):
def __init__(self, parent):
wx.Panel.__init__(self, parent)
infostring = "Authors:" + "\n\tAaron Gerber\n\tDerek Buranen"
infostring = infostring + "\n\nContributors:" + "\n\tNick Verbeck"
infostring = infostring + "\n\nCopyright 2007 - 2008"
infostring = infostring + "\n\nCopyright (C) 2007 - 2008 by Aaron Gerber and Derek Buranen"
if sys.platform == "darwin":
infostring = infostring + "\n\n+++++++++++++++++++++++"
infostring = infostring + "\nChicken Of The VNC:"
infostring = infostring + "\n\tCopyright (C) 2002-2006 by Jason Harris"
infostring = infostring + "\n\tCopyright (C) 1998-2000 by Helmut Maierhofer"
infostring = infostring + "\n\nlibJPEG: Independent JPEG Group's JPEG software"
infostring = infostring + "\n\tCopyright (C) 1991-1998, Thomas G. Lane."
infostring = infostring + "\n\nOSXvnc:"
infostring = infostring + "\n\tCopyright (C) 2002-2007 by Redstone Software: "
infostring = infostring + "\n\t\tDoug Simons and Jonathan Gillaspie"
infostring = infostring + "\n\nechoWare:"
infostring = infostring + "\n\tCopyright (C) 2004-2007 Echogent Systems, Inc"
info = wx.TextCtrl(self, -1, infostring, style=wx.TE_MULTILINE | wx.ST_NO_AUTORESIZE)
pagesizer = wx.BoxSizer(wx.VERTICAL);
class AboutWindow(wx.Frame):
"""
About Window for Gitso
@author: Derek Buranen
@author: Aaron Gerber
"""
def __init__(self, parent, id, title, paths):
"""
Setup About Window for Gitso
gitso/trunk/ArgsParser.py
55
66
77
8
8
99
10
10
11
12
13
14
15
16
17
18
19
20
21
22
23
1124
1225
1326
......
3750
3851
3952
40
53
54
55
56
57
58
59
4160
4261
4362
Gitso is a utility to facilitate the connection of VNC
@author: Aaron Gerber ('gerberad')
@author: Aaron Gerber ('gerberad') <gerberad@gmail.com>
@author: Derek Buranen ('burner') <derek@buranen.info>
@copyright: 2007-2008
@copyright: 2008
Gitso is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Gitso is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Gitso. If not, see <http://www.gnu.org/licenses/>.
"""
import os, sys, signal, os.path, urllib
while i < len(sys.argv):
if sys.argv[i] == '--dev': # --dev
if sys.platform == "darwin":
self.paths['resources'] = 'arch/osx/'
if not os.path.exists('build/OSXvnc'):
os.popen("mkdir build; cp arch/osx/OSXvnc.tar.gz build ; cd build ; tar xvfz OSXvnc.tar.gz > /dev/null")
if not os.path.exists('build/vncviewer'):
os.popen("cp arch/osx/vncviewer.tar.gz build ; cd build ; tar xvfz vncviewer.tar.gz > /dev/null")
if not os.path.exists('build/cotvnc.app'):
os.popen("cp arch/osx/cotvnc.app.tar.gz build ; cd build ; tar xvfz cotvnc.app.tar.gz > /dev/null")
self.paths['resources'] = 'build/'
elif sys.platform == "w32":
self.paths['resources'] = 'arch/win32/'
else:
gitso/trunk/ConnectionWindow.py
11
22
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
326
427
528
#! /usr/bin/env python
"""
Gisto - Gitso is to support others
Gitso is a utility to facilitate the connection of VNC
@author: Aaron Gerber ('gerberad') <gerberad@gmail.com>
@author: Derek Buranen ('burner') <derek@buranen.info>
@copyright: 2008
Gitso is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Gitso is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Gitso. If not, see <http://www.gnu.org/licenses/>.
"""
import wx
import os, sys, signal, os.path, time, thread
import AboutWindow, GitsoThread
gitso/trunk/Gitso.py
55
66
77
8
8
99
10
10
11
12
13
14
15
16
17
18
19
20
21
22
23
1124
1225
1326
Gitso is a utility to facilitate the connection of VNC
@author: Aaron Gerber ('gerberad')
@author: Aaron Gerber ('gerberad') <gerberad@gmail.com>
@author: Derek Buranen ('burner') <derek@buranen.info>
@copyright: 2007-2008
@copyright: 2008
Gitso is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Gitso is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Gitso. If not, see <http://www.gnu.org/licenses/>.
"""
import wx
gitso/trunk/GitsoThread.py
11
22
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
326
427
528
#! /usr/bin/env python
"""
Gisto - Gitso is to support others
Gitso is a utility to facilitate the connection of VNC
@author: Aaron Gerber ('gerberad') <gerberad@gmail.com>
@author: Derek Buranen ('burner') <derek@buranen.info>
@copyright: 2008
Gitso is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Gitso is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Gitso. If not, see <http://www.gnu.org/licenses/>.
"""
import threading, time
import os, sys, signal, os.path
import Processes
gitso/trunk/Processes.py
11
22
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
326
427
528
......
2649
2750
2851
29
30
31
32
33
34
35
36
52
53
54
3755
3856
3957
#! /usr/bin/env python
"""
Gisto - Gitso is to support others
Gitso is a utility to facilitate the connection of VNC
@author: Aaron Gerber ('gerberad') <gerberad@gmail.com>
@author: Derek Buranen ('burner') <derek@buranen.info>
@copyright: 2008
Gitso is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Gitso is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Gitso. If not, see <http://www.gnu.org/licenses/>.
"""
import wx
import os, sys, signal, os.path
def giveSupport(self):
if sys.platform == 'darwin':
if os.path.exists("/Applications/Utilities/X11.app") :
os.spawnl(os.P_WAIT, '/usr/bin/open', '/usr/bin/open', '/Applications/Utilities/X11.app')
dlg = wx.MessageDialog(self.window, "If it doesn't open shortly, please start it manually.", "Please wait while X11.app starts", wx.OK|wx.CENTRE|wx.ICON_INFORMATION)
dlg.ShowModal()
self.returnPID = os.spawnlp(os.P_NOWAIT, '%svncviewer/vncviewer' % self.paths['resources'], '%svncviewer/vncviewer' % self.paths['resources'], '-listen', '0')
else:
dlg = wx.MessageDialog(self.window, "We were unable to find X11.app in /Applications/Utilities", "To Give Support you need X11.app", wx.OK|wx.CENTRE|wx.ICON_ERROR)
dlg.ShowModal()
vncviewer = '%scotvnc.app/Contents/MacOS/cotvnc' % self.paths['resources']
print vncviewer
self.returnPID = os.spawnlp(os.P_NOWAIT, vncviewer, vncviewer, '--listen')
elif sys.platform.find('linux') != -1:
self.returnPID = os.spawnlp(os.P_NOWAIT, 'vncviewer', 'vncviewer', '-listen')
elif sys.platform == 'win32':
gitso/trunk/arch/osx/Readme.rtfd/TXT.rtf
1
1
22
33
4
4
55
66
77
......
1414
1515
1616
17
17
1818
1919
2020
{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf270
{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf350
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;\red1\green6\blue255;\red0\green15\blue255;}
\margl1440\margr1440\vieww12020\viewh15320\viewkind0
\margl1440\margr1440\vieww12020\viewh15120\viewkind0
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
\f0\fs24 \cf0 \
\b0 is to support others.\
\fs36 Version
\b 0.5
\b 0.6
\b0\fs24 \
\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural\pardirnatural
\cf0 \
gitso/trunk/arch/osx/cotvnc-copyright.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
Chicken Of The VNC
Copyright (C) 2002-2006 by Jason Harris
Copyright (C) 1998-2000 by Helmut Maierhofer
Icon generously provided by Cale Peeples cale@dumbculture.com
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 19yy <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) 19yy name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
gitso/trunk/arch/osx/cotvnc-gitso.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
Only in .: .DS_Store
Only in ./Chicken of the VNC.xcodeproj: gerberad.mode1v3
Only in ./Chicken of the VNC.xcodeproj: gerberad.pbxuser
diff -aurr ./Chicken of the VNC.xcodeproj/project.pbxproj ../cotvnc/Chicken of the VNC.xcodeproj/project.pbxproj
--- ./Chicken of the VNC.xcodeproj/project.pbxproj2008-11-10 21:37:35.000000000 -0700
+++ ../cotvnc/Chicken of the VNC.xcodeproj/project.pbxproj2007-03-28 18:52:50.000000000 -0600
@@ -1209,7 +1209,6 @@
29B97313FDCFA39411CA2CEA /* Project object */ = {
isa = PBXProject;
buildConfigurationList = E20426EA087531990026AA26 /* Build configuration list for PBXProject "Chicken of the VNC" */;
-compatibilityVersion = "Xcode 2.4";
hasScannedForEncodings = 1;
knownRegions = (
English,
@@ -1220,7 +1219,6 @@
);
mainGroup = 29B97314FDCFA39411CA2CEA /* Chicken of the VNC */;
projectDirPath = "";
-projectRoot = "";
targets = (
7F7A93E305E71B5C00E20416 /* Chicken of the VNC */,
7F916AA40BB6E98900E31F20 /* libjpeg */,
diff -aurr ./Resources/English.lproj/OSX_RFBViewer.nib/classes.nib ../cotvnc/Resources/English.lproj/OSX_RFBViewer.nib/classes.nib
--- ./Resources/English.lproj/OSX_RFBViewer.nib/classes.nib2008-11-07 22:54:10.000000000 -0700
+++ ../cotvnc/Resources/English.lproj/OSX_RFBViewer.nib/classes.nib2005-04-14 18:46:42.000000000 -0600
@@ -1,90 +1,130 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-<key>IBClasses</key>
-<array>
-<dict>
-<key>ACTIONS</key>
-<dict>
-<key>changeRendezvousUse</key>
-<string>id</string>
-<key>showConnectionDialog</key>
-<string>id</string>
-<key>showHelp</key>
-<string>id</string>
-<key>showListenerDialog</key>
-<string>id</string>
-<key>showNewConnectionDialog</key>
-<string>id</string>
-<key>showPreferences</key>
-<string>id</string>
-<key>showProfileManager</key>
-<string>id</string>
-</dict>
-<key>CLASS</key>
-<string>AppDelegate</string>
-<key>LANGUAGE</key>
-<string>ObjC</string>
-<key>OUTLETS</key>
-<dict>
-<key>mInfoVersionNumber</key>
-<string>NSTextField</string>
-<key>mRendezvousMenuItem</key>
-<string>NSMenuItem</string>
-</dict>
-<key>SUPERCLASS</key>
-<string>NSObject</string>
-</dict>
-<dict>
-<key>CLASS</key>
-<string>NSObject</string>
-<key>LANGUAGE</key>
-<string>ObjC</string>
-</dict>
-<dict>
-<key>ACTIONS</key>
-<dict>
-<key>makeConnectionFullscreen</key>
-<string>id</string>
-<key>makeConnectionWindowed</key>
-<string>id</string>
-<key>manuallyUpdateFrameBuffer</key>
-<string>id</string>
-<key>openNewTitlePanel</key>
-<string>id</string>
-<key>openOptions</key>
-<string>id</string>
-<key>pasteViaKeypress</key>
-<string>id</string>
-<key>sendBreakKeyCode</key>
-<string>id</string>
-<key>sendCmdOptEsc</key>
-<string>id</string>
-<key>sendCtrlAltDel</key>
-<string>id</string>
-<key>sendDeleteKeyCode</key>
-<string>id</string>
-<key>sendExecuteKeyCode</key>
-<string>id</string>
-<key>sendInsertKeyCode</key>
-<string>id</string>
-<key>sendPauseKeyCode</key>
-<string>id</string>
-<key>sendPrintKeyCode</key>
-<string>id</string>
-<key>toggleFullscreenMode</key>
-<string>id</string>
-</dict>
-<key>CLASS</key>
-<string>FirstResponder</string>
-<key>LANGUAGE</key>
-<string>ObjC</string>
-<key>SUPERCLASS</key>
-<string>NSObject</string>
-</dict>
-</array>
-<key>IBVersion</key>
-<string>1</string>
-</dict>
-</plist>
+{
+ IBClasses = (
+ {
+ ACTIONS = {
+ changeRendezvousUse = id;
+ showConnectionDialog = id;
+ showHelp = id;
+ showListenerDialog = id;
+ showNewConnectionDialog = id;
+ showPreferences = id;
+ showProfileManager = id;
+ };
+ CLASS = AppDelegate;
+ LANGUAGE = ObjC;
+ OUTLETS = {mInfoVersionNumber = NSTextField; mRendezvousMenuItem = NSMenuItem; };
+ SUPERCLASS = NSObject;
+ },
+ {
+ ACTIONS = {
+ makeConnectionFullscreen = id;
+ makeConnectionWindowed = id;
+ manuallyUpdateFrameBuffer = id;
+ openNewTitlePanel = id;
+ openOptions = id;
+ pasteViaKeypress = id;
+ sendBreakKeyCode = id;
+ sendCmdOptEsc = id;
+ sendCtrlAltDel = id;
+ sendDeleteKeyCode = id;
+ sendExecuteKeyCode = id;
+ sendInsertKeyCode = id;
+ sendPauseKeyCode = id;
+ sendPrintKeyCode = id;
+ toggleFullscreenMode = id;
+ };
+ CLASS = FirstResponder;
+ LANGUAGE = ObjC;
+ SUPERCLASS = NSObject;
+ },
+ {
+ ACTIONS = {changeSelectedScenario = id; restoreDefaults = id; };
+ CLASS = KeyEquivalentPrefsController;
+ LANGUAGE = ObjC;
+ OUTLETS = {mConnectionType = NSPopUpButton; mOutlineView = NSOutlineView; };
+ SUPERCLASS = NSObject;
+ },
+ {CLASS = Profile; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
+ {
+ ACTIONS = {
+ addProfile = id;
+ changeEncodingState = id;
+ deleteProfile = id;
+ profileChanged = id;
+ profileSelected = id;
+ reorderEncodings = id;
+ };
+ CLASS = ProfileManager;
+ LANGUAGE = ObjC;
+ OUTLETS = {
+ altKey = id;
+ commandKey = id;
+ controlKey = id;
+ deleteProfileButton = id;
+ enableCopyRect = id;
+ encodingTableView = id;
+ m3bTimeout = id;
+ mkbTimeout = id;
+ mkdTimeout = id;
+ newProfileButton = id;
+ pixelFormatMatrix = id;
+ profileBrowser = id;
+ profileField = id;
+ profilePanel = id;
+ shiftKey = id;
+ upDownButtonMatrix = id;
+ };
+ SUPERCLASS = NSObject;
+ },
+ {
+ ACTIONS = {
+ addServer = id;
+ deleteSelectedServer = id;
+ showConnectionDialog = id;
+ showNewConnectionDialog = id;
+ };
+ CLASS = RFBConnectionManager;
+ LANGUAGE = ObjC;
+ OUTLETS = {
+ groupList = NSTableView;
+ serverDataBoxLocal = NSBox;
+ serverDeleteBtn = NSButton;
+ serverGroupBox = NSBox;
+ serverList = NSTableView;
+ serverListBox = NSBox;
+ splitView = NSSplitView;
+ };
+ SUPERCLASS = NSWindowController;
+ },
+ {CLASS = ServerDataManager; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
+ {
+ ACTIONS = {
+ connectToServer = id;
+ displayChanged = id;
+ hostChanged = id;
+ passwordChanged = id;
+ profileSelectionChanged = id;
+ rememberPwdChanged = id;
+ sharedChanged = id;
+ };
+ CLASS = ServerDataViewController;
+ LANGUAGE = ObjC;
+ OUTLETS = {
+ box = NSBox;
+ connectBtn = NSButton;
+ connectIndicator = NSProgressIndicator;
+ connectIndicatorText = NSTextField;
+ display = NSTextField;
+ hostName = NSTextField;
+ mDelegate = id;
+ mServer = id;
+ password = NSTextField;
+ profilePopup = NSPopUpButton;
+ rememberPwd = NSButton;
+ shared = NSButton;
+ };
+ SUPERCLASS = NSWindowController;
+ }
+ );
+ IBVersion = 1;
+}
\ No newline at end of file
diff -aurr ./Resources/English.lproj/OSX_RFBViewer.nib/info.nib ../cotvnc/Resources/English.lproj/OSX_RFBViewer.nib/info.nib
--- ./Resources/English.lproj/OSX_RFBViewer.nib/info.nib2008-11-07 22:54:10.000000000 -0700
+++ ../cotvnc/Resources/English.lproj/OSX_RFBViewer.nib/info.nib2006-01-18 12:42:18.000000000 -0700
@@ -1,20 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
+<key>IBDocumentLocation</key>
+<string>3 4 356 240 0 0 1280 832 </string>
+<key>IBEditorPositions</key>
+<dict>
+<key>29</key>
+<string>270 514 419 44 0 0 1280 832 </string>
+</dict>
<key>IBFramework Version</key>
-<string>629</string>
-<key>IBLastKnownRelativeProjectPath</key>
-<string>../../../Chicken of the VNC.xcodeproj</string>
-<key>IBOldestOS</key>
-<integer>5</integer>
+<string>443.0</string>
+<key>IBLockedObjects</key>
+<array>
+<integer>1191</integer>
+<integer>1208</integer>
+</array>
<key>IBOpenObjects</key>
<array>
-<integer>612</integer>
+<integer>29</integer>
</array>
<key>IBSystem Version</key>
-<string>9F33</string>
-<key>targetFramework</key>
-<string>IBCocoaFramework</string>
+<string>8F46</string>
</dict>
</plist>
diff -aurr ./Resources/English.lproj/OSX_RFBViewer.nib/keyedobjects.nib ../cotvnc/Resources/English.lproj/OSX_RFBViewer.nib/keyedobjects.nib
--- ./Resources/English.lproj/OSX_RFBViewer.nib/keyedobjects.nib2008-11-07 22:54:10.000000000 -0700
+++ ../cotvnc/Resources/English.lproj/OSX_RFBViewer.nib/keyedobjects.nib2006-01-18 12:42:18.000000000 -0700
@@ -1,65 +1,65 @@
(helmut.maierhofer@chello.at)
-(helmut.maierhofer@chello.at)
-)_Menu (Connection)_vStatic Text (released under the GNU Public License
-source code and support available at http://cotvnc.sourceforge.net)_Menu Item (Show All)[Menu (Edit)[Separator-6_Menu (Services)TInfo]Menu (Window)_Menu Item (Send "Execute")[Application_Menu Item (Send "Break")_Menu Item (Services)_Menu (Chicken Of the VNC)\Content View_Menu Item (Special Keys)_Menu Item (Connection)_Menu Item (Undo)_Menu Item (Paste)_Menu Item (Bring All to Front)_Menu Item (Minimize)o%Menu Item (About Chicken of the VNC &)_Menu Item (Send "Pause")_Menu Item (Stop Speaking)_Menu Item (Start Speaking)_Menu Item (Fullscreen Mode)_Menu Item (Cut)_Menu Item (Window)_Menu Item (Send "Insert")_Static Text (Version)_Menu Item (Hide Others)_RStatic Text (Administered by Jason Harris
-based on VNCViewer by Helmut Maierhofer)[Separator-8YSeparator_Menu Item (Chicken Of the VNC)_Menu Item (Close Window)_Menu Item (Send "Print")_Menu Item (Copy)_$Menu Item (Send "Cmd-Option-Escape")_ Static Text (Chicken of the VNC)_Image View (NSApplicationIcon)_Menu Item (Select All)[Separator-7_Menu Item (Send "Delete")_Horizontal Line_Menu Item (Edit)XMainMenu[Separator-3_Menu Item (Speech)[Separator-4_Menu Item (Help)_#Menu Item (Quit Chicken of the VNC)[Separator-1[Menu (Help)[Separator-5_Menu Item (Redo)_ZStatic Text (Copyright 1998-2000 by Helmut Maierhofer
-
-
-
-!
-#
+
+
+
+
+
+
+
%
-'
-)
+(
+
--
+.
1
-B
-I
-P
-Y
-[
-d
-f
-h
-r
-{
+K
+M
+V
+`
+k
+m
+v
+}
\ No newline at end of file
\ No newline at end of file
Only in ../cotvnc/Resources/English.lproj/OSX_RFBViewer.nib: objects.nib
diff -aurr ./Source/ListenerController.m ../cotvnc/Source/ListenerController.m
--- ./Source/ListenerController.m2008-11-07 22:40:05.000000000 -0700
+++ ../cotvnc/Source/ListenerController.m2006-01-17 12:20:14.000000000 -0700
@@ -86,8 +86,7 @@
if (listeningSocket) {
[self stopListener];
}
- //[self savePrefs];
-
+ [self savePrefs];
[super dealloc];
[[NSNotificationCenter defaultCenter] removeObserver:self
@@ -105,7 +104,7 @@
name:ProfileListChangeMsg
object:(id)[ProfileDataManager sharedInstance]];
- //[self updateUI];
+ [self updateUI];
}
@@ -199,7 +198,7 @@
[listeningSocket acceptConnectionInBackgroundAndNotify];
- //[self updateUI];
+ [self updateUI];
return YES;
}
@@ -219,7 +218,7 @@
[listeningSocket release]; listeningSocket = nil;
[listeningProfile release]; listeningProfile = nil;
- //[self updateUI];
+ [self updateUI];
}
@@ -287,7 +286,7 @@
- (void)updateProfileView:(id)notification
{
-//[self loadProfileIntoView];
+[self loadProfileIntoView];
}
diff -aurr ./Source/MyApp.m ../cotvnc/Source/MyApp.m
--- ./Source/MyApp.m2008-11-07 21:28:00.000000000 -0700
+++ ../cotvnc/Source/MyApp.m2005-07-11 05:22:56.000000000 -0600
@@ -14,7 +14,6 @@
@implementation MyApp
-
- (void)sendEvent:(NSEvent *)anEvent
{
/*
diff -aurr ./Source/RFBConnection.m ../cotvnc/Source/RFBConnection.m
--- ./Source/RFBConnection.m2008-11-10 21:24:43.000000000 -0700
+++ ../cotvnc/Source/RFBConnection.m2007-03-15 23:24:14.000000000 -0600
@@ -337,7 +337,7 @@
[_eventFilter synthesizeRemainingEvents];
[_eventFilter sendAllPendingQueueEntriesNow];
- if(false) {
+ if(aReason) {
if ( _autoReconnect ) {
NSLog(@"Automatically reconnecting to server. The connection was closed because: \"%@\".", aReason);
// Just auto-reconnect (by reinstantiating ourselves)
diff -aurr ./Source/RFBConnectionManager.m ../cotvnc/Source/RFBConnectionManager.m
--- ./Source/RFBConnectionManager.m2008-11-07 22:42:17.000000000 -0700
+++ ../cotvnc/Source/RFBConnectionManager.m2007-03-15 21:31:56.000000000 -0600
@@ -21,7 +21,6 @@
#import "RFBConnection.h"
#import "PrefController.h"
#import "ProfileManager.h"
-#import "ListenerController.h"
#import "Profile.h"
#import "rfbproto.h"
#import "vncauth.h"
@@ -37,7 +36,7 @@
static id sInstance = nil;
if ( ! sInstance )
{
-sInstance = [self alloc];
+sInstance = [[self alloc] initWithWindowNibName: @"ConnectionDialog"];
NSParameterAssert( sInstance != nil );
[sInstance wakeup];
@@ -145,23 +144,8 @@
for (i = 1; i < argCount; i++)
{
arg = [args objectAtIndex:i];
-
-if ([arg hasPrefix:@"--listen"])
-{
-NSLog(@"Called with --listen.");
-
-ListenerController* listener = [ListenerController sharedController];
-ProfileManager* pm = [ProfileManager sharedManager];
-
-int port = 5500;
-profile = [pm profileNamed: @"Called with --listen."];
-BOOL local = false;
-
-[listener startListenerOnPort:port withProfile:profile localOnly:local];
-
-return YES;
-}
-else if ([arg hasPrefix:@"-psn"])
+
+if ([arg hasPrefix:@"-psn"])
{
// Called from the finder. Do nothing.
continue;
diff -aurr ./Source/VNCViewer_main.m ../cotvnc/Source/VNCViewer_main.m
--- ./Source/VNCViewer_main.m2008-11-07 21:24:00.000000000 -0700
+++ ../cotvnc/Source/VNCViewer_main.m2003-01-17 04:55:52.000000000 -0700
@@ -14,6 +14,5 @@
[NSAutoreleasePool setPoolCountHighWaterMark: 2000];
[NSAutoreleasePool setPoolCountHighWaterResolution: 2000];
#endif
-
return NSApplicationMain(argc, argv);
}
Only in .: cotvnc-gitso.diff
diff -aurr ./cotvnc-gitso.diff ../cotvnc-gitso/cotvnc-gitso.diff
--- ./cotvnc-gitso.diff2008-11-11 15:53:29.000000000 -0700
+++ ../cotvnc-gitso/cotvnc-gitso.diff2008-11-11 15:28:25.000000000 -0700
@@ -1,547 +1,547 @@
-Only in ../cotvnc-gitso/: .DS_Store
-Only in ../cotvnc-gitso/Chicken of the VNC.xcodeproj: gerberad.mode1v3
-Only in ../cotvnc-gitso/Chicken of the VNC.xcodeproj: gerberad.pbxuser
-diff -aurr ./Chicken of the VNC.xcodeproj/project.pbxproj ../cotvnc-gitso/Chicken of the VNC.xcodeproj/project.pbxproj
---- ./Chicken of the VNC.xcodeproj/project.pbxproj2007-03-28 18:52:50.000000000 -0600
-+++ ../cotvnc-gitso/Chicken of the VNC.xcodeproj/project.pbxproj2008-11-10 21:37:35.000000000 -0700
-@@ -1209,6 +1209,7 @@
+Only in .: .DS_Store
+Only in ./Chicken of the VNC.xcodeproj: gerberad.mode1v3
+Only in ./Chicken of the VNC.xcodeproj: gerberad.pbxuser
+diff -aurr ./Chicken of the VNC.xcodeproj/project.pbxproj ../cotvnc/Chicken of the VNC.xcodeproj/project.pbxproj
+--- ./Chicken of the VNC.xcodeproj/project.pbxproj2008-11-10 21:37:35.000000000 -0700
++++ ../cotvnc/Chicken of the VNC.xcodeproj/project.pbxproj2007-03-28 18:52:50.000000000 -0600
+@@ -1209,7 +1209,6 @@
29B97313FDCFA39411CA2CEA /* Project object */ = {
isa = PBXProject;
buildConfigurationList = E20426EA087531990026AA26 /* Build configuration list for PBXProject "Chicken of the VNC" */;
-+compatibilityVersion = "Xcode 2.4";
+-compatibilityVersion = "Xcode 2.4";
hasScannedForEncodings = 1;
knownRegions = (
English,
-@@ -1219,6 +1220,7 @@
+@@ -1220,7 +1219,6 @@
);
mainGroup = 29B97314FDCFA39411CA2CEA /* Chicken of the VNC */;
projectDirPath = "";
-+projectRoot = "";
+-projectRoot = "";
targets = (
7F7A93E305E71B5C00E20416 /* Chicken of the VNC */,
7F916AA40BB6E98900E31F20 /* libjpeg */,
-Only in ./Chicken of the VNC.xcodeproj: project.pbxproj.rej
-diff -aurr ./Resources/English.lproj/OSX_RFBViewer.nib/classes.nib ../cotvnc-gitso/Resources/English.lproj/OSX_RFBViewer.nib/classes.nib
---- ./Resources/English.lproj/OSX_RFBViewer.nib/classes.nib2005-04-14 18:46:42.000000000 -0600
-+++ ../cotvnc-gitso/Resources/English.lproj/OSX_RFBViewer.nib/classes.nib2008-11-07 22:54:10.000000000 -0700
-@@ -1,130 +1,90 @@
--{
-- IBClasses = (
-- {
-- ACTIONS = {
-- changeRendezvousUse = id;
-- showConnectionDialog = id;
-- showHelp = id;
-- showListenerDialog = id;
-- showNewConnectionDialog = id;
-- showPreferences = id;
-- showProfileManager = id;
-- };
-- CLASS = AppDelegate;
-- LANGUAGE = ObjC;
-- OUTLETS = {mInfoVersionNumber = NSTextField; mRendezvousMenuItem = NSMenuItem; };
-- SUPERCLASS = NSObject;
-- },
-- {
-- ACTIONS = {
-- makeConnectionFullscreen = id;
-- makeConnectionWindowed = id;
-- manuallyUpdateFrameBuffer = id;
-- openNewTitlePanel = id;
-- openOptions = id;
-- pasteViaKeypress = id;
-- sendBreakKeyCode = id;
-- sendCmdOptEsc = id;
-- sendCtrlAltDel = id;
-- sendDeleteKeyCode = id;
-- sendExecuteKeyCode = id;
-- sendInsertKeyCode = id;
-- sendPauseKeyCode = id;
-- sendPrintKeyCode = id;
-- toggleFullscreenMode = id;
-- };
-- CLASS = FirstResponder;
-- LANGUAGE = ObjC;
-- SUPERCLASS = NSObject;
-- },
-- {
-- ACTIONS = {changeSelectedScenario = id; restoreDefaults = id; };
-- CLASS = KeyEquivalentPrefsController;
-- LANGUAGE = ObjC;
-- OUTLETS = {mConnectionType = NSPopUpButton; mOutlineView = NSOutlineView; };
-- SUPERCLASS = NSObject;
-- },
-- {CLASS = Profile; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
-- {
-- ACTIONS = {
-- addProfile = id;
-- changeEncodingState = id;
-- deleteProfile = id;
-- profileChanged = id;
-- profileSelected = id;
-- reorderEncodings = id;
-- };
-- CLASS = ProfileManager;
-- LANGUAGE = ObjC;
-- OUTLETS = {
-- altKey = id;
-- commandKey = id;
-- controlKey = id;
-- deleteProfileButton = id;
-- enableCopyRect = id;
-- encodingTableView = id;
-- m3bTimeout = id;
-- mkbTimeout = id;
-- mkdTimeout = id;
-- newProfileButton = id;
-- pixelFormatMatrix = id;
-- profileBrowser = id;
-- profileField = id;
-- profilePanel = id;
-- shiftKey = id;
-- upDownButtonMatrix = id;
-- };
-- SUPERCLASS = NSObject;
-- },
-- {
-- ACTIONS = {
-- addServer = id;
-- deleteSelectedServer = id;
-- showConnectionDialog = id;
-- showNewConnectionDialog = id;
-- };
-- CLASS = RFBConnectionManager;
-- LANGUAGE = ObjC;
-- OUTLETS = {
-- groupList = NSTableView;
-- serverDataBoxLocal = NSBox;
-- serverDeleteBtn = NSButton;
-- serverGroupBox = NSBox;
-- serverList = NSTableView;
-- serverListBox = NSBox;
-- splitView = NSSplitView;
-- };
-- SUPERCLASS = NSWindowController;
-- },
-- {CLASS = ServerDataManager; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
-- {
-- ACTIONS = {
-- connectToServer = id;
-- displayChanged = id;
-- hostChanged = id;
-- passwordChanged = id;
-- profileSelectionChanged = id;
-- rememberPwdChanged = id;
-- sharedChanged = id;
-- };
-- CLASS = ServerDataViewController;
-- LANGUAGE = ObjC;
-- OUTLETS = {
-- box = NSBox;
-- connectBtn = NSButton;
-- connectIndicator = NSProgressIndicator;
-- connectIndicatorText = NSTextField;
-- display = NSTextField;
-- hostName = NSTextField;
-- mDelegate = id;
-- mServer = id;
-- password = NSTextField;
-- profilePopup = NSPopUpButton;
-- rememberPwd = NSButton;
-- shared = NSButton;
-- };
-- SUPERCLASS = NSWindowController;
-- }
-- );
-- IBVersion = 1;
--}
+diff -aurr ./Resources/English.lproj/OSX_RFBViewer.nib/classes.nib ../cotvnc/Resources/English.lproj/OSX_RFBViewer.nib/classes.nib
+--- ./Resources/English.lproj/OSX_RFBViewer.nib/classes.nib2008-11-07 22:54:10.000000000 -0700
++++ ../cotvnc/Resources/English.lproj/OSX_RFBViewer.nib/classes.nib2005-04-14 18:46:42.000000000 -0600
+@@ -1,90 +1,130 @@
+-<?xml version="1.0" encoding="UTF-8"?>
+-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+-<plist version="1.0">
+-<dict>
+-<key>IBClasses</key>
+-<array>
+-<dict>
+-<key>ACTIONS</key>
+-<dict>
+-<key>changeRendezvousUse</key>
+-<string>id</string>
+-<key>showConnectionDialog</key>
+-<string>id</string>
+-<key>showHelp</key>
+-<string>id</string>
+-<key>showListenerDialog</key>
+-<string>id</string>
+-<key>showNewConnectionDialog</key>
+-<string>id</string>
+-<key>showPreferences</key>
+-<string>id</string>
+-<key>showProfileManager</key>
+-<string>id</string>
+-</dict>
+-<key>CLASS</key>
+-<string>AppDelegate</string>
+-<key>LANGUAGE</key>
+-<string>ObjC</string>
+-<key>OUTLETS</key>
+-<dict>
+-<key>mInfoVersionNumber</key>
+-<string>NSTextField</string>
+-<key>mRendezvousMenuItem</key>
+-<string>NSMenuItem</string>
+-</dict>
+-<key>SUPERCLASS</key>
+-<string>NSObject</string>
+-</dict>
+-<dict>
+-<key>CLASS</key>
+-<string>NSObject</string>
+-<key>LANGUAGE</key>
+-<string>ObjC</string>
+-</dict>
+-<dict>
+-<key>ACTIONS</key>
+-<dict>
+-<key>makeConnectionFullscreen</key>
+-<string>id</string>
+-<key>makeConnectionWindowed</key>
+-<string>id</string>
+-<key>manuallyUpdateFrameBuffer</key>
+-<string>id</string>
+-<key>openNewTitlePanel</key>
+-<string>id</string>
+-<key>openOptions</key>
+-<string>id</string>
+-<key>pasteViaKeypress</key>
+-<string>id</string>
+-<key>sendBreakKeyCode</key>
+-<string>id</string>
+-<key>sendCmdOptEsc</key>
+-<string>id</string>
+-<key>sendCtrlAltDel</key>
+-<string>id</string>
+-<key>sendDeleteKeyCode</key>
+-<string>id</string>
+-<key>sendExecuteKeyCode</key>
+-<string>id</string>
+-<key>sendInsertKeyCode</key>
+-<string>id</string>
+-<key>sendPauseKeyCode</key>
+-<string>id</string>
+-<key>sendPrintKeyCode</key>
+-<string>id</string>
+-<key>toggleFullscreenMode</key>
+-<string>id</string>
+-</dict>
+-<key>CLASS</key>
+-<string>FirstResponder</string>
+-<key>LANGUAGE</key>
+-<string>ObjC</string>
+-<key>SUPERCLASS</key>
+-<string>NSObject</string>
+-</dict>
+-</array>
+-<key>IBVersion</key>
+-<string>1</string>
+-</dict>
+-</plist>
++{
++ IBClasses = (
++ {
++ ACTIONS = {
++ changeRendezvousUse = id;
++ showConnectionDialog = id;
++ showHelp = id;
++ showListenerDialog = id;
++ showNewConnectionDialog = id;
++ showPreferences = id;
++ showProfileManager = id;
++ };
++ CLASS = AppDelegate;
++ LANGUAGE = ObjC;
++ OUTLETS = {mInfoVersionNumber = NSTextField; mRendezvousMenuItem = NSMenuItem; };
++ SUPERCLASS = NSObject;
++ },
++ {
++ ACTIONS = {
++ makeConnectionFullscreen = id;
++ makeConnectionWindowed = id;
++ manuallyUpdateFrameBuffer = id;
++ openNewTitlePanel = id;
++ openOptions = id;
++ pasteViaKeypress = id;
++ sendBreakKeyCode = id;
++ sendCmdOptEsc = id;
++ sendCtrlAltDel = id;
++ sendDeleteKeyCode = id;
++ sendExecuteKeyCode = id;
++ sendInsertKeyCode = id;
++ sendPauseKeyCode = id;
++ sendPrintKeyCode = id;
++ toggleFullscreenMode = id;
++ };
++ CLASS = FirstResponder;
++ LANGUAGE = ObjC;
++ SUPERCLASS = NSObject;
++ },
++ {
++ ACTIONS = {changeSelectedScenario = id; restoreDefaults = id; };
++ CLASS = KeyEquivalentPrefsController;
++ LANGUAGE = ObjC;
++ OUTLETS = {mConnectionType = NSPopUpButton; mOutlineView = NSOutlineView; };
++ SUPERCLASS = NSObject;
++ },
++ {CLASS = Profile; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
++ {
++ ACTIONS = {
++ addProfile = id;
++ changeEncodingState = id;
++ deleteProfile = id;
++ profileChanged = id;
++ profileSelected = id;
++ reorderEncodings = id;
++ };
++ CLASS = ProfileManager;
++ LANGUAGE = ObjC;
++ OUTLETS = {
++ altKey = id;
++ commandKey = id;
++ controlKey = id;
++ deleteProfileButton = id;
++ enableCopyRect = id;
++ encodingTableView = id;
++ m3bTimeout = id;
++ mkbTimeout = id;
++ mkdTimeout = id;
++ newProfileButton = id;
++ pixelFormatMatrix = id;
++ profileBrowser = id;
++ profileField = id;
++ profilePanel = id;
++ shiftKey = id;
++ upDownButtonMatrix = id;
++ };
++ SUPERCLASS = NSObject;
++ },
++ {
++ ACTIONS = {
++ addServer = id;
++ deleteSelectedServer = id;
++ showConnectionDialog = id;
++ showNewConnectionDialog = id;
++ };
++ CLASS = RFBConnectionManager;
++ LANGUAGE = ObjC;
++ OUTLETS = {
++ groupList = NSTableView;
++ serverDataBoxLocal = NSBox;
++ serverDeleteBtn = NSButton;
++ serverGroupBox = NSBox;
++ serverList = NSTableView;
++ serverListBox = NSBox;
++ splitView = NSSplitView;
++ };
++ SUPERCLASS = NSWindowController;
++ },
++ {CLASS = ServerDataManager; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
++ {
++ ACTIONS = {
++ connectToServer = id;
++ displayChanged = id;
++ hostChanged = id;
++ passwordChanged = id;
++ profileSelectionChanged = id;
++ rememberPwdChanged = id;
++ sharedChanged = id;
++ };
++ CLASS = ServerDataViewController;
++ LANGUAGE = ObjC;
++ OUTLETS = {
++ box = NSBox;
++ connectBtn = NSButton;
++ connectIndicator = NSProgressIndicator;
++ connectIndicatorText = NSTextField;
++ display = NSTextField;
++ hostName = NSTextField;
++ mDelegate = id;
++ mServer = id;
++ password = NSTextField;
++ profilePopup = NSPopUpButton;
++ rememberPwd = NSButton;
++ shared = NSButton;
++ };
++ SUPERCLASS = NSWindowController;
++ }
++ );
++ IBVersion = 1;
++}
\ No newline at end of file
-+<?xml version="1.0" encoding="UTF-8"?>
-+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-+<plist version="1.0">
-+<dict>
-+<key>IBClasses</key>
-+<array>
-+<dict>
-+<key>ACTIONS</key>
-+<dict>
-+<key>changeRendezvousUse</key>
-+<string>id</string>
-+<key>showConnectionDialog</key>
-+<string>id</string>
-+<key>showHelp</key>
-+<string>id</string>
-+<key>showListenerDialog</key>
-+<string>id</string>
-+<key>showNewConnectionDialog</key>
-+<string>id</string>
-+<key>showPreferences</key>
-+<string>id</string>
-+<key>showProfileManager</key>
-+<string>id</string>
-+</dict>
-+<key>CLASS</key>
-+<string>AppDelegate</string>
-+<key>LANGUAGE</key>
-+<string>ObjC</string>
-+<key>OUTLETS</key>
-+<dict>
-+<key>mInfoVersionNumber</key>
-+<string>NSTextField</string>
-+<key>mRendezvousMenuItem</key>
-+<string>NSMenuItem</string>
-+</dict>
-+<key>SUPERCLASS</key>
-+<string>NSObject</string>
-+</dict>
-+<dict>
-+<key>CLASS</key>
-+<string>NSObject</string>
-+<key>LANGUAGE</key>
-+<string>ObjC</string>
-+</dict>
-+<dict>
-+<key>ACTIONS</key>
-+<dict>
-+<key>makeConnectionFullscreen</key>
-+<string>id</string>
-+<key>makeConnectionWindowed</key>
-+<string>id</string>
-+<key>manuallyUpdateFrameBuffer</key>
-+<string>id</string>
-+<key>openNewTitlePanel</key>
-+<string>id</string>
-+<key>openOptions</key>
-+<string>id</string>
-+<key>pasteViaKeypress</key>
-+<string>id</string>
-+<key>sendBreakKeyCode</key>
-+<string>id</string>
-+<key>sendCmdOptEsc</key>
-+<string>id</string>
-+<key>sendCtrlAltDel</key>
-+<string>id</string>
-+<key>sendDeleteKeyCode</key>
-+<string>id</string>
-+<key>sendExecuteKeyCode</key>
-+<string>id</string>
-+<key>sendInsertKeyCode</key>
-+<string>id</string>
-+<key>sendPauseKeyCode</key>
-+<string>id</string>
-+<key>sendPrintKeyCode</key>
-+<string>id</string>
-+<key>toggleFullscreenMode</key>
-+<string>id</string>
-+</dict>
-+<key>CLASS</key>
-+<string>FirstResponder</string>
-+<key>LANGUAGE</key>
-+<string>ObjC</string>
-+<key>SUPERCLASS</key>
-+<string>NSObject</string>
-+</dict>
-+</array>
-+<key>IBVersion</key>
-+<string>1</string>
-+</dict>
-+</plist>
-diff -aurr ./Resources/English.lproj/OSX_RFBViewer.nib/info.nib ../cotvnc-gitso/Resources/English.lproj/OSX_RFBViewer.nib/info.nib
---- ./Resources/English.lproj/OSX_RFBViewer.nib/info.nib2006-01-18 12:42:18.000000000 -0700
-+++ ../cotvnc-gitso/Resources/English.lproj/OSX_RFBViewer.nib/info.nib2008-11-07 22:54:10.000000000 -0700
-@@ -1,26 +1,20 @@
+diff -aurr ./Resources/English.lproj/OSX_RFBViewer.nib/info.nib ../cotvnc/Resources/English.lproj/OSX_RFBViewer.nib/info.nib
+--- ./Resources/English.lproj/OSX_RFBViewer.nib/info.nib2008-11-07 22:54:10.000000000 -0700
++++ ../cotvnc/Resources/English.lproj/OSX_RFBViewer.nib/info.nib2006-01-18 12:42:18.000000000 -0700
+@@ -1,20 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
--<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
++<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
--<key>IBDocumentLocation</key>
--<string>3 4 356 240 0 0 1280 832 </string>
--<key>IBEditorPositions</key>
--<dict>
--<key>29</key>
--<string>270 514 419 44 0 0 1280 832 </string>
--</dict>
++<key>IBDocumentLocation</key>
++<string>3 4 356 240 0 0 1280 832 </string>
++<key>IBEditorPositions</key>
++<dict>
++<key>29</key>
++<string>270 514 419 44 0 0 1280 832 </string>
++</dict>
<key>IBFramework Version</key>
--<string>443.0</string>
--<key>IBLockedObjects</key>
--<array>
--<integer>1191</integer>
--<integer>1208</integer>
--</array>
-+<string>629</string>
-+<key>IBLastKnownRelativeProjectPath</key>
-+<string>../../../Chicken of the VNC.xcodeproj</string>
-+<key>IBOldestOS</key>
-+<integer>5</integer>
+-<string>629</string>
+-<key>IBLastKnownRelativeProjectPath</key>
+-<string>../../../Chicken of the VNC.xcodeproj</string>
+-<key>IBOldestOS</key>
+-<integer>5</integer>
++<string>443.0</string>
++<key>IBLockedObjects</key>
++<array>
++<integer>1191</integer>
++<integer>1208</integer>
++</array>
<key>IBOpenObjects</key>
<array>
--<integer>29</integer>
-+<integer>612</integer>
+-<integer>612</integer>
++<integer>29</integer>
</array>
<key>IBSystem Version</key>
--<string>8F46</string>
-+<string>9F33</string>
-+<key>targetFramework</key>
-+<string>IBCocoaFramework</string>
+-<string>9F33</string>
+-<key>targetFramework</key>
+-<string>IBCocoaFramework</string>
++<string>8F46</string>
</dict>
</plist>
-diff -aurr ./Resources/English.lproj/OSX_RFBViewer.nib/keyedobjects.nib ../cotvnc-gitso/Resources/English.lproj/OSX_RFBViewer.nib/keyedobjects.nib
---- ./Resources/English.lproj/OSX_RFBViewer.nib/keyedobjects.nib2006-01-18 12:42:18.000000000 -0700
-+++ ../cotvnc-gitso/Resources/English.lproj/OSX_RFBViewer.nib/keyedobjects.nib2008-11-07 22:54:10.000000000 -0700
+diff -aurr ./Resources/English.lproj/OSX_RFBViewer.nib/keyedobjects.nib ../cotvnc/Resources/English.lproj/OSX_RFBViewer.nib/keyedobjects.nib
+--- ./Resources/English.lproj/OSX_RFBViewer.nib/keyedobjects.nib2008-11-07 22:54:10.000000000 -0700
++++ ../cotvnc/Resources/English.lproj/OSX_RFBViewer.nib/keyedobjects.nib2006-01-18 12:42:18.000000000 -0700
@@ -1,65 +1,65 @@
(helmut.maierhofer@chello.at)
-+(helmut.maierhofer@chello.at)
-+)_Menu (Connection)_vStatic Text (released under the GNU Public License
-+source code and support available at http://cotvnc.sourceforge.net)_Menu Item (Show All)[Menu (Edit)[Separator-6_Menu (Services)TInfo]Menu (Window)_Menu Item (Send "Execute")[Application_Menu Item (Send "Break")_Menu Item (Services)_Menu (Chicken Of the VNC)\Content View_Menu Item (Special Keys)_Menu Item (Connection)_Menu Item (Undo)_Menu Item (Paste)_Menu Item (Bring All to Front)_Menu Item (Minimize)o%Menu Item (About Chicken of the VNC &)_Menu Item (Send "Pause")_Menu Item (Stop Speaking)_Menu Item (Start Speaking)_Menu Item (Fullscreen Mode)_Menu Item (Cut)_Menu Item (Window)_Menu Item (Send "Insert")_Static Text (Version)_Menu Item (Hide Others)_RStatic Text (Administered by Jason Harris
-+based on VNCViewer by Helmut Maierhofer)[Separator-8YSeparator_Menu Item (Chicken Of the VNC)_Menu Item (Close Window)_Menu Item (Send "Print")_Menu Item (Copy)_$Menu Item (Send "Cmd-Option-Escape")_ Static Text (Chicken of the VNC)_Image View (NSApplicationIcon)_Menu Item (Select All)[Separator-7_Menu Item (Send "Delete")_Horizontal Line_Menu Item (Edit)XMainMenu[Separator-3_Menu Item (Speech)[Separator-4_Menu Item (Help)_#Menu Item (Quit Chicken of the VNC)[Separator-1[Menu (Help)[Separator-5_Menu Item (Redo)_ZStatic Text (Copyright 1998-2000 by Helmut Maierhofer
+-(helmut.maierhofer@chello.at)
+-)_Menu (Connection)_vStatic Text (released under the GNU Public License
+-source code and support available at http://cotvnc.sourceforge.net)_Menu Item (Show All)[Menu (Edit)[Separator-6_Menu (Services)TInfo]Menu (Window)_Menu Item (Send "Execute")[Application_Menu Item (Send "Break")_Menu Item (Services)_Menu (Chicken Of the VNC)\Content View_Menu Item (Special Keys)_Menu Item (Connection)_Menu Item (Undo)_Menu Item (Paste)_Menu Item (Bring All to Front)_Menu Item (Minimize)o%Menu Item (About Chicken of the VNC &)_Menu Item (Send "Pause")_Menu Item (Stop Speaking)_Menu Item (Start Speaking)_Menu Item (Fullscreen Mode)_Menu Item (Cut)_Menu Item (Window)_Menu Item (Send "Insert")_Static Text (Version)_Menu Item (Hide Others)_RStatic Text (Administered by Jason Harris
+-based on VNCViewer by Helmut Maierhofer)[Separator-8YSeparator_Menu Item (Chicken Of the VNC)_Menu Item (Close Window)_Menu Item (Send "Print")_Menu Item (Copy)_$Menu Item (Send "Cmd-Option-Escape")_ Static Text (Chicken of the VNC)_Image View (NSApplicationIcon)_Menu Item (Select All)[Separator-7_Menu Item (Send "Delete")_Horizontal Line_Menu Item (Edit)XMainMenu[Separator-3_Menu Item (Speech)[Separator-4_Menu Item (Help)_#Menu Item (Quit Chicken of the VNC)[Separator-1[Menu (Help)[Separator-5_Menu Item (Redo)_ZStatic Text (Copyright 1998-2000 by Helmut Maierhofer
--
--
--
--
--
--
--
-+
-+
-+
-+!
-+#
+-
+-
+-
+-!
+-#
++
++
++
++
++
++
++
%
--(
-+'
-+)
+-'
+-)
++(
+
--.
-+-
+--
++.
1
--K
--M
--V
--`
--k
--m
--v
--}
-+B
-+I
-+P
-+Y
-+[
-+d
-+f
-+h
-+r
-+{
+-B
+-I
+-P
+-Y
+-[
+-d
+-f
+-h
+-r
+-{
++K
++M
++V
++`
++k
++m
++v
++}
\ No newline at end of file
\ No newline at end of file
-Only in ./Resources/English.lproj/OSX_RFBViewer.nib: objects.nib
-diff -aurr ./Source/ListenerController.m ../cotvnc-gitso/Source/ListenerController.m
---- ./Source/ListenerController.m2006-01-17 12:20:14.000000000 -0700
-+++ ../cotvnc-gitso/Source/ListenerController.m2008-11-07 22:40:05.000000000 -0700
-@@ -86,7 +86,8 @@
+Only in ../cotvnc/Resources/English.lproj/OSX_RFBViewer.nib: objects.nib
+diff -aurr ./Source/ListenerController.m ../cotvnc/Source/ListenerController.m
+--- ./Source/ListenerController.m2008-11-07 22:40:05.000000000 -0700
++++ ../cotvnc/Source/ListenerController.m2006-01-17 12:20:14.000000000 -0700
+@@ -86,8 +86,7 @@
if (listeningSocket) {
[self stopListener];
}
-- [self savePrefs];
-+ //[self savePrefs];
-+
+- //[self savePrefs];
+-
++ [self savePrefs];
[super dealloc];
[[NSNotificationCenter defaultCenter] removeObserver:self
-@@ -104,7 +105,7 @@
+@@ -105,7 +104,7 @@
name:ProfileListChangeMsg
object:(id)[ProfileDataManager sharedInstance]];
-- [self updateUI];
-+ //[self updateUI];
+- //[self updateUI];
++ [self updateUI];
}
-@@ -198,7 +199,7 @@
+@@ -199,7 +198,7 @@
[listeningSocket acceptConnectionInBackgroundAndNotify];
-- [self updateUI];
-+ //[self updateUI];
+- //[self updateUI];
++ [self updateUI];
return YES;
}
-@@ -218,7 +219,7 @@
+@@ -219,7 +218,7 @@
[listeningSocket release]; listeningSocket = nil;
[listeningProfile release]; listeningProfile = nil;
-- [self updateUI];
-+ //[self updateUI];
+- //[self updateUI];
++ [self updateUI];
}
-@@ -286,7 +287,7 @@
+@@ -287,7 +286,7 @@
- (void)updateProfileView:(id)notification
{
--[self loadProfileIntoView];
-+//[self loadProfileIntoView];
+-//[self loadProfileIntoView];
++[self loadProfileIntoView];
}
-diff -aurr ./Source/MyApp.m ../cotvnc-gitso/Source/MyApp.m
---- ./Source/MyApp.m2005-07-11 05:22:56.000000000 -0600
-+++ ../cotvnc-gitso/Source/MyApp.m2008-11-07 21:28:00.000000000 -0700
-@@ -14,6 +14,7 @@
+diff -aurr ./Source/MyApp.m ../cotvnc/Source/MyApp.m
+--- ./Source/MyApp.m2008-11-07 21:28:00.000000000 -0700
++++ ../cotvnc/Source/MyApp.m2005-07-11 05:22:56.000000000 -0600
+@@ -14,7 +14,6 @@
@implementation MyApp
-+
+-
- (void)sendEvent:(NSEvent *)anEvent
{
/*
-diff -aurr ./Source/RFBConnection.m ../cotvnc-gitso/Source/RFBConnection.m
---- ./Source/RFBConnection.m2007-03-15 23:24:14.000000000 -0600
-+++ ../cotvnc-gitso/Source/RFBConnection.m2008-11-10 21:24:43.000000000 -0700
+diff -aurr ./Source/RFBConnection.m ../cotvnc/Source/RFBConnection.m
+--- ./Source/RFBConnection.m2008-11-10 21:24:43.000000000 -0700
++++ ../cotvnc/Source/RFBConnection.m2007-03-15 23:24:14.000000000 -0600
@@ -337,7 +337,7 @@
[_eventFilter synthesizeRemainingEvents];
[_eventFilter sendAllPendingQueueEntriesNow];
-- if(aReason) {
-+ if(false) {
+- if(false) {
++ if(aReason) {
if ( _autoReconnect ) {
NSLog(@"Automatically reconnecting to server. The connection was closed because: \"%@\".", aReason);
// Just auto-reconnect (by reinstantiating ourselves)
-diff -aurr ./Source/RFBConnectionManager.m ../cotvnc-gitso/Source/RFBConnectionManager.m
---- ./Source/RFBConnectionManager.m2007-03-15 21:31:56.000000000 -0600
-+++ ../cotvnc-gitso/Source/RFBConnectionManager.m2008-11-07 22:42:17.000000000 -0700
-@@ -21,6 +21,7 @@
+diff -aurr ./Source/RFBConnectionManager.m ../cotvnc/Source/RFBConnectionManager.m
+--- ./Source/RFBConnectionManager.m2008-11-07 22:42:17.000000000 -0700
++++ ../cotvnc/Source/RFBConnectionManager.m2007-03-15 21:31:56.000000000 -0600
+@@ -21,7 +21,6 @@
#import "RFBConnection.h"
#import "PrefController.h"
#import "ProfileManager.h"
-+#import "ListenerController.h"
+-#import "ListenerController.h"
#import "Profile.h"
#import "rfbproto.h"
#import "vncauth.h"
-@@ -36,7 +37,7 @@
+@@ -37,7 +36,7 @@
static id sInstance = nil;
if ( ! sInstance )
{
--sInstance = [[self alloc] initWithWindowNibName: @"ConnectionDialog"];
-+sInstance = [self alloc];
+-sInstance = [self alloc];
++sInstance = [[self alloc] initWithWindowNibName: @"ConnectionDialog"];
NSParameterAssert( sInstance != nil );
[sInstance wakeup];
-@@ -144,8 +145,23 @@
+@@ -145,23 +144,8 @@
for (i = 1; i < argCount; i++)
{
arg = [args objectAtIndex:i];
--
--if ([arg hasPrefix:@"-psn"])
-+
-+if ([arg hasPrefix:@"--listen"])
-+{
-+NSLog(@"Called with --listen.");
-+
-+ListenerController* listener = [ListenerController sharedController];
-+ProfileManager* pm = [ProfileManager sharedManager];
-+
-+int port = 5500;
-+profile = [pm profileNamed: @"Called with --listen."];
-+BOOL local = false;
-+
-+[listener startListenerOnPort:port withProfile:profile localOnly:local];
-+
-+return YES;
-+}
-+else if ([arg hasPrefix:@"-psn"])
+-
+-if ([arg hasPrefix:@"--listen"])
+-{
+-NSLog(@"Called with --listen.");
+-
+-ListenerController* listener = [ListenerController sharedController];
+-ProfileManager* pm = [ProfileManager sharedManager];
+-
+-int port = 5500;
+-profile = [pm profileNamed: @"Called with --listen."];
+-BOOL local = false;
+-
+-[listener startListenerOnPort:port withProfile:profile localOnly:local];
+-
+-return YES;
+-}
+-else if ([arg hasPrefix:@"-psn"])
++
++if ([arg hasPrefix:@"-psn"])
{
// Called from the finder. Do nothing.
continue;
-diff -aurr ./Source/VNCViewer_main.m ../cotvnc-gitso/Source/VNCViewer_main.m
---- ./Source/VNCViewer_main.m2003-01-17 04:55:52.000000000 -0700
-+++ ../cotvnc-gitso/Source/VNCViewer_main.m2008-11-07 21:24:00.000000000 -0700
-@@ -14,5 +14,6 @@
+diff -aurr ./Source/VNCViewer_main.m ../cotvnc/Source/VNCViewer_main.m
+--- ./Source/VNCViewer_main.m2008-11-07 21:24:00.000000000 -0700
++++ ../cotvnc/Source/VNCViewer_main.m2003-01-17 04:55:52.000000000 -0700
+@@ -14,6 +14,5 @@
[NSAutoreleasePool setPoolCountHighWaterMark: 2000];
[NSAutoreleasePool setPoolCountHighWaterResolution: 2000];
#endif
-+
+-
return NSApplicationMain(argc, argv);
}
+Only in .: cotvnc-gitso.diff
gitso/trunk/arch/osx/libjpeg-copyright.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
The Independent JPEG Group's JPEG software
==========================================
README for release 6b of 27-Mar-1998
====================================
This distribution contains the sixth public release of the Independent JPEG
Group's free JPEG software. You are welcome to redistribute this software and
to use it for any purpose, subject to the conditions under LEGAL ISSUES, below.
Serious users of this software (particularly those incorporating it into
larger programs) should contact IJG at jpeg-info@uunet.uu.net to be added to
our electronic mailing list. Mailing list members are notified of updates
and have a chance to participate in technical discussions, etc.
This software is the work of Tom Lane, Philip Gladstone, Jim Boucher,
Lee Crocker, Julian Minguillon, Luis Ortiz, George Phillips, Davide Rossi,
Guido Vollbeding, Ge' Weijers, and other members of the Independent JPEG
Group.
IJG is not affiliated with the official ISO JPEG standards committee.
DOCUMENTATION ROADMAP
=====================
This file contains the following sections:
OVERVIEW General description of JPEG and the IJG software.
LEGAL ISSUES Copyright, lack of warranty, terms of distribution.
REFERENCES Where to learn more about JPEG.
ARCHIVE LOCATIONS Where to find newer versions of this software.
RELATED SOFTWARE Other stuff you should get.
FILE FORMAT WARS Software *not* to get.
TO DO Plans for future IJG releases.
Other documentation files in the distribution are:
User documentation:
install.doc How to configure and install the IJG software.
usage.doc Usage instructions for cjpeg, djpeg, jpegtran,
rdjpgcom, and wrjpgcom.
*.1 Unix-style man pages for programs (same info as usage.doc).
wizard.doc Advanced usage instructions for JPEG wizards only.
change.log Version-to-version change highlights.
Programmer and internal documentation:
libjpeg.doc How to use the JPEG library in your own programs.
example.c Sample code for calling the JPEG library.
structure.doc Overview of the JPEG library's internal structure.
filelist.doc Road map of IJG files.
coderules.doc Coding style rules --- please read if you contribute code.
Please read at least the files install.doc and usage.doc. Useful information
can also be found in the JPEG FAQ (Frequently Asked Questions) article. See
ARCHIVE LOCATIONS below to find out where to obtain the FAQ article.
If you want to understand how the JPEG code works, we suggest reading one or
more of the REFERENCES, then looking at the documentation files (in roughly
the order listed) before diving into the code.
OVERVIEW
========
This package contains C software to implement JPEG image compression and
decompression. JPEG (pronounced "jay-peg") is a standardized compression
method for full-color and gray-scale images. JPEG is intended for compressing
"real-world" scenes; line drawings, cartoons and other non-realistic images
are not its strong suit. JPEG is lossy, meaning that the output image is not
exactly identical to the input image. Hence you must not use JPEG if you
have to have identical output bits. However, on typical photographic images,
very good compression levels can be obtained with no visible change, and
remarkably high compression levels are possible if you can tolerate a
low-quality image. For more details, see the references, or just experiment
with various compression settings.
This software implements JPEG baseline, extended-sequential, and progressive
compression processes. Provision is made for supporting all variants of these
processes, although some uncommon parameter settings aren't implemented yet.
For legal reasons, we are not distributing code for the arithmetic-coding
variants of JPEG; see LEGAL ISSUES. We have made no provision for supporting
the hierarchical or lossless processes defined in the standard.
We provide a set of library routines for reading and writing JPEG image files,
plus two sample applications "cjpeg" and "djpeg", which use the library to
perform conversion between JPEG and some other popular image file formats.
The library is intended to be reused in other applications.
In order to support file conversion and viewing software, we have included
considerable functionality beyond the bare JPEG coding/decoding capability;
for example, the color quantization modules are not strictly part of JPEG
decoding, but they are essential for output to colormapped file formats or
colormapped displays. These extra functions can be compiled out of the
library if not required for a particular application. We have also included
"jpegtran", a utility for lossless transcoding between different JPEG
processes, and "rdjpgcom" and "wrjpgcom", two simple applications for
inserting and extracting textual comments in JFIF files.
The emphasis in designing this software has been on achieving portability and
flexibility, while also making it fast enough to be useful. In particular,
the software is not intended to be read as a tutorial on JPEG. (See the
REFERENCES section for introductory material.) Rather, it is intended to
be reliable, portable, industrial-strength code. We do not claim to have
achieved that goal in every aspect of the software, but we strive for it.
We welcome the use of this software as a component of commercial products.
No royalty is required, but we do ask for an acknowledgement in product
documentation, as described under LEGAL ISSUES.
LEGAL ISSUES
============
In plain English:
1. We don't promise that this software works. (But if you find any bugs,
please let us know!)
2. You can use this software for whatever you want. You don't have to pay us.
3. You may not pretend that you wrote this software. If you use it in a
program, you must acknowledge somewhere in your documentation that
you've used the IJG code.
In legalese:
The authors make NO WARRANTY or representation, either express or implied,
with respect to this software, its quality, accuracy, merchantability, or
fitness for a particular purpose. This software is provided "AS IS", and you,
its user, assume the entire risk as to its quality and accuracy.
This software is copyright (C) 1991-1998, Thomas G. Lane.
All Rights Reserved except as specified below.
Permission is hereby granted to use, copy, modify, and distribute this
software (or portions thereof) for any purpose, without fee, subject to these
conditions:
(1) If any part of the source code for this software is distributed, then this
README file must be included, with this copyright and no-warranty notice
unaltered; and any additions, deletions, or changes to the original files
must be clearly indicated in accompanying documentation.
(2) If only executable code is distributed, then the accompanying
documentation must state that "this software is based in part on the work of
the Independent JPEG Group".
(3) Permission for use of this software is granted only if the user accepts
full responsibility for any undesirable consequences; the authors accept
NO LIABILITY for damages of any kind.
These conditions apply to any software derived from or based on the IJG code,
not just to the unmodified library. If you use our work, you ought to
acknowledge us.
Permission is NOT granted for the use of any IJG author's name or company name
in advertising or publicity relating to this software or products derived from
it. This software may be referred to only as "the Independent JPEG Group's
software".
We specifically permit and encourage the use of this software as the basis of
commercial products, provided that all warranty or liability claims are
assumed by the product vendor.
ansi2knr.c is included in this distribution by permission of L. Peter Deutsch,
sole proprietor of its copyright holder, Aladdin Enterprises of Menlo Park, CA.
ansi2knr.c is NOT covered by the above copyright and conditions, but instead
by the usual distribution terms of the Free Software Foundation; principally,
that you must include source code if you redistribute it. (See the file
ansi2knr.c for full details.) However, since ansi2knr.c is not needed as part
of any program generated from the IJG code, this does not limit you more than
the foregoing paragraphs do.
The Unix configuration script "configure" was produced with GNU Autoconf.
It is copyright by the Free Software Foundation but is freely distributable.
The same holds for its supporting scripts (config.guess, config.sub,
ltconfig, ltmain.sh). Another support script, install-sh, is copyright
by M.I.T. but is also freely distributable.
It appears that the arithmetic coding option of the JPEG spec is covered by
patents owned by IBM, AT&T, and Mitsubishi. Hence arithmetic coding cannot
legally be used without obtaining one or more licenses. For this reason,
support for arithmetic coding has been removed from the free JPEG software.
(Since arithmetic coding provides only a marginal gain over the unpatented
Huffman mode, it is unlikely that very many implementations will support it.)
So far as we are aware, there are no patent restrictions on the remaining
code.
The IJG distribution formerly included code to read and write GIF files.
To avoid entanglement with the Unisys LZW patent, GIF reading support has
been removed altogether, and the GIF writer has been simplified to produce
"uncompressed GIFs". This technique does not use the LZW algorithm; the
resulting GIF files are larger than usual, but are readable by all standard
GIF decoders.
We are required to state that
"The Graphics Interchange Format(c) is the Copyright property of
CompuServe Incorporated. GIF(sm) is a Service Mark property of
CompuServe Incorporated."
REFERENCES
==========
We highly recommend reading one or more of these references before trying to
understand the innards of the JPEG software.
The best short technical introduction to the JPEG compression algorithm is
Wallace, Gregory K. "The JPEG Still Picture Compression Standard",
Communications of the ACM, April 1991 (vol. 34 no. 4), pp. 30-44.
(Adjacent articles in that issue discuss MPEG motion picture compression,
applications of JPEG, and related topics.) If you don't have the CACM issue
handy, a PostScript file containing a revised version of Wallace's article is
available at ftp://ftp.uu.net/graphics/jpeg/wallace.ps.gz. The file (actually
a preprint for an article that appeared in IEEE Trans. Consumer Electronics)
omits the sample images that appeared in CACM, but it includes corrections
and some added material. Note: the Wallace article is copyright ACM and IEEE,
and it may not be used for commercial purposes.
A somewhat less technical, more leisurely introduction to JPEG can be found in
"The Data Compression Book" by Mark Nelson and Jean-loup Gailly, published by
M&T Books (New York), 2nd ed. 1996, ISBN 1-55851-434-1. This book provides
good explanations and example C code for a multitude of compression methods
including JPEG. It is an excellent source if you are comfortable reading C
code but don't know much about data compression in general. The book's JPEG
sample code is far from industrial-strength, but when you are ready to look
at a full implementation, you've got one here...
The best full description of JPEG is the textbook "JPEG Still Image Data
Compression Standard" by William B. Pennebaker and Joan L. Mitchell, published
by Van Nostrand Reinhold, 1993, ISBN 0-442-01272-1. Price US$59.95, 638 pp.
The book includes the complete text of the ISO JPEG standards (DIS 10918-1
and draft DIS 10918-2). This is by far the most complete exposition of JPEG
in existence, and we highly recommend it.
The JPEG standard itself is not available electronically; you must order a
paper copy through ISO or ITU. (Unless you feel a need to own a certified
official copy, we recommend buying the Pennebaker and Mitchell book instead;
it's much cheaper and includes a great deal of useful explanatory material.)
In the USA, copies of the standard may be ordered from ANSI Sales at (212)
642-4900, or from Global Engineering Documents at (800) 854-7179. (ANSI
doesn't take credit card orders, but Global does.) It's not cheap: as of
1992, ANSI was charging $95 for Part 1 and $47 for Part 2, plus 7%
shipping/handling. The standard is divided into two parts, Part 1 being the
actual specification, while Part 2 covers compliance testing methods. Part 1
is titled "Digital Compression and Coding of Continuous-tone Still Images,
Part 1: Requirements and guidelines" and has document numbers ISO/IEC IS
10918-1, ITU-T T.81. Part 2 is titled "Digital Compression and Coding of
Continuous-tone Still Images, Part 2: Compliance testing" and has document
numbers ISO/IEC IS 10918-2, ITU-T T.83.
Some extensions to the original JPEG standard are defined in JPEG Part 3,
a newer ISO standard numbered ISO/IEC IS 10918-3 and ITU-T T.84. IJG
currently does not support any Part 3 extensions.
The JPEG standard does not specify all details of an interchangeable file
format. For the omitted details we follow the "JFIF" conventions, revision
1.02. A copy of the JFIF spec is available from:
Literature Department
C-Cube Microsystems, Inc.
1778 McCarthy Blvd.
Milpitas, CA 95035
phone (408) 944-6300, fax (408) 944-6314
A PostScript version of this document is available by FTP at
ftp://ftp.uu.net/graphics/jpeg/jfif.ps.gz. There is also a plain text
version at ftp://ftp.uu.net/graphics/jpeg/jfif.txt.gz, but it is missing
the figures.
The TIFF 6.0 file format specification can be obtained by FTP from
ftp://ftp.sgi.com/graphics/tiff/TIFF6.ps.gz. The JPEG incorporation scheme
found in the TIFF 6.0 spec of 3-June-92 has a number of serious problems.
IJG does not recommend use of the TIFF 6.0 design (TIFF Compression tag 6).
Instead, we recommend the JPEG design proposed by TIFF Technical Note #2
(Compression tag 7). Copies of this Note can be obtained from ftp.sgi.com or
from ftp://ftp.uu.net/graphics/jpeg/. It is expected that the next revision
of the TIFF spec will replace the 6.0 JPEG design with the Note's design.
Although IJG's own code does not support TIFF/JPEG, the free libtiff library
uses our library to implement TIFF/JPEG per the Note. libtiff is available
from ftp://ftp.sgi.com/graphics/tiff/.
ARCHIVE LOCATIONS
=================
The "official" archive site for this software is ftp.uu.net (Internet
address 192.48.96.9). The most recent released version can always be found
there in directory graphics/jpeg. This particular version will be archived
as ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz. If you don't have
direct Internet access, UUNET's archives are also available via UUCP; contact
help@uunet.uu.net for information on retrieving files that way.
Numerous Internet sites maintain copies of the UUNET files. However, only
ftp.uu.net is guaranteed to have the latest official version.
You can also obtain this software in DOS-compatible "zip" archive format from
the SimTel archives (ftp://ftp.simtel.net/pub/simtelnet/msdos/graphics/), or
on CompuServe in the Graphics Support forum (GO CIS:GRAPHSUP), library 12
"JPEG Tools". Again, these versions may sometimes lag behind the ftp.uu.net
release.
The JPEG FAQ (Frequently Asked Questions) article is a useful source of
general information about JPEG. It is updated constantly and therefore is
not included in this distribution. The FAQ is posted every two weeks to
Usenet newsgroups comp.graphics.misc, news.answers, and other groups.
It is available on the World Wide Web at http://www.faqs.org/faqs/jpeg-faq/
and other news.answers archive sites, including the official news.answers
archive at rtfm.mit.edu: ftp://rtfm.mit.edu/pub/usenet/news.answers/jpeg-faq/.
If you don't have Web or FTP access, send e-mail to mail-server@rtfm.mit.edu
with body
send usenet/news.answers/jpeg-faq/part1
send usenet/news.answers/jpeg-faq/part2
RELATED SOFTWARE
================
Numerous viewing and image manipulation programs now support JPEG. (Quite a
few of them use this library to do so.) The JPEG FAQ described above lists
some of the more popular free and shareware viewers, and tells where to
obtain them on Internet.
If you are on a Unix machine, we highly recommend Jef Poskanzer's free
PBMPLUS software, which provides many useful operations on PPM-format image
files. In particular, it can convert PPM images to and from a wide range of
other formats, thus making cjpeg/djpeg considerably more useful. The latest
version is distributed by the NetPBM group, and is available from numerous
sites, notably ftp://wuarchive.wustl.edu/graphics/graphics/packages/NetPBM/.
Unfortunately PBMPLUS/NETPBM is not nearly as portable as the IJG software is;
you are likely to have difficulty making it work on any non-Unix machine.
A different free JPEG implementation, written by the PVRG group at Stanford,
is available from ftp://havefun.stanford.edu/pub/jpeg/. This program
is designed for research and experimentation rather than production use;
it is slower, harder to use, and less portable than the IJG code, but it
is easier to read and modify. Also, the PVRG code supports lossless JPEG,
which we do not. (On the other hand, it doesn't do progressive JPEG.)
FILE FORMAT WARS
================
Some JPEG programs produce files that are not compatible with our library.
The root of the problem is that the ISO JPEG committee failed to specify a
concrete file format. Some vendors "filled in the blanks" on their own,
creating proprietary formats that no one else could read. (For example, none
of the early commercial JPEG implementations for the Macintosh were able to
exchange compressed files.)
The file format we have adopted is called JFIF (see REFERENCES). This format
has been agreed to by a number of major commercial JPEG vendors, and it has
become the de facto standard. JFIF is a minimal or "low end" representation.
We recommend the use of TIFF/JPEG (TIFF revision 6.0 as modified by TIFF
Technical Note #2) for "high end" applications that need to record a lot of
additional data about an image. TIFF/JPEG is fairly new and not yet widely
supported, unfortunately.
The upcoming JPEG Part 3 standard defines a file format called SPIFF.
SPIFF is interoperable with JFIF, in the sense that most JFIF decoders should
be able to read the most common variant of SPIFF. SPIFF has some technical
advantages over JFIF, but its major claim to fame is simply that it is an
official standard rather than an informal one. At this point it is unclear
whether SPIFF will supersede JFIF or whether JFIF will remain the de-facto
standard. IJG intends to support SPIFF once the standard is frozen, but we
have not decided whether it should become our default output format or not.
(In any case, our decoder will remain capable of reading JFIF indefinitely.)
Various proprietary file formats incorporating JPEG compression also exist.
We have little or no sympathy for the existence of these formats. Indeed,
one of the original reasons for developing this free software was to help
force convergence on common, open format standards for JPEG files. Don't
use a proprietary file format!
TO DO
=====
The major thrust for v7 will probably be improvement of visual quality.
The current method for scaling the quantization tables is known not to be
very good at low Q values. We also intend to investigate block boundary
smoothing, "poor man's variable quantization", and other means of improving
quality-vs-file-size performance without sacrificing compatibility.
In future versions, we are considering supporting some of the upcoming JPEG
Part 3 extensions --- principally, variable quantization and the SPIFF file
format.
As always, speeding things up is of great interest.
Please send bug reports, offers of help, etc. to jpeg-info@uunet.uu.net.
gitso/trunk/arch/osx/osxnvc_echoware-copyright.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
EchoWare OSX Bundle Version 1.926
Released: 9 August 2007
===============================
INTRODUCTION
------------
EchoWare is an OSX bundle that enables both client-server as
well as peer-to-peer applications to communicate with each other
via a "relay server" (aka, an "echoServer"). All communication
between echoWare and the echoserver appears to be outgoing TCP
from the point of view of the OSX network. This allows the
echoWare-enabled applications to communicate with each other
without either side of the connection needing to set or adjust
any firewall or router's port-forwarding settings.
EchoWare is utilized in both the Kaboodle "Network Manager
and Personal VPN application", as well as in EchoVNC, a
firewall-friendly VNC Server and Viewer. For more details on
these projects, please visit our website at:
http://www.echogent.com/
EchoWare includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit. (http://www.openssl.org/)
LICENSE
-------
EchoWare is Copyright (C) 2004-2007 Echogent Systems, Inc.
All rights reserved.
EchoWare is available for use under the open-source "Sleepycat"
license. Details can be found in the LICENSE file. In general,
the Sleepycat license allows the binary to be freely included in
any other open-source application. Any application wishing to
remain closed-source must purcahse a seperate license from
Echogent Systems, Inc, the owner of EchoWare.
EchoWare(R) is a registered trademark of Echogent Systems, Inc.
SOURCE
------
The accompanying source code has been built and compiled using
XCode 2.4.1 for Mac OSX with GCC 4 as the base compiler.
CHANGELIST
----------
1.92 11-Nov-07Initial OSX release
1.926 26-Jul-07Added support for login character filtering
ENCRYPTION
----------
EchoWare's 128-bit AES encryption is enabled by the
OpenSSL source-code. It is covered by the following
Copyrights:
Copyright (c) 1998-2004 The OpenSSL Project
Copyright (c) 1995-1998 Eric A. Young, Tim J. Hudson
Please see openssl.org for information about their
license and to contribute to their great efforts.
TECH SUPPORT
------------
Support for our Service Provider customers is available 24/7,
via phone or email.
Mailing list support is available for all users; you can find
those details on the EchoVNC homepage:
http://echovnc.sourceforge.net/fom-serve/cache/1.html
When asking a tech-support question, be sure to include as much
information about your computer and network as possible.
Thanks for using EchoWare!
REV20070726SB
gitso/trunk/arch/osx/osxvnc-copyright.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
Jonathan Gillaspie
Doug Simons
Special Thanks For Vine Server manual:
Pamela Gillaspie
Special Thanks for corrections to allow multiple clients with the Tight protocol:
Solletica
Special Thanks For Server Side Scaling:
Noriaki Yamazaki
Administrator of micro-VNC
Hitachi System & Service, Ltd.
Special Thanks For Reverse Connections:
Mark Lentczner
Zlib, ZlibHex and Tight encodings:
Mahmud Haque
Other Contributions:
David Johnson
Steven Tamm
Mihai Parparita
Marvin Simkin
French Localization:
Pascal Frey
Japanese Localization:
Hiroshi Saito
Italian Localization:
Claudio and Creative Shield
http://shieldnet.tk/
German Localizatoin:
----------------------------------------------------
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to:
Free Software Foundation, Inc.
59 Temple Place - Suite 330
Boston, MA 02111-1307
USA
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
Appendix: How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) 19yy <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) 19yy name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
gitso/trunk/arch/osx/setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
"""
This is a setup.py script generated by py2applet
Usage:
python setup.py py2app
"""
from setuptools import setup
APP = ['Gitso.py']
DATA_FILES = []
OPTIONS = {'argv_emulation': True}
setup(
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'],
)
gitso/trunk/gitso_gtk.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
"""
Gisto - Gitso is to support others
Gitso is a utility to facilitate the connection of VNC
@author: Aaron Gerber ('gerberad')
@author: Derek Buranen ('burner') <derek@buranen.info>
@copyright: 2007-2008
"""
import pygtk
pygtk.require('2.0')
import gtk, os, signal, webbrowser, sys
class Connect(object):
"""
??????
@author: Derek Buranen
@author: Aaron Gerber
"""
#TODO: Test Try using the pretty python decorator instead of calling the class. Not sure GTK will support this but worth a try
## @gtk.about_dialog_set_url_hook ##
def openURL(func, url):
"""
Makes sure the URLs are clickable
@author: Derek Buranen
@author: Aaron Gerber
"""
webbrowser.open_new(url)
gtk.about_dialog_set_url_hook(openURL)
# Callback: radioToggle
# : EVENT - Radio buttons toggled
def radioToggle(self, widget, data=None):
"""
Toggles Radio Buttons
@author: Derek Buranen
@author: Aaron Gerber
"""
value = (data, ("OFF", "ON")[widget.get_active()])
if value[0] == "_Get Help":
if value[1] == "ON":
self.GetSupportEntry.set_sensitive(True)
self.GetSupportEntry.grab_focus()
elif value[0] == "Give _Support":
if value[1] == "ON":
self.GetSupportEntry.set_sensitive(False)
# Callback: connectSupport
# : EVENT - Connect button was pressed
def connectSupport(self, widget, data=None):
"""
???
@author: Derek Buranen
@author: Aaron Gerber
"""
if self.GetSupportRadio.get_active() == True:
self.connectButton.set_sensitive(False)
self.stopButton.set_sensitive(True)
self.statusLabel.set_text(self.statusLabelText[1])
self.returnPID = os.spawnlp(os.P_NOWAIT, 'x11vnc', 'x11vnc', '-connect' , '%s' % self.GetSupportEntry.get_text())
else:
self.connectButton.set_sensitive(False)
self.stopButton.set_sensitive(True)
self.statusLabel.set_text(self.statusLabelText[1])
self.returnPID = os.spawnlp(os.P_NOWAIT, 'vncviewer', 'vncviewer', '-listen')
# Callback: showAbout
# : EVENT - About Gitso selected
def showAbout(self, widget, data=None):
"""
Display About Dialog
@author: Derek Buranen
@author: Aaron Gerber
"""
license = open(os.path.join(sys.path[0], '..', 'share', 'doc', 'gitso', 'copyright'), 'r')
aboutDialog = gtk.AboutDialog()
aboutDialog.set_name("Gitso")
aboutDialog.set_version("0.4")
aboutDialog.set_authors(["Derek Buranen", "Aaron Gerber"])
aboutDialog.set_license(license.read())
aboutDialog.set_website('http://gitso.googlecode.com')
aboutDialog.set_copyright("2007-2008 Derek Buranen, Aaron Gerber")
aboutDialog.set_comments("Gitso Is To Support Others")
license.close()
aboutDialog.run()
aboutDialog.destroy()
# Callback: getClipboard
# : EVENT - Paste menu item selected
def getClipboard(self, menu, data=None):
"""
Paste clipboard text in Support Entry Field
@author: Derek Buranen
@author: Aaron Gerber
"""
self.GetSupportEntry.set_text(self.clipboard.wait_for_text())
return
# Callback: getClipboard
# : EVENT - Copy menu item selected
def setClipboard(self, menu, data=None):
"""
Set the value of the clipboard
@author: Derek Buranen
@author: Aaron Gerber
"""
self.clipboard.set_text(self.GetSupportEntry.get_text())
return
# Callback: killPID
# : EVENT - Stop is pressed or Applications ends
def killPID(self, data=None):
"""
Kill VNC instance
@author: Derek Buranen
@author: Aaron Gerber
"""
if self.returnPID != 0:
self.connectButton.set_sensitive(True)
self.stopButton.set_sensitive(False)
os.kill(self.returnPID, signal.SIGKILL)
self.statusLabel.set_text(self.statusLabelText[0])
self.returnPID = 0
return
# Callback: deleteEvent
# : EVENT - "Close" option is selected - title bar or button
#TODO: Add "Close" button
#TODO: "quit" prompt dialog
#TODO: Close VNC connection
def deleteEvent(self, widget, event, data=None):
"""
Close Window
If you return FALSE in the "deleteEvent" signal handler,
GTK will emit the "destroy" signal. Returning TRUE means
you don't want the window to be destroyed.
This is useful for popping up 'are you sure you want to quit?' dialog
@author: Derek Buranen
@author: Aaron Gerber
"""
print "Close Window"
return False
# Callback: destroy
# : EVENT - Gtk_widget_destroy() is called on the window, or return FALSE in "deleteEvent"
def destroy(self, widget, data=None):
"""
Quit Application
@author: Derek Buranen
@author: Aaron Gerber
"""
print "Quit Application"
self.killPID(self)
gtk.main_quit()
# Run Loop: Initilize program
def __init__(self):
"""
Setup Application Dialog
@author: Derek Buranen
@author: Aaron Gerber
"""
#initializing various variables
self.returnPID = 0
self.statusLabelText = ('Status: Idle', 'Status: Started')
# create a new window
self.window = gtk.Window(gtk.WINDOW_TOPLEVEL)
self.window.set_title("Gitso")
self.window.connect("delete_event", self.deleteEvent)
self.window.connect("destroy", self.destroy)
self.window.set_border_width(0)
self.window.set_icon_from_file(os.path.join(sys.path[0], '..', 'share', 'gitso', 'gitso.svg'))
self.clipboard = gtk.clipboard_get(gtk.gdk.SELECTION_CLIPBOARD)
ui = '''<ui>
<menubar name="MenuBar">
<menu action="File">
<menuitem action="Quit"/>
</menu>
<menu action="Edit">
<menuitem action="Copy"/>
<menuitem action="Paste"/>
</menu>
<menu action="Help">
<menuitem action="About"/>
</menu>
</menubar>
</ui>'''
# Create a UIManager instance
GitsoUIManager = gtk.UIManager()
# Add the accelerator group to the toplevel window
AccelGroup = GitsoUIManager.get_accel_group()
self.window.add_accel_group(AccelGroup)
# Create an ActionGroup
self.ActionGroup = gtk.ActionGroup('GitsoUIManager')
# Create actions
self.ActionGroup.add_actions([('Quit', gtk.STOCK_QUIT, '_Quit', None, 'Quit the Program', self.destroy),
('File', None, '_File'),
('Copy', gtk.STOCK_COPY, '_Copy', None, 'Copy IP Address', self.setClipboard),
('Paste', gtk.STOCK_PASTE, '_Paste', None, 'Copy IP Address', self.getClipboard),
('Edit', None, '_Edit'),
('About', gtk.STOCK_ABOUT, '_About', None, 'About Gitso', self.showAbout),
('Help', None, '_Help')])
self.ActionGroup.get_action('Quit').set_property('short-label', '_Quit')
# Add the ActionGroup to the GitsoUIManager
GitsoUIManager.insert_action_group(self.ActionGroup, 0)
# Add a UI description
GitsoUIManager.add_ui_from_string(ui)
# Create a MenuBar
menubar = GitsoUIManager.get_widget('/MenuBar')
# Initialize IP Textbox
self.GetSupportEntry = gtk.Entry(50)
self.GetSupportEntry.set_text("IP address")
self.GetSupportEntry.show()
# Initialize Radio Buttons.
self.GiveSupportRadio = gtk.RadioButton(None, "Give _Support", use_underline=True)
self.GetSupportRadio = gtk.RadioButton(self.GiveSupportRadio, "_Get Help", use_underline=True)
self.GiveSupportRadio.connect("toggled", self.radioToggle, "Give _Support")
self.GetSupportRadio.connect("toggled", self.radioToggle, "_Get Help")
self.GetSupportRadio.set_active(True)
self.GiveSupportRadio.show()
self.GetSupportRadio.show()
#TODO: Connect Button -- Default
#### ToDo :: Connect Button -- Default ##########
#self.button.grab_default()
####################################
# Initialize Connect Button Bar
self.connectButton = gtk.Button("OK", gtk.STOCK_CONNECT)
self.connectButton.connect("clicked", self.connectSupport)
self.connectButton.show()
self.stopButton = gtk.Button("Stop", gtk.STOCK_STOP)
self.stopButton.connect("clicked", self.killPID)
self.stopButton.set_sensitive(False)
self.stopButton.show()
self.statusLabel = gtk.Label(self.statusLabelText[0])
self.statusLabel.show()
# Initialize Boxes
self.mainVBox = gtk.VBox(False, 0)
self.interfaceVBox = gtk.VBox(False, 0)
self.menuHBox = gtk.HBox(False, 0)
self.getSupportHBox = gtk.HBox(False, 0)
self.giveSupportHBox = gtk.HBox(False, 0)
self.buttonHBox = gtk.HBox(False, 0)
# VBox MenuBar
self.menuHBox.pack_start(menubar, True, True, 0)
self.mainVBox.pack_start(self.menuHBox, False, False, 0)
# VBox cell 1
self.getSupportHBox.pack_start(self.GetSupportRadio, True, True, 8)
self.getSupportHBox.pack_start(self.GetSupportEntry, True, True, 8)
self.interfaceVBox.pack_start(self.getSupportHBox, True, True, 4)
# VBox cell 2
self.giveSupportHBox.pack_start(self.GiveSupportRadio, True, True, 8)
self.interfaceVBox.pack_start(self.giveSupportHBox, True, True, 0)
# VBox cell 3
self.buttonHBox.pack_start(self.statusLabel, False, False, 8)
self.buttonHBox.pack_end(self.stopButton, False, False, 8)
self.buttonHBox.pack_end(self.connectButton, False, False, 8)
self.interfaceVBox.pack_start(self.buttonHBox, False, False, 0)
# Show main window and initialize focus
self.GetSupportEntry.grab_focus()
self.mainVBox.pack_end(self.interfaceVBox, False, False, 8)
self.mainVBox.show()
self.interfaceVBox.show()
self.menuHBox.show()
self.getSupportHBox.show()
self.giveSupportHBox.show()
self.buttonHBox.show()
self.window.add(self.mainVBox)
self.window.set_position(gtk.WIN_POS_CENTER)
self.window.show()
# Run Loop: Main run loop
def main(self):
gtk.main()
gitso/trunk/makegitso.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
120
221
322
::
:: Gisto - Gitso is to support others
::
:: Copyright 2008, Aaron Gerber and Derek Buranen
::
:: Gitso is free software: you can redistribute it and/or modify
:: it under the terms of the GNU General Public License as published by
:: the Free Software Foundation, either version 3 of the License, or
:: (at your option) any later version.
::
:: Gitso is distributed in the hope that it will be useful,
:: but WITHOUT ANY WARRANTY; without even the implied warranty of
:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
:: GNU General Public License for more details.
::
:: You should have received a copy of the GNU General Public License
:: along with Gitso. If not, see <http://www.gnu.org/licenses/>.
::
C:\Python25\python arch\win32\setup.py py2exe
COPY C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\msvcp71.dll dist\msvcp71.dll
gitso/trunk/makegitso.nsi
11
22
33
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
419
520
621
; makegitso.nsi
; ----------------
; Package Gitso for Windows using NSIS
;
; Copyright 2008, Aaron Gerber and Derek Buranen
;
; Gitso is free software: you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation, either version 3 of the License, or
; (at your option) any later version.
;
; Gitso is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
; GNU General Public License for more details.
;
; You should have received a copy of the GNU General Public License
; along with Gitso. If not, see <http://www.gnu.org/licenses/>.
;--------------------------------
!define VERSION "0.5"
gitso/trunk/makegitso.sh
11
22
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
323
424
525
......
6181
6282
6383
64
84
6585
6686
6787
6888
6989
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
70105
71106
72107
73108
74109
110
75111
76112
77113
114
78115
79116
80117
81118
82119
83120
84
85
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
86138
87139
88140
#! /bin/bash
##########
# Gisto - Gitso is to support others
#
# Copyright 2008, Aaron Gerber Derek Buranen
#
# Gitso is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Gitso is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Gitso. If not, see <http://www.gnu.org/licenses/>.
##########
DEB="gitso_0.6_all.deb"
TARGZ="gitso_0.6_all.tar.gz"
SRC="gitso_0.6_src.tar.bz2"
exit 0
fi
if test `uname -a | grep Darwin`; then
if [ "`uname -a | grep Darwin`" != "" ]; then
if test `which py2applet`; then
echo -e "Creating Gitso.app "
rm -f setup.py
rm -rf dist
# To Make cotvnc
# cvs -z3 -d:pserver:anonymous@cotvnc.cvs.sourceforge.net:/cvsroot/cotvnc co -P cotvnc
#
# cd cotvnc
# patch -p0 < [Gitso-path]/arch/osx/cotvnc-gitso.diff
#
# Then in xCode build cotvnc
# find build/Development/
# rename Chicken Of The VNC.app to cotvnc.app
# remove cotvnc.app/Contents/Resources/*non English.lproj
# rename cotvnc.app/Contents/MacOS/Chicken Of The VNC to cotvnc.app/Contents/MacOS/cotvnc
#
# Patch was made with: diff -aurr . ../cotvnc-gitso/ > cotvnc-gitso.diff
#
echo -e ".."
py2applet --make-setup Gitso.py
echo -e ".."
python setup.py py2app
rm setup.py
echo -e ".."
cp arch/osx/Info.plist dist/Gitso.app/Contents/
cp copyright dist/Gitso.app/Contents/Resources/
cp PythonApplet.icns dist/Gitso.app/Contents/Resources/
tar xvfz arch/osx/OSXvnc.tar.gz
mv OSXvnc dist/Gitso.app/Contents/Resources/
tar xvfz arch/osx/vncviewer.tar.gz
mv vncviewer dist/Gitso.app/Contents/Resources/
tar xvfz arch/osx/cotvnc.app.tar.gz
mv cotvnc.app dist/Gitso.app/Contents/Resources/
cp icon.ico dist/Gitso.app/Contents/Resources/
cp icon.png dist/Gitso.app/Contents/Resources/
cp __init__.py dist/Gitso.app/Contents/Resources/
cp ArgsParser.py dist/Gitso.app/Contents/Resources/
cp Processes.py dist/Gitso.app/Contents/Resources/
cp ConnectionWindow.py dist/Gitso.app/Contents/Resources/
cp AboutWindow.py dist/Gitso.app/Contents/Resources/
cp GitsoThread.py dist/Gitso.app/Contents/Resources/
cp arch/osx/libjpeg-copyright.txt dist/Gitso.app/Contents/Frameworks/
cp arch/osx/osxvnc_echoware-copyright.txt dist/Gitso.app/Contents/Resources/OSXvnc/
cp arch/osx/cotvnc-copyright.txt dist/Gitso.app/Contents/Resources/cotvnc.app/contents/Resources
cp arch/osx/osxvnc-copyright.txt dist/Gitso.app/Contents/Resources/OSXvnc/
echo -e " [done]\n"
echo -e "Creating Gitso.dmg "

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.22254s using 13 queries.