[dev] UI toolkit 9P-server

2014-02-10 Thread Ramil Farkhshatov
Hello. I'm making simple UI toolkit[1] which acts as a 9P-server and provides several controls: - text labels, - buttons, - images, - scrollbars, - text entries (I'm thinking about calling external editor), - grid layout manager. For image-based controls it supports several image

Re: [dev] UI toolkit 9P-server

2014-02-10 Thread Ramil Farkhshatov
FRIGN d...@frign.de wrote: Unfortunately, it is far from being suckless, although I'm slowly working on it. And some input would be appreciated. I cloned your repository and got it to build after tweaking the mkfile a bit. However, it came to my attention that you probably forgot to add

Re: [dev] UI toolkit 9P-server

2014-02-10 Thread Ramil Farkhshatov
FRIGN d...@frign.de wrote: On Mon, 10 Feb 2014 13:17:17 +0400 Ramil Farkhshatov ra...@gmx.co.uk wrote: Thanks. I totally forgot about that [1]. 1. https://github.com/gravicappa/9client Very nice, thanks! I specified the location in the script, and the wm-script seems to connect

Re: [dev] UI toolkit 9P-server

2014-02-10 Thread Ramil Farkhshatov
FRIGN d...@frign.de wrote: 1) I started uifs, a black window opens 2) I start the client, it tells me When uifs running just start the `samples/wm` script it will run client itself. Without other applications you will see nothing though. `samples/wm` is just an example of window manager-ish

Re: [dev] UI toolkit 9P-server

2014-02-10 Thread Ramil Farkhshatov
FRIGN d...@frign.de wrote: On Mon, 10 Feb 2014 23:31:38 +0400 Ramil Farkhshatov ra...@gmx.co.uk wrote: When uifs running just start the `samples/wm` script it will run client itself. Without other applications you will see nothing though. `samples/wm` is just an example of window

Re: [dev] [9base] bionic port

2013-12-20 Thread Ramil Farkhshatov
I want to mention my simple mk-based package building system [1]. It is not totally complete but builds packages fine both for my local system and for ARM-based embedded system. 1. https://github.com/gravicappa/spmk

Re: [dev] [ii] exposed password on process monitoring

2012-06-13 Thread Ramil Farkhshatov
Edgaras dev...@gmail.com wrote: Though it is not fully refined, and since I failed to connect to gtalk, thus did not have any usage of ji yet, the idea seems promising. Fixed connection to gtalk in libxmpps. Now this works: ji -j JID -s talk.google.com

Re: [dev] Build system.

2011-11-23 Thread Ramil Farkhshatov
Paul Onyschuk bl...@bojary.koba.pl wrote: The bad is that build system is written in bash. Speaking of build systems. I have implemented a simple build system in rc and mk [1]. Only two scripts (spmk_add and spmk_rm) are written in sh since I use 'smpk' to build packages for embedded system.

Re: [dev] [surf] Animated GIF support

2011-04-27 Thread Ramil Farkhshatov
Maciej Sobkowski macie...@maciejjo.pl wrote: Hi I use default surf package on archlinux, and animated GIFs don't work. they blink or show only first frame. Is it possible to fix it? It's a bug in webkit-1.2.7. It is fixed in unstable webkit version (1.3.x).

Re: [dev] [hack] Having dmenu provide hints about current selected entry

2010-12-01 Thread Ramil Farkhshatov
Christophe-Marie Duquesne chm.duque...@gmail.com wrote: On Wed, Dec 1, 2010 at 2:34 AM, Ramil Farkhshatov ra...@gmx.co.uk wrote: it doesn't run match() on each item, that increases speed and reduces cpu usage. But conditions to run match() must be reconsidered: in this patch it is called

Re: [dev] [hack] Having dmenu provide hints about current selected entry

2010-12-01 Thread Ramil Farkhshatov
Ramil Farkhshatov ra...@gmx.co.uk wrote: The condition may be something like: (time_since_last_match_ms threshold_ms || items_since_last_match threshold_nitems || data_exhausted) Stupid me. We can just match added single item.

Re: [dev] [hack] Having dmenu provide hints about current selected entry

2010-11-30 Thread Ramil Farkhshatov
and reduces cpu usage. But conditions to run match() must be reconsidered: in this patch it is called once a second. From 57071c903d82ab9f7ea5184e2b974ce3e5d2ab21 Mon Sep 17 00:00:00 2001 From: Ramil Farkhshatov ra...@gmx.co.uk Date: Wed, 1 Dec 2010 04:25:25 +0300 Subject: [PATCH] Added asynchronous

Re: [dev] surf recompile

2010-10-08 Thread Ramil Farkhshatov
Mitchell Church mitchellchu...@gmail.com wrote: I have been using DWM now for a number of months, and so I am confused as to why I'm having so much trouble recompiling surf. I have downloaded it from the arch linux AUR. Can anyone let me know the steps that I should take to recompile with

Re: [dev] [OT] What's wrong with C++?

2010-09-10 Thread Ramil Farkhshatov
There is a good analysis of C++ monstrosity: http://yosefk.com/c++fqa -- Ramil Farkhshatov

[dev] ji - ii-like jabber client

2010-06-24 Thread Ramil Farkhshatov
). -- Ramil Farkhshatov

[dev] [dmenu] patch: utf-8 strings editing

2010-05-28 Thread Ramil Farkhshatov
Hello. I made a patch against dmenu-4.1 that fixes editing (cursor movement, character deletion) of utf-8 strings containing multibyte characters. -- Ramil Farkhshatov --- a/dmenu.c +++ b/dmenu.c @@ -19,6 +19,7 @@ #define INRECT(X,Y,RX,RY,RW,RH) ((X) = (RX) (X) (RX) + (RW) (Y) = (RY) (Y

Re: [dev] slock - cannot log in

2009-12-17 Thread Ramil Farkhshatov
can press Alt-SysRq-R (magic «unraw keyboard») then Alt-F2 to switch to vc2, this should work even if x-server grabs keyboard. -- Ramil Farkhshatov

Re: [dev] [9base] troff segmentation fault.

2009-10-15 Thread Ramil Farkhshatov
On Thu, Oct 15, 2009 at 04:30:00AM -0400, Kris Maglione wrote: On Wed, 14 Oct 2009 12:39:14 +0400 Ramil Farkhshatov ra...@gmx.co.uk wrote: Trying to use troff from 9base, but it crashes. Here is backtrace of just running troff without arguments: It looks like you've changed the Makefile

Re: [dev] cons-wm

2009-10-13 Thread Ramil Farkhshatov
(gambit-c): git clone http://iris-comp.ru/~git/gravicappa-wm.git Documenting and cleaning it still in plans (~1400 SLOC at the moment). -- Ramil Farkhshatov

Re: [dev] [surf] gtk key bindings

2009-09-07 Thread Ramil Farkhshatov
On Sun, Sep 06, 2009 at 10:53:14AM -0700, Ryan Zheng wrote: I've been meaning to send this one for a while now. It adds some bindings to the urlbar and searchbar (c-h, c-w, c-u for deleting, c-b, c-e for home/end). Not sure how it should be changed now that there's a config.h It can be