Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 21st March 2005, 18:16   #1
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,898
Smile nsWeb: A plugin for display a web browser control? YES!

First I'd like to thank Kichik and deguix for push me a little on the developing of the source code (soon included).

Now:
This is my plugin for showing the web browser control (IE) in a custom page...

See the attached file...

Comment it, please?

Note:
Is not beta, but also not official...
Attached Files
File Type: zip nsweb.zip (5.6 KB, 349 views)


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Old 21st March 2005, 18:48   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,216
I think you mean or not nor in the readme
nor would mean url or not file. But good job on the rest (I know English isn't your first language).

Just tried it, works very bloody well! I will definately use it for my MapUpdater app thingy

-Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 22nd March 2005, 13:19   #3
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,898
lol, can't type correctly

One more hitch and will be ready to be published


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Old 22nd March 2005, 23:07   #4
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,353
Send a message via ICQ to deguix
This is what I was wanting for some time. Looking foward for the source code ... I'll have a time testing your plugin later.

My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 23rd March 2005, 10:11   #5
Comm@nder21
Major Dude
 
Join Date: Jul 2003
Location: germany, b-w
Posts: 734
Send a message via ICQ to Comm@nder21
some mistakes in the examples of your plugin:
the classic ui uses this code:
code:
File /oname=$PLUGINSDIR\nsWeb.dll nsWeb.dll

won't work, because i copied the dll into plugins directory.
also, it's not necessary, because of the plugin structure of nsis. nsis will automatically include and extract all used plugins.

so, this code from the modern ui example is also useless:
code:
File /oname=$PLUGINSDIR\nsWeb.dll ${NSISDIR}\Plugins\nsWeb.dll


even if you'd use this, you never refer to $pluginsdir\nsweb.dll
code:
nsWeb::CreateInPage "http://nsis.sf.net"

this is the new style.
the old plugin code style (with needed manual extraction) looks like this:
code:
CallInstDll $pluginsdir\nsWeb.dll CreateInPage ...
Comm@nder21 is offline   Reply With Quote
Old 23rd March 2005, 14:05   #6
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,898
@Comm@nder21: Dude, those are examples... you do the rest


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Old 23rd March 2005, 16:49   #7
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,216
Well, he does have a point. The examples will make it that tiny bit harder for new people than necessary

Edit: Nvm, you've updated them already

-Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 23rd March 2005, 18:39   #8
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,898
Talking Official release before uploading

One step more to be officially "official" :

- Update the nsWeb - Classic UI.nsi (Tip from Comm@nder21)


Comments from non-XP...?
Attached Files
File Type: zip nsweb.zip (5.8 KB, 200 views)


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Old 23rd March 2005, 21:25   #9
saivert
Banned
 
saivert's Avatar
 
Join Date: Jan 2001
Location: Norway
Posts: 927
We've got ourself a new ActiveX / ATL wizard in town.

I just tried out your plugin and it's f**** great! I was thinking of making such a plugin myself for a long while. That though started after I took a look on the example in the Platforms SDK for embedding the HTML Editor (which is a WebBrowser control instantiated a bit differently) thorugh the ActiveX control interfaces, but decided to drop the whole idea as I'm not up for coding ATL/ActiveX stuff.

Thanks for releaving me of the pain of doing this myself.
I'm also looking forward for the source code. I'm very interested in learning more about ActiveX and ATL.
saivert is offline   Reply With Quote
Old 23rd March 2005, 21:36   #10
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,898
First: Thanks for the comments, saivert
Second: The source code will included in the final ZIP and will be uploaded in my server (if I don't get reports of bugs.. I'll be uploading tomorrow morning plus its own Web Archive site )
Third: I'n not using ATL


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Old 24th March 2005, 01:43   #11
saivert
Banned
 
saivert's Avatar
 
Join Date: Jan 2001
Location: Norway
Posts: 927
Not using ATL, huh??
So you must be cracking it the hard way then. Raw Win32 API power and ActiveX OLE interfaces, right??

It's late night here in Norway so I better get some sleep...
saivert is offline   Reply With Quote
Old 24th March 2005, 14:48   #12
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,898
Last update, for now :

- Rename functions.
- Add ShowHTMLInPage.- Display plain HTML text in a custom page dialog

So...last update... if everything is alright, I'll uploaded later...
Attached Files
File Type: zip nsweb.zip (5.8 KB, 167 views)


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Old 25th March 2005, 00:39   #13
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,898
The plugin is uploaded...

Its own Web Archive.
The new server is updating itself... but is up


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Old 25th March 2005, 15:40   #14
Comm@nder21
Major Dude
 
Join Date: Jul 2003
Location: germany, b-w
Posts: 734
Send a message via ICQ to Comm@nder21
well, attached a zip file with complete nsis file structure, and so easier to install:

Contrib
-nsWeb
--readme.txt
--file1.htm
--file2.htm
--Source
---*.c
---*.h
---...
Examples
-example1.nsi
-example2.nsi
Plugins
-nsWeb.dll
Attached Files
File Type: zip nsweb.zip (35.8 KB, 257 views)
Comm@nder21 is offline   Reply With Quote
Old 25th March 2005, 18:34   #15
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,898
I'd like to keep it like I uploaded....
After all, this isn't my first plugin

Thanks dude...


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Old 25th March 2005, 22:44   #16
saivert
Banned
 
saivert's Avatar
 
Join Date: Jan 2001
Location: Norway
Posts: 927
Instead of arguing about how to package your plugin why not end the discussion and make an NSIS installer for it.
saivert is offline   Reply With Quote
Old 26th March 2005, 02:49   #17
Joel
Debian user
(Forum King)
 
Joel's Avatar
 
Join Date: Jan 2003
Location: Arch land
Posts: 4,898
Good idea, saivert! :idea: Done!


* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux w/ xfce4.
* Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Debian unstable w/ xfce4.
Joel is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump