public inbox for gentoo-soc@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-soc] ventoo weekly report
  2010-07-27  1:56 [gentoo-soc] Council Webapp Progress Report Wei Xie
@ 2010-07-27  3:33 ` Christopher Harvey
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Harvey @ 2010-07-27  3:33 UTC (permalink / raw
  To: gentoo-soc, Luis Araujo

I was away last week and as such was a little busier than usual this
week. Still, I got some ventoo work done. I'm working on one of the two
last major features of Ventoo: Smart Completion. As the user enters text
into Ventoo I wanted Ventoo to be able to tell the user immediately if
the input was valid or not as well a suggest valid completions. Gtk
comes with text completion utilities that I wanted to use for this
project. Turns out that you can't associate a completion object with a
TextRenderer in a TreeView widget. I tried to hack in completion with
custom edit callbacks but I was not able to get it working smoothly. I'm
currently speaking with my mentor about alternatives.

On the bright side I have the backend all figured out, just need to let
the user see the data in a convenient fashion.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-soc] ventoo weekly report
@ 2010-08-02  5:54 Christopher Harvey
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Harvey @ 2010-08-02  5:54 UTC (permalink / raw
  To: gentoo-soc, Luis Araujo

This week I added a system to ventoo that highlights parts of a file 
when ventoo thinks they are invalid and should not be saved back into 
the file. The code that does the checking are external python scripts 
that users can easily add to ventoo without changing any other code. The 
reason this was added is that up until now as the user is editing a file 
he/she had no idea if the file was valid until a diff or a save was 
requested. Now SOME (or even most) errors can be caught with a python 
script that validates user input in the background. Even nicer is that 
well written scripts can catch errors that augeas can't. (augeas is the 
library I use to move the files in and out of memory and manipulate the 
file structure) For example, if the user enters /dev/sdf12, but that 
device doesn't exist, the cell lights up bright red. The user can still 
save, so it's really only a warning. Warnings like this can typically be 
checked in about 2-4 lines of python. Augeas already did a pretty good 
job of catching a lot of invalid config files, but this system makes it 
easier for the user and can catch errors that augeas wasn't designed to 
catch.

Next week:
Remote editing of other computers.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-02  8:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-02  5:54 [gentoo-soc] ventoo weekly report Christopher Harvey
  -- strict thread matches above, loose matches on Subject: below --
2010-07-27  1:56 [gentoo-soc] Council Webapp Progress Report Wei Xie
2010-07-27  3:33 ` [gentoo-soc] ventoo weekly report Christopher Harvey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox