1
0
mirror of https://github.com/irssi/irssi.git synced 2024-07-14 03:04:17 -04:00
Commit Graph

5471 Commits

Author SHA1 Message Date
ailin-nemui
4e71a1f485 sideways split support for Irssi
warning:

* may be buggy

This commit adds support for sideways splits into Irssi. To that regard,
there are a number of new commands available

the "R" commands:
	/window new rsplit - make a new sideways split
	/window rshow - show an existing window to the right
	/window rgrow/rshrink/rsize/rbalance
	 - manipulate the size of your sideways split windows

the "D" commands:
	/window dup/ddown/dleft/dright
	 - navigate the windows directionally, as an alternative to
	   /window up/down that you can bind to some key
	/window move dleft/dright - the same for moving

Enjoy!
2018-01-06 00:26:48 +01:00
ailin-nemui
451019d05d make format_real_length left-collecting 2018-01-06 00:26:48 +01:00
Nei
e405330e04 Merge branch 'uaf-modify' into 'master'
Prevent a UAF error during the execution of some commands

See merge request irssi/irssi!24
2018-01-03 10:35:58 +00:00
ailin-nemui
48e909dde7
Merge pull request #766 from horgh/horgh/mode-parsing
Fix MODE parameter parsing
2017-12-11 23:48:23 +01:00
ailin-nemui
ba6681de84
Merge pull request #793 from ailin-nemui/tests
Add tests for mode parsing
2017-12-08 12:03:13 +01:00
ailin-nemui
58557d18c4 add separator in travis.yml 2017-12-07 12:08:20 +01:00
ailin-nemui
8b34871ea6 make travis pass despite failures 2017-12-07 12:07:37 +01:00
ailin-nemui
eb9e2ed6fd Update test-irc.c
Fix wrong array (missing an s)
2017-12-07 12:07:37 +01:00
ailin-nemui
d6458304d7 mess with travis 2017-12-07 12:07:37 +01:00
ailin-nemui
d932e6e4b7 add test case for format_real_length 2017-12-07 12:06:20 +01:00
ailin-nemui
43d06369bf move fixtures to outer scope 2017-12-07 12:06:20 +01:00
ailin-nemui
c20eddeb38 add glib testing TAP utilities 2017-12-07 12:06:20 +01:00
Will Storey
1328e1ba08 Add a test program to test mode parsing
This uses GLib's testing framework. It is to test the changes to the
mode parsing for #603.
2017-12-07 12:06:20 +01:00
Will Storey
b0637ad6ea Update NULL comparison style and be C89 compatible 2017-12-02 10:09:52 -08:00
ailin-nemui
02aa8ee8bb
Merge pull request #795 from ailin-nemui/no-mixed-decl
check for declaration-after-statement on travis
2017-11-30 14:33:51 +01:00
ailin-nemui
117f666258
Merge pull request #784 from LemonBoy/clangfmt
Turn the style guide into a clang-format file
2017-11-30 11:41:19 +01:00
ailin-nemui
2b918fd9b8 move decls before code 2017-11-30 11:17:05 +01:00
ailin-nemui
b332d448f7 fix comments 2017-11-30 11:15:47 +01:00
ailin-nemui
b2ca8c0477 check for declaration-after-statement on travis 2017-11-30 11:06:37 +01:00
Will Storey
1a49787ef2 Revert initializing pointers to NULL
To maintain C89 compatibility
2017-11-27 19:37:11 -08:00
ailin-nemui
5637a8df43
Merge pull request #790 from ailin-nemui/mirc-colour
reset colour at comma, like mIRC
2017-11-26 15:18:43 +01:00
ailin-nemui
3792bc9ba9
Merge pull request #762 from ailin-nemui/global-history
allow access to global command history when using a specifc history
2017-11-26 00:28:58 +01:00
ailin-nemui
47400d405a
Update formats.c
remove now useless check for ,
2017-11-20 14:17:15 +01:00
ailin-nemui
ba3c5801a4
Update .clang-format
do not indent case deeper
2017-11-16 13:50:48 +01:00
ailin-nemui
3acc72f842 reset colour at comma, like mIRC
Fixes #742 and #740
2017-11-15 16:35:25 +01:00
ailin-nemui
4e8c1548e0
Merge pull request #786 from ailin-nemui/show-inital-nick
show initial nick and name on first start
2017-11-15 16:28:22 +01:00
ailin-nemui
933fac7e9d
Merge pull request #788 from LemonBoy/fix-787
Keep a copy of the strings coming from the config
2017-11-14 08:50:06 +01:00
LemonBoy
7605f67f95 Prevent a UAF error during the execution of some commands
Some arguments were free'd first and then printed, leading to gibberish
being output to screen or a crash.

