/
ChangeLog
4281 lines (3231 loc) · 154 KB
/
ChangeLog
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
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
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* po/POTFILES.skip:
Add doc/stash-example.c to fix 'make distcheck'.
* geany.nsi:
Change the RequestExecutionLevel for the Windows installer to
'highest'.
* New release: Geany 0.19 "Vellam".
2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Group undo action for Insert Multiline Comment.
2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* Makefile.am:
Don't individually install data/*.tags as all data/* files will be
installed anyway.
2010-06-07 Frank Lanitz <frank@frank.uvena.de>
* tagmanager/tm_project.c:
Fix a double free. (patch by Daniel Marjamaki, thanks).
2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/tm_workspace.c:
Fix two memory leaks (patch by Daniel Marjamaki, thanks).
* src/sidebar.c:
Fix reducing paths to project name in the Documents list
(patch by Eugene Arshinov, thanks).
* src/symbols.c:
Fix crash when trying to sort NULL pointers as tags in the Symbols
list (closes #3011986).
* NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
Update Scintilla to version 2.12.
* wscript, scintilla/Makefile.am, scintilla/makefile.win32,
scintilla/LexCrontab.cxx:
Remove unused Crontab lexer.
* data/filetypes.css, src/highlighting.c:
Add new style "media" for filetype CSS.
2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Build section: minor rewording, formatting fixes; move some
sentences.
2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c:
Explicitly try to localise build menu item labels with
gettext to enforce getting default labels translated.
* tagmanager/tm_workspace.c:
Fix not closed FILE pointer on early exit
(patch by Daniel Marjamaki, thanks).
* doc/images/*.png:
Update images for Geany 0.19.
* src/sidebar.c:
Destroy the default symbol list treeview only once
(fixes gtk_widget_destroy warning on exit).
2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/sort.c:
Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
* tagmanager/c.c:
Fix parsing of C++ classes contain attributes with bitfields
(patch by Lex Trotman, thanks).
* src/plugindata.h, src/plugins.c:
Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
plugins' meta information can be translated already in the
plugin manager dialog (patch by Colomban Wendling, thanks).
2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c:
Print locale information in debug output.
* src/build.c:
Fix some labels which were marked as translatable but were not
handled properly by gettext().
Add a missing const.
* src/msgwindow.c:
Try to convert text into UTF-8 before adding it to the Compiler and
Messages Window (closes #3007919).
2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
wscript:
Pass G_LOG_DOMAIN to source files for better logging.
2010-05-24 Frank Lanitz <frank@frank.uvena.de>
* THANKS, src/about.c:
Update of translation credits to reflect a change on Spanish
translation team better.
2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
* src/build.c:
Fix infinite loop reading build command output
2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/msgwindow.c:
Fix duplicate accelerators for Clear and Copy in the
Messages Window popup menu.
* src/pluginutils.c:
Expand child widgets in the Plugin Preferences dialog
(patch by Colomban Wendling, thanks).
2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/ui_utils.c:
Fix Undo/Redo button state after the last document has been closed.
Add Print and Replace toolbar items to the list of document
sensitive widgets.
* src/toolbar.c:
Fix crash when the toolbar is reloaded without any open documents.
* src/build.c:
Fix Run toolbar item sensitivity after the last document has been
closed.
* plugins/classbuilder.c:
Remove two unnecessary g_strdups().
* doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
src/plugindata.h, src/ui_utils.h:
Add hidden preference to disable automatic scrolling in the
Compiler tab (closes #3004714).
2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/classbuilder.c:
Fix a memory leak. (patch by Daniel Marjamaki, thanks)
2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/prefs.c, src/project.c:
win32.h can be included unconditionally.
* src/sidebar.c:
Fix project base_path detection if the path has a trailing slash.
* src/document.c, src/editor.c, src/project.c:
Small improvements to speed up quit process with many open documents.
Avoid calling gtk_notebook_remove_page() on exit as it takes
a lot of time.
* src/geanymenubuttonaction.c:
Explicitly check for the type when iterating the action's proxies.
For some reason on Windows, a GtkImageMenuItem proxy is created.
* geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
src/plugindata.h, scintilla/*, scintilla/include/*:
Update Scintilla to version 2.11.
* plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
src/makefile.win32:
Add new GTK define also for Mingw cross compilation and
makefile.win32 based Windows builds.
* plugins/filebrowser.c:
Implement reading and evaluating hidden file attribute on Windows.
Fix broken "Go Up" if the current path ends with a slash.
* THANKS, src/about.c, src/prefix.c:
Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
* geany.glade, src/document.h, src/interface.c, src/keyfile.c,
src/main.c, src/notebook.c, src/prefs.c:
Add preference to add new document tabs beside the current one
(patch by Colomban Wendling, thanks).
* geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
src/keyfile.c, src/prefs.c, src/ui_utils.h:
Add a preference for choosing between GTK and native
File Open/Save dialogs (only available on Windows).
* doc/geany.html, doc/geany.txt:
Update documentation.
2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/win32.c:
Sort file filters for the native Windows file open dialog by name.
Don't use file filters for the native Windows Save As dialog.
* src/dialogs.c, src/win32.c, src/win32.h:
Remove old code.
Pass and use also parent and title arguments to
win32_show_document_open_dialog().
* src/dialogs.c:
Call handle_save_as() only when the Save As dialog was not cancelled.
* src/toolbar.c:
Improve adding/removing of the special separator between menubar and
toolbar when the toolbar is appended to the menubar.
* src/toolbar.c, src/templates.c:
Explicitly disconnect menus from GeanyMenuButtonAction on quit to
not trigger updating the menus on each item removal.
2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/support.h:
Replace one non breaking space by normal space. Patch by
Daniel Marjamaki.
2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/classbuilder.c:
Don't make the 'Create Class' menu item document-sensitive
(patch by Colomban Wendling, thanks).
Add namespace support for GTK+ classes.
Add GET_CLASS() macro for GTK+ classes.
Add typedef of the private structure in the header file instead
of declaring it
(all the above from a patch by Colomban Wendling, thanks).
* src/highlighting.c:
Set common default "fold.comment" to 0 to disable it. This can
be overridden if desired.
* src/sidebar.c:
Improve sorting of document list items
(patch by Colomban Wendling, thanks).
* src/main.c:
Remove unnecessary textdomain() call.
2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Fix search_find_text not returning -1 when match is out of range.
This fixes invalid memory reads and wrong template filename
wildcard replacement.
* src/search.c, src/document.c:
Only replace template filename matching start of word on saving.
* plugins/filebrowser.c:
Add 'Refresh' popup menu item (part of geany-plugins #2999858).
* src/build.c, src/build.h, src/project.c:
Make some ugly build.h global variables static.
* src/build.c, src/build.h, src/project.c:
Add Build prefix for TableFields, TableData.
2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c:
Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
* src/dialogs.c, src/win32.c, src/win32.h:
(Re-)Implement a (still basic) native Windows Save As dialog when
compiled with GEANY_USE_WIN32_DIALOG.
2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, src/about.c, plugins/classbuilder.c:
Add support for creating PHP classes (patch by Ondrej Donek, thanks).
* src/ui_utils.h, src/ui_utils.c:
Add public, generic callback ui_editable_insert_text_callback()
to restrict GtkEntry text inputs to +/- and numeric values only.
* src/dialogs.h, src/dialogs.c:
Add special variant dialogs_show_input_goto_line() to use a normal
GtkEntry together with dialogs_show_input_goto_line() for text input.
* src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
Allow '+<number' and '-<number>' as values for Goto Line inputs
to jump relative to the current line (closes #2997238).
2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c:
Apply foreground and background colours of the folding margin
style properly (closes #2998347).
* src/utils.c:
Don't auto-close short XML tags (closes #2994852).
* THANKS, src/about.c, src/keybindings.c:
Improve jumping to matching braces by consistently position the
cursor before or after the matching brace dependent where it
was before (patch by Dimitar Zhekov, thanks).
* src/main.c:
Fix crash when generating global tags files (patch by Colomban
Wendling, thanks).
2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c:
Avoid connecting signals more than once.
2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* wscript:
Don't ignore the 'intltool' check on non-Windows systems, instead
raise a configure error.
2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
Fix marking some strings as translatable (cannot be done in the
ASSIGNIF macro).
* src/templates.c, doc/geany.txt, doc/geany.html:
Reload templates if saving a document in the templates config dir.
2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c, src/search.h, src/document.c, doc/geany.txt,
doc/geany.html:
Fix replacing {filename} template wildcard for custom file
templates with non-default file extension.
Add search_find_text() for POSIX regex searches.
* src/templates.c, doc/geany.txt, doc/geany.html:
Add {project}, {description} template wildcards (#2954737).
* doc/geany.txt, doc/geany.html:
Divide template wildcards into groups.
* src/plugindata.h, src/plugins.c, src/symbols.c,
plugins/geanyfunctions.h:
Add symbols_get_context_separator() to plugin API (patch by Colomban
Wendling, thanks).
2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Fix setting wrong accelerator for 2 Edit->Commands items (patch by
Anonymous, thanks; #2995593).
* src/sciwrappers.c, src/plugindata.h, src/plugins.c,
plugins/geanyfunctions.h:
Add sci_set_line_indentation(), sci_get_line_indentation() to API
(patch by Colomban Wendling, thanks).
2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Warn user if hidden hard tab width setting is not 8.
2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/project.c, src/keyfile.c, geany.glade,
doc/geany.txt, doc/geany.html:
Hide 'Tabs and Spaces: Hard tab width' preference - it should
always be 8. (Hidden setting kept in case users have modified it).
2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Add Folding section link to filetypes.common custom settings.
2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c:
When switching documents, don't call document_set_text_changed()
as this does much more than necessary. Instead call the necessary
UI update functions explicitly.
2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/vstring.c:
Fix invalid memory read (patch by Colomban Wendling, thanks).
2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
strings in case of reaching the buffer size limit (part of #2979697).
* src/win32.c:
Change the limit for the command line length when executing commands
to a maximum of 32768 characters (closes #2979697).
Fix broken opening URLs e.g. when using the 'builtin' Run command.
* tagmanager/ctags.c:
Change eFree() to simply ignore NULL pointers instead of asserting.
* src/main.c:
Remove malloc() fallback since we completely rely on g_malloc()
nowadays.
* plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
plugins/saveactions.c:
Make string arguments const where appropriate (patch by
Colomban Wendling, thanks).
* src/build.c, src/build.h, src/callbacks.c, src/editor.c,
src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
src/symbols.c, src/templates.c, src/ui_utils.c:
Make string arguments const where appropriate (patch by
Colomban Wendling, thanks).
2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
Make plugin_signal_connect() string argument const (patch by
Colomban Wendling, thanks).
* src/keybindings.c, src/keybindings.h, src/plugindata.h:
Constify some more string pointers in the API (patch by
Colomban Wendling, thanks).
* src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
doc/geany.html:
Support {pc} wildcard in snippets to escape percent char.
* src/editor.c:
Recalculate line margin width when zooming (fixes #2990553).
* src/highlighting.c, doc/geany.txt, doc/geany.html,
data/filetypes.common:
Support more folding icon styles: arrows, +/- and no lines
(#2935059).
2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/socket.c:
Fix Windows build by properly guarding Unix-only code.
2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c, doc/geany.txt, doc/geany.html:
Support {ob} and {cb} in fileheader and file templates; they are
replaced last with { and }. This allows 'escaping' of wildcard
strings.
* src/editor.c, plugins/classbuilder.c:
Fix Class Builder plugin to use correct indentation instead of
always tabs.
Make editor_insert_text_block() only replace leading tabs for the
'Tabs' indent type; also group edits for undo.
* src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
doc/geany.html:
Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/pascal.c:
More fixes to prevent possible crashes by trying to free NULL
pointers.
* src/sidebar.c:
Automatically show and hide the sidebar notebook tabs according
to the amount of visible pages (patch by Adrian Dimitrov, thanks).
* src/editor.c:
Add a static global variable to monitor autocompletion mode in order
to prevent cancellation of the struct/class (C/C++) auto completion
list (patch by Thomas Martitz, thanks).
* src/socket.c:
When starting and trying to access the Unix Domain socket of a
potentially running instance, first compare file ownership with the
user id of the running process to prevent accessing a wrong socket
file (part of #2985463, this might not yet be the final solution).
2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/filebrowser.c:
Synchronize popup menu and plugin preferences dialog 'Show Hidden
Files' option (fixes #2989288).
2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/entry.c, tagmanager/entry.h,
tagmanager/include/tm_source_file.h, tagmanager/parse.c,
tagmanager/parse.h, tagmanager/tm_source_file.c:
Add tm_source_file_set_tag_arglist() to manually set the argument
list of a tag.
* tagmanager/python.c:
Use tm_source_file_set_tag_arglist() to set the argument list
field of Python class tags to the argument list of their
__init__() methods.
Backport a fix from CTags SVN to prevent possible crashes by trying
to free NULL pointers.
2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/txt2tags.c:
Remove duplicate code from Txt2Tags parser.
Remove the title control characters ('=') when parsing titles.
Also parse numbered titles (closes #2984703).
* doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
src/plugindata.h:
Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
Add missing documentation for 'Reset Zoom' keybinding.
* tagmanager/php.c:
Another attempt to fix the PHP parser regexp for parsing functions.
Fix wrong parsing of function arguments when those contain nested
brackets (as reported by Harold Aling).
* src/notebook.c:
Fix Ctrl-Click on notebook tab if Numpad is active.
2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
src/ui_utils.c, src/ui_utils.h:
Add option 'System Default' for toolbar icon style and size to
use the GTK default value.
* geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
src/toolbar.c, src/toolbar.h:
Shorten the toolbar popup menu, only provide items for Toolbar
Preferences and to Hide the toolbar.
* src/toolbar.c:
Instantly update the toolbar icon size and style when the
corresponding global GTK settings are changed.
* doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
src/plugindata.h, src/socket.c:
Add new command line option --list-documents to return a list
of currently opened documents (closes #2979933).
2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/htmlchars.c:
Make plugin remember whether replacement of special characters was
activated even after restart of Geany or reloading of plugin.
2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix inserting snippets with an indent when using Mac CR line
endings.
* src/callbacks.c:
Update status bar after using Document->Set Line Endings.
* src/editor.c:
Improve API docs for editor_insert_text_block().
2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Refactor snippets_complete_constructs().
Remove an unnecessary TODO.
* src/editor.c:
Fix indenting a snippet when there is whitespace after the
snippet key name.
2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.txt, doc/geany.html:
Improve wording.
* src/build.c, src/msgwindow.c:
Fix disabled compiler message tracking if using indicators to
show build errors is disabled (closes #2982834).
2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* scintilla/Editor.cxx:
Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
and SCI_GETSELECTIONEND with rectangular selections. This fixes
replacing in a rectangular selection.
2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c:
Re-detect any document filetypes set to None after reloading
filetype extensions (closes #2979661).
* src/editor.c:
Fix showing '...' item last instead of first for document word
completion.
2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.perl:
Adjust Perl Compile command to use the -c command
line option to perform a syntax check instead of using the
deprecated ByteCompile module.
Add error_regex to parse error messages and warnings when performing
syntax checks on Perl files.
2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, doc/plugins.dox:
Add API docs for keybinding enums.
* src/notebook.c, doc/geany.txt, doc/geany.html:
Make Ctrl-click on any notebook tab switch to the last used
document.
2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
src/geanyentryaction.c, src/geanyentryaction.h,
src/geanywraplabel.c:
Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
object for efficiency.
2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/classbuilder.c:
Beep if the user hasn't entered a class name on pressing OK.
* src/search.c:
Fix replacing '^' regex.
* src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
plugins/geanyfunctions.h:
Add Stash widget functions to API.
* configure.ac:
Revert commit to use AC_PATH_PROG instead of 'which' (fixes
#2973764).
2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* THANKS, src/vte.c:
Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
fixes #2976905).
* wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
plugins/geanyfunctions.h, plugins/geanyplugin.h:
Add Stash setting functions to API.
Remove unnecessary argument to stash_group_load_from_file().
* src/geanyobject.c, plugins/classbuilder.c:
Don't generate FOO_GET_PRIVATE() macro because caching the result
in Foo::priv can be much more efficient.
2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Fix cursor positioning when toggling comments
(patch by Thomas Martitz, thanks).
2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
* src/keybindings.[hc]:
Added Control+0 for zoom reset, see suggestion from #2969886.
2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c, src/document.c:
Fix wrong selection range after Replace in Selection.
2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/win32.c:
Make CreateChildProcess() working with Unicode strings, e.g.
directory names (closes #2972606).
* geany.nsi:
Remove reference to already removed latex.tags file.
Future releases probably still depend on GTK 2.16.
* scintilla/ScintillaGTK.cxx:
Backport fix from Scintilla CVS to not paste text beyond the end
of lines (closes #2969096).
* plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
src/plugindata.h:
Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
to not set Geany's minimum window size anymore (closes #2972992).
As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/stash.c:
Make adding string and string vector settings initialise the setting
to NULL for safety.
* src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
Add stash_group_load_from_file() and stash_group_save_to_file().
2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* data/filetypes.common:
Set default for wrapped lines to show marker at end of line only
(more expected and doesn't change line alignment - closes #2972386).
* src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
src/pluginutils.c, doc/plugins.dox:
Improve API docs contents page by listing all commonly-used files.
Fix 'Date' appearing twice on the date line.
Don't generate API docs for prefs.h, toolbar.h (unused).
Move some '@file' doc-comments to the .c file.
* src/interface.c, geany.glade:
Add frame for 'Printing' prefs dialog page.
* src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
doc/stash-example.c:
Rename Stash data types to be independently named from Geany (so
Stash can be reused for other projects).
Rename GeanyPrefGroup to StashGroup.
2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/python.c:
Apply patch from Colomban Wendling to parse Python lambda functions
(thanks) - modified to only parse toplevel or class member lambdas.
* src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
doc/stash-example.c:
Add doc-comments for Stash setting functions.
Add an example file showing usage of Stash.
(Not enabled yet until added to the plugin API).
2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
* src/build.c:
Fix using return value without checking return status, caused
incorrect sensitivity settings on build dialog.
2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* HACKING:
Add tip about gcc optimization & warnings/debugging.
Add Testing section.
Update Libraries section about synchronizing with other projects.
2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/ui_utils.c:
For now revert the recent patch which set real_path of newly
open non-existent configuration files as this seems hackish and
causes 'file not found' warnings.
* wscript:
Fix/Improve GIT repository detection
(patch by Thomas Martitz, thanks).
* plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
src/utils.c:
Add utils_copy_environment() to the plugin API.
2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
src/main.c:
Use 3rd person for more API dox.
Change 'This is a wrapper function for...' to 'Wraps...' in brief
descriptions.
Change 'After all...' to 'Afterwards...'.
* src/interface.c, geany.glade:
Apply patch from Eugene Arshinov to make frame packing/alignment
more consistent (thanks).
2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c:
Fix ui_button_new_with_image() to call gtk_button_set_image() so
that gtk_button_[sg]et_label() work as expected.
* src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
Make Build Commands dialog show menu item labels as a button (to
help show that menu labels don't normally need to be edited &
display the mnemonic correctly). Clicking shows an input dialog to
set a new menu item label.
Split dialogs_show_input() into 2 functions: one simple, one for
a persistent dialog.
Fix possible double-destroy of input dialog when closed by user.
* src/dialogs.c:
Fix not destroying 'Make Custom Target' input dialog after first
use (oops).
* src/project.c:
Make Long Line Marker settings for existing projects default to
general settings instead of 0 (thanks to Eugene Arshinov).
* src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
Use 3rd person (gets not get) for API function brief descriptions.
Avoid using 'convenience function' in API brief descriptions.
2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Warn about some GNU extensions for regular expressions & clarify
some points.
* src/interface.c, src/keybindings.c, src/project.c, src/project.h,
src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
src/editor.h, geany.glade:
Apply patch from Eugene Arshinov to add project long line marker
customisation (thanks).
* src/interface.c, geany.glade:
Edit/tidy 'Long line marker' labels.
2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
* src/build.c, src/project.c:
Fix crash due to NULL in project build preferences (thanks to
Wolfgang Ocker).
2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/search.c, src/search.h,
src/document.c, doc/geany.txt, doc/geany.html:
Merge gnu-regex branch:
Use POSIX system/GNU regex engine for find & replace 'Use regular
expressions' option. This alters regex syntax a bit - see the docs
for details; we now support '?' operator and replacement backslash
escaping is more standard.
Make regex search imply replacing escaped chars.
Allow \0 backreference replacement for the whole match.
Note: Replace All may be slower; if this is a problem please let me
know.
- code:
Add argument to utils_str_replace_escape() for keeping
uninterpreted backslash escapes e.g. '\\', '\e'.
* scintilla/LexMarkdown.cxx:
Backport minor formatting/style changes from Scintilla project.
* doc/geany.txt, doc/geany.html:
Remove warning about no visual indication for zero-column-mode
editing.
2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* wscript:
Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* wscript, scintilla/*, scintilla/include/*:
Update Scintilla to version 2.03.
* geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
Add preference for virtual spaces.
* src/log.c:
Fix wrong default response for the Debug Messages dialog.
* src/dialogs.c:
Fix crashes when using Save As with no open files (closes #2964406).
* src/document.c:
Fix duplicate mnemonics on 'Resave missing file' dialog, also
move the question from the secondary to the main text to be
more compatible with the Gnome HIG.
Fix broken 'Save' action in 'Resave missing file' dialog.
* tagmanager/php.c:
Improve PHP parser to parse also the argument lists of PHP functions.
* src/prefs.c:
Correctly set the parent widget for the keybinding overwrite
confirmation dialog.
* src/dialog.c:
Fix setting the icon for some dialogs if the parent itself is also
a dialog.
* src/ui_utils.c:
When editing non-existent config files using the Tools->Configuration
Files menu, explicitly set the real_path to avoid presenting the Save
As dialog when saving the file (patch by Tony Rick, thanks).
* src/callbacks.c:
Focus the editor widget after hiding the sidebar when it had the
input focus (patch by Can Koy, thanks).
Properly show/hide the mesages window when using the View menu item
(closes #2961282).
* plugins/filebrowser.c:
After opening files, focus the editor widget
(based on a patch by Can Koy, thanks).
* plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
src/ui_utils.h, src/vte.c:
Add and use convenience function ui_is_keyval_enter_or_return() and
add it to the plugin API.
2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c, THANKS, po/ast.po:
Added Asturian translation. Thanks to Marcos Costales for providing.
2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
* src/log.c:
Fix keyboard accelerators in debug messages window
(Thanks Can Koy).
2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/LexR.cxx:
Backport R lexer from Scintilla CVS to fix case sensitive keywords
(Scintilla bug #2956543).
* src/sidebar.c, src/about.c, THANKS:
Make Space on the symbol and document list not focus the editor
widget while Enter does (closes #2919444, patch by Can Koy, thanks).
* src/document.c, src/document.h:
Fix document_try_focus() to make it work with the sidebar document
list as well.
* src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
Make Space on the compiler and messages widgets not focus the editor
widget while Enter does (patch by Can Koy, thanks).
* src/editor.c:
Fix wrongly auto-detected multiline comments
(patch by Eugene Arshinov, thanks).
2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/ui_utils.c:
Show number of lines of current document inside statusbar. Thanks to
Can Koy for providing the patch.
2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, doc/geany.txt, doc/geany.html:
Make Switch to Editor keybinding reshow the document statistics
line, so user doesn't have to move the cursor.
2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.r:
Update keywords for the R language (patch by Jon Senior, thanks).
2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
* doc/geany.txt:
Fix the instruction how to insert unicode characters
(thanks Tony Rick).
2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scripts/create_py_tags.py:
Minor fixes.
Replace tabs by spaces.
* plugins/genapi.py:
Minor fixes.
Replace tabs by spaces.
* tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
Add R tagmanager symbol parser (patch by Jon Senior, thanks).
* doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
src/plugindata.h, src/sidebar.c, src/sidebar.h:
Add keybindings to switch to the sidebar's Document and Symbol list
as well as to the Message Window's current tab
(patch by Eugene Arshinov, thanks).
* data/filetypes.r:
Update primary keywords for the R language
(patch by Jon Senior, thanks).
2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
* doc/geany.txt:
Add more detailed hints about reloading configuration
(thanks to Tony Rick).
* data/filetypes.javascript:
Correct the keyword list for JavaScript (thanks to Jonas).
2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* New release: Geany 0.18.1 "Balfour".
2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.c:
Add special cases for handling the Select All keybinding (Ctrl-A) in
the toolbar search and goto line text entries (closes #2948040).
Strip trailing spaces after reflowing a paragraph, patch by
Dominik Wagenfuehr, thanks (closes #2945497).
2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/geanymenubuttonaction.c, src/templates.c:
Partly revert last commit:
Unref the new files toolbar menu when freeing templates as it
was done before but unref it *after* the menu has been removed
from the GeanyMenuButtonAction.
* src/encodings.c:
Fix possible endless loop when trying to detect the encoding of
non-text files (patch by Alexey Antipov, thanks).
2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Allow saving remote files using g_file_set_contents() as well
(patch by Алексей Антипов, thanks).
* data/filetypes.python:
Adjust style for secondary keywords to be less aggressive.
Add Python 2.5 builtins keywords.