Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / BlueIDE 2

Author
Message
Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 21st Jun 2007 17:26 Edited at: 7th Feb 2009 04:35
Not intended/supported for Vista However some have been able to use BlueIDE 2 on Vista by changing to run as administrator and XP sp2 compatibility mode without themes.

Release 22 has been posted (2008-12-12)

Change log:
-* Added some extra checks as Option Explicit fails if no variables are declared
- control + / = multiline comment with //
- control + shift + / = multiline uncomment (provided that line is commented with //)
- changed icon to one with transparency
- added shift + click will select from the caret position to where you click
- added a new Colorize tab to the IDE Options
- files now only save if they have been modified

https://sourceforge.net/project/showfiles.php?group_id=90345

Release 21a (2008-09-23)
* fixed bug with bideKeywords.ini file

Release 21 (2008-08-26)

- moved bideKeywords ini file
- search now works with un-opened include files
* fixed bookmarks
* fixed color picker error
* fixed intellisence for user defined functions

Release 19 Change log:
- Moved the location of the "Goto Line" section
- Added a "keystate section" to make adding keystate() easy.
Select the key from the list and click insert, the correct
keystate() is added to your code.
* Fixed how BlueIDE indicates/highlights the error line

BlueIDE 2.0.18 (2008-05-10)
- Added indexing for all files (opened or not)
- Added "Goto Line" to code tab under the index window
Works with opened or closed includes and not dependent
on a previous compile
- Added optional logging
* Several minor (and not so minor) bug fixes

BlueIDE 2.0 17 (2008-04-10)
* reAdded user functions to status bar information
- Added start up logging to help with debuging start up errors
- Some code clean up
* Hopefully fixed the clearing of the clipboard when compiling
* Some bug fixes with highlighting and "Indexing"

BlueIDE 2.0 16 (2008-03-21)
*- bug fixes and other improvements with "Indexing"
- more rearranging of various controls
- removed 3rd party frame control (FramePlus)
- added scope keywords to the casing selection of keywords
- added option to have 'Open file' dialog open at start up
- added option to refresh "indexing" by clicking the "Code" tab

BlueIDE 2.0 Beta 15 (2008-03-01)
- rearranged Options window
- added option to select keyword case
- major speed increase for updating Indexing (functions, labels, ...)

BlueIDE 2.0 Beta 14 (2007-10-01)
* Labels less than 3 characters should now highlight and be indexed
* improved how BlueIDE 2 checks and installs needed OCX's
* improved how BlueIDE 2 comments/uncomments selected lines
- improved error checking to better ignore commented sections within lines of code
- Moved Project Comments to 'Project Organization' window
- Added 'Add Entry' to 'Project Organization' popup menu
* removed the 'fix' from R13 for improper highlighting of 'rem'
* corrected improper warning for array variables

BlueIDE 2.0 Beta 13 (2007-09-17)
- Changed the 'Compile Settings' option buttons on 'Settings' tab to a dropdown box
-* Added functionality of bookmarks back in
* Removed hard coding to allow F3 to act normally ('Find Next')
* Changed Compiler form to auto close even when in debug mode
* Corrected error when compiling project with only one include
* Corrected error when opening more than one instance of BlueIDE 2
* Corrected error when closing tabs as well as when changing 'Main Source' file
* Corrected improper highlighting of rem when used in words like remember

BlueIDE 2.0 Beta 12 patch (2007-09-10)
* Corrected error when Project Organizer was opened and then closed before a project was loaded

BlueIDE 2.0 Beta 12 (2007-09-09)
- Added features to comment/uncomment selected lines (ctrl+` = comment, crtl+shft+` = uncomment)
- Added buttons to toolbar to comment/uncomment selected lines
-* Added/Corrected CodeSense Keyboard & Misc tab options not saving
* Corrected issue with highlighting not automaticly picking up changes
* Corrected Project Origanization not saving

BlueIDE 2.0 Beta 11 (2007-09-05)
- Added 'Back Up Now' button to toolbar
- Added a check when BlueIDE 2 starts to see if the required OCX's have been installed.
If not then it will install them.
- Added #CONSTANT highlighting (highlights as a variable)
- Changed splash image
* Corrected error when closing Help window
* Corrected error with code explorer not updating properly sometimes (seems to be fixed)
* Corrected Navigation drop downs
* Corrected error with 'Search for References' function.
* Corrected bugs with sizing compile window
* Corrected bug with intellisence selecting
* Corrected bug when controls are still disabled when canceling File->Open

BlueIDE 2.0 Beta 10 (2007-08-27)
* Corrected issue with current dbp_config.dll not being copied
* Corrected issue with code explorer not updating
* Corrected a lot of bugs related to having a CodeSense array
- added licensed plug-ins
- added (back in) ability to get basic plug-in (DLL) information
- added "working" indicator
* Corrected error when trying to compile after closing tabs
* Corrected issue with disableControls() when a compiling error occured
- BlueIDE 2 now remembers the last state of side panels
- Some speed increases when switching tabs
-* not sure if this is a fix or addition but crlt+a now selects all
-* to correct the issue of the broken RGB Colour Picker
I moved it from a plug-in to being inside BlueIDE 2
- RightPanel now sets to previous set width at start up
- Added option to have code tabs span the width of BlueIDE 2

BlueIDE 2.0 Beta 9 (2007-07-07)
- Changed how BlueIDE adds includes to compile source before sending it to compiler
- Added the ability to move includes up and down in includes order
* Corrected issue when starting BlueIDE from file association

BlueIDE 2.0 Beta 8 (2007-07-06)
* corrected error when closing tabs
* corrected divid by 0 error over include list
* corrected color selection for highlighting not being retained
* Corrected error with user functions not highlighting on "Main"
if not opening all includes
- Added highlighting for labels, variables and types
* Corrected the popup menu when right clicking on code
* Can not click on Include list while tab is loading
* Corrected error when closing projects with only one file
* Corrected most errors when trying to open another project or file before
first project has loaded.

BlueIDE 2.0 Beta 7 (2007-06-28)
- added optional auto completion of parenthesis and quotes to 'Advanced options'
- greatly decreased time 'quick codes' plug-in takes to complete
- help window only auto updates if it is visible
- each tab has it's own "Code Sense" instance (undo's are unique to each instance)
- Minor line/syntax changing on enter, up or down arrow
- "Case Fix Up" now only occurs on enter, space, up or down arrow, or on '('
- Autocomplete of parenthesis on functions at time of "Case Fix Up"
- "Case Fix Up" now works for types and lables (as well as variables and user defined functions)
- Warning if function has same name of a declared variable, type, or label at time of "Case Fix Up"
- Added option of how keywords are displayed in intellisense (advanced options)
- Added simple font size options for tabs and the Include list
- User functions and scope keywords now show at the bottom like other keywords (DBP functions)
- Option to syntax highlight user functions (a little buggy)
- Added option to start compiler window minimized (shows in the lower right)
* Can not click on another tab until the background processing is done from the previous tab

