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
wh1sp3r
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Czech republic
Posted: 14th Sep 2007 17:10 Edited at: 14th Sep 2007 17:14
Balid:

http://images.softcz.com/blue.jpg

Ok, here, you can see my project. Iam not using #include, but I just add source to project. I have main source GLOBALS.dba .. where are all definitions. Second source is game.dba, where is main loop and where I call function "load level". Load level is in grafika.dba ... "load object "blabla.dbo", LEVEL_ID LEVEL_ID is 1 .. you can see it in GLOBALS.dba and there is a problem.


Of course, when I open my project in Editor of DBPRO, or CODESURGE, or others, all works correctly.

Its lookslike, that GLOBAL command dont work so there is a problem


PS: Real programmers aren't afraid of math!.
Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 14th Sep 2007 17:47 Edited at: 14th Sep 2007 17:48
wh1sp3r, Thank you for the screenshot. It answered many questions at once.

It looks like your 'Main Source' is not in the same folder as the .dbpro file. Is that correct and are all of the your includes in the same folder as your 'Main Source'?

I forgot that I had trouble when my 'Main Source' was not in the same folder as my .dbpro file. I will look into correcting that R14 (as R13 is almost ready).

Regards and thanks for clarifying,

wh1sp3r
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Czech republic
Posted: 14th Sep 2007 17:50 Edited at: 14th Sep 2007 18:17
Yes, exactly .. Globals.dba is in Include folder nad isnt with .dbpro project .. So, there is .. perhaps a problem

EDIT: No, It destroy my project
When I change main source ... data from grafika.dba move into hud.dba and data from hud.dba move into next file, and old data from this file move into next file ... I completly lost my last file

http://images.softcz.com/blue2.jpg

look at the name of files and text in files.
How I did it ? easy .. I deleted game.dba from project and added it as MAIN SOURCE ... Thats all


PS: Real programmers aren't afraid of math!.
Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 15th Sep 2007 05:38
wh1sp3r, I'm sorry that you lost your file. Did you have automatic backups turned on? If so, were those files corrupted as well?

I duplicated what you described. When the include is removed, if it is open, the tab will be closed. However, when a new 'Main Source' file is added, the tab for the old 'Main Source' file is not closed. Causing BlueIDE 2 to save out of order (or at least the expected order).

I truly feel bad that you lost part of your project while using BlueIDE 2, and even worse knowing that an actual flaw in BlueIDE is why. This is something that I can correct in BlueIDE 2 but I am afraid I can not restore your lost file. I pray that this mishap will not prevent you from using BlueIDE 2 in the future.

Regards,

wh1sp3r
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Czech republic
Posted: 15th Sep 2007 14:44
Balid: Its ok I had this source on laptop too. So Iam lucky It was about 700 lines of code


Quote: "I pray that this mishap will not prevent you from using BlueIDE 2 in the future.
"


hehe, I dont think so, If this "mishap" is repaired, I will use bluegui, because ITs the best IDE for free I like code snippets menu and other features


PS: Real programmers aren't afraid of math!.
Deagle
19
Years of Service
User Offline
Joined: 28th Aug 2005
Location: Finland
Posted: 15th Sep 2007 16:51
Couple bugs: If i click rebuild keywords and select cancel, it still asks if i want to restart blueide. Second, sometimes i cant run more than 1 blueides at time. It gives some weird error but cant remember what it said.

Deagle aka D-Eagle
Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 15th Sep 2007 19:47
Quote: "Balid: Its ok I had this source on laptop too. So Iam lucky It was about 700 lines of code "
I'm very glad to hear that.

Quote: "If i click rebuild keywords and select cancel, it still asks if i want to restart blueide."
I'll look into correcting that.

Quote: "Second, sometimes i cant run more than 1 blueides at time."
Others have had the same problem. I believe this is corrected now in R13.

Regards,

wh1sp3r
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Czech republic
Posted: 15th Sep 2007 21:15
When will be new version out ?


PS: Real programmers aren't afraid of math!.
Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 16th Sep 2007 03:19
Quote: "When will be new version out ?"
I'm hoping to have R13 later this weekend.

