Enrico Tröger
2397dc3b0f
Use UTF-8 filename in Save As dialog when setting non-existing filename.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1772 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-08-05 11:29:09 +00:00
Enrico Tröger
03b61bbbc9
Make plugins working and compiling on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1758 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-28 17:44:02 +00:00
Nick Treleaven
767b70dbb3
Move Color Chooser and Word Count tools to tools.c.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1751 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-27 11:28:17 +00:00
Nick Treleaven
73007c11e8
Move font & file open/save dialog callbacks to dialogs.c.
...
Add document_clone() in document.c (for Save As open in new tab).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1716 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-17 14:52:57 +00:00
Nick Treleaven
a4728116bc
Use Rename button instead of checkbox for Save As dialog.
...
Add tooltips for Save As dialog's other options.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1703 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-16 14:42:36 +00:00
Nick Treleaven
8fe0974d8a
Capitalize some dialog titles.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1694 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-12 11:59:13 +00:00
Enrico Tröger
17a6f764a4
Fix missing descriptive text in message box when closing an unsaved file on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1679 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-08 14:55:37 +00:00
Enrico Tröger
4e774e083f
Use the default GTK file save dialog on Windows. Prevent some (probably) unnecessary filename encoding conversions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1671 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-06 12:37:07 +00:00
Enrico Tröger
6069531e78
Fix focus problem when using the Find dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1663 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-07-04 17:08:53 +00:00
Enrico Tröger
6f4b4c4fa7
Set also previous colour when setting the colour for the dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1652 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-29 14:32:21 +00:00
Enrico Tröger
bba1acbbb9
Add palette to Colour Chooser Dialog.
...
Fix picking colours starting with '#'.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1647 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-27 18:43:23 +00:00
Enrico Tröger
6680f847ea
Add "Open file in a new tab" and "Rename file" to the "Save as" dialog for more control over saved file.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1612 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-06-12 16:45:24 +00:00
Enrico Tröger
c1f109bc13
Add default startup directory option ( closes #1704988 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1561 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-23 13:44:25 +00:00
Enrico Tröger
b5f8992a5d
Added many widget names to different dialogs for use with custom styles. Menu items still don't work.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1535 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-05-15 15:16:16 +00:00
Enrico Tröger
e331c40a54
Use g_stat() instead of stat() to prevent file read errors on Win32.
...
Prevent unnecessary filename encoding conversions on Win32.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1456 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-04-16 15:58:34 +00:00
Nick Treleaven
6575d4f953
Move dialogs_show_includes_arguments_*() to build.c.
...
Move on_includes_arguments_*dialog_response() to build.c.
Make several build functions static.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1418 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-24 12:40:20 +00:00
Nick Treleaven
7ae070145b
Move dialogs_show_keyboard_shortcuts() to keybindings.c.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1415 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-23 16:34:54 +00:00
Nick Treleaven
eb8834d5bb
Add Edit button to Keyboard Shortcuts dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1414 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-23 16:03:52 +00:00
Enrico Tröger
f486728aed
Added new file filter for Open File dialog to only show supported source files (list of all defined filename extensions).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1356 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-01 22:38:31 +00:00
Nick Treleaven
806dd5be1d
Add descriptions for all .c source files below the file header.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1329 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-24 11:41:56 +00:00
Nick Treleaven
594935a05d
Fixed switching to the wrong tab when showing the unsaved dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1324 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-02-23 15:36:21 +00:00
Enrico Tröger
278458e436
Fixed crashes when using some dialogs after they were closed before.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1209 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-19 23:17:40 +00:00
Enrico Tröger
7b61ad934d
Updated copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1188 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-14 17:36:42 +00:00
Nick Treleaven
af369cf776
Fix memory leak when using utils_scan_unicode_bom().
...
Prevent invalid memory read in utils_scan_unicode_bom() when text
length is < 4.
Move utils_scan_unicode_bom(), utils_is_unicode_charset() to
encodings.c.
Read the BOM length in handle_bom().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1167 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-01-07 16:22:41 +00:00
Nick Treleaven
f415b70a2f
Always switch to the tab when showing the unsaved file dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1117 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-18 12:34:29 +00:00
Enrico Tröger
659ed0f3f3
Added more spaces in word count dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1086 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-12 21:22:50 +00:00
Enrico Tröger
871d166375
Use a table to layout the word count dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1079 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-10 22:21:15 +00:00
Nick Treleaven
0a90306c8f
Use ui_button_new_with_image() in dialogs_show_unsaved_file().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1070 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-08 16:21:52 +00:00
Enrico Tröger
019859b55b
Revert the last change to utils_str_equal() and use it again because g_str_equal() is not NULL-safe.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1060 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-12-07 16:12:01 +00:00
Nick Treleaven
e458304ce3
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.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1038 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-30 15:42:52 +00:00
Nick Treleaven
373ec102e4
Add frame for VTE Preferences tab, update packing.
...
Replace ui_frame_new() with ui_frame_new_with_alignment().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1026 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-24 11:11:06 +00:00
Enrico Tröger
829f0e3696
Don't set width of file open dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@975 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-07 23:32:30 +00:00
Nick Treleaven
20637b939b
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.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@972 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-07 11:24:22 +00:00
Enrico Tröger
a70b1ea728
Run set includes build dialogs for LaTeX files modally, too.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@961 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-11-02 23:22:34 +00:00
Enrico Tröger
e3f6f0a890
Added warning message dialog, united dialogs_show_info() and dialogs_show_error() to dialogs_show_msgbox().
...
Added warning message when opening files that cannot be handled correctly and set them to read-only mode.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@930 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-25 14:38:48 +00:00
Enrico Tröger
413f31f373
Removed unneeded macro GEANY_MAX_TAGS_COUNT.
...
Moved macro GEANY_USE_WIN32_DIALOG to geany.h.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@929 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-24 23:50:50 +00:00
Enrico Tröger
a8925aa73a
Use GTK's file open dialog also under Windows to have the extended options.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@927 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-24 18:21:16 +00:00
Enrico Tröger
47a71bc3aa
Added new encoding "None" to open files without any character conversions ( fixes #1580456 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@920 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-23 20:32:37 +00:00
Enrico Tröger
84a4e8d817
Added drop down box to the file open dialog to select an encoding.
...
Added possibility to open a file without any character set conversions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@919 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-23 00:05:42 +00:00
Nick Treleaven
03eae9ebc4
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.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@914 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-22 14:56:05 +00:00
Nick Treleaven
06e8521a82
Use Untitled string for unsaved dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@908 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-20 16:40:12 +00:00
Nick Treleaven
df64d0a535
Added 6pt border, changed padding for all dialogs in dialogs.c;
...
also allow ESC to close cancellable dialogs.
Updated unsaved, LaTeX Set Arguments dialogs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@906 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-19 16:26:29 +00:00
Nick Treleaven
93ba5ba45f
Removed the GEANY_MAX_OPEN_FILES limit, using a dynamic array.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@875 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-09 16:08:53 +00:00
Enrico Tröger
76f60f7a03
Made string "Permissions" in the file property dialog translatable.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@874 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-09 13:50:23 +00:00
Enrico Tröger
6af166578d
Fixed compiler warnings and removed unnecessary signal handler.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@822 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-18 08:19:40 +00:00
Nick Treleaven
b89abc8586
Add ui_frame_new().
...
Run set includes build dialogs modally, keeping the same filetype.
Updated set includes & arguments dialog layout.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@817 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-15 14:25:42 +00:00
Enrico Tröger
8dede470b1
Made socket code for detecting running instances working under Windows.
...
Fixed compile warnings under Windows.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@810 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-11 07:41:37 +00:00
Nick Treleaven
6c511f413d
Move on_recent_file_activate, dialogs_create_recent_menu,
...
dialogs_create_build_menu_gen, dialogs_create_build_menu_tex to
ui_utils.c. Also make some functions static.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@807 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-09 14:36:15 +00:00
Enrico Tröger
5a05227d87
Don't quit when an error occurs while saving changed files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@792 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-05 18:33:48 +00:00
Enrico Tröger
6ad79f7610
Fixed some typos.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@778 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-01 15:48:56 +00:00