Regards,

Olby
17
Years of Service
User Offline
Joined: 21st Aug 2003
Location:
Posted: 21st Jun 2007 19:43
Nice to see that it is evolving. Cant wait to see what it becomes later. Cheers Balid.

I am sorry to admit that I cant help anymore even with plugins or other small things because I upgraded and I don't have VB6 anymore and that wasn't my copy. So I guess I am now back to the user positions.

AMD Sempron 1.8+ Ghz, 512MB Ram, ATI R9550 256MB Ram, Sound Blaster Live!, WinXP Pro SP2, DirectX 9.0c (Feb2007), DBPro 6.6b
http://www.myspace.com/producerolby
MikeB
14
Years of Service
User Offline
Joined: 5th Apr 2007
Location: My Computer, Shropshire, England
Posted: 21st Jun 2007 19:46
Sorry for being dumb... but is this for DBC or DBP?

Thanks,

Mike B

Call me Mike please
Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 21st Jun 2007 20:52 Edited at: 21st Jun 2007 20:56
Olby - I've been eyeing moving to Visual Studio 2005 myself. I played around with the beta 2 version and really liked it. But I don't have the $ to buy it. (Good luck in helping with Synergy. It's looking pretty good.)

Eldest Dragon - It's for DB Pro. BlueIDE was first started by Rob Knight and it's wrote VB6 and is open source. Olby revived it with the BlueIDE v2.0 project and I am continuing it with help from Genly Ai. There is a really nice alternate editor for DBC somewhere here if that's what you need.

Thank you,

Lost in Thought
17
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 23rd Jun 2007 12:14
Looking great! Would it be possible to add the black keywords to act like the blue ones when selecting and clicking them? Like highlighting/ clicking and hitting f1, showing the syntax at the bottom and etc?

Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 23rd Jun 2007 22:27
Lost in Thought are you talking about user defined functions or the scope keywords? I like the idea of user defined functions showing up like keywords/DBP functions and I can still look into the feasibility of doing it for scope keywords if thats what your talking about.

Thank you,

tiresius
18
Years of Service
User Offline
Joined: 13th Nov 2002
Location: MA USA
Posted: 24th Jun 2007 09:58
Balid if you could get user defined functions its own syntax highlighting color (user choice) you would be my hero!

I'm not a real programmer but I play one with DBPro!
Lost in Thought
17
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 24th Jun 2007 13:11
I am talking about scope key words like select, function, for, next, do, loop and etc.

Also the user function highlighting would rock too.

Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 24th Jun 2007 18:11 Edited at: 24th Jun 2007 18:12
tiresius, I will look into that. I would like it as well.

Lost in Thought, it looks like that some of what you are asking for, already happens in R7. Like showing at the bottom like DBP functions and showing in help with F1. I just need to make it more consistant. However syntax color highlighting should already work. It has a seperate setting though.

Thank you,

Olby
17
Years of Service
User Offline
Joined: 21st Aug 2003
Location:
Posted: 24th Jun 2007 22:36
@Balid - I remember that when I tried to revive Blue I wanted to replace the old CodeSense edit with the latest version because it had lots of nice features added. And one was that the user now can set any part of the code editor to any color because now you can select your own RGB color and recreate for example default IDE's color scheme, there where also lots of other cool new features like auto intellisense (pop-up box like in VB6 and a yellow sticker with command parameters) and more. I red that the author of this code editor closed his company and I wonder if he now allows to freely download this component. If yes you may probably look more into this and replace it with the latest version. If I remember correctly the company that developed that component was called WinMain. I really do not have spare time because I have lots of other projects currently at the peak so you will have to investigate this alone.

Anyways good luck,
Olby

PentiumIV 1.60GHz, 256MB, NVIDIA GeForce FX 5200 128MB, AC'97, WinXP Pro SP2, DirectX 9.0c (Feb2007), DBPro 6.6b
http://www.myspace.com/producerolby
http://www.olby.times.lv
Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 25th Jun 2007 04:53
Olby, I tried finding a new version than the one I have but cann't find one. I would like to apply the newest version of CodeSense. But I guess I'll just have to work on work arounds for now.

Latest additions to R7:
- "Case Fix Up" now works for types and lables (as well as variables and user defined functions)
- Added simple font size options for tabs and the Include list
- User functions and scope keywords now show at the bottom like other keywords (DBP functions)

Thank you,

Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 29th Jun 2007 06:52 Edited at: 29th Jun 2007 06:57
Beta release 7 is now ready. The new releases for BlueIDE 2 are now a new package - BlueIDE 2 (Same project name but previously they were in package - blueide). https://sourceforge.net/project/showfiles.php?group_id=90345

There have been great speed improvements made through out BlueIDE 2. tiresius and Lost in Thought, I think you'll really be happy with R7 ;-D.

List of improvements:
- added optional auto completion of parenthesis and quotes to 'Advanced options'
- greatly decreased time 'quick codes' plug-in takes to complete
- help window only auto updates if it is visible
- each tab has it's own "Code Sense" instance (undo's are unique to each instance)
- Minor line/syntax changing on enter, up or down arrow
- "Case Fix Up" now only occurs on enter, space, up or down arrow, or on '('
- Autocomplete of parenthesis on functions at time of "Case Fix Up"
- "Case Fix Up" now works for types and lables (as well as variables and user defined functions)
- Warning if function has same name of a declared variable, type, or label at time of "Case Fix Up"
- Added option of how keywords are displayed in intellisense (advanced options)
- Added simple font size options for tabs and the Include list
- User functions and scope keywords now show at the bottom like other keywords (DBP functions)
- Option to syntax highlight user functions (a little buggy)
- Added option to start compiler window minimized (shows in the lower right)
* Can not click on another tab until the background processing is done from the previous tab

