topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 6:45 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - SkyIDE [ switch to compact view ]

Pages: prev1 2 3 [4] 5 6 7 8 9 10next
76
Developer's Corner / Re: SkyIDE - Latest Release Information
« on: June 08, 2007, 10:56 PM »
By the way, yes, the DLL section will be a separate section. I may need to let the user tell SkyIDE what each file should be, a DLL or an EXE but I will do that later, after Beta 14. May be for Beta 15.

77
Developer's Corner / Re: SkyIDE - Latest Release Information
« on: June 08, 2007, 10:49 PM »
Thanks Gothic,

I will definately consider it. That is the exact reason why I have "Compiling Command" tab in the project options. The user will be able to choose to either let SkyIDE compile the project files or let the SkyIDE read user's command and when "Compile" or "Run" is pressed, the command the user typed will run instead of mine. But I know what you mean with all these make files. I haven't used any of them. I will be better of invoking them to do the job, I can just create a nice GUI for it to make things easier.

Once I complete this, what I am doing now, for the next beta after Beta 14 , I may add a third option where I let the user deal with makefiles. I will HAVE to write a help file as this is getting a bit complicated. Here is a screenshot of what happens when the second option is selected: (Considering there are no errors in code)

http://www.skyide.ne...ing/multiprocess.png

I deliberately created some errors to demonstrate the error writing procedure in the output pane and I just launched the prev EXEs manually but if there were no errors, the EXEs will start by themselves.

Notice how the errors for each file are listed at once. You have main2.cpp, main3.cpp etc.

78
Developer's Corner / Re: SkyIDE - Latest Release Information
« on: June 08, 2007, 07:09 PM »
Here it is:


http://www.skyide.ne...ing/projectprop2.png




Update: I re-worded that second option to:

"Compile the above files in multiple processes - With this option each file can have its own main() function and each file will generate its own EXE"

79
Developer's Corner / Re: SkyIDE - Latest Release Information
« on: June 08, 2007, 06:39 PM »
By the way, I am also adding an option now for the C++ compilers:

(*) Compile ALL of the above files in a single process
( )  Compile ALL of the above files in separate processes

Choosing the single process option, when compiling the files, only one file may have a main() function

Choosing the separate processes option, each file may have multiple main() functions and each file will generate its own exe


Regarding the separate cores, hmmm, I haven't dealt win anything like that before. Manipulating cores? Now that would be cool :)

80
Developer's Corner / Re: SkyIDE - Latest Release Information
« on: June 08, 2007, 06:24 PM »
being able to configure a specific amount of simultanious jobs, maybe that would be a good feature to ad

You mean something like this? :D

http://www.skyide.ne...g/projectoptions.png

That's an earlier screenshot.

Well it at least tells you how many files you want to compile...

It would really be AWESOME if SkyIDE would let you build a compile farm out of the box btw 
That would probably even be a feature that would attract businesses if SkyIDE were to mature. And if it ever gets famous you could make money off of it by selling support


:) hehehe sounds good! :D

81
Developer's Corner / Re: SkyIDE - Latest Release Information
« on: June 08, 2007, 05:33 PM »
Hmm, what I am trying to do is, instead of compiling each file one by one, you just press "Compile Project" from the project menu and if you have added your project's files the Compiling Files List, each file will be compiled simultaneously and all errors and warnings will be displayed in the bottom pane.

See this:

http://www.skyide.ne.../testing/compile.png

See the arrows pointing at the two different files? It's like compiling one file but two/three instead. You can have 10 files and they will be compiled at the same time.


You can add header files/souce files and compile everything at the same time.

Imagine you have 10 different files and you want to know which of them have errors. Instead of compiling one by one, you can compile everything at one go.

82
Developer's Corner / Re: SkyIDE - Latest Release Information
« on: June 07, 2007, 10:29 PM »
Here is something really cool / interesting. I had no choice with LCC-WIN32 as it won't let me pass multiple files to get compiled. Well it does let me but it ignores them so this is what I did in order for me to accomplish my mission with multi-file compilation with this C compiler.


http://www.skyide.ne...ulti_compile_lcc.png


The rest of the C++ compiler work normal, e.g:

bcc32 file1.cpp file2.cpp file3.cpp and it generates the proper EXE

83
Developer's Corner / Re: SkyIDE - Latest Release Information
« on: June 06, 2007, 06:48 AM »
More updates:

Beta 14 will have so many changes, so any improvements...almost all little inconsistencies will be gone. The entire IDE is getting a major overhaul. I separated code sections, I modified a lot of code -- this one will just work!

