about summary refs log tree commit diff stats
path: root/src/ui/statusbar.c
Commit message (Collapse)AuthorAgeFilesLines
* Update my Copyright to 2020Michael Vetter2020-01-031-1/+1
|
* Call ncurses resize function before move functionMichael Vetter2019-12-021-1/+1
| | | | | | | | | | | | | | From @xaizek s comment on issue #1235: ``` If the move would cause the window to be off the screen, it is an error and the window is not moved. Resize on the other hand doesn't fail like this according to its documentation. So new size needs to be applied first. ``` Big thanks to @xaizek for taking a look at our code and helping us!! Regards https://github.com/profanity-im/profanity/issues/1235
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Add comment about statusbar.currentMichael Vetter2019-09-291-0/+3
|
* Add coloring of statusbar.current tab in viewDaniel Lublin2019-09-241-4/+10
| | | | | | | | | | | | | | This theme color applies to the tab title text of the statusbar tab that is currently shown. The (somewhat confusingly named) `statusbar.active` theme color now applies to all other tabs (before, it applied to all tabs). Coloring of a tab that is highlighted/has new messages is done as before using the `statusbar.new` theme color. The default color is set to `cyan`, and thus causes no visible change for users -- until modified.
* Don't crash if source jid doesn't contain the node partDmitry Podgorny2019-08-261-1/+3
| | | | | | | | Profanity uses the node part of a JID as display name for a tab. If such a JID doesn't contain the node part, Profanity crashes on NULL pointer dereference. In the above case, use barejid which is just a domain. Fixes #1153.
* Remove unused assignmentsMichael Vetter2019-07-221-1/+1
|
* Fix jump depending on uninit. value in statusbarMichael Vetter2019-07-101-1/+1
|
* Fix prefs_get_string mem leaks in statusbarMichael Vetter2019-06-191-6/+18
|
* Add myself to copyrightMichael Vetter2019-06-171-0/+1
| | | | Like discussed with James.
* statusbar: check if roster existsMichael Vetter2019-06-041-2/+4
| | | | | | | | | | | | We destory the roster in ev_disconnect_cleanup(). Adding a function to test if the roster has been destroyed and testing for it in the statusbar. So now when the connection is lost 'Lost connection' is printed in all open windows. We can then reconnect with `/connect accountname`. Should fix https://github.com/profanity-im/profanity/issues/1083
* statusbar: reduce duplicate codeMichael Vetter2019-06-041-32/+9
| | | | | | | | | | status_bar_new() and status_bar_active() are almost identical. Let's use one helper function to not duplicate code. I thought about renaming both functions into one and adding another parameter but didn't come up with a good name for the function that clearly describes what it does. So staying with current names + helper functions.
* Determine chat window names beforehandMichael Vetter2019-06-041-13/+44
| | | | | | | | | Save the name for displaying the windows in the statusbar inside the tab object. So far we calculated them repeatedly and this created issues when we lost the connection. Regards https://github.com/profanity-im/profanity/issues/1083
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Rename mucconf wins into conf winsPaul Fariello2018-09-051-1/+1
| | | | Configuration windows are now being used by both muc and cmd.
* Add max tab length to statusbarJames Booth2018-03-111-30/+46
|
* Fix utf8 chars in statusbarJames Booth2018-03-111-3/+3
|
* Statusbar render at start of small windowJames Booth2018-03-101-0/+3
|
* Dont show extended tabs when max 0James Booth2018-03-101-0/+3
|
* Use jid prefs in statusbarJames Booth2018-03-101-3/+55
|
* WIP add self prefs for statusbarJames Booth2018-03-101-51/+27
|
* Show extended tabsJames Booth2018-03-101-12/+60
|
* Refactor statusbarJames Booth2018-03-101-92/+109
|
* Preference to show/hide tab numberJames Booth2018-03-091-33/+40
|
* Remove empty tabsJames Booth2018-03-091-35/+12
|
* Add preferences for tab displayJames Booth2018-03-091-14/+99
|
* Add max tabs preference for statusbarJames Booth2018-03-081-55/+57
|
* Add prefs for empty tabs and tab namesJames Booth2018-03-081-11/+14
|
* Show name in statusbar tabs WIPJames Booth2018-03-081-349/+184
|
* Add message to status barJames Booth2018-03-071-22/+39
|
* Set background in _status_bar_drawJames Booth2018-03-071-2/+3
|
* Add time to status barJames Booth2018-03-071-4/+49
|
* Draw empty status barJames Booth2018-03-071-356/+381
|
* Update copyrightJames Booth2018-01-211-1/+1
|
* Add theme option for time in a status barLukasz Marcinowski2017-03-221-0/+3
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Allow vertical positioning of all windowsJames Booth2016-09-231-18/+8
|
* Add /inputwin top|bottom commandJames Booth2016-09-191-2/+14
| | | | closes #853
* Store GTimeZone in statusbarJames Booth2016-07-251-2/+5
| | | | fixes #785
* Tidy headersJames Booth2016-07-241-1/+1
|
* Update GPL link in headersJames Booth2016-07-241-1/+1
|
* Removed #AX_PREFIX_CONFIG_HJames Booth2016-03-311-3/+3
|
* Merge branch 'master' into plugins-cJames Booth2016-02-141-1/+1
|\ | | | | | | | | | | Conflicts: src/main.c src/ui/console.c
| * Updated copyrightJames Booth2016-02-141-1/+1
| |
* | Added C plugin code from plugins branchJames Booth2016-02-141-3/+3
|/
* Applied coding style to src/ui/James Booth2015-10-251-1/+1
|
* Added time format perferences per window typeJames Booth2015-09-301-5/+17
|
* Merge remote-tracking branch 'incertia/time'James Booth2015-07-011-22/+18
|\ | | | | | | | | Conflicts: src/config/preferences.c
| * remove memory leak from creating a gdatetime stringWill Song2015-05-291-0/+2
| |
| * updated statusbar to use strftime formatsWill Song2015-05-291-22/+16
| |
n225' href='#n225'>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