Commit Graph

41 Commits

Author SHA1 Message Date
SoniEx2 af0aa7904a Fix lua scripts with low-priority Close Context 2018-11-01 21:43:18 -03:00
SoniEx2 eaad08d462 [Lua] Intern and invalidate contexts as needed. 2018-10-15 19:16:08 -03: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 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 1a75c8e1be A lot more rebranding 2012-10-24 21:33:02 +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 95aace51cc More solution fixes and add language interfaces 2012-06-10 12:49:17 +02:00
Berke Viktor 13ee029364 some more multiplatform support 2011-12-11 18:04:35 +01:00
berkeviktor@aol.com d03d6e606b add wdk changes to named branch 2011-02-28 18:59:32 +01:00
berkeviktor@aol.com f16af8be94 nuke the repo 2011-02-24 04:13:14 +01:00
berkeviktor@aol.com f9b9d4ee2f fancier lua version string 2010-08-12 16:08:03 +02:00
berkeviktor@aol.com 25603820c1 add support for xchat-lua, but don't build by default 2010-08-12 02:56:10 +02:00