Commit Graph

1107 Commits

Author SHA1 Message Date
Pawel Polanski
0a5cb17f25 Information about the time that took the CODA to process a command. 2010-12-07 15:23:32 +01:00
Friedemann Kleint
564092d6a0 Symbian[CODA-client]: Copy files in chunks. Fix usage information. 2010-12-07 11:05:25 +01:00
Leandro Melo
b5739e36cb Gen. highlighter: Improve performance (reg. exp.)
Cache matches of the RegExprRule to avoid unnecessary calls.
This is essentially the same optimization existent in Kate.

A colateral effect of this implementation is a mechanism to
notify the rules when a progress (highlight of the current
line) is finished.
2010-12-07 10:17:26 +01:00
Friedemann Kleint
da31ea7641 Symbian/CODA client: Add put/install/stat modes. 2010-12-06 17:07:18 +01:00
Friedemann Kleint
1cba566ca3 Symbian: Start on a test client for CODA. 2010-12-06 13:52:47 +01:00
Bill King
6b7535d8b3 tests: fixes 2010-12-03 15:04:19 +10:00
Bill King
4507d64345 tests: make compile 2010-12-03 11:14:01 +10:00
Christian Kamm
c5c4bacda9 C++ indenter: Fix labels.
Reviewed-by: Roberto Raggi
2010-12-01 10:22:41 +01:00
Friedemann Kleint
30e74df0ba Debugger[New CDDB]: Dump strings and simple Qt types.
Add infrastructure for simple dumpers in Symbol group.
Fix display of class values.
2010-11-26 15:51:56 +01:00
hjk
6cb72f0634 debugger: watchpoint cosmetics 2010-11-26 12:39:14 +01:00
hjk
28b3fa1152 debugger: more manual test clarification. 2010-11-25 17:17:31 +01:00
hjk
f90be084c2 debugger: add notes that std::container dumpers are python-only 2010-11-25 15:09:09 +01:00
hjk
28ca73df56 debugger: small fixes 2010-11-25 15:03:02 +01:00
Friedemann Kleint
2960c735df Debugger/CPP: Move helpers to simplify types to CPlusPlus-lib.
Make available for log simplification, etc.
Add autotest, fix broken std::set and MSVC.

Rubber-stamped-by: Christian Kamm <christian.d.kamm@nokia.com>
2010-11-25 13:51:54 +01:00
Friedemann Kleint
a1bdcc666c Debugger: Add STL types slot to gui test app.
Fix warnings.
2010-11-25 10:38:32 +01:00
Christian Kamm
7a616d5896 C++ indenter: Align to next token instead of end of current.
Task-number: QTCREATORBUG-3136
Reviewed-by: Erik Verbruggen
2010-11-22 10:09:39 +01:00
Alessandro Portale
1c18090b90 Fixing the generation of examples. 2010-11-18 15:37:33 +01:00
Oswald Buddenhagen
531c70f05b add Utils::QtcProcess
this is a wrapper around QProcess with these features:
- setEnvironment() takes a Utils::Environment instead of a QStringList
- instead of taking a stringlist with arguments, take a single shell
  command string which is fully compatible with the system's native
  shell (the bourne shell on unix and cmd.exe on windows) - with support
  for environment variable expansion, and subject to the shell's
  splitting and quoting rules. if the command is too complex (e.g.,
  contains redirections), it is transparently executed through a real
  shell.
- additionally, the class contains a set of helper functions for
  manipulating (constructing, splitting, etc.) shell command lines.
  in particular, it contains a shell-safe macro expander and the nested
  class ArgIterator which can be used for inspecting and manipulating a
  shell command line without going through the stringlist indirection
  (which is potentially lossy).

some of this is based on KDE code (KShell and KMacroExpander) which i
have written myself.
2010-11-17 13:19:07 +01:00
Oswald Buddenhagen
9bd95ade08 add generic macro expansion classes & functions to Utils
AbstractMacroExpander (any macros), AbstractQtcMacroExpander (%{var}
style macros, which is a hybrid of printf format specifiers and unix
environment expansions) and expandMacros() for the actual string
manipulation.
2010-11-17 13:19:06 +01:00
Oswald Buddenhagen
0641ed0eaa change Environment::expandVariables() semantics
instead of being os-agnostic, interpret the os-native expansion style,
so it is consistent with proper (shell) command lines.

