flat assembler
Message board for the users of flat assembler.

Index > Projects and Ideas > [DONE] FASM Message Boards Quick Browser Plugin

Author
Thread Post new topic Reply to topic
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY 24 Oct 2006, 19:50
Hi!

This is my new project!

What it is: An integrated, fast and easy way to browse FASM Message Board without leaving FASMW IDE.

What it is NOT: A complete web browser.

What it can become: An integrated way to view, post and search messages/information at FASM Message Board without leaving the IDE.

So, it already lets you browse FASM Board without leaving the IDE.
Will be update later with some features.

Coded in FASM 1.67.12.
Read readme.txt inside for more information.
Included full source code to patched FASMW and to the plugin.
Also includes binaries for those who are lazy to assemble! Laughing

Enjoy, have fun and post your comments.


Description:
Download
Filename: forumbrowser.7z
Filesize: 63.31 KB
Downloaded: 1434 Time(s)

Post 24 Oct 2006, 19:50
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 24 Oct 2006, 20:03
tomasz was talking about FASMW plugin system. maybe you two should talk on this
Post 24 Oct 2006, 20:03
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY 24 Oct 2006, 20:15
Yes, a plugin system would be nice!
In fact, this plugin is hard coded inside FASMW source itself. So, it's not very flexible.

But I leave this as an example for those who want to learn how to customize FASMW for themselves or to learn how to create a simple web browser.

I also find this useful when you want to quick ask or take a look at something at FASM Board without having to exit the IDE and losing mental concentration. This could be extended to open MSDN API reference.
Post 24 Oct 2006, 20:15
View user's profile Send private message Reply with quote
MichaelH



Joined: 03 May 2005
Posts: 402
MichaelH 25 Oct 2006, 00:00
Hi OzzY, when using the AtlAxWin component it is important to call DestroyWindow so the activeX component can be cleaned up properly.
It probably works fine for the fasm forum web page but I tried an html page with the Adobe SVG viewer embedded in it and sure enough the program locked up when exiting.

Code to exit cleanly -

Code:

.if [msg]=WM_CLOSE

    invoke DestroyWindow, 0
    invoke PostQuitMessage, 0
   
.endif

    


A 2KB web browser .... cool Smile

Thanks for posting it.
Post 25 Oct 2006, 00:00
View user's profile Send private message Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1614
Location: Ukraine
shoorick 25 Oct 2006, 04:48
hi, Ozzy!
your quickbrowser is too large for 800x600 resolution (and not resizeable). you can get current screen size and use MoveWindow to make better size for it.
also, it is better to close dialogbox with EndDialog function (destroywindow/postquitmessage not needed as well as they are used internally with default window procedure for dialog windows, created with DialogBoxParam)
regards!
Post 25 Oct 2006, 04:48
View user's profile Send private message Visit poster's website Reply with quote
wisepenguin



Joined: 30 Mar 2005
Posts: 129
wisepenguin 25 Oct 2006, 17:16
whenever i click the "View message board" menu item, the program crashes (forumbrowser.exe). are you sure you're initialising the web
browser component properly ?

nice idea though, to integrate it

windows xp pro sp2 (IE7, incase that makes difference)
Post 25 Oct 2006, 17:16
View user's profile Send private message Reply with quote
Remy Vincent



Joined: 16 Sep 2005
Posts: 155
Location: France
Remy Vincent 25 Oct 2006, 18:22
Each time you run and close a usual window brownser, you act like a rabbit walking out of his "house" (I don't know the right name of a rabbit's house) and going back to his house...so the "NATURAL" way of discovering seems to be 2 steps :
- 1. having a look at new changes (new wind, new rainbows, new birds)
- 2. Thinking at all things seen, but hidden and without viewing.

But if you keep opened 12 hours a day your personnal brownser, really, you are breaking the rabbits rules,... It's true that lions never get hidden in their "lion's house", so it's true that lions use to, AT THE SAME TIME, keep viewing and thinking about what they are viewing... Are you planning to eat us ???

_________________
Groups lower your IQ
Post 25 Oct 2006, 18:22
View user's profile Send private message Visit poster's website Reply with quote
Remy Vincent



Joined: 16 Sep 2005
Posts: 155
Location: France
Remy Vincent 25 Oct 2006, 18:32
I was thinking about a 10 000 "lines" of assembler parsing and displaying web pages, but your program is 10 "lines"... the 200 usual FASM FORUM visitors are going to get very frusrated!!!

_________________
Groups lower your IQ
Post 25 Oct 2006, 18:32
View user's profile Send private message Visit poster's website Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY 25 Oct 2006, 19:20
Thanks for pointing these issues.
But this program is not bug free and it's not the ultimate web browser.
This is just an example of how to use ATL.DLL to use a COM component like IE to show html pages. I often iuse this code to display html help files from my applications help menu.
Also this is a good example of how to change FASMW source-code to build your own custom IDE with integrated online help and such.

Of course it has lots of bugs, and it is far from complete.
My idea was to have a complete forum browser, with BBCode wizard, search for keyword in entire forum, etc.
Maybe anyone wants to develop it more?

And it's only about 10 lines of code. But that's the beauty of it: A quick integrated forum browser in 10 lines of code.

I can't tell it will work on every machine, but it works for me. At least you must have IE and ATL.DLL.

Anyway, this is just a motivation to people starting writting their own plugins for FASM.
Maybe we could talk with Tomasz about a plugin system?
I think, adding a pluging system to FASMW is the shortest path to build a full-featured IDE by all the FASM community helping develop.
Post 25 Oct 2006, 19:20
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 25 Oct 2006, 19:32
The plugin system is in its final design stage. Actually, there are actually many things already prepared in FASMW for it to come, even if you don't notice it. Wink
Post 25 Oct 2006, 19:32
View user's profile Send private message Visit poster's website Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1614
Location: Ukraine
shoorick 26 Oct 2006, 05:13
to avoid crashing it would be good to check - is atl.dll loaded and is AtlAxWinInit found.
one known issue - it may not work on 9x (but i think it is because of atl.dll)
it would be nice if there were a minimal last posts list like here, so, minibrowser can be easy done as tray application (very fast from FTRAY template for winasm/wafasm Wink )
regards!
Post 26 Oct 2006, 05:13
View user's profile Send private message Visit poster's website Reply with quote
AlexP



Joined: 14 Nov 2007
Posts: 561
Location: Out the window. Yes, that one.
AlexP 19 Dec 2007, 01:25
Wow.. It took me about a whole minute to find out how to go back, thanks whoever made the web site for the mini inline tree view of the site. I think it would be the coolest thing ever to have fasm be a full-featured IDE with web browser, plugin support, and have a dedicated section of fasm board to plugins for fasm. You would not believe what the community would develop if given the chance. I, though, am too much of a beginner in windows programming to do this. I have never even made a window-program but am studying the Rijndael cipher currently. Have fun upgrading fasm!!
Post 19 Dec 2007, 01:25
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 19 Dec 2007, 09:00
Quote:
I think it would be the coolest thing ever to have fasm be a full-featured IDE with web browser, plugin support, and have a dedicated section of fasm board to plugins for fasm.

No way, i like FASMW as it is - lightweight editor, not bloated cow like Visual Studio IDE.
Post 19 Dec 2007, 09:00
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
masonswanson



Joined: 17 Aug 2010
Posts: 51
masonswanson 24 Dec 2010, 06:56
i agree with vid, on the other hand, i want more python stuff, like embedding it it fasm
Post 24 Dec 2010, 06:56
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.