Commit History

Author SHA1 Message Date
  Ivan Tcholakov a5d9abff6b Feature #272 - A comment has been updated in the internationalization library. 15 years ago
  Ivan Tcholakov 85f1a4f977 Feature #272 - The PHP function fgetcsv() depends on the OS locale setting. When the file system encoding is different than the encoding of the CSV-file, then the imported data is damaged. For solving this problem, two new functions have been introduced in the internationalization library - api_str_getcsv() and api_fgetcsv(). 15 years ago
  Ivan Tcholakov ceac02e510 Feature #272 - The internationalization library: A minor change about the function api_get_language_isocode(), a new optional parameter has been added. 15 years ago
  Ivan Tcholakov 43aaf698d3 Feature #272 - A new function, api_get_text_direction() has been added to the internationalization library. The online editor: A minor correction about determing text direction from language. 15 years ago
  Ivan Tcholakov df504762c9 Feature #272 - A new function, api_substr_count() has been added to the internationalization library. 15 years ago
  Ivan Tcholakov c923639275 Feature #272 - The intenationalization library: Adding code for language and encoding detection support. 15 years ago
  cvargas e969a4161a merge 15 years ago
  Ivan Tcholakov 942f562e44 Feature #306 - Internationalization API: Implementation of two new functions api_chr() and api_ord(). 15 years ago
  Ivan Tcholakov a8962d7cd1 Feature #306 - Upgrading the function api_get_person_name(), now it can turn to upercase selected parts or all name parts. 15 years ago
  Ivan Tcholakov aa41e35567 Feature #306 - Line endigs cohrrence, Part 2: Converting \r\n line endings (Windows style) to \n (Unix style) in php, html, js, xml, txt files. 15 years ago
  Ivan Tcholakov 877e78510f Feature #306 - Adding a sanity check in api_get_language_isocode() for Database class presense (whether it is loaded). 15 years ago
  Yannick Warnier 47022680ce Accept gzopen64() too as a test of the zlib extension load 15 years ago
  Ivan Tcholakov df06189daf Feature #306 - The internationalization library: The function api_refine_language_id() ahs been renamed as api_purify_language_id(). I hope, the new name is more understandable. 15 years ago
  Ivan Tcholakov 2041d470ae Feature #306 - Fixing the function api_get_language_isocode() so it could return correct results using "dirty" language identifiers. The languages occitan, trad_chinese, trad_chinese_unicode have no corresponding records in the database. I have to open them. 15 years ago
  Ivan Tcholakov 11e58b71bc Feature #306 - Moving the function api_get_language_isocode() in the internationalization library. Deprecation of Database::get_language_isocode(). Making a formal test for api_get_language_isocode(). At the moment the test fails, some expexted values are not returned. This has to be fixed. 15 years ago
  Ivan Tcholakov 9b58c8aada Feature #306 - Moving the function api_get_language_isocode() in the internationalization library. 15 years ago
  Ivan Tcholakov 7373315387 Feature #306 - The function api_validate_language() has been renamed as api_get_valid_language(). This new name is accurate, the function is not a validator, but a filter. 15 years ago
  Ivan Tcholakov 7409c475af Feature #306 - Fixing logic about encoding aliases recognition in the internationalization library. 15 years ago
  Ivan Tcholakov 5ed7f167b5 Feature #306 - Corrections an optimiztion for speed for the functions get_lang() and api_get_path(). 15 years ago
  Ivan Tcholakov cf200bcdee Feature #306 - Optimization of the function get_lang(). 15 years ago
  Ivan Tcholakov ff6f2e3984 Feature #306 - The internationalization library: Minor, cosmetic changes. 15 years ago
  Ivan Tcholakov ad3a75527b Feature #306 - The internationalization library: Giving some functions better names - api_initialize_string_library() --> api_initialize_internationalization(), api_set_string_library_default_encoding --> api_set_internationalization_default_encoding(). 15 years ago
  Ivan Tcholakov 91f2b784f6 Feature #306 - It is all about internationalization: Moving code form the multibyte string library (which is removed as of now) to the internationalization library. 15 years ago
  Ivan Tcholakov cb1a44e1a2 Issue #306 - The UserManager class: Fixing an accidentally noticed issue related with getimagesize(), see http://www.dokeos.com/forum/viewtopic.php?t=16355 . Minir modification of the function get_lang() as it is needed for UserManager. Other minor changes. 15 years ago
  Ivan Tcholakov 88fffff15f Issue #306 - Cleaning trailing whitespace in some files. 15 years ago
  Ivan Tcholakov 601ef1ebb0 Bug #3646 and Issue #306 - Training reports (part2): Fixing person name order and sorting to be dependable on the internationalization settings + code cosmetics. Introducing a new constant PERSON_NAME_DATA_EXPORT in the internationalization library. 15 years ago
  Ivan Tcholakov 8e0075faa6 Bug #3646 and Issue #306 - Announcements and Platform administrator's tools (Part 4): Fixing person name order and sorting to be dependable on the internationalization settings. 15 years ago
  Ivan Tcholakov 7a02b21ed9 Bug #3646 and Issue #306 - Internationalization library: Adding posibility to set sorting persons' full names independently for the name order convention, people's preferencies might differ. So, a new function api_sort_by_first_name() has been added. The table in the file name_order_conventions.php has been reworked to maintain the new name-sorting option for every language. 15 years ago
  Ivan Tcholakov 0a0e7f66c7 Bug #3646 and Issue #306 - The functions api_get_person_name() and api_is_western_name_order() have been reworked (optimizations + title to person name support). The function api_get_person_name() has been made similar to the implementation Display::user_name() by Carlos Vargas, a good idea. I suggest we to deprecate Display::user_name(). The internationalization library is a better place for such a feature, I think. 15 years ago
  Ivan Tcholakov 68cbc768e7 Issue #306 - The internationalization library: Adding an option to the function api_get_person_name() for "hardcoded" person name order using predefined constants. This option is exceptional, it should be used in very limited number of cases. 15 years ago