All,
1) Steps to reproduce: Start a long compile (This keeps the compile
window busy) (Long = 10+ seconds to complete)
2) Open the "Open File" dialog 3 times. On the 3rd time geany will
crash. I do it by pressing CTRL+O
Attached is some potentially interesting valgrind. I tried suppressing
writing to the compile window but that didn't fix the problem. I need a
suggestion as to where else to look.
Cheers,
- Bob
--
Hi there, I am wondering if anyone has gotten geany to work under OSX?
I have managed to compile and run geany 0.10 using g++ 3.3 however there is
something that is causing it to hang when I hit the compile button.
Also when compiling under gcc 4.0.1 i get the following make error:
gcc -DGEANY_DEBUG -Wall -pipe -g -O2 -o geany main.o symbols.o search.o
notebook.o keybindings.o templates.o treeviews.o about.o encodings.o
keyfile.o prefs.o dialogs.o msgwindow.o build.o filetypes.o
highlighting.osci_cb.o
sciwrappers.o document.o socket.o tools.o utils.o ui_utils.o support.o
interface.o callbacks.o vte.o ../scintilla/libscintilla.a
../tagmanager/libtagmanager.a -L/opt/local/lib -L/usr/X11R6/lib -
lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -ltiff -ljpeg -lm -
lpangocairo-1.0 -lpango-1.0 -lcairo -lSM -lICE -lgobject-2.0 -lgmodule-2.0 -
lglib-2.0 -lintl -liconv -lfreetype -lz -lfontconfig -lpng12 -lXrender
-lX11 -lstdc++
/usr/bin/ld: Undefined symbols:
__Unwind_Resume
collect2: ld returned 1 exit status
make[2]: *** [geany] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Any ideas?
Thanks,
Ali
Hello,
This patch is off of the latest SVN (pulled a couple of hours ago). Say
you open up the main geany makefile, in the base directory of the geany
source (lets say /sources/geany), and you do a make all and there is an
error or a warning in one of the files in src/somefile.c, if you click on
that error in the compile window, it will tell you that
/sources/geany/somefile.c does not exist, instead of properly opening
/sources/geany/src/somefile.c. In the same vein, if you have "Use
indicators to show compile errors" turned on and you have somefile.c
opened, the indicators will not show up. This patch makes geany properly
parse the "Entering directory" messages from gcc in order to determine the
proper path to the file in question. I have tested this patch and it
works for me.
I will note there seems to be some screwey colors thing happening with
geany, where the tabs will show up with random colors after saving a file.
It doesn't happen all of the time, and it happens less without this
patch, but with this patch it happens alot more often. I'm pretty sure
its not this patches fault as it happens with a clean build from svn, but
I thought I'd bring it up in case anybody else was seeing it. I will try
to track it down later this week.
Another note, my day job is more kernel related than anything, and my gtk
is very new to me, so if I've done something very stupid please point it
out so I can learn :), GUI programming is not one of my strong points.
Thank you,
Josef
Hello,
I've been looking into this weird tab coloring problem I've been having
with the latest SVN pull of geany. Running it through valgrind and such I
was getting read errors on unintialized values in ui_tree_view_find_next,
so I started poking around in there to see what was going on. After
adding a few printf's valgrind has stopped complaining, but I'm noticing
that the document style's colors change. So if document_get_status()
returns a NULL color, we change the tabs to meet the style colors, like so
gtk_widget_modify_fg(doc_list[idx].tab_label, GTK_STATE_NORMAL,
color ? color : &(style->fg[GTK_STATE_NORMAL]));
gtk_widget_modify_fg(doc_list[idx].tab_label, GTK_STATE_ACTIVE,
color ? color : &(style->fg[GTK_STATE_ACTIVE]));
but for some reason, these colors change, I put some printfs in if color
is NULL
printf("style fg is this %lu, %u %u %u\n",
style->fg[GTK_STATE_ACTIVE].pixel,
style->fg[GTK_STATE_ACTIVE].red,
style->fg[GTK_STATE_ACTIVE].green,
style->fg[GTK_STATE_ACTIVE].blue);
printf("style fg is this %lu, %u %u %u\n",
style->fg[GTK_STATE_NORMAL].pixel,
style->fg[GTK_STATE_NORMAL].red,
style->fg[GTK_STATE_NORMAL].green,
style->fg[GTK_STATE_NORMAL].blue);
and I get this
color is null
style fg is this 4, 25 0 32768
style fg is this 153896787, 0 0 0
color is null
style fg is this 4, 25 0 32768
style fg is this 153896787, 0 0 0
and this is random, I get all kinds of colors, purple, yellow, pink etc.
I haven't figured out the exact steps to make this happen, it just happens
if I start editing and saving multiple files. This happens with the 0.10
release as well btw. Is anybody else seeing this kind of problem?
Josef
Hi,
Geany 0.10 has been released.
Changes since Geany 0.9:
* Added a dialog to insert HTML special characters.
* Added new command line option --line to set the initial line for
the first opened file.
* Implemented new, own Undo system to undo/redo encoding changes.
* Added simple parser for filetype Diff to create tags for each
patched file in a diff file.
* Added new encoding "None" to open files without any character
conversions.
* Added stop button(using the Run button) to cancel the execution
of a command like Run, Compile or Build.
* New filetype VHDL.
* New scintilla lexer for filetype D with several improvements.
* Improved auto completion of multi line comments
* Added option to execute programs in the VTE instead of executing
them in a terminal emulation window
* Removed the limit on the number of files open.
* Save the build includes and arguments when quitting.
* Added Next Message search command and Next Error build command.
* Make search bar automatically wraparound if necessary.
* Applied patch from Bob Doan to prevent unnecessary search
scrolling and add a preference to suppress some of the search
dialogs.
* Added Find Previous, Find All in Document/Session buttons for the
Find dialog.
* Added Replace (but don't Find) button for the Replace dialog.
* Added 'Hide Message Window' popup menu command.
* Added Alt-[1-9] shortcuts to switch to a certain tab number.
* Limit search dialog history to 30 entries.
* Change python default compile command to create a compiled
python .pyc file (thanks to Bajusz Tamás).
Windows changes:
* Fix #1611530 'file has changed' message on Windows after saving.
* Fixed wrong paste behaviour under Windows with some applications.
Bugs fixed:
* Fixed crash when using "Make object" on new files.
* Fixed incompatible use of read command in the created shell
script to execute programs.
* Fixed wrong insert position when the cursor was moved by keyboard
and comments, includes or a date was inserted.
* Fixed some segfaults when inserting comments, dates and
includes at a position prior to some deleted text.
* Fix message window horizontal scrollbar being too tall on some
systems (thanks to Rob van der Linde).
Internationalisation:
* New translations: fr, hu, it, zh_CN, zh_TW.
* Updated translations: be, ca, cs, de, es, vi.
Thanks to the busy translators for updating their translations or
adding new ones. Great work.
Also thanks for all bug reports, feature requests, patches and other
suggestions.
All downloads can be found on
http://geany.uvena.de/http://files.uvena.de/geany/ or
https://sourceforge.net/project/showfiles.php?group_id=153444
We will be happy about any feedback, whether positive or negative ;-).
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.key
Greetings,
Just dropping a line to let you know what a bang-up good job you have done
with Geany. I've played around with it for several days now and the more I
play, the better I like. It loads quick, hasn't crashed, employs an intuitive
interface, not bad documentation, and permits me to develop small utilities
in jig time.
Good job!
--
J. D. Leach
Columbus, Indiana USA
Uptime:
18:05:09 up 11:53, 1 user, load average: 1.87, 2.38, 2.43
Linux/Open Source Computer using:
Mandriva Linux release 2006.0 (Community) for i586 kernel 2.6.12-12mdk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---Quote of the Day---
Sinners can repent, but stupid is forever.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hello World, hello Enrico,
I noticed a strange copy-paste behavior of geany when copying text from
other applications under Windows (XP Pro SP2 + all patches).
I have the following text in geany:
type
TPcharArray = array[0..0] of pchar;
PPcharArray = ^TPcharArray;
iconv_t = pointer;
iconvlistfunc = function (namescount : cardinal; names : PPcharArray;
data : pointer) : integer;
and now I copy the following text from Ultra - Edit to geany, the cursor
located at the first column of the "type" line:
var
idx : integer;
labelItem : TProgItem;
newLabelItem : TLabelNameItem;
retCmd : ICommand;
data : cmdLabelT;
The result:
vartype
idx : integer; TPcharArray = array[0..0] of pchar;
labelItem : TProgItem; PPcharArray = ^TPcharArray;
newLabelItem : TLabelNameItem;
retCmd : ICommand; iconv_t = pointer;
data : cmdLabelT; iconvlistfunc = function (namescount : cardinal;
names : PPcharArray; data : pointer) : integer;
That's actually not what I expected...
Cut-Copy-Paste within geany works without problems..., both editors use
the CRLF linefeeds and geany is in <INSERT> mode
Geany 0.9 "Kintaro" (kompiliert am Sep 29 2006)
Best regards
Andreas
--
("`-''-/").___..--''"`-._
`o_ o ) `-. ( ).`-.__.`)
(_Y_.)' ._ ) `._ `. ``-..-'
_..`--'_..-_/ /--'_.' .'
(il).-'' (li).' ((!.-'
Andreas Tscharner andy(a)vis.ethz.ch
http://www.vis.ethz.ch/~andy ICQ-No. 14356454
Hi all,
If I have auto indent turned on and I make a code block:
if(1) {
<auto tab here>
}
Then I put my cursor at '}' and I press UP ARROW. I'm now at col 0. If
I press <TAB> my cursor moves TWO tab spots because their was an auto
tab. I would expect for my cursor to be in between the tabs. I think
this is a scintella bug because their is not a char added event passed
back, but I'm not sure.
Ideas?
Cheers,
- Bob
--