flat assembler
Message board for the users of flat assembler.

Index > IDE Development > Fresh 2.0.2 alpha released

Author
Thread Post new topic Reply to topic
JohnFound



Joined: 16 Jun 2003
Posts: 3502
Location: Bulgaria
JohnFound
Hi all.
The next update of Fresh (v2.0.2) can be downloaded now from the usual place: http://fresh.flatassembler.net

The main change in this release is transition to automatically created API include files. Also, as always, there are several fixed bugs.
The most interesting in this release are the API include files (include/win32/api/) that was created with the new utility ImportsDB (published in the "related project" directory of the Fresh home site).
However, the use of this utility is beyond the project Fresh, I will open for it another thread in Main section of the forum.

Regards.
Post 22 Nov 2010, 20:44
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 822
Location: Jakarta, Indonesia
TmX
Hi JohnFound,

Now most projects are fail to compile, because of:
"Error: illegal instruction << 'ActivateKeyboardLayout' dd ? >> user32.inc[4]

Any idea?
Post 23 Nov 2010, 06:37
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3502
Location: Bulgaria
JohnFound
It is my fault! I simply forgot about the examples. And also, there is a include file not fixed... shame on me! Smile
BTW: I didn't managed to reproduce the error described by you. (but got other errors instead) Can you post some example source?

I will try to update the package as soon as possible, but probably this night or tomorrow.
The changes are easy to be made manually, so here are some directions:

1. The projects that use ImportLib macros to build import sections should compile properly.
2. The project that use direct include '%finc%\win32\apia\something.inc' need to be edited to include from api instead.
3. The projects that use 'win32\allimport.inc' file needs this file to be edited: simply delete the first line of the file, where GlobalAPI constant is redefined with wrong value.
4. Fresh with new API include files will need more memory for the compiler and probably will give "out of memory" for the most of the projects. Simply increase the memory from the project options. 65536k should be enough.

Sorry for the inconvenience. Smile
Post 23 Nov 2010, 07:30
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 822
Location: Jakarta, Indonesia
TmX
For example:
Image

If I'm not mistaken, that error doesn't occur on Fresh 2.0.1 and 2.0.0 ...
Post 23 Nov 2010, 08:14
View user's profile Send private message Reply with quote
TmX



Joined: 02 Mar 2006
Posts: 822
Location: Jakarta, Indonesia
TmX
JohnFound wrote:

1. The projects that use ImportLib macros to build import sections should compile properly.
2. The project that use direct include '%finc%\win32\apia\something.inc' need to be edited to include from api instead.
3. The projects that use 'win32\allimport.inc' file needs this file to be edited: simply delete the first line of the file, where GlobalAPI constant is redefined with wrong value.
4. Fresh with new API include files will need more memory for the compiler and probably will give "out of memory" for the most of the projects. Simply increase the memory from the project options. 65536k should be enough.

Sorry for the inconvenience. Smile


I tried this on the VisualPad, and it compiled fine. Thanks.
Post 23 Nov 2010, 08:20
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3502
Location: Bulgaria
JohnFound
OK, I managed to update the package, but only the setup package.(FreshSetup20.exe)
Unfortunately, my employers proxy settings are stupid, but hard to be bypassed. Wink
I will update the ZIP package as soon as I reach my home computer.
It is silent update - I didn't change the release number, but there are several cleanups to the include files and even one bug fixed.
So update if you downloaded before this message. Smile
Post 23 Nov 2010, 13:31
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3502
Location: Bulgaria
JohnFound
At the end of the day (for me Smile ) the release is properly updated on the site. (I hope there will be no other surprises...)
So, please, update your copies in order to have working Fresh 2.0.2

Regards.
Post 23 Nov 2010, 17:30
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1137
Location: Russian Federation
comrade
Glad to see you are still alive and around, JohnFound. Cheers.
Post 24 Nov 2010, 11:02
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3502
Location: Bulgaria
JohnFound
Me too, comrade. Smile
Post 24 Nov 2010, 11:07
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 878
Location: Colombia
pelaillo
JohnFound, I have some curious question:
In Fresh sources, the file "propeditor.asm" has window properties information but its extension is .asm instead of .frm.
I have renamed it to .frm in order to load it as the other forms in the project. But when loading it in Fresh it causes an exception. Today's Fresh 2.0.2 caught the exception but the file is loaded as an empty file. If I rename it to propeditor.asm, the file loads correctly.

I didn't see anything wrong with the form information nor anything particular respect to other frm files, so what's happening?
Post 30 Nov 2010, 21:28
View user's profile Send private message Yahoo Messenger Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3502
Location: Bulgaria
JohnFound
Hi, pelaillo.
This is because TPropertyGrid window class is not registered as a visual component and Fresh doesn't have design time information needed by form editor.
I can fix this, but right now I don't want to make any changes in visual editors, because the whole visual subsystem will have to be rewritten from scratch when FreshLib is ready for use. It will be portable components library that to provide compilation of one project for different platforms (for now Win32 and Linux, but it is freely scalable).
Post 30 Nov 2010, 22:37
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
wht36



Joined: 18 Sep 2005
Posts: 106
wht36
Hi, just installed FRESH. The help file has very nice contents! It didn't seemed to have been integrated into the IDE though. Also I get "out of memory" message with the new console application.
Post 06 Dec 2010, 09:24
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3502
Location: Bulgaria
JohnFound
wht36 wrote:
Hi, just installed FRESH. The help file has very nice contents! It didn't seemed to have been integrated into the IDE though. Also I get "out of memory" message with the new console application.


In Fresh 2.0, the path to the help file is not set automatically, because the file "FreshGuide.chm" is very outdated in both FASM part and Fresh part.
Actually it is still useful, but the information inside should be interpreted "creatively".

About "out of memory" - The default memory for FASM compiler now is set to 16384k for any new project. You should change it manually: Press ctrl+F12 or from menu: "Project|Project options". Then set the parameter "Compiler memory" to 65536k and press OK. Don't forget to save the project.
This behaviour will be fixed in the future - it is because of the new include files, that need more memory for compilation.
Post 06 Dec 2010, 10:08
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.