Regards,

paul5147
18
Years of Service
User Offline
Joined: 11th Jan 2006
Location: Hot & Sunny
Posted: 16th Sep 2007 15:14
Balid,been using BlueIDE for quit awhile now and have followed it through all its upgrades,but recently with the last couple of updates ive noticed some of my older projects wont compile any more,specifacly the ones with included files,ive just purchased Master Xilo's Extended Terrain editor and although the included source for importing the maps compiles fine in DBPro's editor and codesurge,both yours and the synergy ide's wont compile it,they both give the same error saying they cant understand a command at line number, but the line in question is a function call to the first function in an included file,which seems to be the problem i have with some of my source,i usualy start my code with a call to a function to set up various things first,any ideas as to why it wont compile?
Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 16th Sep 2007 17:17
paul5147, others have mentioned similar problems. Could you please tell me more about your 'Main Source', include files, and your .dbpro file locations?

Regards,

paul5147
18
Years of Service
User Offline
Joined: 11th Jan 2006
Location: Hot & Sunny
Posted: 16th Sep 2007 18:42
thanks Balid but i think ive sorted it and can replicate as well,simply opened the main.dba file in notepad and copied it,then open up BlueIDE and pasted it into the main source window, then added all my include files and finally saved out as a dbpro with a different name, and the source compiled fine,the only difference i could see was that when you open up the dbpro files in notepad,your files seem to have a lot more information in than codesurge or the default ide,so if you double click on one to open it in BlueIDE and it was written in another ide Blue doesnt get all the details its expecting,but once you resave it,it seems to cure itself if you close blue and double click the dbpro to open it again
paul5147
18
Years of Service
User Offline
Joined: 11th Jan 2006
Location: Hot & Sunny
Posted: 16th Sep 2007 19:01
Tried this about a dozen times now Balid,and seems to be a problem with the original or perhaps erlier virsion of the dbpro file,as soon as you make another one with the current version of your BlueIDE,problem solved.Simplest method ive found assuming you have dba files asociated with BlueIDE is to bouble click your "mainource".dba,once open,add all of your files you need to include then save it as a new project,just cant see why this works,but its cured all my problems with all my old projects regardless of what editor they were wrote in,hope this helps a bit,thanks.
Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 16th Sep 2007 19:09
paul5147, thank you for the information. I will look at how BlueIDE 2 is opening project files and see about having it be able to handle non-BlueIDE project files better.

Regards,

Lover of games
19
Years of Service
User Offline
Joined: 17th Apr 2005
Location:
Posted: 16th Sep 2007 19:18
for me it doesn't work. I click on the EXE and nothing happens. why is it that it wont open? the image just flashes and then disappears

"Originally I was going to have a BS on it but you know how that would be. I can't walk around with the letters BS on me." More or less a qoute by Syndrome from Jack, Jack, attack
paul5147
18
Years of Service
User Offline
Joined: 11th Jan 2006
Location: Hot & Sunny
Posted: 16th Sep 2007 19:29
No problem Balid,it loads them fine,even the includes,lets you edit everything ok,just wont compile,its as if anything in the includes is just ignored,and seing as thats were i tend to put all my resuable functions,all i get is command not recognised at line whatever as soon as it reaches a function call in the main source,hope you can find whats wrong for the next update,cos other than that its a quality bit of code,thanks,Paul
Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 16th Sep 2007 20:04
Quote: "I click on the EXE and nothing happens."
Try and renaming the .manifest file and see if BlueIDE 2 will load.

Regards,

Lover of games
19
Years of Service
User Offline
Joined: 17th Apr 2005
Location:
Posted: 16th Sep 2007 20:43
renaming it to what? it says it's "BlueIDE.exe.manifest"

so I don't know what the heck it could be.....

"Originally I was going to have a BS on it but you know how that would be. I can't walk around with the letters BS on me." More or less a qoute by Syndrome from Jack, Jack, attack
Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 16th Sep 2007 23:01 Edited at: 17th Sep 2007 06:20
I see from your other post that R12 did not load the needed OCX's as it should have. I will investigate as to reasons why that may have happened.

