diff --git a/DSView/config.h b/DSView/config.h index 0fd75366..83f3c1db 100755 --- a/DSView/config.h +++ b/DSView/config.h @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2012 Alexandru Gagniuc * * This program is free software; you can redistribute it and/or modify diff --git a/DSView/config.h.in b/DSView/config.h.in index b86b6634..0962573c 100755 --- a/DSView/config.h.in +++ b/DSView/config.h.in @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2012 Alexandru Gagniuc * * This program is free software; you can redistribute it and/or modify diff --git a/DSView/mystyle.h b/DSView/mystyle.h index e2cc768f..84709aad 100644 --- a/DSView/mystyle.h +++ b/DSView/mystyle.h @@ -1,3 +1,24 @@ +/* + * This file is part of the DSView project. + * DSView is based on PulseView. + * + * Copyright (C) 2016 DreamSourceLab + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + #ifndef MYSTYLE_H #define MYSTYLE_H diff --git a/DSView/pv/ZipMaker.cpp b/DSView/pv/ZipMaker.cpp index 18e48fc6..77c00e90 100644 --- a/DSView/pv/ZipMaker.cpp +++ b/DSView/pv/ZipMaker.cpp @@ -1,10 +1,8 @@ - /* * This file is part of the DSView project. * DSView is based on PulseView. - * - * Copyright (C) 2012 Joel Holdsworth - * Copyright (C) 2013 DreamSourceLab + * + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/DSView/pv/ZipMaker.h b/DSView/pv/ZipMaker.h index 703c440d..943dc026 100644 --- a/DSView/pv/ZipMaker.h +++ b/DSView/pv/ZipMaker.h @@ -1,9 +1,8 @@ /* * This file is part of the DSView project. * DSView is based on PulseView. - * - * Copyright (C) 2012 Joel Holdsworth - * Copyright (C) 2013 DreamSourceLab + * + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/DSView/pv/appcontrol.cpp b/DSView/pv/appcontrol.cpp index 56cb67cb..a5a70b4e 100644 --- a/DSView/pv/appcontrol.cpp +++ b/DSView/pv/appcontrol.cpp @@ -1,10 +1,8 @@ - /* * This file is part of the DSView project. * DSView is based on PulseView. - * - * Copyright (C) 2012 Joel Holdsworth - * Copyright (C) 2013 DreamSourceLab + * + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/DSView/pv/appcontrol.h b/DSView/pv/appcontrol.h index 2766cbae..d674024c 100644 --- a/DSView/pv/appcontrol.h +++ b/DSView/pv/appcontrol.h @@ -1,10 +1,8 @@ - /* * This file is part of the DSView project. * DSView is based on PulseView. - * - * Copyright (C) 2012 Joel Holdsworth - * Copyright (C) 2013 DreamSourceLab + * + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/DSView/pv/config/appconfig.cpp b/DSView/pv/config/appconfig.cpp index 90d40356..fd4036b7 100644 --- a/DSView/pv/config/appconfig.cpp +++ b/DSView/pv/config/appconfig.cpp @@ -1,9 +1,8 @@ /* * This file is part of the DSView project. * DSView is based on PulseView. - * - * Copyright (C) 2012 Joel Holdsworth - * Copyright (C) 2013 DreamSourceLab + * + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/DSView/pv/config/appconfig.h b/DSView/pv/config/appconfig.h index 498df140..43b7cbe7 100644 --- a/DSView/pv/config/appconfig.h +++ b/DSView/pv/config/appconfig.h @@ -1,9 +1,8 @@ /* * This file is part of the DSView project. * DSView is based on PulseView. - * - * Copyright (C) 2012 Joel Holdsworth - * Copyright (C) 2013 DreamSourceLab + * + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -29,6 +28,8 @@ #define LAN_CN 25 #define LAN_EN 31 + +#define DARK_STYLE "dark" //--------------------api--- diff --git a/DSView/pv/data/decode/annotation.cpp b/DSView/pv/data/decode/annotation.cpp index 50741629..0301af06 100755 --- a/DSView/pv/data/decode/annotation.cpp +++ b/DSView/pv/data/decode/annotation.cpp @@ -1,5 +1,6 @@ /* * This file is part of the PulseView project. + * DSView is based on PulseView. * * Copyright (C) 2012 Joel Holdsworth * Copyright (C) 2016 DreamSourceLab diff --git a/DSView/pv/data/decode/annotation.h b/DSView/pv/data/decode/annotation.h index 629ea6fa..1279dbc0 100755 --- a/DSView/pv/data/decode/annotation.h +++ b/DSView/pv/data/decode/annotation.h @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2013 Joel Holdsworth * Copyright (C) 2016 DreamSourceLab * diff --git a/DSView/pv/data/decode/annotationrestable.cpp b/DSView/pv/data/decode/annotationrestable.cpp index 9b761725..3f777cd5 100644 --- a/DSView/pv/data/decode/annotationrestable.cpp +++ b/DSView/pv/data/decode/annotationrestable.cpp @@ -1,8 +1,8 @@ /* - * This file is part of the PulseView project. - * - * Copyright (C) 2013 Joel Holdsworth - * Copyright (C) 2022 DreamSourceLab + * This file is part of the DSView project. + * DSView is based on PulseView. + * + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/DSView/pv/data/decode/annotationrestable.h b/DSView/pv/data/decode/annotationrestable.h index 61994c7e..2a30f9d8 100644 --- a/DSView/pv/data/decode/annotationrestable.h +++ b/DSView/pv/data/decode/annotationrestable.h @@ -1,8 +1,8 @@ /* - * This file is part of the PulseView project. - * - * Copyright (C) 2013 Joel Holdsworth - * Copyright (C) 2022 DreamSourceLab + * This file is part of the DSView project. + * DSView is based on PulseView. + * + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/DSView/pv/data/decode/decoder.cpp b/DSView/pv/data/decode/decoder.cpp index 81e4f1c7..7a7c2877 100755 --- a/DSView/pv/data/decode/decoder.cpp +++ b/DSView/pv/data/decode/decoder.cpp @@ -1,5 +1,6 @@ /* * This file is part of the PulseView project. + * DSView is based on PulseView. * * Copyright (C) 2013 Joel Holdsworth * Copyright (C) 2014 DreamSourceLab diff --git a/DSView/pv/data/decode/decoder.h b/DSView/pv/data/decode/decoder.h index 1f737f90..cb5a34d1 100755 --- a/DSView/pv/data/decode/decoder.h +++ b/DSView/pv/data/decode/decoder.h @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2013 Joel Holdsworth * Copyright (C) 2014 DreamSourceLab * diff --git a/DSView/pv/data/decode/decoderstatus.cpp b/DSView/pv/data/decode/decoderstatus.cpp index be3e6255..8dfc74c5 100644 --- a/DSView/pv/data/decode/decoderstatus.cpp +++ b/DSView/pv/data/decode/decoderstatus.cpp @@ -1,8 +1,8 @@ /* - * This file is part of the PulseView project. - * - * Copyright (C) 2013 Joel Holdsworth - * Copyright (C) 2022 DreamSourceLab + * This file is part of the DSView project. + * DSView is based on PulseView. + * + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,8 +28,7 @@ DecoderStatus::DecoderStatus() sdr_decoder_handle = NULL; } - void DecoderStatus::clear() - { - m_resTable.reset(); - } - +void DecoderStatus::clear() +{ + m_resTable.reset(); +} diff --git a/DSView/pv/data/decode/decoderstatus.h b/DSView/pv/data/decode/decoderstatus.h index c43e8135..abc9231f 100644 --- a/DSView/pv/data/decode/decoderstatus.h +++ b/DSView/pv/data/decode/decoderstatus.h @@ -1,8 +1,8 @@ /* - * This file is part of the PulseView project. - * - * Copyright (C) 2013 Joel Holdsworth - * Copyright (C) 2022 DreamSourceLab + * This file is part of the DSView project. + * DSView is based on PulseView. + * + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/DSView/pv/data/decode/row.cpp b/DSView/pv/data/decode/row.cpp index abe1633b..acab85bf 100755 --- a/DSView/pv/data/decode/row.cpp +++ b/DSView/pv/data/decode/row.cpp @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2014 Joel Holdsworth * * This program is free software; you can redistribute it and/or modify diff --git a/DSView/pv/data/decode/row.h b/DSView/pv/data/decode/row.h index b5c6cdd9..880f661a 100755 --- a/DSView/pv/data/decode/row.h +++ b/DSView/pv/data/decode/row.h @@ -1,5 +1,6 @@ /* * This file is part of the PulseView project. + * DSView is based on PulseView. * * Copyright (C) 2014 Joel Holdsworth * diff --git a/DSView/pv/data/decode/rowdata.cpp b/DSView/pv/data/decode/rowdata.cpp index 964c13a2..fe148f8e 100755 --- a/DSView/pv/data/decode/rowdata.cpp +++ b/DSView/pv/data/decode/rowdata.cpp @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2014 Joel Holdsworth * Copyright (C) 2016 DreamSourceLab * diff --git a/DSView/pv/data/decode/rowdata.h b/DSView/pv/data/decode/rowdata.h index e04af7a6..c7ca611f 100755 --- a/DSView/pv/data/decode/rowdata.h +++ b/DSView/pv/data/decode/rowdata.h @@ -1,5 +1,6 @@ /* * This file is part of the PulseView project. + * DSView is based on PulseView. * * Copyright (C) 2014 Joel Holdsworth * Copyright (C) 2016 DreamSourceLab diff --git a/DSView/pv/data/decodermodel.cpp b/DSView/pv/data/decodermodel.cpp index dbf7f121..0b92e580 100755 --- a/DSView/pv/data/decodermodel.cpp +++ b/DSView/pv/data/decodermodel.cpp @@ -1,5 +1,6 @@ /* * This file is part of the DSView project. + * DSView is based on PulseView. * * Copyright (C) 2016 DreamSourceLab * diff --git a/DSView/pv/data/decodermodel.h b/DSView/pv/data/decodermodel.h index a08fe1bf..d35849f4 100755 --- a/DSView/pv/data/decodermodel.h +++ b/DSView/pv/data/decodermodel.h @@ -1,5 +1,6 @@ /* * This file is part of the DSView project. + * DSView is based on PulseView. * * Copyright (C) 2016 DreamSourceLab * diff --git a/DSView/pv/data/decoderstack.cpp b/DSView/pv/data/decoderstack.cpp index 59cbb434..7be39a0d 100755 --- a/DSView/pv/data/decoderstack.cpp +++ b/DSView/pv/data/decoderstack.cpp @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2012 Joel Holdsworth * Copyright (C) 2014 DreamSourceLab * diff --git a/DSView/pv/data/decoderstack.h b/DSView/pv/data/decoderstack.h index 30798170..ff43e21a 100755 --- a/DSView/pv/data/decoderstack.h +++ b/DSView/pv/data/decoderstack.h @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2012 Joel Holdsworth * Copyright (C) 2014 DreamSourceLab * diff --git a/DSView/pv/data/mathstack.cpp b/DSView/pv/data/mathstack.cpp index 9b2d9686..410c8b2e 100755 --- a/DSView/pv/data/mathstack.cpp +++ b/DSView/pv/data/mathstack.cpp @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2016 DreamSourceLab * * This program is free software; you can redistribute it and/or modify diff --git a/DSView/pv/data/mathstack.h b/DSView/pv/data/mathstack.h index 2fb72fbc..9d3411b1 100755 --- a/DSView/pv/data/mathstack.h +++ b/DSView/pv/data/mathstack.h @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2016 DreamSourceLab * * This program is free software; you can redistribute it and/or modify diff --git a/DSView/pv/data/spectrumstack.cpp b/DSView/pv/data/spectrumstack.cpp index 99c34e9b..4f2ae380 100755 --- a/DSView/pv/data/spectrumstack.cpp +++ b/DSView/pv/data/spectrumstack.cpp @@ -1,5 +1,6 @@ /* * This file is part of the PulseView project. + * DSView is based on PulseView. * * Copyright (C) 2016 DreamSourceLab * diff --git a/DSView/pv/data/spectrumstack.h b/DSView/pv/data/spectrumstack.h index 146742ed..0a5e5670 100755 --- a/DSView/pv/data/spectrumstack.h +++ b/DSView/pv/data/spectrumstack.h @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2016 DreamSourceLab * * This program is free software; you can redistribute it and/or modify diff --git a/DSView/pv/dialogs/applicationpardlg.cpp b/DSView/pv/dialogs/applicationpardlg.cpp index ed4e99fc..bed3df36 100644 --- a/DSView/pv/dialogs/applicationpardlg.cpp +++ b/DSView/pv/dialogs/applicationpardlg.cpp @@ -1,8 +1,8 @@ /* * This file is part of the DSView project. * DSView is based on PulseView. - * - * Copyright (C) 2015 DreamSourceLab + * + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/DSView/pv/dialogs/applicationpardlg.h b/DSView/pv/dialogs/applicationpardlg.h index e890c985..86c01b01 100644 --- a/DSView/pv/dialogs/applicationpardlg.h +++ b/DSView/pv/dialogs/applicationpardlg.h @@ -1,8 +1,8 @@ /* * This file is part of the DSView project. * DSView is based on PulseView. - * - * Copyright (C) 2015 DreamSourceLab + * + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/DSView/pv/dialogs/storeprogress.cpp b/DSView/pv/dialogs/storeprogress.cpp index ad6d4596..00a9de7d 100755 --- a/DSView/pv/dialogs/storeprogress.cpp +++ b/DSView/pv/dialogs/storeprogress.cpp @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2014 Joel Holdsworth * Copyright (C) 2016 DreamSourceLab * diff --git a/DSView/pv/dialogs/storeprogress.h b/DSView/pv/dialogs/storeprogress.h index 54a5b548..fd3949d1 100755 --- a/DSView/pv/dialogs/storeprogress.h +++ b/DSView/pv/dialogs/storeprogress.h @@ -1,5 +1,6 @@ /* * This file is part of the PulseView project. + * DSView is based on PulseView. * * Copyright (C) 2014 Joel Holdsworth * Copyright (C) 2016 DreamSourceLab diff --git a/DSView/pv/dock/protocolitemlayer.cpp b/DSView/pv/dock/protocolitemlayer.cpp index 863bbaa9..a4534f98 100644 --- a/DSView/pv/dock/protocolitemlayer.cpp +++ b/DSView/pv/dock/protocolitemlayer.cpp @@ -1,8 +1,8 @@ /* * This file is part of the DSView project. * DSView is based on PulseView. - * - * Copyright (C) 2013 DreamSourceLab + * + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/DSView/pv/dock/protocolitemlayer.h b/DSView/pv/dock/protocolitemlayer.h index 3591cb9e..3ac129fb 100644 --- a/DSView/pv/dock/protocolitemlayer.h +++ b/DSView/pv/dock/protocolitemlayer.h @@ -1,8 +1,8 @@ /* * This file is part of the DSView project. * DSView is based on PulseView. - * - * Copyright (C) 2013 DreamSourceLab + * + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/DSView/pv/dstimer.cpp b/DSView/pv/dstimer.cpp index c788de65..d741e11b 100644 --- a/DSView/pv/dstimer.cpp +++ b/DSView/pv/dstimer.cpp @@ -1,3 +1,23 @@ +/* + * This file is part of the DSView project. + * DSView is based on PulseView. + * + * Copyright (C) 2021 DreamSourceLab + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ #include "dstimer.h" #include diff --git a/DSView/pv/dstimer.h b/DSView/pv/dstimer.h index a10f07b6..c38a7cc5 100644 --- a/DSView/pv/dstimer.h +++ b/DSView/pv/dstimer.h @@ -1,3 +1,23 @@ +/* + * This file is part of the DSView project. + * DSView is based on PulseView. + * + * Copyright (C) 2021 DreamSourceLab + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ #ifndef _DS_TIMER_H #define _DS_TIMER_H diff --git a/DSView/pv/dsvdef.cpp b/DSView/pv/dsvdef.cpp index 113cac13..1e2a4856 100644 --- a/DSView/pv/dsvdef.cpp +++ b/DSView/pv/dsvdef.cpp @@ -1,9 +1,8 @@ /* * This file is part of the DSView project. * DSView is based on PulseView. - * - * Copyright (C) 2012 Joel Holdsworth - * Copyright (C) 2013 DreamSourceLab + * + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/DSView/pv/dsvdef.h b/DSView/pv/dsvdef.h index 13c61d51..b5c118d7 100644 --- a/DSView/pv/dsvdef.h +++ b/DSView/pv/dsvdef.h @@ -1,9 +1,8 @@ /* * This file is part of the DSView project. * DSView is based on PulseView. - * - * Copyright (C) 2012 Joel Holdsworth - * Copyright (C) 2013 DreamSourceLab + * + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/DSView/pv/eventobject.cpp b/DSView/pv/eventobject.cpp index d8671fa3..b6f16060 100644 --- a/DSView/pv/eventobject.cpp +++ b/DSView/pv/eventobject.cpp @@ -1,3 +1,23 @@ +/* + * This file is part of the DSView project. + * DSView is based on PulseView. + * + * Copyright (C) 2021 DreamSourceLab + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ #include "eventobject.h" diff --git a/DSView/pv/eventobject.h b/DSView/pv/eventobject.h index 770b884d..2abf5724 100644 --- a/DSView/pv/eventobject.h +++ b/DSView/pv/eventobject.h @@ -1,10 +1,8 @@ - /* * This file is part of the DSView project. * DSView is based on PulseView. - * - * Copyright (C) 2012 Joel Holdsworth - * Copyright (C) 2013 DreamSourceLab + * + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/DSView/pv/interface/icallbacks.h b/DSView/pv/interface/icallbacks.h index 0fca6f66..c16f40b5 100644 --- a/DSView/pv/interface/icallbacks.h +++ b/DSView/pv/interface/icallbacks.h @@ -1,4 +1,25 @@ +/* + * This file is part of the DSView project. + * DSView is based on PulseView. + * + * Copyright (C) 2021 DreamSourceLab + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + #ifndef _I_CALLBACKS_ #define _I_CALLBACKS_ diff --git a/DSView/pv/interface/uicallback.h b/DSView/pv/interface/uicallback.h index 58c2394c..b5dac050 100644 --- a/DSView/pv/interface/uicallback.h +++ b/DSView/pv/interface/uicallback.h @@ -1,9 +1,8 @@ - /* * This file is part of the DSView project. * DSView is based on PulseView. * - * Copyright (C) 2014 Joel Holdsworth + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/DSView/pv/mainwindow.h b/DSView/pv/mainwindow.h index 553a58be..c8a318e7 100755 --- a/DSView/pv/mainwindow.h +++ b/DSView/pv/mainwindow.h @@ -73,7 +73,7 @@ using namespace pv::device; //The mainwindow,referenced by MainFrame //TODO: create graph view,toolbar,and show device list -class MainWindow : public QMainWindow, public ISessionCallback, public IMainForm, ISessionDataGetter +class MainWindow : public QMainWindow, public ISessionCallback, public IMainForm, public ISessionDataGetter { Q_OBJECT diff --git a/DSView/pv/prop/binding/decoderoptions.cpp b/DSView/pv/prop/binding/decoderoptions.cpp index b1ecae3b..0b687f2a 100755 --- a/DSView/pv/prop/binding/decoderoptions.cpp +++ b/DSView/pv/prop/binding/decoderoptions.cpp @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2013 Joel Holdsworth * * This program is free software; you can redistribute it and/or modify diff --git a/DSView/pv/prop/binding/decoderoptions.h b/DSView/pv/prop/binding/decoderoptions.h index 258c3a62..5f3c763b 100755 --- a/DSView/pv/prop/binding/decoderoptions.h +++ b/DSView/pv/prop/binding/decoderoptions.h @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2013 Joel Holdsworth * * This program is free software; you can redistribute it and/or modify diff --git a/DSView/pv/prop/string.cpp b/DSView/pv/prop/string.cpp index c57525e6..04648e68 100755 --- a/DSView/pv/prop/string.cpp +++ b/DSView/pv/prop/string.cpp @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2013 Joel Holdsworth * * This program is free software; you can redistribute it and/or modify diff --git a/DSView/pv/prop/string.h b/DSView/pv/prop/string.h index ef788c7f..1cd0de25 100755 --- a/DSView/pv/prop/string.h +++ b/DSView/pv/prop/string.h @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2013 Joel Holdsworth * * This program is free software; you can redistribute it and/or modify diff --git a/DSView/pv/storesession.cpp b/DSView/pv/storesession.cpp index 8116cc12..0389ad78 100755 --- a/DSView/pv/storesession.cpp +++ b/DSView/pv/storesession.cpp @@ -1,5 +1,6 @@ /* * This file is part of the PulseView project. + * DSView is based on PulseView. * * Copyright (C) 2014 Joel Holdsworth * Copyright (C) 2016 DreamSourceLab diff --git a/DSView/pv/storesession.h b/DSView/pv/storesession.h index 882653e9..4130b880 100755 --- a/DSView/pv/storesession.h +++ b/DSView/pv/storesession.h @@ -1,5 +1,6 @@ /* * This file is part of the PulseView project. + * DSView is based on PulseView. * * Copyright (C) 2014 Joel Holdsworth * Copyright (C) 2016 DreamSourceLab diff --git a/DSView/pv/ui/dscombobox.cpp b/DSView/pv/ui/dscombobox.cpp index 008d8fde..6e7343bb 100644 --- a/DSView/pv/ui/dscombobox.cpp +++ b/DSView/pv/ui/dscombobox.cpp @@ -1,9 +1,8 @@ /* * This file is part of the DSView project. * DSView is based on PulseView. - * - * Copyright (C) 2012 Joel Holdsworth - * Copyright (C) 2022 DreamSourceLab + * + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/DSView/pv/ui/dscombobox.h b/DSView/pv/ui/dscombobox.h index 81da331c..cb3f7876 100644 --- a/DSView/pv/ui/dscombobox.h +++ b/DSView/pv/ui/dscombobox.h @@ -1,10 +1,8 @@ - /* * This file is part of the DSView project. * DSView is based on PulseView. * - * Copyright (C) 2012 Joel Holdsworth - * Copyright (C) 2022 DreamSourceLab + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/DSView/pv/ui/msgbox.cpp b/DSView/pv/ui/msgbox.cpp index 3b10c38e..4099b34d 100644 --- a/DSView/pv/ui/msgbox.cpp +++ b/DSView/pv/ui/msgbox.cpp @@ -1,9 +1,8 @@ /* * This file is part of the DSView project. * DSView is based on PulseView. - * - * Copyright (C) 2012 Joel Holdsworth - * Copyright (C) 2013 DreamSourceLab + * + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,6 +18,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ + #include "msgbox.h" #include "../dialogs/dsmessagebox.h" #include diff --git a/DSView/pv/ui/msgbox.h b/DSView/pv/ui/msgbox.h index 7b725158..8fc38ca1 100644 --- a/DSView/pv/ui/msgbox.h +++ b/DSView/pv/ui/msgbox.h @@ -2,8 +2,7 @@ * This file is part of the DSView project. * DSView is based on PulseView. * - * Copyright (C) 2012 Joel Holdsworth - * Copyright (C) 2013 DreamSourceLab + * Copyright (C) 2021 DreamSourceLab * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/DSView/pv/view/decodetrace.cpp b/DSView/pv/view/decodetrace.cpp index 9c05d62e..5508f657 100755 --- a/DSView/pv/view/decodetrace.cpp +++ b/DSView/pv/view/decodetrace.cpp @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2012 Joel Holdsworth * Copyright (C) 2014 DreamSourceLab * diff --git a/DSView/pv/view/decodetrace.h b/DSView/pv/view/decodetrace.h index b76c6360..e9a39543 100755 --- a/DSView/pv/view/decodetrace.h +++ b/DSView/pv/view/decodetrace.h @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2012 Joel Holdsworth * Copyright (C) 2014 DreamSourceLab * diff --git a/DSView/pv/view/spectrumtrace.cpp b/DSView/pv/view/spectrumtrace.cpp index fde8564f..e639e5a2 100755 --- a/DSView/pv/view/spectrumtrace.cpp +++ b/DSView/pv/view/spectrumtrace.cpp @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2016 DreamSourceLab * * This program is free software; you can redistribute it and/or modify diff --git a/DSView/pv/view/spectrumtrace.h b/DSView/pv/view/spectrumtrace.h index 9c3f368b..30e37b3d 100755 --- a/DSView/pv/view/spectrumtrace.h +++ b/DSView/pv/view/spectrumtrace.h @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2016 DreamSourceLab * * This program is free software; you can redistribute it and/or modify diff --git a/DSView/pv/widgets/decodergroupbox.cpp b/DSView/pv/widgets/decodergroupbox.cpp index 82a809b5..682211af 100755 --- a/DSView/pv/widgets/decodergroupbox.cpp +++ b/DSView/pv/widgets/decodergroupbox.cpp @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2013 Joel Holdsworth * Copyright (C) 2016 DreamSourceLab * diff --git a/DSView/pv/widgets/decodergroupbox.h b/DSView/pv/widgets/decodergroupbox.h index 96812532..84d411f3 100755 --- a/DSView/pv/widgets/decodergroupbox.h +++ b/DSView/pv/widgets/decodergroupbox.h @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2013 Joel Holdsworth * Copyright (C) 2016 DreamSourceLab * diff --git a/DSView/test/data/analogsnapshot.cpp b/DSView/test/data/analogsnapshot.cpp index 7cf4f289..2f46ed51 100755 --- a/DSView/test/data/analogsnapshot.cpp +++ b/DSView/test/data/analogsnapshot.cpp @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2013 Joel Holdsworth * * This program is free software; you can redistribute it and/or modify diff --git a/DSView/test/data/logicsnapshot.cpp b/DSView/test/data/logicsnapshot.cpp index 2473580e..eb4fb6c5 100755 --- a/DSView/test/data/logicsnapshot.cpp +++ b/DSView/test/data/logicsnapshot.cpp @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2012 Joel Holdsworth * * This program is free software; you can redistribute it and/or modify diff --git a/DSView/test/test.cpp b/DSView/test/test.cpp index 04c99819..b74021a5 100755 --- a/DSView/test/test.cpp +++ b/DSView/test/test.cpp @@ -1,6 +1,7 @@ /* * This file is part of the PulseView project. - * + * DSView is based on PulseView. + * * Copyright (C) 2012 Joel Holdsworth * * This program is free software; you can redistribute it and/or modify diff --git a/doc/decoder.txt b/doc/decoder.txt index 58980882..0bc1d076 100644 --- a/doc/decoder.txt +++ b/doc/decoder.txt @@ -1,3 +1,23 @@ +/* + * This file is part of the DSView project. + * + * Copyright (C) 2021 DreamSourceLab + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + sigrokdecode module's types output types: diff --git a/libsigrok4DSL/trigger.c b/libsigrok4DSL/trigger.c index c9d08c45..938d83af 100755 --- a/libsigrok4DSL/trigger.c +++ b/libsigrok4DSL/trigger.c @@ -1,5 +1,21 @@ /* - * This file is part of the DSLogic project. + * This file is part of the libsigrok project. + * + * Copyright (C) 2013 DreamSourceLab + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #include "libsigrok.h"