1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 06:45:25 +00:00
Commit Graph

4427 Commits

Author SHA1 Message Date
François Revol
7099ae0466 Disable -nolinks for lynx-generated text FAQ
This way lynx also emits URLs for references at the bottom,
like elinks does.

The formating is a little different though (word wrapping),
and elinks adds a "Visible links" line as well.
2014-07-22 19:57:48 +02:00
Alexander Færøy
5ddf127f6d Merge pull request #100 from ailin-nemui/24bit-uninitialised
fix uninitialised copy on 24bit colours
2014-07-20 19:37:37 +02:00
Ailin Nemui
8e062b7bd0 fix uninitialised copy on 24bit colours 2014-07-18 13:56:02 +02:00
Geert Hauwaerts
6e68b83723 Syntax rewrite for R-commands
Rewrote the syntax documentation for all commands starting with the
letter R.
2014-07-15 19:52:56 +02:00
Geert Hauwaerts
dde8540e3e Removed the obsolete RPING command
The RPING command is obsolete.
2014-07-14 20:38:01 +02:00
Geert Hauwaerts
a5154c4e77 Fixing a typo
Fixing a typo.
2014-07-14 13:19:31 +02:00
Alexander Færøy
58b42997ff Merge pull request #96 from dgl/news-update
Update NEWS
2014-07-13 21:27:10 +02:00
Alexander Færøy
cb1d3580fe irssi-version.h should only be a phony target if build in maintainer mode 2014-07-13 21:24:36 +02:00
David Leadbeater
16743c5c13 Update NEWS 2014-07-13 20:01:08 +01:00
Geert Hauwaerts
fcee49a441 Fixed an example of QUOTE
Fixed an example of QUOTE
2014-07-13 14:10:40 +02:00
Geert Hauwaerts
d023d7d839 Merge pull request #94 from dajohi/uninitialized
Avoid using uninitalized values.
2014-07-12 22:41:28 +02:00
David Hill
6e45d68399 Avoid using uninitalized values. 2014-07-12 16:35:42 -04:00
Geert Hauwaerts
9fd1e2f5da Syntax documentation rewrite for Q-commands
Rewrote the syntax documentation for all commands starting with the
letter Q.
2014-07-12 18:46:44 +02:00
Geert Hauwaerts
ee80ed16cb Aligned the help for DEOP, DEVOICE and OP
Aligned the help for DEOP, DEVOICE and OP
2014-07-11 16:32:20 +02:00
Geert Hauwaerts
d460ba48d1 Syntax documentation rewrite of O and P commands
Rewrote the syntax documentation of the commands starting with the
letters O and P.
2014-07-10 20:43:52 +02:00
Geert Hauwaerts
938598e271 Removed the obsolete NOTE command
I removed the binding for the NOTE command that doesn't exist anymore on
any major network.
2014-07-09 18:33:10 +02:00
Geert Hauwaerts
8014fd2cb0 Syntax documentation rewrite for N-commands.
Rewrote the syntax documentation for all commands starting with the
letter N.
2014-07-09 18:21:39 +02:00
Alexander Færøy
c8dd54c2f6 Merge pull request #90 from ailin-nemui/italics-exception
more strict rules for italic emphasis to avoid file name clashes
2014-07-08 21:10:01 +02:00
Geert Hauwaerts
7ee7bf79ed Syntax documentation rewrite for M-commands
Rewrote the syntax documentation for all commands starting with the
letter M.
2014-07-08 21:02:35 +02:00
Ailin Nemui
a5a7fdbe5f more strict rules for italic emphasis to avoid file name clashes
this additional check avoids /root/.hiddendir from italicising /root/,
because that is often used in path names
2014-07-08 13:42:06 +02:00
Geert Hauwaerts
05979c8d9f Merge pull request #88 from dgl/banner
Only show the banner when not connecting to servers
2014-07-08 12:00:45 +02:00
David Leadbeater
7fe47826ea Suggest /HELP rather than HELP
At this point cmdchars is definitely / and the user might not know they
need to add / to a command.
2014-07-08 09:24:12 +01:00
David Leadbeater
4e2299f1b7 Change to printtext for first time message too 2014-07-08 09:23:55 +01:00
David Leadbeater
47d66d214f Only show banner if not connecting to servers
It's tricky to make the banner show first in all cases and it's unlikely
to be seen if someone is connecting to a server already, so just don't
show it.
2014-07-08 01:38:08 +01:00
Alexander Færøy
31da4e8623 Merge pull request #86 from dgl/configure-hints
Add some more helpful hints about packages to install to configure outpu...
2014-07-07 23:51:26 +02:00
David Leadbeater
663bd7ee23 Add some more helpful hints about packages to install to configure output 2014-07-07 22:41:38 +01:00
Alexander Færøy
a9ff985a91 Merge pull request #15 from ailin-nemui/hilights-network-tag
FS#155 hilight -tag
2014-07-07 22:49:29 +02:00
Ailin Nemui
d3093418d4 cleanup hilight -network patch 2014-07-07 22:45:29 +02:00
Alexander Færøy
b2c3db4d5b Fix Clang warnings
This patch fixes a few warnings emitted by clang by removing the
initialization of the list by itself.
2014-07-07 22:26:04 +02:00
Alexander Færøy
09a1801186 Merge pull request #58 from ailin-nemui/italics
Implement italics support for Irssi
2014-07-07 22:16:23 +02:00
Geert Hauwaerts
5e8947a8b0 Syntax documentation rewrite for L-commands
Rewrote the syntax documentation for all commands starting with L.
2014-07-07 19:47:51 +02:00
Alexander Færøy
99b629ab20 Merge pull request #29 from sebth/master
Properly split long IRC messages
2014-07-07 18:27:57 +02:00
Geert Hauwaerts
10e4ad9c9b Restored the J and added a P alias
I restored the J alias and added a new P alias; both aliases are there for convenience after community requests.
2014-07-07 11:18:32 +02:00
Manuel Leiner
669add63e8 FS#155 hilight -tag 2014-07-07 00:42:50 +02:00
Lukas Mai
225d149968 optionally render /foo/ as italics 2014-07-07 00:32:07 +02:00
Lukas Mai
0e294d5c2e add italics support; don't use standout for reverse 2014-07-07 00:32:07 +02:00
Geert Hauwaerts
fc00b9e6f0 Added the missing -! and -noautosendcmd options
The SERVER ADD completion was missing the -! and -noautosendcmd options.
2014-07-06 23:58:13 +02:00
Geert Hauwaerts
2ff5f5b7e5 Fixed a compiler warning for statusbar_redraw
Fixed a compiler warning for statusbar_redraw.
2014-07-06 23:27:55 +02:00
Sebastian Thorarensen
3257794bf7 Add information about message splitting to NEWS
(...and AUTHORS.)
2014-07-06 23:25:54 +02:00
Sebastian Thorarensen
1c73bde239 Fix minor coding style issues in message splitting 2014-07-06 23:24:10 +02:00
Sebastian Thorarensen
695a6a7d9b Allow `server.split_message' being NULL
Now a module can set `server.split_message = NULL' to disable message
splitting, instead of having to implement the function.
2014-07-06 23:24:10 +02:00
Sebastian Thorarensen
28a3dbe164 Replace an indent of eight spaces with a tab 2014-07-06 23:24:10 +02:00
Sebastian Thorarensen
ff08b3b022 Replace a `goto out' with explicit freeing 2014-07-06 23:24:10 +02:00
Sebastian Thorarensen
7bfe3a8fa1 Introduce a MAX_USERHOST_LEN constant for IRC 2014-07-06 23:24:10 +02:00
Sebastian Thorarensen
29a49c4688 Move the definition of the `split_line' settings 2014-07-06 23:24:10 +02:00
Sebastian Thorarensen
bb7bafc93c Split long IRC `ACTION' messages
Add line splitting logic to commands `/me' and `/action'.
2014-07-06 23:24:10 +02:00
Sebastian Thorarensen
90f3dd612e Fix the userhostlen' fallback in split_message'
ferret, the author of `splitlong-safe.pl' pointed out that `userhostlen'
should not only contain the maximum length of the hostname, but also the
maximum length of the username. Now 10 is used as the maximum username
length as a fallback. (`splitlong-safe.pl' uses the same limit.)

The username limit isn't defined in the standard, but 10 is common on
many networks. The odds that something goes wrong here is low, as
 1) the fallback limit is only used when the user has not yet joined a
    channel
 2) the maximum hostname length (63) gives some error margin as the
    hostname usually is shorter
2014-07-06 23:24:09 +02:00
Sebastian Thorarensen
281c6d437d Avoid unnecessary splitting of lines
`split_line_end' could force lines to be unnecessarily split. This
commit fixes the problem by making sure that the last line isn't shorter
than `split_line_end'.
2014-07-06 23:24:09 +02:00
Sebastian Thorarensen
5c05c854dc Add configurable split line prefixes and suffixes
Add settings `split_line_start' and `split_line_end' analogous to
`splitlong_line_start' and `splitlong_line_end' in `splitlong.pl'. The
prefixes and suffixes are concatenated with a wrapper function to keep
`recode_split' and `strsplit_len' simple.
2014-07-06 23:24:09 +02:00
Sebastian Thorarensen
e6147fb8f2 Properly split long IRC messages
This commit adds handling of long IRC messages to the core. In contrast
to the `splitlong.pl' plugin, multi-byte encoded and recoded messages
are properly split.

To allow for this, a new function has been added to the server struct:
`split_message'. `split_message' returns a string array with the message
splitted to substrings of a length that the server can handle. If a
protocol module doesn't have any limit, it can simply return a singleton
array with a copy of the message.

The `MSG' chat command now calls `split_message' before `send_message',
and emits `message own_public' / `message own_private' with each
substring, so that the string splitting will be visible in the UI.

`split_message' in the IRC module uses `recode_split' which in turn uses
iconv to properly split multi-byte encoded (and recoded) messages.
2014-07-06 23:24:09 +02:00