Re: [E-devel] Eterm cut and paste doesn't work on x86_64 with gcc4.1.1

2006-10-19 Thread Michael Jennings
On Thursday, 19 October 2006, at 10:44:13 (+0900),
Carsten Haitzler wrote:

  As I understand both the ICCCM
  (http://tronche.com/gui/x/icccm/sec-2.html) and JWZ's X selection
  page (http://www.jwz.org/doc/x-cut-and-paste.html), a request
  bearing the TARGETS atom is a request not for the selection
  itself, but rather for a list of the possible types in which it
  may request the selection.  The client requesting is then
  responsible for issuing a new request in one of the returned
  formats.
  
  Unless I'm missing something, this would be an improper ICCCM
  implementation on the part of Qt.
 
 from memory thats what icccm copy and paste does - last i
 played. its a complex beastie

That would seem to leave two possibilities:

1.  My reply to the TARGETS request is wrong, and a work-around exists
in Qt to allow direct XA_STRING replies to the target query (which is
why removing that conditional works).

2.  My reply is correct, and Qt is sending the wrong atom in its
request.

So the question becomes...which one is it? :)

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  [EMAIL PROTECTED]
n + 1, Inc., http://www.nplus1.net/   Author, Eterm (www.eterm.org)
---
 You've got more paranoid fantasies than Stephen King on crack.
   -- Mr. James, Newsradio

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eterm cut and paste doesn't work on x86_64 with gcc4.1.1

2006-10-18 Thread Michael Jennings
On Saturday, 14 October 2006, at 01:56:55 (-0400),
Mike Frysinger wrote:

 selection_send() looks like it could use some calls to D_SELECT()
 ...  otherwise it doesnt look like it gets called at all

True :)

 in my testing over here, every paste that works involves
 selection_send() doing XA_STRING ... but every paste that fails
 involves selection_send() doing PROP_SELECTION_TARGETS ...
 
 if i cheat and make the first PROP_SELECTION_TARGETS always fail and
 make the XA_STRING always pass, pasting into QT apps starts working
 ...

Hopefully raster is paying attention and can correct me if I'm
wrong...

As I understand both the ICCCM
(http://tronche.com/gui/x/icccm/sec-2.html) and JWZ's X selection page
(http://www.jwz.org/doc/x-cut-and-paste.html), a request bearing the
TARGETS atom is a request not for the selection itself, but rather for
a list of the possible types in which it may request the selection.
The client requesting is then responsible for issuing a new request in
one of the returned formats.

Unless I'm missing something, this would be an improper ICCCM
implementation on the part of Qt.

So what am I missing?  :-)

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  [EMAIL PROTECTED]
n + 1, Inc., http://www.nplus1.net/   Author, Eterm (www.eterm.org)
---
 There is always choice.  We say there is no choice only to comfort
  ourselves with a decision we have already made.
   -- Lady Morella (Majel Barrett Roddenberry), Babylon Five

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eterm cut and paste doesn't work on x86_64 with gcc4.1.1

2006-10-18 Thread The Rasterman
On Wed, 18 Oct 2006 13:54:36 -0400 Michael Jennings [EMAIL PROTECTED] babbled:

 On Saturday, 14 October 2006, at 01:56:55 (-0400),
 Mike Frysinger wrote:
 
  selection_send() looks like it could use some calls to D_SELECT()
  ...  otherwise it doesnt look like it gets called at all
 
 True :)
 
  in my testing over here, every paste that works involves
  selection_send() doing XA_STRING ... but every paste that fails
  involves selection_send() doing PROP_SELECTION_TARGETS ...
  
  if i cheat and make the first PROP_SELECTION_TARGETS always fail and
  make the XA_STRING always pass, pasting into QT apps starts working
  ...
 
 Hopefully raster is paying attention and can correct me if I'm
 wrong...
 
 As I understand both the ICCCM
 (http://tronche.com/gui/x/icccm/sec-2.html) and JWZ's X selection page
 (http://www.jwz.org/doc/x-cut-and-paste.html), a request bearing the
 TARGETS atom is a request not for the selection itself, but rather for
 a list of the possible types in which it may request the selection.
 The client requesting is then responsible for issuing a new request in
 one of the returned formats.
 
 Unless I'm missing something, this would be an improper ICCCM
 implementation on the part of Qt.

from memory thats what icccm copy and paste does - last i played. its a complex
beastie

 So what am I missing?  :-)
 
 Michael
 
 -- 
 Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  [EMAIL PROTECTED]
 n + 1, Inc., http://www.nplus1.net/   Author, Eterm (www.eterm.org)
 ---
  There is always choice.  We say there is no choice only to comfort
   ourselves with a decision we have already made.
-- Lady Morella (Majel Barrett Roddenberry), Babylon Five
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eterm cut and paste doesn't work on x86_64 with gcc4.1.1

2006-10-16 Thread Dan Gregory
I concur.  I can totally remove the if (...PROP_SELECTION_TARGETS) section,
configure with --enable-multi-charset, and everything seems to work fine.
Even without --enable-multi-charset, if you remove the #define/#endif
statements, everything seems to work.  Since I'm not that familiar with X, I
don't know what this is going to break, but I seem to be able to cut/paste
from all applications into and out of Eterm's now.

Later,
Dan


On 10/14/06, Mike Frysinger [EMAIL PROTECTED] wrote:

 On Friday 13 October 2006 21:04, Michael Jennings wrote:
  Hope that helps you, or someone, who wants to dive deeper into
  this.  :-)

 selection_send() looks like it could use some calls to D_SELECT() ...
 otherwise it doesnt look like it gets called at all

 in my testing over here, every paste that works involves selection_send()
 doing XA_STRING ... but every paste that fails involves selection_send()
 doing PROP_SELECTION_TARGETS ...

 if i cheat and make the first PROP_SELECTION_TARGETS always fail and make
 the
 XA_STRING always pass, pasting into QT apps starts working ...
 -mike


 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job
 easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eterm cut and paste doesn't work on x86_64 with gcc4.1.1

