Commit Graph

1045 Commits

Author SHA1 Message Date
Kevin Lange
61e1dd2c60 Support a machine-readable output format in fetch 2017-01-14 12:41:18 +09:00
Kevin Lange
8a35ee463a Include fswait in libc 2017-01-14 11:41:24 +09:00
Kevin Lange
c9046e341f Reset highlight on navigate 2017-01-12 21:40:04 +09:00
Kevin Lange
73b565ed7e Basic file browser 2017-01-12 21:34:05 +09:00
Kevin Lange
33dd2bf47a Fix issue where clients were overwriting focused flag 2017-01-12 21:33:59 +09:00
Kevin Lange
4f3f6fc3bc Add menu bar to help browser 2017-01-12 19:32:56 +09:00
Kevin Lange
3f1f63e96e Fix alt-tab starting on current window 2017-01-12 19:32:37 +09:00
Kevin Lange
7a3b4b4b22 Break out menus and support keyboard navigation 2017-01-12 18:42:47 +09:00
Kevin Lange
3412eb286c About Applet can be called with arguments to set information 2017-01-12 17:58:58 +09:00
Kevin Lange
f955004465 Support mouse move event in Yutani bindings 2017-01-12 17:58:36 +09:00
Kevin Lange
c93ae25cd7 Also re-register key binds on SIGUSR2 2017-01-11 19:29:49 +09:00
Kevin Lange
edc869fe9e Panel should reclaim top/bottom stack on SIGUSR2 2017-01-11 19:26:10 +09:00
Kevin Lange
493c9239c5 Still show icon if relevant after hitting space 2017-01-11 19:22:22 +09:00
Kevin Lange
98162f78c3 Create client window lists on HELLO rather than first window creation 2017-01-11 19:17:05 +09:00
Kevin Lange
6c404cb50a Sort autocomplete results 2017-01-11 19:16:53 +09:00
Kevin Lange
702a5ed51b Hack to make sure we remove subscribers in compositor at some point 2017-01-11 19:09:49 +09:00
Kevin Lange
333a50de72 Alt-F2 application launcher in panel 2017-01-11 19:09:34 +09:00
Kevin Lange
865ce442fd Fix long-standing bug in decorator bounds checking 2017-01-11 15:20:02 +09:00
Kevin Lange
f6e7fa2982 Hilight image links on click 2017-01-10 21:21:12 +09:00
Kevin Lange
83178e7e24 Set base directory for images in help browser 2017-01-10 20:14:05 +09:00
Kevin Lange
dfdcb4b60a Really ugly implementation of images in text regions 2017-01-10 20:13:48 +09:00
Kevin Lange
949930b15c Ensure help browser only looks at trt files 2017-01-10 20:13:26 +09:00
Kevin Lange
1ca44ea62b Add a dumb workaround to flakey network 2017-01-10 20:13:01 +09:00
Kevin Lange
711b837c52 Fix up end scroll and support END key to scroll to bottom 2017-01-10 17:15:26 +09:00
Kevin Lange
a4e9fc0123 Clean up some scrolling and resizing in help-browser 2017-01-10 17:00:03 +09:00
Kevin Lange
afa9d7a62d Down click color hilighting in help browser 2017-01-10 15:12:37 +09:00
Kevin Lange
38a20ab16d Include cleaned up version number in About 2017-01-09 22:22:58 +09:00
Kevin Lange
879f4e5cae Help Browser and new license format 2017-01-09 22:20:22 +09:00
Kevin Lange
eb4f722be0 Add a binding for generic graphics buffers 2017-01-09 20:59:25 +09:00
Kevin Lange
c1fde9bb1e remove dead code in calculator 2017-01-09 20:59:11 +09:00
Kevin Lange
32afb966e6 New tags in TextRegion 2017-01-09 20:58:57 +09:00
Kevin Lange
d4583794c6 Support bounds checking in shmemfonts 2017-01-09 20:58:32 +09:00
Kevin Lange
245623ebb9 exec vim so we don't need to worry about signals 2017-01-09 16:28:00 +09:00
Kevin Lange
24f43fd4f8 Add a script to install vim or run it 2017-01-09 15:42:38 +09:00
Kevin Lange
0347c4623b Add an exit icon 2017-01-09 14:34:09 +09:00
Kevin Lange
a2ce60bd40 Actually track clicks properly in buttons in calculator 2017-01-09 14:24:18 +09:00
Kevin Lange
2adc4fefec Support wallpaper switching and fix up select-wallpaper 2017-01-09 13:55:10 +09:00
Kevin Lange
44227aea88 Replace panel/wallpaper with Python version 2017-01-08 17:37:20 +09:00
Kevin Lange
0ed855d51d Support remote requests to drag windows 2017-01-08 15:48:26 +09:00
Kevin Lange
369c6eb09a Calculator icon 2017-01-08 15:48:11 +09:00
Kevin Lange
0712f0f41d About ToaruOS applet (and star icon) 2017-01-08 14:47:21 +09:00
Kevin Lange
63ad3a858b Update some comment headers 2017-01-08 13:36:27 +09:00
Kevin Lange
cf7725ecf3 Support several header defines in yutani bindings 2017-01-08 13:35:32 +09:00
Kevin Lange
f05f5cdf92 Fix bad flag check for focus stealing 2017-01-07 22:08:15 +09:00
Kevin Lange
03b8280761 Add flag options to yutani.py 2017-01-07 22:08:07 +09:00
Kevin Lange
e38eccd0b3 Add calculator demo 2017-01-07 19:29:20 +09:00
Kevin Lange
8989ff149c Free graphics contexts when closing Yutani windows in Python 2017-01-07 19:27:41 +09:00
Kevin Lange
6e96830525 Fix potential out of bounds draw in terminal 2017-01-07 18:07:11 +09:00
Kevin Lange
8e05bb122e basic globbing 2017-01-07 18:01:48 +09:00
Kevin Lange
cf86e1732d Support scaling images in cat-img to fit line height 2017-01-07 17:20:09 +09:00
Kevin Lange
169cd55095 Actually fill ws_xpixels/ws_ypixels, and use them for cat-img 2017-01-07 15:27:55 +09:00
Kevin Lange
252ead4db2 Don't pull in pthreads in things we just removed it from 2017-01-06 19:22:15 +09:00
Kevin Lange
b11124394c Use fswait to make toast daemon single-threaded 2017-01-06 19:13:02 +09:00
Kevin Lange
7d47cab8ab Support fswait in tty 2017-01-06 19:01:22 +09:00
Kevin Lange
665343e636 First pass at a select-like fs wait function 2017-01-06 18:30:17 +09:00
Kevin Lange
99aa5fc7d9 New features for fetch: progress, output to same name 2017-01-05 22:03:38 +09:00
Kevin Lange
da3bc104e0 Support various unset escapes (bold off, italic off, underline off) 2017-01-04 16:11:47 +09:00
Kevin Lange
be351bf57d Support shadows as a font option 2017-01-03 21:02:35 +09:00
Kevin Lange
909beb7c71 Actually, 50hz ain't bad 2017-01-03 21:02:25 +09:00
Kevin Lange
3538982922 Import Python userspace stuff 2017-01-03 16:32:05 +09:00
Kevin Lange
206cf07cc2 use 10Hz as timer rate instead of 20 2017-01-03 16:10:14 +09:00
Kevin Lange
dce4ee98bd make consumers of timer ticks independent of tick rate 2017-01-03 16:07:23 +09:00
Kevin Lange
0f9ba3ae4b Restore stack order on wallpaper/panel on SIGUSR2 2017-01-03 15:51:35 +09:00
Kevin Lange
67bcb173c4 Support kill by signal name 2017-01-03 15:51:22 +09:00
Kevin Lange
dd8862447f Fix some potenital null dereferences in compositor 2017-01-03 15:40:29 +09:00
Kevin Lange
b8de2cbecb Ignore mouse scroll and other events outside of terminal window 2017-01-02 17:44:54 +09:00
Kevin Lange
e744d409ea Fix history offset when calling rline in Python 2017-01-02 13:46:58 +09:00
Kevin Lange
cff2d36e37 Mark window when moving to top 2017-01-02 12:09:38 +09:00
Kevin Lange
e4670b4a8b Fix mixing break in compositor 2017-01-02 00:03:48 +09:00
Kevin Lange
3a924099fd Add a rudimentary API for providing timer ticks through Yutani 2017-01-01 20:39:18 +09:00
Kevin Lange
5ef927c175 Correct some issues with resizing terminals 2017-01-01 18:31:04 +09:00
Kevin Lange
9a5f5af07c Support scrolling terminal with mouse wheel 2017-01-01 18:30:53 +09:00
Kevin Lange
cdaa6c6af8 Add rudimentary upload function to fetch
Note this probably doesn't work across the network for large files as we
don't handle dropped outgoing packets in the TCP stack. Something to fix
eventually...
2016-12-31 18:02:10 +09:00
Kevin Lange
4c2815c277 Fix crash in panel 2016-12-31 16:51:35 +09:00
Kevin Lange
487d3217fc Handle cases where decoration title is too long (fancy) 2016-12-31 16:13:59 +09:00
Kevin Lange
863e0fb469 Fix bad marks when resizing a window 2016-12-30 20:16:36 +09:00
Kevin Lange
b615c7552e Remove hilarious comment from compositor 2016-12-30 16:37:56 +09:00
Kevin Lange
ea59c6bd37 Replace resize box with stretching 2016-12-29 15:54:08 +09:00
Kevin Lange
1e5b785b0d GCC and Binutils upgrade attempt 2016-12-26 09:48:37 +09:00
Kevin Lange
fae3c8171c Fix major leak in load_sprite_png 2016-12-24 20:44:48 +09:00
Kevin Lange
d7b234036a Use a more efficient allocation pattern in wallpaper 2016-12-24 20:44:21 +09:00
Kevin Lange
ea9928c670 Add a very basic gunzip 2016-12-21 22:19:37 +09:00
Kevin Lange
05861daf0f Improvements to rline 2016-12-21 19:39:42 +09:00
Kevin Lange
0d224cd485 remove get-tools (replacing with python) 2016-12-19 23:27:33 +09:00
Kevin Lange
480b65d4c2 Improvements to esh 2016-12-19 21:18:31 +09:00
Kevin Lange
0217b92123 Don't allow bottom window opacity to be adjusted 2016-12-19 20:46:32 +09:00
Kevin Lange
1f58b8803f Support adjusting window opacity like compiz 2016-12-19 20:43:53 +09:00
Kevin Lange
fa50e9f4e5 Exclude scroll buttons from abs mouse state 2016-12-19 20:43:26 +09:00
Kevin Lange
b4abf032a0 Add quick-and-dirty rline for use in Python 2016-12-17 22:35:00 +09:00
Kevin Lange
0bfe9d0872 Redraw when backspacing a tab 2016-12-17 22:14:13 +09:00
Kevin Lange
2feaf58958 Fix some issues with rline 2016-12-17 21:24:36 +09:00
Kevin Lange
8f5a40cc20 Move history into rline and out of shell 2016-12-17 19:18:34 +09:00
Kevin Lange
79a983c01e Toasts should not move or resize 2016-12-17 19:18:20 +09:00
Kevin Lange
2d5947ad16 Handle threads better in ps 2016-12-17 17:55:31 +09:00
Kevin Lange
bda6978dce Allow apps to specify alternate window animation 2016-12-17 17:47:33 +09:00
Kevin Lange
26c78333ec Rough, incomplete VFS permissions 2016-12-14 21:21:32 +09:00
Kevin Lange
1544a3e2fa Add missing RTLD_ defins; fixes ctypes 2016-12-12 19:12:46 +09:00
Kevin Lange
20b5d6fcca Add a simple decorator theme demo 2016-12-11 11:11:40 +09:00
Kevin Lange
34361720f2 Scroll half terminal height on page up/down 2016-12-07 23:52:45 +09:00
Kevin Lange
76cae15eac Scroll to top and bottom of terminal with HOME/END 2016-12-07 23:16:10 +09:00
Kevin Lange
e0f45d823a Make rpg demo consider window decorations 2016-12-07 14:21:43 +09:00
Kevin Lange
dbcbaa6190 Fix late decorations init in terminal 2016-12-07 14:19:45 +09:00
Kevin Lange
290d12677c Account for decorations in draw 2016-12-06 22:29:10 +09:00
Kevin Lange
94b561255e init decorations before trying to use them in julia 2016-12-06 22:18:59 +09:00
Kevin Lange
4e87b7de5a Use defined constants for decor focus 2016-12-06 22:18:43 +09:00
Kevin Lange
c387945f44 Don't redraw fractals in julia on focus change 2016-12-06 18:56:56 +09:00
Kevin Lange
e61633453a Add a few more window hints 2016-12-06 18:34:13 +09:00
Kevin Lange
ed473e72c1 Focus the top-most window if the previously-focused window closes 2016-12-05 22:45:39 +09:00
Kevin Lange
0a01a426ec Ensure focus oddities don't occur with live-wizard 2016-12-05 22:45:17 +09:00
Kevin Lange
2ed8ca65c3 Make sure panel and wallpaper don't steal focus 2016-12-05 22:44:25 +09:00
Kevin Lange
16d10e1800 Fix magic pthread exit that was getting relocated somehow 2016-12-05 22:41:47 +09:00
Kevin Lange
35ff0434a4 Add a new window create function with flags
Currently there is one flag:
- NO_STEAL_FOCUS

