[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Traverso-commit] traverso src/core/Config.cpp src/traverso/Trave...
From: |
Remon Sijrier |
Subject: |
[Traverso-commit] traverso src/core/Config.cpp src/traverso/Trave... |
Date: |
Tue, 24 Apr 2007 16:55:03 +0000 |
CVSROOT: /sources/traverso
Module name: traverso
Changes by: Remon Sijrier <r_sijrier> 07/04/24 16:55:03
Modified files:
src/core : Config.cpp
src/traverso : Traverso.cpp
. : TODO
Log message:
* Change company name to Traverso-DAW.
* QSettings uses INI format on all platforms now, saving settings in
/home/dir/.traverso
* call config().save() from Traverso destructor, QSettings crashes
when it's called from within the destructor of Config when using the
INI format.. ?
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/Config.cpp?cvsroot=traverso&r1=1.13&r2=1.14
http://cvs.savannah.gnu.org/viewcvs/traverso/src/traverso/Traverso.cpp?cvsroot=traverso&r1=1.36&r2=1.37
http://cvs.savannah.gnu.org/viewcvs/traverso/TODO?cvsroot=traverso&r1=1.4&r2=1.5
Patches:
Index: src/core/Config.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/core/Config.cpp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- src/core/Config.cpp 4 Apr 2007 12:08:57 -0000 1.13
+++ src/core/Config.cpp 24 Apr 2007 16:55:02 -0000 1.14
@@ -1,5 +1,5 @@
/*
-Copyright (C) 2006 Remon Sijrier
+Copyright (C) 2006-2007 Remon Sijrier
This file is part of Traverso
@@ -17,7 +17,6 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Id: Config.cpp,v 1.13 2007/04/04 12:08:57 r_sijrier Exp $
*/
#include "Config.h"
@@ -43,12 +42,12 @@
Config::~ Config( )
{
- save();
}
void Config::load_configuration()
{
- QSettings settings;
+ QSettings settings(QSettings::IniFormat, QSettings::UserScope,
"Traverso-DAW", "Traverso");
+
QStringList keys = settings.allKeys();
foreach(QString key, keys) {
@@ -59,7 +58,8 @@
void Config::reset_settings( )
{
- QSettings settings;
+ QSettings settings(QSettings::IniFormat, QSettings::UserScope,
"Traverso-DAW", "Traverso");
+
settings.clear();
settings.setValue("ProgramVersion", VERSION);
@@ -72,7 +72,7 @@
void Config::check_and_load_configuration( )
{
- QSettings::setPath ( QSettings::NativeFormat, QSettings::UserScope,
QDir::homePath () + "/.traverso" );
+ QSettings::setPath (QSettings::IniFormat, QSettings::UserScope,
QDir::homePath () + "/.traverso");
load_configuration();
@@ -98,7 +98,7 @@
void Config::save( )
{
- QSettings settings;
+ QSettings settings(QSettings::IniFormat, QSettings::UserScope,
"Traverso-DAW", "Traverso");
QHash<QString, QVariant>::const_iterator i = m_configs.constBegin();
Index: src/traverso/Traverso.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/traverso/Traverso.cpp,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- src/traverso/Traverso.cpp 23 Apr 2007 13:52:20 -0000 1.36
+++ src/traverso/Traverso.cpp 24 Apr 2007 16:55:02 -0000 1.37
@@ -1,5 +1,5 @@
/*
-Copyright (C) 2005-2006 Remon Sijrier
+Copyright (C) 2005-200 Remon Sijrier
This file is part of Traverso
@@ -84,8 +84,9 @@
Traverso::Traverso(int &argc, char **argv )
: QApplication ( argc, argv )
{
- QCoreApplication::setOrganizationName("Traverso-daw");
+ QCoreApplication::setOrganizationName("Traverso-DAW");
QCoreApplication::setApplicationName("Traverso");
+ QCoreApplication::setOrganizationDomain("traverso-daw.org");
qRegisterMetaType<InfoStruct>("InfoStruct");
@@ -108,6 +109,7 @@
Traverso::~Traverso()
{
PENTERDES;
+ config().save();
delete Interface::instance();
delete themer();
}
Index: TODO
===================================================================
RCS file: /sources/traverso/traverso/TODO,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- TODO 17 Apr 2007 19:56:46 -0000 1.4
+++ TODO 24 Apr 2007 16:55:02 -0000 1.5
@@ -1,16 +1,14 @@
TOBEDONE FOR 0.40.0
-* Curves should have a default (first) node which is not allowed to be
removed, or moved horiztonally!!!
+* when changing the width of fades, the cursor should remain static (as in
gain)
-* sometimes the project file seems to be filled from within a loop, perhaps
this is due
- some action is still in the tsar event queue being processed by the rt
thread, while
- at the same time, the gui thread starts the save routine, just guessing here
though..
+* Curves should have a default (first) node which is not allowed to be
removed, or moved horizontally!!!
* Audible glitch when playing over a split point in a splitted audioclip :-(
:-( :-(
-* I got a reproducable crash when adding a new track and importing an audio
- file into it. After exiting and re-opening traverso, it works.
-
* libsndfile:
How to record to files larger 4 GB
Sector misalignment, how to handle.
+
+Less important:
+* horizontal zooming with playhead animated causes 2 paints one at start, one
at real pos during play!
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Traverso-commit] traverso src/core/Config.cpp src/traverso/Trave...,
Remon Sijrier <=