[X2Go-Commits] [x2goserver] branch master updated (c2182644 -> 08aa5e67)
git-admin at x2go.org
git-admin at x2go.org
Mon Dec 28 06:10:34 CET 2020
This is an automated email from the git hooks/post-receive script.
x2go pushed a change to branch master
in repository x2goserver.
from c2182644 x2goserver/sbin/x2gocleansessions: replace time check with PID validity check in check_pid and calls.
new 53293ac0 x2goserver/lib/x2goupdateoptionsstring: simplify a for loop a bit.
new 933b1fb9 x2goserver/lib/x2goupdateoptionsstring: fix typo in comment.
new 1112f972 x2goserver/lib/x2goupdateoptionsstring: fix typo in print statement syntax.
new f2203a79 debian/libx2go-server-perl.install: remove duplicated entry for X2Go/Utils.pm.
new a7c08751 x2goserver/lib/x2goupdateoptionsstring: update copyright notice.
new e5660cdb X2Go/Server/Agentt/: add new (stub) file NX/Options.pm as a library version of the options string manipulation code.
new 088e03f7 x2goserver/lib/x2goupdateoptionsstring: fix man page specification, options string was missing.
new 388d4e96 x2goserver/lib/x2goupdateoptionsstring: move most code to X2Go/Server/Agent/NX/Options.pm.
new b4937776 x2goserver/lib/x2goupdateoptionsstring: revert for loop simplification.
new 70005175 X2Go/Server/Agent/NX/Options.pm: add a lot of documentation.
new 56b1302d x2goserver/lib/x2goupdateoptionsstring: update synopsis to include the optional character of a plus sign, but a non-optional character for a minus sign.
new 386d9552 x2goserver/lib/x2goupdateoptionsstring: make clear that "additional parameters" are transformations.
new f70ada58 x2goserver/lib/x2goupdateoptionsstring: replace occurrences of "option string" with "options string".
new 6f553240 X2Go/Server/Agent/NX/Options.pm: replace occurrences of "option string" with "options string".
new 9aec8628 X2Go/Server/Agent/NX/Options.pm: document that duplicate keys in the input options string are possible and accepted, but actually discouraged and semantically redundant.
new cc5b3a51 X2Go/Server/Agent/NX/Options.pm: whitespace-only in comment.
new 7f136552 X2Go/Server/Agent/NX/Options.pm: add and use an enum-like construct as the internal mode selector for transforms.
new 19901172 X2Go/Server/Agent/NX/Options.pm: rename options parameter in transform_intermediate to intermediate.
new 80c7e3d0 X2Go/Server/Agent/NX/Options.pm: document key-value pairs with either empty keys or empty (!= non-existent) values.
new f71c2644 X2Go/Server/Agent/NX/Options.pm: make sure that intermediates never include undef entries.
new 5d84e9b6 x2goserver/lib/x2goupdateoptionsstring: switch to "X2Go/NX Agent" term and make it bold to denote something special.
new 38189f76 X2Go/Server/Agent/NX/Options.pm: add new function compact_intermediate, used to remove duplicated and empty elements.
new 37ddcda0 x2goserver/lib/x2goupdateoptionsstring: add new --compact/-c switch to enable the use of compactation.
new 078818ed x2goserver/lib/x2goupdateoptionsstring: document new --compact/-c switch.
new d088a26f x2goserver/lib/x2goupdateoptionsstring: split up GetOptionsFromArray () line.
new 050d662b X2Go/Server/Agent/NX/Options.pm: document the new compact_intermediate () function and its implications.
new 3c7a8f2f X2Go/Server/Agent/NX/Options.pm: fix some Perl Critic warnings and silence others.
new 83da2560 x2goserver/lib/x2goupdateoptionsstring: fix some Perl Critic warnings and silence others.
new d45745ee X2Go/Server/Agent/NX/Options.pm: grammar/typo fix in comment and improve a different comment.
new b4ac4e83 X2Go/Server/Agent/NX/Options.pm: avoid copying arrays if not necessary when passing to grep and map operations.
new 39c96020 X2Go/Server/Agent/NX/Options.pm: rework the lastly modified comment again, the changed explanation didn't match the reality.
new c91c6934 X2Go/Server/Agent/NX/Options.pm: fix typos in internal section links.
new d7a9fb7c X2Go/Server/Agent/NX/Options.pm: add newline before __END__, non-functional.
new 5e2aca5f {X2Go/Server/Agent/NX/Options.pm,x2goserver/lib/x2goupdateoptionsstring}: add =pod markers.
new ed0a723c {X2Go/Server/Agent/NX/Options.pm,x2goserver/lib/x2goupdateoptionsstring}: update AUTHOR sections with proper links.
new 83a01b13 X2Go/Server/Agent/NX/Options.pm: fix nxagent man page link.
new 012b9f6e x2goserver/lib/x2goupdateoptionsstring: considerably simplify while loop logic that iterates over transformations.
new d140599d {X2Go/Server/Agent/NX/Options.pm,x2goserver/lib/x2goupdateoptionsstring}: reformat/reflow so that each sentence starts on a proper line.
new 94fbba20 X2Go/Server/Agent/NX/Options.pm: replace "treat as" with "treat like".
new 5402756a X2Go/Server/Agent/NX/Options.pm: clear up "logically equivalent but logically very different" situation.
new eee93606 x2goserver/lib/x2goupdateoptionsstring: rename EXAMPLE section to EXAMPLES.
new 9b96cb0e x2goserver/lib/x2goupdateoptionsstring: add links to X2Go::Server::Agent::NX::Options documentation on option strings and transformations.
new d71b0c21 x2goserver/lib/x2goupdateoptionsstring: document how to cheat and just compact options strings.
new 9c38945e x2goserver/lib/x2goupdateoptionsstring: add options terminators to example calls.
new 2d52f9c7 X2Go/Server/Agent/NX/Options.pm: document that NUL bytes can only be URL-encoded, but that this not recommended.
new 505c2d45 X2Go/Server/Agent/NX/Options.pm: typo compactation => compaction.
new 0c1d69af X2Go/Server/Agent/NX/Options.pm: whitespace-only on fake enum-subs.
new be41aa97 X2Go/Server/Agent/NX/Options.pm: add empty BEGIN block in case it's ever needed (and if not, it shouldn't have any side effects anyway).
new 99e62cbb x2goserver/lib/x2goupdateoptionsstring: add space between link and punctuation character for easier copying.
new 85599d36 x2goserver/lib/x2goupdateoptionsstring: better document end-of-options terminator and highlight its importance.
new a56be1e1 X2Go/Server/Agent/NX/Options.pm: reflow some text.
new 951991f6 X2Go/Server/Agent/NX/Options.pm: document other non-printable characters.
new 4760d950 x2goserver/lib/x2goupdateoptionsstring: add comment regarding the shift () operations after sanitizing program options.
new 3ea7e0b6 X2Go/Server/Agent/NX/Options.pm: if ("string") in Perl does something weird in a dualvar sense - it converts a string to a number, which typically evaluates into a plain "0" if it doesn't start with any digits.
new d94c657e X2Go/Server/Agent/NX/Options.pm: make sure to add/modify elements with an empty string or undef key and an undef value as an empty hash.
new 61ee4509 x2goserver/lib/x2goupdateoptionsstring: fix parsing of multiple subsequent separating "--" pseudo-options.
new 55948b22 x2goserver/lib/x2goupdateoptionsstring: add debug print statements for in-depth examination of program options parsing.
new 76188eb6 x2goserver/lib/x2goupdateoptionsstring: add mode selection functionality.
new 43cfdcc1 X2Go/Server/Agent/NX/Options.pm: port modes "enum" subs to the constant pragma to make the code more consistent with the program wrapper.
new c5e3ee2a {X2Go/Server/Agent/NX/Options.pm,x2goserver/lib/x2goupdateoptionsstring}: update Perl critic overrides to allow the constant pragma and document it and other overrides (unless they are self-explanatory).
new 34e08f20 x2goserver/lib/x2goupdateoptionsstring: rework mode selection, split out abbreviation parsing into a separate function to take out nesting complexity.
new 992de8b5 debian/changelog: typo and whitespace fixes.
new 0b759cd9 debian/changelog: fixup x2goserver/{lib,bin}/x2goupdateoptionsstring.
new 486611db {X2Go/Server/Agent/NX/Options.pm,x2goserver/bin/x2goupdateoptionsstring}: fix/silence a few Perl::Critic warnings.
new ba4fef7c x2goserver/bin/x2goupdateoptionsstring: typo fix in output message only.
new 6c6f5ba8 x2goserver/bin/x2goupdateoptionsstring: remove obsolete comment, we're not using a do block/do-while loop any longer.
new 325121d9 X2Go/Server/Agent/NX/Options.pm: undef can't be referenced, so adjust/fix the comments.
new 42099742 x2goserver/bin/x2goupdateoptionsstring: more typo fixes in output messages only.
new fd76f96d x2goserver/bin/x2goupdateoptionsstring: generalize code looping through program arguments and split out transformation operation into own subroutine.
new 39d02690 {X2Go/Server/Agent/NX/Options.pm,x2goserver/bin/x2goupdateoptionsstring}: enable Unicode handling, as far as possible.
new 0221e42c {X2Go/Server/Agent/NX/Options.pm,x2goserver/bin/x2goupdateoptionsstring}: fatalize text coding errors.
new cc374ff7 x2goserver/bin/x2goupdateoptionsstring: sanitize/convert data in @ARGV.
new 74fe2336 x2goserver/bin/x2goupdateoptionsstring: add non-functional extraction mode.
new e3c0c52d x2goserver/bin/x2goupdateoptionsstring: fix syntax and strict mode errors.
new 1be4e179 X2Go/Server/Agent/NX/Options.pm: simplify error handling by splitting intermediate checking out into a separate subroutine.
new 1e81d805 X2Go/Server/Agent/NX/Options.pm: rename $options variable to $intermediate in intermediate_to_string () for internal consistency.
new 03840dc1 X2Go/Server/Agent/NX/Options.pm: document that subroutines and constants that are not marked for export are internal and should not be used.
new 9a22f595 X2Go/Server/Agent/NX/Options.pm: add extract_element subroutine, used to extract key-value pairs.
new cfceb86c x2goserver/bin/x2goupdateoptionsstring: correctly use MIME::Base64.
new 1eb1ca4f x2goserver/bin/x2goupdateoptionsstring: actually implement extraction mode.
new db1fd92a x2goserver/bin/x2goupdateoptionsstring: don't encode/decode in-place.
new 354f6ad1 {X2Go/Server/Agent/NX/Options.pm,x2goserver/bin/x2goupdateoptionsstring}: explicitly use package foreign package names all across the code for consistency.
new 7219322e x2goserver/bin/x2goupdateoptionsstring: fix typos in documentation and reword misinterpreted-as-options section.
new 3b08baf4 x2goserver/bin/x2goupdateoptionsstring: document mode selection and extraction mode.
new 8258288e x2goserver/bin/x2goupdateoptionsstring: fix error handling for kv-pair extraction.
new 3e4b3132 x2goserver/bin/x2goupdateoptionsstring: add base64 encode and decode helpers, add new --base64 parameter that enabled global use of base64.
new 4a7da0ac X2Go/Server/Agent/NX/Options.pm: actually check for a specific value in the kv-pair filter function if so specified.
new 8c4d2205 x2goserver/bin/x2goupdateoptionsstring: extend extraction example for how to check for full key-value pair combinations.
new 315ddc33 x2goserver/bin/x2goupdateoptionsstring: document the new base6 pseudo-mode.
new 3ccb18ed x2goserver/bin/x2goupdateoptionsstring: an equal sign or space character is mandatory after the -m or --mode switch.
new d49f15ab X2Go/Server/Agent/NX/Options.pm: document key-value pair extraction.
new 09b5078c x2goserver/bin/x2goupdateoptionsstring: fix some Perl::Critic warnings.
new 6a1db509 x2goserver/bin/x2goupdateoptionsstring: encode/decode to/from shell locale.
new 8560fd66 x2goserver.spec: add dependency upon perl(Encode::Locale) for older distros.
new ed617885 x2goserver/bin: rename x2goupdateoptionsstring to x2gooptionsstring.
new 50a0f102 x2goserver/Makefile: rename x2goupdateoptionsstring to x2gooptionsstring.
new 319d4cd9 debian/x2goserver.manpages: rename x2goupdateoptionsstring to x2gooptionsstring.
new ea00c887 debian/x2goserver.install: rename x2goupdateoptionsstring to x2gooptionsstring.
new 08aa5e67 x2goserver/bin/x2gooptionsstring: rename x2goupdateoptionsstring to x2gooptionsstring.
The 99 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
X2Go/Server/Agent/NX/Options.pm | 1250 ++++++++++++++++++++++++++++++++
debian/changelog | 204 ++++++
debian/libx2go-server-perl.install | 1 -
debian/x2goserver.install | 2 +-
debian/x2goserver.manpages | 2 +-
x2goserver.spec | 3 +
x2goserver/Makefile | 2 +-
x2goserver/bin/x2gooptionsstring | 1119 ++++++++++++++++++++++++++++
x2goserver/bin/x2goupdateoptionsstring | 1016 --------------------------
9 files changed, 2579 insertions(+), 1020 deletions(-)
create mode 100644 X2Go/Server/Agent/NX/Options.pm
create mode 100755 x2goserver/bin/x2gooptionsstring
delete mode 100755 x2goserver/bin/x2goupdateoptionsstring
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2goserver.git
More information about the x2go-commits
mailing list