forked from geany/geany
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.pre-1-22
19680 lines (14631 loc) · 733 KB
/
ChangeLog.pre-1-22
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
2011-10-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/sidebar.c, src/dialogs.c, src/callbacks.c,
src/notebook.c, src/document.c, src/document.h, src/editor.c:
Add document_show_tab().
2011-10-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/Makefile.am, doc/makefile.win32:
Add doc/makefile.win32 for docs generation.
* scintilla/Makefile.am, src/Makefile.am,
tagmanager/mio/Makefile.am, tagmanager/Makefile.am, Makefile.am:
Fix missing tagmanager/mio/makefile.win32 in EXTRA_DIST.
Include makefile.win32 in EXTRA_DIST recursively, not at top-level.
2011-10-06 Colomban Wendling <colomban(at)geany(dot)org>
* autogen.sh, configure.ac:
Modernize configure.ac a bit.
* configure.ac, m4/geany-revision.m4, m4/geany-binreloc.m4,
m4/geany-gnu-regex.m4, m4/geany-plugins.m4, m4/geany-i18n.m4,
m4/geany-mingw.m4, m4/geany-socket.m4, m4/geany-vte.m4,
m4/geany-utils.m4, m4/geany-status.m4, m4/geany-the-force.m4:
Extract some configure logic to separate files for better
readability.
2011-10-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/lregex.c, tagmanager/php.c:
Fix CTags bug 2970274 - when using addCallbackRegex the callback
receives less than the number of matches. The number is still not
correct (due to POSIX regex compatibility) but at least includes
all non-empty matches now.
http://sourceforge.net/tracker/index.php?func=detail&aid=2970274
&group_id=6556&atid=106556
2011-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/js.c:
Update from CTags SVN jscript.c.
2011-10-03 Colomban Wendling <colomban(at)geany(dot)org>
* TODO, configure.ac, doc/geany.txt, geany.nsi, geany_private.rc,
src/geany.h, win32-config.h, wscript:
Post-release version bump.
* src/callbacks.c:
Fix "toggle case" when there is no selection.
2011-10-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* Merge branches/unstable:
- tagmanager/php.c:
Fix parsing keyword-qualified functions strictly, e.g. don't
parse 'staticfunction' or 'fatfunction'.
- src/utils.c, src/utils.h, src/editor.c:
Use GRegex for snippet indentation replacement - fixes wrong
behaviour with Mac line endings.
- tagmanager/lregex.c, TODO:
Use GRegex for CTags instead of POSIX regex - GRegex is more
powerful. This also fixes a (HTML) performance issue on Windows.
Geany will now print a debug warning when using the "b" CTags
regex flag option for non-extended syntax. This is not currently
used by Geany's parsers.
Note: GNU regex can't be removed yet as it's still used elsewhere
by Geany.
- src/build.c, doc/pluginsignals.c:
When saving on build, prompt for a filename if necessary.
Emit the "build-start" signal only if saving succeeds.
- src/build.c:
Use #ifdef SYNC_SPAWN instead of G_OS_WIN32 for easier testing with
glib's asynchronous spawning (which doesn't work on Windows).
- src/win32.c, src/win32.h, src/dialogs.c:
Use GTK unsaved file dialog on Windows too because the button names
should be specific.
* src/build.c, src/keybindings.c, src/keybindings.h, src/prefs.c:
Support visual reordering of keybinding groups without breaking the
plugin ABI.
Reorder Project group to follow main menu order.
Move Focus, Notebook tab groups last as they don't have
corresponding menu items.
Use keybindings_get_core_group() for fixed group IDs instead of
indexing keybinding_groups.
Make keybindings_lookup_item() only work with a GEANY_KEY_GROUP_
ID, not an index into keybinding_groups.
2011-10-02 Colomban Wendling <colomban(at)geany(dot)org>
* doc/geany.txt, doc/geany.html:
Add myself as an author.
* New release: Geany 0.21 "Gromia".
2011-10-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/images/*.png:
Update documentation images.
* doc/geany.txt, doc/geany.html:
Update documentation for new images.
2011-09-28 Colomban Wendling <colomban(at)geany(dot)org>
* src/utils.c:
Fix utils_string_replace_all() to accept a NULL replacement again.
2011-09-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix not converting \n to document line endings in snippets.
* src/editor.c:
Fix not indenting snippet contents for documents with non-\n line
endings.
2011-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/stash.c, src/keyfile.c, src/keyfile.h, src/ui_utils.c:
Add configuration_add_various_pref_group().
* src/win32.c:
Fix \0 char in format string - save as dialog filter bug.
2011-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c:
Rename use_safe_file_saving various pref to use_atomic_file_saving
as it's not 'safe'. Use old pref if new one is missing for
compatibility with Geany <= 0.20.
* src/prefs.c, src/stash.h, src/stash.c:
Fix making various prefs tree sync with data values when showing
the prefs dialog (patch by Dimitar Zhekov, thanks).
2011-09-17 Frank Lanitz <frlan@frank.uvena.de>
* po/fa.po, THANKS, src/about.c:
Adding Persian translation. Thanks to Moein Owhadi Kareshk
* THANKS: Adding Giuliano Manzitti to THANKS-file.
2011-09-16 Colomban Wendling <colomban(at)geany(dot)org>
* src/ui_utils.c:
Fix document sensitivity of a few menu items.
2011-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, geany.glade:
Change various prefs label to /warn/ the user to read the manual.
2011-09-15 Colomban Wendling <colomban(at)geany(dot)org>
* src/utils.c:
Ask the user to configure a valid browser command if spawning it
fails rather than falling back to some arbitrary hardcoded defaults.
2011-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/win32.c:
Fix uninitialized font size & other fields.
Remove unhooked font dialog apply button.
2011-09-13 Colomban Wendling <colomban(at)geany(dot)org>
* data/filetype_extensions.conf:
Add Markdown extensions from Shared MIME-Info database (closes
#3405321).
* src/filetypes.c:
Add missing MIME type to a few filetypes.
* doc/geany.txt, doc/geany.html:
Fix a few typos.
2011-09-12 Colomban Wendling <colomban(at)geany(dot)org>
* src/symbols.c:
Fix updating symbol list for overloaded C++ symbols (closes
#3406644).
2011-09-02 Colomban Wendling <colomban(at)geany(dot)org>
* src/ui_utils.c:
Fix check for enabling MIME type based icons.
* src/encodings.c, src/filetypes.c:
Plug a few memory leaks.
2011-08-25 Colomban Wendling <colomban(at)geany(dot)org>
* src/utils.h:
Fix foreach_ptr_array() not to crash on arrays with 0 elements.
2011-08-25 Colomban Wendling <colomban(at)geany(dot)org>
* src/document.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
doc/geany.html, data/filetypes.*:
Add support for filetype-specific indentation settings (closes
#3339420 and #3390435).
* src/callbacks.c, src/editor.c, src/editor.h:
Add editor_set_indent_width() to only set indentation width.
* src/callbacks.c, src/callbacks.h, src/document.c, src/document.h,
src/interface.c, geany.glade:
Add menu items to detect indentation settings from document's
content.
2011-08-24 Colomban Wendling <colomban(at)geany(dot)org>
* src/editor.c:
Make completion and word completion support non-ASCII characters
(closes #3313351).
2011-08-21 Colomban Wendling <colomban(at)geany(dot)org>
* src/callbacks.c, src/editor.c, src/editor.h, src/keybindings.c:
Fix search for the current word if it isn't composed of only
GEANY_WORDCHARS (closes #3386129).
2011-08-20 Colomban Wendling <colomban(at)geany(dot)org>
* tagmanager/haskell.c:
Fix tags for one-letter Haskell symbols (closes #3289160).
2011-08-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* doc/plugins.dox:
Update of wording to fix some grammatical issues etc. on plugin howto.
Patch provided by Matthew Brush. Thanks.
* data/filetypes.Cython.conf:
Extend list of primary keywords. Patch by Alexander Eberspächer. Thanks.
2011-08-19 Colomban Wendling <colomban(at)geany(dot)org>
* data/filetype_extensions.conf, data/filetypes.Cython.conf,
data/filetypes.python:
Add Cython filetype (patch by Matthew Brush, thanks).
* src/symbols.c, tagmanager/include/tm_workspace.h,
tagmanager/tm_workspace.c:
Create temporary files used for generating global tags files in the
system directory for temp files.
* tagmanager/diff.c:
Don't make tags for /dev/null in diff files but for the new file
instead (Based on a patch by Yang Hong, thanks).
2011-08-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* doc/plugins.dox:
Update API version used inside plugin howto to a more recent version
(API v211).
2011-08-13 Colomban Wendling <colomban(at)geany(dot)org>
* src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
Focus the editor upon double click on the message and compiler
windows (patch by Dimitar Zhekov, thanks).
2011-08-03 Colomban Wendling <colomban(at)geany(dot)org>
* src/geany.h, plugins/classbuilder.c, plugins/export.c,
plugins/filebrowser.c, plugins/htmlchars.c, plugins/saveactions.c,
plugins/splitwindow.c:
Only include config.h when building Geany (closes #3384026).
2011-07-31 Frank Lanitz <frlan@frank.uvena.de>
* doc/plugins.dox:
Adding some content about PLUGIN_SET_TRANSLATABLE_INFO() into plugin
HowTo as well as a hint to make usage of main_locale_init().
2011-07-28 Colomban Wendling <colomban(at)geany(dot)org>
* src/build.c, src/build.h, src/editor.c, src/interface.c,
src/keyfile.c, src/prefs.c, src/stash.c, src/stash.h,
src/ui_utils.c, geany.glade, doc/geany.txt, doc/geany.html:
Allow to edit formerly hidden preferences in the prefs dialog
(closes #3313315, patch by Dimitar Zhekov and myself, thanks!).
* src/document.c:
Improve indentation width detection to better deal with Java
and Vala files.
2011-06-26 Colomban Wendling <colomban(at)geany(dot)org>
* src/highlighting.c:
Recognize C# and Vala raw and verbatim strings as string styles.
* src/editor.c:
Fix indentation brace matching (closes #3309606).
2011-06-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, doc/geany.txt, doc/geany.html, README, HACKING,
geany.pc.in:
More GTK 2.8 => GTK 2.12 transition.
2011-06-20 Colomban Wendling <colomban(at)geany(dot)org>
* src/document.c, src/document.h, src/keyfile.c, doc/geany.txt,
doc/geany.html:
Add an hidden pref to choose between GIO and plain C unsafe
file saving.
* configure.ac, src/document.c, win32-config.h:
Completely drop HAVE_GIO checks.
2011-06-18 Colomban Wendling <colomban(at)geany(dot)org>
* src/document.c, src/document.h, src/editor.c:
Remove support of size being -1 in document_open_file_list().
* src/utils.c src/utils.h:
Remove support of size being -1 in utils_get_line_endings().
* src/stash.c, src/stash.h:
Make StashWidgetID map to gconstpointer, allowing use of const
strings as the widget key.
2011-06-16 Colomban Wendling <colomban(at)geany(dot)org>
* src/document.c, src/main.c, src/ui_utils.c, src/utils.c:
Remove most of the checks for GIO.
* src/win32.c:
Remove last GLib >= 2.16 check.
2011-06-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/python.c:
Fix two bugs with triple quoted strings within comments
and missing indentation within triple quoted strings
(#3316966, synced from CTags SVN, patch by Elias Pschernig, thanks).
2011-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.python:
Add Cython keywords.
2011-06-13 Colomban Wendling <colomban(at)geany(dot)org>
* configure.ac, src/Makefile.am, src/makefile.win32, wscript:
Bump dependencies to GTK >= 2.12, GLib >= 2.16 and GIO.
* plugins/export.c, plugins/filebrowser.c, plugins/splitwindow.c,
src/build.c, src/dialogs.c, src/document.c, src/highlighting.c,
src/printing.c, src/project.c, src/search.c, src/ui_utils.c,
src/vte.c:
Deprecate ui_widget_set_tooltip_text() in favor of
gtk_widget_set_tooltip_text().
* configure.ac, doc/geany.html, doc/geany.txt, src/callbacks.c,
src/keyfile.c, src/main.c, src/prefs.c, src/printing.c,
src/printing.h:
Enable GTK printing support unconditionally.
* doc/geany.html, doc/geany.txt:
Stop talking about pre-GTK 2.12 tricks.
* geany.glade, src/interface.c:
Fix Printing preferences page alignment.
* src/notebook.c:
Remove pre-GTK 2.10 tab DnD support.
* src/pluginutils.c, tagmanager/tm_file_entry.c,
tagmanager/tm_symbol.c, tagmanager/tm_tag.c:
Unconditionally use GSlice allocator.
2011-06-11 Colomban Wendling <colomban(at)geany(dot)org>
* src/dialogs.c, src/main.c, src/ui_utils.h:
Always destroy open and save dialog after use. This also helps
working around a long-living GTK+ bug, hopefully closing #3311258,
#3304273, #3201050, #3163742, #3153120 and #2985896.
2011-06-03 Colomban Wendling <colomban(at)geany(dot)org>
* src/callbacks.c, src/document.c, src/document.h, src/editor.c,
src/search.c, src/search.h:
Show the actual text the user searched for in messages rather than
the internal one (patch by Eugene Arshinov, thanks).
* src/search.c:
Also use the actual user search in the combo box history.
2011-06-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/document.h, src/ui_utils.c, src/ui_utils.h:
Add ui_focus_current_document() and document_grab_focus().
* src/project.c:
Focus the editor widget after loading project session files.
* scripts/create_py_tags.py:
Ignore tags ending with an underscore.
Dynamically determine the path of Python's standard library instead
of hardcoding it.
Parse all modules of the Python standard library instead of a
hardcoded list of filenames.
2011-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.java:
Move keyword 'enum' to primary keywords (closes #3305737).
2011-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/python.c:
When checking for literal strings to ignore, consider also
unicode, binary and raw strings.
* src/plugins.c:
Define and use get_plugin_path() always and move platform dependent
code into the function definition.
Do not add active plugins to the list of plugins when they are
already in the list (closes #3308191).
Check whether the custom plugin path is one of the user or system
plugin paths and if so, ignore it.
2011-05-27 Colomban Wendling <colomban(at)geany(dot)org>
* src/prefs.c:
Fix preferences help button when activated with the keyboard.
2011-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/about.c, src/build.c, tagmanager/tm_workspace.c:
Remove unused variables (patch by Eugene Arshinov, thanks).
* src/stash.c:
Remove unused variables (suggested by Eugene Arshinov).
* src/ui_utils.c, doc/geany.txt, doc/geany.html:
Do not allow 'Save All' even if 'allow_always_save' is set
(patch by Dimitar Zhekov, thanks).
* data/filetypes.java:
Add 'enum' to secondary keywords
(closes #3305737, patch by Matthew Brush, thanks).
2011-05-12 Colomban Wendling <colomban(at)geany(dot)org>
* src/encodings.c:
Update the HTML content-type encoding detection regexp to accept some
more valid inputs (closes #3300703).
2011-05-11 Colomban Wendling <colomban(at)geany(dot)org>
* src/plugins.c:
Improve the plugin manager dialog a little.
* src/geanywraplabel.c, src/geanywraplabel.h, src/keybindings.c,
src/plugins.c:
Cleanup GeanyWrapLabel a bit.
2011-05-09 Colomban Wendling <colomban(at)geany(dot)org>
* plugins/splitwindow.c:
Remove widget reparenting in Split Window plugin. This fixes plugin
issues on Windows (patch by Matthew Brush, thanks - closes #2725342).
* plugins/Makefile.am, plugins/makefile.win32, wscript:
Enable SplitWindow build on Windows again (re-apply Enrico's patch).
2011-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* HACKING:
Add note about patching Glade 2.12 to compile it with
newer GTK versions.
2011-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c:
Fix 'Toolbar Preferences' popup menu item (oops).
2011-05-03 Colomban Wendling <colomban(at)geany(dot)org>
* doc/geany.txt, doc/geany.html:
Update the documentation for project patterns and recent FIF dialog
changes.
2011-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, doc/geany.txt, doc/geany.html:
Allow translations for color scheme [theme_info] keys.
* src/build.c, src/filetypes.c, src/filetypes.h, src/main.c:
Save filetype build commands straight after editing them instead of
at shutdown (patch by Dimitar Zhekov, thanks).
2011-05-02 Colomban Wendling <colomban(at)geany(dot)org>
* src/plugindata.h:
Bump plugin API version so a plugin can know the project file
patterns are visible by the user.
2011-05-01 Colomban Wendling <colomban(at)geany(dot)org>
* src/search.c:
Fix pattern filtering when not searching in subdirectories.
2011-04-30 Colomban Wendling <colomban(at)geany(dot)org>
* src/project.c:
Fix project patterns and make them visible (based on a patch
by Jiří Techet, thanks).
* src/search.c:
Use project patterns in the FIF dialog (based on a patch
by Jiří Techet, thanks).
* src/msgwindow.c:
Open the file in the msgwindow even if no line number is specified.
2011-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, data/filetype_extensions.conf:
Revert 'Compiled' filetype group back to 'Programming' (couldn't
agree on whether e.g. Java is a compiled language).
* doc/geany.txt, doc/geany.html:
Add section 'Filetype group membership'.
* src/highlighting.c, doc/geany.txt, doc/geany.html,
data/colorschemes/alt.conf:
Read color scheme name and description for menu item label and
tooltip (based on patch by Matthew Brush, thanks).
2011-04-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/filetypes.h:
Remove now unnecessary Custom filetype group.
* src/filetypes.c:
Move text markup languages into Markup filetype group.
Move some programming language filetypes out of the Miscellaneous
group.
Fix filetype title for some languages.
Don't use 'Languages' for Miscellaneous group label.
These changes mostly proposed by Matthew Brush (thanks).
* src/filetypes.c:
Make custom filetype titles use 'source file' only if their group
is Compiled or Script.
Use 'source file' for reStructuredText title.
2011-04-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/filetypes.h, src/main.c,
data/filetype_extensions.conf:
Make filetype group membership configurable using [Groups] in
filetype_extensions.conf.
Read filetype_extensions.conf when calling filetypes_init_types(),
don't require doclist initialization.
* src/filetypes.c:
Change Programming Languages filetype group label -> Compiled
Languages.
Use 'source file' title for custom filetypes.
* src/prefs.c, doc/geany.txt, doc/geany.html:
Remove Preferences label warning about restarting after editing
template data - this is no longer necessary.
2011-04-26 Colomban Wendling <colomban(at)geany(dot)org>
* src/callbacks.c, src/document.c, src/document.h,
src/documentprivate.h, src/editor.c, src/sidebar.c:
Make sure to update the tag list only for the current document,
avoiding idle updates to show the tag list for the wrong document.
* src/callbacks.c, src/document.c, src/documentprivate.h,
src/sidebar.c:
Avoid changing the tag tree if it's not the one of the current
document, fixing showing the wrong tag list when reloading
configuration files.
2011-04-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c:
Fix warning in utils_find_open_xml_tag() with malformed tags like
<~foo> (oops).
2011-04-24 Colomban Wendling <colomban(at)geany(dot)org>
* src/editor.c:
Don't update the tag list when the user is typing (patch by Yura
Siamashka, thanks).
* src/filetypes.c:
When copying filetype groups, add keys from both system and user
ones, making sure user's ones have precedence over system ones.
2011-04-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/plugindata.h, src/plugins.c,
plugins/geanyfunctions.h:
Add utils_find_open_xml_tag_pos() API function (patch by Eugene
Arshinov, thanks).
* src/templates.c:
Replace dates on template insertion, not when loading templates.
2011-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix multiple snippet cursor positions for Tabs + Spaces mode.
Simplify editor_insert_snippet() code now we use cursor marker
strings.
* src/utils.c, src/utils.h, src/editor.c:
Add utils_string_find() to search in a fixed range.
Change utils_string_replace() to just replace a fixed number of
characters.
2011-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/plugindata.h, src/document.c, src/plugins.c, src/document.h,
plugins/geanyfunctions.h:
Add document_compare_by_tab_order() and
document_compare_by_tab_order_reverse() to the plugin API.
* src/ui_utils.c:
Use document_compare_by_tab_order() as default compare function
to sort the document list in the document notebook tab menu, this
fixes the currently broken default ordering.
2011-04-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/editor.c:
Add function utils_string_replace() to replace in a fixed range.
Remove utils_string_replace_helper() and update cursor marker code.
2011-04-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix snippets bug: {ob}pc{cb} replaced by '%' instead of {pc}.
Refactor snippets_make_replacements() using geany_cursor_marker.
2011-04-13 Colomban Wendling <colomban(at)geany(dot)org>
* src/editor.c:
Avoid triggering autocompletion on PHP open tags (closes #3199442).
2011-04-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Update dox for document_compare_by_display_name() with warning
about parameter addresses.
* src/document.h:
Use brackets for DOC_FILENAME() macro 'doc' argument.
* src/templates.c, src/utils.c, src/toolbar.c, src/utils.h,
src/keyfile.c, src/filetypes.c, src/editor.c, src/symbols.c:
Make utils_build_path() return a copy for safety.
* src/keybindings.c:
Fix Ctrl-Shift-[CV] keybindings to work outside the VTE.
2011-04-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Fix wrong casting of array pointers, thanks Nick.
* src/plugindata.h, src/callbacks.c, src/document.c, src/plugins.c,
src/document.h:
Rename document_sort_by_display_name() into
document_compare_by_display_name(), thanks again Nick.
2011-04-11 Colomban Wendling <colomban(at)geany(dot)org>
* src/document.c, src/document.h, src/editor.c, src/keybindings.c:
Revert r5642 "Don't update parent WorkObjects when updating one in
real-time" because it broke calltips.
2011-04-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/filebrowser.c:
Update path when saving a new document for the first time if the
follow path option is enabled.
* src/about.c, src/keyfile.c, THANKS:
Store VTE path with the session (based on patch by Nicolas
Sierro, thanks).
There's still a bug with loading a project at startup; closing the
project doesn't restore old VTE path.
* src/filetypes.c, src/filetypes.h:
Refactor with filetypes_get_filename().
Make filetypes_get_conf_extension() static.
* src/utils.c, src/utils.h, src/filetypes.c:
Make utils_make_filename() return a copy for safety.
2011-04-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Ignore scrolling events in on_update_ui().
* src/geanyobject.c, src/plugindata.h, src/geanyobject.h,
src/document.c, doc/pluginsignals.c:
Add and use signal "document-reload" to the plugin API.
* src/symbols.c, tagmanager/sql.c:
Fix mapping of SQL tags for Geany's symbol list (closes #3216474).
* src/ui_utils.h, src/plugindata.h, src/document.c, src/plugins.c,
src/document.h, src/ui_utils.c, plugins/geanyfunctions.h:
Add ui_menu_add_document_items_sorted() and
document_sort_by_display_name() to the plugin API.
2011-04-08 Colomban Wendling <colomban(at)geany(dot)org>
* scintilla/lexers/LexCPP.cxx:
Make highlighting of triple-quoted verbatim an option (Backport
from Scintilla HG 3602:5536ed81a85b).
* src/highlighting.c:
Add highlight for triple-quoted verbatims.
* data/filetypes.c, data/filetypes.vala, data/filetypes.Genie.conf,
data/filetypes.Scala.conf:
Highlight triple-quoted verbatims in Vala, Genie and Scala filtypes.
* data/filetypes.Genie.conf:
Copy C styling rather than redefining the styles.
* src/editor.c:
Don't set font twice for line numbers and braces.
2011-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c:
Remove TEMPLATES_GET_FILENAME() macro.
* src/search.c:
Don't auto-enable case-sensitive option when enabling regex in
Find/Replace dialogs.
2011-04-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/gtk/ScintillaGTK.cxx:
Fix X PRIMARY selection issue when Scintilla widget is
unrealized/re-realized (Backport from Scintilla HG,
original patch by Matthew Brush).
Reset cursors when Scintilla widget is realized (Backport from
Scintilla HG, original patch by Matthew Brush).
2011-04-04 Colomban Wendling <colomban(at)geany(dot)org>
* scintilla/gtk/PlatGTK.cxx:
Fix font rendering in Scintilla when using Cairo.
2011-04-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, geany.glade:
Make Project->Properties the last menu item so it's faster to use.
2011-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/*:
Update Scintilla to version 2.25.
* version.txt, Makefile.am:
Add Scintilla's version.txt file.
* scintilla/makefile.win32, tagmanager/makefile.win32, makefile.win32:
Replace escape character '\' by slash '/' in paths in the
Windows Makefiles (patch by Matthew Brush, thanks).
* src/tools.c:
Reflect the existence of the entered command in `Set Custom Commands`
dialog as well using the yes/no icon.
2011-04-03 Colomban Wendling <colomban(at)geany(dot)org>
* src/main.c, src/prefs.c, src/tools.c:
Fix loading and updating menu accelerators for custom commands.
* src/prefs.c:
Don't allow editing keybinding column of group rows.
* src/tools.c:
Fix ID of newly added commands in the `Set Custom Commands` dialog.
2011-04-02 Colomban Wendling <colomban(at)geany(dot)org>
* src/tools.c, doc/geany.txt, doc/geany.html:
Improve the `Set Custom Commands` dialog.
2011-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/interface.h, geany.glade:
Rename Preferences dialog Interface subtab More -> Notebook tabs.
* src/toolbar.c, src/dialogs.c:
Use mimetype icon in File Properties dialog.
* doc/geany.txt, doc/geany.html:
Fix title capitalization.
* src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
Move Preferences dialog Toolbar tab under Interface tab.
* src/build.c:
Tweak some build dialog labels:
Clear -> Reset.
Fix capitalization.
Use filetype name instead of title.
* src/templates.c, src/templates.h, doc/geany.txt, doc/geany.html:
Remove old filetype templates support - users can use custom file
templates instead.
2011-04-01 Colomban Wendling <colomban(at)geany(dot)org>
* src/encodings.c:
Update regex used to find encodings for it to allow the encoding to
be quoted, adding support for XML (closes #3183506).
* src/encodings.c:
Implement charset name normalization in order to better deal with
badly-written encoding names (i.e. names found by regex search).
This also makes encodings_get_idx_from_charset() and
encodings_get_from_charset() more permissive regarding the passed-in
encoding name.
* src/encodings.c:
Always try to honor the charset found in the document, even if the
document can be loaded as UTF-8.
This make files encoded with e.g. ISO-8859-1 that have the proper
information in them but only use the UTF-8 compatible part of
ISO-8859-1 to be properly loaded as ISO-8859-1, rather than UTF-8.
Also fix check for locale encoding.
* src/tools.c, doc/geany.txt, doc/geany.html:
Make `Send selection to` send the current line if there is no
selection.
2011-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/filebrowser.c:
Make 'Hide object files' preference configurable with file
extensions.
* plugins/filebrowser.c:
Fix applying default setting for hide_object_files (oops).
Fix warning when enabling plugin from the Plugin Manager.
* plugins/filebrowser.c:
Fix optimization for filter check when pattern is '*'.
Use foreach_strv() instead of foreach_c_array().
* plugins/filebrowser.c:
Don't hide directories matching hidden file extensions e.g. foo.o.
Refactor with check_object().
2011-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Use STYLE_MAX instead of 127 for editor_set_font(). This fixes a
crash in the Split Window plugin when changing filetype (patch by
Matthew Brush, thanks; fixes #3255968).
* plugins/splitwindow.c:
Update styles when the filetype changes (based on patch by
Matthew Brush, thanks).
* plugins/saveactions.c:
Fix Instant Save preferences combo box filetype order.
* plugins/filebrowser.c:
Remove macro CHECK_READ_SETTING().
2011-03-30 Colomban Wendling <colomban(at)geany(dot)org>
* src/plugindata.h, src/pluginprivate.h, src/plugins.c,
src/pluginutils.c, src/pluginutils.h plugins/geanyfunctions.h:
Add plugin_idle_add(), plugin_timeout_add() and
plugin_timeout_add_seconds() to the plugin API. These are
convenience wrappers to ensure the added timeouts are properly
removed when unloading the plugin, preventing possible crashes.
* plugins/splitwindow.c:
Use new plugin_idle_add(), preventing an unlikely crash.
* doc/pluginsymbols.c, src/sciwrappers.c:
Fix a few Doxygen warnings.
* plugins/saveactions.c:
Properly use 0 as the invalid timeout source ID.
2011-03-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Add #reading-styles-from-another-filetype subsection, based on
patch by Matthew Brush (thanks).
* doc/geany.txt, doc/geany.html:
Add #filenames subsection for filetype definition files explaining
the filename extensions and special cases.
* src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
src/main.c, plugins/geanyfunctions.h:
Add filetypes_get_sorted_by_name() to API.
Fix --ft-names sorting to print in name order, not title order.
2011-03-28 Colomban Wendling <colomban(at)geany(dot)org>
* src/document.c, src/document.h, src/editor.c, src/keybindings.c:
Don't update parent WorkObjects when updating one in real-time. This
should fix some performance issues if a WorkObject has many parents.
2011-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/makefile.win32, src/main.c, src/Makefile.am, configure.ac,
wscript:
Initialize GLib's Gthread system early at startup in case any
plugins need it.
* src/keybindings.c, src/keybindings.h, src/plugindata.h,
doc/geany.txt, doc/geany.html:
Add new keybinding 'Remove Markers and Error Indicators'.
2011-03-26 Colomban Wendling <colomban(at)geany(dot)org>
* src/sidebar.c:
Fix the sidebar popup menu to properly use the currently selected
item rather than the previous one.
Also change the hack used for the selection to be updated in the
input handlers to call the GtkTreeView's handler manually rather than
doing the actual job in IDLE callbacks for the TreeView's handler to
have run.
* doc/geany.html, doc/geany.txt, geany.glade, src/document.c,
src/editor.h, src/interface.c, src/interface.h, src/keyfile.c,
src/project.c:
Add possibility to detect the indentation width from the file content
(not supported if indentation type is tabs only).
* plugins/splitwindow.c:
Enable code folding in splitview window (based on a patch by Matthew
Brush, thanks! - closes #3097780).
Fix confusing terminology in Split Window plugin menu labels (patch
by Matthew Brush - closes #2796316).
Don't unsplit when closing the displayed document but rather pick the
new current one if any.
2011-03-25 Colomban Wendling <colomban(at)geany(dot)org>
* data/filetypes.vala:
Update Vala keywords (based on a patch from Matthew Brush, thanks).
* data/document.c:
Small code cleanups.
2011-03-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/filebrowser.c:
Add history to filter entry.
* src/keybindings.c, src/vte.c:
Add fixed shortcuts for VTE copy (Ctrl-Shift-C) and paste
(Ctrl-Shift-V).
* src/keybindings.c:
Make VTE copy/paste shortcuts work if 'Override Geany
keybindings' is not set.
2011-03-24 Colomban Wendling <colomban(at)geany(dot)org>
* doc/geany.txt, doc/geany.html:
Update the documentation to talk about real-time tag parsing.
* doc/geany.txt, doc/geany.html, src/callbacks.c, src/callbacks.h,
src/document.c, src/document.h, src/geanyentryaction.c,
src/search.c, src/toolbar.c, src/ui_utils.c, src/ui_utils.h:
Make Shift-Enter in search dialog and toolbar search entries search
backwards.
* plugins/filebrowser.c, plugins/saveactions.c, src/callbacks.c,
src/dialogs.c, src/document.c, src/document.h, src/editor.c,
src/encodings.c, src/filetypes.c, src/highlighting.c, src/log.c,
src/main.c, src/plugins.c, src/printing.c, src/project.c,
src/search.c, src/socket.c, src/toolbar.c, src/utils.c, src/utils.h:
Improve usage of G_LIKELY() and G_UNLIKELY() macros.
2011-03-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c:
Make --ft-names list filetypes alphabetically.
* plugins/filebrowser.c:
Allow multiple file filters to be separated by a space for
consistency with Find in Files file patterns. ';' is still
allowed also.