flat assembler
Message board for the users of flat assembler.

Index > IDE Development > reloaded: Fresh 2.0.0

Goto page 1, 2  Next
Author
Thread Post new topic Reply to topic
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 01 Nov 2010, 11:16
[edit] The outdated links removed. Now Fresh home page is active and you can download the latest version from there[/edit]

Well, after 5 years delay, Fresh is back with new look and major version number. Smile
This is not an official release, but just a preliminary presentation to gain some opinions and wider bug test. Also we have to wait a little for http://fresh.flatassembler.net to be restored.

Here you can download the file: http://fresh.flatassembler.net

So, what is new?

0. FASM 1.69.25 inside.
1. New project file format - it is highly flexible and can be easy expanded later.
2. Environment variables (aka directories; aliases) handling - now there are 2 levels of handling - you can set aliases in IDE settings and in project properties as well. If there are aliases with the same names in the project and in the IDE, the project alias takes precedence.
3. Especially for project defined aliases there is a feature to set more than one value separated by "|". These aliases are presented in a special menu in the project manager and you can change its value, by just one click. To check this feature, click on "settings" panel in the project manager.
4. Linux development - now Fresh uses andLinux to execute Linux programs.
If you want to run ELF executable, you need to download and install andLinux, then to set proper parameters in "Options|IDE options|Debugers and emulators." Then you will be able to compile and run every Linux application by just pressing ctrl+F9. There are several examples in the package of console and GUI applications for Linux.
5. FreshLib directory contains some drafts of the FreshLib - fully portable library for fresh - the idea is to be able to write portable applications on assembler, and to compile the same source for different OSes.
It is in early development stage, but there is a test project "TestFreshLib.fpr" that contains simple program, that can be compiled for Win32 and Linux without change in the source. Just change "OS" alias to "Win32" or "Linux" and run with ctrl+F9.
6. Now you will have active code completion, even when the compilation ends with error.

8. There are also hundreds minor changes, bugfixes and new bugs, that I can't list here, because they are made during these 5 years just to serve my own needs.

I will be very thankful for every opinion, test report and especially bug reports.

Regards


Last edited by JohnFound on 09 Nov 2010, 20:22; edited 2 times in total
Post 01 Nov 2010, 11:16
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
guignol



Joined: 06 Dec 2008
Posts: 761
guignol 01 Nov 2010, 12:39
ProjectConverter.exe is a Trojan!
Razz

Finally FASM Programmer's Reference in some normal format.

The the default tray application (sample?) needs twice Show/Hyde to be clicked after run (to have effect).

Compilation of Fractal example freezes.

Why there is no drop-down projects list?


Last edited by guignol on 01 Nov 2010, 13:06; edited 3 times in total
Post 01 Nov 2010, 12:39
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7103
Location: Slovakia
vid 01 Nov 2010, 12:50
Mirror here: http://fasmlib.x86asm.net/Fresh2_0_0.zip

Questions and remarks:
1. Is registering icon and handler for .fpr possible?
2. "db" directive is what under syntax highlighting options?
3. When I am focused in empty "Fresh editor:" window, accelerators don't work.
4. I miss accelerators in Editor Settings (for OK, Cancel, etc.). Not very nice for us keyboard-oriented people
5. Once I got crash on closing Editor Settings dialog. Other time the OK and Cancel buttons didn't close the window. I wasn't able to replicate it. Double check the source if you are error checking all APIs there properly.

so much for now
Post 01 Nov 2010, 12:50
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 01 Nov 2010, 13:08
Vid, thanks for hosting.

vid wrote:
1. Is registering icon and handler for .fpr possible?

Yes, why not? But you have to do it manually, because I don't want Fresh to write in registry.

Quote:
2. "db" directive is what under syntax highlighting options?


I didn't understand this... Confused


Quote:
3. When I am focused in empty "Fresh editor:" window, accelerators don't work....


Known bug - I am working on it.

Quote:
4. I miss accelerators in Editor Settings (for OK, Cancel, etc.). Not very nice for us keyboard-oriented people


You mean standard dialog navigation: TAB, ENTER + ESCAPE, right?
There should be (despite a little messy tab order.) and it works for me.
More details?

Quote:
5. Once I got crash on closing Editor Settings dialog. Other time the OK and Cancel buttons didn't close the window. I wasn't able to replicate it. Double check the source if you are error checking all APIs there properly.


Please, provide the address of crash.

Thanks for the report.
Post 01 Nov 2010, 13:08
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
guignol



Joined: 06 Dec 2008
Posts: 761
guignol 01 Nov 2010, 13:09
vid wrote:
4. I miss accelerators in Editor Settings (for OK, Cancel, etc.). Not very nice for us keyboard-oriented people
There are.

vid wrote:
3. When I am focused in empty "Fresh editor:" window, accelerators don't work.
They do.
Post 01 Nov 2010, 13:09
View user's profile Send private message Reply with quote
guignol



Joined: 06 Dec 2008
Posts: 761
guignol 01 Nov 2010, 13:12
JohnFound wrote:
Known bug - I am working on it.
Why do mine work then?


What exactly SEH is intented to do?
Post 01 Nov 2010, 13:12
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 01 Nov 2010, 13:36
guignol wrote:
JohnFound wrote:
Known bug - I am working on it.
Why do mine work then?


What exactly SEH is intented to do?