don't interpret quotes, as this function is meant for expanding isolated
filepaths, where nobody would expect quoting. instead, use the windows
style of simply not doing an expansion if a referenced variable is not
found, which should be good enough - it's rather unlikely that something
which happens to be an expansion of an existing variable is actually not
meant to be one.
2010-11-17 13:19:06 +01:00
Alessandro Portale
f096b53b46 Fixing the generation of Qt Quick examples 2010-11-16 20:57:22 +01:00
Morten Engvoldsen
886a9736dc Updating QML examples list for deployment on device. 2010-11-16 18:03:06 +01:00
hjk
f9c585281e debugger: fix display of '"' chars
Task-number: QTCREATORBUG-3084
2010-11-16 17:09:56 +01:00
Robert Loehning
0f813fdc33 debugger: Added comment about unexpected behavior 2010-11-16 16:28:21 +01:00
Alessandro Portale
3f366ef54b Valid XML attempt 2010-11-15 22:28:58 +01:00
Alessandro Portale
1b15ba8614 Mass Qt Quick App generator.
First usage: convert QML examples into c++ projects.
2010-11-15 22:15:48 +01:00
Alessandro Portale
606aba3659 Moved some functions to helpers.cpp 2010-11-15 22:15:48 +01:00
Thomas Hartmann
f6fb0d82ed Test: Extend QmlJS code model test. 2010-11-11 11:49:11 +01:00
Christian Kamm
87afbf3933 Add simple stub non-functional autotest.
Done-with: Thomas Hartmann
2010-11-11 11:49:10 +01:00
con
ab41c294d0 Make extension system tests work in new location 2010-11-08 15:12:06 +01:00
con
71fd308c61 Move extension system auto tests. 2010-11-08 15:12:06 +01:00
con
06afc48da1 Make extension system tests running again. 2010-11-08 15:12:06 +01:00
Christian Kamm
1920372280 Move ast dump tools from tests/manual to tests/tools.
Reviewed-by: Friedemann Kleint
2010-11-05 09:25:12 +01:00
Christian Kamm
d2468a4491 C++ indenter: Fix for GNU and Whitesmiths style switch statement.
Task-number: QTCREATORBUG-2994
2010-11-04 14:09:47 +01:00
Friedemann Kleint
338a349dff Debugger: Move tools out of tests/manual. into test/tools. 2010-11-04 13:45:42 +01:00
Friedemann Kleint
dd7b0fcf00 Debugger: Remove obsolete trk testing playground.
Acked-By: hjk
2010-11-04 13:41:39 +01:00
hjk
05c9ea021e fakevim: restore "cheap build" capability of the manual "test" 2010-11-04 09:55:04 +01:00
Bill King
42c083cd5a tests: fixes compile 2010-11-04 10:06:06 +10:00
Oswald Buddenhagen
65650b26a5 make shellQuote() nicer
- unify unix and windows paths
- on windows:
  - we don't need to care for trailing backslashes, as we never append
    directly to quoted strings
  - simplify, as this doesn't need to be fast.
    unfortunately, it's impossible to use
      ret.replace(QRegExp(QLatin1String("(\\\\*)$")), QLatin1String("\"\\1"));
    as that matches foo\ twice (once one backslash and once an empty
    string).
2010-11-03 17:45:59 +01:00
Tobias Hunger
cf3a418cd8 Fix spelling in comments
Krazy was complaining about those.
2010-11-03 12:45:34 +01:00
Robert Loehning
78fc8e3047 Compile fix
Reviewed-by: hjk
2010-11-02 13:13:15 +01:00
Friedemann Kleint
5a5d464160 Debugger: Make manual CCDB test compile again. 2010-11-02 11:33:22 +01:00
con
a031112bef Add auto test for file search. 2010-11-02 11:13:43 +01:00
con
beaff08200 Fix test compilation on Mac by using rpath. 2010-11-01 15:10:44 +01:00
con
59c301a8c8 Make tests compile on Mac. Use qtLibraryName instead of qtLibraryTarget.
qtLibraryTarget is only defined if used with TEMPLATE=lib, which makes
it fail in pri files that are used for app pro files. The tests still
don't run because of run time linking issues.
2010-11-01 14:55:37 +01:00
Oswald Buddenhagen
a9ff4d3749 Merge remote branch 'origin/2.1'
Conflicts:
	doc/qtcreator.qdoc
2010-11-01 12:11:03 +01:00
Bill King
2c84d4c9d6 tests: more autotest cleanup 2010-11-01 13:58:04 +10:00
Bill King
bc04081622 tests: make qmakeable again 2010-11-01 11:43:36 +10:00
Bill King
f928757517 tests: Allow tests to use creator libs/plugins directly (linux/mac) 2010-11-01 11:40:20 +10:00
Kai Koehne
c4ca0060e3 QmlProject: Don't use RegExp for simple wildcard matching
QRegExp matching is quite expensive, and has to be done for every file
in the project directory tree against all possible suffixes. Optimize
for the common case that the pattern is "*.suffix" by doing a
fileName.endsWidth(suffix) in this case.

This speeds up loading of examples/declarative/declarative.qmlproject by
about 30%.

Reviewed-by: Christian Kamm
2010-10-29 09:41:20 +02:00