Commit Graph

1784 Commits

Author SHA1 Message Date
Johannes Schickel
ada03c57b3 Prevent editable widgets from adding various characters when F1-F12 is pressed by the user.
Formerly the code just casted the "ascii" value of the key event to "byte"
and thus truncating the character value. Now that would be fine, if we
would not allow values >= 256 in the ascii field, for example 322 for F8
which in turn resulted in a "B" added to the editable field. I just added
a check for the values being in the byte range before doing the cast,
which fixes this.

svn-id: r48967
2010-05-08 18:30:00 +00:00
Max Horn
970745e60c Move DebugChannel related code to new header
svn-id: r48935
2010-05-04 11:59:22 +00:00
Max Horn
460d69e885 COMMON: Move DebugChannel stuff into a new DebugMan singleton
svn-id: r48821
2010-04-27 21:40:52 +00:00
Max Horn
5ab6a53f87 Update credits: Fredrik retired
svn-id: r48766
2010-04-21 21:23:35 +00:00
Ori Avtalion
843a547cf7 Update default theme
svn-id: r48650
2010-04-12 23:30:52 +00:00
Ori Avtalion
434b5369f6 Remove trailing whitespace
svn-id: r48649
2010-04-12 23:25:09 +00:00
Ori Avtalion
e35133064b Center labels in mass-add dialog
svn-id: r48648
2010-04-12 23:23:23 +00:00
Thierry Crozat
08077db0ea Update credits for myself to reflect that I am now part of the team.
svn-id: r48646
2010-04-12 21:22:03 +00:00
Yotam Barnoy
98d7ba281c Changed my credits to indicate more extensive contributions
svn-id: r48633
2010-04-12 07:20:54 +00:00
Max Horn
f2ff555996 Rest of patch #2982224: GSoC: Added unit test and unified error message display
svn-id: r48627
2010-04-11 19:04:02 +00:00
Max Horn
7d97ee48e6 No Mandriva updates in ages -> mark Mandriva packager as retired
svn-id: r48592
2010-04-09 11:18:30 +00:00
Max Horn
77c1e0dfe1 GUI: Remove 'typedef Common::String String' from (Global)OptionsDialog
svn-id: r48565
2010-04-06 09:26:59 +00:00
Max Horn
894e2aefe6 GUI: Unify various definitions of kOKCmd and move it to namespace GUI
svn-id: r48564
2010-04-06 09:26:43 +00:00
Johannes Schickel
c5c4060719 Commit of patch #2980691 "GSoC: GUI: Caret blink shaves pixels [...] (bug #2951681)".
svn-id: r48551
2010-04-05 12:41:08 +00:00
Johannes Schickel
75b041364b Mark Chris Gray (former Win64 builder) retired and add myself to the Win64 builder section.
svn-id: r48540
2010-04-05 10:38:43 +00:00
Max Horn
4bac9e1b75 COMMON: Cleanup ConfigManager code
* get rid of ConfigManager::_emptyString
* get rid of ConfigManager::Domain::get (use getVal instead)
* remove some dead code

svn-id: r48417
2010-03-29 20:31:23 +00:00
Max Horn
92c896d883 Patch #2973290: Semicolon cleanup
svn-id: r48359
2010-03-22 20:28:08 +00:00
Johannes Schickel
38b2b3c04f Move StringTokenizer to its own files (tokenizer.h/tokenizer.cpp).
svn-id: r48310
2010-03-20 12:56:56 +00:00
Max Horn
c934642bdb COMMON: Move typedef StringList from str.h to new header str-array.h
This removes the dependency on array.h from str.h.
Also, begun migration from the confusing type name "StringList" to
the more appropriate StringArray.

svn-id: r48282
2010-03-18 15:09:24 +00:00
Max Horn
a17bbf3c2e GUI: Make GuiObject::_name const, init all members in constructor
svn-id: r48275
2010-03-18 15:04:15 +00:00
Johannes Schickel
40562798d6 Fix our DECLARE_SINGLETON macro to conform to the C++ specs.
We need to use a namespace Common { } there to make strict C++ compilers
like clang++ and comeau happy. I also added a slight comment about why
that is needed to the macro definition and a note that you need to use
it from the global namespace.