[edit]Added some screenshots of R7[/edit]
Showing smaller font in tabs, user function highlighing and info appearing at bottom like DBPro functions.

New compiling window location (optional) able to view code easier while compiling.

Some of the new advanced options.

New BlueIDE file icons.



(Also updated first post)
Thank you,

tiresius
18
Years of Service
User Offline
Joined: 13th Nov 2002
Location: MA USA
Posted: 29th Jun 2007 08:07
Great Ghost of Abraham Lincoln! You've made the user functions highlighted. WOOT WOOT! I've been looking for that feature for years. So far it looks good to me! (Although highlighting it in the actual function definition doesn't seem necessary, but whatever).

I did receive an error after closing the program but forgot myself and quickly closed it out. I'll try to see if I can get it to happen again. But this looks really good. Great job!

I'm not a real programmer but I play one with DBPro!
Lost in Thought
17
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 29th Jun 2007 14:54
I can't get the user functions to highlight here (I checked the box in the options, set the color, and restarted the editor), but all else looks well. Looking great man.

tiresius
18
Years of Service
User Offline
Joined: 13th Nov 2002
Location: MA USA
Posted: 29th Jun 2007 16:43
Did you remember to click Apply? I didn't see it happen until I did that and restarted...

I'm not a real programmer but I play one with DBPro!
Deagle
15
Years of Service
User Offline
Joined: 28th Aug 2005
Location: Finland
Posted: 29th Jun 2007 23:09
I get an error when i try to start the ide:
"component 'FraPlus1.OCX' or one of its dependencies not correctly registered: a file is missib or invalid"

Deagle aka D-Eagle
tiresius
18
Years of Service
User Offline
Joined: 13th Nov 2002
Location: MA USA
Posted: 29th Jun 2007 23:26 Edited at: 29th Jun 2007 23:28
Is this your first time installing Blue IDE 2.0? There is a batch file
which installs a few OCX controls. Try running that if you haven't yet.

If you've been using Blue IDE 2.0 all this time and the latest version breaks, then not sure what it could be...

I'm not a real programmer but I play one with DBPro!
Lost in Thought
17
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 30th Jun 2007 01:15
Quote: "Did you remember to click Apply? I didn't see it happen until I did that and restarted..."


There is no apply button here 0_o I did however click OK and restarted the editor. The box is still checked, so I am assuming it saved my changes.

Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 30th Jun 2007 02:26 Edited at: 2nd Jul 2007 22:35
Deagle, as tiresius said. If this is the first time loading and running BlueIDE you will need to run the install.bat located in the System Files folder. I think I will add a check so when BlueIDE starts to look for the needed OCX's and load them automatically.

tiresius, have you gotten that error again?

Lost in Thought, I seem to have forgotten to tell everyone just how get the highlighting to work properly. You have to select the option as well as set the syntax hightlighting (Colours and Style) for the Tag Element Names. I figure since DBPro doesn't use Tag's (as far as I know) that it could be used until I figure out how to modify CodeSense. Give that a try and let me know if that works for you.
[edit]For highlighting user functions set the 'Tag Element Names'[/edit]



Thank you everyone for the kind and encouraging comments.

Mika
16
Years of Service
User Offline
Joined: 30th Jun 2004
Location: South of France
Posted: 30th Jun 2007 03:35
Hi,

I just tried the blueIDE v2 ... and it seems that there is a bug when you want to close a project or a file, as the application crash (i.e. runtime error '340', control array element '1' does not exist).

Otherwise, it is a very good job

Regards

Michel
Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 30th Jun 2007 03:54
Mika,

I will definitely look into that. Are you on XP or Vista? I only ask because more and more people are moving to Vista but I currently do not have a way of personally testing on Vista.

Thank you,

Lost in Thought
17
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 30th Jun 2007 14:07
I have ticked the box "highlight user functions" and set the color and style for "tag element names". My user defined functions still won't highlight 0_o

Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 30th Jun 2007 15:01
Lost in Thought, that's interesting. (We'll have to talk more about this later today[if possible])