Vid means, when there is no opened any file in the editor window - plain gray background. In this case, only Alt key works and brings you to the main window, and then you can navigate the main menu.
If you try Alt+F or any other menu accelerator key - it doesn't work, at least for me and for vid. Smile

SEH is example, how to use structured exception handler macroses (exceptions.inc library) in Fresh. You should study the source in order to understand what actually happens.

Regards.
Post 01 Nov 2010, 13:36
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 01 Nov 2010, 13:53
btw: there is a hidden component palette at the bottom of the main window. You simply have to resize the window in order to insert new controls in .frm files.
Post 01 Nov 2010, 13:53
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7103
Location: Slovakia
vid 01 Nov 2010, 13:56
Quote:
Yes, why not? But you have to do it manually, because I don't want Fresh to write in registry.

I meant something in options that does this, for people who want it. Just one checkbox "Associate with .fpr" somewhere, which saves you from manual labor.

Quote:
I didn't understand this... Confused

What syntax highlighting "element" does "db" belong to? It is neither assembler directive, nor instruction, ... Seems to be "default text", is that intended?

Quote:
Quote:
4. I miss accelerators in Editor Settings (for OK, Cancel, etc.). Not very nice for us keyboard-oriented people


You mean standard dialog navigation: TAB, ENTER + ESCAPE, right?
There should be (despite a little messy tab order.) and it works for me.
More details?

I meant specifically &OK and &Cancel

Quote:
Quote:
5. Once I got crash on closing Editor Settings dialog. Other time the OK and Cancel buttons didn't close the window. I wasn't able to replicate it. Double check the source if you are error checking all APIs there properly.

Please, provide the address of crash.

Too late. If I get it again, I'll write it down.
Post 01 Nov 2010, 13:56
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7103
Location: Slovakia
vid 01 Nov 2010, 13:58
I also noticed that you often don't check StrNew return value... Is this "ignored by design"?
Post 01 Nov 2010, 13:58
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 01 Nov 2010, 14:12
Quote:
Seems to be "default text", is that intended?


Yes, it is "default text". Is it intended? Well, let say almost... Smile
The problem is that the current FASM syntax is pretty hard to be parsed in order to make syntax highlighter. For example, some directives can be used like regular labels and like macro parameters. So it is not a trivial task to make decent syntax highlighter. Also, there will be major update in asmedit control, so, I intentionally stopped to fix minor problems there for now.

Quote:
I meant specifically &OK and &Cancel

Ah, I see now. But you have ENTER for OK and ESC for Cancel.
Also, if you want especially Alt+O and Alt+C, you can edit "IDEOptions.frm" and "EDIToptions.frm" - select the button, then in property editor change text property to "&OK" and "&Cancel", compile it, and you will have it.
Post 01 Nov 2010, 14:12
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
guignol



Joined: 06 Dec 2008
Posts: 761
guignol 01 Nov 2010, 15:08
JohnFound wrote:
Vid means, when there is no opened any file in the editor window - plain gray background. In this case, only Alt key works and brings you to the main window, and then you can navigate the main menu.
If you try Alt+F or any other menu accelerator key - it doesn't work, at least for me and for vid. Smile
As I said, they work fine.

What about my other notes, or should I also study the rest of sources and fix the bugs for ya?

And why doesn't it save files before compilation?
Post 01 Nov 2010, 15:08
View user's profile Send private message Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
edemko 01 Nov 2010, 16:42
guignol wrote:

Compilation of Fractal example freezes.

Just wait for 4.7 seconds.

JohnFound, will fresh support localization?
Post 01 Nov 2010, 16:42
View user's profile Send private message Reply with quote
guignol



Joined: 06 Dec 2008
Posts: 761
guignol 02 Nov 2010, 00:42
Ah yeah! it runs out of memory Laughing
Post 02 Nov 2010, 00:42
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 02 Nov 2010, 07:07
edemko wrote:
JohnFound, will fresh support localization?


Well, it is not with high priority in my TODO list. Localization will need some really big design changes. But, on the other hand, the next step will be to rearange the whole project in order to be portable to Linux, so this will be the moment to make it easy localizeable as well.
Post 02 Nov 2010, 07:07
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
edemko 02 Nov 2010, 07:18
ok, do not hurry
fresh seems thinking lots when i'm selecting some text, fasmw & wink do not
Post 02 Nov 2010, 07:18
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 02 Nov 2010, 07:22
edemko wrote:
fresh seems thinking lots when i'm selecting some text, fasmw & wink do not


Please, details. I never have this kind of problem. The only delay is when you have compiled source and type "." - this is because of search in the label list for code completion.
Post 02 Nov 2010, 07:22
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
edemko 02 Nov 2010, 07:48
it seems to be depending on the font - wrong alarm:
fasmw
wink
fresh(hackerz theme)
fresh(common theme)
greetz, all is fine!
Post 02 Nov 2010, 07:48
View user's profile Send private message Reply with quote
edemko



Joined: 18 Jul 2009
Posts: 549
edemko 02 Nov 2010, 07:50
mind i was un(selecting) in a cycle ie not once - and got Smile
Post 02 Nov 2010, 07:50
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 02 Nov 2010, 11:18
btw, did someone tried Fresh with andLinux? It runs ELF executables like a charm.
The install and uninstall of andLinux is straightforward - like any other Windows application.
Actually I tested Fresh only with KDE version of andLinux, but it should work with XFCE as well.
Post 02 Nov 2010, 11:18
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:  
Goto page 1, 2  Next

< 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.