flat assembler
Message board for the users of flat assembler.

flat assembler > IDE Development > Fresh 1.0.04 pre-alpha

Author
Thread Post new topic Reply to topic
JohnFound



Joined: 16 Jun 2003
Posts: 3494
Location: Bulgaria
Hi all.
Here is next pre-alpha of Fresh project.

News:
Check history.inc for new features.

New directory "Doc" for documentation files
- history.inc
- bugs.inc
- todo.inc
- DataLinks.inc

"Packit" directory removed - it only take place. So now the file is smaller.

Tommy: I implement first version of your AsmEdit with some changes. Very good work. Only, please, don't make all in one dll. It's very hard to me to implement in Fresh. I insert some comments in your source. Search for "johnfound" to find them. Feel free to make changes in "Fresh" files if you need this changes. Don't insert all in one file. Check sources and I think you will understand what I mean. Keep good working.

Scientica: About new MyDialogBox behaviour. I don't think this is the best solution from my side, but I think on this. So, now ecx is simply flag specifying whether default processing via DefWindowProc must be processed or not. On other hand eax is still return value from Window procedure. You have several cases:

1. ecx = FALSE - default processing will be not carry out. eax must contain value you want to return to Windows - usually FALSE but in some cases TRUE.
2. ecx = TRUE - default processing will be carryed out, so value of eax doesn't matter. DefWindowProc will return it's own value.

Take a look in your sources - I make the exact values to return.
Take a loop in "sourceeditor.asm" - SEM_GETACTIVEEDITOR handler. there is a case with ecx = FALSE and eax <> FALSE because this message returns value.

Tommy and Scientica: I insert your nicknames in comment header in Fresh.asm and in "About" box. If you want some other name or info there, let me know.

That's all for now.
Thank you for good work.
Regards

[edit]Outdated file removed. Look for 1.0.05 or newer in separate post on the board.[/edit]


Last edited by JohnFound on 12 Aug 2003, 06:26; edited 1 time in total
Post 11 Aug 2003, 05:51
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
Thanks JohnFound! I'll do... The reason why I'm coding everything in one DLL, is that I'm going to easily test the features.. My plan was to go away from this, when some more features were implemented... I'll upload a new release soon... Wink

So long!
Tommy
Post 11 Aug 2003, 08:00
View user's profile Send private message Visit poster's website Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 492
Location: Norway
A new version is almost ready (version 1.02), but there's some bugs (read the asmedit.txt ("todo/bugs"-section))... When these are fixed, I'll make the whole library into source (which will be included into the FRESH executable) instead of in a DLL.

[edit]Some more fixes are by the way (AEM_SAVE and AEM_LOAD are not a part of the library anymore)[/edit]

[EDIT]Outdated attachement removed. There should be newer version. possibly in another thread.[/EDIT]


Last edited by Tommy on 11 Aug 2003, 18:37; edited 2 times in total
Post 11 Aug 2003, 09:48
View user's profile Send private message Visit poster's website Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 867
Location: Colombia
Hi boys, I've miss you all so much but I'm back from my holidays.

I find here a lot of new good stuff !!! Shocked

I am seeing the starting of a new Renaissance !!!
The OpenSource movement is giving the last hits to end the medieval dark ages of programming... Very Happy ... and the world needs to have masterpieces, so please keep working hard.
Post 11 Aug 2003, 10:28
View user's profile Send private message Yahoo Messenger Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
JohnFound wrote:
Scientica: About new MyDialogBox behaviour. I don't think this is the best solution from my side, but I think on this. So, now ecx is simply flag specifying whether default processing via DefWindowProc must be processed or not. On other hand eax is still return value from Window procedure. You have several cases:

1. ecx = FALSE - default processing will be not carry out. eax must contain value you want to return to Windows - usually FALSE but in some cases TRUE.
2. ecx = TRUE - default processing will be carryed out, so value of eax doesn't matter. DefWindowProc will return it's own value.

Take a look in your sources - I make the exact values to return.
Take a loop in "sourceeditor.asm" - SEM_GETACTIVEEDITOR handler. there is a case with ecx = FALSE and eax <> FALSE because this message returns value.

Tommy and Scientica: I insert your nicknames in comment header in Fresh.asm and in "About" box. If you want some other name or info there, let me know.

Ok, I've just resumed from sleep, but I've had my coffee so I'll give you some feedback Smile
ecx, I'd recoment using edx, IIRC since some APIs use edx:eax for returning 64-results. But that's just a detail, it works fine as it is now, so I currently see no need to change it again.
The about box, it really doesn't matter that much, but it could be nice to print it like this:
"(C)2003 Fredrik Klasson (aka scientica)"

