Showing with 80,978 additions and 79,311 deletions.
  1. +7 −1 .gitignore
  2. +29 −9 .travis.yml
  3. +1 −2 Makefile.am
  4. +15 −10 autogen.sh
  5. +286 −392 configure.ac
  6. +3 −0 data/Makefile.am
  7. +2 −0 data/icons/Makefile.am
  8. +43 −725 data/icons/hexchat-shadowless.svg
  9. BIN data/icons/hexchat.ico
  10. BIN data/icons/hexchat.png
  11. +38 −726 data/icons/hexchat.svg
  12. BIN data/icons/tray_fileoffer.png
  13. BIN data/icons/tray_highlight.png
  14. BIN data/icons/tray_message.png
  15. +2 −0 data/misc/Makefile.am
  16. +124 −0 m4/ax_check_enable_debug.m4
  17. +69 −0 m4/ax_is_release.m4
  18. +8 −0 m4/clang-analyze.am
  19. +5 −20 osx/hexchat.bundle
  20. +0 −4 osx/launcher.sh
  21. +1 −16 osx/makebundle.sh
  22. +0 −38 plugins/Make.plugin
  23. +3 −3 plugins/checksum/Makefile.am
  24. +123 −151 plugins/checksum/checksum.c
  25. +9 −57 plugins/checksum/checksum.vcxproj
  26. +3 −3 plugins/doat/Makefile.am
  27. +8 −10 plugins/doat/doat.c
  28. +13 −57 plugins/doat/doat.vcxproj
  29. +7 −55 plugins/exec/exec.vcxproj
  30. +5 −5 plugins/fishlim/Makefile.am
  31. +21 −23 plugins/fishlim/fish.c
  32. +2 −1 plugins/fishlim/fish.h
  33. +9 −59 plugins/fishlim/fishlim.vcxproj
  34. +0 −6 plugins/fishlim/fishlim.vcxproj.filters
  35. +11 −43 plugins/fishlim/irc.c
  36. +2 −3 plugins/fishlim/irc.h
  37. +54 −42 plugins/fishlim/keystore.c
  38. +4 −5 plugins/fishlim/keystore.h
  39. +0 −54 plugins/fishlim/misc.c
  40. +0 −36 plugins/fishlim/misc.h
  41. +70 −73 plugins/fishlim/plugin_hexchat.c
  42. +2 −1 plugins/fishlim/plugin_hexchat.h
  43. +0 −94 plugins/fishlim/test.c
  44. +47 −58 plugins/mpcinfo/functions.c
  45. +35 −67 plugins/mpcinfo/mp3Info.c
  46. +19 −8 plugins/mpcinfo/mpcInfo.c
  47. +13 −57 plugins/mpcinfo/mpcinfo.vcxproj
  48. +12 −8 plugins/mpcinfo/oggInfo.c
  49. +26 −18 plugins/mpcinfo/theme.c
  50. +7 −6 plugins/perl/Makefile.am
  51. +47 −85 plugins/perl/perl.c
  52. +18 −66 plugins/perl/perl.vcxproj
  53. +0 −19 plugins/plugin-conf.in
  54. +4 −5 plugins/python/Makefile.am
  55. +87 −137 plugins/python/python.c
  56. +11 −59 plugins/python/python2.vcxproj
  57. +11 −59 plugins/python/python3.vcxproj
  58. +14 −4 plugins/sysinfo/Makefile.am
  59. +90 −0 plugins/sysinfo/format.c
  60. +7 −11 plugins/sysinfo/{xsys.h → format.h}
  61. +0 −63 plugins/sysinfo/hwmon.c
  62. +0 −240 plugins/sysinfo/match.c
  63. +263 −0 plugins/sysinfo/osx/backend.m
  64. +0 −461 plugins/sysinfo/parse.c
  65. +0 −156 plugins/sysinfo/pci.c
  66. +53 −0 plugins/sysinfo/shared/df.c
  67. +5 −7 src/common/identd.h → plugins/sysinfo/shared/df.h
  68. +33 −0 plugins/sysinfo/sysinfo-backend.h
  69. +277 −0 plugins/sysinfo/sysinfo.c
  70. +0 −416 plugins/sysinfo/sysinfo.cpp
  71. +8 −7 plugins/sysinfo/{hwmon.h → sysinfo.h}
  72. +23 −61 plugins/sysinfo/sysinfo.vcxproj
  73. +21 −1 plugins/sysinfo/sysinfo.vcxproj.filters
  74. +170 −0 plugins/sysinfo/unix/backend.c
  75. +98 −0 plugins/sysinfo/unix/match.c
  76. +0 −6 plugins/sysinfo/{ → unix}/match.h
  77. +315 −0 plugins/sysinfo/unix/parse.c
  78. +2 −7 plugins/sysinfo/{ → unix}/parse.h
  79. +169 −0 plugins/sysinfo/unix/pci.c
  80. 0 plugins/sysinfo/{ → unix}/pci.h
  81. +117 −0 plugins/sysinfo/win32/backend.c
  82. +0 −116 plugins/sysinfo/xsys-changelog
  83. +0 −15 plugins/sysinfo/xsys-install
  84. +0 −38 plugins/sysinfo/xsys-makefile
  85. +0 −105 plugins/sysinfo/xsys-readme
  86. +0 −923 plugins/sysinfo/xsys.c
  87. +13 −223 plugins/upd/upd.c
  88. +13 −61 plugins/upd/upd.vcxproj
  89. +90 −125 plugins/winamp/winamp.c
  90. +14 −60 plugins/winamp/winamp.vcxproj
  91. +4 −0 po/POTFILES.in
  92. +1,353 −1,221 po/af.po
  93. +1,353 −1,221 po/am.po
  94. +1,360 −1,228 po/ast.po
  95. +1,356 −1,224 po/az.po
  96. +1,361 −1,229 po/be.po
  97. +1,360 −1,228 po/bg.po
  98. +1,435 −1,302 po/ca.po
  99. +1,374 −1,241 po/cs.po
  100. +1,428 −1,294 po/da.po
  101. +1,585 −1,451 po/de.po
  102. +1,409 −1,274 po/el.po
  103. +1,374 −1,242 po/en_GB.po
  104. +1,369 −1,235 po/es.po
  105. +1,381 −1,248 po/et.po
  106. +1,367 −1,234 po/eu.po
  107. +1,592 −1,458 po/fi.po
  108. +1,520 −1,385 po/fr.po
  109. +1,434 −1,301 po/gl.po
  110. +1,359 −1,227 po/gu.po
  111. +1,359 −1,227 po/hi.po
  112. +1,365 −1,232 po/hu.po
  113. +1,419 −1,286 po/id.po
  114. +1,365 −1,232 po/it.po
  115. +1,633 −1,496 po/ja_JP.po
  116. +1,360 −1,228 po/kn.po
  117. +1,366 −1,234 po/ko.po
  118. +1,925 −1,791 po/lt.po
  119. +1,359 −1,227 po/lv.po
  120. +1,360 −1,228 po/mk.po
  121. +1,356 −1,224 po/ms.po
  122. +1,548 −1,412 po/nb.po
  123. +1,359 −1,227 po/nl.po
  124. +1,358 −1,226 po/pa.po
  125. +1,516 −1,383 po/pl.po
  126. +1,511 −1,379 po/pt.po
  127. +2,639 −2,505 po/pt_BR.po
  128. +1,421 −1,288 po/ru.po
  129. +1,353 −1,221 po/rw.po
  130. +1,359 −1,227 po/sk.po
  131. +1,359 −1,227 po/sl.po
  132. +1,453 −1,321 po/sq.po
  133. +1,376 −1,244 po/sr.po
  134. +1,361 −1,229 po/sr@latin.po
  135. +1,750 −1,614 po/sv.po
  136. +1,361 −1,229 po/th.po
  137. +1,360 −1,228 po/uk.po
  138. +1,360 −1,228 po/vi.po
  139. +1,353 −1,221 po/wa.po
  140. +1,402 −1,268 po/zh_CN.po
  141. +1,359 −1,227 po/zh_TW.po
  142. +1 −1 readme.md
  143. +20 −15 src/common/Makefile.am
  144. +56 −60 src/common/cfgfiles.c
  145. +3 −3 src/common/cfgfiles.h
  146. +9 −9 src/common/chanopt.c
  147. +23 −71 src/common/common.vcxproj
  148. +25 −19 src/common/common.vcxproj.filters
  149. +4 −4 src/common/ctcp.c
  150. +1 −1 src/common/dbus/Makefile.am
  151. +5 −3 src/common/dbus/dbus-client.c
  152. +5 −2 src/common/dbus/dbus-plugin.c
  153. +1 −1 src/common/dbus/example.c
  154. +340 −258 src/common/dcc.c
  155. +8 −19 src/common/dcc.h
  156. +2 −4 src/common/fe.h
  157. +20 −4 src/common/hexchat-plugin.h
  158. +71 −122 src/common/hexchat.c
  159. +18 −74 src/common/hexchat.h
  160. +0 −1 src/common/hexchatc.h
  161. +9 −9 src/common/history.c
  162. +0 −201 src/common/identd.c
  163. +18 −25 src/common/ignore.c
  164. +185 −188 src/common/inbound.c
  165. +3 −2 src/common/inbound.h
  166. +1 −5 src/common/inet.h
  167. +3 −1 src/common/make-te.c
  168. +7 −58 src/common/make-te.vcxproj
  169. +31 −36 src/common/modes.c
  170. +0 −470 src/common/msproxy.c
  171. +0 −262 src/common/msproxy.h
  172. +8 −205 src/common/network.c
  173. +0 −11 src/common/network.h
  174. +68 −77 src/common/notify.c
  175. +212 −289 src/common/outbound.c
  176. +1 −1 src/common/outbound.h
  177. +241 −0 src/common/plugin-identd.c
  178. +28 −0 src/common/plugin-identd.h
  179. +21 −17 src/common/plugin-timer.c
  180. +95 −105 src/common/plugin.c
  181. +2 −1 src/common/plugin.h
  182. +36 −28 src/common/proto-irc.c
  183. +197 −353 src/common/server.c
  184. +2 −3 src/common/server.h
  185. +144 −304 src/common/servlist.c
  186. +0 −1 src/common/servlist.h
  187. +231 −28 src/common/ssl.c
  188. +3 −3 src/common/ssl.h
  189. +13 −0 src/common/sysinfo/sysinfo.h
  190. +478 −0 src/common/sysinfo/win32/backend.c
  191. +349 −471 src/common/text.c
  192. +11 −7 src/common/text.h
  193. +6 −0 src/common/textevents.in
  194. +3 −4 src/common/tree.c
  195. +2 −0 src/common/tree.h
  196. +14 −24 src/common/url.c
  197. +1 −1 src/common/url.h
  198. +37 −73 src/common/userlist.c
  199. +2 −0 src/common/userlist.h
  200. +84 −834 src/common/util.c
  201. +4 −8 src/common/util.h
  202. +81 −103 src/dirent/dirent-win32.h
  203. +38 −10 src/fe-gtk/Makefile.am
  204. +17 −22 src/fe-gtk/banlist.c
  205. +0 −1 src/fe-gtk/banlist.h
  206. +7 −7 src/fe-gtk/chanlist.c
  207. +4 −3 src/fe-gtk/chanview-tabs.c
  208. +9 −10 src/fe-gtk/chanview.c
  209. +4 −7 src/fe-gtk/custom-list.c
  210. +4 −4 src/fe-gtk/custom-list.h
  211. +24 −25 src/fe-gtk/dccgui.c
  212. +1 −1 src/fe-gtk/editlist.c
  213. +105 −72 src/fe-gtk/fe-gtk.c
  214. +13 −32 src/fe-gtk/fe-gtk.h
  215. +22 −64 src/fe-gtk/fe-gtk.vcxproj
  216. +12 −3 src/fe-gtk/fe-gtk.vcxproj.filters
  217. +100 −68 src/fe-gtk/fkeys.c
  218. +53 −23 src/fe-gtk/gtkutil.c
  219. +0 −8 src/fe-gtk/gtkutil.h
  220. +0 −22 src/fe-gtk/hexchat.exe.manifest
  221. +3 −2 src/fe-gtk/hexchat.rc.tt
  222. +1 −1 src/fe-gtk/ignoregui.c
  223. +5 −7 src/fe-gtk/joind.c
  224. +78 −91 src/fe-gtk/maingui.c
  225. +54 −57 src/fe-gtk/menu.c
  226. +27 −0 src/fe-gtk/notifications/notification-backend.h
  227. +39 −0 src/fe-gtk/notifications/notification-dummy.c
  228. +72 −0 src/fe-gtk/notifications/notification-libnotify.c
  229. +54 −0 src/fe-gtk/notifications/notification-osx.m
  230. +87 −0 src/fe-gtk/notifications/notification-windows.c
  231. +100 −0 src/fe-gtk/notifications/notification-winrt.cpp
  232. +62 −0 src/fe-gtk/notifications/notifications-winrt.vcxproj
  233. +22 −0 src/fe-gtk/notifications/notifications-winrt.vcxproj.filters
  234. +5 −5 src/fe-gtk/notifygui.c
  235. +25 −31 src/fe-gtk/palette.c
  236. +4 −2 src/fe-gtk/pixmaps.c
  237. +215 −0 src/fe-gtk/plugin-notification.c
  238. +25 −0 src/fe-gtk/plugin-notification.h
  239. +13 −115 src/fe-gtk/plugin-tray.c
  240. +18 −33 src/fe-gtk/plugingui.c
  241. +3 −3 src/fe-gtk/rawlog.c
  242. +26 −28 src/fe-gtk/servlistgui.c
  243. +114 −30 src/fe-gtk/setup.c
  244. +1 −1 src/fe-gtk/setup.h
  245. +2 −6 src/fe-gtk/sexy-iso-codes.c
  246. +45 −24 src/fe-gtk/sexy-spell-entry.c
  247. +16 −20 src/fe-gtk/textgui.c
  248. +79 −37 src/fe-gtk/userlistgui.c
  249. +1 −1 src/fe-gtk/userlistgui.h
  250. +169 −129 src/fe-gtk/xtext.c
  251. +3 −3 src/fe-gtk/xtext.h
  252. +1 −1 src/fe-text/Makefile.am
  253. +15 −26 src/fe-text/fe-text.c
  254. +11 −51 src/fe-text/fe-text.vcxproj
  255. +1 −1 src/htm/Properties/Resources.Designer.cs
  256. +2 −2 src/htm/Properties/Settings.Designer.cs
  257. +3 −3 src/htm/app.config
  258. +9 −15 src/htm/htm.csproj
  259. +2 −0 src/libenchant_win8/libenchant_win8.def
  260. +47 −0 src/libenchant_win8/libenchant_win8.vcxproj
  261. +22 −0 src/libenchant_win8/libenchant_win8.vcxproj.filters
  262. +293 −0 src/libenchant_win8/win8_provider.cpp
  263. +0 −4 config-win32.h.tt → win32/config.h.tt
  264. +58 −70 win32/copy/copy.vcxproj
  265. +0 −49 win32/copy/copy.vcxproj.filters
  266. +0 −69 win32/copy/etc/gtk-2.0/gtkrc
  267. +0 −13 win32/ext/nss-wdk/build-x64.bat
  268. +0 −13 win32/ext/nss-wdk/build-x86.bat
  269. +0 −257 win32/ext/nss-wdk/nss-wdk.patch
  270. +34 −0 win32/hexchat.exe.manifest
  271. +40 −71 win32/hexchat.props
  272. +36 −14 win32/hexchat.sln
  273. +54 −33 win32/installer/hexchat.iss.tt
  274. +8 −39 win32/installer/installer.vcxproj
  275. +7 −63 win32/nls/nls.vcxproj
  276. 0 { → win32}/version-template.ps1
  277. +1 −1 win32/version.txt
  278. +0 −68 win32/wdkpt/vs2010/Microsoft.Cpp.Win32.WDK7.props
  279. +0 −20 win32/wdkpt/vs2010/Microsoft.Cpp.Win32.WDK7.targets
  280. +0 −68 win32/wdkpt/vs2010/Microsoft.Cpp.x64.WDK7.props
  281. +0 −20 win32/wdkpt/vs2010/Microsoft.Cpp.x64.WDK7.targets
  282. +0 −137 win32/wdkpt/vs2010/wdkpt.aip
  283. +0 −52 win32/wdkpt/vs2012/Microsoft.Cpp.Win32.WDK7.props
  284. +0 −20 win32/wdkpt/vs2012/Microsoft.Cpp.Win32.WDK7.targets
  285. +0 −52 win32/wdkpt/vs2012/Microsoft.Cpp.x64.WDK7.props
  286. +0 −20 win32/wdkpt/vs2012/Microsoft.Cpp.x64.WDK7.targets
  287. +0 −138 win32/wdkpt/vs2012/wdkpt.aip