Mika, I think I found the cause and corrected it.

Thank you,

Mika
16
Years of Service
User Offline
Joined: 30th Jun 2004
Location: South of France
Posted: 30th Jun 2007 18:42 Edited at: 30th Jun 2007 18:48
Hi,

The OS version I use is Windows XP and I am going to try your IDE last version as soon it is available.

Regards

Michel
FERSIS
14
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 30th Jun 2007 20:14 Edited at: 1st Jul 2007 00:03
hi ,
first of all, i hav no more sluggish tipying so im very glad about that , good work.
Second , when i save (Ctrl+S) i get the error of cant divide by zero
and it crash. This happens VERY Often , but no always
The message appears on spansih (Cause my XP) , but that is a pretty right translation.

thanks for your job , im hope you can fix it

EDIT:
i was testing , and the error of cant divide by zero , appears when i move the mouse over the list of include files.
Hope this help you

EDIT2:
Ok ,i ve found where its breaking.
frmMain . Private Sub prjIncludes_MouseMove
what happens is:

So . if the program doesnt enter on those IFs
thisOffest# will be equal to 0
then:

will divide by 0.
So ive maded some changes to avoid this crash
i hope that you are not mad at me , for watching your code
hope this helps.
Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 1st Jul 2007 00:40
FERSIS, I'm glad you where able to track down the problem. It was very bad coding on my part. I want to make that section more dynamic so you can have any size font there that you want. For now it is suppose to be 7 or 8. Which must not be the case on your computer. I noticed on mine sometimes the actual font size would be 6.25 when it was set to be 7 (hence the <=7). I think I know how to correct it, thanks to your investigating.

