534 Commits

Author SHA1 Message Date
Enrico Tröger
f4507528f9 Removed the whole FIFO code and replaced it with support for (Unix Domain) Sockets.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@773 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-30 18:36:17 +00:00
Nick Treleaven
a69bcf2806 Fix quit confirmation message with no files open
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@757 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-22 19:53:11 +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
Nick Treleaven
38bba30628 Moved HAVE_FIFO MyApp fields to fifo_info struct in src/main.c; Prevent unnecessary 'does not look like a filename' debug messages
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@749 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 12:33:09 +00:00
Nick Treleaven
f93babed2f Fix opening more than one file from the command-line (with fifo)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@747 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-20 11:40:09 +00:00
Nick Treleaven
ac3d928453 Remember the VTE current directory
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@746 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-19 15:07:11 +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
4a1f8ca2d3 Fix a segfault at startup if terminal follow path setting is enabled
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@743 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-19 10:00:21 +00:00
Nick Treleaven
90047be4d7 Use Reload button for reload dialog; Share on_reload_as_activate code for reloading
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@738 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-18 17:24:44 +00:00
Nick Treleaven
6415979cb8 Move signal_cb to main.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@728 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-17 14:38:57 +00:00
Enrico Tröger
7d6c540195 Made increase/decrease indentation working with selections.
Keep the old cursor position when working on a single line (do not jump to line start).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@715 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-15 08:51:48 +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
5d82a9b942 Group search related code
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@699 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-11 21:41:05 +00:00
Nick Treleaven
f75fd1402a Group search related code
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@698 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-11 21:12:49 +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
Enrico Tröger
3df2f233d0 Applied patch to re-enable XIM support. Thanks!
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@681 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-07 15:05:21 +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
Nick Treleaven
92a3f0a4b8 Place the cursor in "" for insert blank include
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@679 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-07 11:11:05 +00:00
Nick Treleaven
d39510f44d Allow Find even when the replace text is the same
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@678 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-07 10:02:11 +00:00
Nick Treleaven
c633b3f2c0 Allow partial word selection for Find Usage
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@671 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-05 12:11:55 +00:00
Nick Treleaven
4f7860b1a2 Disable word and word start matching when regexes are enabled; Don't hide the Find dialog after searching; use Close button.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@669 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-04 12:21:41 +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
53d91a4c55 Fixed wrong behaviour of Save As on unchanged files.
Don't set file as changed when changing encoding to the same one.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@663 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-02 10:50:53 +00:00
Nick Treleaven
088a2ca529 Clear search flags when using the find toolbar entry; Removed some unnecessary static variables.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@657 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 11:33:42 +00:00
Enrico Tröger
2a30d0abe3 Added some menu items to the edit menu for editing tasks.
Added keyboard shortcuts for increase/decrease of line indentation (closes #1521717).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@656 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-08-01 10:35:32 +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
Nick Treleaven
35a1df7ffc Remember Find in files directory for opening grep results
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@650 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-29 12:06:00 +00:00
Enrico Tröger
85af83f6ae Added some options to the Find in files dialog, made search directory editable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@647 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-28 18:37:32 +00:00
Enrico Tröger
d561c70125 Let the colour chooser pick the colour under the cursor(Win32 code). Added some sanity checks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@643 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-27 23:17:31 +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
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
d8c06b041d Small changes to get cross compiling using mingw32 suite working.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@631 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-25 17:45:34 +00:00
Enrico Tröger
ac34496500 Fixed broken Find usage.
Put "No matches" message also in the message window.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@630 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-25 13:14:51 +00:00
Enrico Tröger
902379738b Removed some unneeded functions to avoid duplicate code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@629 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-25 12:46:08 +00:00
Enrico Tröger
e1f79b7d3e Added menu item to the document menu to add/remove BOM.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@620 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-24 20:23:56 +00:00
Enrico Tröger
2ca139c24c Let Find usage search for the current selection if there is one.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@613 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-23 20:26:57 +00:00
Enrico Tröger
fed621e445 Fixed two issues when showing / hiding the sidebar.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@603 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-22 11:09:48 +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
Nick Treleaven
96a4a059df Added Find button to Replace dialog to skip a match; Change Replace button to find first & use current selection; Ask whether to wraparound when replacing and no next match is found
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@597 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-20 21:19:18 +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
Nick Treleaven
b9f6cf6987 Use more POSIX-like syntax for regular expression bracket matching; Prevent searching backwards with a regex (unsupported); Scroll in view after the last replacement for replace all/selection. Also move hiding the replace dialog out of document.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@582 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-18 17:43:22 +00:00
Enrico Tröger
7bbccd884d Added option to replace escape sequences in Find and Replace dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@578 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-18 10:48:51 +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
Nick Treleaven
d97a1b476b Use locale encoding for Find in files and remember previous searches.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@557 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-14 16:58:25 +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
a1bca612ae Added "Replace in all open files" option in the replace dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@546 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-07-10 16:46:29 +00:00