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 / CodeSurge -- DarkBASIC Professional IDE

Author
Message
FERSIS
17
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 15th Jun 2007 18:07 Edited at: 15th Jun 2007 18:10
POST EDITED:
REASON: Sorry , i posted twice the same .
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 15th Jun 2007 18:36
I think your problem is that you're using the trial version of DBP. It seems that most everyone else is able to open it up just fine. I'll see if I can find what might be causing the error for you.

Have you tried deleting the cssettings.ini file to see if that helps?

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
FERSIS
17
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 15th Jun 2007 21:48 Edited at: 15th Jun 2007 21:49
Quote: "I think your problem is that you're using the trial version of DBP. It seems that most everyone else is able to open it up just fine. I'll see if I can find what might be causing the error for you.

Have you tried deleting the cssettings.ini file to see if that helps?"


Well, ive tried deleting the .ini and nothing change.
About the trial version , i dont think so, because an older version of Codesurge , works fine.

Im doomed right? :p
thanks for all
Can you post your .ini file ? ,so i can compare with mine ?
ThinkDigital
18
Years of Service
User Offline
Joined: 18th Aug 2005
Location: A galaxy far, far away...
Posted: 16th Jun 2007 10:32
Quote: "Im using a Spanish Windows, C:\Archivos de programa its equal to c:\Program files"

That may well have something to do with it.

"Variables won't, constants aren't."
FERSIS
17
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 16th Jun 2007 18:35

Maybe,... but older versions of CodeSurge works fine on my PC
Well... its sucks to be me.
I will wait if hyrichter founds what happened.
Maybe CodeSurge has some hardcode of "Program files" on his code....
thanks
Mudbug
17
Years of Service
User Offline
Joined: 2nd Nov 2006
Location: Rome, GA USA
Posted: 17th Jun 2007 01:01
I have the full version of DBPRo, and I also get the access viloation when I start CodeSurge.

-MudBug
Oolite
18
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Middle of the West
Posted: 17th Jun 2007 01:05
Just updated to the newest one after not updating since february.

Mr Hyrichter you have outdone yourself, i am very impressed


[Looking for work]
Oolite
18
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Middle of the West
Posted: 17th Jun 2007 01:16
Just to quickly double post...
Make object box doesn't come up with the make object box commands, it comes up with the box commands and so does when i press f1.

Try it if you don't get what i mean.


[Looking for work]
ThinkDigital
18
Years of Service
User Offline
Joined: 18th Aug 2005
Location: A galaxy far, far away...
Posted: 17th Jun 2007 11:55
Yes, that is annoying, however... It didn't do that in previous releases?

"Variables won't, constants aren't."
PowerSoft
19
Years of Service
User Offline
Joined: 10th Oct 2004
Location: United Kingdom
Posted: 18th Jun 2007 09:19
Hyrichter, any chance the function list can display ALL functions in the project, not just the ones in the current file. I like to be organised and use include files you see.

Cheers,
Rich

The Innuendo's, 4 Piece Indie Rock Band
http://theinnuendos.tk:::http://myspace.com/theinnuendosrock
ThinkDigital
18
Years of Service
User Offline
Joined: 18th Aug 2005
Location: A galaxy far, far away...
Posted: 18th Jun 2007 23:04
PowerSoft, it displays all functions in files that are open, I believe.

"Variables won't, constants aren't."
Oolite
18
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Middle of the West
Posted: 18th Jun 2007 23:18
it shows only the functions,labels and types in the open document, it would be nice there was an option to show all the functions from every single source file thats in your project, would make switching between functions a whole lot easier


[Looking for work]
yaarj
17
Years of Service
User Offline
Joined: 3rd Jun 2006
Location:
Posted: 19th Jun 2007 19:18
I believe the "add cursor" feature in the editor needs to be improved. I can only use two cursors in my project.

Have fun in whatever you do, no matter how sad it is.
Digital Awakening
AGK Developer
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 20th Jun 2007 00:15
People are never happy... Keep it up Hyrichter!

[center]
Game development made simple!
PowerSoft
19
Years of Service
User Offline
Joined: 10th Oct 2004
Location: United Kingdom
Posted: 20th Jun 2007 21:18
ThinkDigital, not for me it doesnt, only the open document.

