forked from geany/geany
/
ChangeLog
3850 lines (2686 loc) · 145 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
*** NOTE: This ChangeLog was not updated for the 0.10.1 and 0.10.2 release.
Instead see the NEWS file for a list of changes.
2006-12-21 Enrico Tröger <enrico.troeger@uvena.de>
* doc/geany.1.in, doc/Makefile.am, doc/geany.docbook, doc/images/*,
doc/html/*:
Fixed encoding of generated PDF file.
Deleted all jpg images and replaced them by png images.
Updated date in documentation and manpage.
* src/callbacks.c: Fixed wrong paste behaviour under Windows with some
applications.
* src/ui_utils.c: Start column count from 0 in the statusbar display.
2006-12-20 Enrico Tröger <enrico.troeger@uvena.de>
* src/keyfile.c: Changed default values:
Confirm exit -> disabled by default
Use tab to indent -> disabled by default.
2006-12-20 Nick Treleaven <nick.treleaven@btinternet.com>
* src/keyfile.c:
Fix strv leak in configuration_open_files().
* src/treeviews.c, src/ui_utils.c:
Fix tag treeview not being freed (because of g_object_ref).
Separate recreate_tag_list() from ui_update_tag_list().
* src/vte.c:
Stop Valgrind complaining about a vc->emulation leak.
* src/callbacks.c, src/search.c:
Remove unneeded static from current word strings.
2006-12-18 Enrico Tröger <enrico.troeger@uvena.de>
* src/tools.c: Completed list of special characters, implemented
expanding and collapsing of categories at double click.
* src/geany.h: Updated codename (not really important).
2006-12-18 Nick Treleaven <nick.treleaven@btinternet.com>
* src/callbacks.c, src/search.c, src/document.c:
Don't log simple error messages like 'No text to find'.
* src/keyfile.c:
Open tabs left to right by default.
* src/keyfile.c:
Scroll cursor to 50% of the view for session files at startup.
* src/callbacks.c, src/dialogs.c:
Always switch to the tab when showing the unsaved file dialog.
* src/document.c:
Don't set the cursor to the start of the document when attempting to
open an already open file.
* src/utils.c, src/utils.h, src/callbacks.c, src/sci_cb.c,
src/document.c:
Force a file changed check when attempting to open an already open
file.
* src/sciwrappers.c, src/sciwrappers.h, src/document.c:
Scroll cursor to 50% of the view when reloading a file.
Rename sci_goto_pos() argument 'unfold'.
2006-12-17 Enrico Tröger <enrico.troeger@uvena.de>
* geany.glade, src/interface.c:
Made the sidebar notebook tabs scrollable.
* geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
src/ui_utils.c:
Fixed wrong insert position when the cursor was moved by keyboard
and comments, includes or a date was inserted.
Also fixed some segfault when inserting comments, dates and includes
at a position prior to some deleted text.
* src/document.c: Fixed disabled build menu items after opening the
first file of a filetype.
2006-12-17 Nick Treleaven <nick.treleaven@btinternet.com>
* src/search.c:
Fix using the current word on first use of the Find in Files dialog.
* src/document.c:
Don't log 'replaced 0 occurrences' status messages.
* src/search.c:
Remove unneeded 'missing response' debug messages.
2006-12-16 Nick Treleaven <nick.treleaven@btinternet.com>
* src/utils.c:
Fix memory leak in utils_check_disk_status().
* src/highlighting.c, src/sci_cb.c, src/sci_cb.h, src/document.c,
src/symbols.c, src/symbols.h:
Colourise C enum, union and D/Java interface typenames.
Add sci_cb_lexer_get_type_keyword_idx() for use when finding if a
lexer supports typename colouring.
2006-12-15 Enrico Tröger <enrico.troeger@uvena.de>
* src/main.c, src/sci_cb.c, src/sci_cb.h, src/symbols.c,
src/symbols.h:
Moved html_entities array to symbols.c.
Fixed some checks for the new D lexer and improved detection of
comments when auto completing or showing calltips.
* src/search.c: Bring the Find, Replace and FIF dialog back to top if
they are already shown but lost focus.
2006-12-15 Nick Treleaven <nick.treleaven@btinternet.com>
* src/sci_cb.c:
Only remove extra space indent after a multiline comment if the
indent contains one too many spaces.
* src/highlighting.c, data/filetypes.d:
Show D typedefs in bold.
* src/sci_cb.c, src/sci_cb.h, src/document.c:
Fix setting project typenames for the new D lexer.
Add sci_cb_lexer_is_c_like() which returns TRUE for C++/D lexers.
Only recolourise C-like files when updating project typename
keywords.
2006-12-14 Frank Lanitz <frank@frank.uvena.de>
* src/about.c: Fixed a typo.
2006-12-14 Nick Treleaven <nick.treleaven@btinternet.com>
* src/document.c:
Fix updating the symbol list when a file is saved.
Update C-like typedef keywords when reloading a file.
* src/sci_cb.c:
Fix adding a multiline comment character after pressing enter on the
last line of a multiline comment.
Remove multiline comment indent after pressing enter on last line.
Prevent invalid memory reads in auto_multiline().
2006-12-13 Frank Lanitz <frank@frank.uvena.de>
* THANKS: Small update of contact data and small fix of translated
language.
2006-12-13 Nick Treleaven <nick.treleaven@btinternet.com>
* src/ui_utils.h, src/about.c, src/treeviews.c, src/msgwindow.c,
src/callbacks.c, src/keyfile.c, src/document.c, src/prefs.c,
src/main.c, src/ui_utils.c:
Fix memory leaks when using GdkPixbuf, PangoFontDescription and some
strings.
Capitalize main window title.
Add ui_widget_modify_font_from_string().
* src/build.c, src/keybindings.c, src/msgwindow.c, src/msgwindow.h,
src/vte.c, src/main.c:
Add 'Hide Message Window' popup menu item for each window in the
message window area.
Add msgwin_menu_add_common_items().
Move remaining message window setup code to msgwin_init().
* src/interface.c, geany.glade:
Add 'Invert syntax highlighting colours' Preferences dialog option
(hidden for now).
2006-12-12 Enrico Tröger <enrico.troeger@uvena.de>
* src/document.c, src/geany.h, src/keyfile.c, src/sciwrappers.c,
src/sciwrappers.h: Added option to toggle usage of Tab button for
indentation.
* geany.glade, po/POTFILES.in, src/callbacks.c, src/callbacks.h,
src/interface.c, src/keybindings.c, src/keybindings.h,
src/Makefile.am, src/makefile.win32, src/tools.c, src/tools.h:
New files tools.c and tools.h.
Added a dialog to insert HTML special characters.
2006-12-12 Nick Treleaven <nick.treleaven@btinternet.com>
* src/build.c, src/interface.c, src/callbacks.c, src/ui_utils.c,
geany.glade:
Use GNOME HIG Header style capitalization for all menu items.
* src/main.c:
Make files loaded from the command-line at startup get added to the
recent files menus.
2006-12-11 Enrico Tröger <enrico.troeger@uvena.de>
* data/filetypes.vhdl: Fixed typo in "number" and "string" styles.
2006-12-11 Nick Treleaven <nick.treleaven@btinternet.com>
* src/main.c:
Show GTK+, GLib runtime version debug message after socket_init().
* src/callbacks.c:
Make indenting and unindenting keep the same cursor position when
the cursor is within the indentation characters.
* configure.in:
Link with libsocket if necessary to fix building on Solaris.
2006-12-10 Enrico Tröger <enrico.troeger@uvena.de>
* src/build.c, src/callbacks.c, src/document.c, src/keyfile.c,
src/prefs.c, src/vte.c, src/vte.h:
Added option to execute programs in the VTE instead of executing
them in a terminal emulation window (closes #1594456).
* src/dialogs.c: Use a table to layout the word count dialog.
2006-12-09 Nick Treleaven <nick.treleaven@btinternet.com>
* src/build.c:
Fix building on win32; also fix some warnings.
* src/document.c:
Read the file's modification timestamp after saving because on
Windows it can be later than expected (closes #1611530).
* src/keybindings.c:
Show the Message window when switching to the vte.
* src/build.c, src/keybindings.c, src/keybindings.h:
Add keybindings for Next Message and Next Error commands.
2006-12-08 Nick Treleaven <nick.treleaven@btinternet.com>
* src/build.c, src/interface.c, src/ui_utils.h, src/build.h,
src/keybindings.c, src/msgwindow.c, src/callbacks.c,
src/msgwindow.h, src/callbacks.h, src/main.c, src/ui_utils.c,
geany.glade:
Add Next Message and Next Error menu items.
Don't select the last build message on completing a build.
Change build_get_menu_items(-1) to return current build menu.
Add Copy popup menu item for Status and Messages windows.
Move on_message_treeview_clear_activate(),
on_compiler_treeview_copy_activate() to msgwindow.c.
Create the Recent files submenu item manually because Glade 2.10
removes empty menus.
* src/dialogs.c, src/ui_utils.c:
Use ui_button_new_with_image() in dialogs_show_unsaved_file().
2006-12-08 Enrico Tröger <enrico.troeger@uvena.de>
* src/build.c: Made the created run script for command execution a bit
more portable to other shells than bash (thanks to
Nacho Cabanes for reporting).
* src/document.c, src/document.h, src/sciwrappers.c, src/ui_utils.h,
src/sciwrappers.h:
Fixed broken overtype update in the statusbar.
Removed unused field do_overwrite in document struct.
* src/msgwindow.c: Removed compiler warning.
* src/sci_cb.c, src/sci_cb.h:
Made sci_cb_get_indent and sci_Cb_auto_multiline static.
Improved auto completion of multi line comments and support
/+ +/ for D files.
* src/msgwindow.c: Fixed wrong check button state in view menu if
message window was shown automatically.
2006-12-07 Frank Lanitz <frank@frank.uvena.de>
* src/about.c, THANKS, configure.in, po/fr.po:
Added French translation (Thanks to Jean-Philippe Moal).
2006-12-07 Enrico Tröger <enrico.troeger@uvena.de>
* src/document.c: Create new tm file object when changing the filetype
of a document to avoid a confused tagmanager.
* data/filetypes.d, scintilla/KeyWords.cxx, scintilla/LexD.cxx,
scintilla/Makefile.am, scintilla/makefile.win32,
scintilla/include/SciLexer.h, src/highlighting.c:
Added new scintilla lexer for D. It needs testing and there is more
work to do to get it working properly.
* src/about.c, src/build.c, src/callbacks.c, src/document.c,
src/encodings.c, src/gb.c, src/keyfile.c, src/prefs.c, src/sci_cb.c,
src/search.c, src/symbols.c, src/ui_utils.c, src/utils.c,
src/utils.h, src/dialogs.c, src/vte.c:
Revert the last change to utils_str_equal() and use it again because
g_str_equal() is not NULL-safe.
2006-12-06 Enrico Tröger <enrico.troeger@uvena.de>
* src/sci_cb.c: Don't insert extra indentation in Python files after a
colon if the line is a comment (closes #1609761).
* src/about.c, src/build.c, src/callbacks.c, src/document.c,
src/encodings.c, src/gb.c, src/keyfile.c, src/prefs.c, src/sci_cb.c,
src/search.c, src/symbols.c, src/ui_utils.c, src/utils.c,
src/utils.h: Removed utils_str_equal() and use g_str_equal() from
GLib because it does exactly the same.
2006-12-05 Enrico Tröger <enrico.troeger@uvena.de>
* src/treeviews.c, tagmanager/latex.c:
Let the LaTeX parser recognise the keyword \chapter.
2006-12-05 Nick Treleaven <nick.treleaven@btinternet.com>
* src/socket.c:
Prevent Valgrind warning with unlink(NULL).
* src/ui_utils.h, src/treeviews.c, src/callbacks.c, src/notebook.c,
src/treeviews.h, src/notebook.h, src/document.c, src/document.h,
src/ui_utils.c:
Show read-only notebook tabs in green.
Add document_get_status() to get the tab colour for the document.
Use ui_update_tab_status() to update notebook tabs and open files
treeview items.
Avoid using GtkTreeIter struct as treeviews function arguments.
Remove unneeded arguments for treeviews_openfiles_add(),
notebook_new_tab().
2006-12-04 Nick Treleaven <nick.treleaven@btinternet.com>
* src/highlighting.c, data/filetypes.d:
Move C/C++ styling_within_preprocessor code out of C-like styles.
Use styleset_c_like() when applying C-like Scintilla styles.
Synchronize gsd_reserved_word, gsd_system_word and data/filetypes.d
with styles in data/filetypes.c.
2006-12-04 Enrico Tröger <enrico.troeger@uvena.de>
* src/document.c: Use default GTK foreground colour for filenames on
notebook tabs instead of hardcoded colour black.
* src/sci_cb.c: Fixed broken auto completion for LaTeX files.
2006-12-03 Enrico Tröger <enrico.troeger@uvena.de>
* data/filetypes.c, data/filetypes.cpp, data/filetypes.d,
data/filetypes.ferite, data/filetypes.java, src/highlighting.c:
Added new style for doc keyword error and added some doc key words
for Doxygen and Javadoc.
* geany.glade, src/geany.h, src/interface.c, src/keyfile.c,
src/prefs.c, src/sci_cb.c:
Added new preference to unfold all children of a fold point if the
fold point is unfolded.
* src/msgwindow.c: Applied patch from Bob Doan to ignore libtool
messages when parsing the output of make (thanks).
* src/sci_cb.c, src/sci_cb.h:
Made handle_xml() static.
Fixed wrong XML auto completion in PHP files when inserting '>',
thanks to Bob Doan for reporting.
2006-12-02 Enrico Tröger <enrico.troeger@uvena.de>
* src/highlighting.c: Use the same style for unknown doc keywords
(/** @something */) as for known keywords.
2006-12-01 Enrico Tröger <enrico.troeger@uvena.de>
* geany.glade, src/interface.c, src/geany.h, src/main.c,
src/ui_utils.c:
Removed invisible place holder menu item in recent files menu.
Create separate sub menu for the recent files menu in the toolbar to
prevent GTK warnings when using GTK >= 2.10.
2006-12-01 Nick Treleaven <nick.treleaven@btinternet.com>
* src/vte.c:
Make the switch to vte menu shortcut override work before the VTE
has been realized.
2006-11-30 Nick Treleaven <nick.treleaven@btinternet.com>
* src/main.c:
Disable open toolbutton recent files menu for now because on
GTK+2.10 packing the recent files menu twice causes warnings.
* src/build.c, src/build.h, src/keybindings.c, src/callbacks.c,
src/filetypes.c, src/filetypes.h, src/dialogs.c:
Make all filetypes except LaTeX use the same build menu, disabling
any items that don't apply for the current document.
Move BuildMenuItems struct type to build.h.
2006-11-29 Nick Treleaven <nick.treleaven@btinternet.com>
* src/build.c, src/build.h, src/keybindings.c, src/filetypes.c,
src/filetypes.h:
Make stop button only apply for killing running programs.
Disable build commands when building is in progress.
Make build_menu_update() detect how to call set_stop_button().
Make build_menu_update() also update the LaTeX build menu.
Make build keybindings only active when the equivalent menu item
is also active.
2006-11-27 Nick Treleaven <nick.treleaven@btinternet.com>
* src/build.c:
Show build result on status bar if Compiler window is not selected.
2006-11-25 Nick Treleaven <nick.treleaven@btinternet.com>
* src/msgwindow.c, src/notebook.c, src/msgwindow.h, src/notebook.h:
Add some const char* argument modifiers, remove unneeded static from
some local vars.
* src/vte.c:
Remove vte_char_size_changed() workaround, not needed since r988;
this also fixes an issue where the VTE is limited to 30x5 chars.
* src/search.c, src/document.c, src/document.h:
When replacing in session, use notebook page order and show a count
of the files changed.
Show the filename when replacing text over a range.
Add DOC_FILENAME() null-safe macro to get the filename at doc_idx.
* src/build.c, src/ui_utils.h, src/msgwindow.c, src/search.c,
src/document.c, src/ui_utils.c:
Make ui_set_statusbar() use printf-style arguments & assume the
message should not be overridden.
* data/filetypes.python:
Change python default compile command to create a compiled python
.pyc file (thanks to Bajusz Tamás).
2006-11-24 Nick Treleaven <nick.treleaven@btinternet.com>
* src/ui_utils.h, src/prefs.c, src/dialogs.c, src/ui_utils.c:
Add frame for VTE Preferences tab, update packing.
Replace ui_frame_new() with ui_frame_new_with_alignment().
* src/callbacks.c, src/callbacks.h, src/vte.c, src/vte.h, src/prefs.c,
src/prefs.h:
Move VTE preferences GUI code to vte.c.
Move on_pref_tools_button_clicked() to prefs.c.
2006-11-23 Enrico Tröger <enrico.troeger@uvena.de>
* src/vte.c: Fixed segfault when opening the preferences dialog for
the first time from the VTE widget.
2006-11-23 Nick Treleaven <nick.treleaven@btinternet.com>
* src/highlighting.c, src/geany.h, doc/geany.docbook,
data/filetypes.*:
Only use [a-zA-Z0-9] chars for default wordchars, to avoid problems
with word matching when using Find & Replace functions.
* src/keybindings.c:
Add switching to a notebook tab number using Alt-1 to Alt-9; Alt-0
switches to the last tab.
* src/geany.h, data/filetypes.*:
Add underscore to default wordchars again (oops).
2006-11-22 Frank Lanitz <frank@frank.uvena.de>
* po/hu.po, src/about.c, THANKS, configure.in:
Added Hungarian translation (Thanks to Gabor Kmetyko aka
kilo <kg_kilo@freemail.hu>).
2006-11-22 Nick Treleaven <nick.treleaven@btinternet.com>
* src/notebook.c, src/notebook.h, src/document.c:
Ensure tab DnD is enabled when tabs are added; use
notebook_remove_page() instead of gtk_notebook_remove_page().
Unified notebook_[en|dis]able_dnd_for_dropping_files() in
tab_count_changed().
2006-11-21 Enrico Tröger <enrico.troeger@uvena.de>
* src/callbacks.c, src/callbacks.h, src/document.c, src/main.c,
src/notebook.c, src/notebook.h:
Removed DnD handler for the main window (not very useful).
Fixed broken tab reordering by only enabling DnD for dropping files
when there are no open file tabs, otherwise disable it and enable
DnD for moving file tabs. Dropping files into Geany when file tabs
are open still works because then it is handled by the Scintilla
widget.
* src/msgwin.c: Applied patch from Bob Doan to parse PHP compile
errors better (thanks).
2006-11-18 Nick Treleaven <nick.treleaven@btinternet.com>
* src/sciwrappers.c, src/sciwrappers.h:
Added sci_get_first_visible_line().
* src/interface.c, src/geany.h, src/sci_cb.h, src/keyfile.c,
src/vte.c, src/search.c, src/document.c, src/prefs.c, geany.glade:
Applied patch from Bob Doan to prevent scrolling when wrap searching
around a document, and to add a preference for suppressing search
dialogs when wrapping or after Find Next.
Rearranged some Preferences dialog options, added Files tab.
Disable tab position when file tabs are hidden (not new file tab
placement option, it still affects order of pages).
* src/interface.c, geany.glade:
Add Preferences frame alignment for Tools, Templates, Keybindings.
Revert tab placement label text.
2006-11-17 Enrico Tröger <enrico.troeger@uvena.de>
* src/build.c, src/main.c:
Fixed compile error under Win32.
Ignore pressed Stop button under Win32 (at least for the moment,
not yet implemented).
2006-11-17 Nick Treleaven <nick.treleaven@btinternet.com>
* src/search.c:
Change Find Next/Previous buttons to use better stock icons.
* src/callbacks.c, src/sci_cb.c, src/document.c, src/document.h:
Fix sign comparison warnings.
2006-11-16 Enrico Tröger <enrico.troeger@uvena.de>
* src/main.c: Enabled DnD also for the main notebook widget to drop
files in the main area of Geany.
2006-11-15 Enrico Tröger <enrico.troeger@uvena.de>
* src/vte.c: Don't unload the VTE module on exit to avoid crashes on
some systems.
* src/main.c: Fixed small memory leak.
* src/callbacks.c, src/callbacks.h, src/document.c, src/document.h,
src/main.c, src/sci_cb.c:
Enabled drag and drop for the whole main window to be able to drop
files even if no tabs are open.
Moved code for getting the file list to document_open_file_list().
2006-11-15 Frank Lanitz <frank@frank.uvena.de>
* src/about.c, configure.in, THANKS, po/zh_TW.po:
Added tranditional Chinese translation (Thanks to KoViCH
<kovich.ian@gmail.com>).
2006-11-15 Nick Treleaven <nick.treleaven@btinternet.com>
* src/ui_utils.h, src/search.c, src/ui_utils.c:
Add search history for Find in Files.
Add ui_combo_box_add_to_history() and use to prevent blocks of
duplicates (but not all duplicates) from search history combo boxes,
and limit history to 30 entries.
* src/build.c:
Remove the stop button in build_exit_cb() when using Make commands.
Fix set_stop_button() when using Make when the current file has no
filetype.
2006-11-14 Enrico Tröger <enrico.troeger@uvena.de>
* scintilla/LexPascal.c: Tried to fix wrong styling at "end.".
2006-11-14 Frank Lanitz <frank@frank.uvena.de>
* po/zh_CN.po, src/about.c, configure.in, THANKS:
Added simple Chinese (zh_CN) translation (Thanks to
Dormouse Young <mouselinux@163.com>).
2006-11-14 Nick Treleaven <nick.treleaven@btinternet.com>
* src/templates.c, src/templates.h, src/callbacks.c, src/filetypes.c,
src/filetypes.h, src/document.c, src/document.h:
Add NULL-safe FILETYPE_ID macro to get filetype::id from pointer.
Allow insertion of GPL notice and file header when the filetype is
not set.
Add commenting for PHP & HTML GPL notice and file header templates.
Add make_comment_block() to templates.c.
Move document_prepare_template(), filetypes_get_template() to
templates.c.
2006-11-13 Enrico Tröger <enrico.troeger@uvena.de>
* src/filetypes.c, src/filetypes.h, src/highlighting.c,
src/highlighting.h, src/treeviews.c, scintilla/Makefile.am,
scintilla/makefile.win32, scintilla/KeyWords.cxx,
scintilla/LexVHDL.cxx, tagmanager/vhdl.c, tagmanager/parsers.h,
tagmanager/Makefile.am, tagmanager/makefile.win32,
data/filetype_extensions.conf, data/filetypes.vhdl:
Added new filetype VHDL.
* geany.glade, src/interface.c, src/keybindings.c:
Use plural for line commentation description labels.
* src/build.c: Added missing inclusion of signal.h.
2006-11-13 Nick Treleaven <nick.treleaven@btinternet.com>
* src/sci_cb.c: Fix invalid memory read in sci_cb_get_indent().
* src/callbacks.c: Fix invalid memory write in on_exit_clicked().
2006-11-12 Nick Treleaven <nick.treleaven@btinternet.com>
* src/vte.c: Fix message window horizontal scrollbar being too tall on
some systems (thanks to Rob van der Linde).
2006-11-11 Enrico Tröger <enrico.troeger@uvena.de>
* src/vte.c: Probe different versions of libvte.so, not only libvte.so
and libvte.so.4.
* src/keyfile.c: Fixed a segfault when closing preferences dialog and
loading VTE was enabled after it was disabled.
* src/build.c, src/build.h, src/main.c:
Extended the build_info struct with useful information of the
current running command.
Added stop button(using the Run button) to cancel the execution of a
command like Run, Compile or Build.
Fixed a typo in an error message.
* doc/geany.docbook:
Described new folding_horiz_line setting in filetypes.common.
Added documentation for stopping of running processes.
2006-11-09 Enrico Tröger <enrico.troeger@uvena.de>
* src/highlighting.c, data/filetypes.java, data/filetypes.cpp,
data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
data/filetypes.pascal, data/filetypes.sql, data/filetypes.xml:
Changed commentdoc(used for javadoc and Doxygen, /** */) colour to a
light blue.
2006-11-09 Nick Treleaven <nick.treleaven@btinternet.com>
* src/keyfile.c, src/main.c:
Fix a possible bug with g_file_test when opening files at startup.
Show warning message on status bar if some session files couldn't be
loaded, showing debug messages for each session file that fails.
2006-11-08 Nick Treleaven <nick.treleaven@btinternet.com>
* src/utils.c, src/highlighting.c, src/utils.h, src/callbacks.c,
src/sci_cb.c, src/document.c, src/symbols.c, src/ui_utils.c,
src/symbols.h:
Move utils_get_tag_list() to symbols.c, make utils_find_tm_tag()
static.
Move symbols_get_global_keywords() to get_global_typenames() in
highlighting.c.
Add symbols_find_tags_as_string(), symbols_get_tag_list(),
symbols_get_macro_list(), symbols_find_in_workspace() from various
tag-related existing code.
* src/ui_utils.c:
Never show the Sidebar if app->show_sidebar is false (prevents
showing Sidebar after setting Preferences, when user has chosen to
hide the Sidebar).
* src/utils.c, src/utils.h, src/about.c, src/callbacks.c,
src/sci_cb.c, src/keyfile.c, src/search.c, src/encodings.c,
src/document.c, src/prefs.c, src/gb.c, src/symbols.c:
Rename utils_strcmp() utils_str_equal() (to avoid return value
confusion with strcmp()).
2006-11-07 Enrico Tröger <enrico.troeger@uvena.de>
* src/treeviews.c: Fixed unintentional appearance of sidebar after it
was hidden and the preferences dialog was closed.
* data/filetypes.common, src/highlighting.c:
Added an option to draw an horizontal line above or below folded
text.
* src/dialogs.c: Don't set width of file open dialog.
2006-11-07 Nick Treleaven <nick.treleaven@btinternet.com>
* src/win32.c, src/win32.h, src/callbacks.c, src/keyfile.c,
src/dialogs.c, src/dialogs.h:
Don't close any tabs when quitting until all unsaved changes have
been accounted for; switch to each unsaved file before showing the
unsaved dialog.
Remove limit of ~256 chars for session filenames.
Make dialogs_show_unsaved_file() fail if the Save As dialog was
cancelled.
2006-11-06 Enrico Tröger <enrico.troeger@uvena.de>
* data/filetypes.java, src/highlighting.c:
Added Java keywords true and false.
Converted "NULL" to lower case.
* src/sci_cb.c: Little code cleanup in brace_match().
2006-11-05 Enrico Tröger <enrico.troeger@uvena.de>
* src/sci_cb.c: Fixed (hopefully) wrong indentation in some cases when
inserting '}'.
2006-11-04 Enrico Tröger <enrico.troeger@uvena.de>
* src/highlighting.c, src/highlighting.h:
Applied patch from Bob Doan to do not set keywords for XML
documents(thanks).
Made styleset_markup() static.
2006-11-04 Nick Treleaven <nick.treleaven@btinternet.com>
* src/search.c: Fix pressing enter to search from the Find dialog.
* src/keyfile.c, src/keyfile.h, src/main.c:
Make filetype_extensions.conf generation only available with a debug
build of Geany.
* src/filetypes.c, data/filetype_extensions.conf:
Recognise *.xsl, *.xslt filenames for XML filetype.
Recognise 'GNUmakefile' filename for Make filetype.
2006-11-03 Nick Treleaven <nick.treleaven@btinternet.com>
* src/msgwindow.c:
Don't set error indicators when clicking on an error message if the
document has been modified.
* src/notebook.c: Focus the current document after clicking on a tab.
* src/utils.c, src/keybindings.c, src/callbacks.c, src/sci_cb.c,
src/sciwrappers.c, src/search.c, src/sciwrappers.h, src/document.c,
src/document.h:
Scroll matching selection to 1/3 of the view when searching.
Add sci_scroll_to_line(); remove sci_goto_line_scroll().
Show 'not found' message on status bar also when enter is pressed in
the search bar.
2006-11-02 Enrico Tröger <enrico.troeger@uvena.de>
* src/callbacks.c, src/dialogs:
Run set includes build dialogs for LaTeX files modally, too.
2006-11-02 Nick Treleaven <nick.treleaven@btinternet.com>
* src/highlighting.c, data/filetypes.perl, data/filetypes.pascal,
data/filetypes.sh, data/filetypes.makefile, data/filetypes.ruby,
data/filetypes.tcl:
Make all remaining 0xff0000 comment styles darker using a common
default comment style.
Add some other generic styles (used only by C-like filetypes for
now).
2006-11-01 Enrico Tröger <enrico.troeger@uvena.de>
* src/search.c: Changed tooltip of checkbox "Close dialog" to be more
descriptive.
* src/keybindings.c: Changed keybinding for Print to Ctrl+P.
* scintilla/LexBash.cxx: Fixed wrong detection of some words.
2006-11-01 Nick Treleaven <nick.treleaven@btinternet.com>
* src/document.c: Prevent possible invalid memory read.
* src/ui_utils.h, src/search.c, src/search.h, src/ui_utils.c,
src/callbacks.c:
Add Find Previous, Find All in File/Session buttons to the Find
dialog.
Move Find Usage code from on_find_usage1_activate to search.c.
Add ui_button_new_with_image(), ui_hbutton_box_copy_layout().
* src/utils.c: Prevent end of line char showing for current function.
* src/search.c: Update Save All state after Replace in Session.
* src/callbacks.c: Update Undo items when switching notebook pages.
2006-10-30 Enrico Tröger <enrico.troeger@uvena.de>
* src/sci_cb.c: Add extra indentation for Python after a colon.
* tagmanager/latex.c, src/treeviews.c:
Removed "begin" section in symbol list and sort it at environment.
2006-10-29 Enrico Tröger <enrico.troeger@uvena.de>
* geany.glade, src/interface.c, src/prefs.c, src/geany.h,
src/keyfile.c, src/ui_utils.c, src/main.c:
Added an Apply button to preferences dialog.
New setting to show/hide the Quit toolbar item.
New setting to show/hide notebook tabs.
* src/document.c, src/treeviews.c, src/treeviews.h:
Colour also the open files list items according to their changed
state.
* src/callbacks.c, src/callbacks.h, src/msgwindow.c, src/msgwindow.h,
src/treeviews.c, src/treeviews.h, src/geany.h:
Moved all treeview related callback functions from callbacks.c to
msgwindow.c and treeviews.c.
* src/document.c: Fixed bug when setting colour of open files list
entry on new, unnamed files.
2006-10-28 Nick Treleaven <nick.treleaven@btinternet.com>
* src/ui_utils.c:
Add temporary fix for sci infinite loop in Document::GetColumn(int)
when current pos is beyond document end (can occur when removing
blocks of selected lines especially brace sections near end of
file).
2006-10-28 Enrico Tröger <enrico.troeger@uvena.de>
* doc/geany.docbook:
Some small updates.
Got rid of &app; entitity.
Extended description of encoding support.
2006-10-27 Nick Treleaven <nick.treleaven@btinternet.com>
* src/highlighting.c, src/filetypes.c, src/filetypes.h,
data/filetypes.java, data/filetypes.cpp, data/filetypes.ferite,
data/filetypes.c, data/filetypes.d:
Add filetypes_get_conf_extension() and use in highlighting.c.
Fix a memory leak in load_keyfiles().
Group C-like default syntax in init_c_like_styleset().
Make C-like comment colour darker; make globalclass brighter to
distinguish it from word colour.
Make Java use same default syntax highlighting colours as C.
* src/utils.c:
Limit parse depth to 500 chars when parsing C-like function name.
* src/sci_cb.c:
Find last unmatched open bracket for Show Calltip so nested matched
brackets are ignored (except LaTeX).
2006-10-26 Nick Treleaven <nick.treleaven@btinternet.com>
* src/keybindings.c, src/keybindings.h:
Only accept editing keybindings when the current Scintilla widget
has focus.
Group editing keybindings together in cb_func_edit.
Change keybinding callbacks to pass keybinding index as an argument.
2006-10-25 Nick Treleaven <nick.treleaven@btinternet.com>
* src/document.c:
When replacing tabs by space, prevent the scroll position changing,
and fix a possible change of cursor position.
2006-10-25 Enrico Tröger <enrico.troeger@uvena.de>
* src/dialogs.c, src/dialogs.h, src/build.c, src/prefs.c, src/win32.c
src/document.c:
Added warning message dialog, united dialogs_show_info() and
dialogs_show_error() to dialogs_show_msgbox().
* src/document.c: Added warning message when opening files that cannot
be handled correctly and set them to read-only mode.
* src/document.c, src/encodings.c, src/encodings.h, src/utils.c,
src/utils.h: Moved utils_convert_to_utf8() and
utils_convert_to_utf8_from_charset() to encodings.c.
2006-10-24 Enrico Tröger <enrico.troeger@uvena.de>
* src/build.c, src/socket.c: Fixed compiler warnings under Windows.
* win32-config.h, src/dialogs.c:
Use GTK's file open dialog also under Windows to have the extended
options(kept old dialog code for optional use).
* win32-config.h, src/dialogs.c, src/geany.h:
Removed unneeded macro GEANY_MAX_TAGS_COUNT.
Moved macro GEANY_USE_WIN32_DIALOG to geany.h.
2006-10-24 Nick Treleaven <nick.treleaven@btinternet.com>
* src/sciwrappers.h, src/sciwrappers.c, src/document.h,
src/document.c:
Fix setting document unchanged state when using Undo/Redo for
encoding or BOM changes.
Add sci_is_modified().
Added useful doc() function used only when debugging.
* src/search.c:
Reorder Replace All buttons.
* src/msgwindow.c src/callbacks.c:
Change Messages and Compiler window to go to line with a single
click instead of double click.
2006-10-23 Enrico Tröger <enrico.troeger@uvena.de>
* src/encodings.c, src/encodings.h, src/document.c, src/callbacks.c,
src/dialogs.c: Added new encoding "None" to open files without any
character conversions (fixes #1580456).
* src/callbacks.c: Don't allow changing the encoding or setting a BOM
if the file is read only.
2006-10-22 Enrico Tröger <enrico.troeger@uvena.de>
* src/geany.h, src/keyfile.c, src/main.c:
Added configuration option for the alignment of toolbar quit button.
* geany.glade, src/interface.c, src/geany.h, src/keyfile.c,
src/main.c: Removed previously added configuration option and
removed the right alignment of the toolbar quit button.
* src/sci_cb.c, src/sci_cb.h, src/search.c:
Let the Find, Replace and FIF dialogs use the word at current cursor
position if there is no selection.
* src/filetypes.c: Added shebang detection for D files (dmd).
* src/callbacks.c, src/dialogs.c, src/document.c:
Added drop down box to the file open dialog to select an encoding.
Added possibility to open a file without any character set
conversions (could already fix #1580456, have to be continued).
2006-10-22 Nick Treleaven <nick.treleaven@btinternet.com>
* src/ui_utils.h, src/search.c, src/document.c, src/dialogs.c,
src/document.h, src/ui_utils.c:
Add separate Replace button, rename old button Replace & Find.
Add expander to group Replace All options for Replace dialog.
Use Replace All In Session button instead of checkbox.
Add border, update packing for all dialogs in search.c.
Add ui_dialog_vbox_new() for consistent dialog borders.
2006-10-21 Nick Treleaven <nick.treleaven@btinternet.com>
* src/document.c:
Make search bar automatically wraparound if necessary.
Detect when Find has searched all text and display a 'not found'
message on the status bar.
* src/build.c: Remove unused argument.
* src/callbacks.c, src/document.c, src/document.h:
Rename document_find_next() document_search_bar_find().
* src/msgwindow.h, src/dialogs.h, src/main.h:
Add G_GNUC_PRINTF checks for variable argument function prototypes.
* src/build.c, src/utils.c, src/highlighting.c, src/geany.h,
src/callbacks.c, src/sci_cb.c, src/vte.c, src/search.c, src/main.h:
Move geany_debug prototype to geany.h so that all files can use it
without a dependency on main.h.
* src/callbacks.c, src/main.c, src/main.h:
Moved finalization code from destroyapp() to main_quit().
2006-10-20 Nick Treleaven <nick.treleaven@btinternet.com>
* src/interface.c, src/main.c, geany.glade:
Add drop-down recent files menu to Open toolbar button.
Align quit toolbar button on the right.
Move Colour Chooser, Word Count to Tools menu.
Reorder Format, add Indent icons, edit Remove Indicators items.
2006-10-19 Nick Treleaven <nick.treleaven@btinternet.com>
* src/build.c, src/about.c, src/dialogs.c:
Added 6pt border, changed padding for all dialogs in dialogs.c;
also allow ESC to close cancellable dialogs.
Updated unsaved, LaTeX Set Arguments dialogs.
2006-10-18 Enrico Tröger <enrico.troeger@uvena.de>
* src/utils.c, src/treeviews.c, tagmanager/c.c:
Use "::" as context separator only for C++, otherwise use ".".
Detect module declarations in D and put them in the symbol list.
* src/callbacks.c, src/geany.h, src/msgwindow.c, src/treeviews.c:
Use enum values to reference different treeview widgets
(code cleanup).
2006-10-18 Nick Treleaven <nick.treleaven@btinternet.com>
* src/build.c, src/build.h, src/ui_utils.h, src/ui_utils.c,
src/keybindings.c, src/callbacks.c, src/callbacks.h, src/document.c,
src/main.c:
Move build menu related functions and callbacks to build.c.
Renamed ui_update_build_menu -> build_menu_update.
2006-10-17 Nick Treleaven <nick.treleaven@btinternet.com>
* src/callbacks.c, src/filetypes.h, src/ui_utils.c:
Disable Make All, Make Custom menu items for unnamed files.
Allow Run and Make Object for C header files.
* src/document.c:
Fixed Undo/Redo setting the wrong document changed state when making
edits after saving a file.
2006-10-17 Enrico Tröger <enrico.troeger@uvena.de>
* THANKS, configure.in, src/about.c:
Added Italian translation (thanks to M. Baldinelli and
Dario Santomarco).