Regards,

Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 18th Sep 2007 03:37
I guess it would help if I told every one.

Beta release 13 is out
Change Log:

- 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

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

I would also like to thank those of you have donated ($) toward the development of BlueIDE 2. While BlueIDE is free and open source a little thank you $ really goes a long way.

Regards,

tiresius
22
Years of Service
User Offline
Joined: 13th Nov 2002
Location: MA USA
Posted: 18th Sep 2007 04:36
Yikes doesn't seem to start for me. I just see the splash screen then nothing...

I'm not a real programmer but I play one with DBPro!
Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 18th Sep 2007 04:44
Try downloading again please. I see that one person had donwloaded the bad upload. And now I don't have to guess to it was .

I guess I shouldn't do things like that at 2am .

Regards,

tiresius
22
Years of Service
User Offline
Joined: 13th Nov 2002
Location: MA USA
Posted: 18th Sep 2007 04:56
That did the trick. Cool beans!

I'm not a real programmer but I play one with DBPro!
Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 18th Sep 2007 05:12
Quote: "That did the trick."


I am wondering. Does anyone actually use the 'Project Comments' text box? And if so would you mind if I moved it the 'Project Organization' window?

Regards,

tiresius
22
Years of Service
User Offline
Joined: 13th Nov 2002
Location: MA USA
Posted: 19th Sep 2007 04:48
I don't use the Project Comments, and it could probably go into the organization window, which I don't use either.

I just use NotePad for todo lists and other notes...

I'm not a real programmer but I play one with DBPro!
Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 19th Sep 2007 04:59
Thanks tiresius. I quite actually have a 'note pad' or 'note book' that I use for the same thing. I think that the "Project Organization" is a good idea and that at a few people use it. But having the "Project Comments" as well seems to me to be duplication, especially since there is another area for comments on the "Version" tab.

Any way, if I don't hear responses stating that it is actively I may just remove it to make more room for the "Includes" area.

Regards,

paul5147
18
Years of Service
User Offline
Joined: 11th Jan 2006
Location: Hot & Sunny
Posted: 21st Sep 2007 03:18
Balid,just done a fresh install of DBPro on my my new laptop,but after installing R13 all i get is an error message after the splash screen "Component'FraPlus1.OCX' or one of its dependencies not correctly registered: a file is missing or invalid",hope this isnt a vista bug cos my old laptops dead and id hate to have to go back to old editor if this doesnt work on vista,ive installed the old common controls (lib_setup.exe) that you used to have to install for the cm???.ocx error that you used to get,hoping that would install what was missing but no luck???
Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 21st Sep 2007 04:47 Edited at: 21st Sep 2007 05:00
paul5147, I don't have Vista and I really don't know if BlueIDE 2 will act as expected on Vista. Though I think it should.

Have you tried running BlueIDE 2 again. It 'should' install the needed components. At least it worked on my computer when I deleted the needed OCX's and started BlueIDE. I did get the same error but BlueIDE started the next time I tried.

If BlueIDE 2 does or doesn't start for you let me know. If it doesn't start then you need to manually run the install.bat that is in the 'system files' folder.

BlueIDE 2 should have started 'auto-installing' needed OCX's starting at R12 but it sounds like it is not working. Though locally, it seems to works fine. Ya, the joys of development

[edit]I just did another test and the OCX's reloaded but BlueIDE crashed with no message. I think it's a timing issue really. That the OCX's are still being copied when BlueIDE tries to use them.[/edit]

[edit2]Yep, timing issue. I will add a better delay to R14 to wait until all of the OCX's have loaded before moving on.[/edit2]

Regards,

paul5147
18
Years of Service
User Offline
Joined: 11th Jan 2006
Location: Hot & Sunny
Posted: 21st Sep 2007 13:29 Edited at: 21st Sep 2007 16:02
Balid,tried running the install.bat but that didnt cure it,the ocx's were allready there,can you still get older versions of blueide so i can see if any of those have the same problem,may be able to narrow it down a bit,or else ill just have to wait for next update,thanks.
sorted it out,it must be a vista problem,changed it to run as administrator and xp sp2 compatibility mode without themes,and it runs fine.
wh1sp3r
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Czech republic
Posted: 21st Sep 2007 19:15
I have Windows Vista x64 and BlueIDE works nice


