Commit Graph

191 Commits

Author SHA1 Message Date
mae
d2bb23e62f Make creator auto-save the session state when something changed
Currently the 10second auto-save timer is started when an editor
is opened or close, or when a bookmark or breakpoint is set or
removed.

The change ensures that users do not lose their session state
should creator crash (e.g. when a laptop runs out of battery)

Task-number: QTCREATORBUG-188
Reviewed-by: con
2010-03-03 15:57:10 +01:00
con
8c6fc0c454 Don't begin global paths with '/' on windows.
Doing it creates huge delays, because it resolves to a network path.
Also rename FolderNode::setFolderName to FolderNode::setDisplayName,
because that's the name of the property.

Task-number: QTCREATORBUG-695
2010-02-24 15:06:48 +01:00
con
6062ff2e8f Fixes: "Save as" does not update window title 2010-02-03 17:44:38 +01:00
Friedemann Kleint
2fd8b2d7ff Fix some code scanning issues.
QString: Use QChar where appropriate.
2010-02-01 12:43:56 +01:00
Tobias Hunger
592e494d1a Fix typos
Reviewed-by: thorbjorn
2010-01-11 10:26:13 +01:00
Tobias Hunger
a6ad773722 Make method naming more consistent.
* Use id() for methods returning a string used to represent
    some type of object.
  * Use displayName() for strings that are meant to be user
    visible.
  * Quieten some warnings while touching the files anyway.
  * Move Factories to their products in the plugins where that
    was not done before.

Reviewed-by: dt
2010-01-07 18:17:24 +01:00
dt
ae633c1956 Add BuildConfiguration classes
Each project has it's own BuildConfiguarion * classes, they'll get a
decent type safe interface and the setValue/value stuff will be removed.
2009-11-30 15:24:31 +01:00
con
90c03d3209 Add functionality to show progress for the application in task bar/dock.
Move the API to the progress manager.
Added a first Mac implementation, other
platforms are pending.
2009-11-27 17:08:21 +01:00
Friedemann Kleint
ad294f8467 Project explorer: Make public headers compile with NO_CAST_FROM_ASCII
.. and purge unneeded includes.
2009-09-29 11:39:55 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
hjk
b104b43fa0 sessionmanager: replace signal sessionUnloaded() by aboutToUnloadSession()
sessionUnloaded was sometimes emitted when the session manager was in
an unsafe state (between delete m_file and  m_file = new ...) leading
to crashes when slots connected to the signal accessed the sessionmanager
again. This patch moves the signal emission before  delete m_file.

Reviewed-by: dt
2009-08-13 17:10:53 +02:00
dt
dbe5a6f34b Rework the project settings.
This has still a few missing things, but this enough to start getting
some feedback. Missing are non qt projects, a solution for the
runconfiguration, a missing black line between the treeview on top and
the project settings at the bottom. Some flickering with removing/adding
widgets to the QScrollArea and not showing the expanded widget if the
Details button is right at the bottom.
2009-08-06 15:31:32 +02:00
Thorbjørn Lindeijer
6a5205f39c Micro-optimization for sorting sessions
Reviewed-by: dt
2009-07-23 11:06:07 +02:00
dt
9d58ea3e7c Sort the session list alphabetically.
Task-Nr: 257986
2009-07-21 13:17:58 +02:00
dt
69d04bc069 Simply look at the filesystem to get the list of sessions.
Instead of maintaining a list of sessions in our settings, simply list
all the files that we find.
Note: This will probably ressurect a few lost sessions for some people.

Task-Nr: 255140
2009-06-18 11:36:39 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Thorbjørn Lindeijer
7907e447b0 Don't try to show an empty filename in the window title 2009-06-12 13:00:13 +02:00
mae
eca3b98c56 Use editor manager standard closing facilities for session switching 2009-06-03 17:20:28 +02:00
Joel Nordell
69a99f0a40 add current editor filename (and, on macosx, proxy icon) to titlebar 2009-05-21 14:11:13 -05:00
Oswald Buddenhagen
3270c4828f typo & language fixes 2009-05-11 14:10:22 +02:00
hjk
c1e0a788ff debugger: don't dead-lock when switching sessions while debugging 2009-04-01 16:50:21 +02:00
Thorbjørn Lindeijer
71aeac5915 Use completeBaseName instead of baseName where appropriate
Fixes issues with handling additional dots in the filename in many
places.

Task: 246390
2009-03-20 17:04:23 +01:00
dt
73a8ffe277 Fixes: Session restore bolds the wrong project
Task:     246800
Details:  The value was restored correctly, but due to a optimization, a signal wasn't emitted.
2009-03-19 16:07:00 +01:00
dt
0cd8da28d4 Fixes: Crashes on switching sessions.
Task:     Reported on irc
Details:  Hopefully this new code is a little bit more robust, i tried
to untangle the code a bit.
2009-03-11 17:36:17 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
hjk
b100baedcd Fixes: do not emit startupProjectChanged() if the startup project
has not changed.

    Details:  saves a few cycles
2009-02-03 11:39:18 +01:00
hjk
667255c4d1 some more ICore related cleanup 2009-01-20 17:14:00 +01:00
Thorbjørn Lindeijer
0728e78afb Reintroduced a way to edit project dependencies
Dependencies between projects can now be edited in the Projects mode.
You can simply check for each project the projects that it depends on,
and they will be built first. A message box pops up when you try to
create a circular dependency.

Could use some testing.
2009-01-16 16:44:25 +01:00
Daniel Molkentin
59affcfffc Bump year in licence header. 2009-01-13 19:22:14 +01:00
con
281c462d24 Fixes: - ProgressManagerInterface --> ProgressManager
Details:  - Conform to conventions.
2009-01-13 15:44:26 +01:00
dt
d402ed2955 Fixes: Replace QTC_ASSERT with QT_ASSERT. 2008-12-17 15:51:48 +01:00
hjk
da3cb14483 chancge Nokia GPL exception version from 1.2 to 1.3 2008-12-16 17:20:00 +01:00
con
e9d9071009 Fixes: - Restoring session doesn't end up with focus in editor
RevBy:    - dt
Details:  - ProjectWindow always grabbed the focus
2008-12-10 16:48:40 +01:00
hjk
4a552ead9f use QTC_ASSERT instead of Q_ASSERT 2008-12-09 15:25:01 +01:00
hjk
342caa2141 some more whitespace changes 2008-12-09 11:07:24 +01:00
Thorbjørn Lindeijer
c14896b7d2 Slight optimization in Session::projectForFile
Avoid creating a copy of the list of projects.
2008-12-08 13:05:44 +01:00
dt
75f2c01d96 Fixes: Fixes saving of settings 2008-12-03 14:25:17 +01:00
hjk
cf11b69643 more code cosmetics 2008-12-02 16:19:05 +01:00
hjk
ab83dcd87c off-by-one in headers 2008-12-02 14:20:25 +01:00
hjk
8a43d9b9f3 end-of-line whitespace correction of the new headers 2008-12-02 14:17:16 +01:00
con
05c35356ab Initial import 2008-12-02 12:01:29 +01:00