Commit Graph

463 Commits

Author SHA1 Message Date
vysheng
8b78b6ffef Fixed merge structures.c 2014-03-07 02:43:15 +04:00
Thomas Wentzel
4c0071cfb9 Got into a situation where telegram would crash upon startup, since fetch_encrypted_message_file would end up being called with a message_media of type CODE_decrypted_message_media_document. 2014-03-06 22:31:05 +01:00
Thomas Wentzel
49f1321f77 Change type in message_action and message_media from int to unsigned. 2014-03-06 22:31:05 +01:00
vysheng
6c2392053f Merge pull request #137 from koter84/feature-gitignore
re-added jetbrains .idea/ and netbeans nbproject/ to gitignore
2014-03-05 16:41:23 +03:00
Dennis Koot
e21a719500 re-added jetbrains .idea/ and netbeans nbproject/ to gitignore 2014-03-05 14:21:01 +01:00
vysheng
02c818f1d2 Update interface.c 2014-03-05 16:18:53 +03:00
vysheng
a3fdd2b733 Merge pull request #136 from rmsrepliedtomeonce/patch-1
Remove biased shell signs
2014-03-05 16:09:57 +03:00
rmsrepliedtomeonce
c7fad3b453 Remove biased shell signs
Not everybody uses bash, you know. Especially the people on *BSD, which you still listed as '$'
2014-03-05 14:50:49 +02:00
vysheng
90d357fe67 Update README.md 2014-03-05 00:58:47 +03:00
vysheng
64b04d212f delted text about Makefile 2014-03-05 01:54:45 +04:00
vysheng
1f5050318b Merge branch 'openbsd-initial' of https://github.com/czarkoff/tg
Conflicts:
	.gitignore
	README.md
2014-03-05 01:54:24 +04:00
vysheng
1ee6eb6a57 Merge pull request #125 from koter84/feature-gitignore
ignore build-files in .gitignore so git is clean after building
2014-03-05 00:46:18 +03:00
vysheng
f83a9fe588 Merge pull request #126 from koter84/feature-options-list
better list of options for -h
2014-03-05 00:45:33 +03:00
vysheng
12e14e25e8 Merge pull request #124 from vcuculo/sound_notification
Added support to sound notifications
2014-03-05 00:21:25 +03:00
vysheng
ac6079a00a Merge pull request #135 from kartikm/master
Whitespace cleanups
2014-03-04 22:34:27 +03:00
Kartik Mistry
1cc2ffe19c Whitespace cleanups 2014-03-04 17:17:09 +05:30
Dennis Koot
81e48abaa9 netbeans ignore 2014-02-27 11:14:35 +01:00
Dennis Koot
69dd10617c extra ignores 2014-02-27 11:13:48 +01:00
Dennis Koot
50059df3ed better list of options for -h 2014-02-27 10:17:07 +01:00
Dennis Koot
6c0c120943 added .idea for jetbrains 2014-02-27 09:55:53 +01:00
Dennis Koot
7562cf6700 ignore files created by compiling telegram 2014-02-27 09:51:55 +01:00
vcuculo
69c2f61865 added support to sound notifications 2014-02-27 09:48:05 +01:00
Dmitrij D. Czarkoff
c373008400 Clean up and merge Linux and BSD instructions
* Now BSDs don't require setting environment for configure.
 * No default Makefile any more.