Mika, thank you. I was able to duplicate your error fairly easy and have that corrected (will know for sure with R8). Release 8 could be out as soon as July 1st (tomorrow) as the bugs you and FERSIS found are (IMO) in major areas.

Thank you,

Lost in Thought
17
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 1st Jul 2007 00:53
User functions are highlighting properly now here when I woke up today. Odd because I did nothing to change it that I hadn't done before. 0_o

Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 1st Jul 2007 01:07
As long as it works...right?

Lost in Thought
17
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 1st Jul 2007 03:00 Edited at: 1st Jul 2007 03:03
I have found the problem. When you open a file it doesn't highlight them until you make a new function (or move the cursor over a line that should be higlighted after hitting enter on that line). And it is not saving the color change when you close the IDE. Also the IDE crashes every time I click the x to end it. 0_o

Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 1st Jul 2007 03:14 Edited at: 1st Jul 2007 03:22
Lost in Thought, do you have "Open all Includes when opening Project" selected? I'm thinking may be not. In order for user functions to be highlighted, BlueIDE has to have the file open. For now anyway. An improvement I want to put in will scan all of the project files and record all functions, types, etc for the unopened files. That way you get the benefit of highlighting, intelliscense, etc without having to have all the files open.

As far as crashing when you click the 'X' to exit, that's a new one. I'll look into it. [edit]Do you mean the 'X' in the upper right or the 'x' in the tool bar?[/edit]

Thank you,

Lost in Thought
17
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 1st Jul 2007 07:46
The open all includes fixed the highlighting, even though there were no includes in the project (functions were in the main source).

