flat assembler
Message board for the users of flat assembler.

flat assembler > IDE Development > The milestone version: Fresh 1.0.0E pre-alpha

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



Joined: 16 Jun 2003
Posts: 3494
Location: Bulgaria
For the first Fresh can compile source files:

Open the file in the source editor and select "project|compile" or press Ctrl+F9. There is no progress indicator for now. If error occur there is no error message, simply nothing happen. Sad
Try to compile "CopyFresh.asm" or "examples\simple.asm"

History.inc
Code:
  [17.10.2003] v1.0.0E

        - Added open files dialog. It allows open of multiply files at once.
        - Source editor changes. Introduced data structure TEditorTab, where
          the information about filename is stored.
        - New messages in 'sourceeditor.asm'. Some messages behaviour is changed.
          Added comments in 'sourceeditor.inc'.

  [16.10.2003] v1.0.0E

        - !!! The first compilation of Fresh with Fresh. Smile Fixed some bugs.

        - About box edited - added last authors "decard" and "roticv".
        - Added splitter custom control. It must be in components directory,
          but for now is in "sources"
        - Fixed bugs in 'vfiles.asm'
    


Regards.

[EDIT]Updated version uploaded. Unofficial (full of bugs Smile )[/EDIT][b]
[b][EDIT]Another updated version uploaded. Using heap functions in 'virtfiles.asm'[/EDIT][b]
[b][EDIT]Outdated version deleted. See here: http://board.flatassembler.net/topic.php?t=507 for the current version[/EDIT]


Last edited by JohnFound on 29 Oct 2003, 21:02; edited 3 times in total
Post 17 Oct 2003, 20:01
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
LiuGuoHua(Chinese)



Joined: 26 Sep 2003
Posts: 25
Very good work!
I've just seen it, and downloaded it.
Have a look at it.
Post 18 Oct 2003, 12:42
View user's profile Send private message Reply with quote
LiuGuoHua(Chinese)



Joined: 26 Sep 2003
Posts: 25
When i extract it, winrar says" No enough memory."
I don't know why?
Post 18 Oct 2003, 12:45
View user's profile Send private message Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1095
Location: Poland
LiuGuoHua(Chinese) wrote:
When i extract it, winrar says" No enough memory."
I don't know why?

Proably something is wrong with your system, mine works OK. You can also extract it in WinCommander.

About Fresh v1.0.0E:
1. When compiling empty sourcefile, Fresh crashes.
2.
Quote:
proc StrNew, hOldString
; Creates new empty string and returns handle
; Arguments:
; hOldString - old handler. if <> 0 DelStr is call to free memory.
; Return: handle of the new created string.

And sourceeditor.asm, palette.asm and opendialog.asm call it without any arguments. I even wonder if we need hOldString at all, maybe I should remove it and make StrNew simpler?
3. There is still a bug when creating new sourcefiles with invisible source editor.

I've got some question about form library: how to make some control in dialog focused when dialog is shown?

regards,
decard
Post 18 Oct 2003, 16:57
View user's profile Send private message Visit poster's website Reply with quote
roticv



Joined: 19 Jun 2003
Posts: 374
Location: Singapore
I know comments are welcomed, so here are mine.

1. The icon shown in the taskbar or whatever you call it differs from the one shown on the top left hand corner of the window.
2. Somehow I do not like the color of syntax highlighting and the font used. Can't wait for the options dialog to be fixed so that I can change the font and the font color.
3. In the add class name dialog, the ok and cancel button are covered.
4. Somehow I would prefer the Main window and source window together as one, though I know it would be difficult to change the foundations of it. Perhaps something to consider.

Other than the above comments I would like to say that I found fresh cool. Keep up the good work, JohnFound and the rest of the team.
Post 18 Oct 2003, 16:59
View user's profile Send private message Visit poster's website MSN Messenger Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3494
Location: Bulgaria
decard wrote:
1. When compiling empty sourcefile, Fresh crashes.
2. And sourceeditor.asm, palette.asm and opendialog.asm call it without any arguments. I even wonder if we need hOldString at all, maybe I should remove it and make StrNew simpler?
3. There is still a bug when creating new sourcefiles with invisible source editor.


