about summary refs log tree commit diff stats
path: root/src/common.h
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Merge pull request #1011 from jubalh/sha1Michael Vetter2018-09-191-2/+0
|\ | | | | Get rid of p_sha1 dependency
| * Move p_sha1_hash() to stanza.cMichael Vetter2018-09-061-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Move `p_sha1_hash()` from `common.c` to `xmpp/stanza.c` as it is only used in this file and now depends on libstrophe so xmpp is a better namespace folder. Renaming it as `_stanza_create_sha1_hash()`. And making static since only used here. The function cannot be tested in the unit tests anymore. Once functional tests are working again we should write a test for the sha1 functionality.
* | use gio functions for file copyPhilip Flohr2018-09-061-1/+1
|/
* Move ID generation to xmpp folderMichael Vetter2018-08-301-1/+0
| | | | | | | | | | | create_unique_id() was changed to use UUIDs instead of a counter in the last commit. Since now it depends on connection_create_uuid() which is in the xmpp subfolder the function should also be moved there. Renamed it to connection_create_stanza_id() and moved it to src/xmpp/connection.c. Discussion happened in https://github.com/boothj5/profanity/pull/1010
* Use uuid in create_unique_id instead of counterMichael Vetter2018-08-141-1/+0
| | | | | | | | | | | | Message IDs should be unique so they can be used by XEPs like delivery receipts, chat markers, message correction. So far it used a counter so restarting profanity will cause the counter to be 0 again. Let's rather use an UUID since we have such a function in the xmpp/xmpp.h already. Closes https://github.com/boothj5/profanity/issues/998
* Update copyrightJames Booth2018-01-211-1/+1
|
* Update Glib dependency to 2.40James Booth2017-03-251-20/+0
|
* Allow installing plugins from directoryJames Booth2017-02-051-0/+4
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Move window functions to window_list.cJames Booth2016-07-241-3/+1
|
* Move resource conversionsJames Booth2016-07-241-6/+1
|
* Add config/files.cJames Booth2016-07-241-2/+0
|
* Update GPL link in headersJames Booth2016-07-241-1/+1
|
* Add /plugins install commandJames Booth2016-07-121-0/+1
|
* Added whole word matches for room mentionJames Booth2016-04-071-1/+2
|
* Added prof_strstr functionJames Booth2016-04-031-1/+2
|
* Updated copyrightJames Booth2016-02-141-1/+1
|
* Applied coding style to src/James Booth2015-10-261-2/+1
|
* Use consistent style for pointersMichael Vetter2015-10-211-13/+13
|
* Create is_notify_enabled functionMichael Vetter2015-10-121-0/+1
| | | | | The same code was used on two different occasions. I put it into a function.
* Fixed OTR decryption checkJames Booth2015-08-271-1/+1
|
* Added str_contains_str to commonJames Booth2015-08-261-0/+1
|
* I removed ncurses header dependencies, removed unused codeJames Booth2015-06-151-7/+0
|
* Added more connect testsJames Booth2015-05-241-0/+1
|
* Moved _strtoi to common, strtoi_rangeJames Booth2015-03-161-0/+1
|
* Merge branch 'master' into readlineJames Booth2015-02-111-1/+1
|\ | | | | | | | | | | Conflicts: src/tools/history.c src/tools/history.h
| * Updated copyrightJames Booth2015-02-101-1/+1
| |
* | Merge branch 'master' into readlineJames Booth2015-02-081-0/+1
|\|
| * Moved quote stripper to common, added testsJames Booth2015-02-081-0/+1
| |
* | Refactor inputwin.cJames Booth2015-01-181-0/+8
|/
* Added utf8_display_lenJames Booth2015-01-171-0/+1
|
* Simplified autocompleters and command historyJames Booth2015-01-161-1/+1
|
* fgets: buffer sizePeter Vilim2015-01-071-0/+5
|
* Follow symlinks for profrc and accounts filesJames Booth2014-10-261-0/+2
|
* Added license exemption for OpenSSL to source headersJames Booth2014-08-241-0/+12
|
* Renamed generate_unique_id -> create_unique_idJames Booth2014-06-151-1/+1
|
* Renamed sha1 functions to avoid naming clashesJames Booth2014-06-151-1/+1
|
* Fixed define for g_hash_table_contains (glib < 2.32)James Booth2014-05-221-1/+1
|
* Added g_hash_table_contains for glib < 2.32James Booth2014-05-221-0/+2
|
* Added glib g_hash_table_add for glib < 2.32James Booth2014-05-221-0/+6
|
* Added backwards compatible g_list_free_full for glib < 2.28James Booth2014-05-211-0/+2
|
* Changed to use gnutls instead of openssl for sha1 hashingJames Booth2014-05-011-0/+1
|
* Updated copyrightJames Booth2014-03-091-1/+1
|
* generate_unique_id allows prefixJames Booth2014-01-251-1/+1
|
* Removed unused encode.xmlJames Booth2014-01-211-1/+0
|
* Removed limit on number of windows, WIPJames Booth2013-08-271-1/+1
|
* Added function to get next available window number, and testsJames Booth2013-08-271-0/+3
|
* remove octet_compareDmitry Podgorny2013-08-261-1/+0
| | | | strcmp provides the same functionality
* refactored mkdir_recursiveDmitry Podgorny2013-08-031-2/+2
| | | | Now this function returns result of operation. TRUE is success.
d'>9cf43c17 ^
5fca2a0b ^
9c69b4ae ^
c5f776ed ^

9ed36720 ^
c5f776ed ^
9c69b4ae ^
c5f776ed ^
88b4d374 ^
9ed36720 ^
9c69b4ae ^
88b4d374 ^
e91ae587 ^
9ed36720 ^
46c378fd ^

9c69b4ae ^
e91ae587 ^
f2c8a7ff ^
9ed36720 ^
f2c8a7ff ^
9c69b4ae ^
f2c8a7ff ^
e416bfe7 ^
9ed36720 ^
5fca2a0b ^
6045dc10 ^
0ca79709 ^




6045dc10 ^
0ca79709 ^





c7720fff ^
8d21b83c ^


e9e4b4ff ^
ececd03e ^
e9e4b4ff ^
0c2c782d ^
636d9393 ^
b0a216f5 ^
c6afc196 ^

c0d63e78 ^


ececd03e ^
f2c8a7ff ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168