today I checked in some changes/improvements:
- the default editor now has its own font settings
- the open file dialog now has a history and starts using the last opened dir
I hope, the new handling of the open file dialog is ok.
ciao,
Chris
the last days I checked in some new changes:
- now restoring last selection of file and class tree works - can be
enabled/disabled under Settings -> Project Browser
=> limitation: selected classes are not restored, only selected files
(by just cklicking on them) can be restored in tree view
- file positions (line numbers) are restored automatically
- added new setting "Save before Build" under "Main Window" to
save all changed files automatically before running qmake or make
(default is off/disabled)
I hope this will bring some more comfort and fun ;)
Further I discussed with a german user of HaiQ - who still uses
the very old Windows 0.2.x version before the comple rewrite.
Here some of his reasons why he still don't wants to use the current version:
- mixed up case for filenames in filebrowser under win32
- missing project dependant setting files in project dirs (the former "<project>.haiq")
- "tags for current class" seems to not work properly
- missing restoring of open files and state of tree views (now solved)
- missing automatic saving of open files before compile (now solved)
- missing debugger support (in work ;-)
Currently I'm working hard to solve most of the mentioned issues -
so hopefully I can convince him to use the current SVN version ;-)
ciao,
Chris
I checked in a new feature and some bugfixes:
- now the correct tab order of open files is restored (restoring state
of splitted window is already prepared)
- fixed open file restoring bug under windows
- now the bracket highlighting works completely again (formerly there
was an issue caused by function+operators highlighting)
@Jeremy: Thanks :-)
@Jose: No problem ;-)
Have a nice weekend guys!
ciao,
Chris
>
> Okay, I fixed that issue and checked it in.
>
Super!
>
> .... it feels good to be back in haiq dev mode :)
>
...me too ;-)
>
> ... looking forward to a nice issue tracking system.
>
This will take some time - Apropos:
I reached the owner of www.haiq.org, but he wants up to 3000 bucks
for the domain - shamelessly...
Alternatively I talked with the (german) owner of www.haiq.info -
he would allow us to use the domain for our project website...
....without having to pay buckets of dollars (or euros).
So let's see...
ciao,
Chris
I checked in a rewritten bracket highlighter - now it works flawlessly ;-)
ciao,
Chris
you can easily add commands after successful compile directly
to your .pro files - just follow my guide:
http://www.3dh.de/3dh.de/2006/12/19/qt-automated-unit-tests-with-qmake/
Thus enables you to add any command to your .pro files,
which will be executed after linking - which is used in my company
for very large platform independant projects.
To your request for code folding: Sounds interesting, till now I don't
know who will do it and when - but: We are currently building a new
project website with a site for feature requests and a roadmap.
But this will take some weeks - so I have to ask you for some patience ;-)
ciao,
Chris
I've check in some new functionality, which needs some testing:
- now you can use Ctrl+Up / Ctrl+Down to goto the next/previous
occurence of the current word under the cursor
- brackets are now only highlighted while the cursor stays on a bracket -
this was changed in cause of some coloring troubles and for usability
(experiences taken from other IDEs)
I hope these changes are ok - especially the change of the bracket
highlighting - which let me have some headaches.
ciao,
Chris
your're right Jeremy - it seems that the last changes lead to performance
problems - I noticed such during selecting text. But: The former version using
timers wasn't performance friendly, too - especially if you rapidly move to
many braces - this can lead to serious coloring issues - one of the main
reasons to changes this behavior. But I could reproduce these issues only
under linux - maybe Qt / QTextEdit behaves a little bit different.
Btw: The behaviour of QTextEdit & Co. changed dramatically since Qt 4.4 -
e.g. the "QTextCusor::beginEditBlock()" doesn't work correctly under linux.
Till now I didn't recognize the issue of the wordcompletion popup under linux.
But there are many issues left in the editor - e.g. if you close a block by entering
a "}" the editor reases parts of the previous line.
Oh... there's so much work left...
ciao,
Chris
>
> Chris, I have reverted back to rev. 397 on my system, and I'll wait for further updates, particularly regarding the wordcompletion and cppcompletion popup window problem.
>
Mhm... that's not good. Currently I don't have any idea how the last changes could influence the
completer's popup windows.
Here the colored diffs for the changed functionality (.cpp files):
http://haiq.svn.sourceforge.net/viewvc/haiq/src/plugins/system/editor/shared/defaulteditorwindow.cpp?sortdir=down&r1=345&r2=398&sortby=rev
http://haiq.svn.sourceforge.net/viewvc/haiq/src/plugins/system/editor/shared/haiqtextedit.cpp?sortdir=down&r1=395&r2=398&sortby=rev
Maybe the key handling could be an error source - but at first and second sight I still
couldn't find sources for performance or window displaying errors.
My collegues tested the current revision, too - but we cannot reproduce the errors.
Can you describe the performance issues? And when exactly does the popup window
misbehave (which keys are pressed before)?
I'm highly motivated to solve the problems - but I need some help,
even because I still don't know so much details of HaiQ.
ciao,
Chris
>
> Very strange, when I recompiled your changes, everything worked fine this time... so I guess there was no problem after all...
>
uff (sigh) ... I'm happy to hear this.
>
> I committed some new changes
> - Modified slot_FindNextWordUnderCursor and slot_FindPreviousWordUnderCursor so that if text is highlighted, the search uses the highlighted text rather than the word under the cursor.
> - Modified the wordcompletion plugin so that custom words can be added to the list of words to autocomplete... see templates/wordcompletion.txt
>
Great!
So my evening is rescued ;-)
ciao,
Chris
>
> I hate to say it but the problem is back... it happens after some time of using the IDE, and I don't know what causes it...
>
That's one of the seldom moments where I hate it to be a software developer :-(
If this issue is new and reproduceable, whe sould find the last revison without these problems -
than we can use the ViewCVS to make such fany colored diffs to maybe find out the reason.
ciao,
Chris
>
> (2) When typing "}", sometimes text in previous line is erased.
>
Cool! That's great - today I experienced this ennoying error multiple times -
I'm looking forward to enjoy typing "}" without any fear ;-)
ciao,
Chris