Commit Graph

60 Commits

Author SHA1 Message Date
Torbjörn Andersson
3430757bf4 DEBUGGER: Add clarifying comment 2015-08-30 06:49:16 +02:00
Torbjörn Andersson
7f4268dc3d DEBUGGER: Add function for printing a StringArray in columns 2015-08-29 18:08:52 +02:00
Filippos Karapetis
dd347dec83 DEBUGGER: Extend the md5 and md5mac commands to handle any chunk length
This will be useful in matching the MD5 checksums with what the
advanced detector returns
2014-12-28 16:57:00 +02:00
Torbjörn Andersson
6bc36cbdf4 DEBUGGER: Add FIXME comment about file name vs base name 2014-10-31 08:16:33 +01:00
Torbjörn Andersson
14ce84da9a DEBUGGER: Let "md5mac" print the MD5 sum of both resource and data 2014-09-07 18:50:51 +02:00
Torbjörn Andersson
37aa4c2d59 DEBUGGER: Changed usage output from "md5mac"
I don't know of any good way of transforming file names to base
file names, so document that "md5mac" expects the base file name.
Even though it currently will accept MacBinary file names.
2014-09-07 18:30:40 +02:00
Torbjörn Andersson
ce37e489f8 DEBUGGER: Sort "md5" output, when using wildcards. 2014-09-07 18:14:50 +02:00
Torbjörn Andersson
84548847a1 DEBUGGER: Add "md5mac" command to get MD5 sum of Mac resource fork. 2014-09-01 21:19:48 +02:00
Torbjörn Andersson
f1fae53731 DEBUGGER: Add "md5" command, to get the MD5 sum of entire files
This may make it easier to ask users for the MD5 sum of a file, in
case we suspect a bug report is caused by damaged files.
2014-09-01 20:24:23 +02:00
Johannes Schickel
10c5547de3 GUI: Allow any cased version of 'all' to toggle all debug flags.
This makes it consistent with our matching rules when enabling other debug
flags.
2014-06-05 16:40:42 +02:00
D G Turner
1e6fe10e3d COMMON: Add "all" option to debugflag controls in GUI Debugger. 2014-06-05 02:18:58 +01:00
Johannes Schickel
30d64edac4 ALL: Make Debugger command function names conform to our guidelines. 2014-05-27 02:04:08 +02:00
Johannes Schickel
07c9fea9cb GUI: Slight naming cleanup in Debugger. 2014-05-27 02:04:08 +02:00
Johannes Schickel
ae4ffe01f0 ALL: Rename Debugger::DCmd_Register to Debugger::registerCmd. 2014-05-27 02:04:08 +02:00
Johannes Schickel
0adca2c579 ALL: Rename Debugger::DVar_Register to Debugger::registerVar. 2014-05-27 02:04:07 +02:00
Johannes Schickel
daa8d57a86 ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf. 2014-05-27 02:04:07 +02:00
Willem Jan Palenstijn
6cf5cb939b GUI: Fix compilation
This adds a missing header in the case #ifndef USE_TEXT_CONSOLE_FOR_DEBUGGER
2014-05-25 12:29:13 +02:00
D G Turner
fbb923daee GUI: Add usage for "debuglevel" command output in Debugger base class. 2014-05-15 01:35:48 +01:00
D G Turner
bac58f3e18 GUI: Clarify "debuglevel" command output in Debugger base class.
This should make it clear that -1 is used for disable.
2014-05-13 19:39:47 +01:00
D G Turner
c81d0b680e GUI: Minor further fixes to "debuglevel" command in Debugger base class. 2014-05-12 00:56:20 +01:00
D G Turner
bc7af1de19 GUI: Add "debuglevel" command to Debugger base class.
This allows the debug level to be changed at runtime from the debug
console.
2014-05-10 17:12:14 +01:00
Johannes Schickel
f5dfe6725a GUI: Make GPL headers consistent in themselves. 2014-02-18 02:39:35 +01:00
Willem Jan Palenstijn
5686d606f0 BUILD: Support libedit readline wrapper
This is used in Mac OS X. Thanks to waltervn for pointing this out and
testing.
2014-01-02 01:04:24 +01:00
Johannes Schickel
b4d0a8ba66 JANITORIAL: Enforce "} // End of namespace" with a single space after }. 2013-01-26 19:38:02 +01:00
Christoph Mallon
e40ba4c135 JANITORIAL: Simply use *x instead of *x.get() on smart pointers. 2012-03-13 15:43:59 +01:00
Johannes Schickel
2362a3f689 GUI: Add new line to error string in debugger. 2011-12-05 23:00:34 +01:00
Johannes Schickel
bc0d9bd3a7 GUI: Simplify boolean parsing in our debugger. 2011-12-05 23:00:34 +01:00
Filippos Karapetis
f0fc910d28 COMMON: Fix styling 2011-12-05 21:24:36 +02:00
Filippos Karapetis
411892d848 COMMON: Handle boolean types in the debugger 2011-12-05 20:32:08 +02:00
Max Horn
8b3c36cfad GUI: Add 'openlog' command to debugger 2011-06-03 13:36:04 +02:00
Max Horn
4b7f6dfa3c BUILD: Rename USE_TEXT_CONSOLE -> USE_TEXT_CONSOLE_FOR_DEBUGGER
This reduces the similarity in name to the otherwise mostly
unrelated DISABLE_TEXT_CONSOLE #define.
2011-05-25 13:24:37 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
6edc86a19b DEBUG: Let GUI::Debugger::preEnter and postEnter (un)pause the engine
svn-id: r54815
2010-12-07 18:54:21 +00:00
Willem Jan Palenstijn
92841e9832 GUI: Fix build with readline enabled
svn-id: r54067
2010-11-04 16:09:20 +00:00
Max Horn
2af2704421 GUI: Rename ConsolDialog methods (v)printf, putchar
svn-id: r54006
2010-11-01 16:03:02 +00:00
Filippos Karapetis
48b288d9aa Fixing compilation with MSVC
svn-id: r50966
2010-07-17 19:11:59 +00:00
Max Horn
1d4c82885d DEBUGGER: Simplify how our console debugger works / is used
* Remove _isAttached member var and isAttached method
* Engines now always call the onFrame method; whether it does
  something is decided by the debugger class resp. its subclasses
