Commit graph

524 commits

Author SHA1 Message Date
vysheng
aa68c2c6ae Fixed sentCode parse in 12 layer 2014-03-21 01:03:23 +04:00
vysheng
1722bbc3f2 added layer 12 support 2014-03-20 19:33:08 +04:00
vysheng
1c09ffc626 Merge pull request #150 from mindrunner/master
telegram-cli gentoo ebuild pubkey fix
2014-03-16 23:46:24 +03:00
vysheng
4b8fe89b79 Merge github.com:vysheng/tg 2014-03-17 00:45:46 +04:00
vysheng
2fd40ea3e7 structures.h: fixed foolish bug in structures defenition, leading to SIGSEGV 2014-03-17 00:45:10 +04:00
mindrunner
a50c7c37d2 telegram-cli gentoo ebuild pubkey fix 2014-03-16 13:44:44 +01:00
vysheng
bfb31f383a Merge pull request #117 from mk-pmb/pubkey_clarify
Enhance naming to show that the pubkey is the server's.
2014-03-12 15:49:04 +03:00
mk-pmb
eb7ce437af Enhance naming to show that the pubkey is the server's.
While I'm at it, also label the magic constants for prng_seed
to avoid confusion with srand(0).
2014-03-11 15:10:19 +01:00
vysheng
d8d1d42327 deleted unused code 2014-03-07 23:41:59 +04:00
vysheng
2d7fbe769e added support for update_dc 2014-03-07 23:15:57 +04:00
vysheng
8ff2ac447b fix to prev fix 2014-03-07 02:44:41 +04:00
vysheng
3383755b21 Fixed merge structures.c 2014-03-07 02:43:15 +04:00
Thomas Wentzel
11ab0194eb 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
6677355f44 Change type in message_action and message_media from int to unsigned. 2014-03-06 22:31:05 +01:00
vysheng
4e1d23eed3 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
69fb759b9e re-added jetbrains .idea/ and netbeans nbproject/ to gitignore 2014-03-05 14:21:01 +01:00
vysheng
e0d109e450 Update interface.c 2014-03-05 16:18:53 +03:00
vysheng
0105abaff6 Merge pull request #136 from rmsrepliedtomeonce/patch-1
Remove biased shell signs
2014-03-05 16:09:57 +03:00
rmsrepliedtomeonce
ceca0589d8 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
7773adf5f2 Update README.md 2014-03-05 00:58:47 +03:00
vysheng
fde21397ab delted text about Makefile 2014-03-05 01:54:45 +04:00
vysheng
fec2ee493f Merge branch 'openbsd-initial' of https://github.com/czarkoff/tg
Conflicts:
	.gitignore
	README.md
2014-03-05 01:54:24 +04:00
vysheng
fcb05e6770 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
619c657893 Merge pull request #126 from koter84/feature-options-list
better list of options for -h
2014-03-05 00:45:33 +03:00
vysheng
6897116d7c Merge pull request #124 from vcuculo/sound_notification
Added support to sound notifications
2014-03-05 00:21:25 +03:00
vysheng
3c1b4977ef Merge pull request #135 from kartikm/master
Whitespace cleanups
2014-03-04 22:34:27 +03:00
Kartik Mistry
17c624bd9e Whitespace cleanups 2014-03-04 17:17:09 +05:30
Dennis Koot
cbac13c8fc netbeans ignore 2014-02-27 11:14:35 +01:00
Dennis Koot
64aca0427d extra ignores 2014-02-27 11:13:48 +01:00
Dennis Koot
c150d00a51 better list of options for -h 2014-02-27 10:17:07 +01:00
Dennis Koot
2d85f4fe83 added .idea for jetbrains 2014-02-27 09:55:53 +01:00
Dennis Koot
7274e179b8 ignore files created by compiling telegram 2014-02-27 09:51:55 +01:00
vcuculo
625d30c375 added support to sound notifications 2014-02-27 09:48:05 +01:00
Dmitrij D. Czarkoff
926a97fe08 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
839e535f73 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
218048576c LUA_INCLUDE belongs to CPPFLAGS, not CFLAGS 2014-02-27 00:52:30 +01:00
Dmitrij D. Czarkoff
9e6efc5fa7 When using libedit also search for curses 2014-02-27 00:46:44 +01:00
Dmitrij D. Czarkoff
e57ccb0541 Added "-Wno-deprecated-declarations" to COMPILE_FLAGS 2014-02-26 10:15:35 +01:00
vysheng
c9116d55f1 Update loop.c 2014-02-25 23:31:27 +03:00
vysheng
9635413682 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
a76d633705 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
b0b1e39413 On OpenBSD telegram should be linked with '-lcurses' 2014-02-25 16:57:35 +01:00
Dmitrij D. Czarkoff
7db28cf9f4 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
333f48e826 Added support for OpenBSD 2014-02-25 16:42:37 +01:00
Dmitrij D. Czarkoff
32c6b6a3b3 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
cba02b3fd5 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
aad11804a9 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
b8d827ed59 Fixed 'call' method from jerbob92 2014-02-24 15:27:30 +04:00
Jeroen Bobbeldijk
046b0ce109 Fully working phone call support, might need some tweaks and checks 2014-02-24 07:59:20 +01:00
vysheng
d0d53dc292 Merge pull request #100 from aigjermo/master
catch NULL input in interpreter_chat_mode
2014-02-23 12:17:48 +03:00