chiark / gitweb /
disorder
15 years agoCorrect row count in login window
Richard Kettlewell [Sat, 28 Jun 2008 18:04:29 +0000 (19:04 +0100)]
Correct row count in login window

15 years agoAbolish last vesiges of struct callbackdata
Richard Kettlewell [Sat, 28 Jun 2008 17:32:08 +0000 (18:32 +0100)]
Abolish last vesiges of struct callbackdata

15 years agoDisOrder logo in login box
Richard Kettlewell [Sat, 28 Jun 2008 17:09:05 +0000 (18:09 +0100)]
DisOrder logo in login box

15 years agoEscape now dismisses users window
Richard Kettlewell [Sat, 28 Jun 2008 15:35:12 +0000 (16:35 +0100)]
Escape now dismisses users window

15 years agoReturn & Escape work in properties popup
Richard Kettlewell [Sat, 28 Jun 2008 15:33:13 +0000 (16:33 +0100)]
Return & Escape work in properties popup

15 years agoReturn & escape work in Disobedience login window
Richard Kettlewell [Sat, 28 Jun 2008 15:30:14 +0000 (16:30 +0100)]
Return & escape work in Disobedience login window

15 years agoSynchronize with DisOrder 4.1
Richard Kettlewell [Sat, 28 Jun 2008 15:16:46 +0000 (16:16 +0100)]
Synchronize with DisOrder 4.1

15 years agoDisOrder 4.1 4.1
Richard Kettlewell [Sat, 28 Jun 2008 13:39:37 +0000 (14:39 +0100)]
DisOrder 4.1

15 years agoCorrect user management window widget lifetime
Richard Kettlewell [Sat, 28 Jun 2008 12:13:36 +0000 (13:13 +0100)]
Correct user management window widget lifetime

15 years agoTighter input checking in scripts/setup
Richard Kettlewell [Sat, 28 Jun 2008 11:59:45 +0000 (12:59 +0100)]
Tighter input checking in scripts/setup

15 years agolatest compiler support policy
Richard Kettlewell [Sat, 28 Jun 2008 10:25:12 +0000 (11:25 +0100)]
latest compiler support policy

15 years agoPlacate over-picky compiler
Richard Kettlewell [Sat, 28 Jun 2008 09:43:36 +0000 (10:43 +0100)]
Placate over-picky compiler

15 years agoNew tracks list can no longer contains dupes
Richard Kettlewell [Thu, 26 Jun 2008 19:40:01 +0000 (20:40 +0100)]
New tracks list can no longer contains dupes

15 years agoDisobedience: distribute changes to DISORDER_CONNECT as an event to
Richard Kettlewell [Thu, 26 Jun 2008 19:11:01 +0000 (20:11 +0100)]
Disobedience: distribute changes to DISORDER_CONNECT as an event to
things that test it.

