OSDev.org

The Place to Start for Operating System Developers
It is currently Mon May 22, 2017 9:41 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 86 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject: Re: とあるOS [ToAruOS] ~ A Learning Project
PostPosted: Sat May 10, 2014 3:49 am 
Offline
Member
Member

Joined: Tue Mar 04, 2014 5:27 am
Posts: 765
Cool! =D>


Top
 Profile  
 
 Post subject: Re: とあるOS [ToAruOS] ~ A Learning Project
PostPosted: Sun May 18, 2014 10:19 pm 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 212
Been working on my IP stack, but also added some UI features including some simple tiling. Used my older window decoration theme for these screenshots as it looks better with the tiling.

Left-right tiling:

Image

Quarter-tiling:

Image

Prettied up the (kernel-mode) IRC client:

Image

_________________
github | twitter | とあるOS | PonyOS 4.0


Top
 Profile  
 
 Post subject: Re: とあるOS [ToAruOS] ~ A Learning Project
PostPosted: Mon May 19, 2014 7:14 am 
Offline
Member
Member
User avatar

Joined: Thu Feb 14, 2008 10:46 am
Posts: 277
Location: Italy
Built and tested. It's even better than screenshots :D
I just noticed that closing the session of the current user programs still run. Shouldn't they be killed?


Top
 Profile  
 
 Post subject: Re: とあるOS [ToAruOS] ~ A Learning Project
PostPosted: Mon May 19, 2014 12:09 pm 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 212
Karlosoft wrote:
Built and tested. It's even better than screenshots :D
I just noticed that closing the session of the current user programs still run. Shouldn't they be killed?

Oh? Let me know what apps aren't closing when the session ends - they need to respond to a message from the window server to do that correctly, otherwise they will linger, and I probably missed some.

_________________
github | twitter | とあるOS | PonyOS 4.0


Top
 Profile  
 
 Post subject: Re: とあるOS [ToAruOS] ~ A Learning Project
PostPosted: Mon May 19, 2014 12:29 pm 
Offline
Member
Member
User avatar

Joined: Thu Feb 14, 2008 10:46 am
Posts: 277
Location: Italy
Snow, gears, fractals. Others like terminal have been closed.


Top
 Profile  
 
 Post subject: Re: とあるOS [ToAruOS] ~ A Learning Project
PostPosted: Mon May 19, 2014 6:51 pm 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 212
Karlosoft wrote:
Snow, gears, fractals. Others like terminal have been closed.

Ah, right, of course I forgot the little demos. I'll get those fixed up!

_________________
github | twitter | とあるOS | PonyOS 4.0


Top
 Profile  
 
 Post subject: Re: とあるOS [ToAruOS] ~ A Learning Project
PostPosted: Tue May 20, 2014 12:38 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9228
Location: An der schönen blauen Donau, watching muppets
Wouldn't that be something that would better be handled by default in an UI library? :wink:

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: とあるOS [ToAruOS] ~ A Learning Project
PostPosted: Tue May 20, 2014 12:56 am 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 212
Combuster wrote:
Wouldn't that be something that would better be handled by default in an UI library? :wink:

All of the apps speak the raw protocol at the moment. When I get an actual toolkit built on top of it, that'll handle the session-end message. Also, eventually, the system should be able to gracefully handle apps getting killed and close their windows appropriately, but that depends on some major work I have yet to do; once that happens, logout can kill anything that's still left.

_________________
github | twitter | とあるOS | PonyOS 4.0


Top
 Profile  
 
 Post subject: Re: とあるOS [ToAruOS] ~ A Learning Project
PostPosted: Tue May 27, 2014 10:57 pm 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 212
I've been working on a couple of things (that are unfortunately not networking).

1. Nested display server.

Image

2. Loading desktop shortcuts from a file (something I should have been doing from the start).

Image

3. Added refcounts to my VFS and finally implemented proper Unix pipes - now bash can happily run pipelines like this simple grep:

Image

My shell still doesn't support pipelines, but I'll look into adding it - its parser is a bit esoteric.

_________________
github | twitter | とあるOS | PonyOS 4.0


Top
 Profile  
 
 Post subject: Re: とあるOS [ToAruOS] ~ A Learning Project
