Permalink
Browse files

Can not->Cannot all over the code when we mean that we are incapable …

…of performing an action. Can not == I also can. Cannot = Under no circumstances can I.

git-svn-id: http://svn.mythtv.org/svn/trunk@26189 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information...
1 parent e400950 commit 5ad9b8c0a9e7a83bd253c43fe7d095318b07c36a Robert McNamara committed Sep 9, 2010
Showing with 87 additions and 87 deletions.
  1. +1 −1 mythplugins/mythmusic/mythmusic/playlist.cpp
  2. +4 −4 mythplugins/mythweather/mythweather/sourceManager.cpp
  3. +1 −1 mythtv/bindings/python/MythTV/dataheap.py
  4. +3 −3 mythtv/docs/doxygen-architecture-document.cpp
  5. +8 −8 mythtv/docs/mythtv-HOWTO.sgml
  6. +4 −4 mythtv/filters/README
  7. +2 −2 mythtv/filters/yadif/aclib_template.c
  8. +2 −2 mythtv/libs/libmyth/audiopulseutil.cpp
  9. +1 −1 mythtv/libs/libmyth/programinfo.h
  10. +2 −2 mythtv/libs/libmythdb/lcddevice.cpp
  11. +2 −2 mythtv/libs/libmythdb/mythcorecontext.cpp
  12. +3 −3 mythtv/libs/libmythdb/mythsystem.cpp
  13. +2 −2 mythtv/libs/libmythtv/NuppelVideoRecorder.cpp
  14. +1 −1 mythtv/libs/libmythtv/RingBuffer.cpp
  15. +3 −3 mythtv/libs/libmythtv/avformatdecoder.cpp
  16. +1 −1 mythtv/libs/libmythtv/channelscan/channelscanner.cpp
  17. +2 −2 mythtv/libs/libmythtv/commbreakmap.cpp
  18. +2 −2 mythtv/libs/libmythtv/datadirect.cpp
  19. +1 −1 mythtv/libs/libmythtv/dtvconfparserhelpers.h
  20. +1 −1 mythtv/libs/libmythtv/dvbchannel.cpp
  21. +2 −2 mythtv/libs/libmythtv/dvbsignalmonitor.cpp
  22. +1 −1 mythtv/libs/libmythtv/hdhrchannel.cpp
  23. +3 −3 mythtv/libs/libmythtv/jobqueue.cpp
  24. +1 −1 mythtv/libs/libmythtv/linuxfirewiredevice.cpp
  25. +2 −2 mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp
  26. +2 −2 mythtv/libs/libmythtv/previewgenerator.cpp
  27. +1 −1 mythtv/libs/libmythtv/recorderbase.h
  28. +1 −1 mythtv/libs/libmythtv/recordingprofile.cpp
  29. +3 −3 mythtv/libs/libmythtv/tv_play.cpp
  30. +1 −1 mythtv/libs/libmythtv/tv_play.h
  31. +1 −1 mythtv/libs/libmythtv/v4lchannel.cpp
  32. +1 −1 mythtv/libs/libmythtv/videobuffers.cpp
  33. +1 −1 mythtv/libs/libmythtv/videometadatautil.cpp
  34. +1 −1 mythtv/libs/libmythtv/videooutbase.cpp
  35. +2 −2 mythtv/libs/libmythtv/videosource.cpp
  36. +1 −1 mythtv/libs/libmythtv/vsync.cpp
  37. +1 −1 mythtv/libs/libmythtv/vsync.h
  38. +2 −2 mythtv/programs/mythbackend/autoexpire.cpp
  39. +1 −1 mythtv/programs/mythfilldatabase/main.cpp
  40. +1 −1 mythtv/programs/mythfilldatabase/xmltvparser.cpp
  41. +1 −1 mythtv/programs/mythfrontend/action.cpp
  42. +1 −1 mythtv/programs/mythfrontend/customedit.cpp
  43. +1 −1 mythtv/programs/mythfrontend/custompriority.cpp
  44. +2 −2 mythtv/programs/mythfrontend/globalsettings.cpp
  45. +1 −1 mythtv/programs/mythfrontend/main.cpp
  46. +1 −1 mythtv/programs/mythfrontend/networkcontrol.cpp
  47. +3 −3 mythtv/programs/mythpreviewgen/main.cpp
  48. +1 −1 mythtv/programs/mythtv-setup/importicons.h
  49. +1 −1 mythtv/programs/scripts/database/mythconverg_restore.pl