PS: Real programmers aren't afraid of math!.
Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 21st Sep 2007 22:34
Quote: "sorted it out,it must be a vista problem,changed it to run as administrator and xp sp2 compatibility mode without themes,and it runs fine."
Glad to hear that.

Quote: "I have Windows Vista x64 and BlueIDE works nice "
I thought some were running BlueIDE on Vista but wasn't sure who.

Thanks to both of you for testing BlueIDE 2 on Vista for me .

Regards,

Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 30th Sep 2007 13:25 Edited at: 30th Sep 2007 13:37
Bug Report 1

Steps
1) Click the 'Create a new source file' icon.
2) Choose 'No' when asked if you want to add to current project
Result
1) This error message appears:

2) BlueIDE2 closes


Bug Report 2
Steps
1) Highlight a number of lines
2) Click on 'Comment Selected Lines' icon
Result
The final highlighted line is not commented



Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 30th Sep 2007 14:29
Scraggle, thank you for the bug reports.

Bug 1 - fixed.
Bug 2 - could you please provide a screenshot. I am unable to duplicate the last line not commenting. (see attached vid)

Regards,

Attachments

Login to view attachments
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 30th Sep 2007 14:40
There is no need to provide a screenshot because your video demonstrates the effect perfectly.
You are highlighting the lines by clicking in the line number column and when you do the cursor remains on the line AFTER the final highlighted line ... which does not become commented.

If you highlight the lines be clicking and dragging inside the code window, the cursor stays on the final highlighted line and not the following one (as in the previous method). When you use this method to highlight the lines and then click on the comment icon you will see that the last line is not commented.



Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 30th Sep 2007 15:03
.
Quote: "There is no need to provide a screenshot because your video demonstrates the effect perfectly"
Scraggle, I am confused, because My video showed that every line that I selected was commented. I have tried every combination I can think of and I still can not get the last selected line to not comment.

Also be aware that the video does not accurately show where my cursor is.

I've attached another video. This one showing selecting from the middle of a line to the middle of other line. And all are commented.

If you are talking about the line that the caret is on not commenting, that is not a bug, as the line is not selected.

Regards,

Attachments

Login to view attachments
Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 30th Sep 2007 15:23
I agree that half way through a line to half way through another will comment all lines but try this:

Steps
1) Position the cursor at the end of a line.
2) Click and drag any number of lines above it.
3) Click on the comment line icon.

Result
The line that you started highlighting from (the last one) is not highlighted.



Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 30th Sep 2007 16:20
Scraggle, good example. I was able to duplicate the problem. I will correct this issue if possible.

Regards,

Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 30th Sep 2007 17:05 Edited at: 30th Sep 2007 17:06
Good to hear ... thanks

I've found another:

Steps
1) Start a new project
2) Enter this : Dim myArray(0)
3) On the next line type: myarray(

Result
1) myarray is automatically changed to myArray (a good thing!)
2) This error message is displayed:




Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 2nd Oct 2007 05:01 Edited at: 2nd Oct 2007 05:06
Scraggle, I managed to correct (hopefully) the issue with commenting multiple lines. I think I may have also corrected your latest entry .

Thanks again for bring up those errors so I could correct them.

and Beta Release 14 is out
Upload two zip files now. One includes the source, the other does not.

A lot of bug fixes thanks to more users bring up their findings.

Change log:
* 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 with in 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

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

Regards,

Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 5th Oct 2007 03:26
That seems to have fixed the bugs I had found ... good work

Unfortunately, it has also got rid of the auto-case-up of the array name - I found that very useful. In fact BlueIDE had an auto-case-up feature for any variables that had been declared by Dim, Global or Local but for some reason it stopped working ... no idea why. If you could get that working again I would be very happy. Happier still if you could also include the feature for Constants and function names.

