160 Commits

Author SHA1 Message Date
Enrico Tröger
c20171288d Enabled socket code on Windows.
Re-enabled the gtk_window_present() call for Windows to pop up the main window.
Enabled notification if file on disk has changed under Windows, it seems to work (closes #1557689).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@835 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-26 16:29:44 +00:00
Nick Treleaven
d186f909bd Improve utils_get_current_time_string().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@820 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-17 20:40:15 +00:00
Enrico Tröger
09d7f30aec Convert tag names to UTF-8 before showing them in the sidebar.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@794 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-06 17:31:53 +00:00
Nick Treleaven
a63fc1e40e Moved UI related utils from utils.c to ui_utils.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@790 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-05 14:24:47 +00:00
Enrico Tröger
c6b20543ac Save All button is also active when only one file is changed(improves usability).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@784 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-03 13:30:12 +00:00
Nick Treleaven
4c33cc29a1 Fixed C89 variable declaration and two sign comparison warnings
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@780 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-09-02 20:30:35 +00:00
Enrico Tröger
b362185772 Fixed a crash when switching between several filetypes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@771 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-28 16:27:16 +00:00
Enrico Tröger
01127d7e0a Fixed weird behaviour of Save all tool button and menu item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@763 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-26 16:44:08 +00:00
Enrico Tröger
f509afca7e Save all VTE settings in an own VTE section in the configuration file instead of using an unhandy string list.
Added new settings: ignore menu bar accelerator and define the shell which is started within the VTE.
(Code not yet complete, might be buggy, GUI stuff is missing)


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@755 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-22 19:03:38 +00:00
Nick Treleaven
0bd427bd05 Remove filetypes.h and Scintilla includes from geany.h; Add VALID_DOC_IDX macro
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@751 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 20:39:59 +00:00
Enrico Tröger
d79e82f633 Moved prototype for geany_debug() to main.h.
Moved declaration of document struct to document.h.
Keep selection when commenting and uncommenting code.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@750 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 15:47:18 +00:00
Enrico Tröger
312579d70a Added menu items to insert configurable date/time strings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@744 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-19 12:56:30 +00:00
Nick Treleaven
ff5d2fd841 Use Reload button for utils_check_disk_status dialog
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@737 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-18 17:23:40 +00:00
Enrico Tröger
b733509867 Search the first three lines when replacing the filename in a template(for PHP).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@721 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 12:32:56 +00:00
Nick Treleaven
7ebb187b26 Store build information instead of using app->cur_idx; Assume C-like warning messages when running make when the current file is a Makefile; Moved some msgwin setup and cleanup code to msgwindow.c; Moved utils_parse_compiler_error_line to msgwindow.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@714 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-14 15:02:52 +00:00
Enrico Tröger
0dcbacec1f Use utf8/locale encoding wrappers.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@711 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-13 09:07:10 +00:00
Nick Treleaven
921060f7fb Add wrappers for converting between utf8 and locale encoding
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@707 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-12 21:36:55 +00:00
Nick Treleaven
7d8637f549 Fixed all sign comparison warnings
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@684 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-08 13:01:50 +00:00
Nick Treleaven
795fc85083 Move recent file item to the top when it is clicked on
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@680 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-07 14:53:58 +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
Nick Treleaven
c6fa1febba Wrap calltip and prevent it obscuring the current line
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@666 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-03 13:27:30 +00:00
Nick Treleaven
35003deb31 Added Auto indentation and Line wrapping options to Preferences dialog; Split up Miscellaneous items into Display and Features; Renamed Change Selection and Run toolbutton.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@654 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 10:06:28 +00:00
Enrico Tröger
31c17438cb Removed unused colour parsing functions.
Let the colour chooser pick the colour under the cursor.
Fixed bug in parsing strings containing hex values, modified the styles to keep the syntax highlighting consistent.
Removed startup warning.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@641 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-27 20:57:13 +00:00
Nick Treleaven
a2385fe52e Only replace untitled.x within the first 2 lines
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@640 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-26 17:10:35 +00:00
Enrico Tröger
4e122c97b7 Removed macro GEANY_WIN32, use G_OS_WIN32 instead.
Introduced global variables for PACKAGE_DATA_DIR and  PACKAGE_LOCALE_DIR, removed macro DOCDIR (these changes are important for the Windows port).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@639 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-26 17:02:16 +00:00
Enrico Tröger
ee196b6782 Removed title argument from win32_message_dialog because it is defined by the dialog type.
Added simple wrapper function win32_open_browser().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@628 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-25 12:44:42 +00:00
Nick Treleaven
088880208b Change 2 paths to use G_DIR_SEPARATOR_S
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@619 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-24 19:56:37 +00:00
Enrico Tröger
ab05f39d24 Renamed document element unicode_bom in has_bom.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@611 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-23 15:45:05 +00:00
Enrico Tröger
4ec2bd121b Added Unicode BOM detection.
Added "Reload as" menu item to force opening a file with a specified encoding(both were patches from Stefan Oltmanns).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@600 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-22 01:29:10 +00:00
Enrico Tröger
978a6fee93 Added menu item View->Show Sidebar and improved code around it.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@598 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-21 11:41:33 +00:00
Enrico Tröger
8b09a2935d Improved replacing escape sequences in Find and Replace dialog (thanks to Stefan Oltmanns).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@586 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-19 11:30:59 +00:00
Enrico Tröger
c00a9decca Fixed endless loop.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@577 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-17 19:48:42 +00:00
Enrico Tröger
6516c31a6a Moved document related functions from utils.c to document.c.
Keep cursor position when replacing tabs by spaces.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@572 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-17 10:42:26 +00:00
Enrico Tröger
6a9c283cb9 Moved HTML entities from sci_cb.h to data/html_entities.tags.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@571 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-16 22:02:31 +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
0a795b2d82 Toolbar items for file operations can also be hidden.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@564 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-15 18:15:30 +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
Nick Treleaven
1c8d62ed5d Added basic Find in files search functionality.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@551 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-13 14:30:44 +00:00
Enrico Tröger
100987ee91 Improved toolbar popup menu.
Added new preferences tab for toolbar settings, several toolbar buttons can be hidden.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@548 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-11 14:15:56 +00:00
Enrico Tröger
6cc29173be Added new filetype D(patch by Christop Berg, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@544 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-09 14:41:53 +00:00
Enrico Tröger
0f061ee31a Improved behaviour of toggle sidebar after a restart. Introduced new flag sidebar_visible, renamed configuration keys.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@538 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-07 14:34:43 +00:00
Nick Treleaven
58efd38deb Don't include SciLexer.h in geany.h
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@533 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-04 21:31:08 +00:00
Nick Treleaven
60b7f681d7 Scroll to 1/4 of visible lines when going to a line number.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@531 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-03 12:58:58 +00:00
Nick Treleaven
2b73b12cb7 Fix a problem with the recent files menu
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@530 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-03 12:06:13 +00:00
Enrico Tröger
b28e30b389 Improved "Find usage", so it displays not "null" for unsaved files in the results, and unsaved file are also clickable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@524 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-02 11:32:06 +00:00
Nick Treleaven
cee4ebf37c Fix a segfault on Go to tag defn/decl if no files have tags. Add utils_find_tm_tag
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@516 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 13:16:52 +00:00
Nick Treleaven
2aa7ae45a2 Add utils_get_current_time_string and fix getting the time string
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@515 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-01 12:02:30 +00:00
Enrico Tröger
805bdf9675 Added function is_opening_brace().
Use is_opening_brace() for better handling of calltips.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@506 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 18:22:11 +00:00
Nick Treleaven
42a206085e Apply fonts in Preferences when they are set and only if they have changed. Rename utils_set_font to utils_set_editor_font. Remove an old comment in document_open_file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@503 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 16:55:29 +00:00
Enrico Tröger
852624b60e Renamed tools settings from build_* in tools_*.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@502 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-29 14:00:09 +00:00