2006-10-10 Thread Michael Jennings
On Saturday, 07 October 2006, at 15:53:42 (+0900),
Carsten Haitzler wrote:

 it's very probably a 64bit bug. probably to do with properties as x
 likes to use long for datatypes even though the wire protocol will
 only ever support 32bits for that type. i suspect its a int vs long
 on 64bit bug.

Very possibly.  As I do not have a 64-bit box to test on, I have
repeatedly asked vapier and others for help in locating and correcting
the error.

As yet, none has been forthcoming.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  [EMAIL PROTECTED]
n + 1, Inc., http://www.nplus1.net/   Author, Eterm (www.eterm.org)
---
 Can you stay for awhile?  Try to imagine this.  Could you be for
  awhile?  I can't remember it.  Could you fall for awhile?  'Cause
  I can't escape from this. -- Jars of Clay, Portrait of an Apology

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eterm cut and paste doesn't work on x86_64 with gcc4.1.1

2006-10-07 Thread The Rasterman
On Fri, 6 Oct 2006 23:30:09 -0400 Mike Frysinger [EMAIL PROTECTED] babbled:

 On Friday 06 October 2006 15:17, Michael Jennings wrote:
   this has been reported a few times in the past, and it isnt a gcc4 issue
 
  I'm told it works on gcc3.
 
 that's nice ... i'm telling you ive built an amd64/gcc-3.4.x system and it 
 breaks ... people have been reporting this before gcc-4 started to become 
 mainstream
 -mike

it's very probably a 64bit bug. probably to do with properties as x likes to
use long for datatypes even though the wire protocol will only ever support
32bits for that type. i suspect its a int vs long on 64bit bug.


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eterm cut and paste doesn't work on x86_64 with gcc4.1.1

2006-10-06 Thread Mike Frysinger
On Thursday 05 October 2006 15:20, Michael Jennings wrote:
 If it ONLY happens on x86_64 and it ONLY happens with gcc 4, don't you
 think that sounds like a gcc bug?  I sure do.

this has been reported a few times in the past, and it isnt a gcc4 issue

i know this fails for me on my amd64 machines, i'll see if it fails on my x86 
32bit ...
-mike


pgpr8d8XrUGSG.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eterm cut and paste doesn't work on x86_64 with gcc4.1.1

2006-10-06 Thread Mike Frysinger
On Friday 06 October 2006 15:06, Mike Frysinger wrote:
 i know this fails for me on my amd64 machines, i'll see if it fails on my
 x86 32bit ...

copying  pasting works for me on my x86
-mike


pgplg5ElUbfjo.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eterm cut and paste doesn't work on x86_64 with gcc4.1.1

2006-10-06 Thread Michael Jennings
On Friday, 06 October 2006, at 15:06:10 (-0400),
Mike Frysinger wrote:

 this has been reported a few times in the past, and it isnt a gcc4 issue

I'm told it works on gcc3.

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  [EMAIL PROTECTED]
n + 1, Inc., http://www.nplus1.net/   Author, Eterm (www.eterm.org)
---
 Greatness is never appreciated in youth, called pride in mid-life,
  dismissed in old age, and reconsidered in death.  Because we cannot
  tolerate greatness in our midst, we do all we can do destroy it.
   -- Lady Morella (Majel Barrett Roddenberry), Babylon Five

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eterm cut and paste doesn't work on x86_64 with gcc4.1.1

2006-10-06 Thread Mike Frysinger
On Friday 06 October 2006 15:17, Michael Jennings wrote:
  this has been reported a few times in the past, and it isnt a gcc4 issue

 I'm told it works on gcc3.

that's nice ... i'm telling you ive built an amd64/gcc-3.4.x system and it 
breaks ... people have been reporting this before gcc-4 started to become 
mainstream
-mike


pgpSSvCxLX16q.pgp
Description: PGP signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eterm cut and paste doesn't work on x86_64 with gcc4.1.1

2006-10-05 Thread Michael Jennings
On Tuesday, 03 October 2006, at 08:42:34 (-0400),
Dan Gregory wrote:

 Several gentoo (and a suse) users have been having trouble with Eterm
 specifically with it's interface with xselection.  We think that we have
 narrowed it down to x86_64 with gcc4.  The behavior is that you can
 cut/paste within a select group of type of windows (eterms, xterms, firefox,
 thunderbird), but you can't paste into other types (opera, ooffice, knotes,
 etc.)  The only clue that I have is that I ran klipper (kde's
 clipboard/xselection tool) in a terminal and tried to select from an eterm.
 When I do, I get the following error as soon as I mouseup following the
 selection:
 
 X Error: BadAtom (invalid Atom parameter) 5
   Major opcode:  17
   Minor opcode:  0
   Resource id:  0x3200048
 
 I have tried to hack scr/screen.c, but I haven't been successful in
 pinpointing the issue.
 
 Can anyone here give me a push in the right direction?

If it ONLY happens on x86_64 and it ONLY happens with gcc 4, don't you
think that sounds like a gcc bug?  I sure do.

Tried gcc3?

Michael

-- 
Michael Jennings (a.k.a. KainX)  http://www.kainx.org/  [EMAIL PROTECTED]
n + 1, Inc., http://www.nplus1.net/   Author, Eterm (www.eterm.org)
---
 My program's in an infinite loop.  Should I wait for it to
  finish?   -- some lame luser in a Tarleton State Univ. computer lab

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel