Dillo-dev
By thread
dillo-dev@mailman3.com
By month
Messages by month
- ----- 2026 -----
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2002 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2001 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2000 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1999 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1998 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1997 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1996 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 1995 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- 11682 messages
Re: [Dillo-dev]page increment (was: very simple question, and many kudos!)
by Jorge Arellano Cid
On Wed, 2 Jun 2004, Sebastian Geerken wrote:
> On Tue, Jun 01, Jorge Arellano Cid wrote:
> > On Mon, 31 May 2004, Sebastian Geerken wrote:
> > > Scrolling half a page is actually standard behaviour of Gtk, look
> > > e.g. at gtk_layout_size_allocate() (in gtklayout.c), which is more or
> > > less responsible for this in our case, since our code uses
> > > GdkAdjustment::page_increment, which is set there.
> > >
> > > The attached patch "solves" it, but I'm not sure, wether the standard
> > > behaviour should be overridden.
> >
> > Hmmmm well, from time to time I find the current behaviour less
> > useful than a full page scroll. I don't know the rationale for a
> > half page scroll in gtklayout either, but it looks as though a
> > full page scroll would be a good default.
>
> This is somehow adopted by other widgets as well, I'm not sure what
> other X programs do. Anyway, I don't care much about, apply it, if you
> want the behaviour changed.
Ok, done.
I just used:
0.96 * allocation->height
to allow for an overlapping of roughly one line.
Comments welcome.
>
> > > It will probably still take some time, it is a bit more difficult than
> > > I thought.
> >
> > Should I wait a bit for a new version?
>
> Don't wait on me. I'm currently not able to tell when I'm finished.
>
> > > PS: I'm currently working on huge changes in Dw, so committing patches
> > > to Dw shold currently avoided when possible.
>
> In some cases, smaller patches may be applied; if merging fails, I'll
> have to adjust it by hand. Anyway, I'd like to be explicitly told
> about the changes, so I can better react on it.
With regard to the new widget for buttons, and the inminence of
0.8.2 release, if you like it could be the last enhancement
before the release (I'd also add the context-menu indicator to
the bug-meter pixmaps).
Cheers
Jorge.-
June 2, 2004
Re: [Dillo-dev]Some remarks on the UI
by Jorge Arellano Cid
On Wed, 2 Jun 2004, Sebastian Geerken wrote:
> On Tue, Jun 01, Jorge Arellano Cid wrote:
> > On Mon, 31 May 2004, Sebastian Geerken wrote:
> > > 1. Bug meter: The bug meter button reacts on the "pressed" event, to
> > > show the window, but it should react on the "clicked" signal.
> > > Popping up a window after a "pressed" signal is usually only done
> > > for volatile windows (like menus, or overview windows, like in
> > > GIMP, which often vanish again, after releasing the mouse button).
> > >
> > > Reacting on "pressed" is always a bit problematic, also because the
> > > pointer grab initiated with this event can cause side-effects.
> > >
> > > Furthermore, it should not have a relief, compare to the "Hide
> > > Controls" button.
> >
> > No problem. I even don't know why "clicked" should be used
> > instead of "release" :-). I just copied the code from the menus.
> > Note that the same code for the bug-meter button is used to
> > handle the bug-meter menu entry in the "page menu".
>
> In most cases, the most "abstract" events should be used, i.e.
> "clicked" for buttons, and "activate" for menu entries.
Thanks for the tip!
> > If a new implementation acts the same as the current one, from
> > the user's point of view, it's perfect for me.
>
> If should act different! The bugmeter window should be shown as soon
> as the user *releases* the button (as always).
Yes, I meant that, but failed to explain it properly. ;)
> > [...]
> > > (The implementation would become a bit tricky, since button 2 will
> > > pop up the page in a new window. Perhaps, I'd even suggest to skip
> > > this feature, if a clean solution is not possible.)
> >
> > I use this feature all the time!
> >
> > Before switching to fluxbox, it was quite handy to spawn new
> > dillo windows, and now, under fluxbox, it's perfect for making
> > new TABS.
>
> Using the middle button on menu entries should probably be possible,
> perhaps we'll have to write a new widget for it, as I did with
> GtkButton. However, the new behaviour should be an extension to the
> standard, while the current behaviour is IMO very unusable.
Note: I don't mean to be able to pop-up the history menu with
the middle button, but to have the option of middle-clicking its
entry to open a new window or tab.
>
> > > 3. Attached is the incomplete code of a new widget, which changes the
> > > behaviour of GtkButton:
> > >
> > > (i) It reacts also on button 2 and 3, this would make multiple
> > > functions for one button possible. Actually, this feature
> > > should be reserved for very few situation (since it is simply
> > > confusing), namely the "Clear URL" button, which may also be
> > > used for visiting the URL in the selection buffer.
> > >
> > > (ii) It provides a function for attaching a menu in a better way,
> > > than we have currently, for the "Back" and "Forward" menus,
> > > and for the bug meter.
> > >
> > > Simply copy all files into one directory, call "make", and run
> > > "testprg". Look, what happens with different mouse buttons.
> >
> > Interesting. I went through the code a bit.
> >
> > It's not obvious to me how to modify them to be able to provide
> > the same functionality (new window on middle click on history),
> > and not to screw the design at the same time.
>
> I'll look at it later.
Ok.
Cheers
Jorge.-
June 2, 2004
Re: [Dillo-dev]https (eg for posting to ps2 bulletin boards)
by Jorge Arellano Cid
On Wed, 2 Jun 2004, Madis Janson wrote:
>
> On Tue, 1 Jun 2004, Jorge Arellano Cid wrote:
>
> > The current prototype for SSL (using dpi) provides for an easy
> > way of implementing connection caching, and for asking the user
> > (using dillo's API) whether to continue on unverified
> > connections, the SSL part of this verification is not yet done
> > though.
> >
> > As Madis put it:
> >
> > > Most important thing missing from the ssl specific code is certificate
> > > verification - it MUST be done in order to have any actual security.
> > > In its current form it just gives a way to access SSL sites, but not
> > > secure access.
> >
> > I know people look forward to the day when they can complete
> > their online shopping with dillo, but we must be very careful to
> > provide real security. This is key.
>
> I hope to look at it (probably in july).
Good!
> > Unfortunately I'm not an encryption expert, and we need some
> > help from a savvy guy (the chances of a SSL freshman to make
> > mistakes is very high).
>
> Yes, it is a hard thing. There were for example a same SSL certification
> chain handling bug in IE and Konqueror.
>
> It would help, when someone would write a library-like code for verifing
> peers certificate with simple interface. I'd look the existing
> implementations in Konqueror SSL plugin and Mozilla for reference.
I read a lot of the GnuTLS manual, and found some interesting
facts and functions that could help. Including a function
somewhat like what you sketched:
> For example something similar to this:
>
> /**
> * Check the peer's certificate.
> *
> * \param connection current SSL connection
> * \param result the verifications result
> * 0 - ok
> * 1 - we don't know wtf it is, ask confirmation
> * and tell user, that good answer is NO.
> * 2 - error, couldn't do the verification
> * ....
> * \return message for user
> */
> char* chain_verify(SSL *connection, int *result);
>
> /**
> * User said, that he likes that one...
> *
> * \param cert certificate to remember
> * \return 0 - error (message in openssl error stack), 1 - OK
> */
> int remember_certificate(X509 *cert);
>
>
> > I'd love to have a TLS based dpi for https (TLS lib is GPLed
> > and is a requisite to NPTL, so it'll become as ubiquitous as SSL
> > lib). The current prototype is SSLlib based, but is enough to
> > start polishing and extending the code.
> >
> > Some time ago Madis wrote an SSL gateway for Dillo. After some
> > work, I decided to integrate it through the dpi framework (to
> > empower it with dpip and also to avoid some quirks by using the
> > standard way to extend dillo). That is the current prototype.
>
> http://www.zone.ee/myzz/dillo/https_dpi/https_dpi.tar.gz
>
Here follos an abridgment of interesting information inside the
GnuTLS manual:
<q>
http://www.gnu.org/software/gnutls/manual/gnutls/gnutls.html
--
Description:
Technically GnuTLS is a portable ANSI C based library which
implements the TLS 1.0/1.1 and SSL 3.0 protocols, accompanied
with the required framework for authentication and public key
infrastructure. The library is available under the GNU Lesser GPL
license1.2. Important features of the GnuTLS library include:
* Support for TLS 1.0, TLS 1.1 and SSL 3.0 protocols.
* Support for both X.509 and OpenPGP certificates.
* Support for handling and verification of certificates.
* Support for SRP for TLS authentication.
* Support for TLS Extension mechanism.
* Support for TLS Compression Methods.
Additionally GnuTLS provides a limited emulation API for the
widely used OpenSSL1.3 library, to ease integration with existing
applications.
---
Verifying peer's certificate
A TLS session is not secure just after the handshake procedure
has finished. It must be considered secure, only after the peer's
certificate and identity have been verified. That is, you have to
verify the signature in peer's certificate, the hostname in the
certificate, and expiration dates. Just after this step you
should treat the connection as being a secure one. The following
function is a simple example on how to verify a single
certificate. Real world programs should be able to handle
certificate chains as well.
---
/* This function will try to verify the peer's certificate, and
* also check if the hostname matches, and the activation, expiration dates.
*/
void verify_certificate(gnutls_session session, const char* hostname)
[...]
---
Resuming Sessions:
The gnutls_handshake function, is expensive since a lot of
calculations are performed. In order to support many fast
connections to the same server a client may use session resuming.
Session resuming is a feature of the TLS protocol which allows a
client to connect to a server, after a successful handshake,
without the expensive calculations. This is achieved by using the
previously established keys. GnuTLS supports this feature, and
the example resume client illustrates a typical use of it.
---
http://msmtp.sourceforge.net/ (GPL)
Version 1.0.0:
- correctly handle certificate chains in tls.c GnuTLS code
---
Interview (Nikos Mavroyanopoulos):
http://www.gnu-friends.org/story/2003/12/17/14525/717
</q>
Some remarks:
The msmtp project is interesting because is GPLed, and handles
certificate chains, so it can be reused.
The "Resuming Sessions" feature is also interesting because it
could initially account for what we've been calling "connection
caching". (i.e. instead of keeping an SSL socket alive to
communicate with the server, a new session can be requested, and
GnuTLS' "resuming sessions" does the rest).
The documentation is clear and comes with several examples.
Please give it a look Madis.
Cheers
Jorge.-
June 2, 2004
Re: [Dillo-dev]page increment (was: very simple question, and many kudos!)
by Sebastian Geerken
On Tue, Jun 01, Jorge Arellano Cid wrote:
> On Mon, 31 May 2004, Sebastian Geerken wrote:
> > Scrolling half a page is actually standard behaviour of Gtk, look
> > e.g. at gtk_layout_size_allocate() (in gtklayout.c), which is more or
> > less responsible for this in our case, since our code uses
> > GdkAdjustment::page_increment, which is set there.
> >
> > The attached patch "solves" it, but I'm not sure, wether the standard
> > behaviour should be overridden.
>
> Hmmmm well, from time to time I find the current behaviour less
> useful than a full page scroll. I don't know the rationale for a
> half page scroll in gtklayout either, but it looks as though a
> full page scroll would be a good default.
This is somehow adopted by other widgets as well, I'm not sure what
other X programs do. Anyway, I don't care much about, apply it, if you
want the behaviour changed.
> > It will probably still take some time, it is a bit more difficult than
> > I thought.
>
> Should I wait a bit for a new version?
Don't wait on me. I'm currently not able to tell when I'm finished.
> > PS: I'm currently working on huge changes in Dw, so committing patches
> > to Dw shold currently avoided when possible.
In some cases, smaller patches may be applied; if merging fails, I'll
have to adjust it by hand. Anyway, I'd like to be explicitly told
about the changes, so I can better react on it.
Sebastian
June 2, 2004
Re: [Dillo-dev]Some remarks on the UI
by Sebastian Geerken
On Tue, Jun 01, Jorge Arellano Cid wrote:
> On Mon, 31 May 2004, Sebastian Geerken wrote:
> > 1. Bug meter: The bug meter button reacts on the "pressed" event, to
> > show the window, but it should react on the "clicked" signal.
> > Popping up a window after a "pressed" signal is usually only done
> > for volatile windows (like menus, or overview windows, like in
> > GIMP, which often vanish again, after releasing the mouse button).
> >
> > Reacting on "pressed" is always a bit problematic, also because the
> > pointer grab initiated with this event can cause side-effects.
> >
> > Furthermore, it should not have a relief, compare to the "Hide
> > Controls" button.
>
> No problem. I even don't know why "clicked" should be used
> instead of "release" :-). I just copied the code from the menus.
> Note that the same code for the bug-meter button is used to
> handle the bug-meter menu entry in the "page menu".
In most cases, the most "abstract" events should be used, i.e.
"clicked" for buttons, and "activate" for menu entries.
> If a new implementation acts the same as the current one, from
> the user's point of view, it's perfect for me.
If should act different! The bugmeter window should be shown as soon
as the user *releases* the button (as always).
> [...]
> > (The implementation would become a bit tricky, since button 2 will
> > pop up the page in a new window. Perhaps, I'd even suggest to skip
> > this feature, if a clean solution is not possible.)
>
> I use this feature all the time!
>
> Before switching to fluxbox, it was quite handy to spawn new
> dillo windows, and now, under fluxbox, it's perfect for making
> new TABS.
Using the middle button on menu entries should probably be possible,
perhaps we'll have to write a new widget for it, as I did with
GtkButton. However, the new behaviour should be an extension to the
standard, while the current behaviour is IMO very unusable.
> > 3. Attached is the incomplete code of a new widget, which changes the
> > behaviour of GtkButton:
> >
> > (i) It reacts also on button 2 and 3, this would make multiple
> > functions for one button possible. Actually, this feature
> > should be reserved for very few situation (since it is simply
> > confusing), namely the "Clear URL" button, which may also be
> > used for visiting the URL in the selection buffer.
> >
> > (ii) It provides a function for attaching a menu in a better way,
> > than we have currently, for the "Back" and "Forward" menus,
> > and for the bug meter.
> >
> > Simply copy all files into one directory, call "make", and run
> > "testprg". Look, what happens with different mouse buttons.
>
> Interesting. I went through the code a bit.
>
> It's not obvious to me how to modify them to be able to provide
> the same functionality (new window on middle click on history),
> and not to screw the design at the same time.
I'll look at it later.
> BTW, are you working on the layering API of Dw we need to go
> FLTK?
>
> I ask because we may have to look at it again when re-making
> the UI for FLTK.
Yes. It got a bit complicated, since in the old design, DwWidget and
DwGtkViewport interacted very tightly, and DwWidget assumed too much
about DwGtkViewport.
Anyway (in case anybody thinks that a port could be simpler :-), as I
already stated, this redesign is rather useful for the future, not
only for the port (and it increases the code quality, since it reduces
dependencies).
Sebastian
June 2, 2004
Re: [Dillo-dev]https (eg for posting to ps2 bulletin boards)
by Madis Janson
On Tue, 1 Jun 2004, Jorge Arellano Cid wrote:
> The current prototype for SSL (using dpi) provides for an easy
> way of implementing connection caching, and for asking the user
> (using dillo's API) whether to continue on unverified
> connections, the SSL part of this verification is not yet done
> though.
>
> As Madis put it:
>
> > Most important thing missing from the ssl specific code is certificate
> > verification - it MUST be done in order to have any actual security.
> > In its current form it just gives a way to access SSL sites, but not
> > secure access.
>
> I know people look forward to the day when they can complete
> their online shopping with dillo, but we must be very careful to
> provide real security. This is key.
I hope to look at it (probably in july).
> Unfortunately I'm not an encryption expert, and we need some
> help from a savvy guy (the chances of a SSL freshman to make
> mistakes is very high).
Yes, it is a hard thing. There were for example a same SSL certification
chain handling bug in IE and Konqueror.
It would help, when someone would write a library-like code for verifing
peers certificate with simple interface. I'd look the existing
implementations in Konqueror SSL plugin and Mozilla for reference.
For example something similar to this:
/**
* Check the peer's certificate.
*
* \param connection current SSL connection
* \param result the verifications result
* 0 - ok
* 1 - we don't know wtf it is, ask confirmation
* and tell user, that good answer is NO.
* 2 - error, couldn't do the verification
* ....
* \return message for user
*/
char* chain_verify(SSL *connection, int *result);
/**
* User said, that he likes that one...
*
* \param cert certificate to remember
* \return 0 - error (message in openssl error stack), 1 - OK
*/
int remember_certificate(X509 *cert);
> I'd love to have a TLS based dpi for https (TLS lib is GPLed
> and is a requisite to NPTL, so it'll become as ubiquitous as SSL
> lib). The current prototype is SSLlib based, but is enough to
> start polishing and extending the code.
>
> Some time ago Madis wrote an SSL gateway for Dillo. After some
> work, I decided to integrate it through the dpi framework (to
> empower it with dpip and also to avoid some quirks by using the
> standard way to extend dillo). That is the current prototype.
http://www.zone.ee/myzz/dillo/https_dpi/https_dpi.tar.gz
But if someone knowledgeable of crypto, SSL and TLS library goes to write
the TLS version of it, do it (and tell the list). I do not know the TLS
library by myself.
June 2, 2004
Re: [Dillo-dev]https (eg for posting to ps2 bulletin boards)
by robert w hall
In article <Pine.LNX.4.58.0406012204150.740(a)infinity.cl>, Jorge Arellano
Cid <jcid(a)dillo.org> writes
>
>
>On Sun, 30 May 2004, robert w hall wrote:
>
>> Every time I read the playstation2-linux lists I realise how very useful
>> dillo will be when it gets just a little further.
>
> Please elaborate a bit on this subject.
Well it's a lovely browser for that sort of machine (300MHz MIPS R5900
processor, 32MB of RAM), and I usually recommend anyone who is asking on
the official site (www.playstation2-linux.com) to go get a copy in
preference to, or at least along with, the gargantuan firefox.
But it's a bit hard to have to tell a newbie that he won't actually be
able to use dillo to post back to the same site he's reading from (needs
SSL to post). They usually just go off and use firefox and s*d the disc
thrashing!
It doesn't need to be a very secure implementation (though I note and
respect your reasoning here) - there was a patch available all though
the 0.6 and 0.7 series which I think usually got implemented in the pre-
compiled dillo downloads at the ps2 site...
With the recent dropping in price of the ps2-linux kit, there are quite
a few new-starters, who are trying to see what they can use on the net,
and so a slightly-extended dillo would (IMHO) be very timely.
Bob
--
robert w hall
June 2, 2004
Re: [Dillo-dev]https (eg for posting to ps2 bulletin boards)
by Jorge Arellano Cid
On Sun, 30 May 2004, robert w hall wrote:
> Every time I read the playstation2-linux lists I realise how very useful
> dillo will be when it gets just a little further.
Please elaborate a bit on this subject.
> How's the short/medium term future of https looking?(*)
> If an official plugin is in the offing then that's probably what we
> should all wait for.
The short term looks very good, at this time we only need some
TLS or SSLlib savvy guys, with some time willing to polish our
current prototype.
The main problem with the past prototypes and patches is that
they don't handle connection caching (nor provided for an easy
way to implement that), and the most important, they don't do
certificate validation!
The current prototype for SSL (using dpi) provides for an easy
way of implementing connection caching, and for asking the user
(using dillo's API) whether to continue on unverified
connections, the SSL part of this verification is not yet done
though.
As Madis put it:
> Most important thing missing from the ssl specific code is certificate
> verification - it MUST be done in order to have any actual security.
> In its current form it just gives a way to access SSL sites, but not
> secure access.
I know people look forward to the day when they can complete
their online shopping with dillo, but we must be very careful to
provide real security. This is key.
Unfortunately I'm not an encryption expert, and we need some
help from a savvy guy (the chances of a SSL freshman to make
mistakes is very high).
I'd love to have a TLS based dpi for https (TLS lib is GPLed
and is a requisite to NPTL, so it'll become as ubiquitous as SSL
lib). The current prototype is SSLlib based, but is enough to
start polishing and extending the code.
Some time ago Madis wrote an SSL gateway for Dillo. After some
work, I decided to integrate it through the dpi framework (to
empower it with dpip and also to avoid some quirks by using the
standard way to extend dillo). That is the current prototype.
Just in case an SSL/TLS savvy person is reading: the work with
the dpi is quite simple, you don't need to know about Dillo's
internal working, actually the https dpi is a C program that's
independent of Dillo. The dpi just needs to make the secure
connection to the remote server (and verify the cerificate), then
forward the http stream to dillo, or ask whether to close or
proceed when it can't verify. This is done with a simple dpid
tag, all the SSL stuff happens inside the dpi.
> Otherwise, is the patch from 0.7 resurrectable??
Sure, but not worth.
At least the current prototype can POST.
Cheers
Jorge.-
June 2, 2004
Re: [Dillo-dev]Some remarks on the UI
by Jorge Arellano Cid
On Mon, 31 May 2004, Sebastian Geerken wrote:
> Hi,
>
> several remarks on the UI, which should be fixed IMO.
>
> 1. Bug meter: The bug meter button reacts on the "pressed" event, to
> show the window, but it should react on the "clicked" signal.
> Popping up a window after a "pressed" signal is usually only done
> for volatile windows (like menus, or overview windows, like in
> GIMP, which often vanish again, after releasing the mouse button).
>
> Reacting on "pressed" is always a bit problematic, also because the
> pointer grab initiated with this event can cause side-effects.
>
> Furthermore, it should not have a relief, compare to the "Hide
> Controls" button.
No problem. I even don't know why "clicked" should be used
instead of "release" :-). I just copied the code from the menus.
Note that the same code for the bug-meter button is used to
handle the bug-meter menu entry in the "page menu".
If a new implementation acts the same as the current one, from
the user's point of view, it's perfect for me.
>
> 2. The menus behind the "Back" and "Forward" buttons: Consider the
> following scenario:
>
> (i) The user presses button 3 on the "Back" button, and the menu
> is shown.
>
> (ii) He keeps the button pressed, moves to one entry in the menu,
> and releases the button. Nothing happens.
>
> Currently, the menu items only react on "button_press", which is
> anyway wrong (see above). Furthermore, in this situation, the item
> should already react on the "release" event, either as described
> above, or in the way (i) click on menu, (ii) click on menu
> entry. The current behaviour is that much confusing, that a user
> may think that it does not work at all. (I did!)
Yes. Sometime ago Ricardo Persichetti sent me a patch for this.
It's just a couple of lines. Now on CVS for testing purposes,
plus enhanced pixmaps for Back and Forward that hint their right
click menus.
> (The implementation would become a bit tricky, since button 2 will
> pop up the page in a new window. Perhaps, I'd even suggest to skip
> this feature, if a clean solution is not possible.)
I use this feature all the time!
Before switching to fluxbox, it was quite handy to spawn new
dillo windows, and now, under fluxbox, it's perfect for making
new TABS.
> BTW, it is not very obvious, that there is a menu behind these two
> buttons. Perhaps there should be, in the icon, a small arrow
> directed downdwards, or so.
Done!
>
> 3. Attached is the incomplete code of a new widget, which changes the
> behaviour of GtkButton:
>
> (i) It reacts also on button 2 and 3, this would make multiple
> functions for one button possible. Actually, this feature
> should be reserved for very few situation (since it is simply
> confusing), namely the "Clear URL" button, which may also be
> used for visiting the URL in the selection buffer.
>
> (ii) It provides a function for attaching a menu in a better way,
> than we have currently, for the "Back" and "Forward" menus,
> and for the bug meter.
>
> Simply copy all files into one directory, call "make", and run
> "testprg". Look, what happens with different mouse buttons.
Interesting. I went through the code a bit.
It's not obvious to me how to modify them to be able to provide
the same functionality (new window on middle click on history),
and not to screw the design at the same time.
> Comments welcome.
BTW, are you working on the layering API of Dw we need to go
FLTK?
I ask because we may have to look at it again when re-making
the UI for FLTK.
Best
Jorge.-
June 1, 2004
Re: [Dillo-dev]dillo as a debian package ..?
by Mattias Östergren
On Tue, 1 Jun 2004 08:39:47 -0400 (CLT) Jorge Arellano Cid
<jcid(a)dillo.org> wrote:
>
>
> On Mon, 31 May 2004, Mattias Östergren wrote:
>
> > On Sun, 30 May 2004 11:38:55 -0400 (CLT) Jorge Arellano Cid
> > <jcid(a)dillo.org> wrote:
> >
> > >
> > >
> > > On Tue, 25 May 2004, Willem van Engen wrote:
> > >
> > > > Hi all,
> > > >
> > > > ok, I made a new .deb for 0.8.1 and setup an apt repository on
> > > > http://willem.engen.nl/debian
> > > > please read debian install instructions there. I did only some
> > > > very basic tests and seems to work nicely. Please report if I
> > > > missed something.
> > >
> > > Thanks a lot Willem!
> > >
> > > I asked a couple of persons to try it, and added a link from
> > > the download page.
> > >
> > > If someone can help with the official package, it'd be very
> > > good too...
> > >
> >
> > The official package is now up-to-date.
> >
> > /Mattias, Debian user.
>
> Good!
>
> I updated the download page accordingly.
>
> BTW, did you update the package?
> Is this the same package Willem made?
>
> Cheers
> Jorge.-
>
Phil Blundell updated it, and I don't think it's the same as Willem's, but
I'm not sure.
/Mattias
June 1, 2004