The Innuendo's, 4 Piece Indie Rock Band
http://theinnuendos.tk:::http://myspace.com/theinnuendosrock
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 20th Jun 2007 23:38
Powersoft is right, it only displays functions for the currently active document. However, intellisense will work with all functions in your project.

I'll add an option in to allow display of all functions in the next update. It's a very simple fix.

@Yaarj,
I'll look into that and see what's going on.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
Humanoid
20
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Finland
Posted: 21st Jun 2007 00:30
yep, if must jump fast other function and you dont be sure to where is it, put you want find fast that. Need all function one list

Suomi Finland PERKELE!
<AMD athlon 64 3000+> <Asus A8N-E nForce4 ultra> <GF6600LE PCI-E> <1GB ram>
Humanoid
20
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Finland
Posted: 21st Jun 2007 00:54
weird CodeSurge crash when update last patch "access violation at address 005661AF in module 'CodeSurge.exe' read of address 00000368"

Suomi Finland PERKELE!
<AMD athlon 64 3000+> <Asus A8N-E nForce4 ultra> <GF6600LE PCI-E> <1GB ram>
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 21st Jun 2007 02:23
Weird, that's at least 3 people that have the crash on startup problem. Humanoid, I notice you are from Finland, so I'm wondering if your computer is using a non-english layout? Another person having the same problem has the Spanish version of WinXP installed. I'm starting to wonder if that's part of the problem.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
Mistrel
Retired Moderator
18
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 21st Jun 2007 06:03
Here is a new bug:

Open CodeSurge and type something in, save, type in a file name for .dba and click save. Then click on cancel instead of saving the .dbpro file.

The .dba saves under Icons instead of Source Files.

Note choose File >> New Project. The list under the project explorer is no longer alphabetized and is now listed as:

Untitled
-- Media Files
-- Source Files
-- Icons
-- Cursors

Now try to save again and choose cancel for both menus. There is now a source file added with no name. It cannot be removed from the project. This process can be repeated to add more blank source files.

http://3dfolio.com
ThinkDigital
18
Years of Service
User Offline
Joined: 18th Aug 2005
Location: A galaxy far, far away...
Posted: 21st Jun 2007 06:07
Quote: "Powersoft is right, it only displays functions for the currently active document. However, intellisense will work with all functions in your project."


Oh, yes, I was thinking intellisense. Sorry.

"Variables won't, constants aren't."
yaarj
17
Years of Service
User Offline
Joined: 3rd Jun 2006
Location:
Posted: 21st Jun 2007 10:04
Quote: "@Yaarj,
I'll look into that and see what's going on"

Thanks! Looking forward to it! Keep up the good work!

Have fun in whatever you do, no matter how sad it is.
Humanoid
20
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Finland
Posted: 21st Jun 2007 15:08
i using english layout, but not have printer :S

Suomi Finland PERKELE!
<AMD athlon 64 3000+> <Asus A8N-E nForce4 ultra> <GF6600LE PCI-E> <1GB ram>
PowerSoft
19
Years of Service
User Offline
Joined: 10th Oct 2004
Location: United Kingdom
Posted: 21st Jun 2007 15:25
Thanks hyrichter, I'm used to being lay and not remembering function names or locations

The Innuendo's, 4 Piece Indie Rock Band
http://theinnuendos.tk:::http://myspace.com/theinnuendosrock
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 21st Jun 2007 17:01
Guys, I think I might've found what was causing the crash on some of your computers. I'll post it up in a little while and let you try it to see.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 21st Jun 2007 19:37
Mistrel
Retired Moderator
18
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 21st Jun 2007 23:27 Edited at: 21st Jun 2007 23:27
Here is another bug:

CodeSurge is not delisting functions that have been remmed out between remstart/remend tags.

http://3dfolio.com
Code Dragon
17
Years of Service
User Offline
Joined: 21st Aug 2006
Location: Everywhere
Posted: 22nd Jun 2007 19:19
Many would consider that a feature...

