forked from geany/geany
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.pre-0-17
12806 lines (9494 loc) · 488 KB
/
ChangeLog.pre-0-17
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
2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scitilla/LexHTML.cxx:
Backport a change from Scintilla CVS to fix wrong folding of comments
in HTML/XML lexer (Scintilla #2532774, thanks to Jason Oster).
* New release: Geany 0.16 "Argon".
* ChangeLog, Makefile.am: Rotate ChangeLog.
2009-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/plugins.dox:
Add a plugin howto to the plugin API docs, written by Frank.
2009-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/msgwindow.c:
Don't use a hard coded black foreground colour for the compiler and
messages windows, instead use the default GTK foreground colour.
* src/prefs.c:
Don't use the clear icon inside any spin buttons in the prefs dialog.
* doc/geany.txt, doc/geany.html, doc/images/*:
Update docs and images for Geany 0.16.
2009-02-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/dialogs.c, src/prefs.c, src/printing.c,
src/project.c, src/search.c, src/tools.c, src/vte.c:
Add a clear icon to the used text entries all over the place
(will be available with GTK >= 2.16).
* plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
plugins/vcdiff.c, src/document.c, src/search.c, src/templates.c,
src/tools.c, src/treeviews.c, src/utils.c:
Small optimisations by moving out function calls of loop break
conditions (patch by Frank, thanks).
2009-02-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/filebrowser.c:
Make Menu key and Shift-F10 working on the filebrowser treeview.
Return TRUE if appropriate in the event handlers.
* plugins/vcdiff.c:
Fix path quoting problems on Windows.
* plugins/geanyfunctions.h, src/document.c, src/document.h,
src/editor.c, src/editor.h, src/plugindata.h, src/plugins.c,
src/treeviews.c, src/ui_utils.c:
Add editor_get_word_at_pos() as a convenient function to retrieve
the word at a given position.
Make document_get_status_color() returning a const GdkColor.
Add editor_get_word_at_pos() and document_get_status_color() to the
plugin API.
* src/vte.c, plugins/filebrowser.c:
Don't follow the path of the document if the document has not an
absolute file path.
* src/msgwindow.c:
Really focus the status/compiler/messages window when the
corresponding keybinding is used.
2009-02-08 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/editor.c:
Don't put closing td tag into a new line during auto completion of a
HTML table.
2009-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c:
Don't check for old configuration directory location on Windows.
* plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c:
Add plugin_module_make_resident() to the plugin API which allows
plugins to make the module resident. This seems necessary when
using GTypes, e.g. by using the GObject API.
* src/vte.c:
Fix ordering of the input methods submenu item in the VTE popup menu.
2009-02-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/geanymenubuttonaction.c, src/geanyentryaction.c,
src/geanyobject.c, src/geanywraplabel.c:
Use the G_DEFINE_TYPE() macro to generate the *_get_type() code.
Remove useless geany_object_finalize() function.
* src/keybindings.c:
Special case Menu key presses and Shift-F10 to show the popup menu
of the widgets where they were pressed instead of always the
document notebook tab list.
* src/msgwindow.c:
Allow pressing Space/Enter in the compiler and messages treeviews
to activate the selected item (closes #2555704).
* src/editor.c:
Fix typo which caused wrong snippet completion (closes #2568588).
2009-02-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c, src/vte.h:
Some code cleanup and improve comments, no changes in functionality.
* src/editor.c:
Fix a crash on Windows for PHP files when 'comment_close' in not set
(neither in the user's config nor in the global filetypes.php) and
(un)commenting is used outside of the PHP tags
(reported by Frank, thanks).
* src/dialogs.c:
It's enough to check for GTK 2.14 at runtime, not at build time when
to determine whether to show non-local folders in the file chooser
dialogs.
2009-02-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/plugins.c:
Fix wrong Help button sensitiveness in the plugin manager dialog.
2009-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/document.c:
Use the document's real path when the VTE setting 'Follow the path of
the current file' is used to prevent unnecessary directory changes
when symlinks are used (reported by Dominic Hopf).
* plugins/filebrowser.c:
Add an option to 'follow the path of the current file' in the
filebrowser plugin.
Add an option to automatically set the project's base directory when
a project is opened/changed (closes #2554027).
* waf, wscript:
Update to waf 1.5.3 and use modern task syntax in the wscript.
2009-01-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/plugins.c, src/plugindata.h, src/utils.c, plugins/filebrowser.c,
plugins/geanyfunctions.h:
Add utils_string_replace_first() to the plugin API.
Allow entering paths prefixed with '~' in the filebrowser path entry.
Show the full path for files and folders in the filebrowser plugin
as tooltips.
* HACKING, doc/plugins.dox:
Add a few notes about basic plugin writing guidelines.
* doc/plugins.dox, src/dialogs.c, src/document.c, src/editor.c,
src/editor.h, src/filetypes.c, src/msgwindow.c, src/sciwrappers.c,
src/ui_utils.c, src/ui_utils.h, src/utils.c:
Add some missing @since tags to the API documentation of various
functions.
2009-01-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* autogen.sh:
Add a check for 'libtoolize' (suggested by Greg Smith, thanks).
* tagmanager/fortran.c:
Update Fortran parser from CTags SVN (closes #2545000).
2009-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Set the documents' mtime field properly for checking disk file
changes.
* src/document.c, src/keyfile.c, src/ui_utils.c, src/ui_utils.h:
Add a hidden preference "allow_always_save" to make the Save buttons/
menu items always sensitive and allow saving files even without
changes.
* plugins/filebrowser.c:
Use the selection 'changed' signal of the treeview to update the
popup menu items and show the popup menu on mouse button press events
so right clicking on items will select them first.
* doc/plugins.dox, plugins/demoplugin.h:
Mention necessary header includes in the plugin signal descriptions.
Add missing header includes for the demoplugin.
* doc/pluginsymbols.c, plugins/geanyfunctions.h, src/about.c,
src/build.c, src/callbacks.c, src/plugindata.h, src/plugins.c,
src/utils.c, src/utils.h:
Rename utils_start_browser() in utils_open_browser() and add it to
the plugin API.
Add plugin symbol plugin_help() which is called by Geany when the
plugin should show its documentation (if any). This symbol is
optional, plugins can omit it if not needed.
Add a Help button next to the Configure button in the plugin manager
dialog to easily open a plugin's documentation if available.
* doc/geany.txt, doc/geany.html:
Remove the square brackets around Hidden preferences table titles to
avoid confusion with section titles in the config file.
Add the new hidden pref 'allow_always_save'.
2009-01-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Fix legacy file monitoring since I broke once more.
* src/geanyentryaction.c, src/ui_utils.c, src/ui_utils.h:
Add a clear icon to the toolbar search and goto text fields
(will be available with GTK >= 2.16).
* plugins/geanyfunctions.h, src/build.c, src/plugindata.h,
src/plugins.c, src/printing.c, src/search.c, src/ui_utils.c,
src/ui_utils.h:
Add a progressbar widget to the statusbar and use it to show progress
when building with the Make commands, when printing and when using
Find in Files.
Add progressbar convenience functions and ui_entry_add_clear_icon()
to the plugin API.
2009-01-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, geany.glade:
Split Prefs dialog General tab into sub-notebook with Startup and
Miscellaneous tabs. Merge Search tab into Miscellaneous tab.
* src/search.c:
Remember whether find/replace all expanders were expanded.
* src/search.c:
Rename static structs, group by dialog.
* src/search.c:
Refactor with create_find_dialog().
2009-01-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* po/cs.po, THANKS: Update of Czech translation. Thanks to Karel Kolman
for providing.
2009-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Use g_timeout_add_seconds() instead of g_timeout_add().
Add missing NULL check in monitor_file_changed_cb().
Reset the file status when saving a file failed.
Disable GIO based file monitoring for now since it doesn't work yet
as stable as it should. Define USE_GIO_FILEMON to use.
* src/utils.c:
Use g_file_set_contents() to write files to disk in
utils_write_file() for better error checking and to avoid corruption
of config files when there is no more free disk space.
This is not used for saving documents (part of Debian bug #503391).
* src/dialogs.c:
Use the stock overwrite confirmation dialog provided by GTK 2.8
in the Save As dialog.
2009-01-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/socket.c:
Minor cleanup in the socket code.
When files are opened remotely, always use gtk_window_present() to
bring the main window to front or whatever the window manager decides
to do (part of #2276179).
On Windows, we send a pointer to the main window to the remote
instance which then brings the window to the front (grab focus). This
should work better than the previous implementation and should avoid
the blinking tasklist item.
* HACKING, README, wscript, configure.in, doc/geany.html,
doc/geany.txt, geany.nsi, src/geany.h, src/notebook.c, src/utils.c:
Increase minimum required GTK version to 2.8.
2009-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Refactor with create_replace_dialog().
* src/search.c:
Reorder replace dialog 'replace all' buttons.
2009-01-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Reuse the locale-encoded filename in document_save_file().
Use an unique "monitor" prefix for file monitoring functions.
Don't check disk status for files which are marked to be ignored.
Reset file disk status when manually reloading a file.
Various improvements to the GIO-based file disk checking code.
* src/document.c, src/keyfile.c, src/search.c, src/tools.c,
src/utils.c, src/vte.c, tagmanager/tm_source_file.c:
Replace remaining occurrences of '__func__' with 'G_STRFUNC'.
* plugins/geanyfunctions.h, src/dialogs.c, src/plugindata.h,
src/plugins.c:
Add dialogs_show_input_numeric() to the plugins API.
2009-01-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c:
Disable documents popup menu items when invalid.
Make close, save menu items work for all children when a parent row
is selected.
* src/notebook.c:
Fix focusing the editor after clicking on a notebook tab.
2009-01-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/utils.c:
Skip disk changes detection for all remote files.
Don't try to detect a remote file when running on old GLib versions
without GIO (< 2.16).
2009-01-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/ui_utils.h, src/prefs.c, src/plugindata.h,
src/treeviews.c, src/keyfile.c, geany.glade:
Use tree for Documents sidebar, grouped by path.
Remove Documents show full path pref.
Use enum for documents tree store column ids.
2009-01-18 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/utils.c: Added a missing g_free().
2009-01-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetype_extensions.conf, data/filetypes.oms,
scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
scintilla/KeyWords.cxx, scintilla/LexOMS.cxx, scintilla/Makefile.am,
scintilla/makefile.win32, src/editor.c, src/filetypes.c,
src/filetypes.h, src/highlighting.c, src/templates.c, wscript:
Remove filetype O-Matrix (probably unused for years).
* src/keybindings.c, src/keybindings.h:
Reorder some keybindings.
* src/dialogs.c, src/document.c, src/document.h, src/documentprivate.h,
src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
Add document_save_file_as and document_rename_file to the plugin API.
If GIO is available, use GFileMonitor to watch for file disk changes
and indicate them immediately using an orange tab label colour.
Break plugin ABI for this and the last commits.
* src/build.c:
Disable the Build menu item in the Build toolbar button explicitly
for LaTeX files.
Update the tooltip for the Build toolbar button according to the last
used action.
2009-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.nsi:
Major improvements for the Windows installer:
Register ".geany" as Geany Project File extension.
Show a checkbox to open the Release Notes at the end of the
installation.
When the installer is executed without admin privileges,
install Geany only for the user. Otherwise, install Geany
for All Users.
Fix problems with automatic uninstallation at startup of the
installation when the installation directory were different.
Install GTK translation files only if installation of translation
files were requested (saves about 22 MB otherwise).
* src/msgwindow.c:
Properly fix parsing of compiler error messages.
* data/filetypes.nsis:
Update keywords lists.
* doc/geany.txt, src/build.c, src/build.h, src/images.c, src/toolbar.c,
src/ui_utils.c, src/ui_utils.h:
Add 'Build' toolbar button with a submenu for Make actions.
Make use of ui_image_menu_item_new() for some menu items.
Remove tooltips from menu items.
* Makefile.am, geany.nsi, data/c99.tags, data/global.tags,
doc/geany.html, doc/geany.txt, scripts/create_c_tags.sh,
src/symbols.c, tagmanager/tm_workspace.c:
Remove GTK tags (data/global.tags).
Add C (C99) tags (data/c99.tags) and a script to generate them).
2009-01-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c, src/keyfile.c:
Prevent type-punned pointer warnings with gcc 4.1.
2009-01-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c, doc/geany.txt, doc/geany.html, doc/geany.1.in:
Rename command line option --debug to --verbose.
Change short form of --version from -v to -V.
* geany.glade, src/dialogs.c, src/interface.c, src/printing.c,
src/search.c, src/vte.c:
Remove tooltips from menu items.
Don't use full stops in tooltips for short sentences.
* doc/geany.txt, doc/geany.html:
Add documentation for some missing options.
2009-01-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/global.tags, data/latex.tags, data/pascal.tags, data/php.tags,
data/python.tags, doc/geany.html, doc/geany.txt,
scripts/create_php_tags.php, scripts/create_py_tags.py,
tagmanager/include/tm_tag.h, tagmanager/tm_project.c,
tagmanager/tm_tag.c, tagmanager/tm_workspace.c:
Add a format specification in global tags files and implement
an additional fallback if the specification is missing.
Adjust code and scripts which generate global tags files to
add the new format specification.
Update global tags files.
Add documentation for the two supported global tags files formats.
* src/msgwindow.c:
Strip the compiler error messages to fix possibly broken message
parsing.
* win32-config.h, src/makefile.win32:
Fix Windows build: don't use GIO.
Link against GIO anyways just to be safe with GTK 2.14.
* geany.glade, src/highlighting.c, src/interface.c, src/keyfile.c,
src/plugindata.h, src/ui_utils.h:
Add GUI pref to invert all colours for syntax highlighting.
2009-01-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* data/filetypes.vala:
Add default build commands (other sections are commented out and
untested).
2009-01-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in, wscript, src/Makefile.am, src/utils.c:
Fix build with GTK 2.12 by adding GIO compile and linker flags
(closes #2498580).
* configure.in, plugins/splitwindow.c, src/callbacks.c, src/document.c,
src/document.h, src/filetypes.c, src/highlighting.c,
src/keybindings.c, src/plugins.c, src/search.c, src/socket.c,
src/symbols.c, tagmanager/read.h:
Fix several compiler warnings and build errors
(patch by Daniel Richard G., thanks).
* data/snippets.conf, doc/geany.html, doc/geany.txt, src/editor.c,
src/editor.h, src/keybindings.c, src/keybindings.h, src/Makefile.am,
src/makefile.win32, src/plugindata.h, src/utils.c, src/utils.h,
src/about.c, src/queue.c, src/queue.h, THANKS, wscript:
Support multiple %cursor% wildcards in Snippets. To switch between
%cursor% wildcards, use the new keybinding 'Move cursor in snippet'
(patch by Thomas Martitz, thanks).
* src/highlighting.c:
Don't fold toplevel PHP script tags (part of #2003912).
Replace remaining occurences of sptr_t by uptr_t in the third
argument of SSM() calls.
* plugins/Makefile.am, src/Makefile.am, src/utils.c,
tagmanager/include/Makefile.am:
Fix build without GIO again (sorry).
Remove trailing slashes in Makefile.am's
(patch by Daniel Richard G., thanks).
2009-01-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in, win32-config.h, wscript, src/main.c, src/main.h,
src/utils.c, src/utils.h:
Add checks for GIO (GLib >= 2.16) support.
Allow to specify files on the command line and from remote instances
to be URIs (local and with GIO also remote URIs).
* src/document.c, src/documentprivate.h, src/utils.c, src/utils.h:
Add utils_is_remote_path().
Add private field 'is_remote' to GeanyDocument to indicate whether
an opened file is locally accessed or via gvfs-fuse.
2009-01-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/prefs.c, src/stash.c, src/keyfile.c:
Fix using prefs dialog editor & files tab spin button values when
they've just been edited and Alt-O is used to close the dialog
without moving the focus.
* src/prefs.c:
Fix remaining spin buttons in the prefs dialog (closes #2492317).
2009-01-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/basic.c:
Fix some bugs in parsing FreeBasic code (#2489605).
* src/build.c:
Don't remove leading whitespace from compiler output for compilers
like gfortran which use space for indentation in error messages.
* data/filetypes.tcl:
Update keyword list for Tcl/Tk 8.5.
2009-01-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* wscript, THANKS, data/filetype_extensions.conf, src/templates.c,
scintilla/KeyWords.cxx, scintilla/LexAda.cxx, scintilla/Makefile.am,
scintilla/makefile.win32, src/about.c, src/editor.c, src/filetypes.c,
src/filetypes.h, src/highlighting.c, src/plugindata.h:
Add filetype Ada (closes #1811306 and #1765830,
patch by Philipp Gildein, thanks).
* src/filetypes.c, data/filetype_extensions.conf:
Add *.desktop as extension for the Conf filetype.
* *.*:
Update copyright information
* plugins/saveactions.c:
Don't write the default filetype to the config if it isn't set.
2009-01-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/support.h:
Prevent compile errors in plugins when GETTEXT_PACKAGE is not
defined.
* tagmanager/make.c:
Fix crash in Makefile parser when trying to read defines.
2009-01-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/keybindings.c, src/geanyobject.c,
src/geanyobject.h, src/geany.h, src/callbacks.c, src/callbacks.h,
geany.glade:
Fix not switching to 2nd last used document when the last used
document has been closed (#1945162).
- Code changes:
Move geany_object extern to geany.h.
Remove CallbacksData struct.
* src/toolbar.c, src/project.c, src/callbacks.c, src/keyfile.c,
src/filetypes.c, src/document.c, src/plugins.c, src/main.c,
src/editor.c, src/symbols.c:
Remove geanyobject.h includes.
Use GObject instead of unused GeanyObject argument.
* doc/geany.txt, doc/geany.html:
Update Scintilla regular expression info for v1.77 (character
classes, ASCII escaping, character sets containing square
brackets peculiarities). Adapted from SciTE doc.
2009-01-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, src/main.c:
Add dialog for switching to last used tab, which disappears when
releasing the modifier key. (Useful once MRU switching is
implemented).
Connect window key-press-event in keybindings.c.
* src/keybindings.c:
Group some View callbacks together.
2008-12-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Fix description of a Project pref (fixes #2476854).
2008-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c:
Avoid unnecessary critical warnings when setting tooltips for the
symbol list with non-UTF-8 files (closes #2473376).
* geany.glade, src/interface.c, src/prefs.c:
Use a GeanyWrapLabel for the project indentation settings warning
text in the prefs dialog.
2008-12-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/prefs.c, src/geanyobject.c, src/geanyobject.h, src/stash.c,
src/stash.h, src/keyfile.c, src/plugins.c, src/main.c,
src/plugins.h:
Don't forget active plugins after disabling plugin support.
Use Stash for plugin-related prefs.
Add geany_object "save-settings" signal (for core only).
Add stash_group_add_string_vector().
* src/main.c:
Fix creating a new configuration directory (oops).
* src/ui_utils.h, src/plugindata.h, src/stash.c, src/keyfile.c,
src/search.c, src/search.h, src/ui_utils.c:
Add ui_hookup_widget() macro to the API.
Make saving Stash string settings NULL-safe.
Move fif_extra_options search setting code to search.c.
2008-12-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/interface.h, src/project.c, src/project.h,
src/projectprivate.h, src/stash.c, src/stash.h, src/main.c,
src/editor.c, src/Makefile.am, geany.glade:
Add Project Indentation prefs, which override the Editor
Preferences dialog options. For new projects, these default to the
editor indent prefs.
- Plugins:
For compatibility with this change, use editor_get_indent_prefs().
- Code changes:
The Project Properties dialog is now created by Glade, but (for
now) the existing options are added manually.
Add GeanyProjectPrivate project field.
Add stash_group_set_use_defaults().
* src/interface.c, src/prefs.c, src/prefs.h, geany.glade:
Show warning label on Preferences dialog Editor tab when a project
is open.
Move Indentation frame to a separate tab.
2008-12-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/stash.c, src/stash.h, src/keyfile.c:
Rename stash_group_load() -> stash_group_load_from_key_file().
Rename stash_group_save() -> stash_group_save_to_key_file().
* src/prefs.c, src/stash.c, src/stash.h, src/keyfile.c:
Remove remaining PrefEntry code, use Stash instead.
Add stash_group_add_spin_button_integer(),
stash_group_add_combo_box().
* src/prefs.c, src/stash.c, src/stash.h, src/keyfile.c:
Add stash_group_add_combo_box_entry(), stash_group_add_entry().
2008-12-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/global.tags:
Update for GTK+ 2.14.5.
Command used (on Debian Sid/Experimental):
'CFLAGS=`pkg-config --cflags gtk+-2.0` geany -g gtk-2.14.c.tags
/usr/include/gtk-2.0/gtk/gtk.h'
* src/document.c:
Only stat() files after saving for the timestamp when
file_prefs.disk_check_timeout is set (to greater 0).
Call realpath() on files only when opening or changing the filename
but not on every save.
* data/filetype_extensions.conf, data/filetypes.cmake,
data/filetypes.nsis, scintilla/KeyWords.cxx, scintilla/LexCmake.cxx,
scintilla/LexNsis.cxx, scintilla/Makefile.am,
scintilla/makefile.win32, src/editor.c, src/filetypes.c,
src/filetypes.h, src/highlighting.c, src/plugindata.h,
src/templates.c, wscript:
Add new filetypes CMake and NSIS.
2008-12-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/rest.c:
Parse sections in the order of first-used underline character,
which can now be any punctuation character (as per the spec).
2008-12-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/symbols.c, tagmanager/fortran.c:
Use plurals for HTML symbol list parent items.
Fix Fortran Types showing as Interfaces in the symbol list.
* src/symbols.c:
Show Structs separately from Typedefs / Enums for the C symbol list.
* src/keybindings.c, src/search.c, src/editor.c:
Allow Find Usage for selections even when the cursor is not at a
word character.
2008-12-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Fix too ambitious auto tag closing in HTML files inside embedded
scripting languages.
Complete HTML styles in is_comment_style() and is_string_style().
* src/callbacks.c, src/callbacks.h:
Remove dead code.
* src/editor.c, src/document.c:
Remove remaining uses of doc->editor and use GeanyEditor directly.
* wcript, src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
src/encodings.c, src/filetypes.c, src/keybindings.c, src/keyfile.c,
src/main.c, src/Makefile.am, src/makefile.win32, src/msgwindow.c,
src/plugindata.c, src/plugins.c, src/prefs.c, src/project.c,
src/search.c, src/support.c, src/support.h, src/templates.c,
src/toolbar.c, src/tools.c, src/treeviews.c, src/ui_utils.c,
src/vte.c:
Move implementation of lookup_widget() into ui_lookup_widget().
Change uses of lookup_widget() to ui_lookup_widget().
Remove now unneeded support.c.
Use GLib gettext macros in support.h instead of own ones.
2008-12-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/html.c:
Also parse headings with tags inside header tag.
* src/plugins.c:
On quitting, sort list of active plugins by plugin name.
2008-12-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c:
Fix broken session file support on Windows.
* doc/geany.txt, doc/geany.html:
Retitle the Terminal/VTE preferences tab section.
Change (again) the key combinations for creating
rectangular selections.
* doc/Doxyfile.in, doc/plugins.dox, plugins/demoplugin.c, src/editor.c,
src/editor.h, src/document.c, src/geanyobject.c, src/geanyobject.h,
src/geany.h, src/plugindata.h:
Add "editor-notify" to the plugin API.
This signal is emitted whenever something in an editor widget
changes, e.g. a character was typed.
* src/editor.c:
Make Ctrl-click working again to create rectangular selections when
no braces and valid definitions are below the cursor (to whose would
be jumped then).
* src/filetypes.c, data/filetypes.fortran:
Change comment character to '!' for Fortran 90 (closes #2438423).
* waf, wscript:
Update Waf and various small fixes for the wscript.
* geany.glade, src/interface.c:
Re-add can_focus flag to the notebook widgets in the preferences
dialog to make keyboard navigation easier (closes #2417200).
* src/dialogs.c:
When allowing non-local locations in the File Open dialog, we should
do this in the File Save dialog as well.
2008-12-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c, src/keyfile.h, src/search.c, src/main.c:
Remember Find in Files mode at startup.
Add configuration_add_pref_group(), with separate array for GUI
prefs.
Move search pref group to search.c.
* src/editor.c:
Fix replacing %ws% and %newline% in snippets (oops).
* doc/geany.txt, doc/geany.html, data/snippets.conf:
Snippet indentation will be replaced according to indent mode.
Minor edit of snippet docs.
* src/search.c:
Set Find in Files directory entry to project base path or current
working directory if the current file has no path.
* src/editor.c:
Move %ws and %newline% replacement into snippets-only code.
* HACKING:
Add GDB 'Stop on warnings' and 'Running with batch commands'
sections.
2008-12-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c:
Remove checks for the executable when executing a file.
The executed interpreter or the shell should handle file not found
error and print appropriate messages.
This makes it a bit more flexible, e.g. allowing to use gcj for
Java files.
2008-12-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/prefs.c, src/stash.c, src/stash.h, src/keyfile.c:
Use Stash radio button prefs instead of RadioPrefEntry.
Add stash_group_add_radio_buttons().
2008-12-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Improve auto-closing of braces, brackets and quotes
(patch by Guillaume de Rorthais, thanks).
* tagmanager/get.c, tagmanager/tm_work_object.c,
tagmanager/tm_workspace.c:
Fix a few compiler warnings about unused return values caused
by recent glibc versions.
2008-12-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/plugins.c, src/toolbar.c:
Fix plugin toolbar icon placement. Now they are always inserted
before the Quit button if it is the last toolbar element or at
the end otherwise.
* src/toolbar.c, src/ui_utils.c:
Move ui_auto_separator_add_ref() and related code back to ui_utils.c
since it's no toolbar specific code (oops).
* src/symbols.c:
Rename symbol list label for embedded script functions from
'Javascript functions' to 'Functions' to avoid confusion when it
finds symbols from other embedded languages (part of #2317001).
* src/socket.c:
Update comment about using different configuration directories with
multiple instance support on Windows.
* doc/geany.txt, doc/geany.html:
On Windows rectangular selections can only be created by pressing
Ctrl and Alt where on other systems Ctrl and Shift works too.
2008-12-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.h, src/prefs.c, src/stash.c, src/stash.h, src/keyfile.c,
src/keyfile.h, src/symbols.c:
Add foreach_ptr_array() macro to utils.h.
Merge toggle button prefs code into keyfile.c Stash code.
Add toggle button support to Stash code.
* src/interface.c, src/ui_utils.h, src/notebook.c, src/keyfile.c,
doc/geany.txt, doc/geany.html, geany.glade:
Add an interface pref for whether to hide additional widgets when
double-clicking on document notebook tabs (off by default) - closes
#2300430.
* src/sciwrappers.c, src/sciwrappers.h, src/editor.c, doc/geany.txt,
doc/geany.html:
Make Shift+Mouse wheel scroll the editor view horizontally
(#2410732).
Add function sci_scroll_columns().
* src/editor.c:
Make snippets only complete for the word stem to the left of the
cursor (#2390597).
Make snippets complete even when text is to the right of the
cursor and the hidden pref is not set, unless the snippet
completion key is space.
Fix possible memory leak when reading current word.
Add editor_read_word_stem().
2008-12-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/c.c, tagmanager/get.h:
Various improvements for parsing Vala files (mainly fix handling of
function attributes, fix nested types handling, add some missing
keywords, patch by Colomban Wendling, thanks).
* data/ui_toolbar.xml:
Remove the list of available actions and instead refer to the
documentation for an up to date list.
* THANKS, src/about.c, src/callbacks.c, src/callbacks.h, src/images.c,
src/main.c, src/toolbar.c, src/ui_utils.c, src/ui_utils.h,
doc/geany.txt, doc/geany.html:
Add new toolbar elements: Close All and Preferences.
The icon for Close All was kindly provided by Tyler Mulligan, thanks.
Remove GeanyStockItem and add ui_new_pixbuf_from_stock() as a
replacement.
2008-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/stash.c, src/stash.h, src/keyfile.c, src/keyfile.h, src/main.c:
Move Stash data types to stash.c, so Stash functions could be used
by plugins without breaking the ABI when appending fields. Also the
user code is neater and has type checking.
* src/interface.c, geany.glade:
Don't expand Prefs dialog Editor->Completions tab frames.
2008-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* wscript:
Little reformatting.
Beautify the Waf output when generating geanyfunctions.h.
* src/geany.c, src/ui_utils.c, src/ui_utils.h, src/images.c:
Move stock image name macro and image enum to ui_utils.h.
Remove old, unused images.
2008-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Fix showing tooltips for notebook tab labels (oops).
* src/editor.c:
Fix GLib warning when user enters out of range line number in
toolbar.
2008-12-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c:
Fix pressing escape in the sidebar and toolbar focus the editor.
* src/keyfile.c, src/prefs.c, src/vte.c, src/vte.h:
Add a setting for the VTE to enable/disable a blinking cursor.
This is useful for future VTE versions where the cursor blinks
by default which might be not be desirable.
* geany.glade, src/callbacks.c, src/callbacks.h, src/editor.c,
src/interface.c, src/main.c, src/prefs.c, src/ui_utils.c,
src/ui_utils.h:
Add Line number and Markers margin settings to the prefs dialog.
Add View->Editor submenu and group there the Line numbers,
Markers margin, Show white space, Show line endings and Show
indentation guides settings.
* plugins/filebrowser.c:
When using the focus path entry and file list keyboard shortcuts,
make sure the filebrowser tab is the current notebook tab in the
sidebar (closes #2402290).
* wscript:
Update 'geanyfunctions.h' when using Waf.
2008-12-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/scintilla_changes.patch:
A patch to Scintilla 1.77 containing our changes to Scintilla
(these are mainly commentation character changes and the
column mode editing patch).
* data/ui_toolbar.xml, doc/geany.html, doc/geany.txt, geany.glade,
po/POTFILES.in, src/build.c, src/callbacks.c, src/callbacks.h,
src/geanyentryaction.c, src/geanyentryaction.h,
src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
src/interface.c, src/keybindings.c, src/keyfile.c, src/main.c,
src/Makefile.am, src/makefile.win32, src/navqueue.c, wscript,
src/plugindata.h, src/plugins.c, src/prefs.c, src/templates.c,
src/toolbar.c, src/toolbar.h, src/ui_utils.c, src/ui_utils.h:
Rewrite of the whole toolbar code. Now it is based on GtkActions
and all elements can be added/removed/reordered using a simple
XML file.
Add GeanyMenubuttonAction and GeanyEntryAction as GtkAction
subclasses to have menu buttons and text entries in the toolbar.
Change the Goto line toolbar item back to a plain text entry again.
* src/callbacks.c, src/geany.h, src/main.c, src/prefs.c, src/toolbar.c,
src/toolbar.h, src/ui_utils.c:
Add new stock icon GEANY_STOCK_SAVE_ALL.
Remove code to manually update the size of the 'Save All' toolbar
icon and use the GEANY_STOCK_SAVE_ALL stock icon instead.
* src/ui_utils.c, src/toolbar.c:
If the requested file in ui_add_config_file_menu_item() doesn't exist
in the user's config directory, try reading it from the global
data directory and use the contents for the new file.
Add a menu item to 'Tools->Configuration files' for the toolbar UI
definition.
* src/Makefile.am, wscript:
Install toolbar.h.
* src/ui_utils.c:
Fix broken recent files menus.
* glade.geany, src/callbacks.c, src/callbacks.h, src/interface.c,
src/keybindings.c:
Remove on_go_to_line1_activate() and directly use
on_go_to_line_activate() instead.
* src/prefs.c, src/treeviews.c, src/msgwindow.c:
Make use of ui_widget_modify_font_from_string() at various places.
Set the message window font also for the scribble.
* Makefile.am, wscript, geany.nsi:
Add 'ui_toolbar.xml' to EXTRA_DIST, include it in the Windows
installer and install it also when using Waf.
2008-12-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
src/callbacks.c, src/plugins.c, src/editor.c,
plugins/geanyfunctions.h:
Rename sci_cmd() to sci_send_command() to match the plugin API and
fix the generated macro name.
* src/plugindata.h, src/plugins.c:
Add GeanyFunctions::p_msgwin to fix the prefix for generated macros.
Deprecate GeanyFunctions::p_msgwindow.
* plugins/saveactions.c:
Fix use of filetypes_array.
* src/build.c, src/plugindata.h, src/msgwindow.c, src/msgwindow.h,
src/search.c, src/plugins.c, plugins/geanyfunctions.h:
Rename msgwin_compiler_add -> msgwin_compiler_add_string.
Rename msgwin_msg_add -> msgwin_msg_add_string.
Rename msgwin_compiler_add_fmt -> msgwin_compiler_add.
Rename msgwin_msg_add_fmt -> msgwin_msg_add.
This fixes 2 geanyfunctions.h macros, and is more consistent with
msgwin_status_add().
2008-12-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/support.c, src/support.h:
Removed unused code.
* src/main.c, src/document.c, src/symbols.c:
Don't mark console messages as translatable.
Add two comments for translators.
* plugins/genapi.py:
Beautify the header comments of the generated API file.
Add command line option to suppress status output.
* THANKS, geany.glade, src/about.c, src/editor.c, src/editor.h,
src/interface.c, src/keyfile.c, src/plugindata.h, src/prefs.c:
Add auto-closing of braces, brackets and quotes
(patch by Guillaume de Rorthais, thanks).
* geany.glade, src/interface.c:
Don't mark labels of invisible menu items as translatable.
2008-12-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, src/document.h, doc/pluginsymbols.c,
doc/plugins.dox, plugins/geanyfunctions.h, plugins/pluginmacros.h,
plugins/genapi.py:
Deprecate pluginmacros.h in favour of geanyfunctions.h.
Move geany macro to plugindata.h.
Remove geanyfunctions.h dependency on pluginmacros.h.
* src/plugins.c, plugins/geanyfunctions.h, plugins/genapi.py:
Allow generating macros for functions with digits in the name.
Don't generate dummyprefix_scintilla_send_message and lookup_widget
macros.
* plugins/saveactions.c, plugins/export.c, plugins/vcdiff.c,
plugins/filebrowser.c, plugins/splitwindow.c, plugins/htmlchars.c,
plugins/classbuilder.c:
Update to use geanyfunctions.h.
* data/filetypes.common:
Make whitespace setting not override background colour by default,
otherwise e.g. unterminated strings in C can have inconsistent
background colour when Show Whitespace is enabled.
2008-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/Makefile.am, src/Makefile.am:
Move target for geanyfunctions.h to plugins/Makefile.am and depend
on src/plugins.c instead of all plugin API headers.
* src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
Add scintilla_send_message() to the API with its own prefix, so
the geanyfunctions.h macro works.
Deprecate p_sci->send_message().
Add scintilla_new() to the plugin API.
* src/plugindata.h, src/filetypes.c, src/filetypes.h, src/document.c,
src/plugins.c, src/document.h, plugins/geanyfunctions.h:
Add document_index(), filetypes_index() array accessor functions to
the plugin API.