Yeah I was clicking the x in the upper most right (close) by the min/restore buttons. I can't get it to error anymore, though it was doing it every single time yesterday.

I have however found 2 more errors and this time it lets me take screens of them. If you try to close the only open file with the x on the tool bar for close current source/project file, you get this error:

http://www.mapmasterz.com/lit/close1.JPG

If I open an include file sometimes I get:

http://www.mapmasterz.com/lit/open1.JPG

And if I open an include file (have 2 open) and then try to open a project over this one by file recent projects that doesn't have 2 includes in the project, I get this error:

http://www.mapmasterz.com/lit/open2.JPG

Any idea about the not saving the color options?

Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 1st Jul 2007 13:54 Edited at: 1st Jul 2007 14:02
Lost in Thought, thank you for your comments.

Quote: "The open all includes fixed the highlighting, even though there were no includes in the project (functions were in the main source)."


Looks like I need to move the call for the highlighting. Your right the highlighting should already be happening.

Quote: "I can't get it to error anymore,"


Shall we say .... fixed? Please let me know if you get the error again.

Quote: "If you try to close the only open file with the x on the tool bar for close ..."

Quote: "And if I open an include file (have 2 open) and then try to open a project over this one ..."


I hope these two have now been fixed. They both stem from the point that Mika brought up earlier.

Quote: "If I open an include file sometimes I get:"


I am hoping that it too is because caused by the same piece of tode as the other two. We'll see.

Quote: "Any idea about the not saving the color options?"


It appears that I forgot to add this color to the save/retreive for the CodeSense settings.


I'm thinking that I what to move the testing of BlueIDE 2 releases from public to private. tiresius, Lost in Thought, and FERSIS would you be interested in testing BlueIDE 2 releases before I post them? This way people don't have to read a lot of "this is broke" posts.

Just a thought. And this is open to anyone interested.

Thank you,

FERSIS
14
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 1st Jul 2007 22:56
Hi balid.
Of course i can help.
And since i know a little of VB. i can search for the bugs there and report to you.
Obviously if you want.
tiresius
18
Years of Service
User Offline
Joined: 13th Nov 2002
Location: MA USA
Posted: 1st Jul 2007 23:47
I am heavy into my DBPro project right now so I am definitely using the editor a lot. I'd be happy to test out a new version. My email link should work if you want to let me know about the new release.

I did notice some slowdown while moving the cursor on lines containing user-defined function calls. I turned off a bunch of stuff (including user function highlighting) and it seemed to be much quicker but I'll try to narrow down the exact option that is slowing the editor down.

I'm not a real programmer but I play one with DBPro!
Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 2nd Jul 2007 00:21
FERSIS and tiresius, I will email you when R8 pre-release is ready for your review (should be later today).

Thank you very much for helping. I think that between the three of us (and Lost in Thought if you want) we can catch most of the bugs before anymore offical releases of BlueIDE 2 go public.

Thank you,

Lost in Thought
17
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 2nd Jul 2007 00:23
Quote: "And if I open an include file (have 2 open) and then try to open a project over this one ..."


Forgot to mention that this one only happens if you have the option to open all include files at startup turned off.

As for the beta testing I would be glad to test in my free time, but that is only on sunday mornings mostly and few and far between on saturdays.

Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 2nd Jul 2007 00:43
Quote: "Forgot to mention that this one only happens if you have the option to open all include files at startup turned off."


Lost in Thought, thanks for the update.

Quote: "As for the beta testing I would be glad to test in my free time"


Whatever works for you. tiresius, FERSIS, and you seem to be the most vocal\active since BlueIDE 2 started, so it just makes sense to me to ask you guys to be testers.

Thank you,

FERSIS
14
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 2nd Jul 2007 01:31
OK, i will waiting for these release on my email
cheers
Deagle
15
Years of Service
User Offline
Joined: 28th Aug 2005
Location: Finland
Posted: 5th Jul 2007 20:57
This is great!
There is some issues, though.
Like, sometimes the ide gives/and highlights wrong line when there's an error.

