aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2010-06-17Correction for Invalid reads in Translation iconv calls reported by Valgrind.David Turner
The string terminators were omitted from the iconv call and not restored. svn-id: r49916
2010-06-15Use USE_TRANSLATION, USE_DETECTLANG and USE_TERMCONV instead of ↵Johannes Schickel
(ENABLE_)TRANSLATION, DETECTLANG and TERMCONV. svn-id: r49885
2010-06-15Simplify code for the "ICONV_USES_CONST" case even more. (i.e. remove the ↵Johannes Schickel
"msg" variable there). svn-id: r49880
2010-06-15Fix compilation when using ICONV_USES_CONST.Andre Heider
svn-id: r49878
2010-06-15Strip out charset information from the system locale again (like it was done ↵Johannes Schickel
before r49871). Unlike with the old code, we know allow for locales with a different size than 5 though. svn-id: r49876
2010-06-15Fix a typo.Johannes Schickel
svn-id: r49875
2010-06-15Output some warning in case an invalid ID was passed to ↵Johannes Schickel
TranslationManager::getLangById. svn-id: r49873
2010-06-15Extend (and along with it add) some doxygen comments.Johannes Schickel
svn-id: r49872
2010-06-15Use a Common::String instead of a fixed size array for _syslang in ↵Johannes Schickel
TranslationManager. svn-id: r49871
2010-06-15Remove unnecessary svn:executable propertiesWillem Jan Palenstijn
svn-id: r49870
2010-06-15Some style fixes.Johannes Schickel
svn-id: r49869
2010-06-15Fix iconv signature on BSD systems. (Based on what we do in tools/)Johannes Schickel
svn-id: r49868
2010-06-15Add TranslationManager::getTranslation variant taking/returning a ↵Max Horn
Common::String (should fix WinCE build) svn-id: r49861
2010-06-15Code formattingMax Horn
svn-id: r49859
2010-06-15Fix spelling, cleanupMax Horn
svn-id: r49843
2010-06-15SYSTEM: Unify OSystem::getSupportedFormats() signatureMax Horn
svn-id: r49838
2010-06-15i18n: Update Russian translation.Eugene Sandulenko
svn-id: r49799
2010-06-15I18n: Add backend files to POTFILES. Update .pot.Eugene Sandulenko
Translations were not updated. svn-id: r49797
2010-06-15GUI: Implemented Languages as GUI options.Eugene Sandulenko
SCUMM and AdvancedDetector support this feature. svn-id: r49786
2010-06-15GUI: Implement MIDI drivers as GUI options.Eugene Sandulenko
Proper version of patch #2988641: "GSoC: Select drivers in GUI based on output types". So far only SCUMM engine supports this feature. svn-id: r49783
2010-06-15i18n: Update Russian translation with new tooltipsEugene Sandulenko
svn-id: r49780
2010-06-15i18n: update Russian translation with tooltips.Eugene Sandulenko
svn-id: r49776
2010-06-15GUI: Implement radiobuttons.Eugene Sandulenko
Implement radiobuttons in GUI. Also closes FR #2821529: "GUI: volume and subtitles speed sliders". Subtitle toggle button is replaced by three radiobuttons grouped by a single group. Updated translations and themes. svn-id: r49767
2010-06-15GUI: Added in-place hotkeys for widgets.Eugene Sandulenko
Now it is possible to specify hotkeys in place for ButtonWidget and CheckboxWidget (the only widgets with hotkeys now). Use de-facto standard with putting hotkey between tildes (~). Like '~O~pen'. The tildes gets stripped before after hotkey is extracted. This is done for giving translators possibility to specify their own hotkeys. Old hotkeys defined at widget instance creation are left for leaving possibility to specify non-printable hotkeys such as Common::ASCII_ESCAPE. Translation files were updated respectively. svn-id: r49766
2010-06-15Implement translation support for ScummVM GUI.Eugene Sandulenko
Based on patch #2903830: "Updated Translation Prototype" by alexbevi which in turn is based on patch #1739965 by jvprat. Currently it builds all translations right into ScummVM. Once the feature will be accepted more widely, i.e. more translations will pop up, it will be trivial to move translation strings to external file. Finished translation: Russian Unfinished translation: Hungarian Things which are nice to do: - Language code -> language mapping for more user friendness - Specifying fonts to be used with language - Updating of interface language without restart. It will require moving of much code to reflowLayout() methods for each dialog The .po files must be in single byte encodings. I.e. no support for Unicode. svn-id: r49759
2010-06-15Added seek() method to MemoryWriteStreamDynamic.Eugene Sandulenko
If it deserves a separate class, shout. svn-id: r49750
2010-06-15Hid hashed fileopening to debuglevel 8.Eugene Sandulenko
svn-id: r49705
2010-06-06Add Android backend from patch #2603856Max Horn
svn-id: r49449
2010-06-02OSYSTEM: Get rid of kFeatureAutoComputeDirtyRectsMax Horn
svn-id: r49388
2010-05-30Typo fixes.Johannes Schickel
svn-id: r49324
2010-05-30Fix non-const version of Common::String::begin.Johannes Schickel
Common::String::begin now assures the storage is a unique one, i.e. there are no other Common::String objects pointing at it. This allows for safe use of the writable iterators (and thus fixes the test case added with my last commit) svn-id: r49323
2010-05-30Fix file length of zip file members inside ZipArchive (thanks to fuzzie for ↵Johannes Schickel
reporting). svn-id: r49321
2010-05-27correct typoMax Horn
svn-id: r49270
2010-05-24Have the MacResManager ignore resources with length 0.Matthew Hoops
svn-id: r49190
2010-05-21Implement FR #2988017: exit status with --list-saves always 0Eugene Sandulenko
svn-id: r49132
2010-05-20Make the MacResManager opening more robust to failed tries and plug its ↵Jordi Vilalta Prat
memory leaks svn-id: r49116
2010-05-18Added getBaseFileName() method and enhanced open() with trying macbinary ↵Eugene Sandulenko
format in plain files svn-id: r49074
2010-05-17Minor formatting.Johannes Schickel
svn-id: r49067
2010-05-17Get rid of Common::Rational::normalize and other redundant codeMax Horn
svn-id: r49066
2010-05-17Some tweaks and fixes for Common::RationalMax Horn
* Fix Common::gcd to work with negative input * This fixes a bug in Common::Rational's multiplication code * Add some more basic unit tests (including one which checks for the now fixed multiplication bug) * cleanup svn-id: r49064
2010-05-17Add the Common::Rational class from patch #2963496 (VideoDecoder Rewrite)Matthew Hoops
svn-id: r49061
2010-05-17Restrict MIPSpro workaround to non-gcc compilers -- fixes compilation with ↵Joost Peters
gcc on irix. svn-id: r49060
2010-05-12Fix mismatched new[]/delete[]Matthew Hoops
svn-id: r49018
2010-05-11Pass by reference instead of value to getResource(String)Matthew Hoops
svn-id: r49008
2010-05-11Add support for getting a resource from the resource fork by name.Matthew Hoops
svn-id: r49004
2010-05-10Add support to the MacResManager and AdvancedDetector to take the md5 of a ↵Matthew Hoops
resource fork. This introduces a new flag, ADGF_MACRESFORK, which when set will take the md5 and size from the resource fork instead of the data fork. svn-id: r48997
2010-05-10Minor fix for using the MacResManager with a regular file; switch ↵Matthew Hoops
MacBinary's data fork to using a SeekableSubReadStream instead of a MemoryReadStream. svn-id: r48995
2010-05-09Patch #2901515: HE: Resource Forks on Mac OS XEugene Sandulenko
svn-id: r48984
2010-05-05Replace various strncpy usages by strlcpy.Johannes Schickel
svn-id: r48955
2010-05-05Add a custom implementation of OpenBSD's strlcat and strlcpy.Johannes Schickel
This includes both an implementation and some basic unit tests for the above mentioned functions. svn-id: r48953