Found by Joseph Bisch.
Closes: !GL17
2017-11-11 12:37:51 +01:00
LemonBoy
596fa6b51e Take into account Nei's suggestions 2017-11-11 09:14:41 +01:00
ailin-nemui
02c677f467 use enum 2017-11-10 22:02:36 +01:00
LemonBoy
66b2c9bc91 Keep a copy of the strings coming from the config
The "HILIGHT_REC" structure used to keep a pointer to the "servertag"
string, owned by the "CONFIG_NODE", causing a double-free.
2017-11-03 16:37:04 +01:00
LemonBoy
5601336798 Turn the style guide into a clang-format file 2017-11-02 09:29:33 +01:00
ailin-nemui
4d6822b1c4 up abi 2017-11-01 15:52:45 +01:00
ailin-nemui
b0fa4dd46d show initial nick and name on first start 2017-11-01 15:51:20 +01:00
ailin-nemui
7e619ed990
Update README.md 2017-10-30 16:54:32 +01:00
ailin-nemui
ac642806b9 Merge pull request #781 from ailin-nemui/syncdocs
remove lynx from autogen and make a separate syncdocs script
2017-10-26 16:35:57 +02:00
ailin-nemui
96c7f68b35 clean up file path after move 2017-10-26 16:15:25 +02:00
ailin-nemui
8c0e0c81ee run syncscripts.sh 2017-10-25 16:23:14 +02:00
ailin-nemui
ca3498d42d move some files into subdirs 2017-10-25 16:22:57 +02:00
Will Storey
8843d4f77d Strip : from <trailing> parameters
This is to fix #601. The function used to extract the mode string
assumed that ":" would only occur in a particular spot. This lead to the
possibility that ":" could be treated as part of things like nicknames
or mode arguments, where it should have been stripped as part of
protocol escaping.
2017-10-24 19:51:01 -07:00
ailin-nemui
9a3c0bce48 add a script to sync scripts as well 2017-10-24 22:22:39 +02:00
ailin-nemui
245bd5579c remove lynx from autogen and make a separate syncdocs script 2017-10-24 22:12:34 +02:00
ailin-nemui
87550541e7 fix key length checker to actually do some work 2017-10-24 22:04:13 +02:00
ailin-nemui
cfa51c5ae2 Merge pull request #770 from horgh/horgh/rm-unused-function
Remove a couple unused functions
2017-10-23 14:29:34 +02:00
ailin-nemui
816df6d153 Merge tag '1.0.5' into integrate/1.0.5 2017-10-22 15:39:18 +02:00
ailin-nemui
d17d71f547 Merge branch 'master' into HEAD 2017-10-22 15:32:27 +02:00
ailin-nemui
54aceeca08 Merge pull request #777 from horgh/horgh/readme-typo
Fix a typo in the readme
2017-10-22 10:59:50 +02:00
Will Storey
956bc592a9 Fix a typo in the readme
Also uppercase Irssi in a couple places, and escape an argument not
shown due to looking like an HTML tag
2017-10-21 22:00:11 -07:00
Nei
0557a2cb7c Merge branch 'security' into 'master'
Security

Closes GL#12, GL#13, GL#14, GL#15, GL#16

See merge request irssi/irssi!23
2017-10-20 13:31:26 +00:00
Nei
495bdd11cf Merge branch 'fix-16' into 'security'
Prevent a OOB read when parsing IRCNet ! channels

See merge request irssi/irssi!22
2017-10-20 13:23:28 +00:00