Re: [E-devel] E SVN: raster trunk/terminology/src/bin

2012-06-23 Thread Raphael Kubo da Costa
Enlightenment SVN no-re...@enlightenment.org writes:

 +   if ((ty-state.send_bs) 
 +   (!strcmp(ev-keyname, Bakcspace)))
 + {
 +termpty_write(ty, \b, 1);
 +return;
 + }

Typo?


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/terminology/src/bin

2012-06-23 Thread Gustavo Sverzut Barbieri
There should be a better way to do this.

I noticed it because Alt-f/b doesn't work as well, so are other letters.

I was thinking IMF should provide the modifiers back, or we should keep the
modifiers ourselves and act properly. But need to be careful to release
them on windows focus lost.

On Saturday, June 23, 2012, Enlightenment SVN wrote:

 Log:
 fix typo



 Author:   raster
 Date: 2012-06-23 00:21:44 -0700 (Sat, 23 Jun 2012)
 New Revision: 72715
 Trac: http://trac.enlightenment.org/e/changeset/72715

 Modified:
  trunk/terminology/src/bin/keyin.c

 Modified: trunk/terminology/src/bin/keyin.c
 ===
 --- trunk/terminology/src/bin/keyin.c   2012-06-23 07:18:47 UTC (rev 72714)
 +++ trunk/terminology/src/bin/keyin.c   2012-06-23 07:21:44 UTC (rev 72715)
 @@ -260,8 +260,7 @@
 if (_key_try(ty, appcur_keyout, ev)) return;
  }

 -   if ((ty-state.send_bs) 
 -   (!strcmp(ev-keyname, Bakcspace)))
 +   if ((ty-state.send_bs)  (!strcmp(ev-keyname, BackSpace)))
  {
 termpty_write(ty, \b, 1);
 return;



 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and
 threat landscape has changed and how IT managers can respond. Discussions
 will include endpoint security, mobile security and the latest in malware
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 enlightenment-svn mailing list
 enlightenment-...@lists.sourceforge.net javascript:;
 https://lists.sourceforge.net/lists/listinfo/enlightenment-svn



-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/terminology/src/bin

2012-06-23 Thread The Rasterman
On Sat, 23 Jun 2012 12:41:34 -0300 Gustavo Sverzut Barbieri
barbi...@profusion.mobi said:

 There should be a better way to do this.
 
 I noticed it because Alt-f/b doesn't work as well, so are other letters.
 
 I was thinking IMF should provide the modifiers back, or we should keep the
 modifiers ourselves and act properly. But need to be careful to release
 them on windows focus lost.

eh? that commit sends \b (backspace) if app asks via escapes to explicitly have
bs sent...

 On Saturday, June 23, 2012, Enlightenment SVN wrote:
 
  Log:
  fix typo
 
 
 
  Author:   raster
  Date: 2012-06-23 00:21:44 -0700 (Sat, 23 Jun 2012)
  New Revision: 72715
  Trac: http://trac.enlightenment.org/e/changeset/72715
 
  Modified:
   trunk/terminology/src/bin/keyin.c
 
  Modified: trunk/terminology/src/bin/keyin.c
  ===
  --- trunk/terminology/src/bin/keyin.c   2012-06-23 07:18:47 UTC (rev 72714)
  +++ trunk/terminology/src/bin/keyin.c   2012-06-23 07:21:44 UTC (rev 72715)
  @@ -260,8 +260,7 @@
  if (_key_try(ty, appcur_keyout, ev)) return;
   }
 
  -   if ((ty-state.send_bs) 
  -   (!strcmp(ev-keyname, Bakcspace)))
  +   if ((ty-state.send_bs)  (!strcmp(ev-keyname, BackSpace)))
   {
  termpty_write(ty, \b, 1);
  return;
 
 
 
  --
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and
  threat landscape has changed and how IT managers can respond. Discussions
  will include endpoint security, mobile security and the latest in malware
  threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  ___
  enlightenment-svn mailing list
  enlightenment-...@lists.sourceforge.net javascript:;
  https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
 
 
 
 -- 
 Gustavo Sverzut Barbieri
 http://profusion.mobi embedded systems
 --
 MSN: barbi...@gmail.com
 Skype: gsbarbieri
 Mobile: +55 (19) 9225-2202
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 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)ras...@rasterman.com


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/terminology/src/bin

