Skip to content

Commit 2d1813f

Browse files
authoredJul 13, 2016
Remove FLP import, revert to GPLv2+ only (#2904)
1 parent 8a4c6e2 commit 2d1813f

39 files changed

+4
-11016
lines changed
 

‎LICENSE.txt‎

Lines changed: 0 additions & 681 deletions
Large diffs are not rendered by default.

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Features
3232
* Many powerful instrument and effect-plugins out of the box
3333
* Full user-defined track-based automation and computer-controlled automation sources
3434
* Compatible with many standards such as SoundFont2, VST(i), LADSPA, GUS Patches, and full MIDI support
35-
* Import of MIDI and FLP (FL Studio®/Fruityloops® Project) files
35+
* MIDI file importing
3636

3737
Building
3838
---------

‎include/EnvelopeAndLfoParameters.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ public slots:
179179

180180

181181
friend class EnvelopeAndLfoView;
182-
friend class FlpImport;
183182

184183
} ;
185184

‎include/FileBrowser.h‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ class FileItem : public QTreeWidgetItem
179179
SoundFontFile,
180180
PatchFile,
181181
MidiFile,
182-
FlpFile,
183182
VstPluginFile,
184183
UnknownFile,
185184
NumFileTypes
@@ -228,7 +227,6 @@ class FileItem : public QTreeWidgetItem
228227
static QPixmap * s_soundfontFilePixmap;
229228
static QPixmap * s_vstPluginFilePixmap;
230229
static QPixmap * s_midiFilePixmap;
231-
static QPixmap * s_flpFilePixmap;
232230
static QPixmap * s_unknownFilePixmap;
233231

234232
QString m_path;

‎include/InstrumentFunctions.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ class InstrumentFunctionArpeggio : public Model, public JournallingObject
202202
ComboBoxModel m_arpModeModel;
203203

204204

205-
friend class FlpImport;
206205
friend class InstrumentTrack;
207206
friend class InstrumentFunctionArpeggioView;
208207

‎include/InstrumentSoundShaping.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ class InstrumentSoundShaping : public Model, public JournallingObject
7878

7979

8080
friend class InstrumentSoundShapingView;
81-
friend class FlpImport;
8281

8382
} ;
8483

‎include/InstrumentTrack.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ protected slots:
268268
friend class InstrumentTrackView;
269269
friend class InstrumentTrackWindow;
270270
friend class NotePlayHandle;
271-
friend class FlpImport;
272271
friend class InstrumentMiscView;
273272

274273
} ;

‎plugins/CMakeLists.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ ADD_SUBDIRECTORY(DualFilter)
1919
ADD_SUBDIRECTORY(dynamics_processor)
2020
ADD_SUBDIRECTORY(Eq)
2121
ADD_SUBDIRECTORY(Flanger)
22-
ADD_SUBDIRECTORY(flp_import)
2322
ADD_SUBDIRECTORY(HydrogenImport)
2423
ADD_SUBDIRECTORY(kicker)
2524
ADD_SUBDIRECTORY(ladspa_browser)

‎plugins/flp_import/CMakeLists.txt‎

Lines changed: 0 additions & 13 deletions
This file was deleted.

‎plugins/flp_import/FlpImport.cpp‎

Lines changed: 0 additions & 1887 deletions
This file was deleted.

‎plugins/flp_import/FlpImport.h‎

Lines changed: 0 additions & 104 deletions
This file was deleted.

‎plugins/flp_import/unrtf.cpp‎

Lines changed: 0 additions & 71 deletions
This file was deleted.

‎plugins/flp_import/unrtf/attr.c‎

Lines changed: 0 additions & 677 deletions
This file was deleted.

‎plugins/flp_import/unrtf/attr.h‎

Lines changed: 0 additions & 104 deletions
This file was deleted.

‎plugins/flp_import/unrtf/convert.c‎

Lines changed: 0 additions & 3684 deletions
This file was deleted.

‎plugins/flp_import/unrtf/convert.h‎

Lines changed: 0 additions & 60 deletions
This file was deleted.

‎plugins/flp_import/unrtf/defs.h‎

Lines changed: 0 additions & 78 deletions
This file was deleted.

‎plugins/flp_import/unrtf/error.c‎

Lines changed: 0 additions & 106 deletions
This file was deleted.

‎plugins/flp_import/unrtf/error.h‎

Lines changed: 0 additions & 46 deletions
This file was deleted.

‎plugins/flp_import/unrtf/hash.c‎

Lines changed: 0 additions & 218 deletions
This file was deleted.

‎plugins/flp_import/unrtf/hash.h‎

Lines changed: 0 additions & 42 deletions
This file was deleted.

‎plugins/flp_import/unrtf/html.c‎

Lines changed: 0 additions & 1265 deletions
This file was deleted.

‎plugins/flp_import/unrtf/html.h‎

Lines changed: 0 additions & 43 deletions
This file was deleted.

‎plugins/flp_import/unrtf/main.h‎

Lines changed: 0 additions & 46 deletions
This file was deleted.

‎plugins/flp_import/unrtf/output.c‎

Lines changed: 0 additions & 478 deletions
This file was deleted.

‎plugins/flp_import/unrtf/output.h‎

Lines changed: 0 additions & 312 deletions
This file was deleted.

‎plugins/flp_import/unrtf/parse.c‎

Lines changed: 0 additions & 472 deletions
This file was deleted.

‎plugins/flp_import/unrtf/parse.h‎

Lines changed: 0 additions & 45 deletions
This file was deleted.