You never really know a person until you look at their google autocomplete entries.
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 22nd Jun 2007 19:46 Edited at: 22nd Jun 2007 20:57
Ok, here's a quick update that hopefully fixes the problem some people were having with it crashing on startup. I also fixed a few other minor things as well:
Hopefully fixed the problem with the editor crashing on startup on some computers.
Fixed bug where source files where added under the icons list in the project explorer if a project name wasn't specified.
Project explorer remains alphabetized after creating a new project.
Clicking cancel in the save source dialog no longer adds a blank source file to the project explorer.
Cursors, icons, etc. added to the appropriate places in the project explorer.

Quote: "Many would consider that a feature..."

Thanks, you just made my job a lot easier. I've known about this ever since I first created the code explorer and I haven't done anything about it mainly because it's not exactly an easy fix.

Sorry I didn't get all the functions, labels, etc. from a project into the code explorer yet. I mainly wanted to see if this fixes the crashing issue.

Edit: Still crashes on Diggsey's computer.
Download here

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 22nd Jun 2007 19:53 Edited at: 22nd Jun 2007 20:04
It still doesn't work

I get this error, when I start up codesurge, and about every second or so when it's running!



This happens both before and after deleting "cssettings.ini"

edit:
My specs


Attachments

Login to view attachments
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 22nd Jun 2007 20:56
*Tears hair out*
Arghh, I wish I knew for sure what was causing it! I think it's something to do with the code explorer trying to update before the editor form gets created. Try this and see if it works.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.

Attachments

Login to view attachments
Mistrel
Retired Moderator
18
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 23rd Jun 2007 01:07 Edited at: 23rd Jun 2007 01:44
I can live without my functions being removed from the function list if they've been remmed but I would like to see an option to turn this off sometime before CodeSurge hits 1.0.

I would also like to see is an option to filter out the directory portion in the project explorer so that only the .dba name is listed.

Thanks so much for creating this excellent IDE.

Also, I still get an "I/O ERROR 103" when a path in the file explorer becomes invalid.

http://3dfolio.com
Code Dragon
17
Years of Service
User Offline
Joined: 21st Aug 2006
Location: Everywhere
Posted: 23rd Jun 2007 03:04
I've got an idea for version 1.1.
Please don't laugh.

Get TDK to help integrate his source code tidier into CodeSurge. It would be so awesome if you could press a button to automatically indent everything.

You never really know a person until you look at their google autocomplete entries.
Hummanoid Typhoon
18
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Middle of nowhere
Posted: 23rd Jun 2007 12:31
i think i have discovered whats causing the access violation error.

The latest version does not have the code explorer, project manager and project explorer open from startup something must be trying to access those panels but they don't exist causing the access violation.

Also code highlighting seems to be broken in the latest version, it may just ba disabled but I can't check becaus when trying to open the preferances panel i get an error saying Cannot assign a nil to a TStringList

Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 23rd Jun 2007 13:32
It's still exactly the same. One thing I have noticed though, is that in the ones that don't work, the main source has only the tab there, not the actual edit control.

Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 23rd Jun 2007 13:54
It's got to be some kind of driver problem/ conflict. It works so good on so many other systems It works with no crashes here. What was this written in?

hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 23rd Jun 2007 14:08
The Code Explorer and other panels are by default opened just like before. I did change the order in which things were drawn, so maybe that's causing some sort of conflict with certain drivers or something. You say that older versions work, so I'll compare code from then to now and see what exactly I changed.

@LIT,
It's written in Delphi.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 23rd Jun 2007 16:41
Ok,
here's a debug version of CodeSurge for you to try. This will give you a message after each thing the IDE does on startup. Please let me know where it crashes so I'll have a better idea of what needs to be fixed.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.

Attachments

Login to view attachments
Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 23rd Jun 2007 17:51
It just says:
Shortcuts created

Then the error appears
Program starts with only tab, no text box
Error pops up every few seconds


That's probably no help at all!

hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 23rd Jun 2007 18:02
Actually it is a slight amount of help. It appears that the error is occuring when it tries to figure out your DBP installation path. Did you change anything since you installed DBP?

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
FERSIS
17
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 23rd Jun 2007 18:13 Edited at: 23rd Jun 2007 18:18
My case its the same as Diggsey.