2012-06-23 Thread Gustavo Sverzut Barbieri
On Sat, Jun 23, 2012 at 12:47 PM, Carsten Haitzler ras...@rasterman.com wrote:
 On Sat, 23 Jun 2012 12:41:34 -0300 Gustavo Sverzut Barbieri
 barbi...@profusion.mobi said:

 There should be a better way to do this.

 I noticed it because Alt-f/b doesn't work as well, so are other letters.

 I was thinking IMF should provide the modifiers back, or we should keep the
 modifiers ourselves and act properly. But need to be careful to release
 them on windows focus lost.

 eh? that commit sends \b (backspace) if app asks via escapes to explicitly 
 have
 bs sent...

sorry, hit reply to the wrong mail :-)

it was about the Alt-Shift-key work around you've added :-)

Emacs at least use lots of alt-key modifiers and IMF breaks them all
due what I said. It filters the key and you're doomed.

What I've noticed is that traditional emacs-x11 does only filter
Alt-Gr (or Alt_R) but not Alt_L. Seems to be like that in other cases
as well, so maybe our ecore modules should just filter based on that?

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] [PATCH] Import upstream commit to dns.c to fix the build on some BSDs

2012-06-23 Thread Raphael Kubo da Costa
Hi there,

The attached patch includes upstream commit
bae230201ace92141a1f43f655013f4ee22cd45a to dns.c, which should fix the
build for both FreeBSD (where _XOPEN_SOURCE should not need to be
tweaked) and NetBSD.

Index: src/lib/ecore_con/dns.c
===
--- src/lib/ecore_con/dns.c	(revision 72732)
+++ src/lib/ecore_con/dns.c	(working copy)
@@ -27,6 +27,7 @@
 # include config.h
 #endif
 
+#if !defined(__FreeBSD__)
 #ifndef _XOPEN_SOURCE
 #define _XOPEN_SOURCE	600
 #endif
@@ -37,6 +38,10 @@
 #undef _DARWIN_C_SOURCE
 #define _DARWIN_C_SOURCE
 
+#undef _NETBSD_SOURCE
+#define _NETBSD_SOURCE
+#endif
+
 #include stddef.h		/* offsetof() */
 #include stdint.h		/* uint32_t */
 #include stdlib.h		/* malloc(3) realloc(3) free(3) rand(3) random(3) arc4random(3) */
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] Import upstream commit to dns.c to fix the build on some BSDs

2012-06-23 Thread Michael Blumenkrantz
On Sat, 23 Jun 2012 16:04:56 -0300
Raphael Kubo da Costa rak...@freebsd.org wrote:

 Hi there,
 
 The attached patch includes upstream commit
 bae230201ace92141a1f43f655013f4ee22cd45a to dns.c, which should fix the
 build for both FreeBSD (where _XOPEN_SOURCE should not need to be
 tweaked) and NetBSD.
 

in

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] E SVN: raster trunk/terminology/src/bin

2012-06-23 Thread The Rasterman
On Sat, 23 Jun 2012 15:41:27 -0300 Gustavo Sverzut Barbieri
barbi...@profusion.mobi said:

 On Sat, Jun 23, 2012 at 12:47 PM, Carsten Haitzler ras...@rasterman.com
 wrote:
  On Sat, 23 Jun 2012 12:41:34 -0300 Gustavo Sverzut Barbieri
  barbi...@profusion.mobi said:
 
  There should be a better way to do this.
 
  I noticed it because Alt-f/b doesn't work as well, so are other letters.
 
  I was thinking IMF should provide the modifiers back, or we should keep the
  modifiers ourselves and act properly. But need to be careful to release
  them on windows focus lost.
 
  eh? that commit sends \b (backspace) if app asks via escapes to explicitly
  have bs sent...
 
 sorry, hit reply to the wrong mail :-)
 
 it was about the Alt-Shift-key work around you've added :-)

that one indeed was doing a bit of hackery. :) but... it works in
gnome-terminal - with the same input methods  support. i removed the alt
+shift switches to next input method and reconfigured it for something else
too, and it still didn't work in terminology until i put in that hack.

 Emacs at least use lots of alt-key modifiers and IMF breaks them all
 due what I said. It filters the key and you're doomed.

sad bit here... it works in gnome-terminal just fine. same input method system,
same setup, same app, same keys, so it's doing something differently.

 What I've noticed is that traditional emacs-x11 does only filter
 Alt-Gr (or Alt_R) but not Alt_L. Seems to be like that in other cases
 as well, so maybe our ecore modules should just filter based on that?

perhaps - i'm unsure of the solution at this stage?

 -- 
 Gustavo Sverzut Barbieri
 http://profusion.mobi embedded systems
 --
 MSN: barbi...@gmail.com
 Skype: gsbarbieri
 Mobile: +55 (19) 9225-2202
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel