summary refs log tree commit diff stats
path: root/src
AgeCommit message (Collapse)Author
2020-05-14Remove 2ch from network listPatrick
It split into multiple networks; Both are very small and can't even match our modern guidelines like supporting TLS. I'll just use this as an opportunity to clean up the list a bit. Closes #2465
2020-05-02win32: Fix undefined symbol for builds with -with-plugin=falsedelthas
Windows builds without plugins can use notification-windows.c, which uses module_load in its notification_backend_init function. module_load was previously guarded with a USE_PLUGIN ifdef, but we do need this function for Windows builds even if plugins are disabled. This fixes a critical build issue for all Windows builds without plugins.
2020-04-19win32: Fix building executables with invalid entrypointsdelthas
Windows builds of the GTK frontend use the pie flag to compile hexchat.exe. Windows needs an explicit entrypoint when compiling with --pie, otherwise an invalid executable is created. This sets the entrypoint of the executable on Windows (as it is currently set in the Visual Studio project files). This fixes a critical build issue which prevents all Windows builds using Meson from working.
2020-04-19win32: Replace include of winuser.h with windows.hdelthas
winuser.h should never be included directly. windows.h should be included instead. This fixes a critical build issue added in c5d47fc which makes all MinGW builds fail. See #2403.
2020-04-18Remove MoznetJonathan
Mozilla's Moznet no longer exists. They migrated to Matrix.
2020-04-11Fixed proxy user/password buffer overflowDjLegolas
By using a dedicated buffer for sending the username and password for the SOCKS5 proxy, there will be no overflow when copying them to the buffer. And therefore, RFC 1929 is fully supported.
2020-04-11Updated the maximum length of the socks5 user and password to comply to RFC ↵kelek-
1929, where both the password and the username length is definied as a maximum of 255
2020-01-01Avoid prioritising MODE queries for channels with hyphens in their nameJames Clarke
If a user has a large number of channels containing hyphens in their names, the initial MODE queries will have the same high priority as any PINGs, and so will block the PINGs from being sent, causing the connection to time out due to a lack of PONGs received.
2019-12-30Add a channel context menu item to focus channelsPaul Wise
2019-12-20build: Fix some meson warningsPatrick Griffis
2019-12-20Follow more modern conventions for USER messagePatrick Griffis
Closes #2399
2019-12-16Add missing winuser.h include for mingw (#2403)Zach Bacon
Without the include gcc will complain about WM_TIMECHANGE as undeclared.
2019-11-24Fix capability negotiation ending before sasl finishes with multi-line capPatrick Griffis
Closes #2398
2019-07-17build: Make generated headers a dependency for users of common.nia
2019-05-28Fix a typo-error in src/common/hexchat.h:485 "haxchatprefs" -> "hexchatprefs"Stepan Broz
2019-05-28Make dcc_ip being a per-server value.Stepan Broz
Moved dcc_ip from prefs to sess->server.
2019-05-03servlist: add hackint irc networkMartin Weinelt
- requires the use of TLS to connect on port 6697 - supports and encourages authentication via SASL PLAIN and EXTERNAL
2019-04-21Update servlist.cJared Shields
Update servlist.c
2019-02-25Extend input box GTK theme workaround to include Yarucajuncooks
Fixes #2305
2019-01-30Remove : from various trailing parameters (#2301)linuxdaemon
Partial fix for #2271 This isn't an exhaustive list, but it's everything I could find. The bug still exists in the parser though, this is just a workaround for the moment
2018-11-09python: Rewrite with CFFIPatrick Griffis
2018-09-01Fix new stringop-truncation warningsPatrick Griffis
2018-08-16Fix inconsistent behavior (re)connecting on SSLIvan
2018-05-08Fix sending PASS with spaces or starting with :jkhsjdhjs
Closes #2186 Closes #1550
2018-04-03Validate all translations contain valid text eventsPatrick Griffis
2018-03-31Fix plugins on macOSRainer Müller
The switch to the meson build system broke plugins on macOS. GNU libtool builds shared libraries with ".dylib" and shared modules (plugins) with the extension ".so", but meson is using ".dylib" for both. Although overriding the name_suffix for shared_module() in meson is possible, this would be messy for other platforms as there is no way to query the default. Therefore it seems like we have to go with ".dylib" for now on macOS. However, G_MODULE_SUFFIX is defined to ".so", because glib follows what GNU libtool does. Therefore define a separate preprocessor macro that has the correct extension. See: https://github.com/mesonbuild/meson/issues/1160
2018-03-20Deiconify window on tray click. Closes #2136Manuel Schneider
2018-03-16Remove shift+click to close tab bindingPatrick Griffis
It is an odd binding that conflicts with typical behavior where shift click selects multiple items and there is already the middle click shortcut to close tabs quickly. Closes #918
2018-03-13Revert "xtext: Always use Pango to get correct glyph width on Unix"Patrick Griffis
This reverts commit d3f1ab78138a1f9256ec02842799ed6cd1e3ec1e. The performance even on Linux is just too poor in many cases.
2018-03-11Fix fscanf() usage without size limitPatrick Griffis
Closes #2137
2018-03-09Fix /ignore not accepting full hostsPatrick Griffis
Fixes #1828
2018-03-09Remove mpcinfo pluginPatrick Griffis
The code quality of it is terrible, the user experience of using it is terrible, and it should have been removed years ago
2018-03-09win32: Update to build against gvsbuildPatrick Griffis
2018-03-09Various fixes for mingwPatrick Griffis
2018-03-09win32: Respond to WM_TIMECHANGE by updating the CRT timezone infoMark Jansen
Closes #2090 Fixes #1851
2018-03-09build: Fix building with-text=true and with-plugin=falsePatrick Griffis
Closes #2113
2018-03-04Fix out of bounds read when DCC message sender contains quotesPatrick Griffis
This cannot be triggered by any user generally. Fixes #2128
2018-03-02Fix possible out of bounds read when being ctcp floodedPatrick Griffis
Note that this is unlikely to be triggerable by another user. Thanks to @dequis for discovering.
2018-02-18dbus: Add option to use app-id for bus namePatrick Griffis
This is required for Flatpak but is an API break so it is opt-in for now.
2018-02-11xtext: Fix accidental truncationPatrick Griffis
Fixes #2121
2018-02-06xtext: Always use Pango to get correct glyph width on UnixPeng Wu
This should be slower but pango seems to be reasonably fast on Unix though extremely slow on Windows. https://bugzilla.redhat.com/show_bug.cgi?id=1536298
2018-02-06xtext: Fix invalid utf-8 from truncationPatrick Griffis
2018-02-06xtext: Remove unused codePatrick Griffis
2018-02-06Fix Enchant 2.1.3+ supportPatrick Griffis
They changed the lib name yet again... Closes #2117
2018-01-18This patch hopefully solves a bug that causes that when a tab (channel or ↵Rodri
private) is left with the scrollbar at the bottom, and some new text arrives, and then we select again that tab, sometimes the scrollbar is not completely down and there is hidden text and we have to scroll manually to the bottom to show all text. This was previously submitted as an issue in: https://github.com/hexchat/hexchat/issues/1948 Maybe it isn't the ideal way to solve it, but at least I tested it and it seems to work.
2018-01-18Prevent undefined behaviour on memcpyFrancisco Couzo
2017-12-24Rename app-id to io.github.HexchatPatrick Griffis
RDNS syntax is recommended for applications and this matches the existing flatpak. Note that the dbus service and icons still need renaming though the former is an API breakage. Closes #2104 Closes #2103
2017-11-24spell-entry: Improve robustness of enchant loading and fix 2.0 supportPatrick Griffis
- Add logging and error handling to loading symbols - Don't load unversioned symbol - Handle new function names in Enchant 2.0 Closes #2095
2017-10-25Fix crash when connect commands change networkPatrick Griffis
Fixes #2084
2017-10-16Fix oob read in ctcp_checkJoseph Bisch
word[4] can be too short, leading to the addition of ctcp_offset putting us out of bounds. This results in an oob read in ctcp_check.
> 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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525