Commit Graph

80529 Commits

Author SHA1 Message Date
con
a81eba5bf8 Some dependency declaration cleanup. 2009-08-05 13:29:16 +02:00
Andy Shaw
58ab81bfe4 Fixes: Link error on Windows, this slot should not be there 2009-08-05 13:23:51 +02:00
Andy Shaw
dc17081b50 Fixes: Compile on Windows 2009-08-05 13:18:56 +02:00
dt
a215f90c78 Fixes compilation 2009-08-05 13:00:02 +02:00
dt
9cfe707831 Disable the browse button if the shadow build checkbox is disabled. 2009-08-05 13:00:02 +02:00
Oswald Buddenhagen
63fd503c67 fix compile the proper way
older gcc does not automatically make nested classes of a friend class
friends as well.
2009-08-05 12:38:02 +02:00
Oswald Buddenhagen
1b0fbbffad don't hang in .qmake.cache search when build dir does not exist
QDir::cdUp() is strange ...
2009-08-05 12:38:02 +02:00
dt
d24cd037fd Change the apppereanve slightly for environment widgets. 2009-08-05 11:41:37 +02:00
dt
7be8be2564 Fix wrong importing of old settings overwritting a release configuration 2009-08-05 11:41:37 +02:00
Erik Verbruggen
0d5d39087f Fixed build problem by removing the private. 2009-08-05 10:57:49 +02:00
Roberto Raggi
393806696d The parser needs to a valid AST when the parsing method returns `true'. 2009-08-05 09:59:11 +02:00
Alessandro Portale
80e26d86c9 Using QDir::toNativeSeparators 2009-08-05 09:17:26 +02:00
Oswald Buddenhagen
ca5f1ee294 remove seemingly superfluous path normalizations
they were added to facilitate .prf exclusion from the project tree, but
that should be handled differently already.
2009-08-04 20:59:28 +02:00
Oswald Buddenhagen
b972177444 don't report prf inclusions to derived classes 2009-08-04 20:59:28 +02:00
Oswald Buddenhagen
81f6001f91 move include recursion check to evaluateFile() where it belongs 2009-08-04 20:59:28 +02:00
Oswald Buddenhagen
f4cc46d5de move qmake property hash to option object
that way they are auto-inherited by nested parsers, and it's the right
thing to do anyway.
2009-08-04 20:59:28 +02:00
Oswald Buddenhagen
f50952f17a complain about querying non-existing properties
... except where it is expected
2009-08-04 20:59:28 +02:00
Oswald Buddenhagen
a89bee6dab rely on the properties passed into the evaluator
fallbacks to values from the qt we were compiled/linked against really
make no sense.
2009-08-04 20:59:28 +02:00
Oswald Buddenhagen
2a4ef827a9 inject QT_VERSION into the evaluator
almost too simple to be right, given the TODO ...
2009-08-04 20:59:28 +02:00
Oswald Buddenhagen
f6f8340b8e improved high-level qmake compat
- parse .qmake.cache, remove workaround for not doing it
- look for the mkspecs in all the places qmake would do
- use the passed in properties instead of QLibraryInfo to find the qt
  data dir
- fix loading of generic features from within os-specific ones with the
  same name
- add multiple inclusion guard for features (including what seems to be
  a bug in qmake ...)
- misc cleanups and beautifications
2009-08-04 20:59:28 +02:00
Oswald Buddenhagen
dfcf9889a7 look only for mkspec features for the current target platform 2009-08-04 20:59:28 +02:00
Oswald Buddenhagen
6b85d482b6 micro-optimizations 2009-08-04 20:59:28 +02:00
Oswald Buddenhagen
bcda15ee97 fixEnvVariables => expandEnvVars overload 2009-08-04 20:59:28 +02:00
Oswald Buddenhagen
0d0860a0be set the current work dir even for pri files
qmake does so.
of course, in the longer run we need to get rid of this at all, but this
would require quite some reviewing of side effects.
2009-08-04 20:59:28 +02:00
Oswald Buddenhagen
980868cee4 make the qmake option object a proper member
to be able to share the option object among evaluators, it is passed by
pointer.

only field_sep stays static and becomes a string - that's effectively
just a cache to avoid repeated construction.
2009-08-04 20:59:28 +02:00
Oswald Buddenhagen
3739af6c46 make Option a nested class of ProFileEvaluator
it's still static at that point, though.
2009-08-04 20:59:28 +02:00
Oswald Buddenhagen
c699522bf9 shuffle code around
non-inline implementations in a header? feh!
2009-08-04 20:59:28 +02:00
Oswald Buddenhagen
3399e362cc inline trivial functions 2009-08-04 20:59:27 +02:00
Oswald Buddenhagen
9431850fcd remove remainders of a fairly useless set of asserts
(the rest seems to have evaporated over time or never existed in the
first place)
2009-08-04 20:59:27 +02:00
Oswald Buddenhagen
5b7c8848e5 don't push top level pro file twice on stack 2009-08-04 20:59:27 +02:00
Oswald Buddenhagen
023affc603 get rid of m_origfile
it's redundand
2009-08-04 20:59:27 +02:00
Oswald Buddenhagen
36bbb3bc0e initialize TARGET properly instead of fixing it later
... which is also what qmake does
2009-08-04 20:59:27 +02:00
Oswald Buddenhagen
42ee63384c refactor pre, post and CONFIG feature inclusion
actually use evaluateFeatureFile() instead of hand-crafting stuff
2009-08-04 20:59:27 +02:00
Oswald Buddenhagen
2e9a9cfa4a plug memory leak
it's a bad idea to conditionalize a cleanup on a completely unrelated
variable.
2009-08-04 20:59:27 +02:00
con
844db3d799 Fix adding of endlines to application output. 2009-08-04 19:04:59 +02:00
con
85596e7b19 Debug output from TRK might have windows style line endings 2009-08-04 19:03:20 +02:00
con
d680a7dd32 Handle application output that comes over TRK. 2009-08-04 19:03:19 +02:00
Robert Loehning
05d55ad959 Enabled edit actions for application output window
Reviewed-by: dt
2009-08-04 18:50:34 +02:00
Daniel Molkentin
a33c7990d8 Honor QTCREATOR_NO_CODE_INDEXER, supress include scanning. 2009-08-04 18:17:05 +02:00
Friedemann Kleint
ec40996904 Trk: Bug fixing in the adapter
Unblock COM reading. Ensure process is started only once. Read out
registers. Read gdb memory request properly.
2009-08-04 16:36:52 +02:00
ck
877450589d Debugger: Added auto test for QSharedPointer. 2009-08-04 16:31:56 +02:00
Erik Verbruggen
e53d23d55c Merged ObjCMethodDefinitionAST into ObjCMethodDeclarationAST. 2009-08-04 16:22:24 +02:00
con
86ff16e58c Nicer output. 2009-08-04 15:58:56 +02:00
con
3a81f2a393 Superfluous new lines in application output.
Fix the use of appendPlainText for automatic scrolling.
2009-08-04 15:58:56 +02:00
con
33bbae9e5e Show the user the device name in application output.
Reviewed-by: Daniel Molkentin
2009-08-04 15:58:55 +02:00
ck
2721eb2371 Debugger: Added auto test to stay in sync with QObjectPrivate.
The compile-time solution introduced by 3a084ae8a2
was felt by some to be too intrusive, so I've integrated the check for
changes to QObjectPrivate into the auto test.
2009-08-04 15:38:31 +02:00
Roberto Raggi
90e7bac4d8 Made `Rename Symbol under Cursor' a command/action. 2009-08-04 13:44:54 +02:00
Kavindra Devi Palaraja
2356bdc7ad Doc - More documentation for the Sessions section
Reviewed-By: TrustMe
2009-08-04 12:56:17 +02:00
ck
3a084ae8a2 Dumper updates.
- Added auto test for QMap.
- Qt::UniqueConnection is not actually a connection type, so we
  don't treat it as one.
- The definition of QObjectPrivate keeps getting out of sync, so
  there now is a "static assertion" that causes a compile error
  when QObjectPrivate's size changes.
2009-08-04 12:23:26 +02:00
Roberto Raggi
332e6f9a28 Stop scanning string literals when the current character is a newline. 2009-08-04 12:18:25 +02:00