8020 Commits

Author SHA1 Message Date
Philipp Wiesemann
8ffe0467b7 Update link in development documentation
The old link was a 404 page.
2015-05-22 23:11:25 +02:00
Philipp Wiesemann
62157ebbdf Update link in development documentation
The project moved from Google to GitHub.
2015-05-22 23:06:18 +02:00
Colomban Wendling
3e42c9b05b Initial NEWS update to prepare for 1.25 2015-05-21 22:40:32 +02:00
Enrico Tröger
02ca046991 Add src/spawn.c to translatable files to fix 'make check' 2015-05-19 17:42:34 +02:00
Colomban Wendling
40b9a2ba0d Respect filetype.common's wordchars if a filetype doesn't have its own
Use filetype.common's wordchars instead of GEANY_WORDCHARS as default
for filetypes not having their own.  This allows to change the
wordchars for all filetypes at once.

Part of issue #492.
2015-05-19 14:25:40 +02:00
Frank Lanitz
93950a6a7b Merge pull request #500 from fbobraga/master
Fix header of translation file
2015-05-19 13:44:02 +02:00
Felipe Braga
9be6ce81e4 Fixed heade 2015-05-19 07:57:51 -03:00
Jiří Techet
09ee4965f7 Add TERM_PROGRAM to excluded environment variables for VTE
On OS X /etc/bashrc does some Apple-terminal-specific thing:

# Tell the terminal about the working directory at each prompt.
if [ "$TERM_PROGRAM" == "Apple_Terminal" ] && [ -z "$INSIDE_EMACS" ]; then
    update_terminal_cwd() {
        # Identify the directory using a "file:" scheme URL,
        # including the host name to disambiguate local vs.
        # remote connections. Percent-escape spaces.
        local SEARCH=' '
        local REPLACE='%20'
        local PWD_URL="file://$HOSTNAME${PWD//$SEARCH/$REPLACE}"
        printf '\e]7;%s\a' "$PWD_URL"
    }
    PROMPT_COMMAND="update_terminal_cwd; $PROMPT_COMMAND"
fi


This however doesn't work in VTE when Geany is started from the Terminal
application so we get some strange prefix for the prompt. Unset the
TERM_PROGRAM variable so it isn't set to Apple_Terminal when running
inside VTE.
2015-05-19 11:55:40 +02:00
Frank Lanitz
b5eabc5986 Small Update of German translation 2015-05-18 18:27:03 +02:00
Frank Lanitz
9c2d51f920 Merge pull request #498 from fbobraga/master
Updated pt_BR translation
2015-05-18 09:14:37 +02:00
Felipe Braga
2693a7b648 Updated pt_BR translation 2015-05-17 18:44:32 -03:00
Jiří Techet
bd4956b555 Fix corrupted initial prompt
The initial prompt may get corrupted so it looks something like

any/src $ het-vm ~/projects/gea

instead of

techet@techet-vm ~/projects/geany/src $

This is just the initial display problem - when enter is pressed, the
second line already shows correct prompt.

It appears that VTE isn't fully initialized when starting the shell process
and when the shell start is delayed a bit (performed on idle), the prompt
looks correct.
2015-05-17 18:22:32 +02:00
Colomban Wendling
826f6516d3 Merge pull request #441 from zhekov/spawn
Add a spawn module for Geany

Thanks a lot for Dimitar's hard work, commitment and endless patience!

Closes #274, #441, and https://sourceforge.net/p/geany/bugs/943/
Should also fix https://sourceforge.net/p/geany/bugs/898/
2015-05-15 18:54:23 +02:00
Frank Lanitz
cdb7521b9b Update of German translation 2015-05-14 20:34:48 +02:00
Frank Lanitz
48977780c6 Merge pull request #490 from philippwiesemann/fix-typos-messages
Fix typos in messages
2015-05-11 16:48:04 +02:00
Philipp Wiesemann
d665c23a03 Fix typo in message
It was already fixed in source.
2015-05-10 21:36:39 +02:00
Philipp Wiesemann
999e17a5fb Fix typo in messages 2015-05-10 21:30:06 +02:00
Philipp Wiesemann
32ee98da17 Fix typo in message 2015-05-10 21:20:55 +02:00
Frank Lanitz
ece9fb37c7 Merge pull request #489 from philippwiesemann/fix-wrong-po-de
Fix wrong German translations
2015-05-10 06:56:18 +02:00
Philipp Wiesemann
2d5428b09e Add three exclamation marks in German translation 2015-05-09 23:21:12 +02:00
Philipp Wiesemann
19883aeb8a Add three hyphens in German translation
The translation for "document" already had one.
2015-05-09 23:15:59 +02:00
Philipp Wiesemann
ab43cd9839 Fix wrong German translation
The translation did not distinguish between "source file" and "file"
although it makes sense (e.g. for diff files which are not source).
2015-05-09 23:10:41 +02:00
Philipp Wiesemann
7db70998bf Fix two wrong German translations 2015-05-09 23:07:26 +02:00
Colomban Wendling
5cfc3f20f6 Merge pull request #487 from techee/goto_tag_fix
Fix language check in tm_workspace_find()
2015-05-06 19:03:18 +02:00
Colomban Wendling
3973362c1b Merge pull request #486 from techee/fix_empty_symbol_tree
Fix empty symbol tree under some conditions
2015-05-06 18:51:43 +02:00
Jiří Techet
1903b0a9b9 Add a flag indicating the tag tree needs updating
When the Symbols tab isn't shown, symbol tree isn't updated. However,
we should record the cases when update should have been performed
and once the symbols tab is shown, perform update if something changed.

Thanks to this patch we also don't have to always perform symbol tree
update when switching to the Symbols tab but only when something has
actually changed.
2015-05-06 18:48:14 +02:00
Jiří Techet
81fb120f50 Fix language check in tm_workspace_find()
The tags_lang variable is set from the first tag in the found array but
the array may actually contain tags from several languages. This may
lead to two things:

1. Goto tag definition goes to a tag from a different filetype
2. Worse, the first tag is from a different language than the current file
and we get a message that no tag was found

Get lang for every tag in the array and rename tags_lang to tag_lang.
2015-05-06 18:37:46 +02:00
Frank Lanitz
dbcbd57ee6 Update of Serbian translation 2015-05-05 19:55:15 +02:00
Colomban Wendling
80d7aa213c Allow to select None filetype in Open File dialog
Closes #483.
2015-05-03 23:41:32 +02:00
Colomban Wendling
62a8232901 Merge pull request #475 from techee/retval_refresh
Reload tooltip in the symbol tree also on tag update
2015-05-03 22:36:16 +02:00
Colomban Wendling
97b869bcd6 Merge pull request #476 from techee/dirty_vte
Communicate terminal dirty-ness to users in a better way
2015-05-03 22:35:08 +02:00
Jiří Techet
44fec8f751 Prepend values to GtkTreeStore to eliminate quadratic complexity
The tree model nodes consist of GNode structs:

struct GNode {
  gpointer data;
  GNode	  *next;
  GNode	  *prev;
  GNode	  *parent;
  GNode	  *children;
};

where children are a linked list. To append a value, the list has to be
walked to the end and with nodes with many children (which is our case)
this becomes very expensive.

We sort the tree afterwards anyway so it doesn't matter where we insert the
value.
2015-05-03 19:36:26 +02:00
Jiří Techet
8ffd687af7 Don't update the symbol tree when not shown 2015-05-03 19:36:26 +02:00
Jiří Techet
e3e46ed63b Use gtk_tree_store_insert_with_values() to speed-up tree creation
About 30% faster tree creation.
2015-05-03 19:36:26 +02:00
Jiří Techet
35bde6c5ad Reload a tag in the sidebar only when it differs from the existing tag
gtk_tree_store_set() becomes very slow when the tree gets bigger
because internally it calls gtk_tree_store_get_path() which counts
all the entries in a linked list of elements at the same tree level
to get the tree path.

Avoid the call of this function when not needed.
2015-05-03 19:36:26 +02:00
Jiří Techet
5d94d15976 Reload tooltip in the symbol tree also on tag update
Because function return types are not used to determine tag equality,
we need to also update the tooltip of an existing tag otherwise the return
type doesn't get updated when changed.
2015-05-03 19:36:26 +02:00
Frank Lanitz
b92b4ad364 Merge pull request #482 from philippwiesemann/fix-typos-po-de
Fix typos in German translation
2015-05-03 17:09:39 +02:00
Philipp Wiesemann
14e110ecdc Fix typos in German translation 2015-05-02 22:34:58 +02:00
Jiří Techet
d31c770a3d Tell users how to clear the terminal in the error message
This is not completely obvious - when I first saw the message, I started
pressing backspace which really doesn't help.

Also clarify and shorten the message a bit - in "Could not execute the file
in the VTE because it probably contains a command" it's not clear if it's
the file or VTE which contains the command. Also use "terminal" instead
of "VTE" which is more user-friendly.
2015-04-29 22:23:43 +02:00
Jiří Techet
9f0bfec045 Add "dirty" terminal indication
Right now users are confused when various VTE actions don't work because
there's no indication that the terminal is in the non-clean state.

Visualise "modified" terminal in the same way as modified document - by
a red label in the tab so it's clearer when terminal isn't clean.

Avoid quick red flashes when pressing enter by delaying the color change
a bit.
2015-04-29 22:23:35 +02:00
Enrico Tröger
3b484d8f9e Merge pull request #464 from eht16/undeprecate_plugins
Remove deprecated and unnecessary use of GeanyFunctions declaration
2015-04-25 10:22:52 +00:00
Enrico Tröger
9fd566e040 Windows: don't link geany_private.rc to libgeany as it is not necessary 2015-04-25 12:19:28 +02:00
Dimitar Zhekov
df39fc7bf7 Mark the exported spawn functions as GEANY_API_SYMBOL and @since 1.25 2015-04-24 19:35:59 +03:00
Daniel Guerrero Miralles
b6fc3e97df Fix catalan translation
This small patch fixes some entries in the contextual menu.
2015-04-22 13:49:47 +02:00
Colomban Wendling
10a04f71c3 Update Scintilla to version 3.5.5 2015-04-21 16:21:37 +02:00
Colomban Wendling
2523a25f9c Merge branch 'scintilla-update-script'
Small improvements to the Scintilla update script
2015-04-21 16:19:11 +02:00
Colomban Wendling
39daab1dc7 hacking: Add a section on how to upgrade the bundled Scintilla copy 2015-04-21 16:11:07 +02:00
Colomban Wendling
efb639435c Scintilla update script: only ask for checking when something changed
Only ask the user to check the SciLexer.h diff if the file actually
changed.
2015-04-21 15:40:15 +02:00
Colomban Wendling
264df2ec7b Scintilla update script: improve success banner 2015-04-21 15:39:30 +02:00
Colomban Wendling
96cc37946f Scintilla update script: strip "a/" and "b/" automatically 2015-04-21 15:34:54 +02:00