flat assembler
Message board for the users of flat assembler.
![]() Goto page 1, 2 Next |
Author |
|
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. ![]() 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 |
|||
![]() |
|
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 |
|||
![]() |
|
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... ![]() 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. |
|||
![]() |
|
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 vid wrote: 3. When I am focused in empty "Fresh editor:" window, accelerators don't work. |
|||
![]() |
|
guignol 01 Nov 2010, 13:12
JohnFound wrote: Known bug - I am working on it. What exactly SEH is intented to do? |
|||
![]() |
|
JohnFound 01 Nov 2010, 13:36
guignol 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. ![]() 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. |
|||
![]() |
|
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.
|
|||
![]() |
|
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... What syntax highlighting "element" does "db" belong to? It is neither assembler directive, nor instruction, ... Seems to be "default text", is that intended? Quote:
I meant specifically &OK and &Cancel Quote:
Too late. If I get it again, I'll write it down. |
|||
![]() |
|
vid 01 Nov 2010, 13:58
I also noticed that you often don't check StrNew return value... Is this "ignored by design"?
|
|||
![]() |
|
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... ![]() 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. |
|||
![]() |
|
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. 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? |
|||
![]() |
|
edemko 01 Nov 2010, 16:42
guignol wrote:
Just wait for 4.7 seconds. JohnFound, will fresh support localization? |
|||
![]() |
|
guignol 02 Nov 2010, 00:42
Ah yeah! it runs out of memory
![]() |
|||
![]() |
|
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. |
|||
![]() |
|
edemko 02 Nov 2010, 07:18
ok, do not hurry
fresh seems thinking lots when i'm selecting some text, fasmw & wink do not |
|||
![]() |
|
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. |
|||
![]() |
|
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! |
|||
![]() |
|
edemko 02 Nov 2010, 07:50
mind i was un(selecting) in a cycle ie not once - and got
![]() |
|||
![]() |
|
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. |
|||
![]() |
|
Goto page 1, 2 Next < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.