15 years agoFix track name quoting. Oops l-(
Richard Kettlewell [Wed, 25 Jun 2008 20:26:00 +0000 (21:26 +0100)]
Fix track name quoting.  Oops l-(

15 years agoUse tracksort_init() throughout the CGI.
Richard Kettlewell [Tue, 24 Jun 2008 20:50:26 +0000 (21:50 +0100)]
Use tracksort_init() throughout the CGI.

15 years agoWhen listing newly added tracks, skip ones that are already gone.
Richard Kettlewell [Tue, 24 Jun 2008 20:42:37 +0000 (21:42 +0100)]
When listing newly added tracks, skip ones that are already gone.

15 years agoUse email_valid() to check email addresses throughout
Richard Kettlewell [Tue, 24 Jun 2008 20:19:06 +0000 (21:19 +0100)]
Use email_valid() to check email addresses throughout

15 years agoupdate CHANGES.html for last change
Richard Kettlewell [Mon, 23 Jun 2008 22:35:42 +0000 (23:35 +0100)]
update CHANGES.html for last change

15 years agoAllow tracks to be played off the recent list
Richard Kettlewell [Mon, 23 Jun 2008 22:34:36 +0000 (23:34 +0100)]
Allow tracks to be played off the recent list

15 years agoWeb interface now advertizes UTF-8 as a charset. This is a workaround
Richard Kettlewell [Mon, 23 Jun 2008 22:07:46 +0000 (23:07 +0100)]
Web interface now advertizes UTF-8 as a charset.  This is a workaround
for its current failure to SGML-quote non-ASCII characters correctly,
but is probably the most sensible choice anyway.

15 years agoDocument recent changes
Richard Kettlewell [Sun, 15 Jun 2008 17:43:30 +0000 (18:43 +0100)]
Document recent changes

15 years agoMerge the Disobedience rewrite.
Richard Kettlewell [Sun, 15 Jun 2008 17:25:23 +0000 (18:25 +0100)]
Merge the Disobedience rewrite.

15 years agoQuieten compiler
Richard Kettlewell [Sun, 15 Jun 2008 17:09:42 +0000 (18:09 +0100)]
Quieten compiler

15 years agoDe-dupe edit menu callbacks.
Richard Kettlewell [Sun, 15 Jun 2008 16:40:59 +0000 (17:40 +0100)]
De-dupe edit menu callbacks.

15 years agoDe-dupe choose_{next,prev}_clicked.
Richard Kettlewell [Sun, 15 Jun 2008 16:20:55 +0000 (17:20 +0100)]
De-dupe choose_{next,prev}_clicked.

15 years agoCorrect sense of parse_rights().
Richard Kettlewell [Sun, 15 Jun 2008 15:50:35 +0000 (16:50 +0100)]
Correct sense of parse_rights().

15 years agoMake logevent keys consistently use '_' again.
Richard Kettlewell [Sun, 15 Jun 2008 15:46:27 +0000 (16:46 +0100)]
Make logevent keys consistently use '_' again.

15 years agoDisobedience checks server version and expects rights-changed
Richard Kettlewell [Sun, 15 Jun 2008 15:01:33 +0000 (16:01 +0100)]
Disobedience checks server version and expects rights-changed
notifications if server is version 4.1 or better.

15 years agoBuild fixes for GCC 4.1
Richard Kettlewell [Sun, 15 Jun 2008 14:39:54 +0000 (15:39 +0100)]
Build fixes for GCC 4.1

15 years agoMerge from 4.0 branch
Richard Kettlewell [Sun, 15 Jun 2008 13:58:12 +0000 (14:58 +0100)]
Merge from 4.0 branch

15 years agoCorrected web browser linkage from Disobedience 4.0.2
Richard Kettlewell [Sun, 15 Jun 2008 13:45:06 +0000 (14:45 +0100)]
Corrected web browser linkage from Disobedience

15 years agoSend clients a rights-changed message when their rights change.
Richard Kettlewell [Sun, 15 Jun 2008 13:19:11 +0000 (14:19 +0100)]
Send clients a rights-changed message when their rights change.

15 years agouser-* event log messages for benefit of admin users. Still need a
Richard Kettlewell [Sun, 15 Jun 2008 12:08:16 +0000 (13:08 +0100)]
user-* event log messages for benefit of admin users.  Still need a
message telling a user their own rights have changed.

15 years agoadd a TODO
Richard Kettlewell [Sun, 15 Jun 2008 11:42:04 +0000 (12:42 +0100)]
add a TODO

15 years agoChoose next/prev/cancel button teleport focus back to the main view,
Richard Kettlewell [Sun, 15 Jun 2008 11:38:52 +0000 (12:38 +0100)]
Choose next/prev/cancel button teleport focus back to the main view,
so that typahead find still works.

15 years agoMerge from disorder.4.0 up to 4.0.1
Richard Kettlewell [Sun, 15 Jun 2008 11:32:54 +0000 (12:32 +0100)]
Merge from disorder.4.0 up to 4.0.1

15 years agoDisOrder 4.0.1. 4.0.1
Richard Kettlewell [Sun, 15 Jun 2008 11:30:57 +0000 (12:30 +0100)]
DisOrder 4.0.1.

15 years agoUpdate READMEs for correct CGI URL.
Richard Kettlewell [Sun, 15 Jun 2008 11:17:08 +0000 (12:17 +0100)]
Update READMEs for correct CGI URL.

15 years agoMake postinst group modification call less quiet.
Richard Kettlewell [Sun, 15 Jun 2008 11:12:01 +0000 (12:12 +0100)]
Make postinst group modification call less quiet.

15 years agotypo fix
Richard Kettlewell [Sat, 14 Jun 2008 19:39:50 +0000 (20:39 +0100)]
typo fix

15 years agoSaner ^F behaviour.
Richard Kettlewell [Sat, 14 Jun 2008 19:29:48 +0000 (20:29 +0100)]
Saner ^F behaviour.

15 years agoTypeahead find for Disobedience searching. This is implemented by
Richard Kettlewell [Sat, 14 Jun 2008 19:23:05 +0000 (20:23 +0100)]
Typeahead find for Disobedience searching.  This is implemented by
hackily redirecting most keyboard events sent to the main view to the
search entry.

^F focuses it, which is probably wrong given you can type into it
anyway.  ^G moves to the next match, which is why ^F focusing is
wrong, because ^G breaks when you're focused on the search entry.

The next/prev buttons (and ^G) now loop when you reach the end.

15 years agoqueue() now uses the resolved name if available. This is looked up in
Richard Kettlewell [Sat, 14 Jun 2008 17:27:14 +0000 (18:27 +0100)]
queue() now uses the resolved name if available.  This is looked up in
the usual lookup.c way, so it raises a lookup-completed event on
completion and therefore causes the choose screen to be updated using
the correct name for the track.

15 years agoUpdate choose screen when a rescan completes (and drive initial fill
Richard Kettlewell [Sat, 14 Jun 2008 17:15:51 +0000 (18:15 +0100)]
Update choose screen when a rescan completes (and drive initial fill
off this).

15 years agoSuppress GTK's built-in (in this case nonfunctional) typeahead find
Richard Kettlewell [Sat, 14 Jun 2008 14:53:24 +0000 (15:53 +0100)]
Suppress GTK's built-in (in this case nonfunctional) typeahead find

15 years agosearch box has moved!
Richard Kettlewell [Sat, 14 Jun 2008 14:49:50 +0000 (15:49 +0100)]
search box has moved!

15 years agoAuto-collapse rows that were only expanded to display search results.
Richard Kettlewell [Sat, 14 Jun 2008 14:47:10 +0000 (15:47 +0100)]
Auto-collapse rows that were only expanded to display search results.
If you manually collapse such a row (even if you then expand it before
changing the search terms) neither it nor any of its ancestors will be
auto-collapsed.  See code comments for further discussion.

15 years agochoose_populate() always raise choose-more-tracks rather than only
Richard Kettlewell [Sat, 14 Jun 2008 14:42:13 +0000 (15:42 +0100)]
choose_populate() always raise choose-more-tracks rather than only
raising choose-inserted-tracks if it inserted new rows.  The search
auto-expansion logic depends on being notified after all the
expansions it requested are completed, not just the ones that actually
created new rows.

15 years agoAccount choose_list_in_flight correctly.
Richard Kettlewell [Sat, 14 Jun 2008 13:25:22 +0000 (14:25 +0100)]
Account choose_list_in_flight correctly.

15 years agoDon't steal ^A from search text entry widget
Richard Kettlewell [Sat, 14 Jun 2008 13:16:41 +0000 (14:16 +0100)]
Don't steal ^A from search text entry widget

15 years agoBetter visual feedback in users window: the apply button is
Richard Kettlewell [Sat, 14 Jun 2008 12:52:34 +0000 (13:52 +0100)]
Better visual feedback in users window: the apply button is
desensitized if it will not work an an error message is constantly
displayed.  If there are multiple errors you only get one, but they go
in vertical order of text entry fields.

15 years agomore TODOs
Richard Kettlewell [Sat, 14 Jun 2008 11:48:39 +0000 (12:48 +0100)]
more TODOs

15 years agoMention CGI URL in README.
Richard Kettlewell [Sat, 14 Jun 2008 11:39:25 +0000 (12:39 +0100)]
Mention CGI URL in README.

15 years agoSorting for Disobedience track chooser. A rewrite: we now do a single
Richard Kettlewell [Fri, 13 Jun 2008 13:51:31 +0000 (14:51 +0100)]
Sorting for Disobedience track chooser.  A rewrite: we now do a single
concurrent pass over the new data and the existing tree rows,
inserting and deleting as required, maintaining sort order at all
times.

15 years agoMove track sorting to its own function. Only choose_populate() uses
Richard Kettlewell [Fri, 13 Jun 2008 13:01:57 +0000 (14:01 +0100)]
Move track sorting to its own function.  Only choose_populate() uses
it currently (and has some work left); the CGI will be modified to use
it in due course.

15 years agoUpdate choose rows when lookups complete. Makes lengths appear
Richard Kettlewell [Fri, 13 Jun 2008 10:41:33 +0000 (11:41 +0100)]
Update choose rows when lookups complete.  Makes lengths appear
essentially immediately (at least with a fast local server) rather
than after a delay.

15 years agoInfrastructure for marking the playing track in a different color; not
Richard Kettlewell [Fri, 13 Jun 2008 10:40:53 +0000 (11:40 +0100)]
Infrastructure for marking the playing track in a different color; not
currently enabled.

15 years agoRearrange choose columns. The track name column is now last by
Richard Kettlewell [Fri, 13 Jun 2008 10:02:05 +0000 (11:02 +0100)]
Rearrange choose columns.  The track name column is now last by
default so that if it gets too wide you don't lose the others.  It is
also marked as the expander column, so the expander widgets appear in
a more sensible place.

15 years agoDelay search initiation for a bit after the last keypress, to avoid
Richard Kettlewell [Fri, 13 Jun 2008 09:58:37 +0000 (10:58 +0100)]
Delay search initiation for a bit after the last keypress, to avoid
lots of bogus searches being started before the user has finished
typing.

15 years agoMake next/prev search result buttons work.
Richard Kettlewell [Fri, 13 Jun 2008 09:26:41 +0000 (10:26 +0100)]
Make next/prev search result buttons work.

Gentler color for search results.

15 years agoTODOs for choose-search.c
Richard Kettlewell [Thu, 12 Jun 2008 19:34:29 +0000 (20:34 +0100)]
TODOs for choose-search.c

15 years agoWhen listing a directory which contains an alias for a track in that
Richard Kettlewell [Thu, 12 Jun 2008 19:29:33 +0000 (20:29 +0100)]
When listing a directory which contains an alias for a track in that
directory, it is now the alias that is skipped rather than the real
name.  None of the possibilities here are very attractive but this one
seems to be easier to write UIs against.

15 years agoMake all search results visible.
Richard Kettlewell [Thu, 12 Jun 2008 19:27:42 +0000 (20:27 +0100)]
Make all search results visible.

15 years agoStart reimplenting search in Disobedience choose tabs. Results are
Richard Kettlewell [Thu, 12 Jun 2008 16:24:47 +0000 (17:24 +0100)]
Start reimplenting search in Disobedience choose tabs.  Results are
highlighted correctly but only if they are already visible.  Focus is
still a bit wonky and ^A doesn't reliably go to the right place.

15 years agoTidy up
Richard Kettlewell [Thu, 12 Jun 2008 15:18:18 +0000 (16:18 +0100)]
Tidy up

15 years agoEliminate choosedata structure, using extra treestore columns instead.
Richard Kettlewell [Thu, 12 Jun 2008 15:17:29 +0000 (16:17 +0100)]
Eliminate choosedata structure, using extra treestore columns instead.

15 years agoadd a TODO
Richard Kettlewell [Thu, 12 Jun 2008 13:05:00 +0000 (14:05 +0100)]
add a TODO

15 years agoPlaying checkbox in Disobedience choose tab is now only visible for
Richard Kettlewell [Thu, 12 Jun 2008 12:49:06 +0000 (13:49 +0100)]
Playing checkbox in Disobedience choose tab is now only visible for
tracks, and can be used to add the track to the queue.

15 years agoDisplay track length and playing state in Disobedience choose tab. We
Richard Kettlewell [Thu, 12 Jun 2008 12:25:14 +0000 (13:25 +0100)]
Display track length and playing state in Disobedience choose tab.  We
enable rules in this tab to allow for easy reading across now that
there's more than one column.

15 years agoSaner selection choice for popup menus.
Richard Kettlewell [Thu, 12 Jun 2008 11:35:40 +0000 (12:35 +0100)]
Saner selection choice for popup menus.
- if the clicked row is already selected, leave the selection as it is
- if the click is not on any row, leave the selection as it is
- if the clicked row is not selected, select ONLY that row

15 years agoDisobedience choose 'select all' now only selects tracks (and
Richard Kettlewell [Thu, 12 Jun 2008 11:28:45 +0000 (12:28 +0100)]
Disobedience choose 'select all' now only selects tracks (and
deselects directories).

15 years agoSet edit menu sensitivity when it is shown rather than when we change tab.
Richard Kettlewell [Thu, 12 Jun 2008 10:57:34 +0000 (11:57 +0100)]
Set edit menu sensitivity when it is shown rather than when we change tab.

15 years agoComplete choose tab popup support (also middle-click).
Richard Kettlewell [Thu, 12 Jun 2008 10:40:32 +0000 (11:40 +0100)]
Complete choose tab popup support (also middle-click).

15 years agoStart on popup menu for Disobedience choose tab. Mostly this is
Richard Kettlewell [Thu, 12 Jun 2008 10:18:39 +0000 (11:18 +0100)]
Start on popup menu for Disobedience choose tab.  Mostly this is
restructing; the per-tab callbacks for the edit menu are now shared
with the popup menu, eliminating a lot of fiddly shims, and various
things are split out into their own files.

15 years agoStart rewriting Disobedience choose tab using native tree. Much
Richard Kettlewell [Thu, 12 Jun 2008 09:32:34 +0000 (10:32 +0100)]
Start rewriting Disobedience choose tab using native tree.  Much
simpler so far though there is a shopping list of TODOs left yet.

15 years agoDocumentation update
Richard Kettlewell [Wed, 11 Jun 2008 17:18:19 +0000 (18:18 +0100)]
Documentation update

15 years agoDrag and drop queue rearrangement. Currently you can only move one
Richard Kettlewell [Wed, 11 Jun 2008 17:10:29 +0000 (18:10 +0100)]
Drag and drop queue rearrangement.  Currently you can only move one
track at a time, which is a regression, but it's what the built-in
support gives us, unfortunately.

15 years agoDon't allocate per-queue tabtype. In fact the allocate version broken
Richard Kettlewell [Wed, 11 Jun 2008 15:55:14 +0000 (16:55 +0100)]
Don't allocate per-queue tabtype.  In fact the allocate version broken
intermittently (because GTK+ stupidly hides pointers from the GC) but
the change is to stop allocating altogether rather than to use
g_malloc().

15 years agoUpdate queues by rearranging rows, rather than by blowing them away
Richard Kettlewell [Wed, 11 Jun 2008 14:17:19 +0000 (15:17 +0100)]
Update queues by rearranging rows, rather than by blowing them away
and reinstalling them.

Also, ensure that the queue never shows the playing track as in the
queue (by refetching until a good answer arrives).

15 years agoMake queue columns reorderable
Richard Kettlewell [Wed, 11 Jun 2008 12:00:05 +0000 (13:00 +0100)]
Make queue columns reorderable

15 years agoPlay tracks from popup in new tracks list. The same code would work
Richard Kettlewell [Wed, 11 Jun 2008 11:40:02 +0000 (12:40 +0100)]
Play tracks from popup in new tracks list.  The same code would work
for recent if anyone wanted it, but it seems odd to want to play
just-played tracks, so it's not used for that currently.

15 years agoRestore scratching from popup menu.
Richard Kettlewell [Wed, 11 Jun 2008 11:35:53 +0000 (12:35 +0100)]
Restore scratching from popup menu.

15 years agoRemove tracks now works again. queue_entry pointers are now stashed
Richard Kettlewell [Wed, 11 Jun 2008 11:31:12 +0000 (12:31 +0100)]
Remove tracks now works again.  queue_entry pointers are now stashed
in the list store, making this rather easier.

15 years agoDisobedience memory/widget debugging stuff has thoroughly rotted, so
Richard Kettlewell [Wed, 11 Jun 2008 10:50:02 +0000 (11:50 +0100)]
Disobedience memory/widget debugging stuff has thoroughly rotted, so
rip it out.

15 years agoLeave a comment about iffy icon sensivity; it's definitely setting the
Richard Kettlewell [Wed, 11 Jun 2008 10:21:38 +0000 (11:21 +0100)]
Leave a comment about iffy icon sensivity; it's definitely setting the
right thing so I think this is a GTK+ bug.

15 years agoRefetch queue on pause/resume so that start times are always right (or
Richard Kettlewell [Wed, 11 Jun 2008 09:57:25 +0000 (10:57 +0100)]
Refetch queue on pause/resume so that start times are always right (or
absent if unknowable).

15 years agoFix edit menu (and simplify its implementation a bit).
Richard Kettlewell [Wed, 11 Jun 2008 09:53:11 +0000 (10:53 +0100)]
Fix edit menu (and simplify its implementation a bit).

15 years agoSelect hovered track if nothing is selected on right click over queue etc.
Richard Kettlewell [Tue, 10 Jun 2008 21:46:31 +0000 (22:46 +0100)]
Select hovered track if nothing is selected on right click over queue etc.

15 years agoColumns are now resizable and wide columns are ellipsized. Columns
Richard Kettlewell [Tue, 10 Jun 2008 21:33:53 +0000 (22:33 +0100)]
Columns are now resizable and wide columns are ellipsized.  Columns
more reliably get their right width.

NB http://bugzilla.gnome.org/show_bug.cgi?id=316087 applies here.
Amazingly, GTK+ column resizing is broken nearly three years after
someone reported it (and presumably in fact longer than that).

15 years agoAlternating row colors
Richard Kettlewell [Tue, 10 Jun 2008 21:03:49 +0000 (22:03 +0100)]
Alternating row colors

15 years agoFix queue/etc popup menu
Richard Kettlewell [Tue, 10 Jun 2008 21:01:46 +0000 (22:01 +0100)]
Fix queue/etc popup menu

15 years agoRewrite queue/recent/added to use native list widget.
Richard Kettlewell [Tue, 10 Jun 2008 20:13:25 +0000 (21:13 +0100)]
Rewrite queue/recent/added to use native list widget.

What works:
  - the tracks are displayed correctly
  - keyboard scrolling now works properly (at last!)

What doesn't work:
  - popup menu is broken
  - edit menu is unimplemented
  - drag+drop is unimplemented
  - columns are not resizable
  - ellipsization is off
  - no horizontal banding
  - probably lots of other things

15 years agoMove RTP check. This seems to improve matters - formerly the RTP
Richard Kettlewell [Mon, 9 Jun 2008 21:06:12 +0000 (22:06 +0100)]
Move RTP check.  This seems to improve matters - formerly the RTP
status was set before DISORDER_CONNECTED was, leading to a false
negative.  This is a bit of a voodoo-ish change l-(

15 years agoIcons now only get events that they are interested in.
Richard Kettlewell [Mon, 9 Jun 2008 19:57:58 +0000 (20:57 +0100)]
Icons now only get events that they are interested in.

15 years agoEncourage choose tab's input focus to the search box a bit. Really we
Richard Kettlewell [Mon, 9 Jun 2008 08:54:34 +0000 (09:54 +0100)]
Encourage choose tab's input focus to the search box a bit.  Really we
want up+down keys to go to the scrollable layout and everything else
to the search box but this is a start.

15 years agoProper calculation of scratch/remove rights
Richard Kettlewell [Mon, 9 Jun 2008 08:25:49 +0000 (09:25 +0100)]
Proper calculation of scratch/remove rights

15 years agoCheck rights for menu items too
Richard Kettlewell [Mon, 9 Jun 2008 08:21:36 +0000 (09:21 +0100)]
Check rights for menu items too

15 years agoSensitize icons according to current user rights. There's up to 10s
Richard Kettlewell [Mon, 9 Jun 2008 08:17:07 +0000 (09:17 +0100)]
Sensitize icons according to current user rights.  There's up to 10s
latency in rights taking effect, which is unavoidable given the server
currently doesn't tell us when they change.

15 years agoMerge from disorder.4.0
Richard Kettlewell [Mon, 9 Jun 2008 07:37:10 +0000 (08:37 +0100)]
Merge from disorder.4.0