Merge lp:~robru/gwibber/friends into lp:~barry/gwibber/py3

Proposed by Robert Bruce Park
Status: Merged
Merged at revision: 1453
Proposed branch: lp:~robru/gwibber/friends
Merge into: lp:~barry/gwibber/py3
Diff against target: 116740 lines (+1318/-111611)
328 files modified
.bzrignore (+4/-210)
AUTHORS (+0/-1)
COPYING (+597/-317)
COPYING.GPL-3 (+0/-165)
COPYING.LGPL-2.1 (+0/-510)
HACKING (+0/-1)
INSTALL (+0/-370)
Makefile (+7/-6)
Makefile.am (+0/-54)
NEWS (+0/-195)
README (+0/-50)
acinclude.m4 (+0/-268)
autogen.sh (+0/-11)
bin/Makefile.am (+0/-4)
bin/gwibber-service (+0/-70)
client/COPYING (+0/-674)
client/Makefile.am (+0/-125)
client/attachments-item.vala (+0/-84)
client/gwibber-client.vala (+0/-453)
client/gwibber-poster.vala (+0/-90)
client/gwibber-preferences.vala (+0/-122)
client/home-item.vala (+0/-38)
client/messages-item.vala (+0/-39)
client/private-item.vala (+0/-39)
client/public-item.vala (+0/-47)
client/replies-item.vala (+0/-39)
client/searches-item.vala (+0/-196)
client/status-bar.vala (+0/-93)
client/stream-entry.vala (+0/-282)
client/tab-bar-item.vala (+0/-115)
client/tab-bar-widgets.vala (+0/-379)
client/tab-bar.vala (+0/-352)
client/users-item.vala (+0/-284)
configure.ac (+0/-333)
data/Makefile.am (+0/-59)
data/com.Gwibber.Connection.service.in (+0/-3)
data/com.Gwibber.Messages.service.in (+0/-3)
data/com.Gwibber.Searches.service.in (+0/-3)
data/com.Gwibber.Service.service.in (+0/-3)
data/com.Gwibber.Streams.service.in (+0/-3)
data/com.Gwibber.URLShorten.service.in (+0/-3)
data/gwibber-preferences-dialog.ui (+0/-508)
data/gwibber-preferences.desktop.in (+0/-11)
data/gwibber.application.in (+0/-12)
data/gwibber.convert (+0/-10)
data/gwibber.desktop.in.in (+0/-17)
data/gwibber.indicator (+0/-1)
data/icons/16x16/Makefile.am (+0/-1)
data/icons/16x16/apps/Makefile.am (+0/-7)
data/icons/24x24/Makefile.am (+0/-1)
data/icons/24x24/apps/Makefile.am (+0/-7)
data/icons/256x256/Makefile.am (+0/-1)
data/icons/256x256/apps/Makefile.am (+0/-7)
data/icons/32x32/Makefile.am (+0/-1)
data/icons/32x32/apps/Makefile.am (+0/-7)
data/icons/48x48/Makefile.am (+0/-1)
data/icons/48x48/apps/Makefile.am (+0/-7)
data/icons/Makefile.am (+0/-15)
data/icons/hicolor/16x16/Makefile.am (+0/-1)
data/icons/hicolor/16x16/apps/Makefile.am (+0/-11)
data/icons/hicolor/16x16/apps/facebook.svg (+0/-216)
data/icons/hicolor/16x16/apps/flickr.svg (+0/-314)
data/icons/hicolor/16x16/apps/identica.svg (+0/-342)
data/icons/hicolor/16x16/apps/openid.svg (+0/-197)
data/icons/hicolor/16x16/apps/statusnet.svg (+0/-332)
data/icons/hicolor/16x16/apps/stumbleupon.svg (+0/-168)
data/icons/hicolor/16x16/apps/twitter.svg (+0/-69)
data/icons/hicolor/16x16/status/Makefile.am (+0/-6)
data/icons/hicolor/22x22/Makefile.am (+0/-1)
data/icons/hicolor/22x22/apps/Makefile.am (+0/-11)
data/icons/hicolor/22x22/apps/facebook.svg (+0/-225)
data/icons/hicolor/22x22/apps/flickr.svg (+0/-286)
data/icons/hicolor/22x22/apps/identica.svg (+0/-336)
data/icons/hicolor/22x22/apps/openid.svg (+0/-220)
data/icons/hicolor/22x22/apps/statusnet.svg (+0/-326)
data/icons/hicolor/22x22/apps/stumbleupon.svg (+0/-192)
data/icons/hicolor/22x22/apps/twitter.svg (+0/-69)
data/icons/hicolor/22x22/places/Makefile.am (+0/-13)
data/icons/hicolor/22x22/status/Makefile.am (+0/-5)
data/icons/hicolor/48x48/Makefile.am (+0/-1)
data/icons/hicolor/48x48/places/Makefile.am (+0/-5)
data/icons/hicolor/COPYING.breakdance (+0/-21)
data/icons/hicolor/Makefile.am (+0/-15)
data/icons/hicolor/README (+0/-17)
data/icons/hicolor/scalable/Makefile.am (+0/-1)
data/icons/hicolor/scalable/apps/Makefile.am (+0/-11)
data/icons/hicolor/scalable/apps/facebook.svg (+0/-227)
data/icons/hicolor/scalable/apps/flickr.svg (+0/-206)
data/icons/hicolor/scalable/apps/identica.svg (+0/-207)
data/icons/hicolor/scalable/apps/openid.svg (+0/-223)
data/icons/hicolor/scalable/apps/statusnet.svg (+0/-190)
data/icons/hicolor/scalable/apps/stumbleupon.svg (+0/-201)
data/icons/hicolor/scalable/apps/twitter.svg (+0/-69)
data/icons/hicolor/scalable/places/Makefile.am (+0/-11)
data/icons/hicolor/scalable/places/group-images.svg (+0/-21)
data/icons/hicolor/scalable/places/group-links.svg (+0/-19)
data/icons/hicolor/scalable/places/group-messages.svg (+0/-8)
data/icons/hicolor/scalable/places/group-private.svg (+0/-12)
data/icons/hicolor/scalable/places/group-public.svg (+0/-16)
data/icons/hicolor/scalable/places/group-replies.svg (+0/-27)
data/icons/hicolor/scalable/places/group-videos.svg (+0/-12)
data/icons/scalable/Makefile.am (+0/-1)
data/icons/scalable/apps/Makefile.am (+0/-7)
data/icons/scalable/apps/gwibber.svg (+0/-1602)
data/icons/streams/16x16/Makefile.am (+0/-19)
data/icons/streams/24x24/Makefile.am (+0/-19)
data/icons/streams/32x32/Makefile.am (+0/-18)
data/icons/streams/Makefile.am (+0/-1)
data/org.gwibber.gschema.xml.in.in (+0/-133)
docs/gen.py (+0/-9)
examples/Makefile.am (+0/-89)
examples/entry-c.c (+0/-46)
examples/entry-python.py (+0/-40)
examples/entry-vala.vala (+0/-56)
examples/example-vala.vala (+0/-171)
friends/errors.py (+12/-11)
friends/main.py (+17/-16)
friends/protocols/facebook.py (+8/-7)
friends/protocols/flickr.py (+11/-10)
friends/protocols/foursquare.py (+11/-10)
friends/protocols/identica.py (+6/-5)
friends/protocols/twitter.py (+10/-9)
friends/service/connection.py (+11/-10)
friends/service/dispatcher.py (+32/-30)
friends/service/shortener.py (+12/-11)
friends/shorteners/base.py (+4/-3)
friends/shorteners/cligs.py (+7/-6)
friends/shorteners/isgd.py (+6/-5)
friends/shorteners/lookup.py (+10/-9)
friends/shorteners/snipurlcom.py (+6/-5)
friends/shorteners/tinyurlcom.py (+6/-5)
friends/shorteners/ur1ca.py (+7/-6)
friends/shorteners/zima.py (+6/-5)
friends/testing/com.canonical.Friends.Connection.service.in (+3/-0)
friends/testing/com.canonical.Friends.Service.service.in (+3/-0)
friends/testing/com.canonical.Friends.Test.service.in (+3/-0)
friends/testing/com.canonical.Friends.URLShorten.service.in (+3/-0)
friends/testing/dbus.py (+25/-17)
friends/testing/helpers.py (+4/-3)
friends/testing/mocks.py (+9/-8)
friends/testing/service.py (+12/-11)
friends/tests/data/foursquare-full.dat (+1/-1)
friends/tests/test_account.py (+12/-11)
friends/tests/test_authentication.py (+8/-7)
friends/tests/test_avatars.py (+26/-25)
friends/tests/test_cli.py (+6/-9)
friends/tests/test_dbus.py (+21/-20)
friends/tests/test_download.py (+24/-25)
friends/tests/test_facebook.py (+30/-29)
friends/tests/test_flickr.py (+45/-44)
friends/tests/test_foursquare.py (+22/-21)
friends/tests/test_identica.py (+14/-13)
friends/tests/test_logging.py (+25/-24)
friends/tests/test_menu.py (+5/-4)
friends/tests/test_model.py (+5/-4)
friends/tests/test_protocols.py (+29/-28)
friends/tests/test_shortener.py (+24/-23)
friends/tests/test_signaler.py (+5/-4)
friends/tests/test_time.py (+5/-4)
friends/tests/test_twitter.py (+57/-56)
friends/utils/account.py (+12/-11)
friends/utils/authentication.py (+5/-4)
friends/utils/avatar.py (+7/-6)
friends/utils/base.py (+12/-11)
friends/utils/download.py (+5/-4)
friends/utils/logging.py (+7/-6)
friends/utils/manager.py (+7/-6)
friends/utils/menus.py (+12/-11)
friends/utils/model.py (+6/-5)
friends/utils/options.py (+6/-8)
friends/utils/signaler.py (+4/-3)
friends/utils/time.py (+4/-3)
gwibber-0.3.pc.in (+0/-11)
gwibber-gtk-0.3.pc.in (+0/-11)
gwibber/gwibber/testing/com.Gwibber.Connection.service.in (+0/-3)
gwibber/gwibber/testing/com.Gwibber.Service.service.in (+0/-3)
gwibber/gwibber/testing/com.Gwibber.Test.service.in (+0/-3)
gwibber/gwibber/testing/com.Gwibber.URLShorten.service.in (+0/-3)
lens/Makefile.am (+0/-1)
lens/data/Makefile.am (+0/-26)
lens/data/applications-microblogging-panel.svg (+0/-15)
lens/data/gwibber.lens.in.in (+0/-14)
lens/data/unity-lens-gwibber.service.in (+0/-3)
lens/src/Makefile.am (+0/-76)
lens/src/daemon.vala (+0/-671)
lens/src/main.vala (+0/-104)
lens/src/schemas.vala (+0/-52)
libgwibber-gtk/Makefile.am (+0/-123)
libgwibber-gtk/action-box.vala (+0/-343)
libgwibber-gtk/entry.vala (+0/-506)
libgwibber-gtk/gwibber-gtk-0.3.deps (+0/-4)
libgwibber-gtk/search-view-tile.vala (+0/-148)
libgwibber-gtk/search-view.vala (+0/-307)
libgwibber-gtk/stream-view-tile.vala (+0/-997)
libgwibber-gtk/stream-view.vala (+0/-521)
libgwibber-gtk/user-view-tile.vala (+0/-383)
libgwibber-gtk/user-view.vala (+0/-305)
libgwibber/Makefile.am (+0/-104)
libgwibber/account.vala (+0/-135)
libgwibber/accounts.vala (+0/-77)
libgwibber/connection.vala (+0/-106)
libgwibber/gwibber-0.3.deps (+0/-7)
libgwibber/messages.vala (+0/-120)
libgwibber/searches.vala (+0/-226)
libgwibber/service.vala (+0/-514)
libgwibber/stream-model-schema.vala (+0/-64)
libgwibber/streams.vala (+0/-1058)
libgwibber/urlshorten.vala (+0/-84)
libgwibber/utils.vala (+0/-125)
man/Makefile.am (+0/-3)
man/gwibber-accounts.1 (+0/-23)
man/gwibber-poster.1 (+0/-33)
man/gwibber.1 (+0/-25)
po/LINGUAS (+0/-83)
po/Makevars (+0/-10)
po/POTFILES.in (+0/-43)
po/POTFILES.skip (+0/-19)
po/af.po (+0/-1055)
po/an.po (+0/-1068)
po/ar.po (+0/-1066)
po/ast.po (+0/-1081)
po/bg.po (+0/-1070)
po/bn.po (+0/-1086)
po/bs.po (+0/-1095)
po/ca.po (+0/-1081)
po/ca@valencia.po (+0/-1090)
po/cs.po (+0/-1093)
po/cy.po (+0/-1046)
po/da.po (+0/-1087)
po/de.po (+0/-1088)
po/el.po (+0/-1090)
po/en_AU.po (+0/-1087)
po/en_CA.po (+0/-1068)
po/en_GB.po (+0/-1087)
po/eo.po (+0/-1080)
po/es.po (+0/-1087)
po/et.po (+0/-1086)
po/eu.po (+0/-1087)
po/fa.po (+0/-1065)
po/fi.po (+0/-1086)
po/fil.po (+0/-1046)
po/fo.po (+0/-1045)
po/fr.po (+0/-1091)
po/fy.po (+0/-1068)
po/ga.po (+0/-1045)
po/gd.po (+0/-1045)
po/gl.po (+0/-1089)
po/gu.po (+0/-1045)
po/he.po (+0/-1084)
po/hi.po (+0/-1046)
po/hr.po (+0/-1097)
po/hu.po (+0/-1086)
po/hy.po (+0/-1045)
po/ia.po (+0/-1045)
po/id.po (+0/-1063)
po/io.po (+0/-1045)
po/is.po (+0/-1052)
po/it.po (+0/-1092)
po/ja.po (+0/-1074)
po/ka.po (+0/-1067)
po/kn.po (+0/-1046)
po/ko.po (+0/-1059)
po/la.po (+0/-1045)
po/lb.po (+0/-1071)
po/lo.po (+0/-1044)
po/lt.po (+0/-1074)
po/lv.po (+0/-1092)
po/mg.po (+0/-1040)
po/ml.po (+0/-1045)
po/mn.po (+0/-1045)
po/ms.po (+0/-1087)
po/nb.po (+0/-1056)
po/nl.po (+0/-1092)
po/nn.po (+0/-1045)
po/oc.po (+0/-1092)
po/pa.po (+0/-1058)
po/pl.po (+0/-1100)
po/pt.po (+0/-1045)
po/pt_BR.po (+0/-1087)
po/ro.po (+0/-1084)
po/ru.po (+0/-1098)
po/shn.po (+0/-1045)
po/si.po (+0/-1042)
po/sk.po (+0/-1091)
po/sl.po (+0/-1098)
po/sq.po (+0/-1087)
po/sr.po (+0/-1090)
po/sv.po (+0/-1080)
po/ta.po (+0/-1048)
po/te.po (+0/-1065)
po/th.po (+0/-1059)
po/tlh.po (+0/-1045)
po/tr.po (+0/-1076)
po/ug.po (+0/-1081)
po/uk.po (+0/-1079)
po/uz.po (+0/-1045)
po/vi.po (+0/-1072)
po/zh_CN.po (+0/-1055)
po/zh_HK.po (+0/-1063)
po/zh_TW.po (+0/-1064)
run-tests (+0/-26)
scripts/gwibber-client (+0/-11)
scripts/gwibber-errors.py (+0/-16)
scripts/gwibber-service-shutdown (+0/-3)
service/Makefile.am (+0/-31)
service/messages-model-service.vala (+0/-35)
setup.py (+6/-5)
tests/Makefile.am (+0/-33)
tests/data/sample.json (+0/-12)
tests/plugins/test/__init__.py (+0/-71)
tests/python/Makefile.am (+0/-32)
tests/python/run-test-streams (+0/-14)
tests/python/run-test-utils (+0/-14)
tests/python/streams/__init__.py (+0/-22)
tests/python/utils/__init__.py (+0/-69)
tests/service-start.in (+0/-54)
tests/vala/Makefile.am (+0/-57)
tests/vala/config.vapi (+0/-24)
tests/vala/test-streams.vala (+0/-52)
tests/vala/test-utils.vala (+0/-136)
tests/vala/test-vala.vala (+0/-54)
tools/debug_live.py (+6/-6)
tools/debug_slave.py (+3/-3)
vapi/Makefile.am (+0/-5)
vapi/config.vapi (+0/-38)
vapi/gtkspell-3.0.vapi (+0/-24)
vapi/libnotify.deps (+0/-4)
vapi/libnotify.vapi (+0/-69)
To merge this branch: bzr merge lp:~robru/gwibber/friends
Reviewer Review Type Date Requested Status
Barry Warsaw Pending
Review via email: mp+129510@code.launchpad.net

Description of the change

Not sure if this is where you want this merged, but all tests are passing and things are generally awesome. Let me know how you want to proceed with this ;-)

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.bzrignore'
2--- .bzrignore 2012-08-16 21:13:30 +0000
3+++ .bzrignore 2012-10-12 20:27:19 +0000
4@@ -1,211 +1,5 @@
5-unknown:
6-.bzrignore
7-gwibber/semantic.cache
8-semantic.cache
9-*.gmo
10-*.lo
11-*.mo
12-ABOUT-NLS
13-INSTALL
14-Makefile
15-Makefile.in
16-aclocal.m4
17-autom4te.cache/
18-compile
19-config.guess
20-config.h
21-config.h.in
22-config.log
23-config.rpath
24-config.status
25-config.sub
26-configure
27-depcomp
28-gnome-doc-utils.make
29-gtk-doc.make
30-install-sh
31-intltool-*
32-libtool
33-ltmain.sh
34-m4/
35-missing
36-stamp-h1
37-bindings/Makefile
38-bindings/Makefile.in
39-bindings/mono/Makefile
40-bindings/mono/Makefile.in
41-bindings/mono/gwibber/AssemblyInfo.cs
42-bindings/mono/gwibber/Makefile
43-bindings/mono/gwibber/Makefile.in
44-bindings/mono/gwibber/generated/
45-bindings/mono/gwibber/generated-stamp
46-bindings/mono/gwibber/gwibber-api.middle
47-bindings/mono/gwibber/gwibber-api.raw
48-bindings/mono/gwibber/gwibber-api.xml
49-bindings/mono/gwibber/gwibber-sharp.dll
50-bindings/mono/gwibber/gwibber-sharp.dll.config
51-bindings/mono/gwibber-gtk/AssemblyInfo.cs
52-bindings/mono/gwibber-gtk/Makefile
53-bindings/mono/gwibber-gtk/Makefile.in
54-bindings/mono/gwibber-gtk/gwibber-gtk-sharp.dll.config
55-client/.deps/
56-client/.libs/
57-client/Makefile
58-client/Makefile.in
59-client/gwibber-client
60-client/gwibber-client.c
61-client/gwibber-preferences
62-client/gwibber-preferences.c
63-client/gwibber_client_vala.stamp
64-client/gwibber_preferences_vala.stamp
65-client/home-item.c
66-client/tab-bar-item.c
67-client/tab-bar.c
68-client/data/Makefile
69-client/data/Makefile.in
70-client/data/gwibber.desktop
71-client/data/gwibber.desktop.in
72-client/data/org.gwibber.gschema.valid
73-client/data/org.gwibber.gschema.xml
74-client/data/org.gwibber.gschema.xml.in
75-data/Makefile
76-data/Makefile.in
77-docs/Makefile
78-docs/Makefile.in
79-docs/libgwibber/.libs/
80-docs/libgwibber/Makefile
81-docs/libgwibber/Makefile.in
82-docs/libgwibber/html/
83-docs/libgwibber/html-build.stamp
84-docs/libgwibber/html.stamp
85-docs/libgwibber/libgwibber-decl-list.txt
86-docs/libgwibber/libgwibber-decl.txt
87-docs/libgwibber/libgwibber-docs.sgml
88-docs/libgwibber/libgwibber-overrides.txt
89-docs/libgwibber/libgwibber-sections.txt
90-docs/libgwibber/libgwibber-undeclared.txt
91-docs/libgwibber/libgwibber-undocumented.txt
92-docs/libgwibber/libgwibber-unused.txt
93-docs/libgwibber/libgwibber.args
94-docs/libgwibber/libgwibber.hierarchy
95-docs/libgwibber/libgwibber.interfaces
96-docs/libgwibber/libgwibber.prerequisites
97-docs/libgwibber/libgwibber.signals
98-docs/libgwibber/libgwibber.types
99-docs/libgwibber/scan-build.stamp
100-docs/libgwibber/sgml-build.stamp
101-docs/libgwibber/sgml.stamp
102-docs/libgwibber/tmpl/
103-docs/libgwibber/tmpl-build.stamp
104-docs/libgwibber/tmpl.stamp
105-docs/libgwibber/version.xml
106-docs/libgwibber/xml/
107-docs/libgwibber-gtk/.libs/
108-docs/libgwibber-gtk/Makefile
109-docs/libgwibber-gtk/Makefile.in
110-docs/libgwibber-gtk/html/
111-docs/libgwibber-gtk/html-build.stamp
112-docs/libgwibber-gtk/html.stamp
113-docs/libgwibber-gtk/libgwibber-gtk-decl-list.txt
114-docs/libgwibber-gtk/libgwibber-gtk-decl-list.txt.bak
115-docs/libgwibber-gtk/libgwibber-gtk-decl.txt
116-docs/libgwibber-gtk/libgwibber-gtk-decl.txt.bak
117-docs/libgwibber-gtk/libgwibber-gtk-docs.sgml
118-docs/libgwibber-gtk/libgwibber-gtk-overrides.txt
119-docs/libgwibber-gtk/libgwibber-gtk-sections.txt
120-docs/libgwibber-gtk/libgwibber-gtk-undeclared.txt
121-docs/libgwibber-gtk/libgwibber-gtk-undocumented.txt
122-docs/libgwibber-gtk/libgwibber-gtk-unused.txt
123-docs/libgwibber-gtk/libgwibber-gtk.args
124-docs/libgwibber-gtk/libgwibber-gtk.hierarchy
125-docs/libgwibber-gtk/libgwibber-gtk.interfaces
126-docs/libgwibber-gtk/libgwibber-gtk.prerequisites
127-docs/libgwibber-gtk/libgwibber-gtk.signals
128-docs/libgwibber-gtk/libgwibber-gtk.types
129-docs/libgwibber-gtk/scan-build.stamp
130-docs/libgwibber-gtk/sgml-build.stamp
131-docs/libgwibber-gtk/sgml.stamp
132-docs/libgwibber-gtk/tmpl/
133-docs/libgwibber-gtk/tmpl-build.stamp
134-docs/libgwibber-gtk/tmpl.stamp
135-docs/libgwibber-gtk/version.xml
136-docs/libgwibber-gtk/xml/
137-lens/Makefile
138-lens/Makefile.in
139-lens/data/Makefile
140-lens/data/Makefile.in
141-lens/data/unity-lens-gwibber.service
142-lens/src/.deps/
143-lens/src/.libs/
144-lens/src/Makefile
145-lens/src/Makefile.in
146-lens/src/daemon.c
147-lens/src/main.c
148-lens/src/schemas.c
149-lens/src/unity-lens-gwibber
150-lens/src/unity_lens_gwibber.vala.stamp
151-libgwibber/.deps/
152-libgwibber/.libs/
153-libgwibber/Makefile
154-libgwibber/Makefile.in
155-libgwibber/account.c
156-libgwibber/accounts.c
157-libgwibber/connection.c
158-libgwibber/gwibber-0.1.vapi
159-libgwibber/gwibber.h
160-libgwibber/libgwibber.la
161-libgwibber/libgwibber_la-account.lo
162-libgwibber/libgwibber_la-accounts.lo
163-libgwibber/libgwibber_la-connection.lo
164-libgwibber/libgwibber_la-messages.lo
165-libgwibber/libgwibber_la-service.lo
166-libgwibber/libgwibber_la-stream-model-schema.lo
167-libgwibber/libgwibber_la-streams.lo
168-libgwibber/libgwibber_la-urlshorten.lo
169-libgwibber/libgwibber_la-utils.lo
170-libgwibber/libgwibber_la_vala.stamp
171-libgwibber/messages.c
172-libgwibber/service.c
173-libgwibber/stream-model-schema.c
174-libgwibber/streams.c
175-libgwibber/urlshorten.c
176-libgwibber/utils.c
177-libgwibber-gtk/.deps/
178-libgwibber-gtk/.libs/
179-libgwibber-gtk/Makefile
180-libgwibber-gtk/Makefile.in
181-libgwibber-gtk/entry.c
182-libgwibber-gtk/gwibber-gtk-0.1.vapi
183-libgwibber-gtk/gwibber-gtk.h
184-libgwibber-gtk/libgwibber-gtk.la
185-libgwibber-gtk/libgwibber_gtk_la-entry.lo
186-libgwibber-gtk/libgwibber_gtk_la-stream-view-tile.lo
187-libgwibber-gtk/libgwibber_gtk_la-stream-view.lo
188-libgwibber-gtk/libgwibber_gtk_la_vala.stamp
189-libgwibber-gtk/stream-view-tile.c
190-libgwibber-gtk/stream-view.c
191-po/.intltool-merge-cache
192-po/Makefile
193-po/Makefile.in
194-po/Makefile.in.in
195-po/Makevars.template
196-po/POTFILES
197-po/Rules-quot
198-po/boldquot.sed
199-po/en@boldquot.header
200-po/en@quot.header
201-po/insert-header.sin
202-po/quot.sed
203-po/remove-potcdate.sin
204-po/stamp-it
205-vapi/Makefile
206-vapi/Makefile.in
207-client/*.v
208-client/private-item.c
209-client/replies-item.c
210-client/attachments-item.c
211-client/tab-bar-widgets.c
212 __pycache__
213-gwibber/build
214-gwibber/dist
215-gwibber/gwibber.egg-info
216+*.pyc
217+*.egg-info
218+build
219+dist
220
221=== removed file 'AUTHORS'
222--- AUTHORS 2011-06-18 02:54:49 +0000
223+++ AUTHORS 1970-01-01 00:00:00 +0000
224@@ -1,1 +0,0 @@
225-Ken VanDine <ken.vandine@canonical.com>
226
227=== modified file 'COPYING'
228--- COPYING 2007-06-06 08:18:03 +0000
229+++ COPYING 2012-10-12 20:27:19 +0000
230@@ -1,339 +1,619 @@
231- GNU GENERAL PUBLIC LICENSE
232- Version 2, June 1991
233+ GNU GENERAL PUBLIC LICENSE
234+ Version 3, 29 June 2007
235
236- Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
237- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
238+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
239 Everyone is permitted to copy and distribute verbatim copies
240 of this license document, but changing it is not allowed.
241
242- Preamble
243-
244- The licenses for most software are designed to take away your
245-freedom to share and change it. By contrast, the GNU General Public
246-License is intended to guarantee your freedom to share and change free
247-software--to make sure the software is free for all its users. This
248-General Public License applies to most of the Free Software
249-Foundation's software and to any other program whose authors commit to
250-using it. (Some other Free Software Foundation software is covered by
251-the GNU Lesser General Public License instead.) You can apply it to
252+ Preamble
253+
254+ The GNU General Public License is a free, copyleft license for
255+software and other kinds of works.
256+
257+ The licenses for most software and other practical works are designed
258+to take away your freedom to share and change the works. By contrast,
259+the GNU General Public License is intended to guarantee your freedom to
260+share and change all versions of a program--to make sure it remains free
261+software for all its users. We, the Free Software Foundation, use the
262+GNU General Public License for most of our software; it applies also to
263+any other work released this way by its authors. You can apply it to
264 your programs, too.
265
266 When we speak of free software, we are referring to freedom, not
267 price. Our General Public Licenses are designed to make sure that you
268 have the freedom to distribute copies of free software (and charge for
269-this service if you wish), that you receive source code or can get it
270-if you want it, that you can change the software or use pieces of it
271-in new free programs; and that you know you can do these things.
272+them if you wish), that you receive source code or can get it if you
273+want it, that you can change the software or use pieces of it in new
274+free programs, and that you know you can do these things.
275
276- To protect your rights, we need to make restrictions that forbid
277-anyone to deny you these rights or to ask you to surrender the rights.
278-These restrictions translate to certain responsibilities for you if you
279-distribute copies of the software, or if you modify it.
280+ To protect your rights, we need to prevent others from denying you
281+these rights or asking you to surrender the rights. Therefore, you have
282+certain responsibilities if you distribute copies of the software, or if
283+you modify it: responsibilities to respect the freedom of others.
284
285 For example, if you distribute copies of such a program, whether
286-gratis or for a fee, you must give the recipients all the rights that
287-you have. You must make sure that they, too, receive or can get the
288-source code. And you must show them these terms so they know their
289-rights.
290-
291- We protect your rights with two steps: (1) copyright the software, and
292-(2) offer you this license which gives you legal permission to copy,
293-distribute and/or modify the software.
294-
295- Also, for each author's protection and ours, we want to make certain
296-that everyone understands that there is no warranty for this free
297-software. If the software is modified by someone else and passed on, we
298-want its recipients to know that what they have is not the original, so
299-that any problems introduced by others will not reflect on the original
300-authors' reputations.
301-
302- Finally, any free program is threatened constantly by software
303-patents. We wish to avoid the danger that redistributors of a free
304-program will individually obtain patent licenses, in effect making the
305-program proprietary. To prevent this, we have made it clear that any
306-patent must be licensed for everyone's free use or not licensed at all.
307+gratis or for a fee, you must pass on to the recipients the same
308+freedoms that you received. You must make sure that they, too, receive
309+or can get the source code. And you must show them these terms so they
310+know their rights.
311+
312+ Developers that use the GNU GPL protect your rights with two steps:
313+(1) assert copyright on the software, and (2) offer you this License
314+giving you legal permission to copy, distribute and/or modify it.
315+
316+ For the developers' and authors' protection, the GPL clearly explains
317+that there is no warranty for this free software. For both users' and
318+authors' sake, the GPL requires that modified versions be marked as
319+changed, so that their problems will not be attributed erroneously to
320+authors of previous versions.
321+
322+ Some devices are designed to deny users access to install or run
323+modified versions of the software inside them, although the manufacturer
324+can do so. This is fundamentally incompatible with the aim of
325+protecting users' freedom to change the software. The systematic
326+pattern of such abuse occurs in the area of products for individuals to
327+use, which is precisely where it is most unacceptable. Therefore, we
328+have designed this version of the GPL to prohibit the practice for those
329+products. If such problems arise substantially in other domains, we
330+stand ready to extend this provision to those domains in future versions
331+of the GPL, as needed to protect the freedom of users.
332+
333+ Finally, every program is threatened constantly by software patents.
334+States should not allow patents to restrict development and use of
335+software on general-purpose computers, but in those that do, we wish to
336+avoid the special danger that patents applied to a free program could
337+make it effectively proprietary. To prevent this, the GPL assures that
338+patents cannot be used to render the program non-free.
339
340 The precise terms and conditions for copying, distribution and
341 modification follow.
342
343- GNU GENERAL PUBLIC LICENSE
344- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
345-
346- 0. This License applies to any program or other work which contains
347-a notice placed by the copyright holder saying it may be distributed
348-under the terms of this General Public License. The "Program", below,
349-refers to any such program or work, and a "work based on the Program"
350-means either the Program or any derivative work under copyright law:
351-that is to say, a work containing the Program or a portion of it,
352-either verbatim or with modifications and/or translated into another
353-language. (Hereinafter, translation is included without limitation in
354-the term "modification".) Each licensee is addressed as "you".
355-
356-Activities other than copying, distribution and modification are not
357-covered by this License; they are outside its scope. The act of
358-running the Program is not restricted, and the output from the Program
359-is covered only if its contents constitute a work based on the
360-Program (independent of having been made by running the Program).
361-Whether that is true depends on what the Program does.
362-
363- 1. You may copy and distribute verbatim copies of the Program's
364-source code as you receive it, in any medium, provided that you
365-conspicuously and appropriately publish on each copy an appropriate
366-copyright notice and disclaimer of warranty; keep intact all the
367-notices that refer to this License and to the absence of any warranty;
368-and give any other recipients of the Program a copy of this License
369-along with the Program.
370-
371-You may charge a fee for the physical act of transferring a copy, and
372-you may at your option offer warranty protection in exchange for a fee.
373-
374- 2. You may modify your copy or copies of the Program or any portion
375-of it, thus forming a work based on the Program, and copy and
376-distribute such modifications or work under the terms of Section 1
377-above, provided that you also meet all of these conditions:
378-
379- a) You must cause the modified files to carry prominent notices
380- stating that you changed the files and the date of any change.
381-
382- b) You must cause any work that you distribute or publish, that in
383- whole or in part contains or is derived from the Program or any
384- part thereof, to be licensed as a whole at no charge to all third
385- parties under the terms of this License.
386-
387- c) If the modified program normally reads commands interactively
388- when run, you must cause it, when started running for such
389- interactive use in the most ordinary way, to print or display an
390- announcement including an appropriate copyright notice and a
391- notice that there is no warranty (or else, saying that you provide
392- a warranty) and that users may redistribute the program under
393- these conditions, and telling the user how to view a copy of this
394- License. (Exception: if the Program itself is interactive but
395- does not normally print such an announcement, your work based on
396- the Program is not required to print an announcement.)
397-
398-These requirements apply to the modified work as a whole. If
399-identifiable sections of that work are not derived from the Program,
400-and can be reasonably considered independent and separate works in
401-themselves, then this License, and its terms, do not apply to those
402-sections when you distribute them as separate works. But when you
403-distribute the same sections as part of a whole which is a work based
404-on the Program, the distribution of the whole must be on the terms of
405-this License, whose permissions for other licensees extend to the
406-entire whole, and thus to each and every part regardless of who wrote it.
407-
408-Thus, it is not the intent of this section to claim rights or contest
409-your rights to work written entirely by you; rather, the intent is to
410-exercise the right to control the distribution of derivative or
411-collective works based on the Program.
412-
413-In addition, mere aggregation of another work not based on the Program
414-with the Program (or with a work based on the Program) on a volume of
415-a storage or distribution medium does not bring the other work under
416-the scope of this License.
417-
418- 3. You may copy and distribute the Program (or a work based on it,
419-under Section 2) in object code or executable form under the terms of
420-Sections 1 and 2 above provided that you also do one of the following:
421-
422- a) Accompany it with the complete corresponding machine-readable
423- source code, which must be distributed under the terms of Sections
424- 1 and 2 above on a medium customarily used for software interchange; or,
425-
426- b) Accompany it with a written offer, valid for at least three
427- years, to give any third party, for a charge no more than your
428- cost of physically performing source distribution, a complete
429- machine-readable copy of the corresponding source code, to be
430- distributed under the terms of Sections 1 and 2 above on a medium
431- customarily used for software interchange; or,
432-
433- c) Accompany it with the information you received as to the offer
434- to distribute corresponding source code. (This alternative is
435- allowed only for noncommercial distribution and only if you
436- received the program in object code or executable form with such
437- an offer, in accord with Subsection b above.)
438-
439-The source code for a work means the preferred form of the work for
440-making modifications to it. For an executable work, complete source
441-code means all the source code for all modules it contains, plus any
442-associated interface definition files, plus the scripts used to
443-control compilation and installation of the executable. However, as a
444-special exception, the source code distributed need not include
445-anything that is normally distributed (in either source or binary
446-form) with the major components (compiler, kernel, and so on) of the
447-operating system on which the executable runs, unless that component
448-itself accompanies the executable.
449-
450-If distribution of executable or object code is made by offering
451-access to copy from a designated place, then offering equivalent
452-access to copy the source code from the same place counts as
453-distribution of the source code, even though third parties are not
454-compelled to copy the source along with the object code.
455-
456- 4. You may not copy, modify, sublicense, or distribute the Program
457-except as expressly provided under this License. Any attempt
458-otherwise to copy, modify, sublicense or distribute the Program is
459-void, and will automatically terminate your rights under this License.
460-However, parties who have received copies, or rights, from you under
461-this License will not have their licenses terminated so long as such
462-parties remain in full compliance.
463-
464- 5. You are not required to accept this License, since you have not
465-signed it. However, nothing else grants you permission to modify or
466-distribute the Program or its derivative works. These actions are
467-prohibited by law if you do not accept this License. Therefore, by
468-modifying or distributing the Program (or any work based on the
469-Program), you indicate your acceptance of this License to do so, and
470-all its terms and conditions for copying, distributing or modifying
471-the Program or works based on it.
472-
473- 6. Each time you redistribute the Program (or any work based on the
474-Program), the recipient automatically receives a license from the
475-original licensor to copy, distribute or modify the Program subject to
476-these terms and conditions. You may not impose any further
477-restrictions on the recipients' exercise of the rights granted herein.
478-You are not responsible for enforcing compliance by third parties to
479+ TERMS AND CONDITIONS
480+
481+ 0. Definitions.
482+
483+ "This License" refers to version 3 of the GNU General Public License.
484+
485+ "Copyright" also means copyright-like laws that apply to other kinds of
486+works, such as semiconductor masks.
487+
488+ "The Program" refers to any copyrightable work licensed under this
489+License. Each licensee is addressed as "you". "Licensees" and
490+"recipients" may be individuals or organizations.
491+
492+ To "modify" a work means to copy from or adapt all or part of the work
493+in a fashion requiring copyright permission, other than the making of an
494+exact copy. The resulting work is called a "modified version" of the
495+earlier work or a work "based on" the earlier work.
496+
497+ A "covered work" means either the unmodified Program or a work based
498+on the Program.
499+
500+ To "propagate" a work means to do anything with it that, without
501+permission, would make you directly or secondarily liable for
502+infringement under applicable copyright law, except executing it on a
503+computer or modifying a private copy. Propagation includes copying,
504+distribution (with or without modification), making available to the
505+public, and in some countries other activities as well.
506+
507+ To "convey" a work means any kind of propagation that enables other
508+parties to make or receive copies. Mere interaction with a user through
509+a computer network, with no transfer of a copy, is not conveying.
510+
511+ An interactive user interface displays "Appropriate Legal Notices"
512+to the extent that it includes a convenient and prominently visible
513+feature that (1) displays an appropriate copyright notice, and (2)
514+tells the user that there is no warranty for the work (except to the
515+extent that warranties are provided), that licensees may convey the
516+work under this License, and how to view a copy of this License. If
517+the interface presents a list of user commands or options, such as a
518+menu, a prominent item in the list meets this criterion.
519+
520+ 1. Source Code.
521+
522+ The "source code" for a work means the preferred form of the work
523+for making modifications to it. "Object code" means any non-source
524+form of a work.
525+
526+ A "Standard Interface" means an interface that either is an official
527+standard defined by a recognized standards body, or, in the case of
528+interfaces specified for a particular programming language, one that
529+is widely used among developers working in that language.
530+
531+ The "System Libraries" of an executable work include anything, other
532+than the work as a whole, that (a) is included in the normal form of
533+packaging a Major Component, but which is not part of that Major
534+Component, and (b) serves only to enable use of the work with that
535+Major Component, or to implement a Standard Interface for which an
536+implementation is available to the public in source code form. A
537+"Major Component", in this context, means a major essential component
538+(kernel, window system, and so on) of the specific operating system
539+(if any) on which the executable work runs, or a compiler used to
540+produce the work, or an object code interpreter used to run it.
541+
542+ The "Corresponding Source" for a work in object code form means all
543+the source code needed to generate, install, and (for an executable
544+work) run the object code and to modify the work, including scripts to
545+control those activities. However, it does not include the work's
546+System Libraries, or general-purpose tools or generally available free
547+programs which are used unmodified in performing those activities but
548+which are not part of the work. For example, Corresponding Source
549+includes interface definition files associated with source files for
550+the work, and the source code for shared libraries and dynamically
551+linked subprograms that the work is specifically designed to require,
552+such as by intimate data communication or control flow between those
553+subprograms and other parts of the work.
554+
555+ The Corresponding Source need not include anything that users
556+can regenerate automatically from other parts of the Corresponding
557+Source.
558+
559+ The Corresponding Source for a work in source code form is that
560+same work.
561+
562+ 2. Basic Permissions.
563+
564+ All rights granted under this License are granted for the term of
565+copyright on the Program, and are irrevocable provided the stated
566+conditions are met. This License explicitly affirms your unlimited
567+permission to run the unmodified Program. The output from running a
568+covered work is covered by this License only if the output, given its
569+content, constitutes a covered work. This License acknowledges your
570+rights of fair use or other equivalent, as provided by copyright law.
571+
572+ You may make, run and propagate covered works that you do not
573+convey, without conditions so long as your license otherwise remains
574+in force. You may convey covered works to others for the sole purpose
575+of having them make modifications exclusively for you, or provide you
576+with facilities for running those works, provided that you comply with
577+the terms of this License in conveying all material for which you do
578+not control copyright. Those thus making or running the covered works
579+for you must do so exclusively on your behalf, under your direction
580+and control, on terms that prohibit them from making any copies of
581+your copyrighted material outside their relationship with you.
582+
583+ Conveying under any other circumstances is permitted solely under
584+the conditions stated below. Sublicensing is not allowed; section 10
585+makes it unnecessary.
586+
587+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
588+
589+ No covered work shall be deemed part of an effective technological
590+measure under any applicable law fulfilling obligations under article
591+11 of the WIPO copyright treaty adopted on 20 December 1996, or
592+similar laws prohibiting or restricting circumvention of such
593+measures.
594+
595+ When you convey a covered work, you waive any legal power to forbid
596+circumvention of technological measures to the extent such circumvention
597+is effected by exercising rights under this License with respect to
598+the covered work, and you disclaim any intention to limit operation or
599+modification of the work as a means of enforcing, against the work's
600+users, your or third parties' legal rights to forbid circumvention of
601+technological measures.
602+
603+ 4. Conveying Verbatim Copies.
604+
605+ You may convey verbatim copies of the Program's source code as you
606+receive it, in any medium, provided that you conspicuously and
607+appropriately publish on each copy an appropriate copyright notice;
608+keep intact all notices stating that this License and any
609+non-permissive terms added in accord with section 7 apply to the code;
610+keep intact all notices of the absence of any warranty; and give all
611+recipients a copy of this License along with the Program.
612+
613+ You may charge any price or no price for each copy that you convey,
614+and you may offer support or warranty protection for a fee.
615+
616+ 5. Conveying Modified Source Versions.
617+
618+ You may convey a work based on the Program, or the modifications to
619+produce it from the Program, in the form of source code under the
620+terms of section 4, provided that you also meet all of these conditions:
621+
622+ a) The work must carry prominent notices stating that you modified
623+ it, and giving a relevant date.
624+
625+ b) The work must carry prominent notices stating that it is
626+ released under this License and any conditions added under section
627+ 7. This requirement modifies the requirement in section 4 to
628+ "keep intact all notices".
629+
630+ c) You must license the entire work, as a whole, under this
631+ License to anyone who comes into possession of a copy. This
632+ License will therefore apply, along with any applicable section 7
633+ additional terms, to the whole of the work, and all its parts,
634+ regardless of how they are packaged. This License gives no
635+ permission to license the work in any other way, but it does not
636+ invalidate such permission if you have separately received it.
637+
638+ d) If the work has interactive user interfaces, each must display
639+ Appropriate Legal Notices; however, if the Program has interactive
640+ interfaces that do not display Appropriate Legal Notices, your
641+ work need not make them do so.
642+
643+ A compilation of a covered work with other separate and independent
644+works, which are not by their nature extensions of the covered work,
645+and which are not combined with it such as to form a larger program,
646+in or on a volume of a storage or distribution medium, is called an
647+"aggregate" if the compilation and its resulting copyright are not
648+used to limit the access or legal rights of the compilation's users
649+beyond what the individual works permit. Inclusion of a covered work
650+in an aggregate does not cause this License to apply to the other
651+parts of the aggregate.
652+
653+ 6. Conveying Non-Source Forms.
654+
655+ You may convey a covered work in object code form under the terms
656+of sections 4 and 5, provided that you also convey the
657+machine-readable Corresponding Source under the terms of this License,
658+in one of these ways:
659+
660+ a) Convey the object code in, or embodied in, a physical product
661+ (including a physical distribution medium), accompanied by the
662+ Corresponding Source fixed on a durable physical medium
663+ customarily used for software interchange.
664+
665+ b) Convey the object code in, or embodied in, a physical product
666+ (including a physical distribution medium), accompanied by a
667+ written offer, valid for at least three years and valid for as
668+ long as you offer spare parts or customer support for that product
669+ model, to give anyone who possesses the object code either (1) a
670+ copy of the Corresponding Source for all the software in the
671+ product that is covered by this License, on a durable physical
672+ medium customarily used for software interchange, for a price no
673+ more than your reasonable cost of physically performing this
674+ conveying of source, or (2) access to copy the
675+ Corresponding Source from a network server at no charge.
676+
677+ c) Convey individual copies of the object code with a copy of the
678+ written offer to provide the Corresponding Source. This
679+ alternative is allowed only occasionally and noncommercially, and
680+ only if you received the object code with such an offer, in accord
681+ with subsection 6b.
682+
683+ d) Convey the object code by offering access from a designated
684+ place (gratis or for a charge), and offer equivalent access to the
685+ Corresponding Source in the same way through the same place at no
686+ further charge. You need not require recipients to copy the
687+ Corresponding Source along with the object code. If the place to
688+ copy the object code is a network server, the Corresponding Source
689+ may be on a different server (operated by you or a third party)
690+ that supports equivalent copying facilities, provided you maintain
691+ clear directions next to the object code saying where to find the
692+ Corresponding Source. Regardless of what server hosts the
693+ Corresponding Source, you remain obligated to ensure that it is
694+ available for as long as needed to satisfy these requirements.
695+
696+ e) Convey the object code using peer-to-peer transmission, provided
697+ you inform other peers where the object code and Corresponding
698+ Source of the work are being offered to the general public at no
699+ charge under subsection 6d.
700+
701+ A separable portion of the object code, whose source code is excluded
702+from the Corresponding Source as a System Library, need not be
703+included in conveying the object code work.
704+
705+ A "User Product" is either (1) a "consumer product", which means any
706+tangible personal property which is normally used for personal, family,
707+or household purposes, or (2) anything designed or sold for incorporation
708+into a dwelling. In determining whether a product is a consumer product,
709+doubtful cases shall be resolved in favor of coverage. For a particular
710+product received by a particular user, "normally used" refers to a
711+typical or common use of that class of product, regardless of the status
712+of the particular user or of the way in which the particular user
713+actually uses, or expects or is expected to use, the product. A product
714+is a consumer product regardless of whether the product has substantial
715+commercial, industrial or non-consumer uses, unless such uses represent
716+the only significant mode of use of the product.
717+
718+ "Installation Information" for a User Product means any methods,
719+procedures, authorization keys, or other information required to install
720+and execute modified versions of a covered work in that User Product from
721+a modified version of its Corresponding Source. The information must
722+suffice to ensure that the continued functioning of the modified object
723+code is in no case prevented or interfered with solely because
724+modification has been made.
725+
726+ If you convey an object code work under this section in, or with, or
727+specifically for use in, a User Product, and the conveying occurs as
728+part of a transaction in which the right of possession and use of the
729+User Product is transferred to the recipient in perpetuity or for a
730+fixed term (regardless of how the transaction is characterized), the
731+Corresponding Source conveyed under this section must be accompanied
732+by the Installation Information. But this requirement does not apply
733+if neither you nor any third party retains the ability to install
734+modified object code on the User Product (for example, the work has
735+been installed in ROM).
736+
737+ The requirement to provide Installation Information does not include a
738+requirement to continue to provide support service, warranty, or updates
739+for a work that has been modified or installed by the recipient, or for
740+the User Product in which it has been modified or installed. Access to a
741+network may be denied when the modification itself materially and
742+adversely affects the operation of the network or violates the rules and
743+protocols for communication across the network.
744+
745+ Corresponding Source conveyed, and Installation Information provided,
746+in accord with this section must be in a format that is publicly
747+documented (and with an implementation available to the public in
748+source code form), and must require no special password or key for
749+unpacking, reading or copying.
750+
751+ 7. Additional Terms.
752+
753+ "Additional permissions" are terms that supplement the terms of this
754+License by making exceptions from one or more of its conditions.
755+Additional permissions that are applicable to the entire Program shall
756+be treated as though they were included in this License, to the extent
757+that they are valid under applicable law. If additional permissions
758+apply only to part of the Program, that part may be used separately
759+under those permissions, but the entire Program remains governed by
760+this License without regard to the additional permissions.
761+
762+ When you convey a copy of a covered work, you may at your option
763+remove any additional permissions from that copy, or from any part of
764+it. (Additional permissions may be written to require their own
765+removal in certain cases when you modify the work.) You may place
766+additional permissions on material, added by you to a covered work,
767+for which you have or can give appropriate copyright permission.
768+
769+ Notwithstanding any other provision of this License, for material you
770+add to a covered work, you may (if authorized by the copyright holders of
771+that material) supplement the terms of this License with terms:
772+
773+ a) Disclaiming warranty or limiting liability differently from the
774+ terms of sections 15 and 16 of this License; or
775+
776+ b) Requiring preservation of specified reasonable legal notices or
777+ author attributions in that material or in the Appropriate Legal
778+ Notices displayed by works containing it; or
779+
780+ c) Prohibiting misrepresentation of the origin of that material, or
781+ requiring that modified versions of such material be marked in
782+ reasonable ways as different from the original version; or
783+
784+ d) Limiting the use for publicity purposes of names of licensors or
785+ authors of the material; or
786+
787+ e) Declining to grant rights under trademark law for use of some
788+ trade names, trademarks, or service marks; or
789+
790+ f) Requiring indemnification of licensors and authors of that
791+ material by anyone who conveys the material (or modified versions of
792+ it) with contractual assumptions of liability to the recipient, for
793+ any liability that these contractual assumptions directly impose on
794+ those licensors and authors.
795+
796+ All other non-permissive additional terms are considered "further
797+restrictions" within the meaning of section 10. If the Program as you
798+received it, or any part of it, contains a notice stating that it is
799+governed by this License along with a term that is a further
800+restriction, you may remove that term. If a license document contains
801+a further restriction but permits relicensing or conveying under this
802+License, you may add to a covered work material governed by the terms
803+of that license document, provided that the further restriction does
804+not survive such relicensing or conveying.
805+
806+ If you add terms to a covered work in accord with this section, you
807+must place, in the relevant source files, a statement of the
808+additional terms that apply to those files, or a notice indicating
809+where to find the applicable terms.
810+
811+ Additional terms, permissive or non-permissive, may be stated in the
812+form of a separately written license, or stated as exceptions;
813+the above requirements apply either way.
814+
815+ 8. Termination.
816+
817+ You may not propagate or modify a covered work except as expressly
818+provided under this License. Any attempt otherwise to propagate or
819+modify it is void, and will automatically terminate your rights under
820+this License (including any patent licenses granted under the third
821+paragraph of section 11).
822+
823+ However, if you cease all violation of this License, then your
824+license from a particular copyright holder is reinstated (a)
825+provisionally, unless and until the copyright holder explicitly and
826+finally terminates your license, and (b) permanently, if the copyright
827+holder fails to notify you of the violation by some reasonable means
828+prior to 60 days after the cessation.
829+
830+ Moreover, your license from a particular copyright holder is
831+reinstated permanently if the copyright holder notifies you of the
832+violation by some reasonable means, this is the first time you have
833+received notice of violation of this License (for any work) from that
834+copyright holder, and you cure the violation prior to 30 days after
835+your receipt of the notice.
836+
837+ Termination of your rights under this section does not terminate the
838+licenses of parties who have received copies or rights from you under
839+this License. If your rights have been terminated and not permanently
840+reinstated, you do not qualify to receive new licenses for the same
841+material under section 10.
842+
843+ 9. Acceptance Not Required for Having Copies.
844+
845+ You are not required to accept this License in order to receive or
846+run a copy of the Program. Ancillary propagation of a covered work
847+occurring solely as a consequence of using peer-to-peer transmission
848+to receive a copy likewise does not require acceptance. However,
849+nothing other than this License grants you permission to propagate or
850+modify any covered work. These actions infringe copyright if you do
851+not accept this License. Therefore, by modifying or propagating a
852+covered work, you indicate your acceptance of this License to do so.
853+
854+ 10. Automatic Licensing of Downstream Recipients.
855+
856+ Each time you convey a covered work, the recipient automatically
857+receives a license from the original licensors, to run, modify and
858+propagate that work, subject to this License. You are not responsible
859+for enforcing compliance by third parties with this License.
860+
861+ An "entity transaction" is a transaction transferring control of an
862+organization, or substantially all assets of one, or subdividing an
863+organization, or merging organizations. If propagation of a covered
864+work results from an entity transaction, each party to that
865+transaction who receives a copy of the work also receives whatever
866+licenses to the work the party's predecessor in interest had or could
867+give under the previous paragraph, plus a right to possession of the
868+Corresponding Source of the work from the predecessor in interest, if
869+the predecessor has it or can get it with reasonable efforts.
870+
871+ You may not impose any further restrictions on the exercise of the
872+rights granted or affirmed under this License. For example, you may
873+not impose a license fee, royalty, or other charge for exercise of
874+rights granted under this License, and you may not initiate litigation
875+(including a cross-claim or counterclaim in a lawsuit) alleging that
876+any patent claim is infringed by making, using, selling, offering for
877+sale, or importing the Program or any portion of it.
878+
879+ 11. Patents.
880+
881+ A "contributor" is a copyright holder who authorizes use under this
882+License of the Program or a work on which the Program is based. The
883+work thus licensed is called the contributor's "contributor version".
884+
885+ A contributor's "essential patent claims" are all patent claims
886+owned or controlled by the contributor, whether already acquired or
887+hereafter acquired, that would be infringed by some manner, permitted
888+by this License, of making, using, or selling its contributor version,
889+but do not include claims that would be infringed only as a
890+consequence of further modification of the contributor version. For
891+purposes of this definition, "control" includes the right to grant
892+patent sublicenses in a manner consistent with the requirements of
893 this License.
894
895- 7. If, as a consequence of a court judgment or allegation of patent
896-infringement or for any other reason (not limited to patent issues),
897-conditions are imposed on you (whether by court order, agreement or
898+ Each contributor grants you a non-exclusive, worldwide, royalty-free
899+patent license under the contributor's essential patent claims, to
900+make, use, sell, offer for sale, import and otherwise run, modify and
901+propagate the contents of its contributor version.
902+
903+ In the following three paragraphs, a "patent license" is any express
904+agreement or commitment, however denominated, not to enforce a patent
905+(such as an express permission to practice a patent or covenant not to
906+sue for patent infringement). To "grant" such a patent license to a
907+party means to make such an agreement or commitment not to enforce a
908+patent against the party.
909+
910+ If you convey a covered work, knowingly relying on a patent license,
911+and the Corresponding Source of the work is not available for anyone
912+to copy, free of charge and under the terms of this License, through a
913+publicly available network server or other readily accessible means,
914+then you must either (1) cause the Corresponding Source to be so
915+available, or (2) arrange to deprive yourself of the benefit of the
916+patent license for this particular work, or (3) arrange, in a manner
917+consistent with the requirements of this License, to extend the patent
918+license to downstream recipients. "Knowingly relying" means you have
919+actual knowledge that, but for the patent license, your conveying the
920+covered work in a country, or your recipient's use of the covered work
921+in a country, would infringe one or more identifiable patents in that
922+country that you have reason to believe are valid.
923+
924+ If, pursuant to or in connection with a single transaction or
925+arrangement, you convey, or propagate by procuring conveyance of, a
926+covered work, and grant a patent license to some of the parties
927+receiving the covered work authorizing them to use, propagate, modify
928+or convey a specific copy of the covered work, then the patent license
929+you grant is automatically extended to all recipients of the covered
930+work and works based on it.
931+
932+ A patent license is "discriminatory" if it does not include within
933+the scope of its coverage, prohibits the exercise of, or is
934+conditioned on the non-exercise of one or more of the rights that are
935+specifically granted under this License. You may not convey a covered
936+work if you are a party to an arrangement with a third party that is
937+in the business of distributing software, under which you make payment
938+to the third party based on the extent of your activity of conveying
939+the work, and under which the third party grants, to any of the
940+parties who would receive the covered work from you, a discriminatory
941+patent license (a) in connection with copies of the covered work
942+conveyed by you (or copies made from those copies), or (b) primarily
943+for and in connection with specific products or compilations that
944+contain the covered work, unless you entered into that arrangement,
945+or that patent license was granted, prior to 28 March 2007.
946+
947+ Nothing in this License shall be construed as excluding or limiting
948+any implied license or other defenses to infringement that may
949+otherwise be available to you under applicable patent law.
950+
951+ 12. No Surrender of Others' Freedom.
952+
953+ If conditions are imposed on you (whether by court order, agreement or
954 otherwise) that contradict the conditions of this License, they do not
955-excuse you from the conditions of this License. If you cannot
956-distribute so as to satisfy simultaneously your obligations under this
957-License and any other pertinent obligations, then as a consequence you
958-may not distribute the Program at all. For example, if a patent
959-license would not permit royalty-free redistribution of the Program by
960-all those who receive copies directly or indirectly through you, then
961-the only way you could satisfy both it and this License would be to
962-refrain entirely from distribution of the Program.
963-
964-If any portion of this section is held invalid or unenforceable under
965-any particular circumstance, the balance of the section is intended to
966-apply and the section as a whole is intended to apply in other
967-circumstances.
968-
969-It is not the purpose of this section to induce you to infringe any
970-patents or other property right claims or to contest validity of any
971-such claims; this section has the sole purpose of protecting the
972-integrity of the free software distribution system, which is
973-implemented by public license practices. Many people have made
974-generous contributions to the wide range of software distributed
975-through that system in reliance on consistent application of that
976-system; it is up to the author/donor to decide if he or she is willing
977-to distribute software through any other system and a licensee cannot
978-impose that choice.
979-
980-This section is intended to make thoroughly clear what is believed to
981-be a consequence of the rest of this License.
982-
983- 8. If the distribution and/or use of the Program is restricted in
984-certain countries either by patents or by copyrighted interfaces, the
985-original copyright holder who places the Program under this License
986-may add an explicit geographical distribution limitation excluding
987-those countries, so that distribution is permitted only in or among
988-countries not thus excluded. In such case, this License incorporates
989-the limitation as if written in the body of this License.
990-
991- 9. The Free Software Foundation may publish revised and/or new versions
992-of the General Public License from time to time. Such new versions will
993+excuse you from the conditions of this License. If you cannot convey a
994+covered work so as to satisfy simultaneously your obligations under this
995+License and any other pertinent obligations, then as a consequence you may
996+not convey it at all. For example, if you agree to terms that obligate you
997+to collect a royalty for further conveying from those to whom you convey
998+the Program, the only way you could satisfy both those terms and this
999+License would be to refrain entirely from conveying the Program.
1000+
1001+ 13. Use with the GNU Affero General Public License.
1002+
1003+ Notwithstanding any other provision of this License, you have
1004+permission to link or combine any covered work with a work licensed
1005+under version 3 of the GNU Affero General Public License into a single
1006+combined work, and to convey the resulting work. The terms of this
1007+License will continue to apply to the part which is the covered work,
1008+but the special requirements of the GNU Affero General Public License,
1009+section 13, concerning interaction through a network will apply to the
1010+combination as such.
1011+
1012+ 14. Revised Versions of this License.
1013+
1014+ The Free Software Foundation may publish revised and/or new versions of
1015+the GNU General Public License from time to time. Such new versions will
1016 be similar in spirit to the present version, but may differ in detail to
1017 address new problems or concerns.
1018
1019-Each version is given a distinguishing version number. If the Program
1020-specifies a version number of this License which applies to it and "any
1021-later version", you have the option of following the terms and conditions
1022-either of that version or of any later version published by the Free
1023-Software Foundation. If the Program does not specify a version number of
1024-this License, you may choose any version ever published by the Free Software
1025-Foundation.
1026-
1027- 10. If you wish to incorporate parts of the Program into other free
1028-programs whose distribution conditions are different, write to the author
1029-to ask for permission. For software which is copyrighted by the Free
1030-Software Foundation, write to the Free Software Foundation; we sometimes
1031-make exceptions for this. Our decision will be guided by the two goals
1032-of preserving the free status of all derivatives of our free software and
1033-of promoting the sharing and reuse of software generally.
1034-
1035- NO WARRANTY
1036-
1037- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
1038-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
1039-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
1040-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
1041-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1042-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
1043-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
1044-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
1045-REPAIR OR CORRECTION.
1046-
1047- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1048-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
1049-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
1050-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
1051-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
1052-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
1053-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
1054-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
1055-POSSIBILITY OF SUCH DAMAGES.
1056-
1057- END OF TERMS AND CONDITIONS
1058-
1059- How to Apply These Terms to Your New Programs
1060-
1061- If you develop a new program, and you want it to be of the greatest
1062-possible use to the public, the best way to achieve this is to make it
1063-free software which everyone can redistribute and change under these terms.
1064-
1065- To do so, attach the following notices to the program. It is safest
1066-to attach them to the start of each source file to most effectively
1067-convey the exclusion of warranty; and each file should have at least
1068-the "copyright" line and a pointer to where the full notice is found.
1069-
1070- <one line to give the program's name and a brief idea of what it does.>
1071- Copyright (C) <year> <name of author>
1072-
1073- This program is free software; you can redistribute it and/or modify
1074- it under the terms of the GNU General Public License as published by
1075- the Free Software Foundation; either version 2 of the License, or
1076- (at your option) any later version.
1077-
1078- This program is distributed in the hope that it will be useful,
1079- but WITHOUT ANY WARRANTY; without even the implied warranty of
1080- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1081- GNU General Public License for more details.
1082-
1083- You should have received a copy of the GNU General Public License along
1084- with this program; if not, write to the Free Software Foundation, Inc.,
1085- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1086-
1087-Also add information on how to contact you by electronic and paper mail.
1088-
1089-If the program is interactive, make it output a short notice like this
1090-when it starts in an interactive mode:
1091-
1092- Gnomovision version 69, Copyright (C) year name of author
1093- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
1094- This is free software, and you are welcome to redistribute it
1095- under certain conditions; type `show c' for details.
1096-
1097-The hypothetical commands `show w' and `show c' should show the appropriate
1098-parts of the General Public License. Of course, the commands you use may
1099-be called something other than `show w' and `show c'; they could even be
1100-mouse-clicks or menu items--whatever suits your program.
1101-
1102-You should also get your employer (if you work as a programmer) or your
1103-school, if any, to sign a "copyright disclaimer" for the program, if
1104-necessary. Here is a sample; alter the names:
1105-
1106- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
1107- `Gnomovision' (which makes passes at compilers) written by James Hacker.
1108-
1109- <signature of Ty Coon>, 1 April 1989
1110- Ty Coon, President of Vice
1111-
1112-This General Public License does not permit incorporating your program into
1113-proprietary programs. If your program is a subroutine library, you may
1114-consider it more useful to permit linking proprietary applications with the
1115-library. If this is what you want to do, use the GNU Lesser General
1116-Public License instead of this License.
1117+ Each version is given a distinguishing version number. If the
1118+Program specifies that a certain numbered version of the GNU General
1119+Public License "or any later version" applies to it, you have the
1120+option of following the terms and conditions either of that numbered
1121+version or of any later version published by the Free Software
1122+Foundation. If the Program does not specify a version number of the
1123+GNU General Public License, you may choose any version ever published
1124+by the Free Software Foundation.
1125+
1126+ If the Program specifies that a proxy can decide which future
1127+versions of the GNU General Public License can be used, that proxy's
1128+public statement of acceptance of a version permanently authorizes you
1129+to choose that version for the Program.
1130+
1131+ Later license versions may give you additional or different
1132+permissions. However, no additional obligations are imposed on any
1133+author or copyright holder as a result of your choosing to follow a
1134+later version.
1135+
1136+ 15. Disclaimer of Warranty.
1137+
1138+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
1139+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
1140+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
1141+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
1142+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1143+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
1144+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
1145+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1146+
1147+ 16. Limitation of Liability.
1148+
1149+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
1150+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
1151+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
1152+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
1153+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
1154+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
1155+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
1156+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
1157+SUCH DAMAGES.
1158+
1159+ 17. Interpretation of Sections 15 and 16.
1160+
1161+ If the disclaimer of warranty and limitation of liability provided
1162+above cannot be given local legal effect according to their terms,
1163+reviewing courts shall apply local law that most closely approximates
1164+an absolute waiver of all civil liability in connection with the
1165+Program, unless a warranty or assumption of liability accompanies a
1166+copy of the Program in return for a fee.
1167
1168=== removed file 'COPYING.GPL-3'
1169--- COPYING.GPL-3 2011-06-18 02:54:49 +0000
1170+++ COPYING.GPL-3 1970-01-01 00:00:00 +0000
1171@@ -1,165 +0,0 @@
1172- GNU LESSER GENERAL PUBLIC LICENSE
1173- Version 3, 29 June 2007
1174-
1175- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
1176- Everyone is permitted to copy and distribute verbatim copies
1177- of this license document, but changing it is not allowed.
1178-
1179-
1180- This version of the GNU Lesser General Public License incorporates
1181-the terms and conditions of version 3 of the GNU General Public
1182-License, supplemented by the additional permissions listed below.
1183-
1184- 0. Additional Definitions.
1185-
1186- As used herein, "this License" refers to version 3 of the GNU Lesser
1187-General Public License, and the "GNU GPL" refers to version 3 of the GNU
1188-General Public License.
1189-
1190- "The Library" refers to a covered work governed by this License,
1191-other than an Application or a Combined Work as defined below.
1192-
1193- An "Application" is any work that makes use of an interface provided
1194-by the Library, but which is not otherwise based on the Library.
1195-Defining a subclass of a class defined by the Library is deemed a mode
1196-of using an interface provided by the Library.
1197-
1198- A "Combined Work" is a work produced by combining or linking an
1199-Application with the Library. The particular version of the Library
1200-with which the Combined Work was made is also called the "Linked
1201-Version".
1202-
1203- The "Minimal Corresponding Source" for a Combined Work means the
1204-Corresponding Source for the Combined Work, excluding any source code
1205-for portions of the Combined Work that, considered in isolation, are
1206-based on the Application, and not on the Linked Version.
1207-
1208- The "Corresponding Application Code" for a Combined Work means the
1209-object code and/or source code for the Application, including any data
1210-and utility programs needed for reproducing the Combined Work from the
1211-Application, but excluding the System Libraries of the Combined Work.
1212-
1213- 1. Exception to Section 3 of the GNU GPL.
1214-
1215- You may convey a covered work under sections 3 and 4 of this License
1216-without being bound by section 3 of the GNU GPL.
1217-
1218- 2. Conveying Modified Versions.
1219-
1220- If you modify a copy of the Library, and, in your modifications, a
1221-facility refers to a function or data to be supplied by an Application
1222-that uses the facility (other than as an argument passed when the
1223-facility is invoked), then you may convey a copy of the modified
1224-version:
1225-
1226- a) under this License, provided that you make a good faith effort to
1227- ensure that, in the event an Application does not supply the
1228- function or data, the facility still operates, and performs
1229- whatever part of its purpose remains meaningful, or
1230-
1231- b) under the GNU GPL, with none of the additional permissions of
1232- this License applicable to that copy.
1233-
1234- 3. Object Code Incorporating Material from Library Header Files.
1235-
1236- The object code form of an Application may incorporate material from
1237-a header file that is part of the Library. You may convey such object
1238-code under terms of your choice, provided that, if the incorporated
1239-material is not limited to numerical parameters, data structure
1240-layouts and accessors, or small macros, inline functions and templates
1241-(ten or fewer lines in length), you do both of the following:
1242-
1243- a) Give prominent notice with each copy of the object code that the
1244- Library is used in it and that the Library and its use are
1245- covered by this License.
1246-
1247- b) Accompany the object code with a copy of the GNU GPL and this license
1248- document.
1249-
1250- 4. Combined Works.
1251-
1252- You may convey a Combined Work under terms of your choice that,
1253-taken together, effectively do not restrict modification of the
1254-portions of the Library contained in the Combined Work and reverse
1255-engineering for debugging such modifications, if you also do each of
1256-the following:
1257-
1258- a) Give prominent notice with each copy of the Combined Work that
1259- the Library is used in it and that the Library and its use are
1260- covered by this License.
1261-
1262- b) Accompany the Combined Work with a copy of the GNU GPL and this license
1263- document.
1264-
1265- c) For a Combined Work that displays copyright notices during
1266- execution, include the copyright notice for the Library among
1267- these notices, as well as a reference directing the user to the
1268- copies of the GNU GPL and this license document.
1269-
1270- d) Do one of the following:
1271-
1272- 0) Convey the Minimal Corresponding Source under the terms of this
1273- License, and the Corresponding Application Code in a form
1274- suitable for, and under terms that permit, the user to
1275- recombine or relink the Application with a modified version of
1276- the Linked Version to produce a modified Combined Work, in the
1277- manner specified by section 6 of the GNU GPL for conveying
1278- Corresponding Source.
1279-
1280- 1) Use a suitable shared library mechanism for linking with the
1281- Library. A suitable mechanism is one that (a) uses at run time
1282- a copy of the Library already present on the user's computer
1283- system, and (b) will operate properly with a modified version
1284- of the Library that is interface-compatible with the Linked
1285- Version.
1286-
1287- e) Provide Installation Information, but only if you would otherwise
1288- be required to provide such information under section 6 of the
1289- GNU GPL, and only to the extent that such information is
1290- necessary to install and execute a modified version of the
1291- Combined Work produced by recombining or relinking the
1292- Application with a modified version of the Linked Version. (If
1293- you use option 4d0, the Installation Information must accompany
1294- the Minimal Corresponding Source and Corresponding Application
1295- Code. If you use option 4d1, you must provide the Installation
1296- Information in the manner specified by section 6 of the GNU GPL
1297- for conveying Corresponding Source.)
1298-
1299- 5. Combined Libraries.
1300-
1301- You may place library facilities that are a work based on the
1302-Library side by side in a single library together with other library
1303-facilities that are not Applications and are not covered by this
1304-License, and convey such a combined library under terms of your
1305-choice, if you do both of the following:
1306-
1307- a) Accompany the combined library with a copy of the same work based
1308- on the Library, uncombined with any other library facilities,
1309- conveyed under the terms of this License.
1310-
1311- b) Give prominent notice with the combined library that part of it
1312- is a work based on the Library, and explaining where to find the
1313- accompanying uncombined form of the same work.
1314-
1315- 6. Revised Versions of the GNU Lesser General Public License.
1316-
1317- The Free Software Foundation may publish revised and/or new versions
1318-of the GNU Lesser General Public License from time to time. Such new
1319-versions will be similar in spirit to the present version, but may
1320-differ in detail to address new problems or concerns.
1321-
1322- Each version is given a distinguishing version number. If the
1323-Library as you received it specifies that a certain numbered version
1324-of the GNU Lesser General Public License "or any later version"
1325-applies to it, you have the option of following the terms and
1326-conditions either of that published version or of any later version
1327-published by the Free Software Foundation. If the Library as you
1328-received it does not specify a version number of the GNU Lesser
1329-General Public License, you may choose any version of the GNU Lesser
1330-General Public License ever published by the Free Software Foundation.
1331-
1332- If the Library as you received it specifies that a proxy can decide
1333-whether future versions of the GNU Lesser General Public License shall
1334-apply, that proxy's public statement of acceptance of any version is
1335-permanent authorization for you to choose that version for the
1336-Library.
1337
1338=== removed file 'COPYING.LGPL-2.1'
1339--- COPYING.LGPL-2.1 2011-04-14 03:03:24 +0000
1340+++ COPYING.LGPL-2.1 1970-01-01 00:00:00 +0000
1341@@ -1,510 +0,0 @@
1342-
1343- GNU LESSER GENERAL PUBLIC LICENSE
1344- Version 2.1, February 1999
1345-
1346- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
1347- 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1348- Everyone is permitted to copy and distribute verbatim copies
1349- of this license document, but changing it is not allowed.
1350-
1351-[This is the first released version of the Lesser GPL. It also counts
1352- as the successor of the GNU Library Public License, version 2, hence
1353- the version number 2.1.]
1354-
1355- Preamble
1356-
1357- The licenses for most software are designed to take away your
1358-freedom to share and change it. By contrast, the GNU General Public
1359-Licenses are intended to guarantee your freedom to share and change
1360-free software--to make sure the software is free for all its users.
1361-
1362- This license, the Lesser General Public License, applies to some
1363-specially designated software packages--typically libraries--of the
1364-Free Software Foundation and other authors who decide to use it. You
1365-can use it too, but we suggest you first think carefully about whether
1366-this license or the ordinary General Public License is the better
1367-strategy to use in any particular case, based on the explanations
1368-below.
1369-
1370- When we speak of free software, we are referring to freedom of use,
1371-not price. Our General Public Licenses are designed to make sure that
1372-you have the freedom to distribute copies of free software (and charge
1373-for this service if you wish); that you receive source code or can get
1374-it if you want it; that you can change the software and use pieces of
1375-it in new free programs; and that you are informed that you can do
1376-these things.
1377-
1378- To protect your rights, we need to make restrictions that forbid
1379-distributors to deny you these rights or to ask you to surrender these
1380-rights. These restrictions translate to certain responsibilities for
1381-you if you distribute copies of the library or if you modify it.
1382-
1383- For example, if you distribute copies of the library, whether gratis
1384-or for a fee, you must give the recipients all the rights that we gave
1385-you. You must make sure that they, too, receive or can get the source
1386-code. If you link other code with the library, you must provide
1387-complete object files to the recipients, so that they can relink them
1388-with the library after making changes to the library and recompiling
1389-it. And you must show them these terms so they know their rights.
1390-
1391- We protect your rights with a two-step method: (1) we copyright the
1392-library, and (2) we offer you this license, which gives you legal
1393-permission to copy, distribute and/or modify the library.
1394-
1395- To protect each distributor, we want to make it very clear that
1396-there is no warranty for the free library. Also, if the library is
1397-modified by someone else and passed on, the recipients should know
1398-that what they have is not the original version, so that the original
1399-author's reputation will not be affected by problems that might be
1400-introduced by others.
1401-
1402
1403- Finally, software patents pose a constant threat to the existence of
1404-any free program. We wish to make sure that a company cannot
1405-effectively restrict the users of a free program by obtaining a
1406-restrictive license from a patent holder. Therefore, we insist that
1407-any patent license obtained for a version of the library must be
1408-consistent with the full freedom of use specified in this license.
1409-
1410- Most GNU software, including some libraries, is covered by the
1411-ordinary GNU General Public License. This license, the GNU Lesser
1412-General Public License, applies to certain designated libraries, and
1413-is quite different from the ordinary General Public License. We use
1414-this license for certain libraries in order to permit linking those
1415-libraries into non-free programs.
1416-
1417- When a program is linked with a library, whether statically or using
1418-a shared library, the combination of the two is legally speaking a
1419-combined work, a derivative of the original library. The ordinary
1420-General Public License therefore permits such linking only if the
1421-entire combination fits its criteria of freedom. The Lesser General
1422-Public License permits more lax criteria for linking other code with
1423-the library.
1424-
1425- We call this license the "Lesser" General Public License because it
1426-does Less to protect the user's freedom than the ordinary General
1427-Public License. It also provides other free software developers Less
1428-of an advantage over competing non-free programs. These disadvantages
1429-are the reason we use the ordinary General Public License for many
1430-libraries. However, the Lesser license provides advantages in certain
1431-special circumstances.
1432-
1433- For example, on rare occasions, there may be a special need to
1434-encourage the widest possible use of a certain library, so that it
1435-becomes a de-facto standard. To achieve this, non-free programs must
1436-be allowed to use the library. A more frequent case is that a free
1437-library does the same job as widely used non-free libraries. In this
1438-case, there is little to gain by limiting the free library to free
1439-software only, so we use the Lesser General Public License.
1440-
1441- In other cases, permission to use a particular library in non-free
1442-programs enables a greater number of people to use a large body of
1443-free software. For example, permission to use the GNU C Library in
1444-non-free programs enables many more people to use the whole GNU
1445-operating system, as well as its variant, the GNU/Linux operating
1446-system.
1447-
1448- Although the Lesser General Public License is Less protective of the
1449-users' freedom, it does ensure that the user of a program that is
1450-linked with the Library has the freedom and the wherewithal to run
1451-that program using a modified version of the Library.
1452-
1453- The precise terms and conditions for copying, distribution and
1454-modification follow. Pay close attention to the difference between a
1455-"work based on the library" and a "work that uses the library". The
1456-former contains code derived from the library, whereas the latter must
1457-be combined with the library in order to run.
1458-
1459
1460- GNU LESSER GENERAL PUBLIC LICENSE
1461- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1462-
1463- 0. This License Agreement applies to any software library or other
1464-program which contains a notice placed by the copyright holder or
1465-other authorized party saying it may be distributed under the terms of
1466-this Lesser General Public License (also called "this License").
1467-Each licensee is addressed as "you".
1468-
1469- A "library" means a collection of software functions and/or data
1470-prepared so as to be conveniently linked with application programs
1471-(which use some of those functions and data) to form executables.
1472-
1473- The "Library", below, refers to any such software library or work
1474-which has been distributed under these terms. A "work based on the
1475-Library" means either the Library or any derivative work under
1476-copyright law: that is to say, a work containing the Library or a
1477-portion of it, either verbatim or with modifications and/or translated
1478-straightforwardly into another language. (Hereinafter, translation is
1479-included without limitation in the term "modification".)
1480-
1481- "Source code" for a work means the preferred form of the work for
1482-making modifications to it. For a library, complete source code means
1483-all the source code for all modules it contains, plus any associated
1484-interface definition files, plus the scripts used to control
1485-compilation and installation of the library.
1486-
1487- Activities other than copying, distribution and modification are not
1488-covered by this License; they are outside its scope. The act of
1489-running a program using the Library is not restricted, and output from
1490-such a program is covered only if its contents constitute a work based
1491-on the Library (independent of the use of the Library in a tool for
1492-writing it). Whether that is true depends on what the Library does
1493-and what the program that uses the Library does.
1494-
1495- 1. You may copy and distribute verbatim copies of the Library's
1496-complete source code as you receive it, in any medium, provided that
1497-you conspicuously and appropriately publish on each copy an
1498-appropriate copyright notice and disclaimer of warranty; keep intact
1499-all the notices that refer to this License and to the absence of any
1500-warranty; and distribute a copy of this License along with the
1501-Library.
1502-
1503- You may charge a fee for the physical act of transferring a copy,
1504-and you may at your option offer warranty protection in exchange for a
1505-fee.
1506-
1507
1508- 2. You may modify your copy or copies of the Library or any portion
1509-of it, thus forming a work based on the Library, and copy and
1510-distribute such modifications or work under the terms of Section 1
1511-above, provided that you also meet all of these conditions:
1512-
1513- a) The modified work must itself be a software library.
1514-
1515- b) You must cause the files modified to carry prominent notices
1516- stating that you changed the files and the date of any change.
1517-
1518- c) You must cause the whole of the work to be licensed at no
1519- charge to all third parties under the terms of this License.
1520-
1521- d) If a facility in the modified Library refers to a function or a
1522- table of data to be supplied by an application program that uses
1523- the facility, other than as an argument passed when the facility
1524- is invoked, then you must make a good faith effort to ensure that,
1525- in the event an application does not supply such function or
1526- table, the facility still operates, and performs whatever part of
1527- its purpose remains meaningful.
1528-
1529- (For example, a function in a library to compute square roots has
1530- a purpose that is entirely well-defined independent of the
1531- application. Therefore, Subsection 2d requires that any
1532- application-supplied function or table used by this function must
1533- be optional: if the application does not supply it, the square
1534- root function must still compute square roots.)
1535-
1536-These requirements apply to the modified work as a whole. If
1537-identifiable sections of that work are not derived from the Library,
1538-and can be reasonably considered independent and separate works in
1539-themselves, then this License, and its terms, do not apply to those
1540-sections when you distribute them as separate works. But when you
1541-distribute the same sections as part of a whole which is a work based
1542-on the Library, the distribution of the whole must be on the terms of
1543-this License, whose permissions for other licensees extend to the
1544-entire whole, and thus to each and every part regardless of who wrote
1545-it.
1546-
1547-Thus, it is not the intent of this section to claim rights or contest
1548-your rights to work written entirely by you; rather, the intent is to
1549-exercise the right to control the distribution of derivative or
1550-collective works based on the Library.
1551-
1552-In addition, mere aggregation of another work not based on the Library
1553-with the Library (or with a work based on the Library) on a volume of
1554-a storage or distribution medium does not bring the other work under
1555-the scope of this License.
1556-
1557- 3. You may opt to apply the terms of the ordinary GNU General Public
1558-License instead of this License to a given copy of the Library. To do
1559-this, you must alter all the notices that refer to this License, so
1560-that they refer to the ordinary GNU General Public License, version 2,
1561-instead of to this License. (If a newer version than version 2 of the
1562-ordinary GNU General Public License has appeared, then you can specify
1563-that version instead if you wish.) Do not make any other change in
1564-these notices.
1565-
1566
1567- Once this change is made in a given copy, it is irreversible for
1568-that copy, so the ordinary GNU General Public License applies to all
1569-subsequent copies and derivative works made from that copy.
1570-
1571- This option is useful when you wish to copy part of the code of
1572-the Library into a program that is not a library.
1573-
1574- 4. You may copy and distribute the Library (or a portion or
1575-derivative of it, under Section 2) in object code or executable form
1576-under the terms of Sections 1 and 2 above provided that you accompany
1577-it with the complete corresponding machine-readable source code, which
1578-must be distributed under the terms of Sections 1 and 2 above on a
1579-medium customarily used for software interchange.
1580-
1581- If distribution of object code is made by offering access to copy
1582-from a designated place, then offering equivalent access to copy the
1583-source code from the same place satisfies the requirement to
1584-distribute the source code, even though third parties are not
1585-compelled to copy the source along with the object code.
1586-
1587- 5. A program that contains no derivative of any portion of the
1588-Library, but is designed to work with the Library by being compiled or
1589-linked with it, is called a "work that uses the Library". Such a
1590-work, in isolation, is not a derivative work of the Library, and
1591-therefore falls outside the scope of this License.
1592-
1593- However, linking a "work that uses the Library" with the Library
1594-creates an executable that is a derivative of the Library (because it
1595-contains portions of the Library), rather than a "work that uses the
1596-library". The executable is therefore covered by this License.
1597-Section 6 states terms for distribution of such executables.
1598-
1599- When a "work that uses the Library" uses material from a header file
1600-that is part of the Library, the object code for the work may be a
1601-derivative work of the Library even though the source code is not.
1602-Whether this is true is especially significant if the work can be
1603-linked without the Library, or if the work is itself a library. The
1604-threshold for this to be true is not precisely defined by law.
1605-
1606- If such an object file uses only numerical parameters, data
1607-structure layouts and accessors, and small macros and small inline
1608-functions (ten lines or less in length), then the use of the object
1609-file is unrestricted, regardless of whether it is legally a derivative
1610-work. (Executables containing this object code plus portions of the
1611-Library will still fall under Section 6.)
1612-
1613- Otherwise, if the work is a derivative of the Library, you may
1614-distribute the object code for the work under the terms of Section 6.
1615-Any executables containing that work also fall under Section 6,
1616-whether or not they are linked directly with the Library itself.
1617-
1618
1619- 6. As an exception to the Sections above, you may also combine or
1620-link a "work that uses the Library" with the Library to produce a
1621-work containing portions of the Library, and distribute that work
1622-under terms of your choice, provided that the terms permit
1623-modification of the work for the customer's own use and reverse
1624-engineering for debugging such modifications.
1625-
1626- You must give prominent notice with each copy of the work that the
1627-Library is used in it and that the Library and its use are covered by
1628-this License. You must supply a copy of this License. If the work
1629-during execution displays copyright notices, you must include the
1630-copyright notice for the Library among them, as well as a reference
1631-directing the user to the copy of this License. Also, you must do one
1632-of these things:
1633-
1634- a) Accompany the work with the complete corresponding
1635- machine-readable source code for the Library including whatever
1636- changes were used in the work (which must be distributed under
1637- Sections 1 and 2 above); and, if the work is an executable linked
1638- with the Library, with the complete machine-readable "work that
1639- uses the Library", as object code and/or source code, so that the
1640- user can modify the Library and then relink to produce a modified
1641- executable containing the modified Library. (It is understood
1642- that the user who changes the contents of definitions files in the
1643- Library will not necessarily be able to recompile the application
1644- to use the modified definitions.)
1645-
1646- b) Use a suitable shared library mechanism for linking with the
1647- Library. A suitable mechanism is one that (1) uses at run time a
1648- copy of the library already present on the user's computer system,
1649- rather than copying library functions into the executable, and (2)
1650- will operate properly with a modified version of the library, if
1651- the user installs one, as long as the modified version is
1652- interface-compatible with the version that the work was made with.
1653-
1654- c) Accompany the work with a written offer, valid for at least
1655- three years, to give the same user the materials specified in
1656- Subsection 6a, above, for a charge no more than the cost of
1657- performing this distribution.
1658-
1659- d) If distribution of the work is made by offering access to copy
1660- from a designated place, offer equivalent access to copy the above
1661- specified materials from the same place.
1662-
1663- e) Verify that the user has already received a copy of these
1664- materials or that you have already sent this user a copy.
1665-
1666- For an executable, the required form of the "work that uses the
1667-Library" must include any data and utility programs needed for
1668-reproducing the executable from it. However, as a special exception,
1669-the materials to be distributed need not include anything that is
1670-normally distributed (in either source or binary form) with the major
1671-components (compiler, kernel, and so on) of the operating system on
1672-which the executable runs, unless that component itself accompanies
1673-the executable.
1674-
1675- It may happen that this requirement contradicts the license
1676-restrictions of other proprietary libraries that do not normally
1677-accompany the operating system. Such a contradiction means you cannot
1678-use both them and the Library together in an executable that you
1679-distribute.
1680-
1681
1682- 7. You may place library facilities that are a work based on the
1683-Library side-by-side in a single library together with other library
1684-facilities not covered by this License, and distribute such a combined
1685-library, provided that the separate distribution of the work based on
1686-the Library and of the other library facilities is otherwise
1687-permitted, and provided that you do these two things:
1688-
1689- a) Accompany the combined library with a copy of the same work
1690- based on the Library, uncombined with any other library
1691- facilities. This must be distributed under the terms of the
1692- Sections above.
1693-
1694- b) Give prominent notice with the combined library of the fact
1695- that part of it is a work based on the Library, and explaining
1696- where to find the accompanying uncombined form of the same work.
1697-
1698- 8. You may not copy, modify, sublicense, link with, or distribute
1699-the Library except as expressly provided under this License. Any
1700-attempt otherwise to copy, modify, sublicense, link with, or
1701-distribute the Library is void, and will automatically terminate your
1702-rights under this License. However, parties who have received copies,
1703-or rights, from you under this License will not have their licenses
1704-terminated so long as such parties remain in full compliance.
1705-
1706- 9. You are not required to accept this License, since you have not
1707-signed it. However, nothing else grants you permission to modify or
1708-distribute the Library or its derivative works. These actions are
1709-prohibited by law if you do not accept this License. Therefore, by
1710-modifying or distributing the Library (or any work based on the
1711-Library), you indicate your acceptance of this License to do so, and
1712-all its terms and conditions for copying, distributing or modifying
1713-the Library or works based on it.
1714-
1715- 10. Each time you redistribute the Library (or any work based on the
1716-Library), the recipient automatically receives a license from the
1717-original licensor to copy, distribute, link with or modify the Library
1718-subject to these terms and conditions. You may not impose any further
1719-restrictions on the recipients' exercise of the rights granted herein.
1720-You are not responsible for enforcing compliance by third parties with
1721-this License.
1722-
1723
1724- 11. If, as a consequence of a court judgment or allegation of patent
1725-infringement or for any other reason (not limited to patent issues),
1726-conditions are imposed on you (whether by court order, agreement or
1727-otherwise) that contradict the conditions of this License, they do not
1728-excuse you from the conditions of this License. If you cannot
1729-distribute so as to satisfy simultaneously your obligations under this
1730-License and any other pertinent obligations, then as a consequence you
1731-may not distribute the Library at all. For example, if a patent
1732-license would not permit royalty-free redistribution of the Library by
1733-all those who receive copies directly or indirectly through you, then
1734-the only way you could satisfy both it and this License would be to
1735-refrain entirely from distribution of the Library.
1736-
1737-If any portion of this section is held invalid or unenforceable under
1738-any particular circumstance, the balance of the section is intended to
1739-apply, and the section as a whole is intended to apply in other
1740-circumstances.
1741-
1742-It is not the purpose of this section to induce you to infringe any
1743-patents or other property right claims or to contest validity of any
1744-such claims; this section has the sole purpose of protecting the
1745-integrity of the free software distribution system which is
1746-implemented by public license practices. Many people have made
1747-generous contributions to the wide range of software distributed
1748-through that system in reliance on consistent application of that
1749-system; it is up to the author/donor to decide if he or she is willing
1750-to distribute software through any other system and a licensee cannot
1751-impose that choice.
1752-
1753-This section is intended to make thoroughly clear what is believed to
1754-be a consequence of the rest of this License.
1755-
1756- 12. If the distribution and/or use of the Library is restricted in
1757-certain countries either by patents or by copyrighted interfaces, the
1758-original copyright holder who places the Library under this License
1759-may add an explicit geographical distribution limitation excluding those
1760-countries, so that distribution is permitted only in or among
1761-countries not thus excluded. In such case, this License incorporates
1762-the limitation as if written in the body of this License.
1763-
1764- 13. The Free Software Foundation may publish revised and/or new
1765-versions of the Lesser General Public License from time to time.
1766-Such new versions will be similar in spirit to the present version,
1767-but may differ in detail to address new problems or concerns.
1768-
1769-Each version is given a distinguishing version number. If the Library
1770-specifies a version number of this License which applies to it and
1771-"any later version", you have the option of following the terms and
1772-conditions either of that version or of any later version published by
1773-the Free Software Foundation. If the Library does not specify a
1774-license version number, you may choose any version ever published by
1775-the Free Software Foundation.
1776-
1777
1778- 14. If you wish to incorporate parts of the Library into other free
1779-programs whose distribution conditions are incompatible with these,
1780-write to the author to ask for permission. For software which is
1781-copyrighted by the Free Software Foundation, write to the Free
1782-Software Foundation; we sometimes make exceptions for this. Our
1783-decision will be guided by the two goals of preserving the free status
1784-of all derivatives of our free software and of promoting the sharing
1785-and reuse of software generally.
1786-
1787- NO WARRANTY
1788-
1789- 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
1790-WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
1791-EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
1792-OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
1793-KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
1794-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1795-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
1796-LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
1797-THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
1798-
1799- 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
1800-WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
1801-AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
1802-FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
1803-CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
1804-LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
1805-RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
1806-FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
1807-SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
1808-DAMAGES.
1809-
1810- END OF TERMS AND CONDITIONS
1811-
1812
1813- How to Apply These Terms to Your New Libraries
1814-
1815- If you develop a new library, and you want it to be of the greatest
1816-possible use to the public, we recommend making it free software that
1817-everyone can redistribute and change. You can do so by permitting
1818-redistribution under these terms (or, alternatively, under the terms
1819-of the ordinary General Public License).
1820-
1821- To apply these terms, attach the following notices to the library.
1822-It is safest to attach them to the start of each source file to most
1823-effectively convey the exclusion of warranty; and each file should
1824-have at least the "copyright" line and a pointer to where the full
1825-notice is found.
1826-
1827-
1828- <one line to give the library's name and a brief idea of what it does.>
1829- Copyright (C) <year> <name of author>
1830-
1831- This library is free software; you can redistribute it and/or
1832- modify it under the terms of the GNU Lesser General Public
1833- License as published by the Free Software Foundation; either
1834- version 2.1 of the License, or (at your option) any later version.
1835-
1836- This library is distributed in the hope that it will be useful,
1837- but WITHOUT ANY WARRANTY; without even the implied warranty of
1838- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1839- Lesser General Public License for more details.
1840-
1841- You should have received a copy of the GNU Lesser General Public
1842- License along with this library; if not, write to the Free Software
1843- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1844-
1845-Also add information on how to contact you by electronic and paper mail.
1846-
1847-You should also get your employer (if you work as a programmer) or
1848-your school, if any, to sign a "copyright disclaimer" for the library,
1849-if necessary. Here is a sample; alter the names:
1850-
1851- Yoyodyne, Inc., hereby disclaims all copyright interest in the
1852- library `Frob' (a library for tweaking knobs) written by James
1853- Random Hacker.
1854-
1855- <signature of Ty Coon>, 1 April 1990
1856- Ty Coon, President of Vice
1857-
1858-That's all there is to it!
1859-
1860-
1861
1862=== removed file 'ChangeLog'
1863=== removed file 'HACKING'
1864--- HACKING 2011-06-18 02:54:49 +0000
1865+++ HACKING 1970-01-01 00:00:00 +0000
1866@@ -1,1 +0,0 @@
1867-
1868
1869=== removed file 'INSTALL'
1870--- INSTALL 2012-02-15 08:08:54 +0000
1871+++ INSTALL 1970-01-01 00:00:00 +0000
1872@@ -1,370 +0,0 @@
1873-Installation Instructions
1874-*************************
1875-
1876-Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation,
1877-Inc.
1878-
1879- Copying and distribution of this file, with or without modification,
1880-are permitted in any medium without royalty provided the copyright
1881-notice and this notice are preserved. This file is offered as-is,
1882-without warranty of any kind.
1883-
1884-Basic Installation
1885-==================
1886-
1887- Briefly, the shell commands `./configure; make; make install' should
1888-configure, build, and install this package. The following
1889-more-detailed instructions are generic; see the `README' file for
1890-instructions specific to this package. Some packages provide this
1891-`INSTALL' file but do not implement all of the features documented
1892-below. The lack of an optional feature in a given package is not
1893-necessarily a bug. More recommendations for GNU packages can be found
1894-in *note Makefile Conventions: (standards)Makefile Conventions.
1895-
1896- The `configure' shell script attempts to guess correct values for
1897-various system-dependent variables used during compilation. It uses
1898-those values to create a `Makefile' in each directory of the package.
1899-It may also create one or more `.h' files containing system-dependent
1900-definitions. Finally, it creates a shell script `config.status' that
1901-you can run in the future to recreate the current configuration, and a
1902-file `config.log' containing compiler output (useful mainly for
1903-debugging `configure').
1904-
1905- It can also use an optional file (typically called `config.cache'
1906-and enabled with `--cache-file=config.cache' or simply `-C') that saves
1907-the results of its tests to speed up reconfiguring. Caching is
1908-disabled by default to prevent problems with accidental use of stale
1909-cache files.
1910-
1911- If you need to do unusual things to compile the package, please try
1912-to figure out how `configure' could check whether to do them, and mail
1913-diffs or instructions to the address given in the `README' so they can
1914-be considered for the next release. If you are using the cache, and at
1915-some point `config.cache' contains results you don't want to keep, you
1916-may remove or edit it.
1917-
1918- The file `configure.ac' (or `configure.in') is used to create
1919-`configure' by a program called `autoconf'. You need `configure.ac' if
1920-you want to change it or regenerate `configure' using a newer version
1921-of `autoconf'.
1922-
1923- The simplest way to compile this package is:
1924-
1925- 1. `cd' to the directory containing the package's source code and type
1926- `./configure' to configure the package for your system.
1927-
1928- Running `configure' might take a while. While running, it prints
1929- some messages telling which features it is checking for.
1930-
1931- 2. Type `make' to compile the package.
1932-
1933- 3. Optionally, type `make check' to run any self-tests that come with
1934- the package, generally using the just-built uninstalled binaries.
1935-
1936- 4. Type `make install' to install the programs and any data files and
1937- documentation. When installing into a prefix owned by root, it is
1938- recommended that the package be configured and built as a regular
1939- user, and only the `make install' phase executed with root
1940- privileges.
1941-
1942- 5. Optionally, type `make installcheck' to repeat any self-tests, but
1943- this time using the binaries in their final installed location.
1944- This target does not install anything. Running this target as a
1945- regular user, particularly if the prior `make install' required
1946- root privileges, verifies that the installation completed
1947- correctly.
1948-
1949- 6. You can remove the program binaries and object files from the
1950- source code directory by typing `make clean'. To also remove the
1951- files that `configure' created (so you can compile the package for
1952- a different kind of computer), type `make distclean'. There is
1953- also a `make maintainer-clean' target, but that is intended mainly
1954- for the package's developers. If you use it, you may have to get
1955- all sorts of other programs in order to regenerate files that came
1956- with the distribution.
1957-
1958- 7. Often, you can also type `make uninstall' to remove the installed
1959- files again. In practice, not all packages have tested that
1960- uninstallation works correctly, even though it is required by the
1961- GNU Coding Standards.
1962-
1963- 8. Some packages, particularly those that use Automake, provide `make
1964- distcheck', which can by used by developers to test that all other
1965- targets like `make install' and `make uninstall' work correctly.
1966- This target is generally not run by end users.
1967-
1968-Compilers and Options
1969-=====================
1970-
1971- Some systems require unusual options for compilation or linking that
1972-the `configure' script does not know about. Run `./configure --help'
1973-for details on some of the pertinent environment variables.
1974-
1975- You can give `configure' initial values for configuration parameters
1976-by setting variables in the command line or in the environment. Here
1977-is an example:
1978-
1979- ./configure CC=c99 CFLAGS=-g LIBS=-lposix
1980-
1981- *Note Defining Variables::, for more details.
1982-
1983-Compiling For Multiple Architectures
1984-====================================
1985-
1986- You can compile the package for more than one kind of computer at the
1987-same time, by placing the object files for each architecture in their
1988-own directory. To do this, you can use GNU `make'. `cd' to the
1989-directory where you want the object files and executables to go and run
1990-the `configure' script. `configure' automatically checks for the
1991-source code in the directory that `configure' is in and in `..'. This
1992-is known as a "VPATH" build.
1993-
1994- With a non-GNU `make', it is safer to compile the package for one
1995-architecture at a time in the source code directory. After you have
1996-installed the package for one architecture, use `make distclean' before
1997-reconfiguring for another architecture.
1998-
1999- On MacOS X 10.5 and later systems, you can create libraries and
2000-executables that work on multiple system types--known as "fat" or
2001-"universal" binaries--by specifying multiple `-arch' options to the
2002-compiler but only a single `-arch' option to the preprocessor. Like
2003-this:
2004-
2005- ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
2006- CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
2007- CPP="gcc -E" CXXCPP="g++ -E"
2008-
2009- This is not guaranteed to produce working output in all cases, you
2010-may have to build one architecture at a time and combine the results
2011-using the `lipo' tool if you have problems.
2012-
2013-Installation Names
2014-==================
2015-
2016- By default, `make install' installs the package's commands under
2017-`/usr/local/bin', include files under `/usr/local/include', etc. You
2018-can specify an installation prefix other than `/usr/local' by giving
2019-`configure' the option `--prefix=PREFIX', where PREFIX must be an
2020-absolute file name.
2021-
2022- You can specify separate installation prefixes for
2023-architecture-specific files and architecture-independent files. If you
2024-pass the option `--exec-prefix=PREFIX' to `configure', the package uses
2025-PREFIX as the prefix for installing programs and libraries.
2026-Documentation and other data files still use the regular prefix.
2027-
2028- In addition, if you use an unusual directory layout you can give
2029-options like `--bindir=DIR' to specify different values for particular
2030-kinds of files. Run `configure --help' for a list of the directories
2031-you can set and what kinds of files go in them. In general, the
2032-default for these options is expressed in terms of `${prefix}', so that
2033-specifying just `--prefix' will affect all of the other directory
2034-specifications that were not explicitly provided.
2035-
2036- The most portable way to affect installation locations is to pass the
2037-correct locations to `configure'; however, many packages provide one or
2038-both of the following shortcuts of passing variable assignments to the
2039-`make install' command line to change installation locations without
2040-having to reconfigure or recompile.
2041-
2042- The first method involves providing an override variable for each
2043-affected directory. For example, `make install
2044-prefix=/alternate/directory' will choose an alternate location for all
2045-directory configuration variables that were expressed in terms of
2046-`${prefix}'. Any directories that were specified during `configure',
2047-but not in terms of `${prefix}', must each be overridden at install
2048-time for the entire installation to be relocated. The approach of
2049-makefile variable overrides for each directory variable is required by
2050-the GNU Coding Standards, and ideally causes no recompilation.
2051-However, some platforms have known limitations with the semantics of
2052-shared libraries that end up requiring recompilation when using this
2053-method, particularly noticeable in packages that use GNU Libtool.
2054-
2055- The second method involves providing the `DESTDIR' variable. For
2056-example, `make install DESTDIR=/alternate/directory' will prepend
2057-`/alternate/directory' before all installation names. The approach of
2058-`DESTDIR' overrides is not required by the GNU Coding Standards, and
2059-does not work on platforms that have drive letters. On the other hand,
2060-it does better at avoiding recompilation issues, and works well even
2061-when some directory options were not specified in terms of `${prefix}'
2062-at `configure' time.
2063-
2064-Optional Features
2065-=================
2066-
2067- If the package supports it, you can cause programs to be installed
2068-with an extra prefix or suffix on their names by giving `configure' the
2069-option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
2070-
2071- Some packages pay attention to `--enable-FEATURE' options to
2072-`configure', where FEATURE indicates an optional part of the package.
2073-They may also pay attention to `--with-PACKAGE' options, where PACKAGE
2074-is something like `gnu-as' or `x' (for the X Window System). The
2075-`README' should mention any `--enable-' and `--with-' options that the
2076-package recognizes.
2077-
2078- For packages that use the X Window System, `configure' can usually
2079-find the X include and library files automatically, but if it doesn't,
2080-you can use the `configure' options `--x-includes=DIR' and
2081-`--x-libraries=DIR' to specify their locations.
2082-
2083- Some packages offer the ability to configure how verbose the
2084-execution of `make' will be. For these packages, running `./configure
2085---enable-silent-rules' sets the default to minimal output, which can be
2086-overridden with `make V=1'; while running `./configure
2087---disable-silent-rules' sets the default to verbose, which can be
2088-overridden with `make V=0'.
2089-
2090-Particular systems
2091-==================
2092-
2093- On HP-UX, the default C compiler is not ANSI C compatible. If GNU
2094-CC is not installed, it is recommended to use the following options in
2095-order to use an ANSI C compiler:
2096-
2097- ./configure CC="cc -Ae -D_XOPEN_SOURCE=500"
2098-
2099-and if that doesn't work, install pre-built binaries of GCC for HP-UX.
2100-
2101- HP-UX `make' updates targets which have the same time stamps as
2102-their prerequisites, which makes it generally unusable when shipped
2103-generated files such as `configure' are involved. Use GNU `make'
2104-instead.
2105-
2106- On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot
2107-parse its `<wchar.h>' header file. The option `-nodtk' can be used as
2108-a workaround. If GNU CC is not installed, it is therefore recommended
2109-to try
2110-
2111- ./configure CC="cc"
2112-
2113-and if that doesn't work, try
2114-
2115- ./configure CC="cc -nodtk"
2116-
2117- On Solaris, don't put `/usr/ucb' early in your `PATH'. This
2118-directory contains several dysfunctional programs; working variants of
2119-these programs are available in `/usr/bin'. So, if you need `/usr/ucb'
2120-in your `PATH', put it _after_ `/usr/bin'.
2121-
2122- On Haiku, software installed for all users goes in `/boot/common',
2123-not `/usr/local'. It is recommended to use the following options:
2124-
2125- ./configure --prefix=/boot/common
2126-
2127-Specifying the System Type
2128-==========================
2129-
2130- There may be some features `configure' cannot figure out
2131-automatically, but needs to determine by the type of machine the package
2132-will run on. Usually, assuming the package is built to be run on the
2133-_same_ architectures, `configure' can figure that out, but if it prints
2134-a message saying it cannot guess the machine type, give it the
2135-`--build=TYPE' option. TYPE can either be a short name for the system
2136-type, such as `sun4', or a canonical name which has the form:
2137-
2138- CPU-COMPANY-SYSTEM
2139-
2140-where SYSTEM can have one of these forms:
2141-
2142- OS
2143- KERNEL-OS
2144-
2145- See the file `config.sub' for the possible values of each field. If
2146-`config.sub' isn't included in this package, then this package doesn't
2147-need to know the machine type.
2148-
2149- If you are _building_ compiler tools for cross-compiling, you should
2150-use the option `--target=TYPE' to select the type of system they will
2151-produce code for.
2152-
2153- If you want to _use_ a cross compiler, that generates code for a
2154-platform different from the build platform, you should specify the
2155-"host" platform (i.e., that on which the generated programs will
2156-eventually be run) with `--host=TYPE'.
2157-
2158-Sharing Defaults
2159-================
2160-
2161- If you want to set default values for `configure' scripts to share,
2162-you can create a site shell script called `config.site' that gives
2163-default values for variables like `CC', `cache_file', and `prefix'.
2164-`configure' looks for `PREFIX/share/config.site' if it exists, then
2165-`PREFIX/etc/config.site' if it exists. Or, you can set the
2166-`CONFIG_SITE' environment variable to the location of the site script.
2167-A warning: not all `configure' scripts look for a site script.
2168-
2169-Defining Variables
2170-==================
2171-
2172- Variables not defined in a site shell script can be set in the
2173-environment passed to `configure'. However, some packages may run
2174-configure again during the build, and the customized values of these
2175-variables may be lost. In order to avoid this problem, you should set
2176-them in the `configure' command line, using `VAR=value'. For example:
2177-
2178- ./configure CC=/usr/local2/bin/gcc
2179-
2180-causes the specified `gcc' to be used as the C compiler (unless it is
2181-overridden in the site shell script).
2182-
2183-Unfortunately, this technique does not work for `CONFIG_SHELL' due to
2184-an Autoconf bug. Until the bug is fixed you can use this workaround:
2185-
2186- CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
2187-
2188-`configure' Invocation
2189-======================
2190-
2191- `configure' recognizes the following options to control how it
2192-operates.
2193-
2194-`--help'
2195-`-h'
2196- Print a summary of all of the options to `configure', and exit.
2197-
2198-`--help=short'
2199-`--help=recursive'
2200- Print a summary of the options unique to this package's
2201- `configure', and exit. The `short' variant lists options used
2202- only in the top level, while the `recursive' variant lists options
2203- also present in any nested packages.
2204-
2205-`--version'
2206-`-V'
2207- Print the version of Autoconf used to generate the `configure'
2208- script, and exit.
2209-
2210-`--cache-file=FILE'
2211- Enable the cache: use and save the results of the tests in FILE,
2212- traditionally `config.cache'. FILE defaults to `/dev/null' to
2213- disable caching.
2214-
2215-`--config-cache'
2216-`-C'
2217- Alias for `--cache-file=config.cache'.
2218-
2219-`--quiet'
2220-`--silent'
2221-`-q'
2222- Do not print messages saying which checks are being made. To
2223- suppress all normal output, redirect it to `/dev/null' (any error
2224- messages will still be shown).
2225-
2226-`--srcdir=DIR'
2227- Look for the package's source code in directory DIR. Usually
2228- `configure' can determine that directory automatically.
2229-
2230-`--prefix=DIR'
2231- Use DIR as the installation prefix. *note Installation Names::
2232- for more details, including other options available for fine-tuning
2233- the installation locations.
2234-
2235-`--no-create'
2236-`-n'
2237- Run the configure checks, but stop before creating any output
2238- files.
2239-
2240-`configure' also accepts some other, not widely useful, options. Run
2241-`configure --help' for more details.
2242-
2243
2244=== renamed file 'gwibber/Makefile' => 'Makefile'
2245--- gwibber/Makefile 2012-09-13 17:23:47 +0000
2246+++ Makefile 2012-10-12 20:27:19 +0000
2247@@ -1,8 +1,9 @@
2248-# Copyright (C) 2012 Canonical Ltd
2249+# friends-service -- send & receive messages from any social network
2250+# Copyright (C) 2012 Canonical Ltd
2251 #
2252 # This program is free software: you can redistribute it and/or modify
2253-# it under the terms of the GNU General Public License version 2 as
2254-# published by the Free Software Foundation.
2255+# it under the terms of the GNU General Public License as published by
2256+# the Free Software Foundation, version 3 of the License.
2257 #
2258 # This program is distributed in the hope that it will be useful,
2259 # but WITHOUT ANY WARRANTY; without even the implied warranty of
2260@@ -19,8 +20,8 @@
2261 python3 setup.py install
2262
2263 venv:
2264- virtualenv --clear --system-site-packages -p python3 /tmp/gwib
2265- /tmp/gwib/bin/python3 setup.py install
2266+ virtualenv --clear --system-site-packages -p python3 /tmp/friends
2267+ /tmp/friends/bin/python3 setup.py install
2268
2269 check_all: venv
2270- /tmp/gwib/bin/python3 -m unittest discover -vv
2271+ /tmp/friends/bin/python3 -m unittest discover -vv
2272
2273=== removed file 'Makefile.am'
2274--- Makefile.am 2012-05-21 20:04:52 +0000
2275+++ Makefile.am 1970-01-01 00:00:00 +0000
2276@@ -1,54 +0,0 @@
2277-SUBDIRS = man bin gwibber data libgwibber libgwibber-gtk vapi po client examples
2278-
2279-if HAVE_UNITY
2280-SUBDIRS += lens
2281-endif
2282-
2283-
2284-pkgconfigdir = $(libdir)/pkgconfig
2285-pkgconfig_DATA = \
2286- gwibber-@GWIBBER_API_VERSION@.pc \
2287- gwibber-gtk-@GWIBBER_API_VERSION@.pc
2288-
2289-# Test reports
2290-.PHONY: check-report
2291-check-report:
2292- $(MAKE) -C tests/ $(@)
2293-
2294-# Distribute pot file
2295-update-pot:
2296- $(MAKE) -C po "$(GETTEXT_PACKAGE).pot"
2297-
2298-DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall --enable-introspection --enable-maintainer-flags=no --enable-unity
2299-
2300-DIST_SUBDIRS = ${SUBDIRS} tests
2301-
2302-DISTCLEANFILES = \
2303- gwibber-@GWIBBER_API_VERSION@.pc \
2304- gwibber-gtk-@GWIBBER_API_VERSION@.pc \
2305- intltool-extract \
2306- intltool-merge \
2307- intltool-update
2308-EXTRA_DIST = \
2309- gwibber-@GWIBBER_API_VERSION@.pc.in \
2310- gwibber-gtk-@GWIBBER_API_VERSION@.pc.in \
2311- autogen.sh \
2312- COPYING.GPL-3 \
2313- COPYING.LGPL-2.1 \
2314- intltool-extract.in \
2315- intltool-merge.in \
2316- intltool-update.in
2317-
2318-dist-hook: update-pot
2319- @if test -d "$(top_srcdir)/.bzr"; \
2320- then \
2321- echo Creating ChangeLog && \
2322- ( cd "$(top_srcdir)" && \
2323- echo '# Generated by Makefile. Do not edit.'; echo; \
2324- $(top_srcdir)/missing --run bzr log --gnu-changelog ) > ChangeLog.tmp \
2325- && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \
2326- || (rm -f ChangeLog.tmp; \
2327- echo Failed to generate ChangeLog >&2 ); \
2328- else \
2329- echo Failed to generate ChangeLog: not a branch >&2; \
2330- fi
2331
2332=== removed file 'NEWS'
2333--- NEWS 2012-09-20 04:56:46 +0000
2334+++ NEWS 1970-01-01 00:00:00 +0000
2335@@ -1,195 +0,0 @@
2336-NEW in 3.5.90 (09/20/2012)
2337-============
2338- * Add support for Unity Previews, required libunity >= 6.5.1
2339- * Translate gwibber.application (LP: #1052375)
2340-
2341-NEW in 3.5.4 (08/27/2012)
2342-============
2343- * Ported from libindicate to libmessaging-menu, thanks to Lars Uebernickel
2344-
2345-NEW in 3.5.3 (08/21/2012)
2346-============
2347- * Fixed all the GTK warnings, thanks to Jeff Licquia
2348- * Ported to Ubuntu Online Accounts and removed gwibber-accounts
2349- - New build dependencies include libsignon-glib and libaccounts-glib and
2350- runtime dependencies include gir1.2-accounts-1.0 and gir1.2-signon-1.0
2351- plus the account plugins:
2352- * account-plugin-facebook
2353- * account-plugin-twitter
2354- * account-plugin-identica
2355- * account-plugin-flickr
2356- * account-plugin-foursquare
2357-
2358-NEW in 3.5.2 (06/14/2012)
2359-============
2360- * New twitter icons better matching twitter's guidelines, thanks
2361- Mark Tully (LP: #1012408)
2362- * foursquare: Changed to using urls based off Foursquare user ids rather than
2363- 'canonicalurl' due to 'canonicalurl' being removed from Foursquare's
2364- API (LP: #1012231)
2365- * foursquare: Added support for displaying 'likes' (new to Foursquare API)
2366-
2367-NEW in 3.5.1 (06/10/2012)
2368-============
2369- * facebook: Handle unicode characters everywhere we set the username (LP: #938667)
2370- * Fixed example-vala.vala send examples
2371- * Added inline python docs (Mark Tully) (LP: #576817)
2372- * removed the unused source for the mono bindings
2373-
2374-NEW in 3.5.0 (05/22/2012)
2375-============
2376- * removed unused service icons for jaiku and brightkite
2377- * removed unsupported service plugins: digg, friendfeed, pingfm, qaiku
2378- and buzz
2379- * Convert all mx.DateTime use to built-in datetime module. mx won't get
2380- ported to python3 (Barry Warsaw) (LP: #990145)
2381- * libgwibber-gtk: Fixed up the GwibberGtkEntry widget's alignment and
2382- icon search path
2383-
2384-NEW in 3.4.1 (04/25/2012)
2385-============
2386- * Use matching icons for unity lens categories
2387- * catch GLib.GError instead of GLib.Error (LP: #940182)
2388- * fallback to displaying full sender's name if the nickname is empty,
2389- even if show-fullname is false (LP: #985801)
2390- * foursquare: Don't crash on unicode characters in a users fullname, thanks
2391- to Raza Sayed (LP: #975437)
2392- * Defer calling unset on the seen HashMap until after we are done iterating
2393- it, it will resize making the iterator invalid. (LP: #959068)
2394- This is fixed in the 0.7 series of libgee
2395- * Specify /usr/bin/python in gwibber-accounts instead of relying on
2396- env (LP: #988385)
2397-
2398-NEW in 3.4.0 (04/03/2012)
2399-============
2400- * Check shorten-urls setting in the dispatcher before attempting to
2401- shorten, patch thanks to Martin T. (LP: #896639)
2402- * Removing unnecessary 'Image' link from entries with images obtained
2403- through imgpreview() (Mark Tully) (LP: #966285)
2404- * Replace all instances of a hashtag's occurance in a tweet at once
2405- rather than one at a time (Mark Tully) (LP: #966467)
2406- * Replace all instances of a nick's occurance in a tweet at once rather
2407- than one at a time (Mark Tully) (LP: #966467)
2408- * Catch errors from creating the pixbuf separately from sending the
2409- notification (LP: #940182)
2410- * Encode URLs to UTF8 before using them. (LP: #954374)
2411-
2412-NEW in 3.3.93 (03/21/2012)
2413-============
2414- * more fallbacks for dupe detection, try with link_name, image_name,
2415- and video_name (LP: #826323)
2416- * Protect against trying to create a pixbuf from an icon that doesn't
2417- exist (LP: #949395)
2418-
2419-NEW in 3.3.92 (03/15/2012)
2420-============
2421- * determine if we are DST or not, and set isdst in the time struct. This
2422- fixes the time delta being off by an hour for DST.
2423- * Make sure we don't keep references to Dee.ModelIter that has been
2424- removed (LP: #937607)
2425- * Use the SHA1 hash of the avatar URL instead of simply stripping the
2426- slashes, to avoid the resulting filename being too long to be created
2427- on ecryptfs volumes. (James Tait) (LP: #845374)
2428- * improved error handling to UrlLib2Downloader (David Klasinc) (LP: #946049)
2429- * facebook: try to handle data from facebook of type=question to
2430- prevent empty posts in the feed
2431- * since gtk+ 3.3.18 scroll events are getting blocked in the Gtk.Label
2432- for message, so we need to add the event mask for it.
2433-
2434-
2435-NEW in 3.3.91 (03/08/2012)
2436-============
2437- * Fix duplicate detection by falling back to comparing html,
2438- link_description, image_url and video_url (LP: #933694)
2439- * Fixed account migration path from 2.32 (desktopcouch) to
2440- 3.4 (sqlite) (LP: #740494)
2441- * gwibber-accounts crashed with TypeError in function(): Item 0: must
2442- be a subtype of gi.Boxed (LP: #936071)
2443- * Fixed position tracking so page down and page up move the
2444- appropriate number of tiles (LP: #629420)
2445- * more escaping of text that pango markup can't support
2446- * twitter: Use Twitter entities, improves getting hashtags, mentions,
2447- links, images, and videos. Thanks to Mark Tully (LP: #948092)
2448-
2449-
2450-NEW in 3.3.90 (02/23/2012)
2451-============
2452-
2453- * foursquare: display comments on checkins (Mark Tully)
2454- * Update LINGUAS to use all the provided translations (Robert Ancell)
2455- * make the messages stream default on startup
2456- * Updated favorite information to include if you liked a post
2457- * facebook: fixed dupes and empty posts (LP: #826323)
2458-
2459-
2460-NEW in 3.3.6 (02/16/2012)
2461-============
2462-
2463- * Translation fixes from Gabor Kelemen (LP: #926665)
2464- * Shutdown the service when using Quit from the menu if the unity lens
2465- isn't running. (LP: #923863)
2466- * Make searching in the lens faster using Dee's TreeIndex (Michal Hruby)
2467- * New StatusBar widget that will be used for displaying errors and other
2468- information in the future, right now it is only wired up to the
2469- LoadingStarted and LoadingComplete signals.
2470-
2471-
2472-NEW in 3.3.5 (02/15/2012)
2473-============
2474-
2475-No more dependency on the static python bindings for webkit-gtk2,
2476-gwibber-accounts now uses GIR and webkit-gtk3
2477-
2478-Now requires gir1.2-gnomekeyring-1.0 and gir1.2-webkit-3.0
2479-
2480-
2481-NEW in 3.3.4 (02/14/2012)
2482-============
2483-
2484-Completed dropped python multiprocessing and refactored the service threading.
2485-Including improving ability to catch individual operation failures.
2486-
2487-Bugs fixed:
2488- - Can't response or write to someone from their user information
2489- page (LP: #926081)
2490- - "Repeat"ing a status on StatusNet fails silently (Scott Sweeny) (LP: #923144)
2491-
2492-
2493-NEW in 3.3.3 (01/30/2012)
2494-============
2495-
2496-Greatly improved scrolling, but still not smooth scrolling. Inline comments
2497-and image previews are now enclosed in a Gtk.Expander and only load when
2498-expanded. This prevents the tiles resizing while scrolling and
2499-greatly improves performance while scrolling.
2500-
2501-Cleaned up all the Gtk 3.3 deprecations
2502-
2503-Now requires valac-0.16
2504-
2505-Bugs fixed:
2506- - Fixed a memory leak in ActionBoxItem (LP: #909085)
2507- - Fixed race conditions in async image loading while scrolling (LP: #911619)
2508- - Hide window while gwibber exits (Michal Hruby)
2509- - Improved scrolling by enclosing comments and image previews in a
2510- Gtk.Expander, this fixes the tiles resizing while scrolling (LP: #875348)
2511-
2512-
2513-NEW in 3.3.2 (01/13/2012)
2514-============
2515-
2516-Now requires libunity >= 5.0.0 and libdee >= 1.0.0
2517-
2518-* The gwibber-service now uses significantly less power by ensuring the
2519- multiprocessing pool is closed when operations are complete.
2520-* GtkSpell pkgconfig name has been renamed to gtkspell-3.0
2521-
2522-Bugs fixed:
2523- - Cancel async image loading on tile reset, this actually breaks image
2524- loading but prevents crashing with gtk >= 3.3.6 (LP: #911619)
2525- - The x people liked this string should use plurals. (LP: #863039)
2526- - gwibber-service has a child that polls at 10Hz which is causing a lot
2527- of wakeup events Remove (LP: #906916)
2528- - Fixed disabling of gtkspell in build system (LP: #834780)
2529- - Renamed gtkspell-3.0 pkgconfig now that upstream has merged gtk3
2530- support (LP: #860648)
2531
2532=== removed file 'README'
2533--- README 2012-05-11 06:22:23 +0000
2534+++ README 1970-01-01 00:00:00 +0000
2535@@ -1,50 +0,0 @@
2536-Installing Gwibber
2537-==================
2538-
2539- Requirements
2540- ------------
2541-
2542- Please note that the version numbers listed below only reflect my test
2543- environment. Gwibber is known to work with those specific versions, but
2544- will probably work fine on most current desktop distributions that include
2545- Python's WebKit GTK+ bindings.
2546-
2547- * python (2.5)
2548- * python-dbus (0.80.2)
2549- * python-gtk2 (2.10.4)
2550- * python-gconf (2.18.0)
2551- * python-imaging (1.1.6)
2552- * python-notify (0.1.1)
2553- * python-webkitgtk (1.0.1)
2554- * python-simplejson (1.9.1)
2555- * python-distutils-extra
2556- * python-feedparser (4.1)
2557- * python-xdg (0.15)
2558- * python-mako (0.2.2)
2559- * python-pycurl
2560-
2561- Installation
2562- ------------
2563-
2564- Gwibber uses Python's distutils framework for installation. In order to
2565- install Gwibber, you will need root access. To install Gwibber, perform
2566- the following command as root:
2567-
2568- $ python setup.py install
2569-
2570- Run Gwibber
2571- -----------
2572-
2573- If you installed Gwibber using the setup.py script, you can launch the
2574- program by typing "gwibber" at the command line. If you want to run
2575- Gwibber without installing it, start "bin/gwibber" from within the
2576- Gwibber directory.
2577-
2578- Testing
2579- -------
2580-
2581- You can run the dbus isolated tests by cd'ing into the tests directory
2582- and running `make check`.
2583-
2584- You can run the Python unittests by cd'ing into tests/python/unittests
2585- and running `PYTHONPATH=../../.. python -m unittest discover -v`
2586
2587=== removed file 'acinclude.m4'
2588--- acinclude.m4 2012-01-19 05:21:16 +0000
2589+++ acinclude.m4 1970-01-01 00:00:00 +0000
2590@@ -1,268 +0,0 @@
2591-## ------------------------
2592-## Python file handling
2593-## From Andrew Dalke
2594-## Updated by James Henstridge
2595-## ------------------------
2596-
2597-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
2598-# Free Software Foundation, Inc.
2599-
2600-# This program is free software; you can redistribute it and/or modify
2601-# it under the terms of the GNU General Public License as published by
2602-# the Free Software Foundation; either version 2, or (at your option)
2603-# any later version.
2604-
2605-# This program is distributed in the hope that it will be useful,
2606-# but WITHOUT ANY WARRANTY; without even the implied warranty of
2607-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2608-# GNU General Public License for more details.
2609-
2610-# You should have received a copy of the GNU General Public License
2611-# along with this program; if not, write to the Free Software
2612-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
2613-# 02111-1307, USA.
2614-
2615-# AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
2616-
2617-# Adds support for distributing Python modules and packages. To
2618-# install modules, copy them to $(pythondir), using the python_PYTHON
2619-# automake variable. To install a package with the same name as the
2620-# automake package, install to $(pkgpythondir), or use the
2621-# pkgpython_PYTHON automake variable.
2622-
2623-# The variables $(pyexecdir) and $(pkgpyexecdir) are provided as
2624-# locations to install python extension modules (shared libraries).
2625-# Another macro is required to find the appropriate flags to compile
2626-# extension modules.
2627-
2628-# If your package is configured with a different prefix to python,
2629-# users will have to add the install directory to the PYTHONPATH
2630-# environment variable, or create a .pth file (see the python
2631-# documentation for details).
2632-
2633-# If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will
2634-# cause an error if the version of python installed on the system
2635-# doesn't meet the requirement. MINIMUM-VERSION should consist of
2636-# numbers and dots only.
2637-
2638-AC_DEFUN([AM_PATH_PYTHON],
2639- [
2640- dnl Find a Python interpreter. Python versions prior to 1.5 are not
2641- dnl supported because the default installation locations changed from
2642- dnl $prefix/lib/site-python in 1.4 to $prefix/lib/python1.5/site-packages
2643- dnl in 1.5.
2644- m4_define([_AM_PYTHON_INTERPRETER_LIST],
2645- [python python2 python2.4 python2.3 python2.2 dnl
2646-python2.1 python2.0 python1.6 python1.5])
2647-
2648- m4_if([$1],[],[
2649- dnl No version check is needed.
2650- # Find any Python interpreter.
2651- if test -z "$PYTHON"; then
2652- PYTHON=:
2653- AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST)
2654- fi
2655- am_display_PYTHON=python
2656- ], [
2657- dnl A version check is needed.
2658- if test -n "$PYTHON"; then
2659- # If the user set $PYTHON, use it and don't search something else.
2660- AC_MSG_CHECKING([whether $PYTHON version >= $1])
2661- AM_PYTHON_CHECK_VERSION([$PYTHON], [$1],
2662- [AC_MSG_RESULT(yes)],
2663- [AC_MSG_ERROR(too old)])
2664- am_display_PYTHON=$PYTHON
2665- else
2666- # Otherwise, try each interpreter until we find one that satisfies
2667- # VERSION.
2668- AC_CACHE_CHECK([for a Python interpreter with version >= $1],
2669- [am_cv_pathless_PYTHON],[
2670- for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do
2671- test "$am_cv_pathless_PYTHON" = none && break
2672- AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break])
2673- done])
2674- # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
2675- if test "$am_cv_pathless_PYTHON" = none; then
2676- PYTHON=:
2677- else
2678- AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON])
2679- fi
2680- am_display_PYTHON=$am_cv_pathless_PYTHON
2681- fi
2682- ])
2683-
2684- if test "$PYTHON" = :; then
2685- dnl Run any user-specified action, or abort.
2686- m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])])
2687- else
2688-
2689- dnl Query Python for its version number. Getting [:3] seems to be
2690- dnl the best way to do this; it's what "site.py" does in the standard
2691- dnl library.
2692-
2693- AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version],
2694- [am_cv_python_version=`$PYTHON -c "import sys; print sys.version[[:3]]"`])
2695- AC_SUBST([PYTHON_VERSION], [$am_cv_python_version])
2696-
2697- dnl Use the values of $prefix and $exec_prefix for the corresponding
2698- dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made
2699- dnl distinct variables so they can be overridden if need be. However,
2700- dnl general consensus is that you shouldn't need this ability.
2701-
2702- AC_SUBST([PYTHON_PREFIX], ['${prefix}'])
2703- AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])
2704-
2705- dnl At times (like when building shared libraries) you may want
2706- dnl to know which OS platform Python thinks this is.
2707-
2708- AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform],
2709- [am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`])
2710- AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform])
2711-
2712-
2713- dnl Set up 4 directories:
2714-
2715- dnl pythondir -- where to install python scripts. This is the
2716- dnl site-packages directory, not the python standard library
2717- dnl directory like in previous automake betas. This behavior
2718- dnl is more consistent with lispdir.m4 for example.
2719- dnl Query distutils for this directory. distutils does not exist in
2720- dnl Python 1.5, so we fall back to the hardcoded directory if it
2721- dnl doesn't work.
2722- AC_CACHE_CHECK([for $am_display_PYTHON script directory],
2723- [am_cv_python_pythondir],
2724- [am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
2725- echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`])
2726- AC_SUBST([pythondir], [$am_cv_python_pythondir])
2727-
2728- dnl pkgpythondir -- $PACKAGE directory under pythondir. Was
2729- dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is
2730- dnl more consistent with the rest of automake.
2731-
2732- AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE])
2733-
2734- dnl pyexecdir -- directory for installing python extension modules
2735- dnl (shared libraries)
2736- dnl Query distutils for this directory. distutils does not exist in
2737- dnl Python 1.5, so we fall back to the hardcoded directory if it
2738- dnl doesn't work.
2739- AC_CACHE_CHECK([for $am_display_PYTHON extension module directory],
2740- [am_cv_python_pyexecdir],
2741- [am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
2742- echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`])
2743- AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])
2744-
2745- dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE)
2746-
2747- AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE])
2748-
2749- dnl Run any user-specified action.
2750- $2
2751- fi
2752-
2753-])
2754-
2755-
2756-# AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE])
2757-# ---------------------------------------------------------------------------
2758-# Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION.
2759-# Run ACTION-IF-FALSE otherwise.
2760-# This test uses sys.hexversion instead of the string equivalent (first
2761-# word of sys.version), in order to cope with versions such as 2.2c1.
2762-# hexversion has been introduced in Python 1.5.2; it's probably not
2763-# worth to support older versions (1.5.1 was released on October 31, 1998).
2764-AC_DEFUN([AM_PYTHON_CHECK_VERSION],
2765- [prog="import sys, string
2766-# split strings by '.' and convert to numeric. Append some zeros
2767-# because we need at least 4 digits for the hex conversion.
2768-minver = map(int, string.split('$2', '.')) + [[0, 0, 0]]
2769-minverhex = 0
2770-for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[[i]]
2771-sys.exit(sys.hexversion < minverhex)"
2772- AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])])
2773-python.m4
2774-
2775-
2776-## this one is commonly used with AM_PATH_PYTHONDIR ...
2777-dnl AM_CHECK_PYMOD(MODNAME [,SYMBOL [,ACTION-IF-FOUND [,ACTION-IF-NOT-FOUND]]])
2778-dnl Check if a module containing a given symbol is visible to python.
2779-AC_DEFUN([AM_CHECK_PYMOD],
2780-[AC_REQUIRE([AM_PATH_PYTHON])
2781-py_mod_var=`echo $1['_']$2 | sed 'y%./+-%__p_%'`
2782-AC_MSG_CHECKING(for ifelse([$2],[],,[$2 in ])python module $1)
2783-AC_CACHE_VAL(py_cv_mod_$py_mod_var, [
2784-ifelse([$2],[], [prog="
2785-import sys
2786-try:
2787- import $1
2788-except ImportError:
2789- sys.exit(1)
2790-except:
2791- sys.exit(0)
2792-sys.exit(0)"], [prog="
2793-import $1
2794-$1.$2"])
2795-if $PYTHON -c "$prog" 1>&AC_FD_CC 2>&AC_FD_CC
2796- then
2797- eval "py_cv_mod_$py_mod_var=yes"
2798- else
2799- eval "py_cv_mod_$py_mod_var=no"
2800- fi
2801-])
2802-py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
2803-if test "x$py_val" != xno; then
2804- AC_MSG_RESULT(yes)
2805- ifelse([$3], [],, [$3
2806-])dnl
2807-else
2808- AC_MSG_RESULT(no)
2809- ifelse([$4], [],, [$4
2810-])dnl
2811-fi
2812-])
2813-
2814-dnl a macro to check for ability to create python extensions
2815-dnl AM_CHECK_PYTHON_HEADERS([ACTION-IF-POSSIBLE], [ACTION-IF-NOT-POSSIBLE])
2816-dnl function also defines PYTHON_INCLUDES
2817-AC_DEFUN([AM_CHECK_PYTHON_HEADERS],
2818-[AC_REQUIRE([AM_PATH_PYTHON])
2819-AC_MSG_CHECKING(for headers required to compile python extensions)
2820-dnl deduce PYTHON_INCLUDES
2821-py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
2822-py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
2823-PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
2824-if test "$py_prefix" != "$py_exec_prefix"; then
2825- PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
2826-fi
2827-AC_SUBST(PYTHON_INCLUDES)
2828-dnl check if the headers exist:
2829-save_CPPFLAGS="$CPPFLAGS"
2830-CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
2831-AC_TRY_CPP([#include <Python.h>],dnl
2832-[AC_MSG_RESULT(found)
2833-$1],dnl
2834-[AC_MSG_RESULT(not found)
2835-$2])
2836-CPPFLAGS="$save_CPPFLAGS"
2837-])
2838-
2839-
2840-# Check whether the Vala compiler exists in `PATH'. If it is found, the
2841-# variable VALAC is set. Optionally a minimum release number of the
2842-# compiler can be requested.
2843-#
2844-# GWIBBER_PROG_VALAC([MINIMUM-VERSION])
2845-# --------------------------------
2846-AC_DEFUN([GWIBBER_PROG_VALAC],
2847-[AC_PATH_PROGS([VALAC], [valac-0.16 valac], [])
2848- AS_IF([test -z "$VALAC"],
2849- [AC_MSG_WARN([No Vala compiler found. You will not be able to compile .vala source files.])],
2850- [AS_IF([test -n "$1"],
2851- [AC_MSG_CHECKING([$VALAC is at least version $1])
2852- am__vala_version=`$VALAC --version | sed 's/Vala *//'`
2853- AS_VERSION_COMPARE([$1], ["$am__vala_version"],
2854- [AC_MSG_RESULT([yes])],
2855- [AC_MSG_RESULT([yes])],
2856- [AC_MSG_RESULT([no])
2857- AC_MSG_ERROR([Vala $1 not found.])])])])
2858-])
2859
2860=== removed file 'autogen.sh'
2861--- autogen.sh 2011-06-18 02:54:49 +0000
2862+++ autogen.sh 1970-01-01 00:00:00 +0000
2863@@ -1,11 +0,0 @@
2864-#!/bin/sh
2865-
2866-PKG_NAME="libgwibber"
2867-
2868-which gnome-autogen.sh || {
2869- echo "You need gnome-common from GNOME SVN"
2870- exit 1
2871-}
2872-
2873-USE_GNOME2_MACROS=1 \
2874-. gnome-autogen.sh
2875
2876=== removed directory 'bin'
2877=== removed file 'bin/Makefile.am'
2878--- bin/Makefile.am 2012-06-27 03:11:35 +0000
2879+++ bin/Makefile.am 1970-01-01 00:00:00 +0000
2880@@ -1,4 +0,0 @@
2881-bin_SCRIPTS = \
2882- gwibber-service
2883-
2884-EXTRA_DIST = $(bin_SCRIPTS)
2885
2886=== removed file 'bin/gwibber-service'
2887--- bin/gwibber-service 2012-08-16 14:44:52 +0000
2888+++ bin/gwibber-service 1970-01-01 00:00:00 +0000
2889@@ -1,70 +0,0 @@
2890-#!/usr/bin/python3
2891-
2892-from gi.repository import Gio, GLib
2893-import sys, optparse, dbus
2894-from os.path import join, dirname, exists, realpath, abspath
2895-from dbus.mainloop.glib import DBusGMainLoop
2896-
2897-DBusGMainLoop(set_as_default=True)
2898-loop = GLib.MainLoop()
2899-
2900-LAUNCH_DIR = abspath(sys.path[0])
2901-SOURCE_DIR = join(LAUNCH_DIR, "..", "gwibber")
2902-DISPATCHER = join(SOURCE_DIR, "microblog", "dispatcher.py")
2903-
2904-gsettings = Gio.Settings.new("org.gwibber.preferences")
2905-
2906-######################################################################
2907-# Options
2908-from gwibber.utils.options import Options
2909-
2910-args = Options().parser.parse_args()
2911-console = args.console
2912-debug = args.debug or gsettings.get_boolean('debug')
2913-
2914-
2915-######################################################################
2916-# Setup path
2917-if exists(DISPATCHER):
2918- sys.path.insert(0, realpath(dirname(SOURCE_DIR)))
2919- try:
2920- from gwibber.utils.logging import initialize
2921- initialize(console=console, debug=debug)
2922- import logging
2923- logger = logging.getLogger('gwibber.service')
2924- logger.info("Service starting")
2925- logger.info("Running from the source tree")
2926- from gwibber.microblog import dispatcher
2927- finally:
2928- del sys.path[0]
2929-
2930-else:
2931- from gwibber.utils.logging import initialize
2932- import logging
2933- setup_logging(console=console, debug=debuglog)
2934- logger = logging.getLogger("Service")
2935- logger.info("Service starting")
2936- logger.info("Running from the source tree")
2937- from gwibber.microblog import dispatcher
2938-
2939-# if gwibber-serivce is already running, don't start
2940-if "com.Gwibber.Connection" in dbus.SessionBus().list_names():
2941- logger.info("Found gwibber-service already running, exiting")
2942- quit()
2943-
2944-"""
2945-## Check to see if the database needs to be purged
2946-dispatcher.purge()
2947-
2948-account_monitor = dispatcher.AccountMonitor()
2949-stream_monitor = dispatcher.StreamMonitor()
2950-message_monitor = dispatcher.MessagesMonitor()
2951-"""
2952-
2953-logger.debug("Setting up monitors")
2954-connection_monitor = dispatcher.ConnectionMonitor()
2955-urlshortener = dispatcher.URLShorten()
2956-translator = dispatcher.Translate()
2957-uploader = dispatcher.Uploader()
2958-dispatcher = dispatcher.Dispatcher(loop)
2959-loop.run()
2960
2961=== removed directory 'client'
2962=== removed file 'client/COPYING'
2963--- client/COPYING 2011-06-18 02:54:49 +0000
2964+++ client/COPYING 1970-01-01 00:00:00 +0000
2965@@ -1,674 +0,0 @@
2966- GNU GENERAL PUBLIC LICENSE
2967- Version 3, 29 June 2007
2968-
2969- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
2970- Everyone is permitted to copy and distribute verbatim copies
2971- of this license document, but changing it is not allowed.
2972-
2973- Preamble
2974-
2975- The GNU General Public License is a free, copyleft license for
2976-software and other kinds of works.
2977-
2978- The licenses for most software and other practical works are designed
2979-to take away your freedom to share and change the works. By contrast,
2980-the GNU General Public License is intended to guarantee your freedom to
2981-share and change all versions of a program--to make sure it remains free
2982-software for all its users. We, the Free Software Foundation, use the
2983-GNU General Public License for most of our software; it applies also to
2984-any other work released this way by its authors. You can apply it to
2985-your programs, too.
2986-
2987- When we speak of free software, we are referring to freedom, not
2988-price. Our General Public Licenses are designed to make sure that you
2989-have the freedom to distribute copies of free software (and charge for
2990-them if you wish), that you receive source code or can get it if you
2991-want it, that you can change the software or use pieces of it in new
2992-free programs, and that you know you can do these things.
2993-
2994- To protect your rights, we need to prevent others from denying you
2995-these rights or asking you to surrender the rights. Therefore, you have
2996-certain responsibilities if you distribute copies of the software, or if
2997-you modify it: responsibilities to respect the freedom of others.
2998-
2999- For example, if you distribute copies of such a program, whether
3000-gratis or for a fee, you must pass on to the recipients the same
3001-freedoms that you received. You must make sure that they, too, receive
3002-or can get the source code. And you must show them these terms so they
3003-know their rights.
3004-
3005- Developers that use the GNU GPL protect your rights with two steps:
3006-(1) assert copyright on the software, and (2) offer you this License
3007-giving you legal permission to copy, distribute and/or modify it.
3008-
3009- For the developers' and authors' protection, the GPL clearly explains
3010-that there is no warranty for this free software. For both users' and
3011-authors' sake, the GPL requires that modified versions be marked as
3012-changed, so that their problems will not be attributed erroneously to
3013-authors of previous versions.
3014-
3015- Some devices are designed to deny users access to install or run
3016-modified versions of the software inside them, although the manufacturer
3017-can do so. This is fundamentally incompatible with the aim of
3018-protecting users' freedom to change the software. The systematic
3019-pattern of such abuse occurs in the area of products for individuals to
3020-use, which is precisely where it is most unacceptable. Therefore, we
3021-have designed this version of the GPL to prohibit the practice for those
3022-products. If such problems arise substantially in other domains, we
3023-stand ready to extend this provision to those domains in future versions
3024-of the GPL, as needed to protect the freedom of users.
3025-
3026- Finally, every program is threatened constantly by software patents.
3027-States should not allow patents to restrict development and use of
3028-software on general-purpose computers, but in those that do, we wish to
3029-avoid the special danger that patents applied to a free program could
3030-make it effectively proprietary. To prevent this, the GPL assures that
3031-patents cannot be used to render the program non-free.
3032-
3033- The precise terms and conditions for copying, distribution and
3034-modification follow.
3035-
3036- TERMS AND CONDITIONS
3037-
3038- 0. Definitions.
3039-
3040- "This License" refers to version 3 of the GNU General Public License.
3041-
3042- "Copyright" also means copyright-like laws that apply to other kinds of
3043-works, such as semiconductor masks.
3044-
3045- "The Program" refers to any copyrightable work licensed under this
3046-License. Each licensee is addressed as "you". "Licensees" and
3047-"recipients" may be individuals or organizations.
3048-
3049- To "modify" a work means to copy from or adapt all or part of the work
3050-in a fashion requiring copyright permission, other than the making of an
3051-exact copy. The resulting work is called a "modified version" of the
3052-earlier work or a work "based on" the earlier work.
3053-
3054- A "covered work" means either the unmodified Program or a work based
3055-on the Program.
3056-
3057- To "propagate" a work means to do anything with it that, without
3058-permission, would make you directly or secondarily liable for
3059-infringement under applicable copyright law, except executing it on a
3060-computer or modifying a private copy. Propagation includes copying,
3061-distribution (with or without modification), making available to the
3062-public, and in some countries other activities as well.
3063-
3064- To "convey" a work means any kind of propagation that enables other
3065-parties to make or receive copies. Mere interaction with a user through
3066-a computer network, with no transfer of a copy, is not conveying.
3067-
3068- An interactive user interface displays "Appropriate Legal Notices"
3069-to the extent that it includes a convenient and prominently visible
3070-feature that (1) displays an appropriate copyright notice, and (2)
3071-tells the user that there is no warranty for the work (except to the
3072-extent that warranties are provided), that licensees may convey the
3073-work under this License, and how to view a copy of this License. If
3074-the interface presents a list of user commands or options, such as a
3075-menu, a prominent item in the list meets this criterion.
3076-
3077- 1. Source Code.
3078-
3079- The "source code" for a work means the preferred form of the work
3080-for making modifications to it. "Object code" means any non-source
3081-form of a work.
3082-
3083- A "Standard Interface" means an interface that either is an official
3084-standard defined by a recognized standards body, or, in the case of
3085-interfaces specified for a particular programming language, one that
3086-is widely used among developers working in that language.
3087-
3088- The "System Libraries" of an executable work include anything, other
3089-than the work as a whole, that (a) is included in the normal form of
3090-packaging a Major Component, but which is not part of that Major
3091-Component, and (b) serves only to enable use of the work with that
3092-Major Component, or to implement a Standard Interface for which an
3093-implementation is available to the public in source code form. A
3094-"Major Component", in this context, means a major essential component
3095-(kernel, window system, and so on) of the specific operating system
3096-(if any) on which the executable work runs, or a compiler used to
3097-produce the work, or an object code interpreter used to run it.
3098-
3099- The "Corresponding Source" for a work in object code form means all
3100-the source code needed to generate, install, and (for an executable
3101-work) run the object code and to modify the work, including scripts to
3102-control those activities. However, it does not include the work's
3103-System Libraries, or general-purpose tools or generally available free
3104-programs which are used unmodified in performing those activities but
3105-which are not part of the work. For example, Corresponding Source
3106-includes interface definition files associated with source files for
3107-the work, and the source code for shared libraries and dynamically
3108-linked subprograms that the work is specifically designed to require,
3109-such as by intimate data communication or control flow between those
3110-subprograms and other parts of the work.
3111-
3112- The Corresponding Source need not include anything that users
3113-can regenerate automatically from other parts of the Corresponding
3114-Source.
3115-
3116- The Corresponding Source for a work in source code form is that
3117-same work.
3118-
3119- 2. Basic Permissions.
3120-
3121- All rights granted under this License are granted for the term of
3122-copyright on the Program, and are irrevocable provided the stated
3123-conditions are met. This License explicitly affirms your unlimited
3124-permission to run the unmodified Program. The output from running a
3125-covered work is covered by this License only if the output, given its
3126-content, constitutes a covered work. This License acknowledges your
3127-rights of fair use or other equivalent, as provided by copyright law.
3128-
3129- You may make, run and propagate covered works that you do not
3130-convey, without conditions so long as your license otherwise remains
3131-in force. You may convey covered works to others for the sole purpose
3132-of having them make modifications exclusively for you, or provide you
3133-with facilities for running those works, provided that you comply with
3134-the terms of this License in conveying all material for which you do
3135-not control copyright. Those thus making or running the covered works
3136-for you must do so exclusively on your behalf, under your direction
3137-and control, on terms that prohibit them from making any copies of
3138-your copyrighted material outside their relationship with you.
3139-
3140- Conveying under any other circumstances is permitted solely under
3141-the conditions stated below. Sublicensing is not allowed; section 10
3142-makes it unnecessary.
3143-
3144- 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
3145-
3146- No covered work shall be deemed part of an effective technological
3147-measure under any applicable law fulfilling obligations under article
3148-11 of the WIPO copyright treaty adopted on 20 December 1996, or
3149-similar laws prohibiting or restricting circumvention of such
3150-measures.
3151-
3152- When you convey a covered work, you waive any legal power to forbid
3153-circumvention of technological measures to the extent such circumvention
3154-is effected by exercising rights under this License with respect to
3155-the covered work, and you disclaim any intention to limit operation or
3156-modification of the work as a means of enforcing, against the work's
3157-users, your or third parties' legal rights to forbid circumvention of
3158-technological measures.
3159-
3160- 4. Conveying Verbatim Copies.
3161-
3162- You may convey verbatim copies of the Program's source code as you
3163-receive it, in any medium, provided that you conspicuously and
3164-appropriately publish on each copy an appropriate copyright notice;
3165-keep intact all notices stating that this License and any
3166-non-permissive terms added in accord with section 7 apply to the code;
3167-keep intact all notices of the absence of any warranty; and give all
3168-recipients a copy of this License along with the Program.
3169-
3170- You may charge any price or no price for each copy that you convey,
3171-and you may offer support or warranty protection for a fee.
3172-
3173- 5. Conveying Modified Source Versions.
3174-
3175- You may convey a work based on the Program, or the modifications to
3176-produce it from the Program, in the form of source code under the
3177-terms of section 4, provided that you also meet all of these conditions:
3178-
3179- a) The work must carry prominent notices stating that you modified
3180- it, and giving a relevant date.
3181-
3182- b) The work must carry prominent notices stating that it is
3183- released under this License and any conditions added under section
3184- 7. This requirement modifies the requirement in section 4 to
3185- "keep intact all notices".
3186-
3187- c) You must license the entire work, as a whole, under this
3188- License to anyone who comes into possession of a copy. This
3189- License will therefore apply, along with any applicable section 7
3190- additional terms, to the whole of the work, and all its parts,
3191- regardless of how they are packaged. This License gives no
3192- permission to license the work in any other way, but it does not
3193- invalidate such permission if you have separately received it.
3194-
3195- d) If the work has interactive user interfaces, each must display
3196- Appropriate Legal Notices; however, if the Program has interactive
3197- interfaces that do not display Appropriate Legal Notices, your
3198- work need not make them do so.
3199-
3200- A compilation of a covered work with other separate and independent
3201-works, which are not by their nature extensions of the covered work,
3202-and which are not combined with it such as to form a larger program,
3203-in or on a volume of a storage or distribution medium, is called an
3204-"aggregate" if the compilation and its resulting copyright are not
3205-used to limit the access or legal rights of the compilation's users
3206-beyond what the individual works permit. Inclusion of a covered work
3207-in an aggregate does not cause this License to apply to the other
3208-parts of the aggregate.
3209-
3210- 6. Conveying Non-Source Forms.
3211-
3212- You may convey a covered work in object code form under the terms
3213-of sections 4 and 5, provided that you also convey the
3214-machine-readable Corresponding Source under the terms of this License,
3215-in one of these ways:
3216-
3217- a) Convey the object code in, or embodied in, a physical product
3218- (including a physical distribution medium), accompanied by the
3219- Corresponding Source fixed on a durable physical medium
3220- customarily used for software interchange.
3221-
3222- b) Convey the object code in, or embodied in, a physical product
3223- (including a physical distribution medium), accompanied by a
3224- written offer, valid for at least three years and valid for as
3225- long as you offer spare parts or customer support for that product
3226- model, to give anyone who possesses the object code either (1) a
3227- copy of the Corresponding Source for all the software in the
3228- product that is covered by this License, on a durable physical
3229- medium customarily used for software interchange, for a price no
3230- more than your reasonable cost of physically performing this
3231- conveying of source, or (2) access to copy the
3232- Corresponding Source from a network server at no charge.
3233-
3234- c) Convey individual copies of the object code with a copy of the
3235- written offer to provide the Corresponding Source. This
3236- alternative is allowed only occasionally and noncommercially, and
3237- only if you received the object code with such an offer, in accord
3238- with subsection 6b.
3239-
3240- d) Convey the object code by offering access from a designated
3241- place (gratis or for a charge), and offer equivalent access to the
3242- Corresponding Source in the same way through the same place at no
3243- further charge. You need not require recipients to copy the
3244- Corresponding Source along with the object code. If the place to
3245- copy the object code is a network server, the Corresponding Source
3246- may be on a different server (operated by you or a third party)
3247- that supports equivalent copying facilities, provided you maintain
3248- clear directions next to the object code saying where to find the
3249- Corresponding Source. Regardless of what server hosts the
3250- Corresponding Source, you remain obligated to ensure that it is
3251- available for as long as needed to satisfy these requirements.
3252-
3253- e) Convey the object code using peer-to-peer transmission, provided
3254- you inform other peers where the object code and Corresponding
3255- Source of the work are being offered to the general public at no
3256- charge under subsection 6d.
3257-
3258- A separable portion of the object code, whose source code is excluded
3259-from the Corresponding Source as a System Library, need not be
3260-included in conveying the object code work.
3261-
3262- A "User Product" is either (1) a "consumer product", which means any
3263-tangible personal property which is normally used for personal, family,
3264-or household purposes, or (2) anything designed or sold for incorporation
3265-into a dwelling. In determining whether a product is a consumer product,
3266-doubtful cases shall be resolved in favor of coverage. For a particular
3267-product received by a particular user, "normally used" refers to a
3268-typical or common use of that class of product, regardless of the status
3269-of the particular user or of the way in which the particular user
3270-actually uses, or expects or is expected to use, the product. A product
3271-is a consumer product regardless of whether the product has substantial
3272-commercial, industrial or non-consumer uses, unless such uses represent
3273-the only significant mode of use of the product.
3274-
3275- "Installation Information" for a User Product means any methods,
3276-procedures, authorization keys, or other information required to install
3277-and execute modified versions of a covered work in that User Product from
3278-a modified version of its Corresponding Source. The information must
3279-suffice to ensure that the continued functioning of the modified object
3280-code is in no case prevented or interfered with solely because
3281-modification has been made.
3282-
3283- If you convey an object code work under this section in, or with, or
3284-specifically for use in, a User Product, and the conveying occurs as
3285-part of a transaction in which the right of possession and use of the
3286-User Product is transferred to the recipient in perpetuity or for a
3287-fixed term (regardless of how the transaction is characterized), the
3288-Corresponding Source conveyed under this section must be accompanied
3289-by the Installation Information. But this requirement does not apply
3290-if neither you nor any third party retains the ability to install
3291-modified object code on the User Product (for example, the work has
3292-been installed in ROM).
3293-
3294- The requirement to provide Installation Information does not include a
3295-requirement to continue to provide support service, warranty, or updates
3296-for a work that has been modified or installed by the recipient, or for
3297-the User Product in which it has been modified or installed. Access to a
3298-network may be denied when the modification itself materially and
3299-adversely affects the operation of the network or violates the rules and
3300-protocols for communication across the network.
3301-
3302- Corresponding Source conveyed, and Installation Information provided,
3303-in accord with this section must be in a format that is publicly
3304-documented (and with an implementation available to the public in
3305-source code form), and must require no special password or key for
3306-unpacking, reading or copying.
3307-
3308- 7. Additional Terms.
3309-
3310- "Additional permissions" are terms that supplement the terms of this
3311-License by making exceptions from one or more of its conditions.
3312-Additional permissions that are applicable to the entire Program shall
3313-be treated as though they were included in this License, to the extent
3314-that they are valid under applicable law. If additional permissions
3315-apply only to part of the Program, that part may be used separately
3316-under those permissions, but the entire Program remains governed by
3317-this License without regard to the additional permissions.
3318-
3319- When you convey a copy of a covered work, you may at your option
3320-remove any additional permissions from that copy, or from any part of
3321-it. (Additional permissions may be written to require their own
3322-removal in certain cases when you modify the work.) You may place
3323-additional permissions on material, added by you to a covered work,
3324-for which you have or can give appropriate copyright permission.
3325-
3326- Notwithstanding any other provision of this License, for material you
3327-add to a covered work, you may (if authorized by the copyright holders of
3328-that material) supplement the terms of this License with terms:
3329-
3330- a) Disclaiming warranty or limiting liability differently from the
3331- terms of sections 15 and 16 of this License; or
3332-
3333- b) Requiring preservation of specified reasonable legal notices or
3334- author attributions in that material or in the Appropriate Legal
3335- Notices displayed by works containing it; or
3336-
3337- c) Prohibiting misrepresentation of the origin of that material, or
3338- requiring that modified versions of such material be marked in
3339- reasonable ways as different from the original version; or
3340-
3341- d) Limiting the use for publicity purposes of names of licensors or
3342- authors of the material; or
3343-
3344- e) Declining to grant rights under trademark law for use of some
3345- trade names, trademarks, or service marks; or
3346-
3347- f) Requiring indemnification of licensors and authors of that
3348- material by anyone who conveys the material (or modified versions of
3349- it) with contractual assumptions of liability to the recipient, for
3350- any liability that these contractual assumptions directly impose on
3351- those licensors and authors.
3352-
3353- All other non-permissive additional terms are considered "further
3354-restrictions" within the meaning of section 10. If the Program as you
3355-received it, or any part of it, contains a notice stating that it is
3356-governed by this License along with a term that is a further
3357-restriction, you may remove that term. If a license document contains
3358-a further restriction but permits relicensing or conveying under this
3359-License, you may add to a covered work material governed by the terms
3360-of that license document, provided that the further restriction does
3361-not survive such relicensing or conveying.
3362-
3363- If you add terms to a covered work in accord with this section, you
3364-must place, in the relevant source files, a statement of the
3365-additional terms that apply to those files, or a notice indicating
3366-where to find the applicable terms.
3367-
3368- Additional terms, permissive or non-permissive, may be stated in the
3369-form of a separately written license, or stated as exceptions;
3370-the above requirements apply either way.
3371-
3372- 8. Termination.
3373-
3374- You may not propagate or modify a covered work except as expressly
3375-provided under this License. Any attempt otherwise to propagate or
3376-modify it is void, and will automatically terminate your rights under
3377-this License (including any patent licenses granted under the third
3378-paragraph of section 11).
3379-
3380- However, if you cease all violation of this License, then your
3381-license from a particular copyright holder is reinstated (a)
3382-provisionally, unless and until the copyright holder explicitly and
3383-finally terminates your license, and (b) permanently, if the copyright
3384-holder fails to notify you of the violation by some reasonable means
3385-prior to 60 days after the cessation.
3386-
3387- Moreover, your license from a particular copyright holder is
3388-reinstated permanently if the copyright holder notifies you of the
3389-violation by some reasonable means, this is the first time you have
3390-received notice of violation of this License (for any work) from that
3391-copyright holder, and you cure the violation prior to 30 days after
3392-your receipt of the notice.
3393-
3394- Termination of your rights under this section does not terminate the
3395-licenses of parties who have received copies or rights from you under
3396-this License. If your rights have been terminated and not permanently
3397-reinstated, you do not qualify to receive new licenses for the same
3398-material under section 10.
3399-
3400- 9. Acceptance Not Required for Having Copies.
3401-
3402- You are not required to accept this License in order to receive or
3403-run a copy of the Program. Ancillary propagation of a covered work
3404-occurring solely as a consequence of using peer-to-peer transmission
3405-to receive a copy likewise does not require acceptance. However,
3406-nothing other than this License grants you permission to propagate or
3407-modify any covered work. These actions infringe copyright if you do
3408-not accept this License. Therefore, by modifying or propagating a
3409-covered work, you indicate your acceptance of this License to do so.
3410-
3411- 10. Automatic Licensing of Downstream Recipients.
3412-
3413- Each time you convey a covered work, the recipient automatically
3414-receives a license from the original licensors, to run, modify and
3415-propagate that work, subject to this License. You are not responsible
3416-for enforcing compliance by third parties with this License.
3417-
3418- An "entity transaction" is a transaction transferring control of an
3419-organization, or substantially all assets of one, or subdividing an
3420-organization, or merging organizations. If propagation of a covered
3421-work results from an entity transaction, each party to that
3422-transaction who receives a copy of the work also receives whatever
3423-licenses to the work the party's predecessor in interest had or could
3424-give under the previous paragraph, plus a right to possession of the
3425-Corresponding Source of the work from the predecessor in interest, if
3426-the predecessor has it or can get it with reasonable efforts.
3427-
3428- You may not impose any further restrictions on the exercise of the
3429-rights granted or affirmed under this License. For example, you may
3430-not impose a license fee, royalty, or other charge for exercise of
3431-rights granted under this License, and you may not initiate litigation
3432-(including a cross-claim or counterclaim in a lawsuit) alleging that
3433-any patent claim is infringed by making, using, selling, offering for
3434-sale, or importing the Program or any portion of it.
3435-
3436- 11. Patents.
3437-
3438- A "contributor" is a copyright holder who authorizes use under this
3439-License of the Program or a work on which the Program is based. The
3440-work thus licensed is called the contributor's "contributor version".
3441-
3442- A contributor's "essential patent claims" are all patent claims
3443-owned or controlled by the contributor, whether already acquired or
3444-hereafter acquired, that would be infringed by some manner, permitted
3445-by this License, of making, using, or selling its contributor version,
3446-but do not include claims that would be infringed only as a
3447-consequence of further modification of the contributor version. For
3448-purposes of this definition, "control" includes the right to grant
3449-patent sublicenses in a manner consistent with the requirements of
3450-this License.
3451-
3452- Each contributor grants you a non-exclusive, worldwide, royalty-free
3453-patent license under the contributor's essential patent claims, to
3454-make, use, sell, offer for sale, import and otherwise run, modify and
3455-propagate the contents of its contributor version.
3456-
3457- In the following three paragraphs, a "patent license" is any express
3458-agreement or commitment, however denominated, not to enforce a patent
3459-(such as an express permission to practice a patent or covenant not to
3460-sue for patent infringement). To "grant" such a patent license to a
3461-party means to make such an agreement or commitment not to enforce a
3462-patent against the party.
3463-
3464- If you convey a covered work, knowingly relying on a patent license,
3465-and the Corresponding Source of the work is not available for anyone
3466-to copy, free of charge and under the terms of this License, through a
3467-publicly available network server or other readily accessible means,
3468-then you must either (1) cause the Corresponding Source to be so
3469-available, or (2) arrange to deprive yourself of the benefit of the
3470-patent license for this particular work, or (3) arrange, in a manner
3471-consistent with the requirements of this License, to extend the patent
3472-license to downstream recipients. "Knowingly relying" means you have
3473-actual knowledge that, but for the patent license, your conveying the
3474-covered work in a country, or your recipient's use of the covered work
3475-in a country, would infringe one or more identifiable patents in that
3476-country that you have reason to believe are valid.
3477-
3478- If, pursuant to or in connection with a single transaction or
3479-arrangement, you convey, or propagate by procuring conveyance of, a
3480-covered work, and grant a patent license to some of the parties
3481-receiving the covered work authorizing them to use, propagate, modify
3482-or convey a specific copy of the covered work, then the patent license
3483-you grant is automatically extended to all recipients of the covered
3484-work and works based on it.
3485-
3486- A patent license is "discriminatory" if it does not include within
3487-the scope of its coverage, prohibits the exercise of, or is
3488-conditioned on the non-exercise of one or more of the rights that are
3489-specifically granted under this License. You may not convey a covered
3490-work if you are a party to an arrangement with a third party that is
3491-in the business of distributing software, under which you make payment
3492-to the third party based on the extent of your activity of conveying
3493-the work, and under which the third party grants, to any of the
3494-parties who would receive the covered work from you, a discriminatory
3495-patent license (a) in connection with copies of the covered work
3496-conveyed by you (or copies made from those copies), or (b) primarily
3497-for and in connection with specific products or compilations that
3498-contain the covered work, unless you entered into that arrangement,
3499-or that patent license was granted, prior to 28 March 2007.
3500-
3501- Nothing in this License shall be construed as excluding or limiting
3502-any implied license or other defenses to infringement that may
3503-otherwise be available to you under applicable patent law.
3504-
3505- 12. No Surrender of Others' Freedom.
3506-
3507- If conditions are imposed on you (whether by court order, agreement or
3508-otherwise) that contradict the conditions of this License, they do not
3509-excuse you from the conditions of this License. If you cannot convey a
3510-covered work so as to satisfy simultaneously your obligations under this
3511-License and any other pertinent obligations, then as a consequence you may
3512-not convey it at all. For example, if you agree to terms that obligate you
3513-to collect a royalty for further conveying from those to whom you convey
3514-the Program, the only way you could satisfy both those terms and this
3515-License would be to refrain entirely from conveying the Program.
3516-
3517- 13. Use with the GNU Affero General Public License.
3518-
3519- Notwithstanding any other provision of this License, you have
3520-permission to link or combine any covered work with a work licensed
3521-under version 3 of the GNU Affero General Public License into a single
3522-combined work, and to convey the resulting work. The terms of this
3523-License will continue to apply to the part which is the covered work,
3524-but the special requirements of the GNU Affero General Public License,
3525-section 13, concerning interaction through a network will apply to the
3526-combination as such.
3527-
3528- 14. Revised Versions of this License.
3529-
3530- The Free Software Foundation may publish revised and/or new versions of
3531-the GNU General Public License from time to time. Such new versions will
3532-be similar in spirit to the present version, but may differ in detail to
3533-address new problems or concerns.
3534-
3535- Each version is given a distinguishing version number. If the
3536-Program specifies that a certain numbered version of the GNU General
3537-Public License "or any later version" applies to it, you have the
3538-option of following the terms and conditions either of that numbered
3539-version or of any later version published by the Free Software
3540-Foundation. If the Program does not specify a version number of the
3541-GNU General Public License, you may choose any version ever published
3542-by the Free Software Foundation.
3543-
3544- If the Program specifies that a proxy can decide which future
3545-versions of the GNU General Public License can be used, that proxy's
3546-public statement of acceptance of a version permanently authorizes you
3547-to choose that version for the Program.
3548-
3549- Later license versions may give you additional or different
3550-permissions. However, no additional obligations are imposed on any
3551-author or copyright holder as a result of your choosing to follow a
3552-later version.
3553-
3554- 15. Disclaimer of Warranty.
3555-
3556- THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
3557-APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
3558-HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
3559-OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
3560-THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
3561-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
3562-IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
3563-ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
3564-
3565- 16. Limitation of Liability.
3566-
3567- IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
3568-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
3569-THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
3570-GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
3571-USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
3572-DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
3573-PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
3574-EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
3575-SUCH DAMAGES.
3576-
3577- 17. Interpretation of Sections 15 and 16.
3578-
3579- If the disclaimer of warranty and limitation of liability provided
3580-above cannot be given local legal effect according to their terms,
3581-reviewing courts shall apply local law that most closely approximates
3582-an absolute waiver of all civil liability in connection with the
3583-Program, unless a warranty or assumption of liability accompanies a
3584-copy of the Program in return for a fee.
3585-
3586- END OF TERMS AND CONDITIONS
3587-
3588- How to Apply These Terms to Your New Programs
3589-
3590- If you develop a new program, and you want it to be of the greatest
3591-possible use to the public, the best way to achieve this is to make it
3592-free software which everyone can redistribute and change under these terms.
3593-
3594- To do so, attach the following notices to the program. It is safest
3595-to attach them to the start of each source file to most effectively
3596-state the exclusion of warranty; and each file should have at least
3597-the "copyright" line and a pointer to where the full notice is found.
3598-
3599- <one line to give the program's name and a brief idea of what it does.>
3600- Copyright (C) <year> <name of author>
3601-
3602- This program is free software: you can redistribute it and/or modify
3603- it under the terms of the GNU General Public License as published by
3604- the Free Software Foundation, either version 3 of the License, or
3605- (at your option) any later version.
3606-
3607- This program is distributed in the hope that it will be useful,
3608- but WITHOUT ANY WARRANTY; without even the implied warranty of
3609- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3610- GNU General Public License for more details.
3611-
3612- You should have received a copy of the GNU General Public License
3613- along with this program. If not, see <http://www.gnu.org/licenses/>.
3614-
3615-Also add information on how to contact you by electronic and paper mail.
3616-
3617- If the program does terminal interaction, make it output a short
3618-notice like this when it starts in an interactive mode:
3619-
3620- <program> Copyright (C) <year> <name of author>
3621- This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
3622- This is free software, and you are welcome to redistribute it
3623- under certain conditions; type `show c' for details.
3624-
3625-The hypothetical commands `show w' and `show c' should show the appropriate
3626-parts of the General Public License. Of course, your program's commands
3627-might be different; for a GUI interface, you would use an "about box".
3628-
3629- You should also get your employer (if you work as a programmer) or school,
3630-if any, to sign a "copyright disclaimer" for the program, if necessary.
3631-For more information on this, and how to apply and follow the GNU GPL, see
3632-<http://www.gnu.org/licenses/>.
3633-
3634- The GNU General Public License does not permit incorporating your program
3635-into proprietary programs. If your program is a subroutine library, you
3636-may consider it more useful to permit linking proprietary applications with
3637-the library. If this is what you want to do, use the GNU Lesser General
3638-Public License instead of this License. But first, please read
3639-<http://www.gnu.org/philosophy/why-not-lgpl.html>.
3640
3641=== removed file 'client/Makefile.am'
3642--- client/Makefile.am 2012-06-15 10:56:26 +0000
3643+++ client/Makefile.am 1970-01-01 00:00:00 +0000
3644@@ -1,125 +0,0 @@
3645-GETTEXT_PACKAGE = gwibber
3646-
3647-bin_PROGRAMS = \
3648- gwibber \
3649- gwibber-poster \
3650- gwibber-preferences
3651-
3652-gwibber_SOURCES = \
3653- gwibber-client.vala \
3654- attachments-item.vala \
3655- searches-item.vala \
3656- users-item.vala \
3657- home-item.vala \
3658- private-item.vala \
3659- replies-item.vala \
3660- public-item.vala \
3661- messages-item.vala \
3662- stream-entry.vala \
3663- status-bar.vala \
3664- tab-bar.vala \
3665- tab-bar-item.vala \
3666- tab-bar-widgets.vala
3667-
3668-gwibber_CFLAGS = \
3669- $(BASE_CFLAGS) \
3670- -DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
3671- -I$(top_srcdir)/libgwibber \
3672- -I$(top_srcdir)/libgwibber-gtk
3673-
3674-gwibber_VALAFLAGS = \
3675- -X -I$(top_srcdir)/libgwibber \
3676- -X -L../libgwibber/.libs \
3677- -X -I$(top_srcdir)/libgwibber-gtk \
3678- -X -L../libgwibber-gtk/.libs \
3679- ../libgwibber/gwibber-@GWIBBER_API_VERSION@.vapi \
3680- ../libgwibber-gtk/gwibber-gtk-@GWIBBER_API_VERSION@.vapi \
3681- --vapidir $(top_srcdir)/vapi \
3682- --pkg accounts \
3683- --pkg config \
3684- --pkg json-glib-1.0 \
3685- --pkg gee-1.0 \
3686- --pkg gtk+-3.0 \
3687- --pkg gdk-3.0 \
3688- --pkg atk \
3689- --pkg glib-2.0 \
3690- --pkg dee-1.0 \
3691- --basedir ./ \
3692- $(MAINTAINER_VALAFLAGS) \
3693- $(NULL)
3694-
3695-gwibber_LDADD = \
3696- $(BASE_LIBS) \
3697- -L../libgwibber/.libs -lgwibber \
3698- -L../libgwibber-gtk/.libs -lgwibber-gtk \
3699- -lpangocairo-1.0 -ldee-1.0
3700-
3701-gwibber_preferences_SOURCES = \
3702- gwibber-preferences.vala
3703-
3704-gwibber_preferences_CFLAGS = \
3705- $(BASE_CFLAGS) \
3706- -DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \
3707- -I$(top_srcdir)/libgwibber \
3708- -I$(top_srcdir)/libgwibber-gtk
3709-
3710-gwibber_preferences_VALAFLAGS = \
3711- --vapidir $(top_srcdir)/vapi \
3712- --pkg accounts \
3713- --pkg config \
3714- --pkg gtk+-3.0 \
3715- --pkg gdk-3.0 \
3716- --pkg atk \
3717- --pkg glib-2.0 \
3718- --pkg gmodule-2.0 \
3719- --pkg Dbusmenu-0.4 \
3720- $(MAINTAINER_VALAFLAGS) \
3721- $(NULL)
3722-
3723-gwibber_preferences_LDADD = \
3724- $(BASE_LIBS)
3725-
3726-gwibber_poster_SOURCES = \
3727- stream-entry.vala \
3728- gwibber-poster.vala
3729-
3730-gwibber_poster_CFLAGS = \
3731- $(BASE_CFLAGS) \
3732- -I$(top_srcdir)/libgwibber \
3733- -I$(top_srcdir)/libgwibber-gtk
3734-
3735-gwibber_poster_VALAFLAGS = \
3736- -X -I$(top_srcdir)/libgwibber \
3737- -X -L../libgwibber/.libs \
3738- -X -I$(top_srcdir)/libgwibber-gtk \
3739- -X -L../libgwibber-gtk/.libs \
3740- ../libgwibber/gwibber-@GWIBBER_API_VERSION@.vapi \
3741- ../libgwibber-gtk/gwibber-gtk-@GWIBBER_API_VERSION@.vapi \
3742- --vapidir $(top_srcdir)/vapi \
3743- --pkg accounts \
3744- --pkg config \
3745- --pkg json-glib-1.0 \
3746- --pkg gtk+-3.0 \
3747- --pkg gdk-3.0 \
3748- --pkg atk \
3749- --pkg glib-2.0 \
3750- --pkg gee-1.0 \
3751- --pkg dee-1.0 \
3752- --pkg pango \
3753- --basedir ./ \
3754- $(MAINTAINER_VALAFLAGS) \
3755- $(NULL)
3756-
3757-gwibber_poster_LDADD = \
3758- $(BASE_LIBS) \
3759- -L../libgwibber/.libs -lgwibber \
3760- -L../libgwibber-gtk/.libs -lgwibber-gtk
3761-
3762-VALASOURCES = \
3763- $(gwibber_SOURCES) \
3764- $(gwibber_poster_SOURCES) \
3765- $(gwibber_preferences_SOURCES)
3766-
3767-CLEANFILES = \
3768- *.stamp \
3769- $(VALASOURCES:.vala=.c)
3770
3771=== removed file 'client/attachments-item.vala'
3772--- client/attachments-item.vala 2012-08-05 19:21:33 +0000
3773+++ client/attachments-item.vala 1970-01-01 00:00:00 +0000
3774@@ -1,84 +0,0 @@
3775-/*
3776- * Copyright (C) 2011 Canonical Ltd.
3777- *
3778- * This program is free software: you can redistribute it and/or modify it
3779- * under the terms of the GNU General Public License version 3, as published
3780- * by the Free Software Foundation.
3781-
3782- * This program is distributed in the hope that it will be useful, but
3783- * WITHOUT ANY WARRANTY; without even the implied warranties of
3784- * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
3785- * PURPOSE. See the GNU General Public License for more details.
3786-
3787- * You should have received a copy of the GNU General Public License along
3788- * with this program. If not, see <http://www.gnu.org/licenses/>.
3789- *
3790- * Authored by Neil Jagdish Patel <njpatel@gmail.com>
3791- */
3792-
3793-public class AttachmentsItem : TabBarStreamItem
3794-{
3795- private Gtk.Alignment _align;
3796- private Gtk.Box box;
3797-
3798- public AttachmentsItem (Gee.HashMap streams_map)
3799- {
3800- Object (stream:"images", icon_name:"gwibber-stream-attachments", tooltip:_("Attachments"), streams_map:streams_map);
3801- }
3802-
3803- construct
3804- {
3805-
3806- _align = new Gtk.Alignment (0.5f, 0.5f, 1.0f, 1.0f);
3807-
3808- box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 12);
3809- _align.add (box);
3810-
3811- var images_but = new TabWidgets.RadioButton (_("Images"));
3812- images_but.clicked.connect(() => {
3813- if (images_but.active)
3814- {
3815- view.position = 0;
3816- view.model = streams_map["images"];
3817- view.stream = "images";
3818- }
3819- });
3820- box.pack_start (images_but, false, false, 0);
3821-
3822- var links_but = new TabWidgets.RadioButton (_("Links"));
3823- links_but.join_group (images_but);
3824- links_but.clicked.connect(() => {
3825- if (links_but.active)
3826- {
3827- view.position = 0;
3828- view.model = streams_map["links"];
3829- view.stream = "links";
3830- }
3831- });
3832- box.pack_start (links_but, false, false, 0);
3833-
3834- var videos_but = new TabWidgets.RadioButton (_("Videos"));
3835- videos_but.join_group (links_but);
3836- videos_but.clicked.connect(() => {
3837- if (videos_but.active)
3838- {
3839- view.position = 0;
3840- view.model = streams_map["videos"];
3841- view.stream = "videos";
3842- }
3843- });
3844- box.pack_start (videos_but, false, false, 0);
3845-
3846- _align.show_all ();
3847- }
3848-
3849- public override Gtk.Widget? get_toolbar ()
3850- {
3851- return _align;
3852- }
3853-
3854- public override Gtk.Widget? get_view ()
3855- {
3856- return view;
3857- }
3858-}
3859
3860=== removed file 'client/gwibber-client.vala'
3861--- client/gwibber-client.vala 2012-06-15 10:56:26 +0000
3862+++ client/gwibber-client.vala 1970-01-01 00:00:00 +0000
3863@@ -1,453 +0,0 @@
3864-/*
3865- * Copyright (C) 2010 Canonical Ltd.
3866- *
3867- * This program is free software: you can redistribute it and/or modify it
3868- * under the terms of the GNU General Public License version 3, as published
3869- * by the Free Software Foundation.
3870-
3871- * This program is distributed in the hope that it will be useful, but
3872- * WITHOUT ANY WARRANTY; without even the implied warranties of
3873- * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
3874- * PURPOSE. See the GNU General Public License for more details.
3875-
3876- * You should have received a copy of the GNU General Public License along
3877- * with this program. If not, see <http://www.gnu.org/licenses/>.
3878- *
3879- * Authored by Ken VanDine <ken.vandine@canonical.com>
3880- */
3881-
3882-public class Client : Gtk.Window
3883-{
3884- private Gwibber.Streams streams_service;
3885- private Gwibber.Service _service;
3886- private GLib.Settings state_settings;
3887- public Gee.HashMap <string, Dee.Model?> streams_map;
3888- public Gee.HashMap <string, TabBarItem?> items_map;
3889- public TabBar tabbar;
3890- public GwibberGtk.StreamView view;
3891- public Gtk.UIManager manager;
3892- private StatusBar _status_bar;
3893- private int _sort_order = 1;
3894-
3895- public int sort_order {
3896- get { return _sort_order; }
3897- set {
3898- if (value != _sort_order)
3899- {
3900- _sort_order = value;
3901- foreach (var v in items_map.values)
3902- {
3903- var _view = v.get_view () as GwibberGtk.StreamView;
3904- if (_view.sort_order != _sort_order)
3905- _view.sort_order = _sort_order;
3906- }
3907- }
3908- }
3909- }
3910-
3911-
3912- public Client ()
3913- {
3914- Object ();
3915- }
3916-
3917- construct
3918- {
3919- state_settings = new GLib.Settings ("org.gwibber.state");
3920- streams_map = new Gee.HashMap<string?, Dee.Model?> ();
3921- items_map = new Gee.HashMap<string?, TabBarItem?> ();
3922-
3923- configure_event.connect (on_configure_event);
3924- delete_event.connect (() => {
3925- this.hide ();
3926- Idle.add (() => { this.destroy (); return false; });
3927- return true;
3928- });
3929-
3930- set_name(Config.PACKAGE);
3931- set_icon_name("gwibber");
3932- set_title("Gwibber");
3933- set_wmclass("gwibber", "Gwibber");
3934-
3935- set_default_size(400,800);
3936-
3937- // Move to last known location and resize
3938- move(state_settings.get_int("position-x"), state_settings.get_int("position-y"));
3939- resize(state_settings.get_int("width"), state_settings.get_int("height"));
3940-
3941- // Tab Bar
3942- tabbar = new TabBar ();
3943-
3944- var main_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0);
3945-
3946- _status_bar = new StatusBar ();
3947- /* We don't need this yet
3948- _status_bar.add_button (Gtk.Stock.OK, Gtk.ResponseType.OK);
3949- _status_bar.response.connect((r) => {
3950- _status_bar.showing = false;
3951- });
3952- */
3953- main_box.pack_end (_status_bar, false, false, 0);
3954- _status_bar.notify["showing"].connect (()=>
3955- {
3956- debug ("StatusBar showing changed");
3957- });
3958-
3959- _service = new Gwibber.Service ();
3960- _service.loading_started.connect((source) => {
3961- debug ("Loading started");
3962- if (!_status_bar.showing)
3963- {
3964- _status_bar.reset ();
3965- _status_bar.set_message_type (Gtk.MessageType.OTHER);
3966- _status_bar.message = _("Refreshing");
3967- _status_bar.showing = true;
3968- }
3969- });
3970- _service.loading_complete.connect((source) => {
3971- debug ("Loading completed");
3972- if (_status_bar.showing)
3973- _status_bar.showing = false;
3974- });
3975-
3976- main_box.pack_end (tabbar, true, true, 0);
3977- add (main_box);
3978-
3979- streams_service = new Gwibber.Streams ();
3980-
3981- streams_map["home"] = streams_service.stream_filter_model (streams_service.stream_model, "home");
3982-
3983- var home_item = new HomeItem (streams_map);
3984- view = (GwibberGtk.StreamView)home_item.get_view ();
3985-
3986- tabbar.add_item (home_item);
3987- items_map["home"] = home_item;
3988-
3989- streams_map["messages"] = streams_service.stream_filter_model (streams_service.stream_model, "messages");
3990- streams_map["replies"] = streams_service.stream_filter_model (streams_service.stream_model, "replies");
3991- streams_map["private"] = streams_service.stream_filter_model (streams_service.stream_model, "private");
3992- streams_map["images"] = streams_service.stream_filter_model (streams_service.stream_model, "images");
3993- streams_map["videos"] = streams_service.stream_filter_model (streams_service.stream_model, "videos");
3994- streams_map["links"] = streams_service.stream_filter_model (streams_service.stream_model, "links");
3995- streams_map["public"] = streams_service.stream_filter_model (streams_service.stream_model, "public");
3996-
3997- var messages_item = new MessagesItem (streams_map);
3998- tabbar.add_item (messages_item);
3999- items_map["messages"] = messages_item;
4000-
4001- var replies_item = new RepliesItem (streams_map);
4002- tabbar.add_item (replies_item);
4003- items_map["replies"] = replies_item;
4004-
4005- var private_item = new PrivateItem (streams_map);
4006- tabbar.add_item (private_item);
4007- items_map["private"] = private_item;
4008-
4009- var public_item = new PublicItem (streams_map);
4010- tabbar.add_item (public_item);
4011- items_map["public"] = public_item;
4012-
4013- var attach_item = new AttachmentsItem (streams_map);
4014- tabbar.add_item (attach_item);
4015- items_map["attach"] = attach_item;
4016-
4017- var searches_item = new SearchesItem (streams_service);
4018- tabbar.add_item (searches_item as TabBarItem);
4019- items_map["searches"] = searches_item;
4020-
4021- searches_item.raise.connect ((item) => {
4022- searches_item.clicked ();
4023- });
4024-
4025- var users_item = new UsersItem (streams_service);
4026- tabbar.add_item (users_item as TabBarItem);
4027- items_map["users"] = users_item;
4028-
4029- users_item.raise.connect ((item) => {
4030- users_item.clicked ();
4031- });
4032-
4033- view.notify["prepared"].connect (() => {
4034- sort_order = state_settings.get_int("stream-sort-order");
4035- });
4036-
4037- state_settings.changed.connect ((key) => {
4038- if (key == "stream-sort-order") {
4039- if (sort_order != state_settings.get_int("stream-sort-order"))
4040- sort_order = state_settings.get_int("stream-sort-order");
4041- }
4042- });
4043- messages_item.clicked ();
4044-
4045- Idle.add (() => {
4046- var menubar = create_menus ();
4047- main_box.pack_start(menubar, false, true, 0);
4048- return false;
4049- });
4050-
4051- }
4052-
4053- public Gtk.MenuBar create_menus ()
4054- {
4055- /**** Create menus ****/
4056-
4057- Gtk.ActionEntry[] entries = new Gtk.ActionEntry[0];
4058-
4059- Gtk.ActionEntry menu = {"Gwibber", null, _("_Gwibber"), null, null, null};
4060- entries += menu;
4061- menu = {"View", null, _("_View"), null, null, null};
4062- entries += menu;
4063- menu = {"Edit", null, _("_Edit"), null, null, null};
4064- entries += menu;
4065- menu = {"Help", null, _("_Help"), null, null, null};
4066- entries += menu;
4067- menu = {"refresh", Gtk.Stock.REFRESH, _("_Refresh"), "F5", null, on_refresh};
4068- entries += menu;
4069- menu = {"quit", Gtk.Stock.QUIT, _("_Quit"), "<ctrl>Q", null, on_quit};
4070- entries += menu;
4071- menu = {"sort", null, _("_Sort"), null, null, null};
4072- entries += menu;
4073- menu = {"accounts", null, _("_Accounts"), "<ctrl><shift>A", null,on_accounts};
4074- entries += menu;
4075- menu = {"preferences", Gtk.Stock.PREFERENCES, _("_Preferences"), "<ctrl>P", null, on_preferences};
4076- entries += menu;
4077- menu = {"about", Gtk.Stock.ABOUT, _("_About"), null, null, on_about};
4078- entries += menu;
4079-
4080- var sort_entries = new Gtk.RadioActionEntry[0];
4081- Gtk.RadioActionEntry radio = {"ascending", Gtk.Stock.SORT_ASCENDING, _("_Ascending"), null, null, 0};
4082- sort_entries += radio;
4083- radio = {"descending", Gtk.Stock.SORT_DESCENDING, _("_Descending"), null, null, 1};
4084- sort_entries += radio;
4085-
4086- string ui = """
4087- <ui>
4088- <menubar name="MenuBar">
4089- <menu action="Gwibber">
4090- <menuitem action="refresh" />
4091- <separator/>
4092- <menuitem action="quit" />
4093- </menu>
4094-
4095- <menu action="View">
4096- <menu action="sort">
4097- <menuitem action="ascending" />
4098- <menuitem action="descending" />
4099- </menu>
4100- </menu>
4101-
4102- <menu action="Edit">
4103- <menuitem action="accounts" />
4104- <menuitem name="preferences" action="preferences" />
4105- </menu>
4106-
4107- <menu action="Help">
4108- <menuitem action="about" />
4109- </menu>
4110- </menubar>
4111- </ui>
4112- """;
4113-
4114- var main_group = new Gtk.ActionGroup("client");
4115- main_group.add_actions(entries, this);
4116- main_group.add_radio_actions(sort_entries, sort_order, ((a,c) => {
4117- Gtk.RadioAction current = (Gtk.RadioAction) c;
4118- state_settings.set_int("stream-sort-order", current.get_current_value ());
4119- }));
4120-
4121- var manager = new Gtk.UIManager();
4122-
4123- try {
4124- manager.add_ui_from_string(ui, -1);
4125- } catch (Error e) { error("%s", e.message); }
4126-
4127- manager.insert_action_group(main_group, 0);
4128-
4129- var menubar = manager.get_widget("/MenuBar") as Gtk.MenuBar;
4130- add_accel_group(manager.get_accel_group());
4131-
4132- /**** End menu setup ****/
4133-
4134- return menubar;
4135- }
4136-
4137-
4138- static void on_refresh() {
4139- var service = new Gwibber.Service();
4140- service.refresh();
4141- }
4142-
4143- static void on_preferences() {
4144- GLib.Pid pid;
4145- try {
4146- GLib.Process.spawn_async(null, {"gwibber-preferences"}, null,
4147- GLib.SpawnFlags.SEARCH_PATH, null, out pid);
4148- } catch {
4149- }
4150- }
4151-
4152- static void on_accounts() {
4153- GLib.Pid pid;
4154- try {
4155- GLib.Process.spawn_async(null,
4156- {"gnome-control-center", "credentials", "application=gwibber"}, null,
4157- GLib.SpawnFlags.SEARCH_PATH, null, out pid);
4158- } catch {
4159-
4160- }
4161- }
4162-
4163-
4164- static void on_about() {
4165-
4166- string license = _("Gwibber 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.\n\nGwibber 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.\n\nYou should have received a copy of the GNU General Public License along with Gwibber; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-130159 USA");
4167-
4168- string[] authors = {"Ken VanDine <ken@vandine.org>", "Neil Jagdish Patel <njpatel@gmail.com>"};
4169- var about_dialog = new Gtk.AboutDialog ();
4170- about_dialog.set_program_name("Gwibber");
4171- about_dialog.set_logo_icon_name("gwibber");
4172- about_dialog.set_version(Config.VERSION);
4173- about_dialog.set_website("http://www.gwibber.com");
4174- about_dialog.set_license(license);
4175- about_dialog.set_wrap_license(true);
4176- about_dialog.set_authors (authors);
4177- about_dialog.run ();
4178- about_dialog.destroy ();
4179- }
4180-
4181- private void on_quit ()
4182- {
4183- destroy ();
4184- var service = new Gwibber.Service();
4185-
4186- /* Check if the unity lens is running and only shutdown the
4187- * service if it isn't
4188- */
4189- bool has_owner = false;
4190- try {
4191- string name = "com.canonical.Unity.Lens.Gwibber";
4192- DBusConnection bus = Bus.get_sync (BusType.SESSION);
4193- Variant result = bus.call_sync ("org.freedesktop.DBus",
4194- "/org/freedesktop/dbus",
4195- "org.freedesktop.DBus",
4196- "NameHasOwner",
4197- new Variant ("(s)", name),
4198- new VariantType ("(b)"),
4199- DBusCallFlags.NO_AUTO_START,
4200- -1);
4201- result.get ("(b)", out has_owner);
4202- } catch (Error e) {
4203- warning ("Unable to decide if '%s' is running: %s", name, e.message);
4204- }
4205-
4206- if (!has_owner)
4207- {
4208- debug ("Lens isn't running");
4209- service.quit ();
4210- }
4211-
4212- }
4213-
4214- bool on_configure_event (Gdk.EventConfigure event) {
4215- int width, height, x, y;
4216- get_size(out width, out height);
4217- get_position (out x, out y);
4218- state_settings.set_int("width", width);
4219- state_settings.set_int("height", height);
4220- state_settings.set_int("position-x", x);
4221- state_settings.set_int("position-y", y);
4222- return false;
4223- }
4224-}
4225-
4226-public class Main : Gtk.Application
4227-{
4228- static string stream;
4229-
4230- static Client main_window;
4231-
4232- const OptionEntry[] options = {
4233- {"stream", 's', 0, OptionArg.STRING, ref stream, N_("Stream"), N_("STREAM")},
4234- {null}
4235- };
4236-
4237- public Main (string app_id, ApplicationFlags flags)
4238- {
4239- GLib.Object (application_id: app_id, flags: flags);
4240- }
4241-
4242- public void on_activate ()
4243- {
4244- if (get_windows () != null)
4245- main_window.present ();
4246- else
4247- {
4248- main_window = new Client ();
4249-
4250- add_window (main_window);
4251-
4252- Environment.set_application_name (Config.PACKAGE);
4253-
4254- Gtk.IconTheme.get_default ().append_search_path (GLib.Path.build_filename (Config.PKGDATADIR, "ui/icons"));
4255-
4256- main_window.set_application (this);
4257- main_window.show_all ();
4258-
4259- var accounts_service = new Gwibber.Accounts();
4260- var accounts_list = accounts_service.list ();
4261- if (accounts_list.length() == 0)
4262- {
4263- GLib.Pid pid;
4264- try {
4265- GLib.Process.spawn_async(null,
4266- {"gnome-control-center", "credentials", "application=gwibber"}, null,
4267- GLib.SpawnFlags.SEARCH_PATH, null, out pid);
4268- } catch {
4269- }
4270- }
4271- }
4272- }
4273-
4274- public int on_command_line (ApplicationCommandLine command_line)
4275- {
4276- var args = command_line.get_arguments ();
4277- unowned string[] arguments = args;
4278- try {
4279- var context = new OptionContext (_("— Gwibber Client"));
4280- context.set_help_enabled (false);
4281- context.add_main_entries (options, Config.GETTEXT_PACKAGE);
4282- context.parse (ref arguments);
4283- }
4284- catch (OptionError error) {
4285- command_line.set_exit_status (1);
4286- }
4287-
4288- activate ();
4289-
4290- var items_map = main_window.items_map;
4291- if (stream != null)
4292- {
4293- if ((main_window.tabbar is TabBar) && (items_map[stream] is TabBarItem))
4294- main_window.tabbar.on_tab_clicked(items_map[stream]);
4295- }
4296-
4297- command_line.set_exit_status (0);
4298- return command_line.get_exit_status ();
4299- }
4300-}
4301-
4302-public int main (string[] args)
4303-{
4304- Gtk.init (ref args);
4305-
4306- Intl.bindtextdomain(Config.GETTEXT_PACKAGE, Config.LOCALE_DIR);
4307- Intl.bind_textdomain_codeset(Config.GETTEXT_PACKAGE, "UTF-8");
4308- Intl.textdomain(Config.GETTEXT_PACKAGE);
4309-
4310- var app = new Main ("org.gwibber.client", GLib.ApplicationFlags.HANDLES_COMMAND_LINE);
4311-
4312- app.activate.connect (app.on_activate);
4313- app.command_line.connect (app.on_command_line);
4314- int result = app.run (args);
4315- return result;
4316-}
4317
4318=== removed file 'client/gwibber-poster.vala'
4319--- client/gwibber-poster.vala 2012-05-22 03:02:46 +0000
4320+++ client/gwibber-poster.vala 1970-01-01 00:00:00 +0000
4321@@ -1,90 +0,0 @@
4322-/*
4323- * Copyright (C) 2011 Canonical Ltd.
4324- *
4325- * This library is free software; you can redistribute it and/or modify
4326- * it under the terms of the GNU Lesser General Public License
4327- * version 3.0 as published by the Free Software Foundation.
4328- *
4329- * This library is distributed in the hope that it will be useful,
4330- * but WITHOUT ANY WARRANTY; without even the implied warranty of
4331- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4332- * GNU Lesser General Public License version 3.0 for more details.
4333- *
4334- * You should have received a copy of the GNU Lesser General Public
4335- * License along with this library. If not, see
4336- * <http://www.gnu.org/licenses/>.
4337- *
4338- * Authored by Ken VanDine <ken.vandine@canonical.com>
4339- */
4340-
4341-private class Poster : Gtk.Window
4342-{
4343- private StreamEntry? _entry = null;
4344- public GwibberGtk.InputTextView text_view;
4345-
4346- public Poster ()
4347- {
4348- set_decorated (false);
4349- set_skip_taskbar_hint (true);
4350- set_has_resize_grip (false);
4351- set_resizable (false);
4352-
4353- _entry = new StreamEntry ();
4354-
4355- add (_entry);
4356- set_position (Gtk.WindowPosition.CENTER);
4357-
4358- text_view = _entry.text_view;
4359- _entry.set_size_request (400, 100);
4360- _entry.showing = true;
4361- _entry.text_view.grab_focus ();
4362-
4363- show_all ();
4364-
4365- _entry.notify["showing"].connect (()=> {
4366- if (_entry.showing == false)
4367- Idle.add (() => {
4368- destroy ();
4369- return false;
4370- });
4371- });
4372- }
4373-}
4374-
4375-public static void main (string[] args)
4376-{
4377- Gtk.init (ref args);
4378-
4379- string message = null;
4380-
4381- if (args.length > 1)
4382- {
4383- switch (args[1]) {
4384- case "--message":
4385- if (args.length < 3)
4386- {
4387- stdout.printf("Usage: gwibber-poster --message <message>\n\n");
4388- return;
4389- }
4390- message = args[2];
4391- debug ("Message is %s", message);
4392- break;
4393- }
4394- }
4395-
4396- var w = new Poster ();
4397- if (message != null)
4398- {
4399- w.text_view.get_buffer ().set_text(message);
4400- }
4401- w.destroy.connect(() => {
4402- Gtk.main_quit();
4403- });
4404-
4405- w.focus_out_event.connect(() => {
4406- w.destroy();
4407- return false;
4408- });
4409-
4410- Gtk.main ();
4411-}
4412
4413=== removed file 'client/gwibber-preferences.vala'
4414--- client/gwibber-preferences.vala 2012-02-11 06:18:27 +0000
4415+++ client/gwibber-preferences.vala 1970-01-01 00:00:00 +0000
4416@@ -1,122 +0,0 @@
4417-/*
4418- * Copyright (C) 2010 Canonical Ltd.
4419- *
4420- * This program is free software: you can redistribute it and/or modify it
4421- * under the terms of the GNU General Public License version 3, as published
4422- * by the Free Software Foundation.
4423-
4424- * This program is distributed in the hope that it will be useful, but
4425- * WITHOUT ANY WARRANTY; without even the implied warranties of
4426- * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
4427- * PURPOSE. See the GNU General Public License for more details.
4428-
4429- * You should have received a copy of the GNU General Public License along
4430- * with this program. If not, see <http://www.gnu.org/licenses/>.
4431- *
4432- * Authored by Ken VanDine <ken.vandine@canonical.com>
4433- */
4434-
4435-public class GwibberPreferences : GLib.Object
4436-{
4437- public Gtk.Builder builder;
4438-
4439- public GwibberPreferences ()
4440- {
4441- Object ();
4442- }
4443-
4444- construct
4445- {
4446- try {
4447- builder = new Gtk.Builder ();
4448- builder.add_from_file ("/usr/share/gwibber/ui/gwibber-preferences-dialog.ui");
4449- builder.connect_signals (null);
4450- var dialog = builder.get_object ("prefs_dialog") as Gtk.Dialog;
4451- dialog.set_wmclass("gwibber", "Gwibber");
4452- dialog.set_title(_("Broadcast Messaging Preferences"));
4453- dialog.show_all ();
4454- } catch (Error e) {
4455- error ("Could not load UI: %s", e.message);
4456- }
4457-
4458- var image_uploader_container = builder.get_object("image_uploader") as Gtk.Box;
4459- var urlshortener_container = builder.get_object("urlshorter") as Gtk.Box;
4460-
4461- var image_uploader_frame = builder.get_object("frame5") as Gtk.Widget;
4462- image_uploader_frame.hide ();
4463-
4464- var settings = new GLib.Settings ("org.gwibber.preferences");
4465-
4466- var BOOL_SETTINGS = new GLib.List<string> ();
4467- var INT_SETTINGS = new GLib.List<string> ();
4468- var STRING_SETTINGS = new GLib.List<string> ();
4469- STRING_SETTINGS.append("image-uploader");
4470- STRING_SETTINGS.append("urlshorter");
4471- //foreach (string key in STRING_SETTINGS) {
4472- // settings.bind(key, builder.get_object(key), "value", GLib.SettingsBindFlags.DEFAULT);
4473- //}
4474-
4475- var image_uploader = new Gtk.ComboBoxText ();
4476- image_uploader.append("yfrog", "yfrog");
4477- image_uploader.append("imageshack", "ImageShack");
4478- image_uploader_container.add(image_uploader);
4479- settings.bind("image-uploader", image_uploader, "active_id", GLib.SettingsBindFlags.DEFAULT);
4480- image_uploader_container.show_all ();
4481-
4482- image_uploader.changed.connect(() => {
4483- settings.set_string("image-uploader", image_uploader.active_id);
4484- });
4485-
4486- var urlshortener = new Gtk.ComboBoxText ();
4487- urlshortener.append("is.gd", "is.gd");
4488- urlshortener.append("tinyurl.com", "tinyurl.com");
4489- urlshortener.append("ur1.ca", "ur1.ca");
4490- urlshortener.append("cli.gs", "cli.gs");
4491- urlshortener_container.add(urlshortener);
4492- settings.bind("urlshorter", urlshortener, "active_id", GLib.SettingsBindFlags.DEFAULT);
4493- urlshortener_container.show_all ();
4494-
4495- urlshortener.changed.connect(() => {
4496- settings.set_string("urlshorter", urlshortener.active_id);
4497- });
4498-
4499- INT_SETTINGS.append("interval");
4500- foreach (string key in INT_SETTINGS) {
4501- settings.bind(key, builder.get_object(key), "value", GLib.SettingsBindFlags.DEFAULT);
4502- }
4503-
4504- BOOL_SETTINGS.append("no-notifications");
4505- BOOL_SETTINGS.append("notify-mentions-only");
4506- BOOL_SETTINGS.append("show-notifications");
4507- //BOOL_SETTINGS.append("presence-check");
4508- BOOL_SETTINGS.append("show-fullname");
4509- BOOL_SETTINGS.append("reply-append-colon");
4510- BOOL_SETTINGS.append("shorten-urls");
4511- BOOL_SETTINGS.append("autostart");
4512- foreach (string key in BOOL_SETTINGS) {
4513- settings.bind(key, builder.get_object(key), "active", GLib.SettingsBindFlags.DEFAULT);
4514- }
4515- }
4516-
4517- public void on_close_button_clicked() {
4518- Gtk.main_quit();
4519- }
4520-
4521- public void on_prefs_dialog_destroy_event() {
4522- Gtk.main_quit();
4523- }
4524-}
4525-
4526-int main (string[] args) {
4527- Gtk.init (ref args);
4528-
4529- Intl.bindtextdomain(Config.GETTEXT_PACKAGE, Config.LOCALE_DIR);
4530- Intl.bind_textdomain_codeset(Config.GETTEXT_PACKAGE, "UTF-8");
4531- Intl.textdomain(Config.GETTEXT_PACKAGE);
4532-
4533- var p = new GwibberPreferences ();
4534- Gtk.main ();
4535- p = null;
4536-
4537- return 0;
4538-}
4539
4540=== removed file 'client/home-item.vala'
4541--- client/home-item.vala 2012-02-13 19:09:42 +0000
4542+++ client/home-item.vala 1970-01-01 00:00:00 +0000
4543@@ -1,38 +0,0 @@
4544-/*
4545- * Copyright (C) 2011 Canonical Ltd.
4546- *
4547- * This program is free software: you can redistribute it and/or modify it
4548- * under the terms of the GNU General Public License version 3, as published
4549- * by the Free Software Foundation.
4550-
4551- * This program is distributed in the hope that it will be useful, but
4552- * WITHOUT ANY WARRANTY; without even the implied warranties of
4553- * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
4554- * PURPOSE. See the GNU General Public License for more details.
4555-
4556- * You should have received a copy of the GNU General Public License along
4557- * with this program. If not, see <http://www.gnu.org/licenses/>.
4558- *
4559- * Authored by Neil Jagdish Patel <njpatel@gmail.com>
4560- */
4561-public class HomeItem : TabBarStreamItem
4562-{
4563- public HomeItem (Gee.HashMap streams_map)
4564- {
4565- Object (stream:"home", icon_name:"gwibber-stream-home", tooltip:_("Home"), streams_map:streams_map);
4566- }
4567-
4568- construct
4569- {
4570- }
4571-
4572- public override Gtk.Widget? get_toolbar ()
4573- {
4574- return null;
4575- }
4576-
4577- public override Gtk.Widget? get_view ()
4578- {
4579- return view;
4580- }
4581-}
4582
4583=== removed file 'client/messages-item.vala'
4584--- client/messages-item.vala 2012-02-13 19:09:42 +0000
4585+++ client/messages-item.vala 1970-01-01 00:00:00 +0000
4586@@ -1,39 +0,0 @@
4587-/*
4588- * Copyright (C) 2011 Canonical Ltd.
4589- *
4590- * This program is free software: you can redistribute it and/or modify it
4591- * under the terms of the GNU General Public License version 3, as published
4592- * by the Free Software Foundation.
4593-
4594- * This program is distributed in the hope that it will be useful, but
4595- * WITHOUT ANY WARRANTY; without even the implied warranties of
4596- * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
4597- * PURPOSE. See the GNU General Public License for more details.
4598-
4599- * You should have received a copy of the GNU General Public License along
4600- * with this program. If not, see <http://www.gnu.org/licenses/>.
4601- *
4602- * Authored by Neil Jagdish Patel <njpatel@gmail.com>
4603- */
4604-
4605-public class MessagesItem : TabBarStreamItem
4606-{
4607- public MessagesItem (Gee.HashMap streams_map)
4608- {
4609- Object (stream:"messages", icon_name:"gwibber-stream-messages", tooltip:_("Messages"), streams_map:streams_map);
4610- }
4611-
4612- construct
4613- {
4614- }
4615-
4616- public override Gtk.Widget? get_toolbar ()
4617- {
4618- return null;
4619- }
4620-
4621- public override Gtk.Widget? get_view ()
4622- {
4623- return view;
4624- }
4625-}
4626
4627=== removed file 'client/private-item.vala'
4628--- client/private-item.vala 2012-02-13 19:09:42 +0000
4629+++ client/private-item.vala 1970-01-01 00:00:00 +0000
4630@@ -1,39 +0,0 @@
4631-/*
4632- * Copyright (C) 2011 Canonical Ltd.
4633- *
4634- * This program is free software: you can redistribute it and/or modify it
4635- * under the terms of the GNU General Public License version 3, as published
4636- * by the Free Software Foundation.
4637-
4638- * This program is distributed in the hope that it will be useful, but
4639- * WITHOUT ANY WARRANTY; without even the implied warranties of
4640- * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
4641- * PURPOSE. See the GNU General Public License for more details.
4642-
4643- * You should have received a copy of the GNU General Public License along
4644- * with this program. If not, see <http://www.gnu.org/licenses/>.
4645- *
4646- * Authored by Neil Jagdish Patel <njpatel@gmail.com>
4647- */
4648-
4649-public class PrivateItem : TabBarStreamItem
4650-{
4651- public PrivateItem (Gee.HashMap streams_map)
4652- {
4653- Object (stream:"private", icon_name:"gwibber-stream-private", tooltip:_("Private Messages"), streams_map:streams_map);
4654- }
4655-
4656- construct
4657- {
4658- }
4659-
4660- public override Gtk.Widget? get_toolbar ()
4661- {
4662- return null;
4663- }
4664-
4665- public override Gtk.Widget? get_view ()
4666- {
4667- return view;
4668- }
4669-}
4670
4671=== removed file 'client/public-item.vala'
4672--- client/public-item.vala 2012-02-13 19:09:42 +0000
4673+++ client/public-item.vala 1970-01-01 00:00:00 +0000
4674@@ -1,47 +0,0 @@
4675-/*
4676- * Copyright (C) 2011 Canonical Ltd.
4677- *
4678- * This program is free software: you can redistribute it and/or modify it
4679- * under the terms of the GNU General Public License version 3, as published
4680- * by the Free Software Foundation.
4681-
4682- * This program is distributed in the hope that it will be useful, but
4683- * WITHOUT ANY WARRANTY; without even the implied warranties of
4684- * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
4685- * PURPOSE. See the GNU General Public License for more details.
4686-
4687- * You should have received a copy of the GNU General Public License along
4688- * with this program. If not, see <http://www.gnu.org/licenses/>.
4689- *
4690- * Authored by Neil Jagdish Patel <njpatel@gmail.com>
4691- */
4692-
4693-public class PublicItem : TabBarStreamItem
4694-{
4695- public PublicItem (Gee.HashMap streams_map)
4696- {
4697- Object (stream:"public", icon_name:"gwibber-stream-public", tooltip:_("Public"), streams_map:streams_map);
4698- }
4699-
4700- construct
4701- {
4702- set_no_show_all (true);
4703- view.model.row_added.connect (on_row_added);
4704- }
4705-
4706- private void on_row_added ()
4707- {
4708- set_no_show_all (false);
4709- show_all();
4710- }
4711-
4712- public override Gtk.Widget? get_toolbar ()
4713- {
4714- return null;
4715- }
4716-
4717- public override Gtk.Widget? get_view ()
4718- {
4719- return view;
4720- }
4721-}
4722
4723=== removed file 'client/replies-item.vala'
4724--- client/replies-item.vala 2012-02-13 19:09:42 +0000
4725+++ client/replies-item.vala 1970-01-01 00:00:00 +0000
4726@@ -1,39 +0,0 @@
4727-/*
4728- * Copyright (C) 2011 Canonical Ltd.
4729- *
4730- * This program is free software: you can redistribute it and/or modify it
4731- * under the terms of the GNU General Public License version 3, as published
4732- * by the Free Software Foundation.
4733-
4734- * This program is distributed in the hope that it will be useful, but
4735- * WITHOUT ANY WARRANTY; without even the implied warranties of
4736- * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
4737- * PURPOSE. See the GNU General Public License for more details.
4738-
4739- * You should have received a copy of the GNU General Public License along
4740- * with this program. If not, see <http://www.gnu.org/licenses/>.
4741- *
4742- * Authored by Neil Jagdish Patel <njpatel@gmail.com>
4743- */
4744-
4745-public class RepliesItem : TabBarStreamItem
4746-{
4747- public RepliesItem (Gee.HashMap streams_map)
4748- {
4749- Object (stream:"replies", icon_name:"gwibber-stream-replies", tooltip:_("Replies"), streams_map:streams_map);
4750- }
4751-
4752- construct
4753- {
4754- }
4755-
4756- public override Gtk.Widget? get_toolbar ()
4757- {
4758- return null;
4759- }
4760-
4761- public override Gtk.Widget? get_view ()
4762- {
4763- return view;
4764- }
4765-}
4766
4767=== removed file 'client/searches-item.vala'
4768--- client/searches-item.vala 2012-02-14 14:12:21 +0000
4769+++ client/searches-item.vala 1970-01-01 00:00:00 +0000
4770@@ -1,196 +0,0 @@
4771-/*
4772- * Copyright (C) 2011 Canonical Ltd.
4773- *
4774- * This program is free software: you can redistribute it and/or modify it
4775- * under the terms of the GNU General Public License version 3, as published
4776- * by the Free Software Foundation.
4777-
4778- * This program is distributed in the hope that it will be useful, but
4779- * WITHOUT ANY WARRANTY; without even the implied warranties of
4780- * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
4781- * PURPOSE. See the GNU General Public License for more details.
4782-
4783- * You should have received a copy of the GNU General Public License along
4784- * with this program. If not, see <http://www.gnu.org/licenses/>.
4785- *
4786- * Authored by Ken VanDine <ken@vandine.org>
4787- */
4788-
4789-public class SearchesItem : TabBarItem
4790-{
4791- private Gtk.Alignment _align;
4792- private Gtk.Box box;
4793- private Gtk.Box _view;
4794- private GwibberGtk.SearchView _search_view;
4795- private GwibberGtk.StreamView _stream_view;
4796- public Gwibber.Streams streams { get; construct; }
4797- private Gtk.Label _title;
4798- private ulong active_hander_id;
4799- private Gtk.Entry _entry;
4800- private Gwibber.Searches _searches;
4801-
4802- public SearchesItem (Gwibber.Streams streams)
4803- {
4804- Object (stream:"search", icon_name:"gwibber-stream-search", tooltip:_("Searches"), streams:streams);
4805- }
4806-
4807- construct
4808- {
4809- // View
4810- _view = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 0);
4811- _view.set_homogeneous (true);
4812- _view.set_no_show_all (true);
4813- _view.show ();
4814-
4815- _search_view = new GwibberGtk.SearchView ();
4816- _search_view.show_all ();
4817-
4818- _stream_view = new GwibberGtk.StreamView ();
4819- _stream_view.set_no_show_all (true);
4820- _stream_view.notify["prepared"].connect (() => {
4821- _stream_view.set_no_show_all (false);
4822- _stream_view.show_all ();
4823- });
4824-
4825- _stream_view.send.connect ((mid, account, sender, action) => {
4826- entry.text_view.mid = mid;
4827- if (action == "private" || stream == "private")
4828- {
4829- entry.text_view.action = "private";
4830- entry.private.show ();
4831- }
4832- else
4833- entry.text_view.action = "reply";
4834- entry.target_bar.selected = account;
4835- entry.showing = true;
4836- if (entry.text_view.action != "private")
4837- entry.text_view.buffer.text = sender + " ";
4838- entry.text_view.grab_focus ();
4839- });
4840-
4841- _searches = new Gwibber.Searches ();
4842-
4843- _view.pack_start (_search_view, true, true, 0);
4844- _view.pack_start (_stream_view, true, true, 0);
4845-
4846-
4847- // Toolbar
4848- _align = new Gtk.Alignment (0.5f, 0.5f, 1.0f, 1.0f);
4849-
4850- box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 12);
4851- _align.add (box);
4852-
4853- _entry = new Gtk.Entry ();
4854- _entry.set_icon_from_stock (Gtk.EntryIconPosition.SECONDARY, "gtk-clear");
4855-
4856- _entry.icon_press.connect ((pos, event) => {
4857- if (pos == Gtk.EntryIconPosition.SECONDARY)
4858- _entry.set_text ("");
4859- });
4860-
4861- _entry.key_press_event.connect ((t, e)=>
4862- {
4863- if (e.keyval == 65307) // Escape
4864- {
4865- _entry.set_text ("");
4866- return true;
4867- }
4868- return false;
4869- });
4870-
4871- Gdk.Color fg_color;
4872- Gdk.Color.parse ("black", out fg_color);
4873-
4874- _entry.modify_fg (Gtk.StateType.NORMAL, fg_color);
4875-
4876- _entry.activate.connect (() =>
4877- {
4878- string query = _entry.get_text ();
4879- if (!(query.has_prefix ("#")))
4880- query = "#" + query;
4881- _entry.set_text ("");
4882- _searches.create (query, query);
4883- });
4884-
4885- _entry.show_all ();
4886- box.pack_start (_entry, false, false, 0);
4887- _entry.size_allocate.connect_after (()=> { queue_draw (); });
4888-
4889- _title = new Gtk.Label ("");
4890- box.pack_start (_title, false, false, 4);
4891-
4892- _searches.updated.connect((id) => {
4893- var search_map = _searches.lookup (id);
4894- var name = search_map["name"];
4895- _stream_view.hide ();
4896- var filtered_model = streams.transient_filter_model (streams.transient_model, id);
4897- _stream_view.model = filtered_model;
4898- _stream_view.stream = stream;
4899- _search_view.hide ();
4900- _title.set_markup("<b>" + name + "</b>");
4901- _title.show ();
4902- raise (this);
4903- _stream_view.show_all ();
4904- _stream_view.showing = true;
4905- });
4906-
4907- _search_view.show_transient.connect((id, name) => {
4908- _stream_view.hide ();
4909- var filtered_model = streams.transient_filter_model (streams.transient_model, id);
4910- _stream_view.model = filtered_model;
4911- _stream_view.stream = stream;
4912- _search_view.hide ();
4913- _title.set_markup("<b>" + name + "</b>");
4914- _title.show ();
4915- raise (this);
4916- _stream_view.show_all ();
4917- _stream_view.showing = true;
4918- });
4919-
4920-
4921- var but = new TabWidgets.Button (_("Saved Searches"));
4922- but.clicked.connect(() => {
4923- _stream_view.hide ();
4924- _search_view.show_all ();
4925- _title.hide ();
4926- });
4927- box.pack_end (but, false, false, 0);
4928-
4929- active_hander_id = notify["active"].connect(() => {
4930- if (active)
4931- {
4932- _search_view.showing = true;
4933- if (active_hander_id > 0)
4934- disconnect (active_hander_id);
4935- }
4936- });
4937-
4938- _stream_view.notify["showing"].connect (() => {
4939- if (_stream_view.showing)
4940- _search_view.hide ();
4941- });
4942-
4943- _search_view.notify["showing"].connect (() => {
4944- if (_search_view.showing)
4945- _stream_view.hide ();
4946- });
4947-
4948-
4949- _align.show_all ();
4950- }
4951-
4952- [Signal (action=true)]
4953- public virtual signal void raise (TabBarItem item)
4954- {
4955- }
4956-
4957- public override Gtk.Widget? get_toolbar ()
4958- {
4959- return _align;
4960- }
4961-
4962- public override Gtk.Widget? get_view ()
4963- {
4964- return _view;
4965- }
4966-}
4967
4968=== removed file 'client/status-bar.vala'
4969--- client/status-bar.vala 2012-02-15 17:13:23 +0000
4970+++ client/status-bar.vala 1970-01-01 00:00:00 +0000
4971@@ -1,93 +0,0 @@
4972-/*
4973- * Copyright (C) 2011 Canonical Ltd.
4974- *
4975- * This program is free software: you can redistribute it and/or modify it
4976- * under the terms of the GNU General Public License version 3, as published
4977- * by the Free Software Foundation.
4978- *
4979- * This program is distributed in the hope that it will be useful, but
4980- * WITHOUT ANY WARRANTY; without even the implied warranties of
4981- * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
4982- * PURPOSE. See the GNU General Public License for more details.
4983- *
4984- * You should have received a copy of the GNU General Public License along
4985- * with this program. If not, see <http://www.gnu.org/licenses/>.
4986- *
4987- * Authored by Ken VanDine <ken@vandine.org>
4988- */
4989-
4990-public class StatusBar : Gtk.InfoBar
4991-{
4992- private string _message;
4993- private Gtk.Label _message_label;
4994- private Gtk.Container _content_area;
4995-
4996- private Gwibber.Service _service;
4997-
4998- private bool _showing = false;
4999-
5000- public bool showing {
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches