272 Commits

Author SHA1 Message Date
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
Enrico Tröger
3e54b8798e Fixed weird behaviour of the recent files list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@500 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-28 15:18:23 +00:00
Nick Treleaven
756c47bc97 Make Status messages override the document statistics using utils_set_statusbar; don't use a fixed buffer for statistics
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@496 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 17:07:22 +00:00
Enrico Tröger
f6752778f4 Add support for parsing compiler output for LaTeX with latex's --file-line-error-style command line argument.
Removed unneeded function utils_free_ptr_array().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@495 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-27 15:31:32 +00:00
Nick Treleaven
8e5e2ec065 Add clipboard functionality for Scribble widget
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@485 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 20:18:24 +00:00
Nick Treleaven
d4405d5856 Add clipboard functionality for find and go to line widgets
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@484 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-25 19:57:07 +00:00
Enrico Tröger
3a435bf29e Replaced 'blank' by 'include "..."'. Fixed a bug in utils_brace_match() which prevents correctly matching.
Made auto completion work only for the current filetype (i.e. it hides symbols from other filetypes).
Removed unneeded code.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@474 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-24 14:36:35 +00:00
Enrico Tröger
b66243f1e1 Reorganised C include file items, added C++ headers.
Insert include statements and comment templates at mouse pointer position instead of cursor position.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@472 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-22 14:29:55 +00:00
Nick Treleaven
13b673d8ed Go back to the same line when reloading. Fix start selection bug when clicking in the current file if it has changed
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@468 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-20 11:55:34 +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
Nick Treleaven
a59a4ae006 Don't open files or go to errors automatically whilst compiling. Rename utils_goto_workspace_tag to utils_goto_file_line
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@462 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-19 13:27:09 +00:00
Nick Treleaven
e07a1a8387 Add keybindings for Find Usage, Go to definition/declaration, based on the current cursor position. Also ensure null termination in utils_find_current_word
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@456 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-17 21:08:47 +00:00
Nick Treleaven
6010e5bf13 Cache the current function name for efficiency in utils_get_current_function, other related fixes
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@451 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-16 17:11:09 +00:00
Enrico Tröger
2a09ed0ea7 Fixed a bug at opening files when clicking on compiler error messages(thanks Yura Semashko).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@446 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-15 12:57:07 +00:00
Enrico Tröger
73384bb248 Implemented code for setting indicators while compiling.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@442 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-13 19:37:21 +00:00
Enrico Tröger
ef3deeb742 Improved and finished switching between files when clicking on compiler error messages.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@441 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-13 15:49:19 +00:00
Enrico Tröger
c4125cf12f document_open_file() returns the index of the opened file.
Open or switch to files when clicking on compiler error messages and the error message mentions another file than the opened one.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@434 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-11 22:39:11 +00:00
Enrico Tröger
43bc6843bb Fixed an issue, which let the build menu item insensitive once a new file w/o template was opened.
Replaced "/" by G_DIR_SEPARATOR_S.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@429 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-11 11:13:14 +00:00
Nick Treleaven
79b4256758 Fix bug with Go to tag defn/decl when the filename is a link (TagManager dereferences linked filenames)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@421 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-07 21:24:15 +00:00
Enrico Tröger
d56c26cd48 corrected readme text for filedefs/filetypes.README
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@396 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-02 21:07:16 +00:00
Nick Treleaven
58d7e51ff9 Undo all changes in r393 (oops)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@394 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-02 20:01:57 +00:00
Nick Treleaven
11ffdebfc7 Fix a segfault with missing id in element
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@393 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-02 19:47:53 +00:00
Enrico Tröger
7a158f8508 added some sanity checks if filetype is NULL
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@390 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-06-02 14:04:59 +00:00
Enrico Tröger
5b308c0550 Fixed a wrong(non ISO-C) array size allocation, improved utils_replace_tabs()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@377 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-30 15:29:21 +00:00
Enrico Tröger
9e29121809 made recent files menu item insensitive when the list is empty
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@370 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-28 22:14:17 +00:00
Nick Treleaven
684e8cb32b check if file has been closed in utils_goto_workspace_tag
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@358 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-23 14:21:37 +00:00
Enrico Tröger
db7f89ca65 improved toggle visibility of sidebar when toggled by keyboard
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@356 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-22 13:43:56 +00:00
Enrico Tröger
573679601b applied sanity check and bugfix patch from Pierre(posted on mailing list)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@355 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-22 11:55:07 +00:00
Nick Treleaven
20047f7dab fix a segfault clicking on a compile error if the compiled file has been closed
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@348 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-20 20:03:34 +00:00
Enrico Tröger
40690fc5d6 fixed a crash when clicking on the run button and no file is opened
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@345 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-19 19:49:17 +00:00
Enrico Tröger
ca803bc2c0 added code for creation of filedefs subdirectory
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@343 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-19 17:19:12 +00:00
Enrico Tröger
df1b9fd010 new filetype Tcl/Tk, renamed tex.c
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@335 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-16 19:04:04 +00:00
Enrico Tröger
f5a9d78fcc added previously code to prevent opening of non-text files, fixed detection of C++-destructors and other improvements in utils_get_current_tag()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@332 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-15 19:44:09 +00:00
Enrico Tröger
10e4754b27 added code for parsing python error messages when clicked in compiler message window
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@324 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-12 16:11:14 +00:00
Enrico Tröger
ae4b9e248a moved my_strtod() from win32.c to utils.c, use it always, not only on Win32 systems
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@305 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-05-05 16:07:40 +00:00
Enrico Tröger
9934ab866b added small check for NULL pointer to avoid crashes
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@284 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-28 15:04:14 +00:00
Enrico Tröger
238a0ffb6f some changes, bugfixes
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@275 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-04-27 17:58:52 +00:00
Enrico Tröger
dc422fb745 added error messages to utils_write_file()
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@259 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-03-22 18:14:25 +00:00
Enrico Tröger
60dcfa3895 changed signature for utils_check_disk_status() and improved it, so it should work independet from the host time
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@238 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-03-10 00:50:27 +00:00