aboutsummaryrefslogtreecommitdiff
path: root/common
AgeCommit message (Collapse)Author
2010-06-25AUDIO: some fixes in the audio device code (no sound option, new GUIO flags)Florian Kagerer
svn-id: r50281
2010-06-24Add German translation from patch tracker (patch #3020282).Thierry Crozat
svn-id: r50247
2010-06-24Yet another slight variable renaming to match our conventions.Johannes Schickel
svn-id: r50242
2010-06-24Do not include any headers from common/messages.cpp, since that file might ↵Johannes Schickel
be included into an namespace. svn-id: r50241
2010-06-24Some more cleanup of po2c's output.Johannes Schickel
svn-id: r50240
2010-06-24Adapt po2c's output to better mach our code formatting conventions.Johannes Schickel
Along with it I added a suffix "-scummvm" to the version variable, since we also feature some custom extensions like the charset specification. svn-id: r50239
2010-06-24Added some consts to the output of tools/po2c.Johannes Schickel
svn-id: r50238
2010-06-21Patch #1956501: "GUI/LAUNCHER: Midi device selection"Max Horn
svn-id: r50128
2010-06-21Fixed some Cppcheck warnings. (There are plenty left, if anyone's wondering.)Torbjörn Andersson
svn-id: r50120
2010-06-21PSP: errors from both ScummVM and the PSP port now print to file by default. ↵Yotam Barnoy
This should make debugging easier, especially for users. svn-id: r50113
2010-06-19Add nearly complete french translation. I tried to make it work also in ↵Thierry Crozat
320x200 but french can be quite verbose, so in a few places it does not fit. Also I could not check any of the device specific strings (e.g. from WinCE, Wii or other backends) and a few are missing. svn-id: r50068
2010-06-19Fix an issue in String::ensureCapacity() when the string is shared. It could ↵Thierry Crozat
allocate two much memory as it was at least doubling the current capacity even when this one was sufficient. It fixes a crash in GUI::Widget::cleanupHotkey() as the capacity of the string was doubled at each iteration once it was too long for the internal storage (only to add one character to the string). This ended up in a bad_alloc exception after a few iterations. svn-id: r50050
2010-06-18Properly provide stub implementations for all TranslationManager methods ↵Johannes Schickel
when USE_TRANSLATIONS is not defined. svn-id: r49997
2010-06-18Do not rebuild common/messages.cpp automatically when a translation changes, ↵Johannes Schickel
but require the user to do "make update-translations". This should be helpful for building on a system without perl. svn-id: r49991
2010-06-17Commit updated common/messages.cpp too.Johannes Schickel
svn-id: r49946
2010-06-17Fix common/messages.cpp rule for out of source directory builds. (Maybe this ↵Johannes Schickel
fixed bug #3017628 "AMIGAOS4: messages.cpp errors") svn-id: r49940
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