Enrico Tröger
80532b616d
Store more document-related settings session-based in the configuration file(including the file encoding).
...
Detect in-file specified file encoding by scanning the file using regular expressions.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2093 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-12-07 14:13:05 +00:00
Enrico Tröger
90b01daf35
Fixed several compiler warnings (mainly shadowing local variables and unreachable code).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1376 ea778897-0a13-0410-b9d1-a72fbfd435f5
2007-03-09 13:52:26 +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
Enrico Tröger
60bb784493
Moved utils_convert_to_utf8() and utils_convert_to_utf8_from_charset() to encodings.c.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@931 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-10-25 14:48:07 +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
afa4c4104e
Made document related submenus(filetype, encoding, line endings) radio buttons for better usability.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@668 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-03 22:17:10 +00:00
Enrico Tröger
0ba2c566da
Oops, forgot these files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@601 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-22 02:06:30 +00:00
Enrico Tröger
cb006f8068
Restored original order of the encodings, kept the sorted order in the document menu.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@579 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-18 12:27:36 +00:00
Enrico Tröger
f481b55f46
Added filename to an error message.
...
Removed function encodings_get_encodings().
Simplified locale detection and little speed up.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@569 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-16 19:28:13 +00:00
Enrico Tröger
c9d7f1062a
Reordered encodings in the file menu, divided into subregions.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@567 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-16 18:46:53 +00:00
Enrico Tröger
1b122c6bc6
Fixed wrong charset detection on UTF-8 (and maybe other) systems.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@554 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-14 10:48:02 +00:00
Enrico Tröger
f375a6be68
Added missing shortcut for "Close".
...
Added option in the preferences dialog to replace tabs by spaces when saving a file.
Added option for default encoding for new files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@470 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-21 18:54:07 +00:00
Enrico Tröger
2b362ef8a7
Implemented encoding support to switch between different encodings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@467 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-19 18:31:17 +00:00
Enrico Tröger
5deab2b6e5
improved usage of config.h and cleaned some header files from unneeded includes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@89 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-12-29 19:50:50 +00:00
Enrico Tröger
8cb2cf0997
Initial import
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4 ea778897-0a13-0410-b9d1-a72fbfd435f5
2005-11-22 12:26:26 +00:00