Commit Graph

445 Commits

Author SHA1 Message Date
Adam D. Ruppe cce50f56a0 finally implement takeScreenshot 2021-03-14 19:43:46 -04:00
Adam D. Ruppe 05eadcb732 a little bit less bad handling of the popup menus 2021-03-11 22:32:42 -05:00
Adam D. Ruppe 7198a9f15e #279 - facility for spritesheets 2021-03-11 21:18:39 -05:00
Adam D. Ruppe 75fdaf478b Fix moar bugs 2021-02-25 10:48:50 -05:00
Adam D. Ruppe f94e51e6ba windows race condition 2021-02-25 09:52:33 -05:00
Adam D. Ruppe 9ae769b5e8 address terminating race condition 2021-02-25 09:23:05 -05:00
Adam D. Ruppe 3b78d15aef drag and drop early version 2021-02-22 23:25:13 -05:00
Adam D. Ruppe 9264dea9a6 issue #263 2021-02-08 22:07:50 -05:00
Adam D. Ruppe da73ad7a15 issue #263 2021-02-08 22:06:40 -05:00
Adam D. Ruppe a8ec499f2b random fixes 2021-02-01 21:35:56 -05:00
Adam D. Ruppe 89718d996e avoid problem 2021-01-20 14:05:18 -05:00
Adam D. Ruppe 868323bac0 omg i forgot stuff 2021-01-19 23:03:19 -05:00
Adam D. Ruppe de6f8b5302 handle fallback font sizing better 2021-01-16 18:30:42 -05:00
Adam D. Ruppe 49a04b764a some apng fixes 2020-12-29 11:32:20 -05:00
Adam D. Ruppe 0e0335da5c 5500 page omnibus bill no need to read this just vote for it 2020-12-28 10:57:20 -05:00
Adam D. Ruppe 83a0c3db07 warpMouse and vsync on windows 2020-12-22 21:49:26 -05:00
Adam D. Ruppe 4a2fffe5e6 const spam 2020-12-17 22:18:57 -05:00
Adam D. Ruppe d958638298 x event delay on fast timer on linux 2020-12-14 15:44:46 -05:00
Adam D. Ruppe 799ce29d7d some moar dox 2020-12-09 14:42:48 -05:00
Adam D. Ruppe dd2f7a60a0 ensure timer guts never called more than once per event loop round to ensure it doesnt lock up the nromal event handling message pump 2020-12-09 14:39:08 -05:00
Adam D. Ruppe ff2cfb7527 sundry windows fixes 2020-12-04 21:46:21 -05:00
Adam D. Ruppe 1a518da8ec big catchup 2020-12-04 13:10:44 -05:00
Adam D. Ruppe 7c13c57c57 move gl 4.5 function out for now at least 2020-11-27 19:45:59 -05:00
Adam D. Ruppe 91b85ea44b wip 2020-11-24 17:42:09 -05:00
Adam D. Ruppe cf179cdd34 fix cross thread bug related to terminald 2020-11-12 15:44:31 -05:00
Adam D. Ruppe acabbf1c4a sundry bugfixes 2020-11-08 09:34:12 -05:00
Adam D. Ruppe bd3c7ecf35 try for #266 2020-10-30 18:38:48 -04:00
Adam D. Ruppe ae9ed38187 terminal stdout 2020-10-03 19:38:42 -04:00
Adam D. Ruppe f32b147e19 oops broke win64 2020-09-30 22:46:11 -04:00
Adam D. Ruppe aa7c8f2839 notes 2020-09-28 11:08:04 -04:00
Adam D. Ruppe ea88731d58 jawesome 2020-09-07 22:32:53 -04:00
Adam D. Ruppe 94c7618e80 basic matrix begin 2020-08-29 19:54:15 -04:00
Adam D. Ruppe 82728ad3f4 gdc9 support 2020-08-29 19:54:01 -04:00
Adam D. Ruppe de576e37e1 impove uncaught exception printing on windows 2020-08-26 19:21:23 -04:00
Adam D. Ruppe dbc2da8ec1 decompose a little so advanced users can still pick and choose what they want if they want 2020-08-25 22:57:26 -04:00
Adam D. Ruppe d4f8ed6f18 add opengl 3+ helpers 2020-08-25 22:24:25 -04:00
Adam D. Ruppe bb774b90a3 image copy paste 2020-08-05 18:37:34 -04:00
Adam D. Ruppe 84bca96eee fix bug abotu drawing in tab widgets on minigu 2020-07-20 15:44:45 -04:00
Adam D. Ruppe c8189e1027 make more useful on remote x 2020-07-01 23:38:38 -04:00
Adam D. Ruppe 9a2f0bcfe6 ogl osx 2020-06-30 18:31:16 -04:00
Adam D. Ruppe 307785edbb osx fixes for dynamic load 2020-06-30 18:25:50 -04:00
Adam D. Ruppe 0755efc96d dynamic load of xlib 2020-06-30 18:02:03 -04:00
Adam D. Ruppe ae17d5a497 lots of stuff 2020-06-15 10:46:51 -04:00
Adam D. Ruppe 136b4d0ad5 new synthetic input on linux 2020-05-17 10:20:36 -04:00
Adam D. Ruppe 2a7a85e351
Merge pull request #252 from MuriloMir/patch-2
Moving those 2 functions here
2020-05-17 09:24:34 -04:00
Adam D. Ruppe c0244be169 oops 2020-05-14 09:35:16 -04:00
Adam D. Ruppe ef22dbafe9 demos version for tests 2020-05-11 22:23:03 -04:00
Murilo Miranda a43dad25de
Moving those 2 functions here
I've just moved those 2 functions to simpledisplay.
2020-05-11 22:37:09 -03:00
Adam D. Ruppe d0aec8e606 this is becoming not half bad 2020-04-28 22:53:25 -04:00
Adam D. Ruppe 05e496430a moar fixes 2020-04-26 22:35:18 -04:00
Adam D. Ruppe 5419cfed70 catchup 2020-04-24 09:54:48 -04:00
Adam D. Ruppe bd84b9fe27 Merge branch 'master' of github.com:adamdruppe/arsd 2020-04-18 21:33:43 -04:00
Adam D. Ruppe dafa15243d fixes 2020-04-18 21:33:41 -04:00
Adam D. Ruppe cf30ebee21 osx 2020-04-18 21:02:25 -04:00
Adam D. Ruppe 92832fcdef for mac os 2020-04-18 21:02:01 -04:00
Adam D. Ruppe 1fc4f4263c stuff 2020-04-11 09:57:22 -04:00
Adam D. Ruppe 2fc0b49c07 merge in terminal emulator core as a lib 2020-03-26 21:06:00 -04:00
Adam D. Ruppe a698fe5673 fix mouse coord of mouse wheel on windows 2020-03-19 19:34:58 -04:00
Adam D. Ruppe 9184acb4f8 lol termcap 2020-02-21 20:06:07 -05:00
Adam D. Ruppe aac46a8a75 sdpy resize 2020-02-17 20:05:56 -05:00
Adam D. Ruppe ca3b8af557 secrets do not look 2020-02-01 21:22:54 -05:00
Adam D. Ruppe cfcffbfca9 handle closed hting better 2020-02-01 19:47:49 -05:00
Adam D. Ruppe c76d26f01f minimal update for osx xquartz 2020-02-01 19:05:14 -05:00
Adam D. Ruppe d3c545b0ce ok 2020-01-31 18:31:15 -05:00
Adam D. Ruppe 96990d94ff osx stuff 2020-01-31 18:30:57 -05:00
Adam D. Ruppe fcc8aed896 tested unix socket stuff, workaround phobos bug 2020-01-28 22:35:54 -05:00
Adam D. Ruppe 216b1bdcfb more 2020-01-25 22:41:30 -05:00
Murilo Miranda 7b94b5e7c2
Updating the drawCircle() function
I've updated the definition of the drawCircle() function because the previous definition was not working properly.
2020-01-24 06:27:07 -03:00
Adam D. Ruppe ca8aa18fd2 can cause bad number error without this fix 2020-01-20 12:00:20 -05:00
Adam D. Ruppe d3506d8b00 catchup 2020-01-03 10:04:58 -05:00
Adam D. Ruppe b51bc11c66 clear broke with the config thing oops 2019-10-19 08:03:59 -04:00
Murilo Miranda 478df4abf5
Setting up the .clear() method better
I've made the .clear() method more practical by giving the user the ability to decide which color the screen will be cleared with and setting the default as black since this is what you will probably be using.
2019-10-04 02:23:28 -03:00
Adam D. Ruppe 1268d3bf42 pr indent fixup 2019-07-09 08:50:22 -04:00
Murilo Miranda fd7d32c57c
Give ScreenPainter another function
I am making a program that draws circles and I noticed there were no functions for that but I could make it happen by using drawArc() the right way so I figured it would be a good idea to add a drawCircle() function. This new function was crafted using the preexisting drawArc() function. I have tested it and it is much more practical than using drawArc() when working with pure circles.
2019-07-02 01:16:38 -03:00
Adam D. Ruppe ea545eabe2 Merge branch 'master' of github.com:adamdruppe/arsd 2019-06-18 22:12:39 -04:00
Adam D. Ruppe 8a608eae3b keep my version 2019-06-14 10:11:45 -04:00
Adam D. Ruppe bfc8afad87 Merge branch 'master' of github.com:adamdruppe/arsd 2019-05-11 09:43:00 -04:00
Adam D. Ruppe 6357257cb8 make the convenience method more legit convenient 2019-05-11 09:42:54 -04:00
Adam D. Ruppe 4ff15ebe65 oops forgot version 2019-04-21 08:59:07 -04:00
Adam D. Ruppe 921ff7d046 signal fd check before other input, hopefully will ctrl+c responsively even when otherwise congested 2019-04-20 12:24:31 -04:00
Adam D. Ruppe 101c81cd7c ctrl+c on Linux now triggers a clean exit via event loop - major change 2019-04-20 12:21:57 -04:00
Adam D. Ruppe f9442ead2a remove GC from potentially per-frame call 2019-04-03 09:56:43 -04:00
Adam Ruppe 63c3cf8a8a whatever 2019-03-10 17:19:40 -04:00
Adam Ruppe c266c59b1f (very slightly) better mac support 2019-03-10 17:18:57 -04:00
Adam D. Ruppe b06d1bcb32 Merge branch 'mac' 2019-03-02 21:34:49 -05:00
Adam D. Ruppe 08e525e2de more stuff 2019-03-02 21:34:46 -05:00
Adam Ruppe 2ea2b13591 merge 2019-03-02 21:32:01 -05:00
Adam Ruppe 10468ee9f4 fixing some of the old cocoa code 2019-03-02 21:30:47 -05:00
Adam D. Ruppe 589df3f3da new dpi check too 2019-01-08 17:33:44 -05:00
Adam D. Ruppe baeadebbc4 add dpi function 2019-01-08 11:03:53 -05:00
Adam D. Ruppe 38c84d7fa2 catchup 2019-01-06 17:28:55 -05:00
Adam D. Ruppe 354c2ccc8c more osx foundation 2018-12-12 15:53:24 -05:00
Adam D. Ruppe 1da9f87b22 maybe unbalanced parens 2018-12-04 10:40:15 -05:00
Adam D. Ruppe 18a7988efc windows hack, golly i need to just rewrite this trash 2018-11-29 12:46:58 -05:00
Adam D. Ruppe 05850b77b9 better scroll clicking 2018-11-29 12:27:25 -05:00
Adam D. Ruppe d7a58821f2 trying to scroll... 2018-11-28 21:38:28 -05:00
Adam D. Ruppe d6c17ba2b6 lol typo 2018-11-27 21:29:22 -05:00
Adam D. Ruppe a828f06233 lol fix clipboard 2018-11-27 21:28:19 -05:00
Adam D. Ruppe c1116d366f Merge branch 'master' of github.com:adamdruppe/arsd 2018-11-27 21:24:40 -05:00
Adam D. Ruppe d8f1907458 cr/lf 2018-11-27 21:24:29 -05:00
Adam D. Ruppe 0bdb1e3515 better (but still not perfect) scroll architecture on linux; 2018-11-26 14:24:09 -05:00
Adam D. Ruppe 1cfacea360 more hacky bugfixes, no actual fundamental flaw fixes :( 2018-11-25 18:15:12 -05:00
Adam D. Ruppe 78925da98c 64 bit windows fixes 2018-11-23 20:04:16 -05:00
Adam D. Ruppe 4321ee2846 compile speed improvements, minigui improvements 2018-11-23 15:45:01 -05:00
Adam D. Ruppe 18673f0b1b lol i broke WM_QUIT! 2018-11-21 21:41:35 -05:00
Adam D. Ruppe e04fc2a510 wow bug on posixfdreader! and new notification area stuff 2018-11-21 14:24:14 -05:00
Adam D. Ruppe 9ac9de2e74 Merge branch 'master' of github.com:adamdruppe/arsd 2018-11-19 11:43:17 -05:00
Adam D. Ruppe 0740dec056 catchup 2018-11-19 11:43:14 -05:00
Adam D. Ruppe 1c5175f911 terminal + sdpy integration 2018-11-19 11:41:35 -05:00
Adam D. Ruppe 168b165455 implement closeQuery on Windows 2018-11-14 11:45:07 -05:00
Adam D. Ruppe 58ba664255 the window registration is global, so make the local cache global too. but this still is not really thread safe so use caution 2018-11-14 09:49:16 -05:00
Adam D. Ruppe 8ae959b7ce never set it to true! 2018-11-14 09:37:38 -05:00
Adam D. Ruppe 18cf3f4367 attempting windows hang fix 2018-11-13 17:43:39 -05:00
Adam D. Ruppe 037952925b terrible incremental paste code 2018-09-15 12:07:38 -04:00
Adam D. Ruppe 4ae05f1158 worthless warning 2018-06-14 08:36:06 -04:00
Leprecorn 84df778f25
Add binding for glSecondaryColor
https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glSecondaryColor.xml
2018-05-29 02:46:44 +01:00
Adam D. Ruppe 77f914e838 more cursors and windows bug fixes 2018-05-09 09:33:03 -04:00
Adam D. Ruppe 7b186f8d3d Merge branch 'master' of github.com:adamdruppe/arsd 2018-05-09 08:08:07 -04:00
Adam D. Ruppe b84ef31391 Move mouse cursor setting to sdpy from minigui 2018-05-09 08:08:01 -04:00
drug007 1393d7db03 Additional image flags.
These flags allow better control of texture outputting for nice visual effects.
2018-04-25 20:10:00 +03:00
Adam D. Ruppe b0a8417ad5 some broken key ids (after this many years!) 2018-04-22 16:49:36 -04:00
Ketmar Dark 26c14c5d90 bugfixes and compatibilities (sdpy, jpeg, nanovega) 2018-04-11 09:47:48 -04:00
Ketmar Dark 819c3fdf90 multithreading fixes in event posting API 2018-03-17 09:08:42 -04:00
Ketmar Dark 40d2ad8023 removed duplicate declaration 2018-03-16 14:04:13 -04:00
Adam D. Ruppe 89e9886b97 scripting nvg 2018-03-12 17:38:01 -04:00
Adam D. Ruppe abc785efcc slight rejiggering 2018-03-09 10:03:25 -05:00
Adam D. Ruppe 2108172b34 dub.json overhaul 2018-03-09 09:57:11 -05:00
Adam D. Ruppe ecf04589d0 unicode window title 2018-03-08 17:35:20 -05:00
Adam D. Ruppe 53525181d4 fixup webfreaks PR 2018-03-08 17:22:41 -05:00
Adam D. Ruppe 02af0ad09b
Merge pull request #142 from WebFreak001/wmutil
Added new wmutil module
2018-03-08 17:06:20 -05:00
WebFreak001 5a19612630 Made SimpleWindow.title fetch the actual current title 2018-03-08 21:59:45 +01:00
WebFreak001 3300a69966 Added new wmutil module
Contains findWindowByClass and ownerPID for now, planning on adding more window getters
2018-03-08 21:45:17 +01:00
Adam D. Ruppe d44de6f22b catchup 2018-03-07 22:51:40 -05:00
WebFreak001 a08a809158 Implement setOpacity on X11 2018-03-06 19:37:09 +01:00
Adam D. Ruppe 3c7ad66389 fix error on linux introduced by last patch 2018-03-06 11:20:12 -05:00
Adam D. Ruppe 357b8b41e0 transparent windows, from WebFreak 2018-03-06 11:17:12 -05:00
Adam D. Ruppe 38ac81e3fa ketmar string fix 2018-03-01 18:13:14 -05:00
Adam D. Ruppe 6ed8ab8a4f more ketmar patches 2018-02-28 23:11:50 -05:00
Adam D. Ruppe a1c57fa9eb ketmar patches 2018-02-28 19:16:53 -05:00
WebFreak001 9ec5697d3b Fix warnings in simpledisplay & nanovega blocking dub builds 2018-02-27 18:31:00 +01:00
Adam D. Ruppe dd94cd691b weird backward unittest version ketmar. fixed 2018-02-20 10:12:23 -05:00
Adam D. Ruppe 62dbfa5bdc ketmar string compare 2018-02-19 10:29:07 -05:00
Adam D. Ruppe 8bc5559cf6 another experiment 2018-02-08 10:48:07 -05:00
Adam D. Ruppe 70f178a477 experimental to avoid invalid memory op on close 2018-02-07 22:14:17 -05:00
Adam D. Ruppe 85fc2c8c67 catchup 2017-12-26 11:35:01 -05:00
Adam D. Ruppe 023aa9fa06 Merge branch 'master' of github.com:adamdruppe/arsd 2017-12-15 17:29:28 -05:00
Adam D. Ruppe 9f05493ab9 stuff 2017-12-15 17:29:27 -05:00
Adam D. Ruppe 61f0e5ed48 Merge branch 'master' of github.com:adamdruppe/arsd 2017-12-07 11:43:46 -05:00
Adam D. Ruppe 104adea1ef new text thing 2017-12-07 10:41:28 -05:00
Adam D. Ruppe 06a006183b partial libnotify impl fr balloon messages on linux 2017-12-05 20:46:04 -05:00