flat assembler
Message board for the users of flat assembler.

Index > IDE Development > Fresh: next work version...

Author
Thread Post new topic Reply to topic
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
Hi all.
I just uploaded current work version of Fresh on the website.
Little, but important changes. Here is quote from "history.inc".

history.inc wrote:

[02.03.2004] v1.0.1D pre-alpha

- Fixed small bug in 'msgwindow.asm'.

[01.03.2004] v1.0.1D pre-alpha

- FreshGif library added to 'include\libs\' directory.
- All bitmap resources replaced with .gif images. This reduce the
code size by 50k at once.
- New funny image in the about box.
- Added and implemented decard`s 'progresswnd.asm' - this make
progress windows in standard way for whole project.
- Added two progressbar styles to the comctrl32.inc equates.
Just for fun, I made the progressbar smooth. Smile
- Incresed the count of the progressbar steps for compiler.

[20.02.2004] v1.0.1D pre-alpha

- Added statistics for line count in the "compilations summary"
message block.


Regards.
Post 02 Mar 2004, 22:40
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
decard
I like the new turtle! Wink
And smooth progressbar also looks better, especially for the search progress.
Just by the way, I thought it would be great to make a function for placing form on the screen center not only for modal windows, but for all windows. Here's modified version of form.asm: I added PlaceForm routine, which moves window according to MSF_* constants (just like ShowModal). And I modified progresswnd.asm to use this approach.

Oh, and I have to finish the keyword list of FreshGuide - now I'm around SSE2 instructions...

regards

[edit]outdated attachment removed[/edit]


Last edited by decard on 18 May 2004, 20:20; edited 1 time in total
Post 03 Mar 2004, 09:25
View user's profile Send private message Visit poster's website Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1095
Location: Poland
decard
OK, now all the instructions are in the keyword list Wink

[edit]outdated attachment removed[/edit]


Last edited by decard on 18 May 2004, 20:06; edited 1 time in total
Post 03 Mar 2004, 11:14
View user's profile Send private message Visit poster's website Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1095
Location: Poland
decard
Hi John,
It's nothing important, but I'm just curious why even simplest program that uses win32 macroses, generates so much "binary code lines"? Even small window template app generated more than 2300 lines. Where are those lines? I can belive they go for macroses Confused
Post 04 Mar 2004, 19:58
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
Hi decard.
I simply don't know. Probably a bug... Thank you for the apointment.

Regards.
Post 04 Mar 2004, 20:06
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
decard
I think I realized why:
Code:
include "%finc%/macro/struct.inc"

struc gg {
  .t dd ?
  .p dd 45
}    

result: 0 code lines
Code:
include "%finc%/macro/struct.inc"

struc gg {
  .t dd ?
  .p dd 45
}
struct gg    

result: 9 code lines...
Post 04 Mar 2004, 20:13
View user's profile Send private message Visit poster's website Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1095
Location: Poland
decard
findreplace updated - now you can cancel the search...

One more thing: what about adding import file with functions from crtdll.dll?I created this file using scanner form Comrade's page.

regards


Description: crtdll.inc
Download
Filename: crtdll.zip
Filesize: 3.19 KB
Downloaded: 152 Time(s)

Post 06 Mar 2004, 17:08
View user's profile Send private message Visit poster's website Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 492
Location: Norway
Tommy
There's a bug in the new work release... And that's a "huge" one! See screenshot (from opening a file, no matter which), that should explain everything... John, let me know if you need some debugging information...


Description: Fresh Editor Bug
Filesize: 6.35 KB
Viewed: 3112 Time(s)

ss.jpg


Post 10 Mar 2004, 18:02
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
Tommy wrote:
There's a bug in the new work release... And that's a "huge" one! See screenshot (from opening a file, no matter which), that should explain everything... John, let me know if you need some debugging information...


Yea, I discovered this (or very similar one). But it is more deep than seems. This strange behaviour appear in my computer after I uninstall one shareware program. The same version of Fresh worked fine on my work computer with the same OS (Win98lite) and under Win2000 also. After one day of searching, I discover that this is because sometimes (very strange) when you use SendMessage function it trashes edx register, AFTER exiting of the window procedure. So, in source editor we use edx for returning results of some messages again with eax.
Unfortunately before I can discover the problem more deeply, it simply disapear and now Fresh works fine in my computer.

Fortunately, this problem is not too serious, because I began these days (because of completly different reasons) big rewrite of the source editor. Now I simply will make it to work without using edx to return values.
The main goal of this rewrite is to make one common API interface for all editors in the Fresh. This will make very easy developement of future editors - graphic editors, resource editors, hex editors and so on even as external dll's.

Regards.
Post 10 Mar 2004, 18:34
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 492
Location: Norway
Tommy
Ok, I see! Thanks for the explanation... And good luck with the "source editor"! Wink Seems to be a good idea! Smile

Well, got to go now... Football training in an hour... So long!

Regards,
Tommy
Post 10 Mar 2004, 18:43
View user's profile Send private message Visit poster's website Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 875
Location: Colombia
pelaillo
JohnFound wrote:
The main goal of this rewrite is to make one common API interface for all editors in the Fresh.

JohnFound, this is great idea !
Please consider also the nice RaEdit by KetilO (we could forgive its masm sources Laughing )
Someday I will port it with permission of author.
Post 10 Mar 2004, 20:44
View user's profile Send private message Yahoo Messenger Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3500
Location: Bulgaria
JohnFound
pelaillo wrote:
Please consider also the nice RaEdit by KetilO (we could forgive its masm sources Laughing )
Someday I will port it with permission of author.


Well, I will document the API when I make it to work. For now it become very universal and allow attaching not only source editors, but any file type editors. Actually I began this, because I have some troubles with form template files and I realized that in the future there will be troubles with image editors too.

Regards.
Post 10 Mar 2004, 22:42
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
LiuJunfeng



Joined: 28 Nov 2003
Posts: 48
Location: China
LiuJunfeng
I downloaded Fresh v1.0.1D pre-alpha, there are so many bugs, I can't generate executable and can't save source.

Hope this Great project "Fresh" can grow up quickly!
Post 12 Mar 2004, 15:31
View user's profile Send private message Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1095
Location: Poland
decard
well and I can save any file and I have no problems with compiling at all.
Maybe you could write what exactly happens, so we could give you some feedback, and eventually fix those bugs (if they are real bugs)

regards
Post 12 Mar 2004, 15:57
View user's profile Send private message Visit poster's website Reply with quote
iklin



Joined: 20 Mar 2004
Posts: 122
Location: Russia, Siberia
iklin
On my side Fresh is a good project but I agree with LiuJunfeng - it still have much more problems.
Post 01 Apr 2004, 14:34
View user's profile Send private message ICQ Number Reply with quote
Kain



Joined: 26 Oct 2003
Posts: 108
Kain
JohnFound wrote:

Yea, I discovered this (or very similar one). But it is more deep than seems. This strange behaviour appear in my computer after I uninstall one shareware program. The same version of Fresh worked fine on my work computer with the same OS (Win98lite) and under Win2000 also. After one day of searching, I discover that this is because sometimes (very strange) when you use SendMessage function it trashes edx register, AFTER exiting of the window procedure. So, in source editor we use edx for returning results of some messages again with eax.
Unfortunately before I can discover the problem more deeply, it simply disapear and now Fresh works fine in my computer.

Fortunately, this problem is not too serious, because I began these days (because of completly different reasons) big rewrite of the source editor. Now I simply will make it to work without using edx to return values.
The main goal of this rewrite is to make one common API interface for all editors in the Fresh. This will make very easy developement of future editors - graphic editors, resource editors, hex editors and so on even as external dll's.

Regards.


This problem is persistant on my Win98SE. I can do nothing at all with FRESH. I'll await the next gen. version. Meanwhile may I suggest adding a quick little feature in your rewrite which is missing from FRESH and FASMW. Have the Open dialog default to current directory (or where FRESH starts from) I added this in my personal copy of FASMW and it makes life a little easier since my assembly folder is deeply nested.
Post 03 Apr 2004, 03:37
View user's profile Send private message 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-2019, Tomasz Grysztar.

Powered by rwasa.