Commit Graph

265 Commits

Author SHA1 Message Date
ck
5a71082328 Made use of Qt::UniqueConnection dependent on version >= 4.6. 2009-07-20 16:21:43 +02:00
ck
512b809188 Added more dumper auto tests.
Added test for QObjectSignal dumper and fixed two bugs uncovered by it.
2009-07-20 16:10:37 +02:00
ck
0a0b16a1db Added more dumper auto tests.
Added test for QImage and fixed bug uncovered by that test.
Also prepared test for QSharedPointer.
2009-07-16 14:35:49 +02:00
Friedemann Kleint
562b417036 Debugger: Remove unneeded expression for dumping QVector.
...thus enabling dumping of it in CDB.
Reviewed-by: hjk <qtc-committer@nokia.com>
2009-07-16 12:09:24 +02:00
Sergey Belyashov
2c414f21a6 Added possibility to translate file types in open/save dialogs.
Merge-request: 900
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2009-07-16 10:06:52 +02:00
Friedemann Kleint
7a847df2b7 Fix CDB/output dumperversion correctly, dump maps correctly. 2009-07-15 16:07:57 +02:00
hjk
a16aa2e0d6 debugger: remove duplicated 'completeSuffix' entry in QFileInfo dumper 2009-07-15 09:26:00 +02:00
Thorbjørn Lindeijer
2fcf2ac5d3 Added a FakeVim color theme
Specially for FakeVim users out there who want an easy way to switch to
vim's default color theme on a dark brackground.