Deagle aka D-Eagle
Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 6th Jul 2007 14:33 Edited at: 6th Jul 2007 14:36
Beta Release 8 is ready. Thank you to Lost in Thought, FERSIS, and tiresius for pretesting the release.

This release mainly contains bug fixes from R7.

List of changes include:
* corrected error when closing tabs
* corrected divid by 0 error over include list
* corrected color selection for highlighting not being retained
* Corrected error with user functions not highlighting on "Main"
if not opening all includes
- Added highlighting for labels, variables and types
* Corrected the popup menu when right clicking on code
* Can not click on Include list while tab is loading
* Corrected error when closing projects with only one file
* Corrected most errors when trying to open another project or file before
first project has loaded.

https://sourceforge.net/project/showfiles.php?group_id=90345

Deagle, the highlighting of the wrong line I believe comes from the compiler giving the wrong line number. I will look into more to see if there is a work around.

Thank you,

Mika
16
Years of Service
User Offline
Joined: 30th Jun 2004
Location: South of France
Posted: 6th Jul 2007 17:17 Edited at: 6th Jul 2007 17:19
Hi,

Clearly a great job.
Thanks for bug fixing regarding projet/file closing information. I feel more confident on the IDE use.

However, in addition to the various and numerous IDE functionalities provided, a selection of compilation order for include files should have to be added.
For example, you can design an application/module development () following this kind of strategy:
- A file dedicated to UserTypes definitions.
- A file dedicated to Global Variables declarations.
- A file,or more dedicated to Functions implementations.
- A file dedicated to Unitary Tests.

The order of compilation is important as, if the correct sequence is not respected, the compilation or runtime will fail.
For instance, following the strategy example I gave a few lines above, the compilation order seems to be:
1°/ Global Variables file
2°/ UserTypes file, if empty, else I guess it have to be shifted with Global Variables file
3°/ Unitary Tests file
4°/ Functions implementation file

Using the IDE, this compilation order seems to be linked with inclusion file order, so if you do not manage the inclusion in the correct way, the compilation or run time will fail.

In order to give you a concrete example of what I mean, I attach to this post a zip of a module implementation related to string operations.

One other thing also, regarding compilation errors, errors would have to be correctly located within the source file(s).

Best regards

Michel

Attachments

Login to view attachments
Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 6th Jul 2007 17:46
Mika, thank you for the information. However I am confused as to why you posted it. BlueIDE does not do any compiling, that is solely done by the DBPro compiler.

Regards,

Mika
16
Years of Service
User Offline
Joined: 30th Jun 2004
Location: South of France
Posted: 6th Jul 2007 18:38 Edited at: 6th Jul 2007 18:41
Balid, you are right. However, in the .dbpro file generated and managed by the BlueIDE, the order of include files is indicated.

Below an extract of a .dbpro file in order to illustrate my comments.


As you can see the order of compilation is implicitely given by the main=xxx, followed by the includex=yyyy.
Using, the BlueIDE, I understand, but maybe I am wrong, that this include order is in corelation with the order you include the files in the BlueIDE (via the include tabs).

So if the inclusion of files is not performed in the correct way, you have to modify at hand the .dbpro file in order to re-sort the inclusion sequence in a correct order.
I know that it is a way to turn around a compilation matter, but it is just a proposal to add a new function to the BlueIDE, in order to do not have to modify directly the .dbpro file.

I hope I am clear enough, english is not my native language, and the context is not so easy to describe.

Thanks again for your job around the Blue IDE and I will make a bug submission for this matter of compilation order.

Michel
Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 6th Jul 2007 19:00
Quote: "As you can see the order of compilation is implicitely given by the main=xxx, followed by the includex=yyyy."


