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
Enrico Tröger
6409cf8926
implemented folding
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@227 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-26 18:19:28 +00:00
Enrico Tröger
e8886e1af4
made "make" build menu items sensitive for C header files
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@220 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-25 22:26:43 +00:00
Enrico Tröger
77d7a8141a
added utils_make_human_readable_str()
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@213 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-22 13:41:50 +00:00
Enrico Tröger
ff0a0f01e0
replaced the New toolbar button by a menu button, so it works also under Win32
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@205 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-20 22:30:35 +00:00
Enrico Tröger
6dd78834f2
added toggle for line numbers
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@200 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-14 22:10:25 +00:00
Enrico Tröger
a232d7e15d
fixed a memory leaks
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@181 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-10 20:45:25 +00:00
Enrico Tröger
6efc4327b0
added filetype to the status bar, improved filename handling at reloading files, added utils_beep()
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@172 ea778897-0a13-0410-b9d1-a72fbfd435f5
2006-02-06 06:34:06 +00:00