Dev (#6) - Contributions (#24) - Message List

Contributions
 unsolved

I wanted to get an idea about what parts of CWiid, if any, others are working on. If you've got anything in the works, let me know here, and accept the ticket if there's one for your task.

  • Message #95

    For the record, I added a patch to ticket:5.

  • Message #133

    I'm working on ticket 17. I should have patches uploaded shortly.

    • Message #134

      I added a patch that solves ticket 17 for wminput. Let me know if you like the way I did it and I'll go ahead and do it for the other command line programs.

      • Message #137

        Nice - you implemented long options. 2 notes:

        • Pass in the version number from the configure script. See how it's done in wmgui/Makefile.in.
        • Do we need a separate function for usage? It looks like just a longer string, right? Calling printf(USAGE,...) from main makes it easier to pass in argv[1] or whatever else might be necessary.
        • Message #139

          I'll update it to get the version number from the script and update the patch.

          As far as the separate function for usage I did it this way because it's the way GNU system utils do it. I think it would also be easier to maintain if the help output gets longer with more command line options added. Also, the GNU standards say the --help output should be a quick synopsis of the program and how to use it, so there shouldn't be a need to do anything fancy. If the user needs anything beyond the simple explanation they should see the man page for specific commands.

          That's my view on the separate function for the --help output. I can change it back to calling printf(USAGE,...) and just have USAGE be a longer string if you would like.

          • Message #140

            The output for --help you have is fine, I was just asking about having a separate function for it. Not a big deal, really - what you have looks good to me. I'll apply it sometime over the next week (after I commit a bunch of changes I've got in my working directory). Thanks for your help.

            • Message #142

              Saw the patch for lswm, as well - don't think I'm ignoring you, as soon as I have time to poke my head out of the sand that is Python plugins (not to mention work and school), I'll apply them.

              • Message #143

                don't worry about it. In fact been wanting to play with the new python stuff as well.

Attachments

No attachments created.