This is my DBP PATH: C:\Archivos de programa\The Game Creators\Dark Basic Professional Trial
Windows XP HOME SP2 , Spanish

i can open a project if i open the project explorer and the code explorer.
But with no sintax highlight.
Hope you can fix it . Keep it up.
hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 23rd Jun 2007 18:38 Edited at: 23rd Jun 2007 18:42
Finally, I found the problem!!!

It happens if your registry doesn't have the proper DBP installation path. This causes an error because it was trying to ask you for the appropriate path (since it couldn't find it) but was running the code to do so before the main form was completely created. This should once and for all fix this problem.


Edit: You probably want the file, don't you.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.

Attachments

Login to view attachments
Humanoid
20
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Finland
Posted: 23rd Jun 2007 19:08 Edited at: 23rd Jun 2007 19:53
now works fine, good work.

[edit] that compiler orderlist system is nice, only add new file and move that up to list, get error message, but not crash

'remove from project' not work correct -> tab stay, not delete that

Suomi Finland PERKELE!
<AMD athlon 64 3000+> <Asus A8N-E nForce4 ultra> <GF6600LE PCI-E> <1GB ram> if not understant my writing, maybe someday i learn perfect english.
Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 23rd Jun 2007 20:37 Edited at: 23rd Jun 2007 20:55
It still doesn't work! I get this error:


edit:
The keywords aren't highlighted, only the comments, number, symbols, etc.

edit2:
It seems that the cssettings.ini must be created before keywords are highlighted, because now keywords DO appear bold and blue. Hmmm, very strange.

hyrichter
20
Years of Service
User Offline
Joined: 15th Feb 2004
Location: Arizona
Posted: 23rd Jun 2007 21:15
Diggsey, for a second there, you made me want to come through cyberspace to strangle you!

Anyway, the reason that your keywords weren't highlighted the first time is because it didn't know where to look for them until after you told it where your DBP location is. I'll remember to have it reload the keywords after you set your DBP path.

@Humanoid,
There should be no error message at all. At least it doesn't crash, though. I'll see what might be causing it.

Good performance is better than a good excuse.
CodeSurge -- DBP Editor for serious programmers.
Diggsey
17
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 23rd Jun 2007 21:36 Edited at: 23rd Jun 2007 22:11
Quote: "Diggsey, for a second there, you made me want to come through cyberspace to strangle you!"

Sounds painfull...

Thanks for the speedy updates

edit:
I added you on MSN

edit2:
I really like that when you double click on a word, it stops at symbols as well as spaces, but can you make it count # and $ as letters, because variable names often contain them. Thanks

FERSIS
17
Years of Service
User Offline
Joined: 17th May 2006
Location:
Posted: 24th Jun 2007 00:01
hyrichter thanks is working lovely now.
finally i can use CodeSurge !!!!!
Oh , im happy hope your happy too!
Cheers ,and again , thanks
Digital Awakening
AGK Developer
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Sweden
Posted: 24th Jun 2007 18:15 Edited at: 24th Jun 2007 18:19
Now just add in the # and $ stuff Diggsey mentioned and the option to list all functions and I'll be very happy

I'll be coding a lot next week and it would be nice with the function listing so I don't have to search for them.

[center]
Game development made simple!
PowerSoft
19
Years of Service
User Offline
Joined: 10th Oct 2004
Location: United Kingdom
Posted: 24th Jun 2007 18:27
I'm getting problems with creating new projects.

I create them ('new project' from menu) then go to save it but I either get a file IO error or a range check error.

When I goto load it I get a 'Could not load project file, it may be corrupt'


Attached is the DBPRO file

The Innuendo's, 4 Piece Indie Rock Band
http://theinnuendos.tk:::http://myspace.com/theinnuendosrock

Attachments

Login to view attachments
Chenak
21
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 25th Jun 2007 03:30
A tiny thing, but thought I'd mention it, boolean values in DBP for some reason range from 0 - 255

Login to post a reply

Server time is: 2024-03-28 19:56:24
Your offset time is: 2024-03-28 19:56:24