flat assembler
Message board for the users of flat assembler.

Index > IDE Development > Fresh 1.0.06 pre-alpha

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



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 13 Aug 2003, 05:53
History.inc wrote:
[12.08.2003 - early 13.08.2003] v1.0.06 - pre-alpha

- General editing of main window source. Now all code for main window handling
is placed in separate files: "MainWindow.asm" and "MainWindow.inc" by well-known
scheme: "MainWindow.asm" contains 2 procedures:

proc RegisterMainWindowClass ; and
proc MainWindowProc, hwnd, wmsg, wparam, lparam

like almost all of application windows. It not use global variables unless
this concerns global Fresh parameters.

Now "Fresh.asm" contains only main init code, main message loop,
"ProcessMessages" procedure and common application section structure -
data, import and resources.

I hope this makes source more readable and easy to understand.

- Many small edits to "asmedit.asm" to make it not to use global variables and to
turn AsmEdit to self-contained component. This is a lot of small changes here and
there, so I couldn't mark all the changes. See comments and source itself.
Most of global vars are turned to local.

- Now every editor instance can have it's own popup menu.

- Implemented Scientica's last style editor changes. Little buggy for now Smile

- My version of turtle icon implemented: not very photo look, but more schematic.
IMHO it looks good on dark gray and navy backgrounds. 16x16 and 32x32 on 16 and 256
colors (totally 4 images in the icon)


Hi guys.

Tommy: Take a look to asmedit.asm. I made many structural changes in the sources. If you are made some changes from yesterday, you have to implement them in modified source. Sorry for inconvenience. Sad

Best Regards.

P.S. Please, give me your opinion for new icons. Actually I don't know whether I like them or not.

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


Last edited by JohnFound on 22 Sep 2003, 09:24; edited 1 time in total
Post 13 Aug 2003, 05:53
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy 13 Aug 2003, 06:55
Damn, you did exactly what I was going to do today... Mad Laughing Hehe... Well, that doesn't matter... Then I can start right on the bookmark-system instead of fixing what you have done... Wink

BTW: Nice work!
Post 13 Aug 2003, 06:55
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
scientica 13 Aug 2003, 15:08
Yoppie! I (think) I've fixed that bug! Very Happy Very Happy Very Happy
(It was a pice of code, I made the mistake trying to optimize while writing, never do that, it only gives head ace and a buggy pice of code Wink)

(Embarassed hope nobody saw my misstake, I posted this as a new thread instead of a new post Laughing )

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

_________________
... 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 13 Aug 2003, 15:08
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 14 Aug 2003, 05:27
scientica wrote:
Yoppie! I (think) I've fixed that bug! Very Happy Very Happy Very Happy
(It was a pice of code, I made the mistake trying to optimize while writing, never do that, it only gives head ace and a buggy pice of code Wink)

(Embarassed hope nobody saw my misstake, I posted this as a new thread instead of a new post Laughing )


It works fine for me. Good work Scientica.
Post 14 Aug 2003, 05:27
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Blag



Joined: 04 Jul 2003
Posts: 90
Location: Perú
Blag 14 Aug 2003, 06:20
I just test the new FRESH version.....it's good to see that you include Tommy's icon. Very Happy
Got a question.....when is going to be avaliable the open menu????
Anyway.....good job you all. Cool

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



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 14 Aug 2003, 07:59
Blag wrote:
I just test the new FRESH version.....it's good to see that you include Tommy's icon. Very Happy
Got a question.....when is going to be avaliable the open menu????
Anyway.....good job you all. Cool