2014-02-27 01:09:56 +01:00
Dmitrij D. Czarkoff
5dc4a61322 Add /usr/local/include and /usr/local/lib to CPPFLAGS and LDFLAGS
This allows to avoid extra options for BSDs and strangle Linux systems, where
some libraries may be installed under "/usr/local" prefix.
2014-02-27 01:06:44 +01:00
Dmitrij D. Czarkoff
f3fb958ce4 LUA_INCLUDE belongs to CPPFLAGS, not CFLAGS 2014-02-27 00:52:30 +01:00
Dmitrij D. Czarkoff
b64159aff7 When using libedit also search for curses 2014-02-27 00:46:44 +01:00
Dmitrij D. Czarkoff
1ab7185fdc Added "-Wno-deprecated-declarations" to COMPILE_FLAGS 2014-02-26 10:15:35 +01:00
vysheng
75194f4552 Update loop.c 2014-02-25 23:31:27 +03:00
vysheng
5f40cc4e4e Merge pull request #121 from vDorst/create_group_chat
Added command create_group_chat <user> <chat topic>.
2014-02-25 23:28:41 +03:00
René van Dorst
f0436e61ca Added command create_group_chat <user> <chat topic>.
Currently it supports only 1 user on creation.
Use chat_add_user to add more users to the chat.
2014-02-25 21:13:14 +01:00
Dmitrij D. Czarkoff
6a44fe7dea On OpenBSD telegram should be linked with '-lcurses' 2014-02-25 16:57:35 +01:00
Dmitrij D. Czarkoff
0783d30362 Update ax_lua.m4
Updated ax_lua.m4 to current version from GNU Autoconf Archive's git
repository with additional patch to support OpenBSD.[1] Regenerated
``configure'' script. DOcumented changes.

---
[1] https://savannah.gnu.org/patch/index.php?8355
2014-02-25 16:45:50 +01:00
Dmitrij D. Czarkoff
f50ae8a80f Added support for OpenBSD 2014-02-25 16:42:37 +01:00
Dmitrij D. Czarkoff
eff4555d52 Don't tracked Makefile and config.h
Both files are generated by ``configure'' script. Given that they:

  1. may change after running ``configure'' and
  2. are setup-dependent

there's no need to track them anyway.
2014-02-25 16:42:17 +01:00
Dmitrij D. Czarkoff
dc251f2b36 Stop tracking generated files
* files, generated as side-effect of running ``configure'' script,
* files, generated by ``configure'' script (Makefile, config.h),
* ``telegram'' binary.

All these files are setup-dependent and differ between targets.
2014-02-25 16:33:29 +01:00
Dmitrij D. Czarkoff
99da1e7f1b Removed "-Wno-deprecated" from COMPILE_FLAGS
This feature is new to GCC 4.4, while OpenBSD uses 4.2.1
2014-02-25 16:29:25 +01:00
vysheng
a5b6f93a66 Fixed 'call' method from jerbob92 2014-02-24 15:27:30 +04:00
Jeroen Bobbeldijk
f6fe5765d2 Fully working phone call support, might need some tweaks and checks 2014-02-24 07:59:20 +01:00
vysheng
98d638b7b5 Merge pull request #100 from aigjermo/master
catch NULL input in interpreter_chat_mode
2014-02-23 12:17:48 +03:00
Anders Iver Gjermo
1f134e445c catch NULL input in interpreter_chat_mode 2014-02-23 02:06:57 +01:00
vysheng
eed4f1235a Update interface.c 2014-02-21 14:23:37 +03:00
vysheng
b97769b25e Merge pull request #82 from kartikm/gitignore
Added .gitignore file
2014-02-20 11:21:32 +03:00
Kartik Mistry
eb051f0e93 Added .gitignore file 2014-02-20 13:23:23 +05:30
vysheng
3277d0af57 Merge pull request #80 from lwhsu/freebsd-lua
Update FreeBSD build instruction for linking with lua
2014-02-18 21:39:46 +03:00
vysheng
133131eeb8 Update interface.c 2014-02-18 21:06:00 +03:00
Li-Wen Hsu
3ee8837d93 Update FreeBSD build instruction for linking with lua 2014-02-18 22:59:18 +08:00
vysheng
2b4fefe911 Merge pull request #76 from falkartis/patch-2
Update interface.c to avoid error messages
2014-02-13 13:09:21 +03:00
Falk
d19c4c1294 Update interface.c to avoid error messages
When hitting enter (without writing anything) in an chat prompt always appears an error message telling you that the message is empty.
Checking the content of the line can avoid this.
I don't know is this behaviour is wrong or right.
So please forgive me if it doesn’t make sense.
2014-02-13 00:52:25 +01:00
vysheng
4adfddd589 Merge pull request #71 from AdrocNiimai/master
Complete translation and small typing errors corrected
2014-02-09 15:37:31 +03:00
AdrocNiimai
4a2f37c924 Complete translation and small typing errors corrected 2014-02-09 13:06:18 +01:00