Commit Graph

66 Commits

Author SHA1 Message Date
Patrick Griffis
7a275812c0 Revert word array length change
It turns out that the rfc sets a limit of 15 arguments and the
server (irccloud) sending that many in ISUPPORT was updated to
split it into multiple lines.
2020-09-21 11:22:50 -07:00
Patrick Griffis
453cb7ca79 Increase max number of words a line can be split into
This may have unintended side-effects but 32 is a very low value
and I was seeing real world bugs being caused by this. Specifically
an ISUPPORT line with more features than this could store.
2020-09-17 15:50:28 -07:00
Patrick Griffis
628100c19f build: Replace Autotools with Meson
Quick rundown of benefits:

- Much faster:
  - Autotools (with autogen): 22 seconds
  - Meson: 7 seconds
  - Meson (with ccache): 2 seconds

- Simpler:
  - ~1000 lines smaller
  - Single simple language

- Potentially better Windows (Visual Studio) support

What is not done:

- Complete Windows support
- OSX support (easy)

Closes #2013
Closes #1937
Closes #1803
2017-06-13 23:54:51 -04:00
culb
fc2fe7fd28 lua: Prevent loading a script if it's already loaded
Closes #1959
2017-04-28 07:55:14 -04:00
culb
5d72755027 lua: Prevent from loading if it's already loaded
Closes #1958
2017-04-28 07:50:43 -04:00
Patrick Griffis
19187dbacd lua: Fix handling -1 value in pluginpref 2016-08-05 21:15:26 -04:00
mniip
9ca1606e2a lua: Force 'return' when = is present 2016-07-14 17:04:58 +03:00
mniip
9c049271e7 lua: Add automatic return and = handling in console. 2016-07-14 01:43:26 +03:00
Patrick Griffis
823ef320a5 lua: Use luaL_checkinteger 2016-04-27 14:55:04 -04:00
Patrick Griffis
529ae4cc89 lua: Fix explicit braces warning 2016-04-07 19:02:38 -04:00
Patrick Griffis
d11b7f258c lua: Minor formating cleanup 2016-04-07 18:27:40 -07:00
Patrick Griffis
0694cb9045 lua: More consistency with Python plugin 2016-04-07 18:27:39 -07:00
mniip
f501e948ae lua: Some more refactoring. Fix unload hook in the interpreter. 2016-04-07 18:27:30 -07:00
Patrick Griffis
ba6a1190cd lua: More missing statics 2016-04-07 18:27:30 -07:00
Patrick Griffis
4abcd53044 lua: Make better use of GLib
- Use GPtrArray everywhere
- Remove unessary NULL checks
- Make use of g_clear macros
- Use g_str_has_suffix
2016-04-07 18:27:29 -07:00
mniip
2fe52bbf58 lua: Bump version and update copyright year. 2016-04-07 18:27:21 -07:00
mniip
5998696c2a lua: Use glib allocators 2016-04-07 18:27:13 -07:00
mniip
bc9a59d264 lua: Replace some pushnumbers with pushintegers 2016-04-07 18:27:07 -07:00
mniip
5699bf9e65 lua: Error if luaL_newstate returns NULL 2016-04-07 18:26:58 -07:00
Patrick Griffis
fb7f27fcdd lua: Build on win32 2016-04-03 12:02:04 -07:00
Patrick Griffis
2e2b895ebe lua: Don't used mixed declarations
This requires a lot more cleanup
2016-04-03 11:04:48 -04:00
Patrick Griffis
2e478f1b5a Import lua plugin
Written by @mniip
2016-04-03 10:30:01 -04:00
Berke Viktor
b70062d6d2 Nuke Lua and Tcl 2013-04-01 04:51:34 +02:00
Dan Mashal
b04377825f fix incorrect FSF address 2012-12-23 11:36:54 -08:00
Berke Viktor
db218817fd Use configdir instead of *xchatdir* 2012-11-04 23:55:36 +01:00
Berke Viktor
4ec499c241 Eliminate warnings due to missing includes 2012-11-04 04:22:22 +01:00
Arnavion
5d9264aff6 Initial commit for utf8 everywhere. 2012-11-03 19:04:02 -07:00
Berke Viktor
82936df2af Some final rebranding 2012-10-30 10:42:37 +01:00
Berke Viktor
29f7a9180c Rebrand get_info(xchatdir) but remain compatible for Perl and Python 2012-10-30 09:59:58 +01:00
Berke Viktor
8d6f4d9d40 Some remaining fixes 2012-10-30 08:58:50 +01:00
Berke Viktor
e681eafa78 Rebranding for the rest of plugin* 2012-10-30 08:42:48 +01:00
Berke Viktor
45d4fa5801 Rebranding for XCHAT_EAT_* 2012-10-30 07:40:37 +01:00
Berke Viktor
4b7c7c2bb1 Rebranding for XCHAT_FD_* 2012-10-30 07:25:40 +01:00
Berke Viktor
91dd079add Rebranding for XCHAT_PRI_* 2012-10-30 07:18:25 +01:00
Berke Viktor
fc98a6d79d Remove hexchat-plugin.h duplicate 2012-10-30 04:07:33 +01:00
Berke Viktor
1a75c8e1be A lot more rebranding 2012-10-24 21:33:02 +02:00
Berke Viktor
ddbce0b9fe Move warning level to property sheet 2012-10-21 05:57:00 +02:00
Berke Viktor
06226c0799 Update win32 dirent.h implementation and use header instead of static library 2012-10-18 18:24:20 +02:00
Berke Viktor
da46225034 Revert to VS2010 part4 2012-10-03 13:50:31 +02:00
Berke Viktor
1d7773f735 Use explicit project names, output filenames depend on them 2012-10-02 18:40:23 +02:00
Berke Viktor
de70630cef Oops, wrong find'n'replace 2012-10-02 18:21:16 +02:00
Berke Viktor
567270d5a7 Remove hardcoding as much as possible 2012-10-02 18:15:49 +02:00
Berke Viktor
ab2d0b736c Change platform toolset to Visual Studio 2012 2012-10-02 16:05:20 +02:00
Berke Viktor
a57a7d3f88 Add XP (WDK) solution as a fallback option 2012-10-02 16:00:13 +02:00
Berke Viktor
ec301a5a54 Auto-load user plugins and scripts from <config>/addons
On Unix leave $(libdir)/hexchat/plugins for plugin packagers, on Windows
prevent users from modifying Program Files by ignoring everything except
bundled plugins
2012-07-26 20:53:59 +02:00
Berke Viktor
2b3e1f46e3 Use <configdir>/scripts to (auto)load Lua/Perl/Python/Tcl scripts 2012-07-21 19:16:31 +02:00
Berke Viktor
0e3fbb01d7 Add _AMD64_ definition for x64 builds, make Visual Studio even happier 2012-07-21 14:59:25 +02:00
Berke Viktor
2ae76fcacf Add trailing backslashes to Output and Intermediate directories, make Visual Studio happy 2012-07-21 14:46:29 +02:00
xhmikosr
1fae4ef09f get rid of *.user files and ignore them 2012-07-14 06:03:42 +03:00
Berke Viktor
ea2c58c234 Rename files, delete old windows makefiles 2012-07-13 17:55:31 +02:00