8 changes: 7 additions & 1 deletion .gitignore
Expand Up @@ -2,11 +2,13 @@
# Unix generated files
.deps/
.libs/
.dirstamp
Makefile
Makefile.in
aclocal.m4
autom4te.cache/
compile
ar-lib
confdefs.h
conftest
conftest.c
Expand Down Expand Up @@ -52,6 +54,8 @@ src/common/textenums.h
src/common/textevents.h
src/fe-gtk/hexchat
src/fe-gtk/hexchat.rc
src/fe-gtk/resources.c
src/fe-gtk/resources.h
src/fe-text/hexchat-text
src/htm/Main.resources
src/htm/thememan.exe
Expand All @@ -68,10 +72,11 @@ stamp-h1
*.po~
*.pot
*.patch
tags
src/**/*.plist
# Win32 generated files
plugins/wmpa/wmpa_h.h
plugins/wmpa/wmpa_i.c
src/fe-gtk/resources.c
src/htm/obj/*
win32/ipch/*
win32/ext/perl/perl-x86-cache
Expand All @@ -84,6 +89,7 @@ resource.h
*.sdf
*.suo
*.user
*.exe
#OSX
osx/HexChat.app
osx/.HexChat.app
Expand Down
38 changes: 29 additions & 9 deletions .travis.yml
@@ -1,14 +1,34 @@
sudo: false
language: c
compiler: gcc
before_script:
- sudo apt-get build-dep -qq xchat
- sudo apt-get install -qq libnotify-dev libproxy-dev libpci-dev libcanberra-dev monodevelop gnome-common
script:
- ./autogen.sh
- ./configure --enable-textfe --with-theme-manager
- make V=1
cache: apt
compiler: clang
script:
- ./autogen.sh --enable-textfe --with-theme-manager --enable-static-analysis
- make V=1 -j$(nproc)
notifications:
irc:
channels: "chat.freenode.net#hexchat-devel"
template: "Build #%{build_number} (%{commit}) by %{author}: %{message}"
template: "Build %{build_url} (%{commit} in %{branch}) by %{author}: %{message}"
on_success: change
matrix:
fast_finish: true
addons:
apt:
packages:
- automake
- autoconf-archive
- imagemagick
- intltool
- libcanberra-dev
- libdbus-glib-1-dev
- libglib2.0-dev
- libgtk2.0-dev
- libnotify-dev
- libpci-dev
- libperl-dev
- libproxy-dev
- libssl-dev
- libtool
- monodevelop
- mono-devel
- python-dev
3 changes: 1 addition & 2 deletions Makefile.am
Expand Up @@ -4,5 +4,4 @@ ACLOCAL_AMFLAGS = -I m4

SUBDIRS = po src plugins data

EXTRA_DIST = autogen.sh data

EXTRA_DIST = autogen.sh Doxyfile readme.md
25 changes: 15 additions & 10 deletions autogen.sh
Expand Up @@ -4,19 +4,24 @@
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.

NOCONFIGURE=1
PKG_NAME="hexchat"

(test -f $srcdir/src/common/hexchat.c) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level $PKG_NAME directory"
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the top-level directory"
exit 1
}

which gnome-autogen.sh || {
echo "You need to install gnome-common"
exit 1
}
aclocal --install -I m4 || exit 1
glib-gettextize --force --copy || exit 1
intltoolize --force --copy --automake || exit 1
autoreconf --force --install -Wno-portability || exit 1

if [ "$NOCONFIGURE" = "" ]; then
$srcdir/configure "$@" || exit 1

. gnome-autogen.sh
if [ "$1" = "--help" ]; then exit 0 else
echo "Now type \`make\' to compile" || exit 1
fi
else
echo "Skipping configure process."
fi

set +x