The *ONLY* way it wouldn't work is if I *forget* to add some code somewhere otherwise I am confident my solutions and implementations work.

First, the multi-file compilations is really cool. Imagine compiling 5, 7, 10 source files at once by simply pressing "Compile" and all the errors captured in a nicely formatted output.

Still to do:

- Bring back bakefile support
- And if I have time, add DLL compilation ability...
- Set your own command to compile you project files or use SkyIDE's
- Finalise multi compile support:

What has been done:

Added: Finalised support for VB.NET
Added: Support for Visual C++ Express 2005 v8.0

Added: Multi-file compilation support for Digital Mars D
Added: Multi-file compilation support for Digital Mars C++
Added: Multi-file compilation support for Digital Mars GNU C++
Added: Multi-file compilation support for Digital Mars Openwatcom C++

Added: Link Object Files dialog - Linker from compiler profile used
Added: Now you can include folders to the "include" path of Free Pascal
Added: "Show Main File" on the project popup menu
Added: Open Project Folder on the project popup menu
Added: "Set as Main File" to project file explorer pop up menu
Added: /target:<> setting in Change Project Options for .NET languages
Added: Force Dialog Filter Index On/Off Switch for Open/Save Dialogs

Bugfix: Right Click Tab Bar->Set as Project Main file
Bugfix: Serious bugfixes with the class viewer
BugFix: With adding multiple directories with some projects
BugFix: With VB.NET and C# formatted compiler output
BugFix: With Borland C++ formatted compiler output
BugFix: With LCC formatted compiler output
Bugfix: With SkyIDE->Project: Some options didn't work for a C# Project
Bugfix: With GNU C++ Project "libs" setting. SkyIDE produces invalid command
Bugfix: When compiling projects, the default project include directory was not passed to the compiler
Bugfix: In Select Project Dialog in project properties, "Show Root Folder" no longer throws an error
Bugfix: With "Change Project Options" settings with D and C# projects
Bugfix: With compiling: Sometimes if compilation failed, the old exe ran anyway
Bugfix: With the newly added C# and VB.NET Object Viewers (just forgot to add some code)
Bugfix: Some very minor bugfixes with the function viewer
Bugfix: (May be fixed) Multi Search and replace sometimes returned no matches after heavy usage


Imporvement: Much better and easier to use Compiler Profiles dialog.
Improvement: Text readability in "Compiler Output" -- Item Hight Increased for easy ID
Improvement: Now the Open Dialog initial's dir is the one of the active file
Improvement: Relocated the Object Viewer to the bottom (it will be dockable soon)
Imporvement: Redesigned the multi-file search and replace section
Improvement: Improvement with the way SkyIDE works with Openwatcom C++
Improvement: Improvement with the way SkyIDE works with Borland C++
Improvement: Improvement with the way SkyIDE works with Digital Mars C++
Improvement: Improvement with the way SkyIDE works with Digital Mars D
Improvement: Improvement with the way SkyIDE works with Digital Mars GNU C++


Other: Removed limitations with adding dirs in "Compiler Profiles" dialog
Other: Re-wrote most of the Compiling() code in order to make things easier to manage
Other: Relocated "Undo Last Close" a few levels up in the menu


I have to finish the "to do" list above and that will be it for Beta 14. I hope I will have enough time to add DLL compilation dialog. I also want to separate some things in separate threads but I might do that later...

84
Developer's Corner / Re: SkyIDE - Latest Release Information
« on: June 05, 2007, 03:08 AM »
Well, since nobody is posting on the forum, let me refresh it a bit :)

Screenshot: Multi-file compilaton:
http://www.skyide.ne.../testing/compile.png

Screenshot: Adding multiple files:
http://www.skyide.ne...g/projectoptions.png

Screenshot: Relocated Object Viewer and Improved Class Viewer:
http://www.skyide.ne...ting/classviewer.png

Screenshot: Better multi-search layout:
http://www.skyide.ne...ges/testing/new1.png


Instead of the "last source file" -- I will have to modify it so that the project's main file is the EXE file...

Slight changes in plans -- Your EXE will be produced from the file that contains your "main()"  function.

85
Developer's Corner / Re: SkyIDE - Latest Release Information
« on: June 02, 2007, 07:28 PM »
but later on will require some more modifications.....in the Compiling Dialog I will have to list which file is being compiled....you know, like C++ Builder :D

86
Developer's Corner / Re: SkyIDE - Latest Release Information
« on: June 02, 2007, 07:25 PM »
The amount of work I will go through is serious....but thanks to the modified CompileFile() methods I have and SetCompilingFile(), it should make it easier....I just need to call SetCompilingFile() and CompileFile() with compile only option with no link for each file.