So, well, at first we must understand what we want to open. Very Happy I think it will not only simple asm file - don't forget that Fresh is project based IDE and
there are some visual parts of the project.
Just now I am writing an article about common structure of the application created with Fresh. It will be ready these days, so I will post it here and we will discuss all details.
I am wondering also, whether it is good to pack whole project in one file (where different parts of the project - sources, visual data, resources, etc. whold be separate chunks of the project file, like RIFF file format) This one project file may be inserted like section in the exe file (of course only if the programmer want's this) This whould be very usefull for distribution of open source projects - one file - exe + source.
Post 14 Aug 2003, 07:59
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
scientica 14 Aug 2003, 11:43
Here comes my current oppinon, I'll await you post. But I can't resist posting my thoughts now:

I think that we should have the project structure like this:
A few basic modes:
Plain mode: No project file(s), the .asm,.inc files created manually are save in the folders they're created in (first saved in), the dialogs and other resources are saved to one single file (or as the second alternative see "(*)" below), named by the user. So basicaly using the IDE to create "standalone" files. The user could theoretically use Fresh "just" for the resource section.
(*) The resources are to be saved in one big file (<name>.rsrc? (rsrc after the .rsrc section, it should contain the "section line", so it's just included in the sources)) or in many small files (dialogs.rci, menus.rci (ResourCe Includes) which is includeed in some <name>.rsrc file)

Standard mode: The project saved with a project file (which contains info such as is there a resource file, what resources are there, are they in "singe file format" or "multiple file format", and some project description, etc), the asm/inc files are saved in the project folder, and a line in the project file says that they are a part of the project.

IMO we should not put every thing in one big file - I prefer the sources by it self, the resources separated from the source (put in it's own file(s)).

btw, I've begun work with the CheckStyles, but I fear it'll take afew days, have just begun thinking of what algorith I should use (I'll (re)use the "Style Sets", somehow Wink)

_________________
... 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 14 Aug 2003, 11:43
View user's profile Send private message Visit poster's website Reply with quote
JohnFound



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 14 Aug 2003, 12:11
Hi, Scientica.

I am agree with most of your thoughts, but with one exeption. We don't need 2 modes of Fresh. The project will become "Plain" or "Standard" depending of what the user add's to this project. If he use just plain, manually source files and if he uses visual editor only to create dialogs and resources - he will get "Plain" project. If he uses standard libraries, auto source creation and visual editor - as class and form editor not only as dialog editor - he will get "Standard" project. Everything must be user action dependent.

I will try to descript everything (including your opinion and others opinions, if any) in one article to clear the goals and to give some "road-map" for Fresh growth.

Regards.
Post 14 Aug 2003, 12:11
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Blag



Joined: 04 Jul 2003
Posts: 90
Location: Perú
Blag 14 Aug 2003, 14:51
Quote:
Just now I am writing an article about common structure of the application created with Fresh. It will be ready these days, so I will post it here and we will discuss all details.


That's great Razz Can't wait to see it.
Ok....my english is not that good....so maybe i didn't understand perfectly both opinion of you and Scientica.....so here's my deal: (Sorry if i gonna say something that is already zed Embarassed )

I know that FRESH is an integrated IDE....but i think that the options could be:

1) Save it as plain or save it as project.
2) Save it as .exe for both windows and dos.
3) Save a file, that contains the information off all the resources, forms and sources. So when you load a project you just load that file...and you got all Cool
4) A HexEditor would be great....I think that Tommy is working on that.
5) The chance to delete a control placed on a form, when you don't need it. (I know it's not a bug Wink )

Well.....i know it's going to be a hard work..... Crying or Very sad I wish i could help you out....but you know i'm newbie....and actually, my time to learn FASM it's pretty short.....i work in the morning.....study at night......and made programming after midnight. Twisted Evil

Anyway....good luck!

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



Joined: 16 Jun 2003
Posts: 3499
Location: Bulgaria
JohnFound 15 Aug 2003, 08:13
Hi guys.

Unfortunatelly I couldn't finished the article, and I will be offline for about a 7..8 days. It will be posted immediately after my return online. Tomorrow morning I am going to the "Black sea", to take some tan, to meditate about Fresh internal structure and to collect some power for the next year. Very Happy
Of course if there is some internet cafe, I will look at the board from time to time, so we can discuss all aspects of the project, and you can post your code or make next pre-alpha releases. I feel that first version that will compile something is pretty near. Smile

Keep great working.
Best Regards.
Post 15 Aug 2003, 08:13
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
scientica
Retired moderator