‎plugins/flp_import/unrtf/ur_malloc.c‎

Lines changed: 0 additions & 133 deletions
This file was deleted.

‎plugins/flp_import/unrtf/ur_malloc.h‎

Lines changed: 0 additions & 39 deletions
This file was deleted.

‎plugins/flp_import/unrtf/util.c‎

Lines changed: 0 additions & 72 deletions
This file was deleted.

‎plugins/flp_import/unrtf/util.h‎

Lines changed: 0 additions & 34 deletions
This file was deleted.

‎plugins/flp_import/unrtf/word.c‎

Lines changed: 0 additions & 217 deletions
This file was deleted.

‎plugins/flp_import/unrtf/word.h‎

Lines changed: 0 additions & 53 deletions
This file was deleted.

‎src/core/DataFile.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ bool DataFile::validate( QString extension )
191191
extension == "xpf" || extension == "xml" ||
192192
( extension == "xiz" && ! pluginFactory->pluginSupportingExtension(extension).isNull()) ||
193193
extension == "sf2" || extension == "pat" || extension == "mid" ||
194-
extension == "flp" || extension == "dll"
194+
extension == "dll"
195195
) )
196196
{
197197
return true;

‎src/core/ImportFilter.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* ImportFilter.cpp - base-class for all import-filters (MIDI, FLP etc)
2+
* ImportFilter.cpp - base-class for all import-filters
33
*
44
* Copyright (c) 2006-2014 Tobias Doerffel <tobydox/at/users.sourceforge.net>
55
*

‎src/core/Song.cpp‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,8 +1170,6 @@ void Song::importProject()
11701170
ConfigManager::inst()->userProjectsDir(),
11711171
tr("MIDI sequences") +
11721172
" (*.mid *.midi *.rmi);;" +
1173-
tr("FL Studio projects") +
1174-
" (*.flp);;" +
11751173
tr("Hydrogen projects") +
11761174
" (*.h2song);;" +
11771175
tr("All file types") +

‎src/gui/FileBrowser.cpp‎

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -478,9 +478,6 @@ void FileBrowserTreeWidget::mouseMoveEvent( QMouseEvent * me )
478478
embed::getIconPixmap( "vst_plugin_file" ), this );
479479
break;
480480
case FileItem::MidiFile:
481-
// don't allow dragging FLP-files as FLP import filter clears project
482-
// without asking
483-
// case fileItem::FlpFile:
484481
new StringPairDrag( "importedproject", f->fullName(),
485482
embed::getIconPixmap( "midi_file" ), this );
486483
break;
@@ -568,11 +565,6 @@ void FileBrowserTreeWidget::handleFile(FileItem * f, InstrumentTrack * it )
568565
}
569566

570567
case FileItem::ImportAsProject:
571-
if( f->type() == FileItem::FlpFile &&
572-
!gui->mainWindow()->mayChangeProject(true) )
573-
{
574-
break;
575-
}
576568
ImportFilter::import( f->fullName(),
577569
Engine::getSong() );
578570
break;
@@ -853,7 +845,6 @@ QPixmap * FileItem::s_sampleFilePixmap = NULL;
853845
QPixmap * FileItem::s_soundfontFilePixmap = NULL;
854846
QPixmap * FileItem::s_vstPluginFilePixmap = NULL;
855847
QPixmap * FileItem::s_midiFilePixmap = NULL;
856-
QPixmap * FileItem::s_flpFilePixmap = NULL;
857848
QPixmap * FileItem::s_unknownFilePixmap = NULL;
858849

859850

@@ -918,12 +909,6 @@ void FileItem::initPixmaps( void )
918909
"midi_file", 16, 16 ) );
919910
}
920911

921-
if( s_flpFilePixmap == NULL )
922-
{
923-
s_flpFilePixmap = new QPixmap( embed::getIconPixmap(
924-
"midi_file", 16, 16 ) );
925-
}
926-
927912
if( s_unknownFilePixmap == NULL )
928913
{
929914
s_unknownFilePixmap = new QPixmap( embed::getIconPixmap(
@@ -951,9 +936,6 @@ void FileItem::initPixmaps( void )
951936
case MidiFile:
952937
setIcon( 0, *s_midiFilePixmap );
953938
break;
954-
case FlpFile:
955-
setIcon( 0, *s_flpFilePixmap );
956-
break;
957939
case UnknownFile:
958940
default:
959941
setIcon( 0, *s_unknownFilePixmap );
@@ -997,11 +979,6 @@ void FileItem::determineFileType( void )
997979
m_type = MidiFile;
998980
m_handling = ImportAsProject;
999981
}
1000-
else if( ext == "flp" )
1001-
{
1002-
m_type = FlpFile;
1003-
m_handling = ImportAsProject;
1004-
}
1005982
else if( ext == "dll" )
1006983
{
1007984
m_type = VstPluginFile;

‎src/gui/MainWindow.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ MainWindow::MainWindow() :
108108
sideBar->appendTab( new FileBrowser(
109109
confMgr->userProjectsDir() + "*" +
110110
confMgr->factoryProjectsDir(),
111-
"*.mmp *.mmpz *.xml *.mid *.flp",
111+
"*.mmp *.mmpz *.xml *.mid",
112112
tr( "My Projects" ),
113113
embed::getIconPixmap( "project_file" ).transformed( QTransform().rotate( 90 ) ),
114114
splitter, false, true ) );

0 commit comments

Comments
 (0)
Please sign in to comment.