Re: [dev] [edit] Introducing edit, a simple text editor

2023-09-28 Thread David Demelier
topped adding flags at all and use just the defaults everywhere. Otherwise I'd be glad to understand if there is a complete and strict conformance explanation on those combinations. -- David

Re: [dev] getting rid of cmake builds

2023-09-21 Thread David Demelier
se of pkg-config helps there are various places where you will need to pass additional compiler/linker flags. For those I like GNU make even though its syntax is somewhat strange at some points. Which projects are you referring to? -- David

Re: [dev] C variants, compilers and completeness

2023-08-18 Thread David Demelier
On Mon, 2023-07-24 at 17:38 +0200, Sagar Acharya wrote: > I see C compilers recommended by suckless are: > > tinycc > simplecc > cproc > qbe > lacc qbe isn't a compiler. however cproc is promising but I had various issues compiling some apps, can't use it as my daily for now. -- David

Re: [dev] Suckless filesystems

2023-06-26 Thread David Demelier
a power failure but you can't really choose something else yet. -- David

Re: [dev] Simpler WiFi alternatives

2023-05-14 Thread David Brooke
e microprocessor device need only concern itself with higher level data. For low speed systems there are even chip sets (e.g. WIZnet [1]) which offload as high as the TCP layer, though these are less flexible than handling TCP/IP in software. David [1] https://www.wiznet.io/

Re: [dev] Simpler WiFi alternatives

2023-05-13 Thread David Brooke
ion level features. These days even embedded systems will likely use an RTOS which may include an existing protocol stack, e.g. RTEMS [2] uses a port of the FreeBSD stack. David [1] http://www.ka9q.net/code/ka9qnos/ [2] https://www.rtems.org/

Re: [dev] Logical abilities of routers

2023-05-01 Thread David Brooke
ecret to > avoid this?? I run a few servers, which do require inbound connections to certain ports, but otherwise it's all blocked by the firewall on my router. I can't stop unwanted traffic (and there is a lot of it) before that but at least it doesn't get on to my internal network. David

Re: [dev] Logical abilities of routers

2023-05-01 Thread David Brooke
e internet connection, you may need to run PPPoE to a xDSL modem or similar. I expect there's probably more even in a minimalist solution. David

Re: [dev] suckless indentation with vim

2022-07-04 Thread David Demelier
ng to switch between et/noet option to insert spaces instead of tabs and align manually. nmap , :set et! Of course, always better to view whitespaces when dealing with that mix. -- David

Re: [dev] I made a bluetooth-control-thing

2022-06-16 Thread David Demelier
failed request: 12 Current serial number in output stream: 12 Regards, -- David

Re: [dev] Automatic C header dependency tracking for the redo build-system

2022-06-07 Thread David Demelier
lently fail and rebuild everything. Then .d files will be generated and touching any file will rebuild exactly what should be. The only non portable thing is the -MMD option (gcc and clang support though). HTH -- David

Re: [dev][dwm][autostart] Patch to make autostart conform to XDG Base Directory specification

2020-06-10 Thread David Demelier
. Thank you! I was planning to write something similar because some applications require a working D-Bus session to start (so unable to launch them before dwm in .xinitrc). Example: pulseaudio then mpd. -- David

[dev] Question regarding applicability of st single-buffer patch from FAQ

2020-06-04 Thread David Lamkins
I've applied the single-buffer patch from the st FAQ. As advertised, it lets w3mimgdisplay work in st; this helps not only w3m, but other tools (e.g. ranger) that use w3mimgdisplay. Is there a downside to having applied this patch? In a couple days of heavy use, I have yet to notice any anomalous

Re: [dev] Looking for irc client

2020-05-18 Thread David Phillips
dress ranges known to be problematic for spam/trolls in addition to Tor. It includes a number of cloud computing platforms too. BR, David

Re: [dev] [slock] FDO lock event signal

2020-05-09 Thread David Phillips
rapper for slock in the spirit of: send_session_lock_msg slock send_session_unlock_msg I haven't played enough with dbus to know, but I presume there's a tool that can mimic the behaviour. BR, David [1]: https://tools.suckless.org/slock/patches

Re: [dev] [surf] Cannot copy URL to clipboard

2020-03-06 Thread David Phillips
x27;t doing something weird like "bridging" or merging PRIMARY and CLIPBOARD. Best regards, David

Re: [dev] Suckless/Simple version control

2019-12-12 Thread David Phillips
On Mon, Dec 09, 2019 at 10:42:09AM +0100, Kurt Van Dijck wrote: > On ma, 09 dec 2019 21:22:05 +1300, David Phillips wrote: > > On Mon, Dec 09, 2019 at 05:47:42AM +, Jacob Louis Prosser wrote: > > > Hey all, > > > > > > I started working on my own

Re: [dev] Suckless/Simple version control

2019-12-09 Thread David Phillips
collection of shell scripts > https://gitlab.com/jacobprosser8/svcs. The implementation is god awful as I > am not the best shell scripter, feel free to yell at me. This reminds me of quilt: https://savannah.nongnu.org/projects/quilt BR, David

Re: [dev] multi-column text editing and viewing like tcvt

2019-09-22 Thread Ahmed Khaled (David Gabriel)
Hey Greg Reagle, Actually I want to thank you about mentioning tcvt. I know this feature form Emacs follow-mode and I used it, and I really want to use it outside Emacs. So yeah I know about it and didn't know if I could use it without emacs, But talking about vim, I searched about "vim follow-mo

Re: [dev] Mailing list searching

2019-05-07 Thread David Demelier
not mention that much xft. What could help though is definitely add a note in the manual page under a section BUGS or in the README/FAQ of st until libxft/freetype is fixed upstream. What do you think? Regards, -- David

Re: [dev] [dwm] background wallpaper redraw

2019-04-22 Thread David Phillips
On Mon, Apr 22, 2019 at 10:52:32AM +0300, Dennis Yurichev wrote: > Hi all. > > When switching workplace to a free one, wallpaper doesn't show up.. > Is it known issue? > How are you setting the wallpaper in the first place? This may explain why dwm isn't drawing it. Thanks, David

Re: [dev] [slock] Need help working on the project

2019-04-14 Thread David Phillips
or check for root. This, coupled with temporarily patching slock so it just unlocks on a empty password input would make integration easier. David

Re: [dev] Learn C

2019-04-01 Thread David Demelier
argument/return value because the processor has to perform more steps since it will promotes the bool to int. In most of the case int is just the way to go. However, having those fixed size types in PODs for serialization, hardware access and memory management is clean (but with care of alignment/padding). Regards, -- David

Re: [dev] [dwm] new release - transition from Openbox

2019-02-07 Thread Ahmed Khaled (David Gabriel)
And laptops has extra fn key :D I totally agree with you >Different matter is that "typical" keyboard has already at least 8 >modifiers key (2 x shift, 2 x alt, 2 x ctrl, logo, CapsLock). Which is >madness on its own. :) -- DG

Re: [dev] surf

2019-01-28 Thread David Demelier
t variable GDK_SCALE=2 (at least) to scale 2 times. Try: GDK_SCALE=2 surf HTH -- david

Re: [dev] Coding style: why /* */ and not //?

2019-01-10 Thread David Demelier
Le 27/12/2018 à 11:10, Silvan Jegen a écrit : The only downside of //-style comments that I can see is that they are only allowed since C99[0]. Yes, but C99 was released 20 years ago. Perhaps it's okay to use it nowadays :) Regards, -- David

Re: [dev] GPL free Linux

2018-11-12 Thread David Demelier
U/GPL when you really want to provide flexibility and opensource to the mass. To me GPL is only useful for users, not for developers. My $0.02. -- David

Re: [dev] freetype2/fc pain

2018-10-19 Thread David Demelier
least in a separate patch. However, I don't care if dwm runs on two screens without being able to have a window in the “middle” split in both views. Regards, -- David