87
Developer's Corner / Re: SkyIDE - Latest Release Information
« on: June 02, 2007, 07:18 PM »
Slight changes in plans:


Some big changes in beta 14 hopefully. These changes will move SkyIDE to the next level along with the DLL compilation utility which  I haven't even started.

I intend to:

- Add an option where, when you select compile for your project, it compiles ALL files in your project, one by one. This means object files will be created for each file in your project. Simiar to what C++ Builder does. I may need to postpone the release date of Beta 14 in order for me to add all this.

- Add an option where you can specify what do you want to happen when you press "Compile/Run" Project. Example:

For MyProject: What happens when you select Compile or Run....

[checkbox] Use my own command: "and here you type commands, make, link etc"

or

[checkbox] Let SkyIDE compile my project using its own method

With this, I will give the user FULL control of the compiling procedure. This will be especially useful for power users

If all goes well, all this should be finished in one week but no guarantees.

88
Developer's Corner / Re: SkyIDE - Latest Release Information
« on: June 02, 2007, 03:40 AM »
Just a small update regarding the above post:

New redesigned linker dialog:

http://www.skyide.ne...esting/newlinker.png

This is the last "new" thing I am doing for Beta 14. The other too is the bakefile support and ability to compile DLLs.



89
Developer's Corner / Re: SkyIDE - Latest Release Information
« on: June 02, 2007, 12:59 AM »
I am working on something brand new -- a linker dialog. The linker dialog lets you link already compiled files. The linker associated with the selected profile will be used.

http://www.skyide.ne...s/testing/linker.png

The bakefile support will be brought back as well. Visual C++ Express is finished 100%.

UPDATE:

I will add a small option "Let SkyIDE tell the linker to create an EXE" where I tell the linker to produce an EXE or "Let me type the parameters" where you have full control of the process, even create a DLL.


90
Developer's Corner / Re: SkyIDE - Latest Release Information
« on: May 31, 2007, 10:49 PM »
I have improved the "Compiler Profiles" dialog. I believe this is mcuh better and easier to understand. The small graphical glicthes will be taken care off.

http://www.skyide.ne...ting/newprofiles.png

Here is what else has been done:

Added: Finalised support for VB.NET
Added: Now you can include folders to the "include" path of Free Pascal
Added: "Show Main File" on the project popup menu
Added: Open Project Folder on the project popup menu
Added: "Set as Main File" to project file explorer pop up menu
Added: /target:<> setting in Change Project Options for .NET languages

Imporved: Much better Compiler Profiles dialog.
Improved: Text readability in "Compiler Output" -- Item Hight Increased for easy ID
Improved: Now the Open Dialog initial's dir is the one of the active file if no project is selected

Bugfix: With some class detection consistencies
BugFix: With adding multiple directories with some projects
BugFix: With VB.NET and C# formatted compiler output
BugFix: With Borland C++ formatted compiler output
BugFix: With LCC formatted compiler output
Bugfix: With SkyIDE->Project: Some options didn't work for a C# Project
Bugfix: With GNU C++ Project "libs" setting. SkyIDE produces invalid command
Bugfix: When compiling projects, the default project include directory was not passed to the compiler -- contradicting to what it says in Change Project Options
Bugfix: In Select Project Dialog in project properties, "Show Root Folder" no longer throws an error
Bugfix: With "Change Project Options" settings with D and C# projects
Bugfix: With compiling: Sometimes if compilation failed, the old exe ran anyway
Bugfix: With the newly added C# and VB.NET Object Viewers (just forgot to add some code)
Bugfix: Some very minor bugfixes with the function viewer


Other: Removed limitations with adding dirs in "Compiler Profiles" dialog
Other: Re-wrote most of the Compiling() code in order to make things easier to manage
Other: Relocated "Undo Last Close" a few levels up in the menu



Now:

- Working on adding support for Visual C++ Express (almost done)
- Bring back bakefile support
- And if I have time, add DLL compilation ability...

91
Developer's Corner / Re: Some questions abt coders
« on: May 31, 2007, 04:37 AM »
I haven't used this one but there is another "Inno Setup". I am not sure how small it is but I've seen a lot of programs using it.

92
Problem solved...Thanks! Back in business :)

And I already explained why the installer doesn't modify your env variables


yep :D



93
Hmm I installed a lot of stuff lately including BDS2006 Enterprise and this installer installs other stuff as well such as .NET 1.0 + SDK, Service packs for .NET and a lot more. I wish I saw my file system structure before the installation of all this but I just looked in the about box for VC++ 2008 and it says version 8.0 so it's gotta be C:\Program Files\Microsoft Visual Studio 8\VC\bin and that's the one I will work with.

Also all the "missing" files are located in C:\Program Files\Microsoft Visual Studio 8\VC\lib so for some reason the VC++ installer did not modify my env variables

94
Ok,

I just started messing around with adding support for Visual C++ Express.

I also installed .NET 2.0 SDK. Here is the confusing part. There seem to be two cl.exe files and I have no idea which is the one utilized by VC++ Express.

One is located in C:\Program Files\Microsoft Visual Studio 8\VC\bin
and one C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin


They both produce "different" options but the one in the C:\Program Files\Microsoft Visual Studio 8\VC\bin does not seem to work as its linker cannot find some files. I already re-installed VC++ Express twice and same story ...  but

the one in C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin also didn't work -- its linker couldn't find some files so I had to re-locate the "missing" libs into system32 and the home dir too. Anyway my question is, which is the right compiler for VC++ Express? Which one should I work with to add support?

Microsoft's own installation fails to set things up properly. They probably didn't modify my env paths...


95
Developer's Corner / Re: Some questions abt coders
« on: May 30, 2007, 09:05 PM »
Executable's size also depends on the type of linking you use.

Static linking where all code from external libs is compressed into the executable or dynamic linking where the code is not compressed and it requires you to include the libs in order for the program to run properly .

If you use static linking, the size of the EXE will be greater because all of the required code is compiled into the EXE itself.

If you use dynamic linking, the size of the EXE will be a lot smaller BUT you will need to make sure the end user has got the required libs installed or your program will fail to load. Dynamic linking will also make the program execute faster.

Regarding QT, I've used it before..ages ago. I used it with KDevelop. QT is just a toolkit that draws the GUI and does some processing. Personally, I find QT very easy to use. Easier than Microsoft's MFC for sure. I haven't used it since KDE 1.2 however....
 
If you have time to learn it then getting some extra knowledge never hurts but you must be confident in C++ first...

96
Developer's Corner / Re: Interesting Behaviour
« on: May 30, 2007, 07:04 PM »
I wish I could but now but it's too late :) It's all gone. After that, I believe Belenix's (OpenSolaris) "Install on Hard Disk" utility currupted my "partition table" or something else on my NTFS partitions so I got all these error messages such as \NTLDR missing, \Windows\System32\Winload.exe (this second one is on Vista) even though they were there. I didn't even touch these partitions when I used their fdisk utility but looks like "it" touched them anyway...hehe

I spent about two hours late at night fiddling with rescue CDs and pre-installed environments, replacing bootmgr, msdos.sys, ntdetect etc etc to no avail until I realised their partitioning tool most likely stuffed either my partition table or the NTFS file systems as there was no logical explanation why Windows wouldn't boot. I deleted the Solaris partitions and restored XP on the primary active partition from an image and I put Vista on the second and the Solaris one got replaced with Linux :) So the corrupted project file is all gone, beyond recovery :)

So all that was a rough ride hehe


97
Developer's Corner / Re: Interesting Behaviour
« on: May 30, 2007, 05:22 AM »
Interesting, ahh well...moving along....

I back up the project sometimes a few times a day. After every considirable amount of code work, backing up is a must and now it paid off :)  Let this be an example to other people -- expect the unexpected and always back up your work.


98
There is also "Examples" directory in C++ Builder with working programs that tells you how stuff is done.

99
mahesh2k I have to agree with mouser. The questions you have asked require you to read a tutorial. There is too much to discuss and personally (no offense) I don't have enough time to write a tutorial. I mean, SkyIDE doesn't even have a help file.

If you were already experienced we can point you at the right direction but the stuff asked above is too simple requiring detailed explanation. Definitely search Google for C+ Builder tutorials.



100
Developer's Corner / Interesting Behaviour
« on: May 28, 2007, 06:48 PM »
My BCB V6 project got currupted on its own by itself. I have no idea how. I just launched it, F9 and I got bombarded with linker errors. Fortunately I had made a fresh backup copy of the source the previous day and this one works fine.

What puzzles me is, it just stopped working. The linker gave me all these warnings cannot open somefile.dfm quite a few of them. The back up copy works fine but the one on the hard disk did not. I didn't make any modifications in project properies...

Does anyone have any ideas what might have happened?

I looked at the #include paths and they were still the same.

Pages: prev1 2 3 [4] 5 6 7 8 9 10next