Mika, the order of the include list does not tell the compiler to compile in a specific order. It just lets BlueIDE know which files belong with the project. From my experience the order of the includes has no impact on compiling (as far as DBPro is concerned. I may be wrong but I've manually moved includes with no effect on compiling.

With that said, I can however add an option that allows you edit the include order. Something like "Sort Alphabetically" - that would sort includes alphabetically (as it currently appears in BlueIDE) or "Manual Assignment" - that would allow you to move includes up and down in the include list, and then save them that way.

Quote: "I hope I am clear enough, english is not my native language, and the context is not so easy to describe."


Your English is far better then my French

Regards,

Mika
16
Years of Service
User Offline
Joined: 30th Jun 2004
Location: South of France
Posted: 6th Jul 2007 19:32
Balid,

In order to give an example of the compilation order matters I described, I attach to this post, 1 zip file containing 2 versions of a current module development:
- first, is well ordered (i.e.mlStringFunctions_CorrectOrder.zip), and so compile and run correctly.
- second, is bad ordered (i.e.mlStringFunctions_BadOrder.zip). It compiles fine but there is an error at run time (i.e. "You have hit a FUNCTION declaration mid-program!").

The only difference between the 2 versions is in .dbpro file: inclusions 1 and 3 have been shifted together.

So, please, if you could get a try in order to compile/run those two versions. Just for check, that matter is linked to my DBPro installation or something like that.

Many thanks.

Michel

Attachments

Login to view attachments
Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 6th Jul 2007 22:45 Edited at: 7th Jul 2007 00:49
Mika, I will definitely give those a try when I get home.

[edit]I've tested both and I actually get the "You have hit a FUNCTION declaration mid-program!" error from both versions.

But I think it illustrates your point very well.

I have some idea's on how to address the issue.[/edit]

Regards,

Mika
16
Years of Service
User Offline
Joined: 30th Jun 2004
Location: South of France
Posted: 7th Jul 2007 11:32
Balid,

Thank you very much for your tests.
However, I am very surprised by your constatation, as I only encounter the matter in the bad ordered version of the files I sent to you yesterday (... yes, it was yesterday, I believe, we have a time shift of 6 or 7 hours between our countries ...).

Please, find below my specs. It may be helpful to let you fine tune your investigation.

Regards,

Michel

Desktop Packard Bell - Pentium D @ 2.80gHz
1 go RAM
ATI Radeon X550 GPU (2 channels) with 256 mo RAM
Windows XP Home SP2 and up to date
DirectX 9.0c
DBpro 6.6
BlueIDE V2.0.8b
Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 7th Jul 2007 13:53 Edited at: 7th Jul 2007 14:43
Mika, I believe I found the difference. I tend to use BlueIDE with the "Open all Includes when Opening Project" option selected. When I turn it off, I then get the expected results. I will add this to the bug fix list for Release 9 as well as the feature list for R9.

[edit]Fixed order in which includes are added to the compile source to always be added in order of include[/edit]

Thank you very much for pointing out the include order affecting compiling issue.

Regards,

FERSIS
14
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 7th Jul 2007 17:35
Hi balid, What mika is asking its the feature that has CodeSurge to change the order of includes , and yes it has impact on the compiling.
Download CodeSurge and watch it.
cheers
Balid
17
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 7th Jul 2007 18:30 Edited at: 7th Jul 2007 18:34
Beta Release 9 is ready I implimented Mika's suggestion. And corrected an issue when trying to start BlueIDE 2 using file association.

FERSIS, I guess I never came across that issue as I've always had the start of my programs in the "Main" file. Mika's example really helped me to understand what was happening. Also I found that BlueIDE would create the "Compile Source" by starting with the "Main" file and then adding the includes if they where not open, and then it would add the open includes in tab order. So for for BlueIDE the include order did not mean that that was going to be the order that the files where added. This now has been corrected.

Mika, thank you again for the great examples. I kind of feel like a noob again that I overlooked that.


Here is the list of changes for R9:
- Changed how BlueIDE adds includes to 'compile source' before sending it to compiler
- Added the ability to move includes up and down in includes order
* Corrected issue when starting BlueIDE from file association

https://sourceforge.net/project/showfiles.php?group_id=90345

Regards,

Login to post a reply

Server time is: 2021-04-14 19:01:32
Your offset time is: 2021-04-14 19:01:32