Make Evergreen Perl modules installable via Module::Build to match OpenSRF Build.PL gives us an install-time check on dependencies; right now the required versions are not set, but we can update these easily to start catching some of the problematic modules that have tripped sites up in the past. Build.PL really seems to want a top-level "OpenILS.pm" so add a placeholder accordingly. Adjust references to /src/perlmods/ to /src/perlmods/lib/ even though a number of the affected scripts are probably cruft. Use autoconf to provide the default paths in O:WWW:Web and O:WWW:Method; next step is probably to teach autoconf to ask Build.PL to do that for us to make the OpenILS Perl modules more independent. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19340 dcc99617-32d9-48b4-a31d-7c20da2025e4
add class/instance methods for checking required-ness and validity of an object field in perl FM implementation; also fixing typo git-svn-id: svn://svn.open-ils.org/ILS/trunk@16556 dcc99617-32d9-48b4-a31d-7c20da2025e4
add required IDL flag and validation regexp support git-svn-id: svn://svn.open-ils.org/ILS/trunk@16553 dcc99617-32d9-48b4-a31d-7c20da2025e4
field array position is determined by position in the IDL. dynamically generate isnew/ischanged/isdeleted fields and push them onto the end of the list of fields. For now, if isnew/ischanged/isdeleted fields exist in the IDL, they are ignored git-svn-id: svn://svn.open-ils.org/ILS/trunk@13022 dcc99617-32d9-48b4-a31d-7c20da2025e4
When loading the IDL code in C or Perl: generate the array_positions based on the sequence in which the fields appear in the IDL file (rather than from attributes in the <field> elements). In most cases this change will make no difference, because the fields appear in sequence. However for classes "brn" and "mvr" the sequences of fields in the IDL are scrambled. For those classes, this change will effectively renumber the fields. This commit does not affect the corresponding Python or Java code. So don't go editing the IDL yet to remove the array_position attributes. git-svn-id: svn://svn.open-ils.org/ILS/trunk@13015 dcc99617-32d9-48b4-a31d-7c20da2025e4
Fix the links in the Fieldmapper, which were borked whenever a class had only one link. This fix entailed a complete rewrite of the code that builds the fieldmapper structure, using XML::LibXML instead of XML::Simple. git-svn-id: svn://svn.open-ils.org/ILS/trunk@13013 dcc99617-32d9-48b4-a31d-7c20da2025e4
adding controller intellegence to Fieldmapper.pm and Event.pm git-svn-id: svn://svn.open-ils.org/ILS/trunk@12335 dcc99617-32d9-48b4-a31d-7c20da2025e4
teaching everyone how to note the pkey delete restriction policy for specific classes git-svn-id: svn://svn.open-ils.org/ILS/trunk@12091 dcc99617-32d9-48b4-a31d-7c20da2025e4
add links to the fm class structure git-svn-id: svn://svn.open-ils.org/ILS/trunk@11942 dcc99617-32d9-48b4-a31d-7c20da2025e4
quiet a needless but annoying warning git-svn-id: svn://svn.open-ils.org/ILS/trunk@11436 dcc99617-32d9-48b4-a31d-7c20da2025e4
moved key attribute from the set of KeyAttrs to a ValueAttr. XML::Simple as of version 2.18 forces uniquesness on KeyAttrs git-svn-id: svn://svn.open-ils.org/ILS/trunk@9793 dcc99617-32d9-48b4-a31d-7c20da2025e4
Typo in debug output git-svn-id: svn://svn.open-ils.org/ILS/trunk@8472 dcc99617-32d9-48b4-a31d-7c20da2025e4
Patch from Dan Scott to move JSON to OpenSRF::Utils::JSON: I noticed back when I was first installing OpenSRF that it includes a module, JSON.pm, that exists at the root level of the package directories. This would be fine, except it conflicts with a CPAN module that is also named JSON, which confuses the CPAN installer when you check for upgrades and conceivably could lead to a broken system. I suggested to Mike that it would probably make sense to move the OpenSRF version of the module into the OpenSRF/Utils/ package namespace, and he agreed. Of course, there are ramifications throughout the code, so I've tried to be extra-careful in catching and correcting all of the places where the use of this module surfaces in both OpenSRF and Evergreen. git-svn-id: svn://svn.open-ils.org/ILS/trunk@7503 dcc99617-32d9-48b4-a31d-7c20da2025e4
adding Selector class method git-svn-id: svn://svn.open-ils.org/ILS/trunk@6240 dcc99617-32d9-48b4-a31d-7c20da2025e4
updates ... see diff git-svn-id: svn://svn.open-ils.org/ILS/trunk@5817 dcc99617-32d9-48b4-a31d-7c20da2025e4
adding Table() class method git-svn-id: svn://svn.open-ils.org/ILS/trunk@5011 dcc99617-32d9-48b4-a31d-7c20da2025e4
making xml::simple happy when run from the sip-server git-svn-id: svn://svn.open-ils.org/ILS/trunk@4998 dcc99617-32d9-48b4-a31d-7c20da2025e4
telling XML::Simple to shut up git-svn-id: svn://svn.open-ils.org/ILS/trunk@4958 dcc99617-32d9-48b4-a31d-7c20da2025e4
making xmlrpc hashy git-svn-id: svn://svn.open-ils.org/ILS/trunk@4855 dcc99617-32d9-48b4-a31d-7c20da2025e4
adding Identity method for finding the pkey git-svn-id: svn://svn.open-ils.org/ILS/trunk@4845 dcc99617-32d9-48b4-a31d-7c20da2025e4