Re: [dev] freetype2/fc pain

2018-10-19 Thread David Demelier
switched to Xft a while back ago, I was surprised at first but if that choice was made I think there were a lot of good reasons isn't it? Also, I'm not sure if many bitmap fonts render correctly on 4k screens. I just love how Fira Mono renders on mine. But I should test some. -- David

Re: [dev] [st] solarized light patch colors incorrect

2018-09-12 Thread David Demelier
essible. I have never told it's you, I'm just commenting the quote I say that bug reports should be accompagned with a patch (yes please). -- David

Re: [dev] [st] solarized light patch colors incorrect

2018-09-12 Thread David Demelier
ovide a patch every single time they encounter a bug. Everybody make mistakes and errors and asking others to fix them for you is a bit rude IMHO. It's like: - I have found a very small bug in your application - Just fix it yourself, it's my mistake but it's only you that want it to be fixed. Regards, -- David

Re: [dev] [dwm] [PATCH] Do not draw bar if it is hidden

2018-08-07 Thread David Demelier
Completely second that. -- David

Re: [dev] minimize window

2018-07-01 Thread David Phillips
On Sun, Jul 01, 2018 at 02:23:59PM +0800, Fei Teng wrote: > Hi, developers, > > Are there any method to minimize (hide) a window in dwm? > > Thanks > Switch the currently active tags, or change the tags applied to the window in question. Thanks, David

Re: [dev] home and del key not working

2018-05-26 Thread David Phillips
ead the FAQ file from the source you cloned? David

[dev] [surf] crashing in libcairo

2017-12-11 Thread David Demelier
4 in libcairo.so.2.11400.8[7337e000+125000] I've tried with midori and it worked fine. So I wonder what happens under the hood. Do I need to compile webkit in debug mode to give you more useful information? Regards, -- David Demelier

Re: [dev] [dwm] firefox fullscreen youtube issue

2017-11-21 Thread David Demelier
> On Nov 20, 2017, at 7:17 PM, Laslo Hunhold wrote: > >> I remember some years ago that it worked fine, I wonder if something >> has changed? Do I need to configure something in firefox/dwm? > > does it work with the latest git-version of dwm? Yes, it works in git, I'll switch to that. Thank

Re: [dev] [dwm] firefox fullscreen youtube issue

2017-11-20 Thread David Demelier
> On Nov 20, 2017, at 2:36 PM, Donald Allen wrote: > > I am not seeing this, with the same version of Firefox on an Arch > Linux system. You did not say what patches, if any, you have applied > to dwm. In my case, I have applied only the 'pertag' patch. It's also > possible that there is someth

[dev] [dwm] firefox fullscreen youtube issue

2017-11-20 Thread David Demelier
/dwm? Regards, -- David

Re: [dev] [st] Text select and autoscroll

2017-09-14 Thread David Phillips
On Thu, Sep 14, 2017 at 10:26:56AM +0200, Rasmus Edgar wrote: > Hi, > > How do I get auto scroll (upwards and downwards) functionality when > selecting text which goes beyond terminal height? > > Br, > Rasmus st does not scroll

Re: [dev] st, spurious character in paste?

2017-08-22 Thread David Phillips
Sounds to me like you are accidentally rolling your scroll wheel. Thanks David

Re: [dev] [st] Exit upon attempting to render glyph

2017-08-09 Thread David Lamkins
code point. This is the same behavior exhibited by the Unicode variants of xterm and rxvt; the difference is that they work OK without disabling the NotoColorEmoji font. On Wed, Aug 9, 2017 at 10:33 AM, David Lamkins wrote: > I also specified different fonts on the command line, using an

Re: [dev] [st] Exit upon attempting to render glyph

2017-08-09 Thread David Lamkins
I also specified different fonts on the command line, using an st built with the default config.def.h. For example: ./st -f DejaVuSansMono . Same outcome. On Wed, Aug 9, 2017 at 10:19 AM, David Lamkins wrote: > With default config *except for* font, which is: > > char font[] = &qu

