diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -89,7 +89,7 @@ * fix crash on audiofiles * fix crash on opening project file with images * fix warnings from static analyzers (cppcheck, krazy) - * sort source files, easier to understand (for new developpers) + * sort source files, easier to understand (for new developers) 0.9.8 Changes: @@ -103,7 +103,7 @@ Bug fix: * Code cleanup (use const ref, fix includes, mem leaks, optimize...) - * Fix warnings from gcc, cppcheck, clang, scan-build: fixes many crashs & leaks + * Fix warnings from gcc, cppcheck, clang, scan-build: fixes many crashes & leaks * Fix keyframing messed up for some effects * Fix timeline corruption when trying to move clip before 0 * Fix crash when closing title widget @@ -278,7 +278,7 @@ * Remove the "avformat-novalidate" trick for faster loading, caused crash. (#2205) * Allow to assign a shortcut to usage of proxies in project. * Use separate thread for generation of timeline thumbnails when zoom is at frame level to keep UI responsive. - * Allow to use JScript in render profile parameter values. Values that need evalutation need to be indicated by '%'. + * Allow to use JScript in render profile parameter values. Values that need evaluation need to be indicated by '%'. * Check for missing proxies on document opening. * Check document for invalid (overlapping) transitions. * Check for duration mismatch in clip producers when opening a document (can cause corruption). diff --git a/data/effects/README b/data/effects/README --- a/data/effects/README +++ b/data/effects/README @@ -51,7 +51,7 @@ - attribute "name": MLT filter parameter name - attribute "paramprefix": a string to be prepended to the parameter value before passing it to MLT - attribute "default": initial value, format depends on parameter type - - attribue "optional": if it is set, it means that this parameter can have an empty value. So then loading a project, don't set its value to default + - attribute "optional": if it is set, it means that this parameter can have an empty value. So then loading a project, don't set its value to default - attribute "type": widget (GUI) to use - "fixed": - sets a (MLT filter) parameter, but does not expose it to the user (no GUI) @@ -66,7 +66,7 @@ - "suffix": (optional) displayed unit of the values - "double": - synonym for "constant" - - "bool": + - "bool": - true/false - represented by a checkbox - "switch": @@ -77,7 +77,7 @@ - represented by a drop-down menu - additional parameter attribute: - "paramlist": list of possible values separated by semicolon (no whitespaces!) - - addtional tag: + - additional tag: - "paramlistdisplay": (optional) list of names to use for the values separated by comma - "position": - time stored as frame number @@ -89,7 +89,7 @@ - "alpha": (default = "0") use to enable alpha support - "keyframe": - keyframable number - - keyframes are opt-in (only one keyframe by default -> should be prefered over "constant" whenever possible) + - keyframes are opt-in (only one keyframe by default -> should be preferred over "constant" whenever possible) - works with MLT filters that utilize start/end values - same attributes as "constant" - additional attributes: diff --git a/data/man/kdenlive.1 b/data/man/kdenlive.1 --- a/data/man/kdenlive.1 +++ b/data/man/kdenlive.1 @@ -18,7 +18,7 @@ .SS Options: .TP .B \-\-mlt\-path -Set the path for MLT environnement +Set the path for MLT environment .TP .B \-\-mlt\-log Set MLT log level diff --git a/src/doc/kdenlivedoc.h b/src/doc/kdenlivedoc.h --- a/src/doc/kdenlivedoc.h +++ b/src/doc/kdenlivedoc.h @@ -226,7 +226,7 @@ /** @brief Sets the document as modified or up to date. * @description If crash recovery is turned on, a timer calls KdenliveDoc::slotAutoSave() \n - * Emits docModified conected to MainWindow::slotUpdateDocumentState \n + * Emits docModified connected to MainWindow::slotUpdateDocumentState \n * @param mod (optional) true if the document has to be saved */ void setModified(bool mod = true); void slotProxyCurrentItem(bool doProxy, QList clipList = QList(), bool force = false, QUndoCommand *masterCommand = nullptr); diff --git a/src/effectstack/widgets/animationwidget.cpp b/src/effectstack/widgets/animationwidget.cpp --- a/src/effectstack/widgets/animationwidget.cpp +++ b/src/effectstack/widgets/animationwidget.cpp @@ -224,7 +224,7 @@ // Load effect presets loadPresets(); - // If only one animated parametes, hide radiobutton + // If only one animated parameters, hide radiobutton if (m_doubleWidgets.count() == 1) { m_doubleWidgets.first()->hideRadioButton(); } diff --git a/src/effectstack/widgets/draggablelabel.cpp b/src/effectstack/widgets/draggablelabel.cpp --- a/src/effectstack/widgets/draggablelabel.cpp +++ b/src/effectstack/widgets/draggablelabel.cpp @@ -45,7 +45,7 @@ void DraggableLabel::mouseReleaseEvent(QMouseEvent *ev) { - // Don't call mouserelease in cas of drag because label might be deleted by a drop + // Don't call mouserelease in case of drag because label might be deleted by a drop if (!m_dragStarted) QLabel::mouseReleaseEvent(ev); else diff --git a/src/jogshuttle/jogaction.cpp b/src/jogshuttle/jogaction.cpp --- a/src/jogshuttle/jogaction.cpp +++ b/src/jogshuttle/jogaction.cpp @@ -70,7 +70,7 @@ void JogShuttleAction::slotButton(int button_id) { if (button_id >= m_actionMap.size() || m_actionMap[button_id].isEmpty()) { - // TODO(fleury): Shoudl this go to the status bar to inform the user ? + // TODO(fleury): Should this go to the status bar to inform the user ? //qCDebug(KDENLIVE_LOG) << "No action applied for button: " << button_id; return; } diff --git a/src/lib/audio/fftCorrelation.cpp b/src/lib/audio/fftCorrelation.cpp --- a/src/lib/audio/fftCorrelation.cpp +++ b/src/lib/audio/fftCorrelation.cpp @@ -123,7 +123,7 @@ correlatedFFT[i].i = leftFFT[i].r * rightFFT[i].i + leftFFT[i].i * rightFFT[i].r; } - // Inverse fourier tranformation to get the convolved data. + // Inverse fourier transformation to get the convolved data. // Insert one element at the beginning to obtain the same result // that we also get with the nested for loop correlation. *out_convolved = 0; diff --git a/src/lib/audio/fftTools.h b/src/lib/audio/fftTools.h --- a/src/lib/audio/fftTools.h +++ b/src/lib/audio/fftTools.h @@ -45,8 +45,8 @@ used as a hash in the cache */ static const QString cfgSignature(const int size); - /** Calculates the Fourier Tranformation of the input audio frame. - The resulting values will be given in relative dezibel: The maximum power is 0 dB, lower powers have + /** Calculates the Fourier Transformation of the input audio frame. + The resulting values will be given in relative decibel: The maximum power is 0 dB, lower powers have negative dB values. * audioFrame: Interleaved format with #numChannels channels * freqSpectrum: Array pointer to write the data into diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1761,7 +1761,7 @@ answer = KMessageBox::warningContinueCancel(this, i18n("This will move all temporary files from %1 to %2, the project file will then be reloaded", project->projectTempFolder(), newProjectFolder)); } if (answer == KMessageBox::Continue) { - // Proceeed with move + // Proceed with move QString documentId = QDir::cleanPath(project->getDocumentProperty(QStringLiteral("documentid"))); bool ok; documentId.toLongLong(&ok, 10); diff --git a/src/mltcontroller/clipcontroller.cpp b/src/mltcontroller/clipcontroller.cpp --- a/src/mltcontroller/clipcontroller.cpp +++ b/src/mltcontroller/clipcontroller.cpp @@ -271,7 +271,7 @@ if (!m_masterProducer->is_valid()) { qCDebug(KDENLIVE_LOG) << "// WARNING, USING INVALID PRODUCER"; } else { - // URL and name shoule not be updated otherwise when proxying a clip we cannot find back the original url + // URL and name should not be updated otherwise when proxying a clip we cannot find back the original url /*m_url = QUrl::fromLocalFile(m_masterProducer->get("resource")); if (m_url.isValid()) { m_name = m_url.fileName(); diff --git a/src/mltcontroller/producerqueue.h b/src/mltcontroller/producerqueue.h --- a/src/mltcontroller/producerqueue.h +++ b/src/mltcontroller/producerqueue.h @@ -106,7 +106,7 @@ /** @brief A multiple stream clip was found. */ void multiStreamFound(const QString &, QList, QList, stringMap data); void addClip(const QString &, const QMap &); - /** @brief A clip changed whithout need to replace produder (for example clip), just ask refresh. */ + /** @brief A clip changed without need to replace produder (for example clip), just ask refresh. */ void refreshTimelineProducer(const QString); }; diff --git a/src/monitor/glwidget.cpp b/src/monitor/glwidget.cpp --- a/src/monitor/glwidget.cpp +++ b/src/monitor/glwidget.cpp @@ -876,7 +876,7 @@ } } if (m_consumer->is_valid()) { - // buid sub consumers + // build sub consumers //m_consumer->set("mlt_image_format", "yuv422"); reloadProfile(*profile); int volume = KdenliveSettings::volume(); diff --git a/src/monitor/recmonitor.h b/src/monitor/recmonitor.h --- a/src/monitor/recmonitor.h +++ b/src/monitor/recmonitor.h @@ -22,7 +22,7 @@ * @brief Records video via dvgrab (firewire), ffmpeg=video4linux and screen capture also via ffmpeg * @author Jean-Baptiste Mardelle * Recording is started by RecMonitor::slotRecord () -* Recording stoped in RecMonitor::slotStopCapture () +* Recording stopped in RecMonitor::slotStopCapture () */ #ifndef RECMONITOR_H diff --git a/src/monitor/recmonitor.cpp b/src/monitor/recmonitor.cpp --- a/src/monitor/recmonitor.cpp +++ b/src/monitor/recmonitor.cpp @@ -604,7 +604,7 @@ video_frame->clear();// clear error text from previous run if any. // ^^ This does clear the error text but the change is not visible straight way in the UI // it only becomes visible after the capture is complete. Vincent and JBM - how come? What can - // we do to make the error text go way as soon as a new capture starts. It is missleading to the user + // we do to make the error text go way as soon as a new capture starts. It is misleading to the user // to have the error still display while we are happily capturing. if (m_captureProcess->state() == QProcess::NotRunning && device_selector->currentIndex() == Firewire) { slotStartPreview(); diff --git a/src/onmonitoritems/rotoscoping/nearestpoint.cpp b/src/onmonitoritems/rotoscoping/nearestpoint.cpp --- a/src/onmonitoritems/rotoscoping/nearestpoint.cpp +++ b/src/onmonitoritems/rotoscoping/nearestpoint.cpp @@ -281,7 +281,7 @@ */ static int CrossingCount(Point2 *V, int degree) // Point2 *V; /* Control pts of Bezier curve */ -// int degree; /* Degreee of Bezier curve */ +// int degree; /* Degree of Bezier curve */ { int i; int n_crossings = 0; /* Number of zero-crossings */ diff --git a/src/project/jobs/proxyclipjob.cpp b/src/project/jobs/proxyclipjob.cpp --- a/src/project/jobs/proxyclipjob.cpp +++ b/src/project/jobs/proxyclipjob.cpp @@ -99,7 +99,7 @@ mltParameters.append(QStringLiteral("real_time=-%1").arg(KdenliveSettings::mltthreads())); - //TODO: currently, when rendering an xml file through melt, the display ration is lost, so we enforce it manualy + //TODO: currently, when rendering an xml file through melt, the display ration is lost, so we enforce it manually mltParameters << QStringLiteral("aspect=") + QLocale().toString(display_ratio); // Ask for progress reporting diff --git a/src/qt-oauth-lib/oauth2.h b/src/qt-oauth-lib/oauth2.h --- a/src/qt-oauth-lib/oauth2.h +++ b/src/qt-oauth-lib/oauth2.h @@ -43,7 +43,7 @@ #ifndef DOXYGEN_SHOULD_SKIP_THIS static QString OAuth2_strClientSecret = QStringLiteral("441d88374716e7a3503997151e4780566f007313"); //obtained when ttguy registered the kdenlive application with freesound -#endif /* DOXYGEN_SHOULD_SKIP_THIS ^^^ don't make this any more public than it is. This preprocessing directive makes the Doxygen documention ignore this line */ +#endif /* DOXYGEN_SHOULD_SKIP_THIS ^^^ don't make this any more public than it is. This preprocessing directive makes the Doxygen documentation ignore this line */ #ifdef QT5_USE_WEBKIT diff --git a/src/renderer.h b/src/renderer.h --- a/src/renderer.h +++ b/src/renderer.h @@ -28,7 +28,7 @@ * From Kdenlive's point of view, you treat the Render object as the renderer, * and simply use it as if it was local. Calls are asynchronous - you send a * call out, and then receive the return value through the relevant signal that - * get's emitted once the call completes. + * gets emitted once the call completes. */ #ifndef RENDERER_H diff --git a/src/renderer.cpp b/src/renderer.cpp --- a/src/renderer.cpp +++ b/src/renderer.cpp @@ -1357,14 +1357,14 @@ Mlt::Producer trackProducer(tractor.track(info.track)); Mlt::Playlist trackPlaylist((mlt_playlist) trackProducer.get_service()); if (trackPlaylist.is_blank_at(info.startPos.frames(m_fps))) { - //qCDebug(KDENLIVE_LOG) << "//////// ERROR RSIZING BLANK CLIP!!!!!!!!!!!"; + //qCDebug(KDENLIVE_LOG) << "//////// ERROR RESIZING BLANK CLIP!!!!!!!!!!!"; return false; } service.lock(); int clipIndex = trackPlaylist.get_clip_index_at(info.startPos.frames(m_fps)); QScopedPointer clip(trackPlaylist.get_clip(clipIndex)); if (clip == nullptr) { - //qCDebug(KDENLIVE_LOG) << "//////// ERROR RSIZING nullptr CLIP!!!!!!!!!!!"; + //qCDebug(KDENLIVE_LOG) << "//////// ERROR RESIZING nullptr CLIP!!!!!!!!!!!"; service.unlock(); return false; } diff --git a/src/scopes/audioscopes/spectrogram.cpp b/src/scopes/audioscopes/spectrogram.cpp --- a/src/scopes/audioscopes/spectrogram.cpp +++ b/src/scopes/audioscopes/spectrogram.cpp @@ -345,7 +345,7 @@ FFTTools::WindowType windowType = (FFTTools::WindowType) ui->windowFunction->itemData(ui->windowFunction->currentIndex()).toInt(); m_fftTools.fftNormalized(audioFrame, 0, num_channels, freqSpectrum, windowType, fftWindow, 0); - // This methid might be called also when a simple refresh is required. + // This method might be called also when a simple refresh is required. // In this case there is no data to append to the history. Only append new data. QVector spectrumVector(fftWindow / 2); memcpy(spectrumVector.data(), &freqSpectrum[0], fftWindow / 2 * sizeof(float)); diff --git a/src/timecode.cpp b/src/timecode.cpp --- a/src/timecode.cpp +++ b/src/timecode.cpp @@ -72,7 +72,7 @@ int hourFrames = timeBase*60*60; //Number of frames per hour (non-drop) int minuteFrames = timeBase*60; //Number of frames per minute (non-drop) -int totalMinutes = (60*hours) + minutes; //Total number of minuts +int totalMinutes = (60*hours) + minutes; //Total number of minutes int frameNumber = ((hourFrames * hours) + (minuteFrames * minutes) + (timeBase * seconds) + frames) - (dropFrames * (totalMinutes - (totalMinutes \ 10))); return frameNumber; diff --git a/src/timecodedisplay.h b/src/timecodedisplay.h --- a/src/timecodedisplay.h +++ b/src/timecodedisplay.h @@ -70,7 +70,7 @@ /** @brief Returns the current input as a GenTime object. */ GenTime gentime() const; - /** @brief Returs the widget's timecode object. */ + /** @brief Returns the widget's timecode object. */ Timecode timecode() const; /** @brief Sets value's format to frames or HH:MM:SS:FF according to @param frametimecode. diff --git a/src/timeline/track.h b/src/timeline/track.h --- a/src/timeline/track.h +++ b/src/timeline/track.h @@ -109,7 +109,7 @@ bool add(qreal t, Mlt::Producer *parent, qreal tcut, qreal dtcut, PlaylistState::ClipState state, bool duplicate, TimelineMode::EditMode mode); /** @brief Move a clip in the track * @param start where clip is present (in seconds); - * @param end wher the clip should be moved + * @param end where the clip should be moved * @param mode allow insert in non-blanks by replacing (mode=1) or pushing (mode=2) content * @return true if success */ bool move(qreal start, qreal end, TimelineMode::EditMode mode = TimelineMode::NormalEdit); diff --git a/src/timeline/transitionhandler.cpp b/src/timeline/transitionhandler.cpp --- a/src/timeline/transitionhandler.cpp +++ b/src/timeline/transitionhandler.cpp @@ -511,7 +511,7 @@ { int tracks = m_tractor->count(); if (tracks < 3) { - // we need at leas 3 tracks (black bg track + 2 tracks to use this) + // we need at least 3 tracks (black bg track + 2 tracks to use this) return; } QStringList compositeService { QStringLiteral("qtblend"), QStringLiteral("frei0r.cairoblend"), QStringLiteral("movit.overlay") }; diff --git a/src/titler/titlewidget.h b/src/titler/titlewidget.h --- a/src/titler/titlewidget.h +++ b/src/titler/titlewidget.h @@ -285,7 +285,7 @@ void slotChanged(); /** - * Reacts to changes of widht/height/x/y QSpinBox values. + * Reacts to changes of width/height/x/y QSpinBox values. * @brief Updates width, height, and position of the selected items. * @param valueType of type ValueType */ diff --git a/src/utils/resourcewidget.cpp b/src/utils/resourcewidget.cpp --- a/src/utils/resourcewidget.cpp +++ b/src/utils/resourcewidget.cpp @@ -516,7 +516,7 @@ new KRun(QUrl(url), this); } /** - * @brief ResourceWidget::slotChangeService - fires when user changes what online resource they want to search agains via the dropdown list + * @brief ResourceWidget::slotChangeService - fires when user changes what online resource they want to search against via the dropdown list Also fires when widget first opens */ @@ -690,10 +690,10 @@ void ResourceWidget::slotSetImage(const QString &desc) { QPixmap pic(desc); - GifLabel->setPixmap(pic);// pass a pointer as a parameter. Display the pic in our lable + GifLabel->setPixmap(pic);// pass a pointer as a parameter. Display the pic in our label } -/** @brief updates the display with information on the seleted item. The title consists of the sounds file name and the author +/** @brief updates the display with information on the selected item. The title consists of the sounds file name and the author * * Called by ResourceWidget::slotUpdateCurrentSound() */