ToDo.inc wrote:
- To separate syntax highlighting procedure and themes manager from
asmedit itself. This is because they are actually independent from
editor, so let they are in separate places. Message AEM_SETCOLORTHEME
is good idea, but it may simply take pointer to memory with full theme
data - colors for highlighter and margin bar and sizes for margin bar.

IMO, a pointer to a ThemeStruct is a very good idea, it also enabled support for theme exensions/theme specific features,I think that the theme struct should have one reserved dword at the end, which in the furute can point to an "extension struct", this way the "old themes" wouldn't have to be changed if some new theme feature appears, old themes with the reserved dword set to 0 will use the default settings for the new features, and newer themse will still be able to be used on older versions (which should display en warning box if the reserved dword isn't 0, notifying the user that the theme might not work as intended). What do you think of this?
Quote:
- Word array for highligher will be part of FASM compiler not of
asmedit.dll. Why to double equal data.

Great thinking then if fasm is extented with let's say support for the x86-64, then all the new instructions will be highlighted (may be some minor adjustment would be required, but nothing that would take hours)
Quote:
- To think about exact license.

This is IMO something that we should fix before the first full version is released, I think that the license should contain a specific point about spam (I think we shouldn't allow usage of Fresh for producing spam directly or software that (contributes to/)spreads spam)

Nice work, everyone! Smile
pelaillo, Laughing (laugthing with you I do, not against you Smile), let's hope we can change the world Smile This is the new hippie era, but instead of smoking stuff we abuse/drink coffee Wink

Well gotta go eat, c'ya later Smile

_________________
... 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 11 Aug 2003, 11:22
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
Kevin_Zheng



Joined: 04 Jul 2003
Posts: 125
Location: China
Dear JohnFound:
Can you support the "Save" function? I think that it maybe verify your results.
Best Regards
Post 11 Aug 2003, 14:42
View user's profile Send private message MSN Messenger Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3494
Location: Bulgaria
Kevin_Zheng wrote:
Dear JohnFound:
Can you support the "Save" function? I think that it maybe verify your results.
Best Regards


Hi, Kevin. Actually simple save function is very easy to be implemented, but it will be useless at this stage of the project IMHO, because now we can save only separate files not whole project. It's because we have no clear conception about whole project structure, at this stage. On other hand, we can't compile any project, because we have no build-in compiler in Fresh. IMHO it will be first alpha version with feature to compile whole project. Now it's more important to make Fresh to syntesize source code from visual and text part of the project. Of course, when we test this functions, save function will be implemented, to give us syntesized code for testing.

Regards.
Post 11 Aug 2003, 18:21
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
JohnFound: Here I've added the newest version of the AsmEdit library to the current pre-alpha release of FRESH... This time as source instead of via DLL... Wink

[EDIT]Outdated attachement removed. There should be newer version. possibly in another thread.[/EDIT]
Post 11 Aug 2003, 18:54
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3494
Location: Bulgaria
Tommy wrote:
JohnFound: Here I've added the newest version of the AsmEdit library to the current pre-alpha release of FRESH... This time as source instead of via DLL... Wink


Really great work Tommy. Now Fresh1.0.05 will be with build-in editor. Thanks. I made some editor work on sources. See new thread about 1.0.05.

BTW: Do you use some source code formating program? Because your source is very similar to Privalovs one - without any comments and without empty lines (even my comments disappears - for example in syntax.asm) If so, please don't remove comments, they are important. Smile

Keep great work.
Post 12 Aug 2003, 06:05
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
Very Happy Hehe...Well, when I modify AsmEdit, I try to follow Privalov's syntax... And actually our way to write code (in syntax) are quite the same (though I've not that much experience).

Good to hear that you like it! Wink New release will be ready soon... Wink
Note! Ok, I'll not remove any more comments, but neither write anyone.. (or maybe I will write some comments, but don't be surprised if I don't) Very Happy

So long!
Tommy
Post 12 Aug 2003, 07:24
View user's profile Send private message Visit poster's website Reply with quote
Blag



Joined: 04 Jul 2003
Posts: 90
Location: Perú
I agree with you Tommy Very Happy I almost never comment my source codes....not even at work Laughing
I think it's just a way of programming style......anyway.....pretty good job!

_________________
Alvaro Tejada Galindo
SinglePath games design
http://www.iespana.es/singlepath
Post 13 Aug 2003, 05:12
View user's profile Send private message MSN Messenger Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 492
Location: Norway
Thanks Alvaro! Very Happy
Post 13 Aug 2003, 06:50
View user's profile Send private message Visit poster's website 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.