This is used in the toast daemon so toasts don't steal focus.
Other flags will be added in the future to control whether a window is
displayed when created, whether it should animate a particular way, etc.
2016-12-05 22:07:51 +09:00
Kevin Lange
ca648a32d5 Focus newly created windows 2016-12-05 21:55:22 +09:00
Kevin Lange
32f8d3b0f3 Many minor usability improvements to various demos 2016-12-05 21:55:06 +09:00
Kevin Lange
9796c5db29 Fix select-wallpaper to work with default symlink 2016-12-05 21:02:08 +09:00
Kevin Lange
048e18acaa Dynamically load decorator themes 2016-12-05 18:07:30 +09:00
Kevin Lange
2ee9cb6940 Basic dlopen implementation 2016-12-05 17:40:10 +09:00
Kevin Lange
39da315a48 Build a dynamic userspace.
- Builds (terrible, broken) shared versions of (most) third-party
  dependencies for the userspace.
- Fixes several incorrect dependency mappings in auto-dep.
- Makes auto-dep understand shared libraries (and that some things,
  like OSMesa, don't work with them).
- init must be built static because reasons
- some libraries were cleaned up to fix dependency calculation
- version bumped to 0.99.0 (saten) for eventual 1.0.0 release.
- CDs no longer drop teapot, select-wallpaper (space is available
  for them - we could even make the images smaller)
2016-12-03 17:10:48 +09:00
Kevin Lange
2233251749 Make cpudet work when compiled PIC/PIE 2016-12-03 10:56:16 +09:00
Kevin Lange
42d108f0d7 Add an X button to the 'simple' decoration theme 2016-11-24 17:56:59 +09:00
Kevin Lange
c2683e7b31 Handle display resizes in live-wizard 2016-11-24 17:49:29 +09:00
Kevin Lange
cf17594916 Fix bad pointer for message when examining WELCOME message 2016-11-24 17:49:11 +09:00
Kevin Lange
6d6bd7f4c8 Fix window move bounds checking in Yutani 2016-11-24 17:48:51 +09:00
Gil Mendes
ff29e578c3 Update time on glogin
This resolves one of the tasks described on the #63 issue.
2016-11-24 15:27:20 +09:00
Kevin Lange
79ad65c429 Add a userspace interface for DNS 2016-11-21 19:29:07 +09:00
Kevin Lange
8ac9742906 Add a userspace interface for loading modules 2016-10-26 14:11:12 +09:00
Kevin Lange
caee44e0fc Fix missing abs() in untile drag logic 2016-10-19 22:25:18 +09:00
Kevin Lange
5606c3be81 New wallpaper (Fuji, seen from Fujiyoshida)
The default wallpaper is now a symlink, which can be replaced
appropriately as the wallpaper changes in the future, thus future
wallpaper changes won't necessitate changes to applications which have
fallbacks. TODO: write an imagemagick script to generate the bootloader
wallpaper.
2016-10-17 19:12:25 +09:00
Kevin Lange
54e7beb58c Open the wallpaper window earlier and make it black 2016-10-13 18:27:15 +09:00
Kevin Lange
043f1abca8 Fix gap when tiling on display sizes that don't divide perfectly 2016-10-13 10:31:21 +09:00
Kevin Lange
5ff53560a1 Fix tab completing directories from current dir (bad stat) 2016-10-08 23:10:26 +09:00
Kevin Lange
b01cd62079 Tab completion of filenames in esh
esh (the shell) now supports tab completing file names.

When completing the first argument of a shell command (the command
itself), esh assumes you are tab completing command names from /bin
unless you have already typed a / somewhere in your input. For all other
parts of the command, esh will tab complete file names and directories
in much the same way bash and other shells do.
2016-10-08 23:03:43 +09:00
Kevin Lange
62926f41ae sha512sum tool 2016-09-26 16:40:35 +09:00
Kevin Lange
38e3741c66 Make sure we mark display regions for update when drawing images 2016-09-26 10:58:01 +09:00
Kevin Lange
715b39ae8e Hide cursor when drawing images 2016-09-26 10:15:08 +09:00
Kevin Lange
11d0c2d9fe Support DEC show/hide cursor escapes. 2016-09-26 10:14:59 +09:00
Kevin Lange
b46c4f180a Support not putting a linefeed after the last line of an image (so we can cat-img a bunch of one-row images) 2016-09-26 02:29:12 +09:00
Kevin Lange
c5b5a0e359 Very experimental images-in-terminal concept 2016-09-26 02:12:25 +09:00
Kevin Lange
48334ab870 Draw a checkerboard behind transparent images in imgviewer 2016-09-25 23:51:11 +09:00
Kevin Lange
03020f14ff Tutorial demos 2016-09-20 21:06:43 +09:00
Kevin Lange
4fbf2afa67 Fix panel width calculations when resized 2016-09-17 21:55:37 +09:00
Kevin Lange
2ef33054ed Reject crazy window movements 2016-09-14 23:51:02 +09:00
Kevin Lange
badfa8c008 Fix a bug in imgviewer that actually froze yutani 2016-09-14 23:50:48 +09:00
Kevin Lange
e4edd60bd9 Even better: Untile based on relative position
We take the mouse location inside the window as a percentage instead.
2016-09-12 18:38:52 +09:00
Kevin Lange
7ffd3cd74e Center on Y as well, works better for tiled windows / alt-mouse drag 2016-09-12 18:27:46 +09:00
Kevin Lange
904a498afa Center window x on mouse when untiling
This provides more understandable behavior when snapping off small
windows, ensuring the mouse doesn't hang way off to the side of the
window. It's not ideal for large windows, but it's at least reasonable
there, so it's an overall win.
2016-09-12 18:18:56 +09:00
Kevin Lange
bbbd97e4b8 Support resizing nested Yutani 2016-09-10 21:28:25 +09:00
Kevin Lange
82ee872ee8 Fix bad marks on resizing windows 2016-09-10 21:28:14 +09:00
Kevin Lange
6e56b72c08 Support resizing the login screen 2016-09-10 21:27:55 +09:00
Kevin Lange
ddb70f5968 IRC needs to kill network thread on quit 2016-09-10 21:01:54 +09:00