svn-id: r48254
2010-03-13 21:55:49 +00:00
Max Horn
75a3f4a3ec Fix from LordHoto for bug #2859401: GUI: GMM crashes when running in 320x200 and 320x240
svn-id: r48248
2010-03-12 23:02:24 +00:00
Max Horn
4fc8ebab01 GUI: Remove GuiObject::getMillis()
svn-id: r48241
2010-03-11 23:41:28 +00:00
Max Horn
6e78fdc161 cleanup
svn-id: r48240
2010-03-11 23:40:40 +00:00
Yotam Barnoy
ef330ed9b4 Patch for bug 2943361 by littleboy, adding full kb modifier support to all engines + GUI and proper keypad handling
svn-id: r48101
2010-02-21 04:04:13 +00:00
Max Horn
8ac5d00d57 Hide ZipArchive implementation, only expose it via factory functions: makeZipArchive()
svn-id: r48040
2010-02-13 11:56:30 +00:00
Max Horn
c2c82b22da Fix Rober Spalek & Hans-Joerg Frieden in the CPP resp. plain text versions of the credits
svn-id: r48034
2010-02-10 17:08:07 +00:00
Fabio Battaglia
6938ca072a Add N64 backend to credits
svn-id: r47988
2010-02-08 11:44:29 +00:00
Johannes Schickel
99411b177c Add the DOSBox Team to our "Special Thanks" section for their awesome OPL2/OPL3 emulator.
svn-id: r47983
2010-02-07 22:04:00 +00:00
Johannes Schickel
516d44e65c Fix behavior of delete key, when the cursor is at the end of the input line.
svn-id: r47802
2010-02-01 18:23:23 +00:00
Johannes Schickel
17f198369d Fix assert after ^W and Delete key events in the debugger, when there's nothing on the line.
svn-id: r47801
2010-02-01 18:18:20 +00:00
Martin Kiewitz
bc89883da8 partly reverting r46807 ffs. Regression in numpad handling - ID: 2943361
svn-id: r47796
2010-02-01 15:44:24 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Johannes Schickel
69071078b3 Replace some more Adlib uses by AdLib.
svn-id: r47530
2010-01-25 00:13:32 +00:00
Arnaud Boutonné
8c9d82715e Update copyright string to show current year
svn-id: r47447
2010-01-22 23:39:28 +00:00
Marcus Comstedt
40f9506163 The default keycolor for mouse pointers used to be 255.
This makes sense as a default for CLUT8 modes, but not really
for anything else.  As part of the gsoc2009-16bit merge, the
default was changed to "all ones", with extra code in the SDL
backend to truncate this to the depth of the mode.  However,
"all ones" (white) still isn't a very useful default for RGB modes.
So rather than jumping through hoops to provide a bad default,
it's better to remove the default altogether.  Engines which relied
on the old default of 255 have been updated to specify it explicitly.

svn-id: r47118
2010-01-07 15:07:36 +00:00
Max Horn
df81b68967 Change BS 1 & 2 to I & II (see discussion on -devel)
svn-id: r46951
2010-01-03 21:20:05 +00:00
Johannes Schickel
770b2f78d4 Setup the dimensions of GuiObject in the constructor, by using reflowLayout.
This properly initializes _x, _y, _w and _h, which might be used
uninitialized otherwise. This probably lead to a creash for _sev,
when drawing the tab widget, before GuiObject::reflowLayout had
been called. FYI GuiObject::reflowLayout is usually only called
on layout changes (i.e. resolution changes etc.), thus it might
not be called before drawing a newly created widget.

svn-id: r46947
2010-01-03 21:07:56 +00:00
Yotam Barnoy
080d6da6e4 Minor additions: added full keypad support to GUI and SCI
svn-id: r46808
2009-12-31 23:52:49 +00:00
Matthew Hoops
eb2e457817 Add the Mohawk crew to the credits.
svn-id: r46787
2009-12-31 03:17:59 +00:00
Max Horn
b0e02675e7 Get rid of Common::String::emptyString, and also of some port specific hackery (getting rid of certain global C++ objs)
svn-id: r46781
2009-12-30 23:01:36 +00:00
Oystein Eftevaag
915c60c629 Using #include instead of #import to include some mac os x headers to avoid silly gcc warnings, that we'd otherwise have to remove -pedantic to get rid of
svn-id: r46597
2009-12-26 17:18:18 +00:00
Johannes Schickel
1a1b041d00 Add "End of namespace" comment.
svn-id: r46594
2009-12-26 16:57:34 +00:00
Oystein Eftevaag
b21679e56e Buildbot compile fix for os x cross compile
svn-id: r46592
2009-12-26 16:00:41 +00:00
Oystein Eftevaag
925c1744ec Committing the actual new browser_osx.mm file, oops
svn-id: r46583
2009-12-26 13:48:14 +00:00
Oystein Eftevaag
9d70103d9c The file selection dialog in OS X now uses Cocoa instead of Carbon, and lives in a separate file due to having to be compiled as Objective-C++. ScummVM can now run in x64 natively on OS X
svn-id: r46581
2009-12-26 13:35:57 +00:00
Jordi Vilalta Prat
690a410423 Fix a typo
svn-id: r46386
2009-12-15 12:56:10 +00:00
Max Horn
f53d23d816 GUI: Re-add ellipsis to various button labels
svn-id: r46382
2009-12-15 08:20:19 +00:00
Max Horn
6c98169dc3 GUI: Shorten button labels if too long, and improve the shortening logic
svn-id: r46381
2009-12-15 08:19:59 +00:00
Max Horn
605037342b GUI: Fix some GUI hacks, add some comments, etc.
* Rename LauncherDialog::selectGame() to selectTarget()
* Get rid of the 'temp_selection' ConfMan entry hack
* Add some Doxygen comments
* Turn a printf(...) into a debug(1,...)
* Don't scroll around if 'Mass Add' is cancelled

svn-id: r46380
2009-12-15 08:19:34 +00:00