Re: [dev] [st] Exit upon attempting to render glyph

2017-08-09 Thread David Lamkins
gc=0, argv=0x7fff7c90) at x.c:1764 On Wed, Aug 9, 2017 at 9:49 AM, David Lamkins wrote: > st output upon exit: > > X Error of failed request: BadLength (poly request too large or > internal Xlib length error) > Major opcode of failed request: 138 (RENDER) > Minor opc

Re: [dev] [st] Exit upon attempting to render glyph

2017-08-09 Thread David Lamkins
n main (argc=0, argv=0x7fff7c90) at x.c:1764 On Wed, Aug 9, 2017 at 9:24 AM, Alex Pilon wrote: > On Wed, Aug 09, 2017 at 08:36:49AM -0700, David B. Lamkins wrote: >> Upon attempting to render Unicode 1f596, st exits. > > I have the same problem, but with a different input, that

Re: [dev] [st] Exit upon attempting to render glyph

2017-08-09 Thread David Lamkins
Compiling with the default config resolves the issue. (OTOH, I can't use the default font...) I've attached a diff of my config.def.h . On Wed, Aug 9, 2017 at 8:55 AM, Antenore Gatta wrote: > On Wed, 9 Aug 2017 08:36:49 -0700 > "David B. Lamkins" wrote: > >&

[dev] [st] Exit upon attempting to render glyph

2017-08-09 Thread David B. Lamkins
Upon attempting to render Unicode 1f596, st exits. To reproduce, compile and run the attached test or send the same codepoint to the screen via any other means. I'm running Fedora 25 (up-to-date) and st HEAD. Google Noto fonts are installed. (I mention the latter because st loads one of these f

Re: [dev] [st, dmenu] Crash when attempting to display characters with missing glyphs

2017-07-28 Thread David Phillips
Related [1]? [1]: http://lists.suckless.org/dev/1610/30710.html

Re: [dev] [ANN] samurai: ninja-compatible build tool

2017-07-26 Thread David Phillips
tlines the distaste for it; maybe it is reinventing the wheel? Ta, David

[dev] [st] Input methods display in wrong position

2017-05-30 Thread David Elliott
me know if you have any suggestions how this could be fixed. Thanks, David

Re: [dev] [surf] Errors compiling the surf-webkit2 branch

2017-05-29 Thread David Phillips
On Mon, May 29, 2017 at 03:29:47PM -0400, Albert Cardona wrote: > Hi all, > > Upon compiling the surf-webkit2 with either cc or clang, I am getting > a number of errors. I wonder if your config.h is outdated and is supposed to declare these. Not familiarvwith surf myself. Thanks.

Re: [dev] [surf] Web inspector not working

2017-04-27 Thread David Kennedy
Apparently that last message was sent as HTML even though I had plain text selected in Outlook. Going to blame Microsoft there. Anyways, I provided the use flags for webkit-gtk and midori, because I've been working on some bugs in midori recently and got confused. Can't blame anyone else for that.

Re: [dev] [surf] Web inspector not working

2017-04-27 Thread David Kennedy
On 27-04-2017 07:28, xant...@openmailbox.org wrote: > Is it built with musl ? Nope. Am I missing a use flag or something? For webkit-gtk, I've got: coverage doc +egl geolocation gles2 gnome-keyring +gstreamer introspection +jit libnotify nsplugin +opengl spell test wayland +webgl For mid

[dev] [surf] Web inspector not working

2017-04-26 Thread David Kennedy
When I attempt to open the web inspector with Ctrl-Shift-o, nothing happens. No errors are generated in the console or anything. I've enabled the inspector feature in config.h with the following line: SETB(Inspector, 1), I haven't changed the default key binding from: { MODKEY|G

Re: [dev] [st] Multiplexing support

2017-04-23 Thread David Phillips
ram which does multiplexing, for example, dvtm or tmux. David signature.asc Description: PGP signature

Re: [dev][all] Migrating build system

2017-04-01 Thread David Phillips
. > Thanks > Aditya Cheers! David [1]: http://lists.suckless.org/dev/1404/20654.html

[dev] [slock] [PATCH] Add option to show the password on the screen

2017-03-31 Thread David Phillips
With slock's current behaviour, the user can become frustrated when they suspect that they have made a typo in their password and are unable to remember how many times to hit the backspace key to correct it. This patch adds a configuration option for such users (I'm sure we've all been there) so th

Re: [dev] [st] cannot disable antialiasing in 0.7

2016-11-16 Thread David Phillips
es where it is not even with the latest tagged version. This will make sure that the problem has not already been fixed and is simply not released yet. All the best, David

Re: [dev] [dwm] crash on xsetroot emoji character

2016-10-25 Thread David Phillips
On Tue, Oct 25, 2016 at 12:43:34PM +0200, Petr Šabata wrote: > On Tue, Oct 25, 2016 at 11:36:49PM +1300, David Phillips wrote: > > I'm getting massive déja-vu from this, I remember an issue on github for > > a similar problem—perhaps with another wm. Unfortunately, I

Re: [dev] [dwm] crash on xsetroot emoji character

2016-10-25 Thread David Phillips
I'm getting massive déja-vu from this, I remember an issue on github for a similar problem—perhaps with another wm. Unfortunately, I cannot remember. Perhaps someone can remind me Cheers

Re: [dev] [st] can't set reverse cursor

2016-10-19 Thread David Phillips
On Wed, Oct 19, 2016 at 08:55:31PM +0100, Cág wrote: > Hiltjo Posthuma wrote: > > > The warning is exactly like it says: "maybe uninitialized" (it is not). > > Gcc warnings can be very useful but can also often be ignored. > > But it compiles fine, no errors starting st, and I suppose this is > u

Re: [dev] dev+unsubscr...@suckless.org

2016-09-15 Thread David Phillips
On Thu, Sep 15, 2016 at 10:05:46AM +0100, Joseph Graham wrote: > hey Hi > -- > Joseph Graham Remember that it's the address, not the subject that should be dev+unsubscribe. All the best

Re: [dev] which versions are dwm patches intended to apply to cleanly?

2016-06-15 Thread David Phillips
On Wed, Jun 15, 2016 at 10:24:00AM +0200, Kamil Cholewiński wrote: > On Wed, 15 Jun 2016, David Phillips wrote: > > Some people thought it was a good idea to use 6.1 to denote git head before > > 6.1 actually came out. This worked fine until they stopped maintaining > > t

Re: [dev] which versions are dwm patches intended to apply to cleanly?

2016-06-15 Thread David Phillips
Some people thought it was a good idea to use 6.1 to denote git head before 6.1 actually came out. This worked fine until they stopped maintaining their patches to apply against git head. Something should be done about the patches that no longer apply cleanly, however. signature.asc Description:

Re: [dev] [slock] [PATCH] Ctrl-u now resets the input

2016-06-08 Thread David Phillips
On Wed, Jun 08, 2016 at 09:55:38AM +0200, Anselm R Garbe wrote: > Hi Troy, > > I'm not sure if this feature is really required. Typing a wrong > password can be corrected on second attempt anyways. > > What is the opinion of other users to this change? > > BR, > Anselm Personally speaking, I wo

Re: [dev] [sup] Bring the simple user privilege escalation tool back home?

2016-05-11 Thread David Phillips
I would like to see the bugs suckless's sup examined and fixed. Looking at the current state of our sup, it is already too featureful for me, so the bloat jaromil promises is a big no. This discussion caused me to evaluate sudo for myself. Needless to say, it would be nice to see sup fixed up so I

Re: [dev] Re: [slock] red color on control keys?

2016-04-06 Thread David Phillips
On Wed, Apr 06, 2016 at 02:48:27PM +0200, Markus Teich wrote: > we already discussed this. There are two settings, one for the "normal" people > and one for the paranoid ones. The setting you propose is mostly the same as > the > paranoid one, but slightly less paranoid. Why should paranoid people

Re: [dev] Re: [slock] red color on control keys?

2016-04-05 Thread David Phillips
On Tue, Apr 05, 2016 at 11:47:09AM +0200, Markus Teich wrote: > Frostyfrog wrote: > > So, I understand that the red background color is supposed to signify that > > someone tried to log into the machine, but does it really need to turn the > > screen red when I press a no-op key? > > Heyho, > > J

Re: [dev] Re: [slock] red color on control keys?

2016-04-05 Thread David Phillips
On Mon, Apr 04, 2016 at 11:50:38PM -0600, Frostyfrog wrote: > So, I understand that the red background color is supposed to signify > that someone tried to log into the machine, but does it really need to > turn the screen red when I press a no-op key? I generally press the > control key to wake up

Re: [dev] [PATCH] Fix vertical character alignment in some cases

2016-03-07 Thread David Phillips
On Mon, Mar 07, 2016 at 10:18:12PM +0100, Ton van den Heuvel wrote: > The y-position of a character found by asking fontconfig for a matching > font does not take the border pixels into account, resulting in a > slightly misaligned vertical position. > > Signed-off-by: Ton van den Heuvel > --- >

Re: [dev] [sbase][PATCH] Add factor(1)

2016-02-25 Thread David Phillips
I am largely unfamiliar with sbase's codebase, but I wonder what the rest of the community will think of using GMP in an sbase tool. signature.asc Description: PGP signature

[dev] [PATCH] [st] copyurl patch with corrected clipboard behaviour

2016-02-15 Thread David Phillips
Previous version of the patch incorrectly set sel.primary, issue fixed. The original implementation of this patch copied the URL to the PRIMARY clipboard. st has since changed its behaviour to align with the freedesktop standard [0] on the issue such that, in general, explicit copy+paste actions u

[dev] [PATCH] [st] copyurl patch with corrected clipboard behaviour

2016-02-15 Thread David Phillips
The original implementation of this patch copied the URL to the PRIMARY clipboard. st has since changed its behaviour to align with the freedesktop standard [0] on the issue such that, in general, explicit copy+paste actions use CLIPBOARD while implicit (eg selection-based) copying will use PRIMARY

Re: [dev] [PATCH] [slock] React to key release rather than key press events

2016-01-29 Thread David Phillips
On Thu, Jan 28, 2016 at 03:48:55PM +0100, Markus Teich wrote: > FRIGN wrote: > > So we want the screen to turn red on key down. > > Heyho, > > another even more annoying example is: I actually type my password so fast, > the > key release events are sometimes in the wrong order. You can test it

Re: [dev] [PATCH] [slock] React to key release rather than key press events

2016-01-28 Thread David Phillips
> Heyho David, Hi Markus > I don't think we should change the current behaviour. As already explained > there > are two different ways of operation: > > - The paranoid option / failonclear = true: > Here you will leave your screen green and will notice ANY fidd

[dev] [PATCH] [slock] React to key release rather than key press events

2016-01-28 Thread David Phillips
Previously, if failonclear was set to True and a modifier key (especially shift) was pressed and held in order to modify the next keypress, slock would detect that a keypress had been made, observe that the buffer was clear and set the screen to the failure colour. That behaviour is unwanted if th

Re: [dev] [bug] slock gets red before submitting pass

2016-01-27 Thread David Phillips
On Wed, Jan 27, 2016 at 11:31:04PM +0100, FRIGN wrote: > On Thu, 28 Jan 2016 11:26:48 +1300 > David Phillips wrote: > > Hey David, > > > You have reminded me, however, that one regret I have since implementing > > this behaviour is that pressing a modifier ke

Re: [dev] [bug] slock gets red before submitting pass

2016-01-27 Thread David Phillips
will turn the screen red, since a keypress has occurred and the password buffer is empty. But yes, the failure colour on the screen after emptying the password buffer is desired behaviour for sure. -- David signature.asc Description: PGP signature

Re: [dev] [PATCH] Change an eprintf to a die to stop child from running its own slideshow

2016-01-19 Thread David Phillips
On Thu, Jan 14, 2016 at 09:47:37AM +, Dimitris Papastamos wrote: > On Thu, Jan 14, 2016 at 09:02:43PM +1300, David Phillips wrote: > > The child thread was created because execlp will not return if successful. > > The eprintf was placed after the call to execlp to catch any

[dev] [PATCH] Change an eprintf to a die to stop child from running its own slideshow

2016-01-14 Thread David Phillips
The child thread was created because execlp will not return if successful. The eprintf was placed after the call to execlp to catch any error, but the child continued to return a (closed) fds[0], resulting in a second slideshow being run by the child. This commit fixes the issue by killing the chi

RE: [dev] dwm: drw_draw does too much

2015-11-28 Thread David Kennedy
> I agree, but keep in mind drw_text also handles fallback fonts, so it > calculates the width for it if needed. My point exactly. Unwinding this function is incredibly difficult. All I've managed so far (aside from fixing other patches) is to simplify drw_font_getexts. Instead of that, there is

[dev] dwm: drw_draw does too much

2015-11-27 Thread David Kennedy
This part of the drawbar function is really confusing: if (m == selmon) { /* status is only drawn on selected monitor */                   w = TEXTW(stext); x = m->ww - w; if (x < xx) { x = xx;

Re: [dev] surf(git) and sound

2015-11-26 Thread David Phillips
> It does not seem to be any option related with the sound in the config.mk Looks like you've had your first taste of the satirical hiro :)

Re: [dev] Re: [farbfeld] announce

2015-11-17 Thread David Phillips
I tried compressing with bzip2 and xz, (both set to maximum compression with -9). I know xz to be slower, but I have measured it to have the least bloat when fed random data to compress. With "clean" low-noise images, it would seem that bzip2 is out-performing xz markedly, hence your recommendatio

Re: [dev] dmenu segfaults when pressing control+enter without a selection

2015-11-09 Thread David Phillips
Greg Reagle wrote: > Just started to try to do so, and now I really understand why people hate > stylistic source code changes. :> Eric Pruitt wrote: > Bingo. I now have 15 patches I have to fix because someone decided they didn't like booleans or the location of the opening brace for function de

Re: [dev] Patch naming on the wiki [corrected list]

2015-11-09 Thread David Phillips
Hi all, > The shortref can check the date anyway. I think it is best that the filename > to be simple It is a lot slower to grab the shortref and look its date up, rather than just reading a date. > And we put the date (and maybe size) after the file This would solve my above problem, but intr

Re: [dev] Patch naming on the wiki [corrected list]

2015-11-09 Thread David Phillips
> Use shortrefs for the filename, but use dates on the wikipage or at least > annotate the hyperlink with the date. I like this idea. Now that you say it, the only reason I would have wanted the date in there too was to be able to quickly check how old a patch was. But there is really no need for

[dev] Patch naming on the wiki [corrected list]

2015-11-09 Thread David Phillips
On 10/11/2015, David Phillips wrote: > Just wondering what the rest of the community reckons about an issue > that popped up briefly on IRC. > > I'll start with an example: some patches, for a long time, have been > named `dwm-6.1-fibwibble.diff`—long before dwm-6.1 was re

Re: [dev] [slock] [PATCH] Blank the screen with colour 0

2015-03-31 Thread David Phillips
I have found a similar patch [1] submitted to the list about a month before this one was. It does not fix the initial issue my patch set out to solve (i.e. blanking the screen to the correct colour) but its functionality is provided by my patch. Note that [1] does not show the failure colour when i

Re: [dev] [sbase][patch] typedef new structs

2015-03-13 Thread David Phillips
I can sympathise with both sides of the argument, but I'm not convinced code readability and maintainability will be negatively affected. As far as I can see, it comes down to personal taste, which I understand is often the spark of debate at suckless. -- Four word witty remark

Re: [dev] [st] [PATCH] FAQ: fix wordingy

2015-03-09 Thread David Phillips
Out of interest, was this thread created anew on purpose? Did I miss the joke? Thanks -- Four word witty remark

Re: [dev] [sbase][patch] test: a little cleanup

2015-03-05 Thread David Phillips
Stupid question: What's wrong with using **argv? Is there some style issue I'm unaware of? Thanks On 05/03/2015, Evan Gates wrote: > use arg.h > change **argv to *argv[] > change strcmp == 0 to !strcmp > change NOTREACHED to not reached > fix test to check if basename(argv0) == "[" but avoid bas

Re: [dev] [ANNOUNCE] abduco-0.3

2015-02-25 Thread David Phillips
Being the author of the initial patch, Marc has reminded me to submit any feedback I have on the abduco_force patch, which will supersede my contribution. I did initially think of using a -f option, but didn't think there would be a need for any other option to be forced. This is how I ended up usi

Re: [dev] [slock] [PATCH] Blank the screen with colour 0

2015-02-11 Thread David Phillips
Hi, Markus Teich wrote: >You can easily tell if someone tried to unlock your computer Hmm that's actually quite a good point/idea/use of the feature. Three colours sounds like a good middle ground. Attached is a patch which: * Adds another colour in config.def.h, COLOR_INIT * Renames the colours

[dev] [slock] [PATCH] Blank the screen with colour 0

2015-02-10 Thread David Phillips
When started, slock doesn't blank the displays to colour 0 until a slock to realise the input buffer is empty (i.e. backspace is hit). As far as I can tell, this isn't the intended behaviour. This patch fixes this problem such that as soon as slock is started, the display is blanked to colour 0, ra

Re: [dev] [website] [proposal] Add suckless logo and minor style change

2015-02-02 Thread David Phillips
Images [1] and [2] are food for thought. Excuse my ugly sans serif fonts. A thin line has been inserted between the suckless logo and the page title in both images. In [2], the subtitle has been floated on the right to avoid cluttering the left hand side of the header. Like I said, just more food

Re: [dev] [website] [proposal] Add suckless logo and minor style change

2015-02-02 Thread David Phillips
Scratch that last part of my previous message, I hadn't seen your linked SVG in the thread. Thanks -- Four word witty remark

Re: [dev] [website] [proposal] Add suckless logo and minor style change

2015-02-02 Thread David Phillips
I'm not sure how you're reading ssuckless. The separation between the stylised 's' and 'suckless' is 400% of that of the letter spacing in 'suckless'. Coupled with the vast difference in font, the contrast created should be significant to separate the first 's' from the word 'suckless'. I understan

Re: [dev] important message

2014-11-15 Thread David Phillips
>[...] you guys are self righteous assholes Finally, someone acknowledges my self-righteousness! -- David Phillips GPG Key 0x7BF3D17D0884BF5B Fingerprint 2426 235A 7831 AA2F 56AF 4BC0 7BF3 D17D 0884 BF5B

[dev] [stali] What happened to stali?

2014-10-14 Thread David Phillips
ask around as to why it's been stalled first. Did the concept fall to pieces? Is there nobody keen? What happened? Cheers -- David Phillips GPG Key 0x7BF3D17D0884BF5B Fingerprint 2426 235A 7831 AA2F 56AF 4BC0 7BF3 D17D 0884 BF5B

Re: [dev] [sbase] sbase patchset

2013-10-17 Thread Galos, David
Ok. I'm happy to go back to writing patches; I'm glad all the changes got in. On Thu, Oct 17, 2013 at 12:30 PM, sin wrote: > On Thu, Oct 17, 2013 at 12:16:19PM -0500, Galos, David wrote: >> I'll do this tonight, sorry I've been gone so long, a new job and a >>

  1   2   3   4   5   >