Hi decard.
1. I will check this.
2. You are right, my fault. I will think about StrNew. Just now I have no opinion.
3. I can't understand the point. Please explain more detailed.

About focused control in the TForm, it needs fixes in the forms library, the procedure that creates the form. I will make it these days.

Hi roticv.

roticv wrote:
1. The icon shown in the taskbar or whatever you call it differs from the one shown on the top left hand corner of the window.
2. Somehow I do not like the color of syntax highlighting and the font used. Can't wait for the options dialog to be fixed so that I can change the font and the font color.
3. In the add class name dialog, the ok and cancel button are covered.
4. Somehow I would prefer the Main window and source window together as one, though I know it would be difficult to change the foundations of it. Perhaps something to consider.


1. This is not a bug, this is feature. Very Happy. The icon (and title) on task bar is icon of the TApplication window.
2. This will be fixed very soon.
3. This dialog is still in very early test form. Actually I use it as test window for forms library and it does not do any useful thing.
4. ... Smile

Regards.
Post 18 Oct 2003, 18:14
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1095
Location: Poland
JohnFound wrote:
3. I can't understand the point. Please explain more detailed.


I mentioned about it before:
Quote:
1. Small bug with source editor: when you close it, then create new source file, and then show source editor, newly created asmedit won't fit in the window, it will be smaller. IMHO creating new source file should make source editor visible anyway.


IMO having separate main window and sourceeditor is better.
Post 18 Oct 2003, 18:43
View user's profile Send private message Visit poster's website Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
decard wrote:
IMO having separate main window and sourceeditor is better.

I 2nd that.

I think I know what you're talking about, when hiding&closong the source editor and (don't remember exactly how I did) create a new file, and then show the source editor (via the menu). The edit child window isn't re-sized (as it is on first creation), I think simlply forceing it to resize if self after beein showed/re-created will be enougth to fix that bug.

_________________
... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself.
- Bradley Kuhn
Post 18 Oct 2003, 19:04
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
Re-produce like this:
1. Start Fresh
2. Close the source editor
3. Click the new source file button on the toolbar
4. View the source editor via teh View menu.

Now you see something like attached image, note the asmedit controll isn't (re)sized to fill the void, resizing the window corects it.


btw, I can't compile the samle file, it produces a null file with .com extension.


Description:
Filesize: 25.8 KB
Viewed: 3095 Time(s)

dump.png



_________________
... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself.
- Bradley Kuhn
Post 18 Oct 2003, 19:10
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
ipadilla



Joined: 08 Sep 2003
Posts: 11
Hi JohnFound,

please, where can I find the last realease of fresh?
thank you
ipadilla
Post 19 Oct 2003, 10:39
View user's profile Send private message Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3494
Location: Bulgaria
ipadilla wrote:
Hi JohnFound,

please, where can I find the last realease of fresh?
thank you
ipadilla


In the first post of this thread. The Fresh is attachment to the post.
Post 19 Oct 2003, 14:20
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3494
Location: Bulgaria
Decard,
I god the problem. It is easy. I will fix it. Thank you.
Now I think that we must make StrNew without argument. I simply
check that most of the calls to StrNew are with argument NULL, so let make it
without arguments.
Post 19 Oct 2003, 14:30
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1095
Location: Poland
Quote:
so let make it without arguments.

OK, I will do it.
Post 19 Oct 2003, 14:55
View user's profile Send private message Visit poster's website Reply with quote
ipadilla



Joined: 08 Sep 2003
Posts: 11
Thanks JohnFound
This will be a really good IDE.
ipadilla
Post 19 Oct 2003, 15:08
View user's profile Send private message Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1095
Location: Poland
Here you got. Wink
Oh, there's only one place in Fresh source that needs to be updated: line 200 of fasm.asm file.

