HaiQ 0.2.5 released, for both windows and linux, with integrated designer!
Looking forward to feedback.
HaiQ 0.2.5 released, for both windows and linux, with integrated designer!
Looking forward to feedback.
We've just released HaiQ 0.2.6. Thanks for all the feedback on earlier releases.
* Fixed bug that caused occassional crash upon saving source files.
* Fixed issue with designer integration - you may now edit properties of QAction objects
* Split the editor horizontally or vertically -- to use the second editor window, just drag and drop the appropriate tab.
* Built in wysiwyg html editor - interface to xhtmledit by QtCentre user patrik08.
* Other fixes and improvements
As always, your feedback is crucial.
Thanks for your HaiQ IDE. It's great for me.
I found few bugs during first try.
QT version: 4.3.2
HaiQ version: 0.2.5-1
1. form can't be previewed.
Procedure: open Haiq with Haiq.pro -> browser a FORM like "HaiQConfiguration.ui" -> press the button "Preview form" -> HaiQ will be closed immediately
2. No selection of help item will cause program crash.
Procedure: open Haiq -> Press F1 or select the "Qt help on current word" in Help page -> do not select any item in the poped up windows but just press OK -> HaiQ will be crashed
3. Same as issue 2 but change to project help item.
Procedure: open Haiq with Haiq.pro -> Select "Project help on current word" in Help page -> don not select any item but press OK -> Haiq crashed
is there any bug tracking system for HaiQ where I can submit?![]()
Hi Sam,
I was not able to reproduce bug #1 on windows, but I was able to reproduce the crashes in items #2 and #3 - so those will be fixed soon. And I'll look into form preview as well. Thanks for the report.
Please download latest version (0.2.6) - and see the changes in the post from a few minutes ago.
For now send bugs via email - later we will create a bug tracker.
Bugs #2 and #3 posted by SamT have been fixed, and a new release is available:HaiQ 0.2.6-1.
This version also has .pro file syntax highlighting.
I'd like to get some feedback on whether this IDE truly is "crash-free" as I suspect it is now that a long-standing bug has been fixed with 0.2.6. Incidentally, the occassional random crash was caused by the notorious pitfall of using (myhash["mykey"]) instead of (myhash.contains("mykey")), thus creating some null pointers in a hash variable!
Of course there seems to be a problem with form previews, according to samT, but I cannot reproduce.
Hi magland,
Thanks for your promot reply. I find a minor issue on 0.26 as attched pic.
For the preview form, when I press the button, HaiQ terminate immediately without any crash or error information.
SamT,
Thanks, I fixed that display issue with the config dialog, and released 0.2.6-3.
I still cannot reproduce your form preview crash, so I put in a bunch of debug statements to the console for the "preview form" function. Please try it and send me the console output.
You can send this info via email: Jeremy dot Magland at gmail dot com
Some notes (mostly just my personal taste):
1. I can't do an out-of-source build (maybe a qmake limitation? - I know that it won't work on windows, but should work on linux)
2. usage() in src/qmake-HaiQ/qmake/option.cpp has too many '%s'
3. there are a lot of warnings about unused variables - is this intented?
4. You're using much "/" instead of '/' which should be much faster (no conversion from const char* to needed). The same with 'return ""' instead 'return QString()'
5. sometimes your function takes 'QString foo' instead 'const QString &foo')
6. you compare QStrings to "" instead use QString::isEmpty()
7. Do you programm with msvc6 because of this:
which should imho be rewritten by thisQt Code:
int j; for (j=0; j<action_list.count(); j++)To copy to clipboard, switch view to plain text mode
To avoid confusionQt Code:
for (int j=0; j<action_list.count(); j++)To copy to clipboard, switch view to plain text mode
/edit: some more:
- The links in the about box do not work: "Der Befehl lässt sich nicht ausführen. Die Datei oder der Ordner file:///home/ehrlicher_c/tmp/HaiQ-0.2.6-3/www.trolltech.com existiert nicht."
- "make install" is not available
- Tools -> Configuration gives me those warnings: "Warning: QProcess: Destroyed while process is still running."
- imho is AStyle executable named 'astyle' on linux (and not AStyle)
Last edited by ChristianEhrlicher; 15th October 2007 at 09:05.
ChristianEhrlicher,
Thanks for your tips... I think these will improve the code as well as my code style going forward.
The following points have resulted in change throughout the code that will be reflected in next release (or immediately by svn):
* you compare QStrings to "" instead use QString::isEmpty()
* The same with 'return ""' instead 'return QString()'
* for (j=0; j<action_list.count(); j++) should imho be rewritten by this for (int j=0; j<action_list.count(); j++)
* sometimes your function takes 'QString foo' instead 'const QString &foo')
* imho is AStyle executable named 'astyle' on linux (and not AStyle)This file was written by the Trolls themselves* usage() in src/qmake-HaiQ/qmake/option.cpp has too many '%s'
I will need assistance with these items, because I am unfamiliar. Perhaps somebody could take a look at the .pro file and suggest some easy changes that would enable out-of-source build and "make install". One concern is that HaiQ uses data in the "templates", "3rdparty", and "plugins" directories.* I can't do an out-of-source build (maybe a qmake limitation? - I know that it won't work on windows, but should work on linux)
* "make install" is not available
I don't get any such warnings with MinGW (except for the code written by the Trolls in qmake-HaiQ)* there are a lot of warnings about unused variables - is this intented?
I think this is too minor to change throughout, but I keep it in mind for future.* You're using much "/" instead of '/' which should be much faster (no conversion from const char* to needed).
I've added "http://" to beginning... maybe that will help. Do the links at the bottom work (e.g. ctags)?- The links in the about box do not work: "Der Befehl lässt sich nicht ausführen. Die Datei oder der Ordner file:///home/ehrlicher_c/tmp/HaiQ-0.2.6-3/www.trolltech.com existiert nicht."
Please ignore those particular warnings.- Tools -> Configuration gives me those warnings: "Warning: QProcess: Destroyed while process is still running."
How can I add new files(*.c, *.H, *.ui) into project file(*.pro) automatically? Now, I need to use qmake -project to generate the file outside HaiQ?
The philosophy of HaiQ is for the user to directly manage the .pro file. (Although I am planning on adding some automatic capabilities in future for adding files)
Double click on the project from the project tree. This brings up the .pro file in the editor. Then type SOURCES += myfile.c, HEADERS += myfile.h, etc. Upon saving changes, everything will update automatically.
Last edited by magland; 15th October 2007 at 12:59.
HaiQ is now in version 0.2.7, with a number of fixes and improvements.
I would also like to announce a new (and active) bug tracking / feature request web page...
http://code.google.com/p/haiq.
Just got a copy of HaiQ svn repo out of curiosity and guess what I discovered...
The so-called "contribution" is just a wee bit more than a carbon copy of my own work on designer integration... The only differences I noticed are :
I have nothing against re-use of my code but I'd really appreciate if you could respect licenses... In every file, instead of saying that "it is part of HaiQ", you should mention that I wrote it for use in Edyuk, which makes it a derived work of Edyuk as stated in the GPL, and what modifications have been done... In my opinion such use of 3rdpart code should also be mentionned in README and such files but I'm not a lawyer so you may ignore this...
- no more deps to qmdilib
- a handful (I'd even say less than half full...
) of actual changes
- a brand new copyright notice that violate GPL by forgetting to mention the origin of the code...
Current Qt projects : QCodeEdit, RotiDeCode
The designer integration was given to me by a third party, and I had assumed that it was original material. If, as you say, this code was taken from Edyuk, then I apologize for not having the correct acknowledgement... and I should have been more careful before putting the copyright statement into those files. I will speak with kernel_panic, and get back to.
But I think such accusiations do not belong on the public forum, but I would have expected you to have have contacted me privately first.
sorry... this was my fault...
i got some months ago the code of edyuk and saw the designer integration code.
i used it for an own projekt (a application, where the user can build dynamic GUIs, for the values, he want to have viewed) and than, 2 or 3 weeks ago, i saw haiQ, and there wasn't a designer integration. But it was i really good IDE, just that what i supposed to need. i searched on my hard drive and found my old project. than i sendet this version of the designer to magland. i didn't think about, that it was from edyuk.... sorry
it wasn't deliberateness, just a brainless action...
you are all rigth, boys ...
So, let me give you the whole view:
KernelPanic is a 17 years old guy and he asked me first about my mind concerning the integration of the designer to HaiQ.
But I didn 't give him the attention I should have and told him to introduce his idea to magland, who couldn 't know the source of the code.
So, it was my fault.
Sorry friends ...![]()
So am I, yet I pay attention to licenses... (I must confess I learnt this about the same way a couple years ago...)
You shall not be... As I said already code-reuse is OK. Just keep in mind that licenses have to be respected or open source philosophy couldn't work...Originally Posted by kernel_panic
Current Qt projects : QCodeEdit, RotiDeCode
bremer (21st October 2007), kernel_panic (21st October 2007), magland (22nd October 2007)
Ok, so I've disabled the download link temporarily (since fmc first raised this issue), and will put it back up as soon as I've given the proper copyright in the source files and the proper acknowledgement in the readme.
Thanks to bremer and kernel_panic for your posts... and of course thanks to fullmetalcoder for writing the original code (and for being understanding about our mistake).
I apologize again to fmc, and will certainly be more careful in the future.
... and ...
Long live open source!
HaiQ 0.2.8 has been released with improved designer integration.
Here's what happened. I started looking through the designer code to determine which parts had their origin with Edyuk (per previous posts). And decided to take a different approach to the integration, wrote my own code, relying heavily on reuse of Trolltech's designer source. The result is, IMO, an improved integration, with 95-100% of the Qt Designer's functionality ported to HaiQ.
I don't know of any bugs so far. Please try it and let me know how it works.
Thanks,
JM
Hi Mangland,
Thanks! 0.2.8 works fine on preview function for me.![]()
Bookmarks