Joined: 16 Jun 2003
Posts: 689
Location: Linköping, Sweden
scientica 15 Aug 2003, 10:22
7 to 8 days, I just discovered that next week school begins again, so I'll probably have less time to code Sad
(but honestly, it wouldn't surprise me if I got more done anyway Wink I hope I'll be able to persuade the techer in one of the subjects I'll read to let me work with Fresh, don't know what teacher I'll get, hope I get a "friendly" one 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 15 Aug 2003, 10:22
View user's profile Send private message Visit poster's website Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy 15 Aug 2003, 12:29
Me too, I also start school again next week... But who knows, maybe we get as much time to program as now...? Twisted Evil

scientica, how old are you??
Post 15 Aug 2003, 12:29
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
scientica 15 Aug 2003, 13:16
16, but I'll 17 the 28th Smile How old are you?
I know for sure that I'll be doing some kind of programming in school (in the subject "Programmering A" (Programming A, normally VB coding, but I've heard one may learn C++ instead, but I alrady know Visual Basic, C++ and Asm (and some more), Laughing hopefully I'll be allowed to do some asm programming, hopefully Rolling Eyes Twisted Evil ))

_________________
... 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 15 Aug 2003, 13:16
View user's profile Send private message Visit poster's website Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy 15 Aug 2003, 14:43
Very Happy For your sake, I hope so too!
I'm also 16 years old, but I'm not 17 before next year (in March)... Wink

So long! Take care!
Tommy
Post 15 Aug 2003, 14:43
View user's profile Send private message Visit poster's website Reply with quote
Blag



Joined: 04 Jul 2003
Posts: 90
Location: Perú
Blag 16 Aug 2003, 06:02
Damn.....i'm feel kinda old.....i'm turning 26 this november Crying or Very sad
What who cares Laughing i not feel old at all.....maybe when i turn 105....i'm going to feel old....but know.....i fell like pretty happy programmer Twisted Evil

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



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy 16 Aug 2003, 11:51
A new release of the AsmEdit control is soon ready... I think I'll post it tonight....

New features will be:
* Indent/outdent selection
* Dynamic bookmark system
* + some fixes

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



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy 17 Aug 2003, 08:31
AsmEdit Version 1.0.04:
-------------------------------
* Dynamic bookmark system (toggle bookmark by double-clicking in the margin or pressing Ctrl+B, move between the bookmarks by using the menus or the shortcuts [Ctrl+Up and Ctrl+Down])
* AES_INDENTSEL: Indent/outdent selection
* Comment/uncomment selection
* AES_LINESELECT: Ctrl+left mouse button click => select line
* ...+ some fixes...

See source for info on how to use the control.... I have implemented it into Fresh 1.0.06 (latest upload of scientica) with menus for bookmarks, comments and indents...

JohnFound: Sorry, but I started this work on an older version which I had zipped here on my computer... Therefore I lost your comments... Sad Could you please add them again?

Enjoy!

[EDIT]Outdated attachement removed. There should be newer version. possibly in another thread.[/EDIT]
Post 17 Aug 2003, 08:31
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
scientica 17 Aug 2003, 10:53
Nice Smile
One bug thought: when using delete the bookmark isn't updated, but backspace updates it.

_________________
... 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 17 Aug 2003, 10:53
View user's profile Send private message Visit poster's website Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy 17 Aug 2003, 16:53
What do you mean? ....when I try to figure out what the bug is, it works... Confused Could you tell me how you reproduce it?

Thanks! Smile
Post 17 Aug 2003, 16:53
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
scientica 17 Aug 2003, 20:37
Ok, here is a reproduce,
Type: (ignore the "(*)", but they shouldn't affect the result)
Code:
1321321321321321323213131313212313
2313213213213213
321(*)
321
1212
2
32132(*)
132
313
21
21(*)
11323213
1

213    

Place bookmarks at the lines marked with (*)
Place the cursor before the 2 (the line above the 2nd bookmark).
Hit "Delete" twice. As you see, the bookmark isn't updated. (funny, I just discovered that the bookmark disapears when continuing to hit delete, use delete to revmove +5 lines).

Nice work, any way 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 17 Aug 2003, 20:37
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:  
Goto page 1, 2, 3  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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.