Outdated attachment removed. Now StrLib can be found in Fresh package


Last edited by decard on 29 Nov 2003, 15:03; edited 1 time in total
Post 19 Oct 2003, 16:09
View user's profile Send private message Visit poster's website Reply with quote
Kevin_Zheng



Joined: 04 Jul 2003
Posts: 125
Location: China
Hi,Johnfound:
I downloaded the package and recomplied it , but it showed the belowing error message on the complier period:
Code:
flat assembler  version 1.49
Procedure skiped:  
Procedure skiped:  
Procedure skiped:  
Procedure skiped:  
Procedure skiped:  
Procedure skiped:  
Procedure skiped:  
Procedure skiped:  
Procedure skiped:  
Procedure skiped:  
    Sizeof [String library] is: 915 bytes.
Procedure skiped:  
    Sizeof [JumpTo] is:    18 bytes.
    Sizeof [actions engine] is:        1820 bytes.
Procedure skiped:  
Procedure skiped:  
    Sizeof [action events] is: 1439 bytes.
    Sizeof [actions data] is:        2533 bytes.
    Sizeof [Initialized data] is:    5744 bytes.
    Sizeof [Uninitialized data] is:  13 K
    Sizeof [resource data] is:      70 K
..\include\libs\strlib.asm [456]:
proc StrPos     ; proc StrPos [hString], [hPattern]
../include/macro/StdCallEx.inc [21] proc_used [3]:
    display 'Procedure skiped: ',`name, $0d, $0a
error: undefined symbol.
    


So I modified the stdcallex.inc that remove the belowing code:(21 lines)
Code:
;;;   display 'Procedure skiped: ',`name, $0d, $0a    

The complier is OK.
And others, I have found another bug:
The fesh.exe comlier funcition is ok on win98. But in the Win2003, the complier result is 0 size com file. It meaned the fresh.exe can't support win2003. So I guest that you maybe recheck api compatibity on the win2003.
Post 21 Oct 2003, 02:04
View user's profile Send private message MSN Messenger Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3494
Location: Bulgaria
Hi Kevin.
Thank you for your reply. The troubles with compiling Fresh are because Fresh's stdcallex.inc uses new operator ` in fasm. This operator is available only in version of FASM 1.49.9 that is still not official. You can fix this by commenting lines with this operator, but you will lost reports for what functions are skipped because they are not used.
BTW: Fresh have this operator in its compiler.

About the bug for Win2003, I will check this, but any help will be appreciated, because I have no Win2003 to make real tests. Is this is only 2003 problem, or 2000/NT too?

Regards.
Post 21 Oct 2003, 03:06
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Kevin_Zheng



Joined: 04 Jul 2003
Posts: 125
Location: China
Hi,Johnfound:
I have test fresh.exe on NT/2000, The behaivor are same as Win2003. The complier result is a 0 size com file.
And in the NT, when I quit the fresh.exe , the system showed error message dialog.
Thanks your reply.
Best Regards.
Post 21 Oct 2003, 04:45
View user's profile Send private message MSN Messenger Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
I can confirm the behaviour on 2k Pro (testen on two different machines), 0 size .com file.

_________________
... a professor saying: "use this proprietary software to learn computer science" is the same as English professor handing you a copy of Shakespeare and saying: "use this book to learn Shakespeare without opening the book itself.
- Bradley Kuhn
Post 21 Oct 2003, 05:39
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3494
Location: Bulgaria
Hi guys.
I uploaded (at the begining of the thread) the last version. I change some things in virtfiles.asm and I hope it will work under 2000/NT now. Please check it and send some response. It should now compile without errors "Copy of Fresh.asm" and also "examples/simple.asm"

Regards.
Post 21 Oct 2003, 09:39
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-2019, Tomasz Grysztar.

Powered by rwasa.