Commit Graph

72811 Commits

Author SHA1 Message Date
Friedemann Kleint
b4c6ecee58 ProjectExplorer include file cleaning spree. 2010-01-25 15:10:12 +01:00
Roberto Raggi
cca9910287 Added support for properties of type point, rect, and borders. 2010-01-25 15:06:23 +01:00
Kai Koehne
b37dededbc Fix duplicated copyright notice 2010-01-25 15:01:40 +01:00
Roberto Raggi
a8f0971a0b Show the auto-created slots in the completion box (e.g. MouseRegion's onClicked). 2010-01-25 14:48:44 +01:00
Thorbjørn Lindeijer
ab3d3cf413 Don't draw the right margin border on top of the text
Better to draw it explicitly under the text, together with the
associated background color.
2010-01-25 14:25:00 +01:00
Roberto Raggi
c9efafcb98 Introduced ranges and versioning of QML/JS documents. 2010-01-25 14:18:53 +01:00
Thorbjørn Lindeijer
0ddfcdff43 Fixed performance issue with scrolling when using X11 graphics system
Depending on the XRender driver (probably), drawing a short straight
line can take quite a while when this line is transparent. On my
laptop's onboard ATI card, this meant that scrolling was unusably slow
when this transparent line was being drawn.

Fixed by avoiding the issue, since there is no actual need to use
transparency here. We can calculate the resulting color in advance
instead.
2010-01-25 13:59:01 +01:00
Marco Bubke
fbdd4fbf49 Disable the write locker in the model attach and detach functions
And activate them in all other write functions.
2010-01-25 12:58:02 +01:00
Thiago Macieira
8dca852b35 Fix compilation: #include your headers properly.
std::swap is defined in <algorithm>.

Reviewed-By: TrustMe
2010-01-25 10:45:30 +01:00
Friedemann Kleint
253f8c6010 Mime database: Fix potential memory leak.
Uncovered by code scanning.
2010-01-25 10:09:38 +01:00
Roberto Raggi
971e4b596c Return a normal plain Object value when Qt/Declaritive is not available. 2010-01-25 09:40:37 +01:00
Friedemann Kleint
d82c10921d CDB: Fix location marker not shown at first breakpoint in file.
Return value glitch in file name normalization.
2010-01-25 09:37:32 +01:00
Friedemann Kleint
eeb3107983 CDB: Fix location marker not shown at first breakpoint in file.
Return value glitch in file name normalization.
2010-01-25 09:36:05 +01:00
Roberto Raggi
6db71d185b Try to get the item under cursor. 2010-01-25 09:31:36 +01:00
Roberto Raggi
24f5a9c0e4 Set up the scope chain. 2010-01-25 09:31:36 +01:00
Roberto Raggi
b4a901aa1e Initial work on global completion for QML/JS files. 2010-01-25 09:31:35 +01:00
Roberto Raggi
feab07de81 Refactored the QML/JS completer 2010-01-25 09:31:35 +01:00
Roberto Raggi
659b2a7ee3 Complete QML properties. 2010-01-25 09:31:35 +01:00
Roberto Raggi
3c37eaa577 Simulate the call stack. 2010-01-25 09:31:34 +01:00
Roberto Raggi
2d2ec2b785 Cleanup 2010-01-25 09:31:34 +01:00
Roberto Raggi
1f5d65e4a3 Initialize Parser::depth 2010-01-25 09:31:34 +01:00
Daniel Molkentin
dbc295a07f Fixes for FancyActionBar and TargetSelector.
- Improved icon and text positioning
- Improved readability and some gfx glitches on windows and mac
- Removed drop down functionality from Run/Debug/Build buttons
2010-01-22 18:04:42 +01:00
Friedemann Kleint
d348e5099b Debugger/CDB: Split engine for testing/scripting purposes. 2010-01-22 17:15:33 +01:00
hjk
4537e2be6c fakevim: code cosmetics 2010-01-22 17:05:03 +01:00
Martin Aumüller
4d14568afc fakevim: map 'gt'/'gT' to ':tabnext'/':tabprev'
this way, users can override these commands with arbitrary actions,
some want to map switching between the opened files to these keys

Merge-request: 101
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-22 17:05:03 +01:00
Martin Aumüller
8ad7e88ac3 fakevim: make ':n'/':N' switch to the next/previous open file
this approximates vim's behaviour better than moving forward/back in the navigation history

Merge-request: 101
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-22 17:05:03 +01:00
Martin Aumüller
a4e34a804a fakevim: make sure that FakeVimHandler has returned before being deleted
some actions might cause the parent editor to be deleted,
don't crash in that case

Merge-request: 101
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-22 17:05:03 +01:00
Martin Aumüller
7c9c7a0f20 fakevim: configurable mapping of ex commands to actions
default mapping:
- :make -> build
- :A -> switch header/source
- :cn -> next issue item
- :cp -> previous issue item

Merge-request: 101
Reviewed-by: hjk <qtc-committer@nokia.com>
2010-01-22 17:05:03 +01:00
Erik Verbruggen
4912ffe729 Temporary fix to prevent the parser from going too deep into recursion. 2010-01-22 16:07:26 +01:00
Thorbjørn Lindeijer
d3acff747c Don't try to read the next start element after the root element
There can only be one root element in an XML document, and when we try
to read another one we get a premature end of document error.
2010-01-22 15:54:03 +01:00
con
cfd998490b New project mode layout, first part. 2010-01-22 15:34:01 +01:00
Tobias Hunger
b832bc3d6e Replace "sth */* text */" with "sth * /* text */"
*  Fixes a warning in windows.
2010-01-22 14:54:26 +01:00
Roberto Raggi
099f2072a2 Added a simple scanner to get the expression under cursor. 2010-01-22 14:42:59 +01:00
Kai Koehne
5640bf5d26 Elaborate on license in Mac OS X Info.plist files 2010-01-22 14:28:30 +01:00
Kai Koehne
8c2216793e Remove mentioning of Bauhaus 2010-01-22 13:56:37 +01:00
Erik Verbruggen
ff910fd757 Added "@property" to the outline entries for ObjC properties. 2010-01-22 13:24:06 +01:00
Erik Verbruggen
0874b4a25d Fixed typo in method name. 2010-01-22 13:23:56 +01:00
Erik Verbruggen
58d06f520d Manually reverted parts of d61eb9c893. 2010-01-22 12:53:44 +01:00
Erik Verbruggen
9de8f384ab Removed duplicate null check. 2010-01-22 11:35:42 +01:00
Erik Verbruggen
c73bf0041d Fixed macro definitions. 2010-01-22 11:23:23 +01:00
Roberto Raggi
f837d49ca4 Show the function arguments hint. 2010-01-22 10:58:32 +01:00
Roberto Raggi
ba3e68fcbb Try to get the type of the qualified name id under cursor 2010-01-22 10:26:52 +01:00
Erik Verbruggen
4b97bf170a Define __strong and __weak to be empty macros, so we "handle" Apple's GC C extension. 2010-01-22 10:04:01 +01:00
Erik Verbruggen
007d76aada Fixed bug in ObjC class field parsing which could result in an invalid pointer in the AST. 2010-01-22 09:54:00 +01:00
Erik Verbruggen
800f4babc6 Removed unused method. 2010-01-22 09:54:00 +01:00
Erik Verbruggen
9ea5264edd When running on MacOS, undefine __BLOCKS__ in the preprocessor flags of the C++ parser.
We don't support blocks yet, and this way we get rid of quite some
parsing errors (resulting in undefined or wrongly defined types, messing
up the semantic passes).

Reviewed-by: Roberto Raggi
2010-01-22 09:53:59 +01:00
Roberto Raggi
68a8b6a663 Show in the completion box only the visible IDs. 2010-01-22 09:37:44 +01:00
Roberto Raggi
33bc7d7708 Disabled the code completion of QML components. 2010-01-22 09:23:58 +01:00
Daniel Molkentin
56aac18bd8 Extend QSettings workaround to Windows. 2010-01-21 21:28:09 +01:00
Daniel Molkentin
c4d1553da4 Add first version of a new sidebar, including project selector.
The project selector also allows to select targets.
However, this is not yet used, since the necessary
changes are still being stabilized.

Done-with: con
2010-01-21 21:13:10 +01:00