@@ -365,7 +365,7 @@ Playlist& Playlist::operator=(const Playlist& rhs)
delete songs.front();
songs.pop_front();
}
-#error Can not safely copy Playlist.. Track does not have a deep copy constructor
+#error Cannot safely copy Playlist.. Track does not have a deep copy constructor
return *this;
}
@@ -337,7 +337,7 @@ bool SourceManager::connectScreen(uint id, WeatherScreen *screen)
if (!screen)
{
VERBOSE(VB_IMPORTANT, LOC_ERR +
- "Can not connect nonexistent screen "<<screen);
+ "Cannot connect nonexistent screen "<<screen);
return false;
}
@@ -346,7 +346,7 @@ bool SourceManager::connectScreen(uint id, WeatherScreen *screen)
if (it == m_sourcemap.end())
{
VERBOSE(VB_IMPORTANT, LOC_ERR +
- QString("Can not connect nonexistent source '%1'").arg(id));
+ QString("Cannot connect nonexistent source '%1'").arg(id));
return false;
}
@@ -361,7 +361,7 @@ bool SourceManager::disconnectScreen(WeatherScreen *screen)
if (!screen)
{
VERBOSE(VB_IMPORTANT, LOC_ERR +
- "Can not disconnect nonexistent screen "<<screen);
+ "Cannot disconnect nonexistent screen "<<screen);
return false;
}
@@ -370,7 +370,7 @@ bool SourceManager::disconnectScreen(WeatherScreen *screen)
if (it == m_sourcemap.end())
{
VERBOSE(VB_IMPORTANT, LOC_ERR +
- "Can not disconnect nonexistent source "<<screen->getId());
+ "Cannot disconnect nonexistent source "<<screen->getId());
return false;
}
@@ -410,7 +410,7 @@ def setDuplicate(self, record=False):
FileOps(db=self._db).reschedule(0)
def update(self, *args, **keywords):
- """OldRecorded entries can not be altered"""
+ """OldRecorded entries cannot be altered"""
return
def delete(self):
"""OldRecorded entries cannot be deleted"""
@@ -774,7 +774,7 @@ QObject itself is pretty safe because when you assign one QObject to
another you make a copy. Qt's container classes, including QString
do not make a copy but rather pass a reference counted pointer to
the data when you assign one to another. This reference counter is
-not protected by a mutex so you can not use regular assignment when
+not protected by a mutex so you cannot use regular assignment when
passing a QString or other Qt container from one thread to another.
In order to use these classes safely you must use
@@ -797,7 +797,7 @@ for the ones it doesn't support you will have to copy manually.
\section qobject_inheritence QObject inheritence
-You can not inherit more than one QObject derived class.
+You cannot inherit more than one QObject derived class.
This is because of how signals and slots are implemented. What
happens is that each slot is transformed into an integer that
is used to find the right function pointer quickly when a signal
@@ -806,7 +806,7 @@ tree the integers will alias so that signals intended for the
second slot in parent class B might get sent to the second slot
in parent class A instead. Badness ensues.
-For the similar reason you can not inherit a QObject derived
+For the similar reason you cannot inherit a QObject derived
class virtually, in this case the badness is a little more
complicated. The result is the same however, signals arrive
at the wrong slot. Usually, what happens is that the developer
@@ -18,7 +18,7 @@ necessary.
<img src="stop.png">
<caption>
<bf>NOTE</bf>: Please note that I, Robert Kulagowski, am <em>NOT</em> the
-author/programmer of the MythTV application! I can not give you
+author/programmer of the MythTV application! I cannot give you
personalized installation support. If you are having issues installing
MythTV you should examine the archives, or post your question to the
MythTV-users mailing list. If you send me "Does MythTV work with 'X'"?
@@ -3133,15 +3133,15 @@ schedule.
<itemize>
<item>Currently recording beats not currently recording -- A recording
-in progress can not be moved to another input or time so it "wins"
+in progress cannot be moved to another input or time so it "wins"
its current timeslot.
<item>Single, Daily, or Weekly rules with no match are marked Not Listed --
If these or Overrides do not match the current listings because the
listings have changed, they are added to the schedule and marked to
indicate that they will not record.
-<item>Rules that could record beat rules that can not record a showing --
+<item>Rules that could record beat rules that cannot record a showing --
If two rules match the same showing of a program, a rule marked as inactive
or a showing marked as a repeat, for example, yield to the other rule.
@@ -3685,7 +3685,7 @@ to the same set top cable box.
</verb></tscreen>
Input 1 and input 2 receive content from the same set top box and the
-channels can not be tuned independently. Therefore only one of these two
+channels cannot be tuned independently. Therefore only one of these two
inputs should be used at any given time. The solution is to create an "Input
Group" with <bf>mythtv-setup</bf> in "Input connections". Including these
two inputs in the same Input Group will tell the scheduler that these are
@@ -5068,7 +5068,7 @@ You can now continue troubleshooting using <bf>gdb</bf> as detailed in the
instructions.
<sect2>MythTV is crashing your system
-<p>When run as a non-privileged user, MythTV <em>can not</em> crash your
+<p>When run as a non-privileged user, MythTV <em>cannot</em> crash your
system. If your system is crashing when you run MythTV, then you have some
issue with the drivers for your capture card or other hardware, or the CPU
fan has fallen off/broken and your system is overheating when asked to
@@ -5272,7 +5272,7 @@ often appear to hang, when in fact it is trying to manipulate the audio
subsystem and failing. You may or may not receive error messages indicating
that the source of the error is the audio subsystem.
-You can not use <bf>xawtv</bf> to determine if your audio is working
+You cannot use <bf>xawtv</bf> to determine if your audio is working
correctly, since <bf>xawtv</bf> is simply using the analog sound patched
through line-in to line-out. It doesn't need to digitize the sound unless
you are using the recording function.
@@ -5639,7 +5639,7 @@ by the settings for the television set. Many sets have these adjustments in
a 'service mode'. If you cannot make these adjustments, there will be black
borders around the edges of the X desktop, MythTV GUI and TV playback.
-MythTV has settings for "Overscan" in Setup->Playback. These can not, and do
+MythTV has settings for "Overscan" in Setup->Playback. These cannot, and do
not, cause the image to display beyond the edge of the X display area. The
purpose of these settings are to cut off rough edges and to expand the image
so that objects will appear to be the same size as a normal overscanned TV
@@ -6063,7 +6063,7 @@ content even if the slave backend that recorded a program is not available.
another. The transcoder has three primary uses; it can transcode MPEG-2
files captured using a hardware encoder (PVR cards, DVB cards, ATSC HD,
etc.) to MPEG-4, it can be used to transcode RTjpeg files (usually only used
-on systems that can not real-time encode to MPEG-4 using a framegrabber) to
+on systems that cannot real-time encode to MPEG-4 using a framegrabber) to
MPEG-4, and finally it can be used to remove commercials from a MPEG-2 file
while leaving the file in MPEG-2 format.
@@ -22,9 +22,9 @@ VideoFilter *LoadFilter(FilterInfo *Filt, VideoFrameType inpixfmt,
VideoFrameType outpixfmt, int &width,
int &height, char *opts):
Returns a pointer to a single VideoFilter, corresponding to the given
-FilterInfo, or NULL if the filter can not be loaded. Inpixfmt and
+FilterInfo, or NULL if the filter cannot be loaded. Inpixfmt and
outpixfmt give the input and output pixel formats requested of the
-filter. The filter load will fail if the filter can not provide the
+filter. The filter load will fail if the filter cannot provide the
requested format conversion. Width and height are the dimensions of the
video which will be input to the filter. If the filter alters the frame
dimensions of the video, width and height will be modified accordingly.
@@ -35,7 +35,7 @@ FilterChain *LoadFilters(QString filters, VideoFrameType &inpixfmt,
VideoFrameType &outpixfmt, int &width,
int &height, int &bufsize):
Returns a pointer to a FilterChain object for the requested filters, or
-NULL if such a chain can not be built. Filters is a comma-separated
+NULL if such a chain cannot be built. Filters is a comma-separated
list of filter names, which may each optionally be followed by
=<options> to specify filter options. Inpixfmt and outpixfmt specify
input and output pixelf formats for the filter chain. If either is set
@@ -156,7 +156,7 @@ VideoFilter structure will be freed by the FilterChain into which the
filter is loaded.
Here's the filter function from the invert filter. It's very simple,
-and can invert video in most formats, but can not convert between
+and can invert video in most formats, but cannot convert between
formats.
int invert(VideoFilter *vf, VideoFrame *frame)
@@ -19,8 +19,8 @@
/*
This part of code was taken by me from Linux-2.4.3 and slightly modified
for MMX, MMX2, SSE instruction set. I have done it since linux uses page aligned
-blocks but mplayer uses weakly ordered data and original sources can not
-speedup them. Only using PREFETCHNTA and MOVNTQ together have effect!
+blocks but mplayer uses weakly ordered data and original sources cannot
+speed them up. Only using PREFETCHNTA and MOVNTQ together have effect!
>From IA-32 Intel Architecture Software Developer's Manual Volume 1,
@@ -188,7 +188,7 @@ static void pau_context_state_callback(pa_context *c, void *userdata)
else
{
VERBOSE(VB_IMPORTANT, LOC_ERR +
- "Sound server is not local, can not suspend.");
+ "Sound server is not local, cannot suspend.");
pau_set_value(kPA_not_suspended_remote_server);
pau_quit(0);
@@ -202,7 +202,7 @@ static void pau_context_state_callback(pa_context *c, void *userdata)
case PA_CONTEXT_FAILED:
default:
VERBOSE(VB_IMPORTANT, LOC_WARN +
- "Can not connect to sound server, can not suspend." +
+ "Cannot connect to sound server, cannot suspend." +
QString("\n\t\t\t%1")
.arg(pa_strerror(pa_context_errno(c))));
@@ -527,7 +527,7 @@ class MPUBLIC ProgramInfo
void MarkAsInUse(bool inuse, QString usedFor = "");
void UpdateInUseMark(bool force = false);
- // Extremely slow functions that can not be called from the UI thread.
+ // Extremely slow functions that cannot be called from the UI thread.
QString DiscoverRecordingDirectory(void) const;
QString GetPlaybackURL(bool checkMaster = false,
bool forceCheckLocal = false) const;
@@ -810,14 +810,14 @@ bool LCD::startLCDServer(void)
if (dup2(fd, 0) < 0)
{
VERBOSE(VB_IMPORTANT, LOC_ERR +
- "Can not redirect /dev/null to standard input,"
+ "Cannot redirect /dev/null to standard input,"
"\n\t\t\tfailed to duplicate file descriptor." + ENO);
}
close(fd);
}
else
{
- VERBOSE(VB_IMPORTANT, LOC_ERR + "Can not redirect /dev/null "
+ VERBOSE(VB_IMPORTANT, LOC_ERR + "Cannot redirect /dev/null "
"to standard input, failed to open." + ENO);
}
@@ -754,9 +754,9 @@ bool MythCoreContext::SendReceiveStringList(QStringList &strlist,
if (HasGUI() && IsUIThread())
{
QString msg = "SendReceiveStringList(";
- for (uint i=0; i<(uint)strlist.size() && i<2; i++)
+ for (uint i=0; i<(uint)strlist.size(); i++)
msg += (i?",":"") + strlist[i];
- msg += (strlist.size() > 2) ? "...)" : ")";
+ msg += ")";
msg += " called from UI thread";
VERBOSE(VB_IMPORTANT, msg);
}
@@ -230,7 +230,7 @@ uint MythSystemReaper::abortPid( pid_t pid )
/** \fn myth_system(const QString&, uint, uint)
* \brief Runs a system command inside the /bin/sh shell.
*
- * Note: Returns GENERIC_EXIT_NOT_OK if it can not execute the command.
+ * Note: Returns GENERIC_EXIT_NOT_OK if it cannot execute the command.
* \return Exit value from command as an unsigned int in range [0,255].
*/
uint myth_system(const QString &command, uint flags, uint timeout)
@@ -384,14 +384,14 @@ pid_t myth_system_fork(const QString &command, uint &result)
if (dup2(fd, 0) < 0)
{
VERBOSE(VB_IMPORTANT, LOC_ERR +
- "Can not redirect /dev/null to standard input,"
+ "Cannot redirect /dev/null to standard input,"
"\n\t\t\tfailed to duplicate file descriptor." + ENO);
}
close(fd);
}
else
{
- VERBOSE(VB_IMPORTANT, LOC_ERR + "Can not redirect /dev/null "
+ VERBOSE(VB_IMPORTANT, LOC_ERR + "Cannot redirect /dev/null "
"to standard input, failed to open." + ENO);
}
@@ -822,7 +822,7 @@ int NuppelVideoRecorder::AudioInit(bool skipdevice)
* \brief Determines MJPEG capture resolution.
*
* This function requires an file descriptor for the device, which
- * means Channel can not be open when NVR::Initialize() is called.
+ * means Channel cannot be open when NVR::Initialize() is called.
* It is safe for the recorder to be open.
*
* \return true on success
@@ -2952,7 +2952,7 @@ void NuppelVideoRecorder::doWriteThread(void)
audiobuffer[act_audio_encode]->sample,
audiobuffer[act_audio_encode]->timecode);
if (IsErrored()) {
- VERBOSE(VB_IMPORTANT, LOC_ERR + "ACTION_AUDIO can not be completed due to error.");
+ VERBOSE(VB_IMPORTANT, LOC_ERR + "ACTION_AUDIO cannot be completed due to error.");
StopRecording();
break;
}
@@ -463,7 +463,7 @@ void RingBuffer::OpenFile(const QString &lfilename, uint retry_ms)
break;
case 4:
VERBOSE(VB_IMPORTANT, LOC_ERR +
- "OpenFile(): Can not seek in file.");
+ "OpenFile(): Cannot seek in file.");
break;
default:
break;
@@ -3606,15 +3606,15 @@ static int filter_max_ch(const AVFormatContext *ic,
* recalled as the Nth stream in the preferred language
* or the Nth substream when audio is in dual language
* format (each channel contains a different language track)
- * If it can not be located we attempt to find a stream
+ * If it cannot be located we attempt to find a stream
* in the same language.
*
- * 2) If we can not reselect the last user selected stream,
+ * 2) If we cannot reselect the last user selected stream,
* then for each preferred language from most preferred
* to least preferred, we try to find a new stream based
* on the algorithm below.
*
- * 3) If we can not select a stream in a preferred language
+ * 3) If we cannot select a stream in a preferred language
* we try to select a stream irrespective of language
* based on the algorithm below.
*
@@ -380,7 +380,7 @@ void ChannelScanner::PreScanCommon(
do_test_decryption);
// If we know the channel types we can give the signal montior a hint.
- // Since we unfortunately do not record this info in the DB, we can not
+ // Since we unfortunately do not record this info in the DB, we cannot
// do this for the other scan types and have to guess later on...
switch (scantype)
{
@@ -287,7 +287,7 @@ bool CommBreakMap::DoSkipCommercials(uint64_t &jumpToFrame,
((totalFrames) &&
((commBreakIter.key() + (10 * video_frame_rate)) > totalFrames))))
{
- comm_msg = QObject::tr("At End, can not Skip.");
+ comm_msg = QObject::tr("At End, cannot Skip.");
return false;
}
@@ -331,7 +331,7 @@ bool CommBreakMap::DoSkipCommercials(uint64_t &jumpToFrame,
((commBreakIter.key() + (10 * video_frame_rate)) >
totalFrames)))
{
- comm_msg = QObject::tr("At End, can not Skip.");
+ comm_msg = QObject::tr("At End, cannot Skip.");
return false;
}
}
@@ -1247,7 +1247,7 @@ bool DataDirectProcessor::GrabData(const QDateTime pstartDate,
if (!ok)
{
VERBOSE(VB_IMPORTANT, LOC_WARN +
- "Can not open DD cache file in '" +
+ "Cannot open DD cache file in '" +
tmpDir + "' for writing!");
}
else
@@ -1550,7 +1550,7 @@ QDateTime DataDirectProcessor::GetLineupCacheAge(const QString &lineupid) const
if (!lfile.open(QIODevice::ReadOnly))
{
VERBOSE(VB_IMPORTANT, "GrabLineupCacheAge("<<lineupid<<") failed -- "
- <<QString("can not open file '%1'")
+ <<QString("cannot open file '%1'")
.arg(get_cache_filename(lineupid)));
return cache_dt;
}
@@ -73,7 +73,7 @@ class DTVTunerType : public DTVParamHelper
static const DTVParamHelperStruct parseTable[];
public:
- // WARNING: kTunerTypes can not be defined by a C++03 enum
+ // WARNING: kTunerTypes cannot be defined by a C++03 enum
// because gcc 4.3.3 will reportedly promote an enum inconsistently
// to int on IA-32 platforms. I don't know whether this is
// correct or not, it comes down to interpretation of section
@@ -298,7 +298,7 @@ bool DVBChannel::SetChannelByString(const QString &channum)
if (!IsOpen())
{
VERBOSE(VB_IMPORTANT, loc_err + "Channel object "
- "will not open, can not change channels.");
+ "will not open, cannot change channels.");
ClearDTVInfo();
return false;
Oops, something went wrong.

0 comments on commit 5ad9b8c

Please sign in to comment.