View previous topic :: View next topic |
Author |
Message |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3844
|
Posted: Mon May 12, 2014 7:47 am Post subject: TinTin++ 2.01.1 (Beta) |
|
|
http://tintin.sf.net/download/tintin-beta.tar.gz
Code: |
class.c Added #class {<class>} list {<list>} option.
map.c Added #map list {roomflag} option.
list.c Fixed bug with using #list clear on a nested variable.
substitute.c Added patch by Nya to properly handle colored substitutions.
math.c Added // operator to calculate sqrt // 2 or cbrt // 3
math.c Added ** operator to calculate power
tinexp.c Added IGNORE options to variables and functions.
main.c The command history is automatically saved again.
ssl.c Added SSL support based on KBTin code by Adam Borowski.
tinex.c $ @ and & are now escaped when received as part of an action for
added security.
session.c Added SESSION CREATED event.
parse.c Fixed command echoing when executing commands in another session.
|
|
|
Back to top |
|
 |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3844
|
Posted: Sun May 25, 2014 7:28 pm Post subject: |
|
|
Code: |
highlight.c Added no-blink no-underscore and no-reverse #highlight options.
highlight.c Added option to use escape codes in the #highlight color field.
|
|
|
Back to top |
|
 |
Biologic
Joined: 06 Dec 2007 Posts: 15
|
Posted: Thu Jul 17, 2014 10:38 am Post subject: |
|
|
Fails to compile on CentOS 7. Also had to install gnutls-devel.
Code: | gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c ssl.c
ssl.c: In function ‘ssl_negotiate’:
ssl.c:73:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
gnutls_transport_set_ptr(ssl_ses, (gnutls_transport_ptr_t) ses->socket);
^
---- Linking...
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -o tt++ action.o alias.o files.o help.o highlight.o strhash.o input.o log.o main.o misc.o net.o parse.o path.o update.o history.o tab.o vt102.o terminal.o session.o function.o text.o substitute.o tick.o telopt.o math.o split.o debug.o tinexp.o mapper.o tables.o buffer.o prompt.o class.o event.o utils.o chat.o macro.o config.o gag.o variable.o list.o forkpty.o cursor.o memory.o system.o line.o tokenize.o data.o nest.o advertise.o ssl.o -lgnutls -lpcre -lutil -lnsl -lpthread -lz
math.o: In function `mathexp_compute':
math.c:(.text+0x1bff): undefined reference to `pow'
math.c:(.text+0x1cde): undefined reference to `cbrt'
math.c:(.text+0x1d30): undefined reference to `sqrt'
collect2: error: ld returned 1 exit status
make: *** [tt++] Error 1 |
|
|
Back to top |
|
 |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3844
|
Posted: Fri Jul 18, 2014 6:27 am Post subject: |
|
|
Think I got it so gnutls is optional, and fixed ./configure so it adds to math library.
Updated the beta. Hope it compiles smoothly now. |
|
Back to top |
|
 |
beldrew
Joined: 30 Sep 2014 Posts: 1
|
Posted: Tue Sep 30, 2014 2:57 pm Post subject: |
|
|
FYI built this today (cygwin) and still had to have gnutls-devel |
|
Back to top |
|
 |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3844
|
Posted: Wed Oct 01, 2014 7:35 am Post subject: |
|
|
Thanks, should be fixed for real now.  |
|
Back to top |
|
 |
avidal
Joined: 04 Feb 2014 Posts: 7
|
|
Back to top |
|
 |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3844
|
Posted: Tue Oct 07, 2014 7:16 am Post subject: |
|
|
Code: |
chat.c Added CHAT MESSAGE event, %0 contains the chat color and prefix,
%1 omits chat color and prefix.
chat.c Added #chat prefix option.
mapper.c Can now provide multiple flags at once when using
#map roomflag and #map insert.
line.c Added #line quiet option.
cursor.c Fixed tab bug with multi-word tabs.
event.c Fixed bug with events defined in multiple sessions.
tinexp.c Added @<session name>{<substitution>} option to perform a
function-like substitution in another session and retreive
the result. Primarily useful for getting variables.
|
http://tintin.sf.net/download/tintin-beta.tar.gz
As always, perform a clean compile to avoid weird behavior. Message and Debug behavior should be more consistent in this beta version. |
|
Back to top |
|
 |
blkno1
Joined: 03 Dec 2007 Posts: 117
|
Posted: Thu Oct 30, 2014 5:54 am Post subject: compile issue |
|
|
Trying to compile the latest BETA
Code: |
[jim@prime] src $ make
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c action.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c alias.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c files.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c help.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c highlight.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c strhash.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c input.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c log.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c main.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c misc.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c net.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c parse.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c path.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c update.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c history.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c tab.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c vt102.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c terminal.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c session.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c function.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c text.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c substitute.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c tick.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c telopt.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c math.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c split.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c debug.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c tinexp.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c mapper.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c tables.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c buffer.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c prompt.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c class.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c event.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c utils.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c chat.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c macro.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c config.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c gag.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c variable.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c list.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c forkpty.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c cursor.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c memory.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c system.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c line.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c tokenize.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c data.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c nest.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c advertise.c
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -c ssl.c
ssl.c: In function ‘ssl_negotiate’:
ssl.c:89:3: warning: implicit declaration of function ‘gnutls_session_get_desc’ [-Wimplicit-function-declaration]
ssl.c:89:17: warning: initialization makes pointer from integer without a cast [enabled by default]
---- Linking...
gcc -Wall -D_GNU_SOURCE -DHAVE_CONFIG_H -o tt++ action.o alias.o files.o help.o highlight.o strhash.o input.o log.o main.o misc.o net.o parse.o path.o update.o history.o tab.o vt102.o terminal.o session.o function.o text.o substitute.o tick.o telopt.o math.o split.o debug.o tinexp.o mapper.o tables.o buffer.o prompt.o class.o event.o utils.o chat.o macro.o config.o gag.o variable.o list.o forkpty.o cursor.o memory.o system.o line.o tokenize.o data.o nest.o advertise.o ssl.o -lm -lgnutls -lpcre -lutil -lnsl -lpthread -lz
ssl.o: In function `ssl_negotiate':
ssl.c:(.text+0x1de): undefined reference to `gnutls_session_get_desc'
collect2: ld returned 1 exit status
make: *** [tt++] Error 1
|
|
|
Back to top |
|
 |
moire
Joined: 29 Jan 2012 Posts: 27
|
Posted: Thu Oct 30, 2014 7:47 am Post subject: |
|
|
gnutls_get_session_desc is only availabe in gnutls version 3.1.10 or better. |
|
Back to top |
|
 |
Scandum Site Admin
Joined: 03 Dec 2004 Posts: 3844
|
Posted: Thu Oct 30, 2014 5:27 pm Post subject: |
|
|
Wasn't really necessary so I've commented out the session_desc call in the beta. |
|
Back to top |
|
 |
blkno1
Joined: 03 Dec 2007 Posts: 117
|
Posted: Thu Oct 30, 2014 6:40 pm Post subject: |
|
|
Successfully compiled.  |
|
Back to top |
|
 |
|