diff --git a/artsc/CMakeLists.txt b/artsc/CMakeLists.txt index 6a5955e..0966a45 100644 --- a/artsc/CMakeLists.txt +++ b/artsc/CMakeLists.txt @@ -104,7 +104,7 @@ set_property( TARGET artsc-shared APPEND PROPERTY COMPILE_DEFINITIONS ARTSC_BACK ##### artscbackend (shared lib) ################# tde_add_library( artscbackend SHARED - SOURCES artscbackend.cc + SOURCES artscbackend.cpp VERSION 0.0.0 LINK soundserver_idl-shared artsflow-shared DESTINATION ${LIB_INSTALL_DIR} diff --git a/artsc/artscbackend.cc b/artsc/artscbackend.cpp similarity index 100% rename from artsc/artscbackend.cc rename to artsc/artscbackend.cpp diff --git a/doc/TODO b/doc/TODO index 679af8e..29d2123 100644 --- a/doc/TODO +++ b/doc/TODO @@ -151,7 +151,7 @@ ## Misc -- put streamwise blocking into MCOP, see artscat.cc to read really ugly +- put streamwise blocking into MCOP, see artscat.cpp to read really ugly source which lives without that feature - implement plugins that transfer non-standard datatypes such as midi events, video frames, fft packets, oscilloscope views, ... (which was impossible @@ -185,7 +185,7 @@ Flowsystem transactions: Example: problematic assertion - assert(done[i] <= samples); /* synthschedule.cc:998 */ + assert(done[i] <= samples); /* synthschedule.cpp:998 */ the problem with the assertion here is this - suppose some object reacts in a way on some signal that will lead to the creation of new objects, diff --git a/examples/catfile.cc b/examples/catfile.cpp similarity index 100% rename from examples/catfile.cc rename to examples/catfile.cpp diff --git a/examples/dcasttest.cc b/examples/dcasttest.cpp similarity index 100% rename from examples/dcasttest.cc rename to examples/dcasttest.cpp diff --git a/examples/flow.cc b/examples/flow.cpp similarity index 100% rename from examples/flow.cc rename to examples/flow.cpp diff --git a/examples/hello_impl.cc b/examples/hello_impl.cpp similarity index 100% rename from examples/hello_impl.cc rename to examples/hello_impl.cpp diff --git a/examples/helloclient.cc b/examples/helloclient.cpp similarity index 100% rename from examples/helloclient.cc rename to examples/helloclient.cpp diff --git a/examples/hellodynamic.cc b/examples/hellodynamic.cpp similarity index 100% rename from examples/hellodynamic.cc rename to examples/hellodynamic.cpp diff --git a/examples/hellodynamic2.cc b/examples/hellodynamic2.cpp similarity index 100% rename from examples/hellodynamic2.cc rename to examples/hellodynamic2.cpp diff --git a/examples/hellomain.cc b/examples/hellomain.cpp similarity index 100% rename from examples/hellomain.cc rename to examples/hellomain.cpp diff --git a/examples/helloserver.cc b/examples/helloserver.cpp similarity index 100% rename from examples/helloserver.cc rename to examples/helloserver.cpp diff --git a/examples/irdemo.cc b/examples/irdemo.cpp similarity index 100% rename from examples/irdemo.cc rename to examples/irdemo.cpp diff --git a/examples/playtofile_impl.cc b/examples/playtofile_impl.cpp similarity index 100% rename from examples/playtofile_impl.cc rename to examples/playtofile_impl.cpp diff --git a/examples/playtofile_main.cc b/examples/playtofile_main.cpp similarity index 98% rename from examples/playtofile_main.cc rename to examples/playtofile_main.cpp index ba049da..bd47185 100644 --- a/examples/playtofile_main.cc +++ b/examples/playtofile_main.cpp @@ -32,7 +32,7 @@ using namespace Arts; using namespace std; -/* copypasted from simplesoundserver_impl.cc */ +/* copypasted from simplesoundserver_impl.cpp */ PlayObject createPlayObject(const string& filename) { string objectType = ""; diff --git a/examples/referenceinfo.cc b/examples/referenceinfo.cpp similarity index 100% rename from examples/referenceinfo.cc rename to examples/referenceinfo.cpp diff --git a/examples/streamsound.cc b/examples/streamsound.cpp similarity index 100% rename from examples/streamsound.cc rename to examples/streamsound.cpp diff --git a/examples/testaggregation.cc b/examples/testaggregation.cpp similarity index 100% rename from examples/testaggregation.cc rename to examples/testaggregation.cpp diff --git a/examples/testasubsys.cc b/examples/testasubsys.cpp similarity index 100% rename from examples/testasubsys.cc rename to examples/testasubsys.cpp diff --git a/examples/testdhandle.cc b/examples/testdhandle.cpp similarity index 100% rename from examples/testdhandle.cc rename to examples/testdhandle.cpp diff --git a/examples/testthreads.cc b/examples/testthreads.cpp similarity index 100% rename from examples/testthreads.cc rename to examples/testthreads.cpp diff --git a/examples/x11commtest.cc b/examples/x11commtest.cpp similarity index 100% rename from examples/x11commtest.cc rename to examples/x11commtest.cpp diff --git a/flow/CMakeLists.txt b/flow/CMakeLists.txt index 4a8492d..48fb330 100644 --- a/flow/CMakeLists.txt +++ b/flow/CMakeLists.txt @@ -48,19 +48,19 @@ install( FILES set( target artsflow ) set( ${target}_SRCS - synth_play_impl.cc gslschedule.cc audiosubsys.cc - pipebuffer.cc convert.cc synth_wave_sin_impl.cc - synth_frequency_impl.cc synth_multi_add_impl.cc - synth_add_impl.cc synth_mul_impl.cc synth_play_wav_impl.cc - stdsynthmodule.cc cache.cc asyncschedule.cc bytestreamtoaudio_impl.cc - stereovolumecontrol_impl.cc stereoeffectstack_impl.cc - fft.c stereofftscope_impl.cc virtualports.cc bus.cc - audiomanager_impl.cc synth_record_impl.cc resample.cc - audioio.cc audioiooss.cc audioioalsa.cc audioioalsa9.cc - audioionull.cc audioiolibaudioio.cc audioioesd.cc audioiosndio.cc - audioiojack.cc audioiosun.cc audioioaix.cc audioionas.cc - cpuinfo.cc audioioossthreaded.cc audiotobytestream_impl.cc - audioiosgi.cc audioiocsl.cc audioiomas.cc datahandle_impl.cc + synth_play_impl.cpp gslschedule.cpp audiosubsys.cpp + pipebuffer.cpp convert.cpp synth_wave_sin_impl.cpp + synth_frequency_impl.cpp synth_multi_add_impl.cpp + synth_add_impl.cpp synth_mul_impl.cpp synth_play_wav_impl.cpp + stdsynthmodule.cpp cache.cpp asyncschedule.cpp bytestreamtoaudio_impl.cpp + stereovolumecontrol_impl.cpp stereoeffectstack_impl.cpp + fft.c stereofftscope_impl.cpp virtualports.cpp bus.cpp + audiomanager_impl.cpp synth_record_impl.cpp resample.cpp + audioio.cpp audioiooss.cpp audioioalsa.cpp audioioalsa9.cpp + audioionull.cpp audioiolibaudioio.cpp audioioesd.cpp audioiosndio.cpp + audioiojack.cpp audioiosun.cpp audioioaix.cpp audioionas.cpp + cpuinfo.cpp audioioossthreaded.cpp audiotobytestream_impl.cpp + audioiosgi.cpp audioiocsl.cpp audioiomas.cpp datahandle_impl.cpp ) tde_add_library( ${target} SHARED @@ -73,13 +73,13 @@ tde_add_library( ${target} SHARED ##### artsflow_idl (shared lib) ################# add_custom_command( - OUTPUT artsflow.cc + OUTPUT artsflow.cpp COMMAND ../mcopidl/mcopidl ARGS -t ${CMAKE_CURRENT_SOURCE_DIR}/artsflow.idl DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/artsflow.idl ) tde_add_library( artsflow_idl SHARED - SOURCES artsflow.cc + SOURCES artsflow.cpp VERSION 1.0.0 LINK mcop-shared ${ALSA_LIBRARIES} DESTINATION ${LIB_INSTALL_DIR} diff --git a/flow/asyncschedule.cc b/flow/asyncschedule.cpp similarity index 100% rename from flow/asyncschedule.cc rename to flow/asyncschedule.cpp diff --git a/flow/audioio.cc b/flow/audioio.cpp similarity index 100% rename from flow/audioio.cc rename to flow/audioio.cpp diff --git a/flow/audioioaix.cc b/flow/audioioaix.cpp similarity index 100% rename from flow/audioioaix.cc rename to flow/audioioaix.cpp diff --git a/flow/audioioalsa.cc b/flow/audioioalsa.cpp similarity index 100% rename from flow/audioioalsa.cc rename to flow/audioioalsa.cpp diff --git a/flow/audioioalsa9.cc b/flow/audioioalsa9.cpp similarity index 99% rename from flow/audioioalsa9.cc rename to flow/audioioalsa9.cpp index 94c72ef..1c8b3a5 100644 --- a/flow/audioioalsa9.cc +++ b/flow/audioioalsa9.cpp @@ -3,7 +3,7 @@ Copyright (C) 2001 Takashi Iwai Copyright (C) 2004 Allan Sandfeld Jensen - based on audioalsa.cc: + based on audioalsa.cpp: Copyright (C) 2000,2001 Jozef Kosoru jozef.kosoru@pobox.sk (C) 2000,2001 Stefan Westerfeld diff --git a/flow/audioiocsl.cc b/flow/audioiocsl.cpp similarity index 100% rename from flow/audioiocsl.cc rename to flow/audioiocsl.cpp diff --git a/flow/audioioesd.cc b/flow/audioioesd.cpp similarity index 100% rename from flow/audioioesd.cc rename to flow/audioioesd.cpp diff --git a/flow/audioiojack.cc b/flow/audioiojack.cpp similarity index 100% rename from flow/audioiojack.cc rename to flow/audioiojack.cpp diff --git a/flow/audioiolibaudioio.cc b/flow/audioiolibaudioio.cpp similarity index 100% rename from flow/audioiolibaudioio.cc rename to flow/audioiolibaudioio.cpp diff --git a/flow/audioiomas.cc b/flow/audioiomas.cpp similarity index 100% rename from flow/audioiomas.cc rename to flow/audioiomas.cpp diff --git a/flow/audioionas.cc b/flow/audioionas.cpp similarity index 100% rename from flow/audioionas.cc rename to flow/audioionas.cpp diff --git a/flow/audioionull.cc b/flow/audioionull.cpp similarity index 100% rename from flow/audioionull.cc rename to flow/audioionull.cpp diff --git a/flow/audioiooss.cc b/flow/audioiooss.cpp similarity index 100% rename from flow/audioiooss.cc rename to flow/audioiooss.cpp diff --git a/flow/audioioossthreaded.cc b/flow/audioioossthreaded.cpp similarity index 100% rename from flow/audioioossthreaded.cc rename to flow/audioioossthreaded.cpp diff --git a/flow/audioiosgi.cc b/flow/audioiosgi.cpp similarity index 100% rename from flow/audioiosgi.cc rename to flow/audioiosgi.cpp diff --git a/flow/audioiosndio.cc b/flow/audioiosndio.cpp similarity index 100% rename from flow/audioiosndio.cc rename to flow/audioiosndio.cpp diff --git a/flow/audioiosun.cc b/flow/audioiosun.cpp similarity index 100% rename from flow/audioiosun.cc rename to flow/audioiosun.cpp diff --git a/flow/audiomanager_impl.cc b/flow/audiomanager_impl.cpp similarity index 100% rename from flow/audiomanager_impl.cc rename to flow/audiomanager_impl.cpp diff --git a/flow/audiosubsys.cc b/flow/audiosubsys.cpp similarity index 100% rename from flow/audiosubsys.cc rename to flow/audiosubsys.cpp diff --git a/flow/audiotobytestream_impl.cc b/flow/audiotobytestream_impl.cpp similarity index 100% rename from flow/audiotobytestream_impl.cc rename to flow/audiotobytestream_impl.cpp diff --git a/flow/bus.cc b/flow/bus.cpp similarity index 100% rename from flow/bus.cc rename to flow/bus.cpp diff --git a/flow/bytestreamtoaudio_impl.cc b/flow/bytestreamtoaudio_impl.cpp similarity index 100% rename from flow/bytestreamtoaudio_impl.cc rename to flow/bytestreamtoaudio_impl.cpp diff --git a/flow/cache.cc b/flow/cache.cpp similarity index 100% rename from flow/cache.cc rename to flow/cache.cpp diff --git a/flow/convert.cc b/flow/convert.cpp similarity index 100% rename from flow/convert.cc rename to flow/convert.cpp diff --git a/flow/cpuinfo.cc b/flow/cpuinfo.cpp similarity index 100% rename from flow/cpuinfo.cc rename to flow/cpuinfo.cpp diff --git a/flow/datahandle_impl.cc b/flow/datahandle_impl.cpp similarity index 100% rename from flow/datahandle_impl.cc rename to flow/datahandle_impl.cpp diff --git a/flow/gsl/CMakeLists.txt b/flow/gsl/CMakeLists.txt index 877b77c..e8e9576 100644 --- a/flow/gsl/CMakeLists.txt +++ b/flow/gsl/CMakeLists.txt @@ -144,7 +144,7 @@ set( ${target}_SRCS gslconvert.c gslfft.c gslsignal.c gslloader.c gslwaveosc.c gslengine.c gsloputil.c gslopmaster.c gslopschedule.c gsldatahandle-mad.c gslosctable.c - gsloscillator.c gslfilehash.c gslartsthreads.cc + gsloscillator.c gslfilehash.c gslartsthreads.cpp ) tde_add_library( ${target} STATIC_PIC diff --git a/flow/gsl/dummy.cc b/flow/gsl/dummy.cpp similarity index 100% rename from flow/gsl/dummy.cc rename to flow/gsl/dummy.cpp diff --git a/flow/gsl/gslartsthreads.cc b/flow/gsl/gslartsthreads.cpp similarity index 100% rename from flow/gsl/gslartsthreads.cc rename to flow/gsl/gslartsthreads.cpp diff --git a/flow/gsl/gslglibhash.cc b/flow/gsl/gslglibhash.cpp similarity index 100% rename from flow/gsl/gslglibhash.cc rename to flow/gsl/gslglibhash.cpp diff --git a/flow/gsl/gslglibhashtest.cc b/flow/gsl/gslglibhashtest.cpp similarity index 100% rename from flow/gsl/gslglibhashtest.cc rename to flow/gsl/gslglibhashtest.cpp diff --git a/flow/gslschedule.cc b/flow/gslschedule.cpp similarity index 100% rename from flow/gslschedule.cc rename to flow/gslschedule.cpp diff --git a/flow/pipebuffer.cc b/flow/pipebuffer.cpp similarity index 100% rename from flow/pipebuffer.cc rename to flow/pipebuffer.cpp diff --git a/flow/resample.cc b/flow/resample.cpp similarity index 100% rename from flow/resample.cc rename to flow/resample.cpp diff --git a/flow/stdsynthmodule.cc b/flow/stdsynthmodule.cpp similarity index 100% rename from flow/stdsynthmodule.cc rename to flow/stdsynthmodule.cpp diff --git a/flow/stereoeffectstack_impl.cc b/flow/stereoeffectstack_impl.cpp similarity index 100% rename from flow/stereoeffectstack_impl.cc rename to flow/stereoeffectstack_impl.cpp diff --git a/flow/stereofftscope_impl.cc b/flow/stereofftscope_impl.cpp similarity index 100% rename from flow/stereofftscope_impl.cc rename to flow/stereofftscope_impl.cpp diff --git a/flow/stereovolumecontrol_impl.cc b/flow/stereovolumecontrol_impl.cpp similarity index 100% rename from flow/stereovolumecontrol_impl.cc rename to flow/stereovolumecontrol_impl.cpp diff --git a/flow/synth_add_impl.cc b/flow/synth_add_impl.cpp similarity index 100% rename from flow/synth_add_impl.cc rename to flow/synth_add_impl.cpp diff --git a/flow/synth_frequency_impl.cc b/flow/synth_frequency_impl.cpp similarity index 100% rename from flow/synth_frequency_impl.cc rename to flow/synth_frequency_impl.cpp diff --git a/flow/synth_mul_impl.cc b/flow/synth_mul_impl.cpp similarity index 100% rename from flow/synth_mul_impl.cc rename to flow/synth_mul_impl.cpp diff --git a/flow/synth_multi_add_impl.cc b/flow/synth_multi_add_impl.cpp similarity index 100% rename from flow/synth_multi_add_impl.cc rename to flow/synth_multi_add_impl.cpp diff --git a/flow/synth_play_impl.cc b/flow/synth_play_impl.cpp similarity index 100% rename from flow/synth_play_impl.cc rename to flow/synth_play_impl.cpp diff --git a/flow/synth_play_wav_impl.cc b/flow/synth_play_wav_impl.cpp similarity index 100% rename from flow/synth_play_wav_impl.cc rename to flow/synth_play_wav_impl.cpp diff --git a/flow/synth_record_impl.cc b/flow/synth_record_impl.cpp similarity index 100% rename from flow/synth_record_impl.cc rename to flow/synth_record_impl.cpp diff --git a/flow/synth_wave_sin_impl.cc b/flow/synth_wave_sin_impl.cpp similarity index 100% rename from flow/synth_wave_sin_impl.cc rename to flow/synth_wave_sin_impl.cpp diff --git a/flow/virtualports.cc b/flow/virtualports.cpp similarity index 100% rename from flow/virtualports.cc rename to flow/virtualports.cpp diff --git a/gmcop/CMakeLists.txt b/gmcop/CMakeLists.txt index 84b9c75..be4a05c 100644 --- a/gmcop/CMakeLists.txt +++ b/gmcop/CMakeLists.txt @@ -26,7 +26,7 @@ install( FILES ##### gmcop (shared lib) ######################## tde_add_library( gmcop SHARED - SOURCES giomanager.cc + SOURCES giomanager.cpp VERSION 1.0.0 LINK mcop-shared ${GLIB2_LIBRARIES} DESTINATION ${LIB_INSTALL_DIR} diff --git a/gmcop/giomanager.cc b/gmcop/giomanager.cpp similarity index 100% rename from gmcop/giomanager.cc rename to gmcop/giomanager.cpp diff --git a/mcop/CMakeLists.txt b/mcop/CMakeLists.txt index e497bf6..0d28932 100644 --- a/mcop/CMakeLists.txt +++ b/mcop/CMakeLists.txt @@ -52,16 +52,16 @@ install( FILES set( target mcop ) set( ${target}_SRCS - buffer.cc connection.cc core.cc debug.cc dispatcher.cc - iomanager.cc object.cc socketconnection.cc tcpconnection.cc - unixconnection.cc tcpserver.cc unixserver.cc objectmanager.cc - factory.cc idlfilereg.cc ifacerepo_impl.cc mcoputils.cc - startupmanager.cc md5.c md5auth.cc referenceclean.cc - datapacket.cc asyncstream.cc notification.cc - flowsystem.cc extensionloader.cc tmpglobalcomm.cc - mcopconfig.cc connect.cc reference.cc type.cc - trader_impl.cc dynamicrequest.cc anyref.cc - loopback.cc delayedreturn.cc thread.cc dynamicskeleton.cc + buffer.cpp connection.cpp core.cpp debug.cpp dispatcher.cpp + iomanager.cpp object.cpp socketconnection.cpp tcpconnection.cpp + unixconnection.cpp tcpserver.cpp unixserver.cpp objectmanager.cpp + factory.cpp idlfilereg.cpp ifacerepo_impl.cpp mcoputils.cpp + startupmanager.cpp md5.c md5auth.cpp referenceclean.cpp + datapacket.cpp asyncstream.cpp notification.cpp + flowsystem.cpp extensionloader.cpp tmpglobalcomm.cpp + mcopconfig.cpp connect.cpp reference.cpp type.cpp + trader_impl.cpp dynamicrequest.cpp anyref.cpp + loopback.cpp delayedreturn.cpp thread.cpp dynamicskeleton.cpp ) tde_add_library( ${target} SHARED diff --git a/mcop/anyref.cc b/mcop/anyref.cpp similarity index 100% rename from mcop/anyref.cc rename to mcop/anyref.cpp diff --git a/mcop/asyncstream.cc b/mcop/asyncstream.cpp similarity index 100% rename from mcop/asyncstream.cc rename to mcop/asyncstream.cpp diff --git a/mcop/buffer.cc b/mcop/buffer.cpp similarity index 99% rename from mcop/buffer.cc rename to mcop/buffer.cpp index 7a1a0c6..d86dc5b 100644 --- a/mcop/buffer.cc +++ b/mcop/buffer.cpp @@ -86,7 +86,7 @@ void Buffer::writeLongSeq(const vector& seq) { void Buffer::writeFloat(float f) { // FIXME: on some machines this may fail badly (there is explicit - // float marshalling and demarshalling code in mico/orb/util.cc) + // float marshalling and demarshalling code in mico/orb/util.cpp) union { float f; long l; } u = {f}; writeLong(u.l); } diff --git a/mcop/connect.cc b/mcop/connect.cpp similarity index 100% rename from mcop/connect.cc rename to mcop/connect.cpp diff --git a/mcop/connection.cc b/mcop/connection.cpp similarity index 100% rename from mcop/connection.cc rename to mcop/connection.cpp diff --git a/mcop/core.cc b/mcop/core.cpp similarity index 100% rename from mcop/core.cc rename to mcop/core.cpp diff --git a/mcop/datapacket.cc b/mcop/datapacket.cpp similarity index 100% rename from mcop/datapacket.cc rename to mcop/datapacket.cpp diff --git a/mcop/debug.cc b/mcop/debug.cpp similarity index 100% rename from mcop/debug.cc rename to mcop/debug.cpp diff --git a/mcop/delayedreturn.cc b/mcop/delayedreturn.cpp similarity index 100% rename from mcop/delayedreturn.cc rename to mcop/delayedreturn.cpp diff --git a/mcop/dispatcher.cc b/mcop/dispatcher.cpp similarity index 99% rename from mcop/dispatcher.cc rename to mcop/dispatcher.cpp index 8250a02..580a268 100644 --- a/mcop/dispatcher.cc +++ b/mcop/dispatcher.cpp @@ -1086,5 +1086,5 @@ void Dispatcher::wakeUp() } /* -void Dispatcher::reloadTraderData() is declared in trader_impl.cc +void Dispatcher::reloadTraderData() is declared in trader_impl.cpp */ diff --git a/mcop/dynamicrequest.cc b/mcop/dynamicrequest.cpp similarity index 100% rename from mcop/dynamicrequest.cc rename to mcop/dynamicrequest.cpp diff --git a/mcop/dynamicskeleton.cc b/mcop/dynamicskeleton.cpp similarity index 100% rename from mcop/dynamicskeleton.cc rename to mcop/dynamicskeleton.cpp diff --git a/mcop/extensionloader.cc b/mcop/extensionloader.cpp similarity index 100% rename from mcop/extensionloader.cc rename to mcop/extensionloader.cpp diff --git a/mcop/factory.cc b/mcop/factory.cpp similarity index 100% rename from mcop/factory.cc rename to mcop/factory.cpp diff --git a/mcop/flowsystem.cc b/mcop/flowsystem.cpp similarity index 100% rename from mcop/flowsystem.cc rename to mcop/flowsystem.cpp diff --git a/mcop/idlfilereg.cc b/mcop/idlfilereg.cpp similarity index 100% rename from mcop/idlfilereg.cc rename to mcop/idlfilereg.cpp diff --git a/mcop/ifacerepo_impl.cc b/mcop/ifacerepo_impl.cpp similarity index 100% rename from mcop/ifacerepo_impl.cc rename to mcop/ifacerepo_impl.cpp diff --git a/mcop/iomanager.cc b/mcop/iomanager.cpp similarity index 99% rename from mcop/iomanager.cc rename to mcop/iomanager.cpp index 263fab6..897a61c 100644 --- a/mcop/iomanager.cc +++ b/mcop/iomanager.cpp @@ -38,7 +38,7 @@ // However, we can not include config.h in a header file. // The right solution would be not to use "fd_set" in the // header file but to use it only in a private datastructure -// defined in the .cc file. +// defined in the .cpp file. using namespace std; using namespace Arts; diff --git a/mcop/loopback.cc b/mcop/loopback.cpp similarity index 100% rename from mcop/loopback.cc rename to mcop/loopback.cpp diff --git a/mcop/mcopconfig.cc b/mcop/mcopconfig.cpp similarity index 100% rename from mcop/mcopconfig.cc rename to mcop/mcopconfig.cpp diff --git a/mcop/mcoputils.cc b/mcop/mcoputils.cpp similarity index 100% rename from mcop/mcoputils.cc rename to mcop/mcoputils.cpp diff --git a/mcop/md5auth.cc b/mcop/md5auth.cpp similarity index 100% rename from mcop/md5auth.cc rename to mcop/md5auth.cpp diff --git a/mcop/namedstore.h b/mcop/namedstore.h index 89a2b2d..6e33732 100644 --- a/mcop/namedstore.h +++ b/mcop/namedstore.h @@ -32,7 +32,7 @@ * BC - Status (2002-03-08): NamedStore * * None of these classes is considered part of the public API. Do NOT use it - * in your apps. These are part of the implementation of object.cc and not + * in your apps. These are part of the implementation of object.cpp and not * to be used elsewhere. */ diff --git a/mcop/notification.cc b/mcop/notification.cpp similarity index 100% rename from mcop/notification.cc rename to mcop/notification.cpp diff --git a/mcop/object.cc b/mcop/object.cpp similarity index 100% rename from mcop/object.cc rename to mcop/object.cpp diff --git a/mcop/objectmanager.cc b/mcop/objectmanager.cpp similarity index 100% rename from mcop/objectmanager.cc rename to mcop/objectmanager.cpp diff --git a/mcop/reference.cc b/mcop/reference.cpp similarity index 100% rename from mcop/reference.cc rename to mcop/reference.cpp diff --git a/mcop/referenceclean.cc b/mcop/referenceclean.cpp similarity index 100% rename from mcop/referenceclean.cc rename to mcop/referenceclean.cpp diff --git a/mcop/socketconnection.cc b/mcop/socketconnection.cpp similarity index 100% rename from mcop/socketconnection.cc rename to mcop/socketconnection.cpp diff --git a/mcop/startupmanager.cc b/mcop/startupmanager.cpp similarity index 100% rename from mcop/startupmanager.cc rename to mcop/startupmanager.cpp diff --git a/mcop/tcpconnection.cc b/mcop/tcpconnection.cpp similarity index 100% rename from mcop/tcpconnection.cc rename to mcop/tcpconnection.cpp diff --git a/mcop/tcpserver.cc b/mcop/tcpserver.cpp similarity index 100% rename from mcop/tcpserver.cc rename to mcop/tcpserver.cpp diff --git a/mcop/thread.cc b/mcop/thread.cpp similarity index 100% rename from mcop/thread.cc rename to mcop/thread.cpp diff --git a/mcop/tmpglobalcomm.cc b/mcop/tmpglobalcomm.cpp similarity index 100% rename from mcop/tmpglobalcomm.cc rename to mcop/tmpglobalcomm.cpp diff --git a/mcop/trader_impl.cc b/mcop/trader_impl.cpp similarity index 100% rename from mcop/trader_impl.cc rename to mcop/trader_impl.cpp diff --git a/mcop/type.cc b/mcop/type.cpp similarity index 100% rename from mcop/type.cc rename to mcop/type.cpp diff --git a/mcop/unixconnection.cc b/mcop/unixconnection.cpp similarity index 100% rename from mcop/unixconnection.cc rename to mcop/unixconnection.cpp diff --git a/mcop/unixserver.cc b/mcop/unixserver.cpp similarity index 100% rename from mcop/unixserver.cc rename to mcop/unixserver.cpp diff --git a/mcop_mt/CMakeLists.txt b/mcop_mt/CMakeLists.txt index 3891a4b..832b6d8 100644 --- a/mcop_mt/CMakeLists.txt +++ b/mcop_mt/CMakeLists.txt @@ -22,7 +22,7 @@ include_directories( ##### mcop_mt (shared lib ) ##################### tde_add_library( mcop_mt SHARED - SOURCES threads_posix.cc + SOURCES threads_posix.cpp VERSION 1.0.0 LINK artsflow-shared pthread DESTINATION ${LIB_INSTALL_DIR} diff --git a/mcop_mt/threads_posix.cc b/mcop_mt/threads_posix.cpp similarity index 100% rename from mcop_mt/threads_posix.cc rename to mcop_mt/threads_posix.cpp diff --git a/mcopidl/CMakeLists.txt b/mcopidl/CMakeLists.txt index 038e2b0..339cf28 100644 --- a/mcopidl/CMakeLists.txt +++ b/mcopidl/CMakeLists.txt @@ -20,7 +20,7 @@ include_directories( set( target mcopidl ) set( ${target}_SRCS - mcopidl.cc yacc.cc scanner.cc namespace.cc + mcopidl.cpp yacc.cpp scanner.cpp namespace.cpp ) tde_add_executable( ${target} diff --git a/mcopidl/mcopidl.cc b/mcopidl/mcopidl.cpp similarity index 99% rename from mcopidl/mcopidl.cc rename to mcopidl/mcopidl.cpp index a349bdf..9178122 100644 --- a/mcopidl/mcopidl.cc +++ b/mcopidl/mcopidl.cpp @@ -749,7 +749,7 @@ void endHeader(FILE *header, string prefix) FILE *startSource(string prefix) { string header_name = prefix+".h"; - string source_name = prefix+".cc.new"; + string source_name = prefix+".cpp.new"; FILE *source = fopen(source_name.c_str(),"w"); fprintf(source,"%s", generated_disclaimer); @@ -2636,7 +2636,7 @@ int main(int argc, char **argv) doInterfacesSource(source); doInterfaceRepoSource(source,prefix); endSource(source); - moveIfChanged(string(prefix)+".cc"); + moveIfChanged(string(prefix)+".cpp"); // create type file if(makeTypeInfo) diff --git a/mcopidl/namespace.cc b/mcopidl/namespace.cpp similarity index 100% rename from mcopidl/namespace.cc rename to mcopidl/namespace.cpp diff --git a/mcopidl/scanner.cc b/mcopidl/scanner.cpp similarity index 99% rename from mcopidl/scanner.cc rename to mcopidl/scanner.cpp index 78b26d6..f987efa 100644 --- a/mcopidl/scanner.cc +++ b/mcopidl/scanner.cpp @@ -1,4 +1,4 @@ -#line 2 "scanner.cc" +#line 2 "scanner.cpp" /* A lexical scanner generated by flex */ /* Scanner skeleton version: @@ -678,7 +678,7 @@ using namespace std; using namespace Arts; #ifndef KDE_USE_FINAL -#include "yacc.cc.h" +#include "yacc.cpp.h" #endif extern int idl_line_no; @@ -705,7 +705,7 @@ extern void endInclude(); /*--------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------*/ /*--------------------------------------------------------------------------*/ -#line 710 "scanner.cc" +#line 710 "scanner.cpp" /* Macros after this point can all be overridden by user definitions in * section 1. @@ -859,7 +859,7 @@ YY_DECL #line 100 "scanner.ll" -#line 864 "scanner.cc" +#line 864 "scanner.cpp" if ( yy_init ) { @@ -1200,7 +1200,7 @@ YY_RULE_SETUP #line 177 "scanner.ll" ECHO; YY_BREAK -#line 1205 "scanner.cc" +#line 1205 "scanner.cpp" case YY_STATE_EOF(INITIAL): yyterminate(); diff --git a/mcopidl/scanner.ll b/mcopidl/scanner.ll index bc8f6ae..39a49d3 100644 --- a/mcopidl/scanner.ll +++ b/mcopidl/scanner.ll @@ -40,7 +40,7 @@ using namespace std; using namespace Arts; #ifndef KDE_USE_FINAL -#include "yacc.cc.h" +#include "yacc.cpp.h" #endif extern int idl_line_no; diff --git a/mcopidl/yacc.cc b/mcopidl/yacc.cpp similarity index 100% rename from mcopidl/yacc.cc rename to mcopidl/yacc.cpp diff --git a/mcopidl/yacc.cc.h b/mcopidl/yacc.cpp.h similarity index 95% rename from mcopidl/yacc.cc.h rename to mcopidl/yacc.cpp.h index a600e21..192bae7 100644 --- a/mcopidl/yacc.cc.h +++ b/mcopidl/yacc.cpp.h @@ -1,6 +1,6 @@ -#ifndef YACC_CC_H -#define YACC_CC_H +#ifndef YACC_CPP_H +#define YACC_CPP_H typedef union { @@ -71,5 +71,5 @@ typedef union extern YYSTYPE yylval; -#endif // YACC_CC_H +#endif // YACC_CPP_H diff --git a/qtmcop/CMakeLists.txt b/qtmcop/CMakeLists.txt index 6b68c18..721a627 100644 --- a/qtmcop/CMakeLists.txt +++ b/qtmcop/CMakeLists.txt @@ -34,7 +34,7 @@ install( FILES ##### qtmcop ############################## -set( qtmcop_SRCS qiomanager.cc ) +set( qtmcop_SRCS qiomanager.cpp ) tde_add_library( qtmcop SHARED AUTOMOC SOURCES ${qtmcop_SRCS} diff --git a/qtmcop/qiomanager.cc b/qtmcop/qiomanager.cpp similarity index 100% rename from qtmcop/qiomanager.cc rename to qtmcop/qiomanager.cpp diff --git a/soundserver/CMakeLists.txt b/soundserver/CMakeLists.txt index befa698..a3caa15 100644 --- a/soundserver/CMakeLists.txt +++ b/soundserver/CMakeLists.txt @@ -59,13 +59,13 @@ install( FILES ##### kmedia2_idl (shared lib) ################## add_custom_command( - OUTPUT kmedia2.cc + OUTPUT kmedia2.cpp COMMAND ../mcopidl/mcopidl ARGS -t ${MCOPINC} ${CMAKE_CURRENT_SOURCE_DIR}/kmedia2.idl DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/kmedia2.idl ) tde_add_library( kmedia2_idl SHARED - SOURCES kmedia2.cc + SOURCES kmedia2.cpp VERSION 1.0.0 LINK artsflow_idl-shared DESTINATION ${LIB_INSTALL_DIR} @@ -76,13 +76,13 @@ tde_add_library( kmedia2_idl SHARED ##### soundserver_idl (shared lib) ############## add_custom_command( - OUTPUT soundserver.cc soundserver.h + OUTPUT soundserver.cpp soundserver.h COMMAND ../mcopidl/mcopidl ARGS -t ${MCOPINC} ${CMAKE_CURRENT_SOURCE_DIR}/soundserver.idl DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/soundserver.idl ) tde_add_library( soundserver_idl SHARED - SOURCES soundserver.cc + SOURCES soundserver.cpp VERSION 1.0.0 LINK kmedia2_idl-shared DESTINATION ${LIB_INSTALL_DIR} @@ -93,7 +93,7 @@ tde_add_library( soundserver_idl SHARED ##### artsgslplayobject (shared lib) ############ tde_add_library( artsgslplayobject SHARED - SOURCES gslplayobject_impl.cc + SOURCES gslplayobject_impl.cpp VERSION 0.0.0 LINK soundserver_idl-shared artsflow-shared DESTINATION ${LIB_INSTALL_DIR} @@ -103,7 +103,7 @@ tde_add_library( artsgslplayobject SHARED ##### artswavplayobject (shared lib) ############ tde_add_library( artswavplayobject SHARED - SOURCES wavplayobject_impl.cc + SOURCES wavplayobject_impl.cpp VERSION 0.0.0 LINK soundserver_idl-shared artsflow-shared DESTINATION ${LIB_INSTALL_DIR} @@ -113,7 +113,7 @@ tde_add_library( artswavplayobject SHARED ##### kmedia2 (shared lib) ###################### tde_add_library( kmedia2 SHARED - SOURCES fileinputstream_impl.cc stdoutwriter_impl.cc + SOURCES fileinputstream_impl.cpp stdoutwriter_impl.cpp VERSION 1.0.0 LINK kmedia2_idl-shared artsflow-shared DESTINATION ${LIB_INSTALL_DIR} @@ -125,9 +125,9 @@ tde_add_library( kmedia2 SHARED set( target artsd ) set( ${target}_SRCS - soundserverv2_impl.cc soundserver_impl.cc simplesoundserver_impl.cc - artsd.cc cpuusage.cc samplestorage_impl.cc crashhandler.cc - soundserverstartup_impl.cc + soundserverv2_impl.cpp soundserver_impl.cpp simplesoundserver_impl.cpp + artsd.cpp cpuusage.cpp samplestorage_impl.cpp crashhandler.cpp + soundserverstartup_impl.cpp ) tde_add_executable( ${target} @@ -140,7 +140,7 @@ tde_add_executable( ${target} ##### artsplay ################################## tde_add_executable( artsplay - SOURCES artsplay.cc + SOURCES artsplay.cpp LINK soundserver_idl-shared DESTINATION ${BIN_INSTALL_DIR} ) @@ -149,7 +149,7 @@ tde_add_executable( artsplay ##### artscat ################################### tde_add_executable( artscat - SOURCES artscat.cc + SOURCES artscat.cpp LINK soundserver_idl-shared artsflow-shared DESTINATION ${BIN_INSTALL_DIR} ) @@ -171,7 +171,7 @@ set_property( TARGET artswrapper APPEND PROPERTY COMPILE_DEFINITIONS EXECUTE="${ ##### artsshell ################################# tde_add_executable( artsshell - SOURCES artsshell.cc tradercheck.cc + SOURCES artsshell.cpp tradercheck.cpp LINK soundserver_idl-shared DESTINATION ${BIN_INSTALL_DIR} ) @@ -180,7 +180,7 @@ tde_add_executable( artsshell ##### artsrec ################################### tde_add_executable( artsrec - SOURCES artsrec.cc + SOURCES artsrec.cpp LINK soundserver_idl-shared artsflow-shared DESTINATION ${BIN_INSTALL_DIR} ) diff --git a/soundserver/artscat.cc b/soundserver/artscat.cpp similarity index 100% rename from soundserver/artscat.cc rename to soundserver/artscat.cpp diff --git a/soundserver/artsd.cc b/soundserver/artsd.cpp similarity index 99% rename from soundserver/artsd.cc rename to soundserver/artsd.cpp index ffd2f2b..50cfb6e 100644 --- a/soundserver/artsd.cc +++ b/soundserver/artsd.cpp @@ -365,7 +365,7 @@ int main(int argc, char **argv) } #ifdef __SUNPRO_CC -/* See bottom of simplesoundserver_impl.cc for the reason this is here. */ +/* See bottom of simplesoundserver_impl.cpp for the reason this is here. */ #include "simplesoundserver_impl.h" REGISTER_IMPLEMENTATION(SimpleSoundServer_impl); #include "soundserver_impl.h" diff --git a/soundserver/artsplay.cc b/soundserver/artsplay.cpp similarity index 100% rename from soundserver/artsplay.cc rename to soundserver/artsplay.cpp diff --git a/soundserver/artsrec.cc b/soundserver/artsrec.cpp similarity index 100% rename from soundserver/artsrec.cc rename to soundserver/artsrec.cpp diff --git a/soundserver/artsshell.cc b/soundserver/artsshell.cpp similarity index 100% rename from soundserver/artsshell.cc rename to soundserver/artsshell.cpp diff --git a/soundserver/cpuusage.cc b/soundserver/cpuusage.cpp similarity index 100% rename from soundserver/cpuusage.cc rename to soundserver/cpuusage.cpp diff --git a/soundserver/crashhandler.cc b/soundserver/crashhandler.cpp similarity index 100% rename from soundserver/crashhandler.cc rename to soundserver/crashhandler.cpp diff --git a/soundserver/fileinputstream_impl.cc b/soundserver/fileinputstream_impl.cpp similarity index 100% rename from soundserver/fileinputstream_impl.cc rename to soundserver/fileinputstream_impl.cpp diff --git a/soundserver/gslplayobject_impl.cc b/soundserver/gslplayobject_impl.cpp similarity index 100% rename from soundserver/gslplayobject_impl.cc rename to soundserver/gslplayobject_impl.cpp diff --git a/soundserver/samplestorage_impl.cc b/soundserver/samplestorage_impl.cpp similarity index 100% rename from soundserver/samplestorage_impl.cc rename to soundserver/samplestorage_impl.cpp diff --git a/soundserver/simplesoundserver_impl.cc b/soundserver/simplesoundserver_impl.cpp similarity index 100% rename from soundserver/simplesoundserver_impl.cc rename to soundserver/simplesoundserver_impl.cpp diff --git a/soundserver/soundserver_impl.cc b/soundserver/soundserver_impl.cpp similarity index 97% rename from soundserver/soundserver_impl.cc rename to soundserver/soundserver_impl.cpp index 7c84792..1af353e 100644 --- a/soundserver/soundserver_impl.cc +++ b/soundserver/soundserver_impl.cpp @@ -85,6 +85,6 @@ bool SoundServer_impl::terminate() { } #ifndef __SUNPRO_CC -/* See bottom of simplesoundserver_impl.cc for the reason this is here. */ +/* See bottom of simplesoundserver_impl.cpp for the reason this is here. */ REGISTER_IMPLEMENTATION(SoundServer_impl); #endif diff --git a/soundserver/soundserverstartup_impl.cc b/soundserver/soundserverstartup_impl.cpp similarity index 97% rename from soundserver/soundserverstartup_impl.cc rename to soundserver/soundserverstartup_impl.cpp index a0183d6..89f5dbd 100644 --- a/soundserver/soundserverstartup_impl.cc +++ b/soundserver/soundserverstartup_impl.cpp @@ -93,7 +93,7 @@ void SoundServerStartup_impl::unlock() namespace Arts { #ifndef __SUNPRO_CC - /* See bottom of simplesoundserver_impl.cc for the reason this is here. */ + /* See bottom of simplesoundserver_impl.cpp for the reason this is here. */ REGISTER_IMPLEMENTATION(SoundServerStartup_impl); #endif } diff --git a/soundserver/soundserverv2_impl.cc b/soundserver/soundserverv2_impl.cpp similarity index 99% rename from soundserver/soundserverv2_impl.cc rename to soundserver/soundserverv2_impl.cpp index 932c4fd..105f858 100644 --- a/soundserver/soundserverv2_impl.cc +++ b/soundserver/soundserverv2_impl.cpp @@ -381,6 +381,6 @@ float SoundServerV2_impl::cpuUsage() #ifndef __SUNPRO_CC -/* See bottom of simplesoundserver_impl.cc for the reason this is here. */ +/* See bottom of simplesoundserver_impl.cpp for the reason this is here. */ REGISTER_IMPLEMENTATION(SoundServerV2_impl); #endif diff --git a/soundserver/stdoutwriter_impl.cc b/soundserver/stdoutwriter_impl.cpp similarity index 100% rename from soundserver/stdoutwriter_impl.cc rename to soundserver/stdoutwriter_impl.cpp diff --git a/soundserver/tradercheck.cc b/soundserver/tradercheck.cpp similarity index 100% rename from soundserver/tradercheck.cc rename to soundserver/tradercheck.cpp diff --git a/soundserver/wavplayobject_impl.cc b/soundserver/wavplayobject_impl.cpp similarity index 100% rename from soundserver/wavplayobject_impl.cc rename to soundserver/wavplayobject_impl.cpp diff --git a/tests/README.test b/tests/README.test index d605c21..f4fcb34 100644 --- a/tests/README.test +++ b/tests/README.test @@ -23,7 +23,7 @@ likely at least. How to add a new set of tests: ============================== -1. create a new .cc file, for this example we'll suppose testarithmetic.cc +1. create a new .cpp file, for this example we'll suppose testarithmetic.cpp 2. #include "test.h" 3. create a struct which will hold all your tests @@ -67,6 +67,6 @@ TESTMAIN(TestArithmetic); 7. add the following to the Makefile.am (you may want to add more source files, as required) -testarithmetic_SOURCES = testarithmetic.cc +testarithmetic_SOURCES = testarithmetic.cpp 8. add it to check_PROGRAMS diff --git a/tests/testanyref.cc b/tests/testanyref.cpp similarity index 100% rename from tests/testanyref.cc rename to tests/testanyref.cpp diff --git a/tests/testbuffer.cc b/tests/testbuffer.cpp similarity index 100% rename from tests/testbuffer.cc rename to tests/testbuffer.cpp diff --git a/tests/testchangenotify.cc b/tests/testchangenotify.cpp similarity index 100% rename from tests/testchangenotify.cc rename to tests/testchangenotify.cpp diff --git a/tests/testdispatcher.cc b/tests/testdispatcher.cpp similarity index 100% rename from tests/testdispatcher.cc rename to tests/testdispatcher.cpp diff --git a/tests/testflowsystem.cc b/tests/testflowsystem.cpp similarity index 100% rename from tests/testflowsystem.cc rename to tests/testflowsystem.cpp diff --git a/tests/testifacerepo.cc b/tests/testifacerepo.cpp similarity index 100% rename from tests/testifacerepo.cc rename to tests/testifacerepo.cpp diff --git a/tests/testnotification.cc b/tests/testnotification.cpp similarity index 100% rename from tests/testnotification.cc rename to tests/testnotification.cpp diff --git a/tests/testremote.cc b/tests/testremote.cpp similarity index 100% rename from tests/testremote.cc rename to tests/testremote.cpp diff --git a/tests/testwrapper.cc b/tests/testwrapper.cpp similarity index 100% rename from tests/testwrapper.cc rename to tests/testwrapper.cpp diff --git a/tests/value_impl.cc b/tests/value_impl.cpp similarity index 100% rename from tests/value_impl.cc rename to tests/value_impl.cpp diff --git a/x11/x11globalcomm_impl.cc b/x11/x11globalcomm_impl.cpp similarity index 100% rename from x11/x11globalcomm_impl.cc rename to x11/x11globalcomm_impl.cpp