diff --git a/CREDITS b/CREDITS index ddab9b2fe5..4460827045 100644 --- a/CREDITS +++ b/CREDITS @@ -184,8 +184,8 @@ Ruby PHP - Virtuoso may be linked against libphp4.so or libphp5.so to provide a - PHP hosting environment. + Virtuoso may be linked against libphp5.so to provide a PHP hosting + environment. PHP is distributed under the terms of the PHP License: diff --git a/README.WINDOWS b/README.WINDOWS index 65c5c8aa2e..e99fe7c5cb 100644 --- a/README.WINDOWS +++ b/README.WINDOWS @@ -116,7 +116,6 @@ Optional components * virtodbc - Virtuoso ODBC Driver * virtuoso_clr_t - .NET CLR-hosting server (requires .NET Framework SDK v1.1) * virtuoso_javavm_t - Java hosting server (requires Java SDK) - * virtuoso_php_t - PHP4 hosting server (requires PHP4 library) * virtuoso_sample_t - sample of the Virtuoso server with extensions * hosting_perl - Perl hosting plugin (requires Active Perl) * hosting_python - Python hosting plugin (requires Active Python) @@ -135,11 +134,11 @@ Building Virtuoso Open Source with Microsoft Visual Studio 2003 Building optional components ---------------------------- -PHP4 library notes +PHP5 library notes ------------------ -The following directories with the header files from the PHP4 source tree need -to be placed under /win32/php4/ : +The following directories with the header files from the PHP5 source tree need +to be placed under /win32/php5/ : * ext/ * main/ @@ -148,11 +147,6 @@ to be placed under /win32/php4/ : * win32/ * Zend/ -In the same directory (/win32/php4) you should also copy the following: - - * php4ts.dll - * php4ts.lib - * php_version.h Building the Virtuoso Open-Source Java hosting binary under Visual Studio 2003 ------------------------------------------------------------------------------ diff --git a/appsrc/ODS-Calendar/make_vad.sh b/appsrc/ODS-Calendar/make_vad.sh index 791bfeaab1..45712ac6fe 100755 --- a/appsrc/ODS-Calendar/make_vad.sh +++ b/appsrc/ODS-Calendar/make_vad.sh @@ -28,7 +28,7 @@ export LANG LC_ALL MODE=$1 LOGDIR=`pwd` -VERSION="1.6.46" +VERSION="1.6.47" LOGFILE="${LOGDIR}/vad_make.log" STICKER_DAV="vad_dav.xml" STICKER_FS="vad_filesystem.xml" diff --git a/appsrc/ODS-Calendar/www/css/style.css b/appsrc/ODS-Calendar/www/css/style.css index 7d5a4e49d6..1f19c6dbae 100644 --- a/appsrc/ODS-Calendar/www/css/style.css +++ b/appsrc/ODS-Calendar/www/css/style.css @@ -1324,7 +1324,8 @@ span.toolbarLabel position: relative; width: 100%; } -.chip * { +.chip * +{ -moz-user-select:none; } diff --git a/appsrc/ODS-Calendar/www/home.vspx b/appsrc/ODS-Calendar/www/home.vspx index 0cafc7f942..62bc2b3d9e 100644 --- a/appsrc/ODS-Calendar/www/home.vspx +++ b/appsrc/ODS-Calendar/www/home.vspx @@ -1602,16 +1602,25 @@ @@ -1894,7 +1903,14 @@ self.cPrivacy ); if (self.tv_status <> 'All') + { + if (self.tv_status = 'Not Completed') + { + control.ds_sql := control.ds_sql || ' and a.E_STATUS <> \'Completed\''; + } else { control.ds_sql := control.ds_sql || sprintf (' and a.E_STATUS = ''%s''', self.tv_status); + } + } self.sortChange (get_keyword ('t_sortColumn', e.ve_params), 'ts_order', 'ts_direction', self.ds); control.ds_sql := sprintf ('%s order by %s %s', control.ds_sql, self.ts_order, self.ts_direction); @@ -3014,7 +3030,7 @@ No Sharings', case when L = 0 then '' else 'none' end, M)); + http (sprintf ('No Sharings', case when L = 0 then 'run-in' else 'none' end, M)); ?> @@ -3306,8 +3322,8 @@ - - + + pick @@ -3317,8 +3333,8 @@ - - + + pick @@ -3328,8 +3344,8 @@ - - + + pick @@ -3372,7 +3388,7 @@ - + - + - > + No Sharings', case when L = 0 then '' else 'none' end, M)); + http (sprintf ('No Sharings', case when L = 0 then 'run-in' else 'none' end, M)); ?> @@ -3836,10 +3852,10 @@ Source name - + - + - + - + User @@ -3860,7 +3876,7 @@ - + Password @@ -4049,7 +4065,7 @@ - + User @@ -4057,7 +4073,7 @@ - + Password diff --git a/appsrc/ODS-Calendar/www/js/calendar.js b/appsrc/ODS-Calendar/www/js/calendar.js index a987a5acf6..3ba739892e 100644 --- a/appsrc/ODS-Calendar/www/js/calendar.js +++ b/appsrc/ODS-Calendar/www/js/calendar.js @@ -46,7 +46,6 @@ function vspxPost(fButton, fName, fValue, f2Name, f2Value, f3Name, f3Value) } // --------------------------------------------------------------------------- -// function submitEnter(e, fForm, fButton, fName, fValue, f2Name, f2Value, f3Name, f3Value) { var keyCode; @@ -252,7 +251,6 @@ function showTag(tag) } // --------------------------------------------------------------------------- -// // sortSelect(select_object) // Pass this function a SELECT object and the options will be sorted // by their text (display) values @@ -279,7 +277,6 @@ function sortSelect(box) } // --------------------------------------------------------------------------- -// function showTab(tabs, tabsCount, tabNo) { if ($(tabs)) @@ -309,7 +306,6 @@ function showTab(tabs, tabsCount, tabNo) } // --------------------------------------------------------------------------- -// function windowShow(sPage, width, height) { if (width == null) @@ -322,7 +318,6 @@ function windowShow(sPage, width, height) } // --------------------------------------------------------------------------- -// function calendarsShow(sPage, width, height) { if ($('ss_type_0').checked) @@ -333,7 +328,6 @@ function calendarsShow(sPage, width, height) } // --------------------------------------------------------------------------- -// function calendarsHelp(mode) { var T = ''; @@ -351,7 +345,29 @@ function calendarsHelp(mode) } // --------------------------------------------------------------------------- -// +function calendarPopup(fld, startValueFld, disableToFld) +{ + if (cPopup) + { + var startValue; + if (startValueFld) + startValue = ($v(fld)=='')?$v(startValueFld):null; + cPopup.disabledDatesExpression = ''; + if (disableToFld && $v(disableToFld) != '') + { + var disableToDate = getDateFromFormat($v(disableToFld), CAL.dateFormat); + if (disableToDate != 0) + { + disableToDate = new Date(disableToDate); + disableToDate.setDate(disableToDate.getDate()-1); + cPopup.addDisabledDates(null, formatDate(disableToDate, 'yyyy-MM-dd')); + } + } + cPopup.select($(fld), fld+'_select', CAL.dateFormat, startValue); + } +} + +// --------------------------------------------------------------------------- function rowSelect(obj) { var submitMode = false; @@ -407,7 +423,6 @@ function rowSelect(obj) } // --------------------------------------------------------------------------- -// function rowSelectValue(dstField, srcField, singleMode) { if (singleMode) @@ -430,7 +445,6 @@ function rowSelectValue(dstField, srcField, singleMode) } // --------------------------------------------------------------------------- -// // Menu functions // // --------------------------------------------------------------------------- @@ -449,7 +463,6 @@ function menuMouseIn(a, b) } // --------------------------------------------------------------------------- -// function menuMouseOut(event) { var current, related; @@ -468,7 +481,6 @@ function menuMouseOut(event) } // --------------------------------------------------------------------------- -// function menuPopup(button, menuID) { if (document.getElementsByTagName && !document.all) @@ -507,18 +519,15 @@ function menuPopup(button, menuID) } // --------------------------------------------------------------------------- -// // Hiddens functions // // --------------------------------------------------------------------------- -// function createHidden(frm_name, fld_name, fld_value) { createHidden2(document, frm_name, fld_name, fld_value); } // --------------------------------------------------------------------------- -// function createHidden2(doc, frm_name, fld_name, fld_value) { var hidden; @@ -539,7 +548,6 @@ function createHidden2(doc, frm_name, fld_name, fld_value) } // --------------------------------------------------------------------------- -// function changeExportName(fld_name, from, to) { var obj = document.forms['F1'].elements[fld_name]; @@ -548,7 +556,6 @@ function changeExportName(fld_name, from, to) } // --------------------------------------------------------------------------- -// function updateChecked (obj, objName) { var objForm = obj.form; @@ -577,7 +584,6 @@ function updateChecked (obj, objName) } // --------------------------------------------------------------------------- -// function addChecked (form, txt, selectionMsq) { if (!anySelected (form, txt, selectionMsq, 'confirm')) @@ -626,7 +632,6 @@ function addChecked (form, txt, selectionMsq) } // --------------------------------------------------------------------------- -// function addTag(tag, objName) { var obj = document.F1.elements[objName]; @@ -649,7 +654,6 @@ function addTag(tag, objName) } // --------------------------------------------------------------------------- -// function addCheckedTags (openerName, checkName) { if (window.opener.document.F1.elements[document.F1.elements[openerName].value]) @@ -883,9 +887,26 @@ function davBrowse (fld) } // --------------------------------------------------------------------------- -function changeComplete () +function changeComplete (obj) { - return; + obj = $(obj); + if (obj.name == 't_completed' && CAL.trim(obj.value) != '') + { + $('t_status').value = 'Completed'; + $('t_complete').value = '100'; + } + else if (obj.name == 't_status' && obj.value == 'Completed') + { + if (CAL.trim($('t_completed').value) == '') + $('t_completed').value = $('t_eventEndDate').value; + $('t_complete').value = '100'; + } + else if (obj.name == 't_complete' && obj.value == '100') + { + if (CAL.trim($('t_completed').value) == '') + $('t_completed').value = $('t_eventEndDate').value; + $('t_status').value = 'Completed'; + } } // --------------------------------------------------------------------------- diff --git a/appsrc/ODS-Calendar/www/template/template.vspx b/appsrc/ODS-Calendar/www/template/template.vspx index 9d4820a401..c8ae2d8c82 100644 --- a/appsrc/ODS-Calendar/www/template/template.vspx +++ b/appsrc/ODS-Calendar/www/template/template.vspx @@ -1,7 +1,7 @@