Also did a little cleanup.
2009-07-14 15:30:27 +02:00
hjk
56a81a06b5 debugger: fix regression in QMap dumping introduced in 5bd1d2a0 2009-07-14 10:08:12 +02:00
Roberto Raggi
dbffbe107f Install the color schemes 2009-07-13 14:35:40 +02:00
Thorbjørn Lindeijer
947b719e69 Made selecting the color scheme functional
Also, defaults formats are now applied to any format that hasn't been
defined in the color scheme file. This allows a color scheme to fall
back on the default selection color, for example.
2009-07-13 14:22:27 +02:00
Thorbjørn Lindeijer
065689478c Introduced a ColorSchemeReader class for reading color scheme files 2009-07-13 14:22:27 +02:00
hjk
b1761033ea debugger: workaround for gdb reporting 'std::wstring' as 'wstring' 2009-07-13 12:53:50 +02:00
ck
911d15a879 Added QDumper auto tests.
Added auto tests for QChar and QFile dumpers.
2009-07-10 14:57:50 +02:00
hjk
51ce82a727 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-07-10 14:28:10 +02:00
Daniel Molkentin
29c3a674e5 proper version of 33dd9deaea
Make revision sting show up in German translation. Also fix the Spanish one a bit.
2009-07-10 12:56:51 +01:00
Daniel Molkentin
f5414a4a79 Revert "Make revision sting show up in German translation. Also fix the Spanish one a bit."
This reverts commit 33dd9deaea.
2009-07-10 12:55:44 +01:00
Daniel Molkentin
33dd9deaea Make revision sting show up in German translation. Also fix the Spanish one a bit. 2009-07-10 12:50:14 +01:00
hjk
56b24aac36 debugger: reduce amount of data produced by the dumpers by removing
predicatable parts.
2009-07-10 13:40:54 +02:00
hjk
ef786bf32e debugger: do not output child type and numchild information if it is equal
to the ones specified in the childtype and childnumchild items
2009-07-10 13:40:54 +02:00
hjk
209037e98f debugger: remove the InnerValueResult enum and handling again.
60 lines of mainly useless code
2009-07-10 11:39:11 +02:00
Pierre Rossi
8c64c97c15 deleted the french phrasebook (merged into the one from mainline) 2009-07-09 16:26:09 +02:00
hjk
206adf2d43 debugger: work on dumper auto tests 2009-07-09 10:26:54 +02:00
Friedemann Kleint
842540d9c0 Dump QObjects for CDB 2009-07-09 09:11:22 +02:00
hjk
de6fda2020 debugger: add auto tests for QList 2009-07-08 18:28:49 +02:00
Pierre Rossi
1c1cb9f18c Added non breaking spaces in front of double ponctuation signs (':','!'
and '?' ) in the french translation.
2009-07-08 14:56:52 +02:00
Benjamin Poulain
c86acef69a New translations for the French version of Qt Creator 2009-07-08 14:28:09 +02:00
axasia
81c454a57d Fix some wrong translations for japanese.
Merge-request: 827
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2009-07-07 17:09:49 +02:00
Friedemann Kleint
7b15d12300 Dumper fixing, dump some common std::map, std::set types with CDB.
- std::set/map: Introduce templates to iterate the MSVC STL
  implementation depending on type (since it inherits some
  basic set_traits that depend on the key/value size.
- Retrieve types correctly in CDB (buffer too short for STL-types)
- Fix std::map in GDB broken by previous commit.
- Introduce a dumper version check in GDB/CDB.
- Make GDB parse sizes in initial dumper call as well
- Fix special sizes to work with namespaced Qt (watchutils)
2009-07-07 16:00:45 +02:00
Friedemann Kleint
61afdf6d1e Polish dumpers to show enumeration values, Polish CDB locals output. 2009-07-07 11:38:01 +02:00
Friedemann Kleint
5bd1d2a028 Fix up Debugger helpers to be able to dump QObject's with CDB.
- Make container dumper routines set "childnumchild" when known
  in order to avoid roundtrips; avoid repeated invocations of
  container.end().
- Completed dumper information in some places to avoid roundtrips.
- Extended QVariant helpers by dumpers for common GUI types
  (rectangles, points, sizes, fonts, size policies).
- Introduced artificial QObjectChildList/QObjectProperty types to
  be able to dump QObject children and properties without using
  gdb expressions.
- Fixed dumping of Signal/Slot list to pass on correct types. Avoid
  recursions if signal is connected to self.
- Replaced expressions by addresses in the dumpers to it make work
  for CDB.
- Reworked dumper test program to have -a, making it usable for tests,
  add further types.
- Gdb: Clear output buffer before calling dumpers, avoiding mixups
  in case evaluation of expression fails.
- Fix the dumper parser used by CDB, do not be fooled by
  "<synthetic>" addresses, etc.
- Pass on a "dumperVersion" in initial query.
2009-07-06 17:36:50 +02:00
Friedemann Kleint
5a8b61b2ee Great debugger helper bug fixing spree.
- Fix extractTemplate() not to kill blanks in case there is no
  blank after a comma, fix hardcoded types accordingly.
- Make niceType()'s regexps ignore blanks after commas, add
  unsigned short as char_type and cache the mappings, making
  them work for CDB.
- CDB: Parse map output of dumpers correctly, generally don't
  confuse the parser by unknown keywords encountered when
  parsing children, thus enabling simple QMap types.
- Make dumpInnerValueHelper output std::string types.
2009-07-03 13:56:27 +02:00
Friedemann Kleint
6e93f4544d Display Q<>Pointers/Work towards displaying maps/QMaps in CDB.
Make dumpers pass on more size information initially, namely the
various Q<>Pointers. Introduce enum for those special template types
whose size does not vary with the arguments (Q<>Pointer,
std::allocators...) to make it more easily extensible.
Pass on some common QMapNode<> sizes as well.
Introduce an expression cache to the common QtDumperHelper
class and make dumpers pass some common expression values
(value offsets of common QMapNode<> incarnations).
Make CDBDumperHelper use the expression cache.
Extend dumper tester.
2009-07-02 16:38:15 +02:00
Benjamin Poulain
310e28ba95 Update the French translation
Validation of some translations from Pierre, a few new translations in
the context of the editor.
2009-07-01 14:33:16 +02:00
hjk
ffee3f98af debugger: fix regression in QVariant dumper 2009-07-01 14:15:44 +02:00
hjk
013437cfab debugger: add widget watchers by mouse click in the debugged application.
The option is hidden in the context menu.
Currently the application must be stopped.
2009-07-01 14:15:44 +02:00
Pierre Rossi
04c2a73d6d Updated French translation and added phrasebook. 2009-07-01 14:06:01 +02:00
Friedemann Kleint
02de790714 Moved the custom widget wizard templates into Qt Creators template dir.
Cannot put a source file template into a resource in a source directory
as Visual Studio will grab and build it.
2009-06-30 17:11:35 +02:00
Sergey Belyashov
7dd60128fd Complete (ex: messages about data dumpers) Russian translation for Qt Creator 1.2
Merge-request: 780
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2009-06-30 11:39:37 +02:00
hjk
6edbc900b9 debugger: refactoring 2009-06-26 13:18:17 +02:00
hjk
fc145c2c02 debugger: reduce use of macros in dumper code 2009-06-26 10:52:19 +02:00
hjk
b295aec1ad debugger: fix several small issues in the dumper code
Fix typo in QChar helper.
Add a auto tests for some of the dumpers.
Make the dumpers compilable for Qt < 4.5 for better regression tests.
Make manual tests compile with Qt < 4.5.
2009-06-26 10:51:27 +02:00
Pierre Rossi
eaa9e8a183 Started the french translation 2009-06-24 17:16:57 +02:00
hjk
6ea24c6e65 debugger: better dumper support for QChar and unsigned short. 2009-06-24 14:37:29 +02:00
hjk
69f58777c2 debugger: also simplify diplayed type of nested std::containers 2009-06-23 10:25:06 +02:00
hjk
a4d2666b8d debugger: fix dumper for QList<T*> 2009-06-19 15:13:26 +02:00
hjk
d8b589ceff debugger: remove QtGui dependency from debugging helpers
It was only used for the watch-QImage-while-it-is-being-drawn-on feature,
which does not seem overly useful.
2009-06-18 13:39:19 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Friedemann Kleint
e86e7f960d Fixed tr()-glitches, updated German translation.
Acked-by: dt <qtc-committer@nokia.com>
2009-06-16 12:34:23 +02:00
axasia
a8b496c92d Update Japanese translation file.
Merge-request: 670
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
2009-06-15 16:33:43 +02:00