PostPosted: Sun Jun 01, 2014 3:50 am 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 212
Added something I had in mind for a while now - window shaping.

I'm piggy-backing off of a window's alpha channel, though only upon request at the moment. A window can request to have its alpha channel (with a tolerance of ~0.5) set as its window shape, and update that as it pleases (or disable it). (These screenshots are from a debug mode that renders the window and then renders (at 0.7 opacity) a semi-unique color in the shape of the window shape on top of it. This means, if the window shape doesn't quite cover the whole of the window, some of the window will show through - the actual select-buffer will have the underlying window in those locations.)

This allows the Gears app to accept clicks only where a gear is present:
Image

The reason I made it so a window has to request a these updates is because generating the 1-bit alpha map has a performance hit that I'm still trying to work around, and thus I don't want a window updating its shape constantly. For the gears app, this means updating occasionally for the sake of testing (though really it's not all that necessary to change the shape of the gears window in most cases). This usually leads to the select-buffer being slightly behind from rendering:

Image

This screenshot is from an earlier version of the debug mode, and shows how multiple gears windows can overlap, without actually overlapping:
Image

I was also playing around with some box blurring for eventual use in possible "glass" effects and with server-side dynamic window shadows, but no screenshots of that, it's all still very experimental and slow.

_________________
github | twitter | とあるOS | PonyOS 4.0


Top
 Profile  
 
 Post subject: Re: とあるOS [ToAruOS] ~ A Learning Project
PostPosted: Mon Jun 02, 2014 12:39 am 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 212
Added some quick shebang support. I don't know if I'm doing it all to the letter, but it works for bash scripts and Python scritps :)

Image

I apparently have neglected to write a chmod binary - despite having had the syscall and library function for over a year now. I had to hop into a Python repl and run os.chmod to set the execute bit on the Python script after writing it.

_________________
github | twitter | とあるOS | PonyOS 4.0


Top
 Profile  
 
 Post subject: Re: とあるOS [ToAruOS] ~ A Learning Project
PostPosted: Sat Jun 07, 2014 8:16 pm 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 212
Did a bunch of cleanup in my `ls`, and implemented a fancy `pstree` using my procfs:

Image

_________________
github | twitter | とあるOS | PonyOS 4.0


Top
 Profile  
 
 Post subject: Re: とあるOS [ToAruOS] ~ A Learning Project
PostPosted: Wed Jun 11, 2014 10:33 pm 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 212
You know that thing on my panel that says "Applications"? It's been a dummy label until now:

Image

Still needs some styling, but it's functional, disappears when you click out of it, and takes a config file same as the desktop.

_________________
github | twitter | とあるOS | PonyOS 4.0


Top
 Profile  
 
 Post subject: Re: とあるOS [ToAruOS] ~ A Learning Project
PostPosted: Tue Feb 17, 2015 5:22 pm 
Offline
Member
Member
User avatar

Joined: Sun Jul 14, 2013 6:01 pm
Posts: 364
somebody can link me an iso, please?

_________________
Operating system for SUBLEQ cpu architecture:
http://DawnOS.tk


Top
 Profile  
 
 Post subject: Re: とあるOS [ToAruOS] ~ A Learning Project
PostPosted: Sat Aug 06, 2016 4:39 am 
Offline

Joined: Mon Jul 25, 2016 7:09 pm
Posts: 5
i tried. when i run ./install.sh
it show an error.
Build failed. Please check the logs above to see what went wrong.

this is the whole error

Configuring in ./binutils
configure: loading cache ./config.cache
configure: error: `YACC' has changed since the previous run:
configure: former value: `/home/shashwat/Downloads/ponyos-master/toolchain/tarballs/binutils-2.22/missing bison -y'
configure: current value: `bison -y'
configure: error: in `/home/shashwat/Downloads/ponyos-master/toolchain/build/binutils/binutils':
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and start over
Makefile:3340: recipe for target 'configure-binutils' failed
make[1]: *** [configure-binutils] Error 1
make[1]: Leaving directory '/home/shashwat/Downloads/ponyos-master/toolchain/build/binutils'
Makefile:838: recipe for target 'all' failed
make: *** [all] Error 2
Build failed. Please check the logs above to see what went wrong.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 86 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group