Thanks



Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 5th Oct 2007 03:52 Edited at: 5th Oct 2007 03:58
Quote: "That seems to have fixed the bugs I had found ... good work"
Good to hear and thank you.

Quote: "Unfortunately, it has also got rid of the auto-case-up of the array name "
Interesting. Please make sure that you have the fixup text option selected (Tools/Editor Colours/Styles).



Quote: "Happier still if you could also include the feature for Constants and function names."
You may find that that already occurs (provided that any of it works for you that is).

Regards,

Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 6th Oct 2007 21:31
Ah yes, I turned that off because it automatically changes the keyword to uppercase which I REALLY don't like. Is there any chance you could separate the option for variable and keyword case settings?

Thanks



Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 6th Oct 2007 23:40
Scraggle,

I will certainly look into it. Do you normally use lower or mixed case for keywords?

Regards,

Scraggle
Moderator
21
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 7th Oct 2007 11:34
Thank you

My personal preference is mixed case, like this:

Although the option for upper, lower or mixed case would probably please a larger number of people.

Thanks for listening



Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 7th Oct 2007 13:48 Edited at: 7th Oct 2007 15:49
Quote: "Thank you"
Quote: "Thanks for listening"
Your welcome, I'm roughly half way done now so the optional case selection for keywords will be in R15.

[edit]It appears to done and working well. R15 hopefully will be out later this week.{/edit]

Regards,

Lover of games
19
Years of Service
User Offline
Joined: 17th Apr 2005
Location:
Posted: 8th Oct 2007 06:14
I'm having a problem with BlueIDE, I added three files to ir, the dbas each with different code, I go to run it and BlueIDE tells me: "Failed to "unfoldincludes"" what do I do about it?

"Originally I was going to have a BS on it but you know how that would be. I can't walk around with the letters BS on me." More or less a qoute by Syndrome from Jack, Jack, attack
Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 8th Oct 2007 16:58
Lover of games,

Quote: "I added three files to ir,"
Do you have a 'Main Source' file? If so, please make sure that the includes are being sent to the compiler in the correct order. There are a few posts in this thread talking about include order and how to change them.

Regards,

Lover of games
19
Years of Service
User Offline
Joined: 17th Apr 2005
Location:
Posted: 8th Oct 2007 22:54
I have a main file. I've attached some screen shots to show u in what order I have the files. and what's in the files. Hopefully u can help. Also, i've noticed that intellisense doesn't work right..cause when i make a type then make a variable that type, when I put Ball. it doesn't show a list of variables like in C++ or other IDEs, not sure if that's the Idea, u had or not, but that would be great

"Originally I was going to have a BS on it but you know how that would be. I can't walk around with the letters BS on me." More or less a qoute by Syndrome from Jack, Jack, attack

Attachments

Login to view attachments
Balid
21
Years of Service
User Offline
Joined: 21st Nov 2003
Location: MI, USA
Posted: 9th Oct 2007 04:02 Edited at: 9th Oct 2007 13:50
Lover of games,

Try putting your 'types' include before your 'startup' include.

Your 'Load file' jpg was the same as your 'types file' jpg.

And one last thing...why do you have a label the same as a type and a variable??? [edit]removed useless comment about IDE's getting confused with labels, types and variable all having the same name (or spelling)[/edit]


Quote: "noticed that intellisense doesn't work right.."
Yes, that extended feature has not been implimented yet. But is planned.

Regards,

tiresius
22
Years of Service
User Offline
Joined: 13th Nov 2002
Location: MA USA
Posted: 10th Oct 2007 02:59
Hi Balid-

I have "automatically refresh list" turned off in both parts (code panel and preferences) but I'm still seeing some slowdown in the editor that I attribute to the auto refresh. It also seems like it is acting like it is auto-refreshing sometimes, by highlighting new functions I've written all of a sudden, etc. Was auto refresh=N broken for R14? Thanks!

I'm not a real programmer but I play one with DBPro!

Login to post a reply

Server time is: 2024-11-24 16:06:06
Your offset time is: 2024-11-24 16:06:06