* Make detach() protected instead of private, so that subclasses
  can invoke it
* Remove _detach_now member var (call detach() instead).
* Rename _frame_countdown to _frameCountdown and properly
  document it.
* Add more doxygen comments
* Cleanup

svn-id: r50963
2010-07-17 18:38:42 +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
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
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Bertrand Augereau
d454c9b379 Minor constness fixes
svn-id: r43974
2009-09-06 10:51:20 +00:00
Johannes Schickel
5870635ba6 Formatting.
svn-id: r42792
2009-07-26 07:07:35 +00:00
Willem Jan Palenstijn
45cde5f642 Add optional readline support to the text debugger console.
Make text/graphical console selectable with an option to configure.

svn-id: r42787
2009-07-25 23:36:24 +00:00
Willem Jan Palenstijn
00af395ab6 Fix compilation with USE_CONSOLE = 0
svn-id: r42623
2009-07-19 21:06:25 +00:00
Willem Jan Palenstijn
66b565c9c2 Fix crash in tab completion if one command is a prefix of another.
svn-id: r42597
2009-07-18 22:17:56 +00:00
Max Horn
a6b57dc3a9 - Added GCC_PRINTF attribute to several funcs where it makes sense
- change some constants from double to float, to avoid "loss of precision due to implicit conversion" warnings
- removed duplicate prototypes for some funcs
- fixed some "increases required alignment of target type" warnings

svn-id: r42009
2009-07-01 20:51:04 +00:00
Max Horn
95a4b26efe Turned fixed-size lists of debugger/console commands and variables into more flexible data structures
svn-id: r40458
2009-05-11 18:02:27 +00:00
Max Horn
341bc64aaf do not include common/debug.h from common/util.h
svn-id: r36143
2009-01-30 05:25:17 +00:00