Re: [Denemo-devel] Release 1.0.2

2013-05-06 Thread Jeremiah Benham
On Sun, May 05, 2013 at 05:55:00PM +0100, Richard Shann wrote: > I have updated stable-1.0.2 to have the missing files and the > translations that have come in for this release. > Can you create a tarball and binaries from this branch now for final > sanity check? I uploaded the tarball to denemo.

Re: [Denemo-devel] Chord symbols

2013-05-06 Thread Richard Shann
On Mon, 2013-05-06 at 19:41 +0200, Andreas Schneider wrote: > I don't know how to pop up a dialog > for that. (d-GetUserInput "blah" "bar" "foo") returns what the user types. Richard ___ Denemo-devel mailing list Denemo-devel@gnu.org https://lists.g

Re: [Denemo-devel] Command generation mechanism

2013-05-06 Thread Éloi Rivard
I just tested creation and deletion of a branch. It works 2013/5/6 Richard Shann > On Mon, 2013-05-06 at 16:29 +0200, Éloi Rivard wrote: > > Also, the git philosophy is to have one branch per feature, and merge > > the branches when the feature has been reviewed and tested by the > > upstream,

[Denemo-devel] [bug #38822] Consistent behaviour and user interface across staff and clef directives/properties

2013-05-06 Thread Richard Shann
Follow-up Comment #8, bug #38822 (project denemo): >Shows another problem, on returning cancelled the message assumes there are no directives. this is fixed now. ___ Reply to this item at: _

Re: [Denemo-devel] Indentation (was Re: Command generation mechanism)

2013-05-06 Thread Richard Shann
On Mon, 2013-05-06 at 17:54 +0200, Éloi Rivard wrote: > I idented src and utils directories with indent -nut -l500, to use > tabs instead of spaces so the code displays the same on every editors, > and to not break lines after 80 columns. > > This is on the 'indent' branch. Let me know if it is ok

Re: [Denemo-devel] Indentation (was Re: Command generation mechanism)

2013-05-06 Thread Éloi Rivard
I idented src and utils directories with indent -nut -l500, to use tabs instead of spaces so the code displays the same on every editors, and to not break lines after 80 columns. This is on the 'indent' branch. Let me know if it is ok to you 2013/5/6 Éloi Rivard > That's what I mean :) > > > 20

Re: [Denemo-devel] Command generation mechanism

2013-05-06 Thread Éloi Rivard
Ok I have rights to write on the master branch. This is merged. 2013/5/6 Éloi Rivard > I just tested creation and deletion of a branch. It works > > > 2013/5/6 Richard Shann > >> On Mon, 2013-05-06 at 16:29 +0200, Éloi Rivard wrote: >> > Also, the git philosophy is to have one branch per featu

Re: [Denemo-devel] Command generation mechanism

2013-05-06 Thread Richard Shann
On Mon, 2013-05-06 at 16:29 +0200, Éloi Rivard wrote: > Also, the git philosophy is to have one branch per feature, and merge > the branches when the feature has been reviewed and tested by the > upstream, as you can see in github for example. Then the branch is > deleted. > It would be great if I

Re: [Denemo-devel] Command generation mechanism

2013-05-06 Thread Richard Shann
On Mon, 2013-05-06 at 16:14 +0200, Éloi Rivard wrote: > I updated the comment. > I would be happy to do this but I am not sure I have the rights to > write on the master branch. Have I ? Jeremiah has been taking care of all this stuff, he set up the eloi branch; you could always try to merge to ma

Re: [Denemo-devel] Command generation mechanism

2013-05-06 Thread Éloi Rivard
Well I have something in mind but I am not sure at which level it is compatible with denemo. The idea would basically be: - Each command has a set of tags (or categories) - Commands can be grouped, and belong to several groups. Groups can contain some other groups of commands. - Each group of co

Re: [Denemo-devel] Command generation mechanism

2013-05-06 Thread Richard Shann
Great - I tested this as a new user, getting your branch by git clone. Your standalone generator is working perfectly - slightly too perfectly inasmuch as the resulting commands.c is identical including the initial comment at the top of the file which needs now to point to the new generate_commands

Re: [Denemo-devel] Command generation mechanism

2013-05-06 Thread Richard Shann
On Mon, 2013-05-06 at 11:45 +0200, Éloi Rivard wrote: > > 3 - Adds a new "category" argument to register_command() > > what would the type of this argument be? > > > The category list ? yes - a list of strings? ... I think it will be worthwhile to discuss

Re: [Denemo-devel] Command generation mechanism

2013-05-06 Thread Éloi Rivard
This is pushed on eloi branch. Yep I use color-gcc for debugging but I forgot to reset gcc instead, this is fixed. 2013/5/6 Richard Shann > On Sun, 2013-05-05 at 20:42 +0200, Éloi Rivard wrote: > > > > > > > > See attached patch. utils/generate_commands creates the very same code > > than launc

Re: [Denemo-devel] Indentation (was Re: Command generation mechanism)

2013-05-06 Thread Éloi Rivard
That's what I mean :) 2013/5/6 Richard Shann > On Mon, 2013-05-06 at 11:27 +0200, Éloi Rivard wrote: > > Indent is a GNU program that let you indent your code the way you > > want: http://www.gnu.org/software/indent/ > > > > I think most of linux distributions have a package for this. > Ah, yes

Re: [Denemo-devel] Indentation (was Re: Command generation mechanism)

2013-05-06 Thread Richard Shann
On Mon, 2013-05-06 at 11:27 +0200, Éloi Rivard wrote: > Indent is a GNU program that let you indent your code the way you > want: http://www.gnu.org/software/indent/ > > I think most of linux distributions have a package for this. Ah, yes, I have it now, a separate package called indent ( :) ) on

[Denemo-devel] [bug #38822] Consistent behaviour and user interface across staff and clef directives/properties

2013-05-06 Thread Richard Shann
Follow-up Comment #7, bug #38822 (project denemo): 12] ... the escape key is bound to "OK" rather than "Cancel" src/lilydirectives.c: GtkWidget *dialog = gtk_dialog_new_with_buttons (_("Select Directive") this is fixed in git. Shows another problem, on returning cancelled the message assumes the

Re: [Denemo-devel] Indentation (was Re: Command generation mechanism)

2013-05-06 Thread Éloi Rivard
Indent is a GNU program that let you indent your code the way you want: http://www.gnu.org/software/indent/ I think most of linux distributions have a package for this. This let you chose the indentation policy you want (number of spaces, use of tabulations or not, braces at end of lines or at begi

Re: [Denemo-devel] Command generation mechanism

2013-05-06 Thread Richard Shann
On Sun, 2013-05-05 at 22:59 +0200, Éloi Rivard wrote: > If I want to add a "category" metada to commands, that may be > multiple, to allow some filter in the command manager. Should I : > > 1 - Edit actions/menus files and add some category tags > > 2 - Get the category field when parsing the xml

[Denemo-devel] Indentation (was Re: Command generation mechanism)

2013-05-06 Thread Richard Shann
Indentation is often terrible in Denemo - I don't seem to have any indent command - this hook seems to refer to one, what would that be? I am not sure that automatic re-indenting on commit will be good - anything altering the programmer's text is controversial, but I would be very happy to adopt a

Re: [Denemo-devel] Command generation mechanism

2013-05-06 Thread Richard Shann
On Sun, 2013-05-05 at 20:42 +0200, Éloi Rivard wrote: > > > > See attached patch. utils/generate_commands creates the very same code > than launching denemo with -DGENERATE_SOURCE_CODE > I indented some code in keyboard.c so some line have been changed but > the behavior is the s