Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit 5ad9b8c0a9e7a83bd253c43fe7d095318b07c36a 1 parent e400950
authored

Showing 49 changed files with 87 additions and 87 deletions. Show diff stats Hide diff stats

  1. 2  mythplugins/mythmusic/mythmusic/playlist.cpp
  2. 8  mythplugins/mythweather/mythweather/sourceManager.cpp
  3. 2  mythtv/bindings/python/MythTV/dataheap.py
  4. 6  mythtv/docs/doxygen-architecture-document.cpp
  5. 16  mythtv/docs/mythtv-HOWTO.sgml
  6. 8  mythtv/filters/README
  7. 4  mythtv/filters/yadif/aclib_template.c
  8. 4  mythtv/libs/libmyth/audiopulseutil.cpp
  9. 2  mythtv/libs/libmyth/programinfo.h
  10. 4  mythtv/libs/libmythdb/lcddevice.cpp
  11. 4  mythtv/libs/libmythdb/mythcorecontext.cpp
  12. 6  mythtv/libs/libmythdb/mythsystem.cpp
  13. 4  mythtv/libs/libmythtv/NuppelVideoRecorder.cpp
  14. 2  mythtv/libs/libmythtv/RingBuffer.cpp
  15. 6  mythtv/libs/libmythtv/avformatdecoder.cpp
  16. 2  mythtv/libs/libmythtv/channelscan/channelscanner.cpp
  17. 4  mythtv/libs/libmythtv/commbreakmap.cpp
  18. 4  mythtv/libs/libmythtv/datadirect.cpp
  19. 2  mythtv/libs/libmythtv/dtvconfparserhelpers.h
  20. 2  mythtv/libs/libmythtv/dvbchannel.cpp
  21. 4  mythtv/libs/libmythtv/dvbsignalmonitor.cpp
  22. 2  mythtv/libs/libmythtv/hdhrchannel.cpp
  23. 6  mythtv/libs/libmythtv/jobqueue.cpp
  24. 2  mythtv/libs/libmythtv/linuxfirewiredevice.cpp
  25. 4  mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp
  26. 4  mythtv/libs/libmythtv/previewgenerator.cpp
  27. 2  mythtv/libs/libmythtv/recorderbase.h
  28. 2  mythtv/libs/libmythtv/recordingprofile.cpp
  29. 6  mythtv/libs/libmythtv/tv_play.cpp
  30. 2  mythtv/libs/libmythtv/tv_play.h
  31. 2  mythtv/libs/libmythtv/v4lchannel.cpp
  32. 2  mythtv/libs/libmythtv/videobuffers.cpp
  33. 2  mythtv/libs/libmythtv/videometadatautil.cpp
  34. 2  mythtv/libs/libmythtv/videooutbase.cpp
  35. 4  mythtv/libs/libmythtv/videosource.cpp
  36. 2  mythtv/libs/libmythtv/vsync.cpp
  37. 2  mythtv/libs/libmythtv/vsync.h
  38. 4  mythtv/programs/mythbackend/autoexpire.cpp
  39. 2  mythtv/programs/mythfilldatabase/main.cpp
  40. 2  mythtv/programs/mythfilldatabase/xmltvparser.cpp
  41. 2  mythtv/programs/mythfrontend/action.cpp
  42. 2  mythtv/programs/mythfrontend/customedit.cpp
  43. 2  mythtv/programs/mythfrontend/custompriority.cpp
  44. 4  mythtv/programs/mythfrontend/globalsettings.cpp
  45. 2  mythtv/programs/mythfrontend/main.cpp
  46. 2  mythtv/programs/mythfrontend/networkcontrol.cpp
  47. 6  mythtv/programs/mythpreviewgen/main.cpp
  48. 2  mythtv/programs/mythtv-setup/importicons.h
  49. 2  mythtv/programs/scripts/database/mythconverg_restore.pl
2  mythplugins/mythmusic/mythmusic/playlist.cpp
@@ -365,7 +365,7 @@ Playlist& Playlist::operator=(const Playlist& rhs)
365 365
         delete songs.front();
366 366
         songs.pop_front();
367 367
     }
368  
-#error Can not safely copy Playlist.. Track does not have a deep copy constructor
  368
+#error Cannot safely copy Playlist.. Track does not have a deep copy constructor
369 369
 
370 370
     return *this;
371 371
 }
8  mythplugins/mythweather/mythweather/sourceManager.cpp
@@ -337,7 +337,7 @@ bool SourceManager::connectScreen(uint id, WeatherScreen *screen)
337 337
     if (!screen)
338 338
     {
339 339
         VERBOSE(VB_IMPORTANT, LOC_ERR +
340  
-                "Can not connect nonexistent screen "<<screen);
  340
+                "Cannot connect nonexistent screen "<<screen);
341 341
 
342 342
         return false;
343 343
     }
@@ -346,7 +346,7 @@ bool SourceManager::connectScreen(uint id, WeatherScreen *screen)
346 346
     if (it == m_sourcemap.end())
347 347
     {
348 348
         VERBOSE(VB_IMPORTANT, LOC_ERR +
349  
-                QString("Can not connect nonexistent source '%1'").arg(id));
  349
+                QString("Cannot connect nonexistent source '%1'").arg(id));
350 350
 
351 351
         return false;
352 352
     }
@@ -361,7 +361,7 @@ bool SourceManager::disconnectScreen(WeatherScreen *screen)
361 361
     if (!screen)
362 362
     {
363 363
         VERBOSE(VB_IMPORTANT, LOC_ERR +
364  
-                "Can not disconnect nonexistent screen "<<screen);
  364
+                "Cannot disconnect nonexistent screen "<<screen);
365 365
 
366 366
         return false;
367 367
     }
@@ -370,7 +370,7 @@ bool SourceManager::disconnectScreen(WeatherScreen *screen)
370 370
     if (it == m_sourcemap.end())
371 371
     {
372 372
         VERBOSE(VB_IMPORTANT, LOC_ERR +
373  
-                "Can not disconnect nonexistent source "<<screen->getId());
  373
+                "Cannot disconnect nonexistent source "<<screen->getId());
374 374
 
375 375
         return false;
376 376
     }
2  mythtv/bindings/python/MythTV/dataheap.py
@@ -410,7 +410,7 @@ def setDuplicate(self, record=False):
410 410
         FileOps(db=self._db).reschedule(0)
411 411
 
412 412
     def update(self, *args, **keywords):
413  
-        """OldRecorded entries can not be altered"""
  413
+        """OldRecorded entries cannot be altered"""
414 414
         return
415 415
     def delete(self):
416 416
         """OldRecorded entries cannot be deleted"""
6  mythtv/docs/doxygen-architecture-document.cpp
@@ -774,7 +774,7 @@ QObject itself is pretty safe because when you assign one QObject to
774 774
 another you make a copy. Qt's container classes, including QString
775 775
 do not make a copy but rather pass a reference counted pointer to
776 776
 the data when you assign one to another. This reference counter is
777  
-not protected by a mutex so you can not use regular assignment when
  777
+not protected by a mutex so you cannot use regular assignment when
778 778
 passing a QString or other Qt container from one thread to another.
779 779
 
780 780
 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.
797 797
 
798 798
 \section qobject_inheritence QObject inheritence
799 799
 
800  
-You can not inherit more than one QObject derived class.
  800
+You cannot inherit more than one QObject derived class.
801 801
 This is because of how signals and slots are implemented. What
802 802
 happens is that each slot is transformed into an integer that
803 803
 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
806 806
 second slot in parent class B might get sent to the second slot
807 807
 in parent class A instead. Badness ensues.
808 808
 
809  
-For the similar reason you can not inherit a QObject derived
  809
+For the similar reason you cannot inherit a QObject derived
810 810
 class virtually, in this case the badness is a little more
811 811
 complicated. The result is the same however, signals arrive
812 812
 at the wrong slot. Usually, what happens is that the developer
16  mythtv/docs/mythtv-HOWTO.sgml
@@ -18,7 +18,7 @@ necessary.
18 18
 <img src="stop.png">
19 19
 <caption>
20 20
 <bf>NOTE</bf>: Please note that I, Robert Kulagowski, am <em>NOT</em> the
21  
-author/programmer of the MythTV application!  I can not give you
  21
+author/programmer of the MythTV application!  I cannot give you
22 22
 personalized installation support.  If you are having issues installing
23 23
 MythTV you should examine the archives, or post your question to the
24 24
 MythTV-users mailing list.  If you send me "Does MythTV work with 'X'"?
@@ -3133,7 +3133,7 @@ schedule.
3133 3133
 
3134 3134
 <itemize>
3135 3135
 <item>Currently recording beats not currently recording -- A recording
3136  
-in progress can not be moved to another input or time so it "wins"
  3136
+in progress cannot be moved to another input or time so it "wins"
3137 3137
 its current timeslot.
3138 3138
 
3139 3139
 <item>Single, Daily, or Weekly rules with no match are marked Not Listed --
@@ -3141,7 +3141,7 @@ If these or Overrides do not match the current listings because the
3141 3141
 listings have changed, they are added to the schedule and marked to
3142 3142
 indicate that they will not record.
3143 3143
 
3144  
-<item>Rules that could record beat rules that can not record a showing --
  3144
+<item>Rules that could record beat rules that cannot record a showing --
3145 3145
 If two rules match the same showing of a program, a rule marked as inactive
3146 3146
 or a showing marked as a repeat, for example, yield to the other rule.
3147 3147
 
@@ -3685,7 +3685,7 @@ to the same set top cable box.
3685 3685
 </verb></tscreen>
3686 3686
 
3687 3687
 Input 1 and input 2 receive content from the same set top box and the
3688  
-channels can not be tuned independently. Therefore only one of these two
  3688
+channels cannot be tuned independently. Therefore only one of these two
3689 3689
 inputs should be used at any given time. The solution is to create an "Input
3690 3690
 Group" with <bf>mythtv-setup</bf> in "Input connections". Including these
3691 3691
 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
5068 5068
 instructions.
5069 5069
 
5070 5070
 <sect2>MythTV is crashing your system
5071  
-<p>When run as a non-privileged user, MythTV <em>can not</em> crash your
  5071
+<p>When run as a non-privileged user, MythTV <em>cannot</em> crash your
5072 5072
 system.  If your system is crashing when you run MythTV, then you have some
5073 5073
 issue with the drivers for your capture card or other hardware, or the CPU
5074 5074
 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
5272 5272
 subsystem and failing.  You may or may not receive error messages indicating
5273 5273
 that the source of the error is the audio subsystem.
5274 5274
 
5275  
-You can not use <bf>xawtv</bf> to determine if your audio is working
  5275
+You cannot use <bf>xawtv</bf> to determine if your audio is working
5276 5276
 correctly, since <bf>xawtv</bf> is simply using the analog sound patched
5277 5277
 through line-in to line-out. It doesn't need to digitize the sound unless
5278 5278
 you are using the recording function.
@@ -5639,7 +5639,7 @@ by the settings for the television set. Many sets have these adjustments in
5639 5639
 a 'service mode'. If you cannot make these adjustments, there will be black
5640 5640
 borders around the edges of the X desktop, MythTV GUI and TV playback.
5641 5641
 
5642  
-MythTV has settings for "Overscan" in Setup->Playback. These can not, and do
  5642
+MythTV has settings for "Overscan" in Setup->Playback. These cannot, and do
5643 5643
 not, cause the image to display beyond the edge of the X display area. The
5644 5644
 purpose of these settings are to cut off rough edges and to expand the image
5645 5645
 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.
6063 6063
 another.  The transcoder has three primary uses; it can transcode MPEG-2
6064 6064
 files captured using a hardware encoder (PVR cards, DVB cards, ATSC HD,
6065 6065
 etc.) to MPEG-4, it can be used to transcode RTjpeg files (usually only used
6066  
-on systems that can not real-time encode to MPEG-4 using a framegrabber) to
  6066
+on systems that cannot real-time encode to MPEG-4 using a framegrabber) to
6067 6067
 MPEG-4, and finally it can be used to remove commercials from a MPEG-2 file
6068 6068
 while leaving the file in MPEG-2 format.
6069 6069
 
8  mythtv/filters/README
@@ -22,9 +22,9 @@ VideoFilter *LoadFilter(FilterInfo *Filt, VideoFrameType inpixfmt,
22 22
                         VideoFrameType outpixfmt, int &width,
23 23
                         int &height, char *opts):
24 24
 Returns a pointer to a single VideoFilter, corresponding to the given
25  
-FilterInfo, or NULL if the filter can not be loaded.  Inpixfmt and
  25
+FilterInfo, or NULL if the filter cannot be loaded.  Inpixfmt and
26 26
 outpixfmt give the input and output pixel formats requested of the
27  
-filter.  The filter load will fail if the filter can not provide the
  27
+filter.  The filter load will fail if the filter cannot provide the
28 28
 requested format conversion.  Width and height are the dimensions of the
29 29
 video which will be input to the filter.  If the filter alters the frame
30 30
 dimensions of the video, width and height will be modified accordingly.
@@ -35,7 +35,7 @@ FilterChain *LoadFilters(QString filters, VideoFrameType &inpixfmt,
35 35
                          VideoFrameType &outpixfmt, int &width,
36 36
                          int &height, int &bufsize):
37 37
 Returns a pointer to a FilterChain object for the requested filters, or
38  
-NULL if such a chain can not be built.  Filters is a comma-separated
  38
+NULL if such a chain cannot be built.  Filters is a comma-separated
39 39
 list of filter names, which may each optionally be followed by
40 40
 =<options> to specify filter options.  Inpixfmt and outpixfmt specify
41 41
 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
156 156
 filter is loaded.
157 157
 
158 158
 Here's the filter function from the invert filter.  It's very simple,
159  
-and can invert video in most formats, but can not convert between
  159
+and can invert video in most formats, but cannot convert between
160 160
 formats.
161 161
 
162 162
 int invert(VideoFilter *vf, VideoFrame *frame)
4  mythtv/filters/yadif/aclib_template.c
@@ -19,8 +19,8 @@
19 19
 /*
20 20
  This part of code was taken by me from Linux-2.4.3 and slightly modified
21 21
 for MMX, MMX2, SSE instruction set. I have done it since linux uses page aligned
22  
-blocks but mplayer uses weakly ordered data and original sources can not
23  
-speedup them. Only using PREFETCHNTA and MOVNTQ together have effect!
  22
+blocks but mplayer uses weakly ordered data and original sources cannot
  23
+speed them up. Only using PREFETCHNTA and MOVNTQ together have effect!
24 24
 
25 25
 >From IA-32 Intel Architecture Software Developer's Manual Volume 1,
26 26
 
4  mythtv/libs/libmyth/audiopulseutil.cpp
@@ -188,7 +188,7 @@ static void pau_context_state_callback(pa_context *c, void *userdata)
188 188
             else
189 189
             {
190 190
                 VERBOSE(VB_IMPORTANT, LOC_ERR +
191  
-                        "Sound server is not local, can not suspend.");
  191
+                        "Sound server is not local, cannot suspend.");
192 192
 
193 193
                 pau_set_value(kPA_not_suspended_remote_server);
194 194
                 pau_quit(0);
@@ -202,7 +202,7 @@ static void pau_context_state_callback(pa_context *c, void *userdata)
202 202
         case PA_CONTEXT_FAILED:
203 203
         default:
204 204
             VERBOSE(VB_IMPORTANT, LOC_WARN +
205  
-                    "Can not connect to sound server, can not suspend." +
  205
+                    "Cannot connect to sound server, cannot suspend." +
206 206
                     QString("\n\t\t\t%1")
207 207
                     .arg(pa_strerror(pa_context_errno(c))));
208 208
 
2  mythtv/libs/libmyth/programinfo.h
@@ -527,7 +527,7 @@ class MPUBLIC ProgramInfo
527 527
     void MarkAsInUse(bool inuse, QString usedFor = "");
528 528
     void UpdateInUseMark(bool force = false);
529 529
 
530  
-    // Extremely slow functions that can not be called from the UI thread.
  530
+    // Extremely slow functions that cannot be called from the UI thread.
531 531
     QString DiscoverRecordingDirectory(void) const;
532 532
     QString GetPlaybackURL(bool checkMaster = false,
533 533
                            bool forceCheckLocal = false) const;
4  mythtv/libs/libmythdb/lcddevice.cpp
@@ -810,14 +810,14 @@ bool LCD::startLCDServer(void)
810 810
             if (dup2(fd, 0) < 0)
811 811
             {
812 812
                 VERBOSE(VB_IMPORTANT, LOC_ERR +
813  
-                        "Can not redirect /dev/null to standard input,"
  813
+                        "Cannot redirect /dev/null to standard input,"
814 814
                         "\n\t\t\tfailed to duplicate file descriptor." + ENO);
815 815
             }
816 816
             close(fd);
817 817
         }
818 818
         else
819 819
         {
820  
-            VERBOSE(VB_IMPORTANT, LOC_ERR + "Can not redirect /dev/null "
  820
+            VERBOSE(VB_IMPORTANT, LOC_ERR + "Cannot redirect /dev/null "
821 821
                     "to standard input, failed to open." + ENO);
822 822
         }
823 823
 
4  mythtv/libs/libmythdb/mythcorecontext.cpp
@@ -754,9 +754,9 @@ bool MythCoreContext::SendReceiveStringList(QStringList &strlist,
754 754
     if (HasGUI() && IsUIThread())
755 755
     {
756 756
         QString msg = "SendReceiveStringList(";
757  
-        for (uint i=0; i<(uint)strlist.size() && i<2; i++)
  757
+        for (uint i=0; i<(uint)strlist.size(); i++)
758 758
             msg += (i?",":"") + strlist[i];
759  
-        msg += (strlist.size() > 2) ? "...)" : ")";
  759
+        msg += ")";
760 760
         msg += " called from UI thread";
761 761
         VERBOSE(VB_IMPORTANT, msg);
762 762
     }
6  mythtv/libs/libmythdb/mythsystem.cpp
@@ -230,7 +230,7 @@ uint MythSystemReaper::abortPid( pid_t pid )
230 230
 /** \fn myth_system(const QString&, uint, uint)
231 231
  *  \brief Runs a system command inside the /bin/sh shell.
232 232
  *
233  
- *  Note: Returns GENERIC_EXIT_NOT_OK if it can not execute the command.
  233
+ *  Note: Returns GENERIC_EXIT_NOT_OK if it cannot execute the command.
234 234
  *  \return Exit value from command as an unsigned int in range [0,255].
235 235
  */
236 236
 uint myth_system(const QString &command, uint flags, uint timeout)
@@ -384,14 +384,14 @@ pid_t myth_system_fork(const QString &command, uint &result)
384 384
             if (dup2(fd, 0) < 0)
385 385
             {
386 386
                 VERBOSE(VB_IMPORTANT, LOC_ERR +
387  
-                        "Can not redirect /dev/null to standard input,"
  387
+                        "Cannot redirect /dev/null to standard input,"
388 388
                         "\n\t\t\tfailed to duplicate file descriptor." + ENO);
389 389
             }
390 390
             close(fd);
391 391
         }
392 392
         else
393 393
         {
394  
-            VERBOSE(VB_IMPORTANT, LOC_ERR + "Can not redirect /dev/null "
  394
+            VERBOSE(VB_IMPORTANT, LOC_ERR + "Cannot redirect /dev/null "
395 395
                     "to standard input, failed to open." + ENO);
396 396
         }
397 397
 
4  mythtv/libs/libmythtv/NuppelVideoRecorder.cpp
@@ -822,7 +822,7 @@ int NuppelVideoRecorder::AudioInit(bool skipdevice)
822 822
  *  \brief Determines MJPEG capture resolution.
823 823
  *
824 824
  *   This function requires an file descriptor for the device, which
825  
- *   means Channel can not be open when NVR::Initialize() is called.
  825
+ *   means Channel cannot be open when NVR::Initialize() is called.
826 826
  *   It is safe for the recorder to be open.
827 827
  *
828 828
  *  \return true on success
@@ -2952,7 +2952,7 @@ void NuppelVideoRecorder::doWriteThread(void)
2952 2952
                            audiobuffer[act_audio_encode]->sample,
2953 2953
                            audiobuffer[act_audio_encode]->timecode);
2954 2954
                 if (IsErrored()) {
2955  
-                    VERBOSE(VB_IMPORTANT, LOC_ERR + "ACTION_AUDIO can not be completed due to error.");
  2955
+                    VERBOSE(VB_IMPORTANT, LOC_ERR + "ACTION_AUDIO cannot be completed due to error.");
2956 2956
                     StopRecording();
2957 2957
                     break;
2958 2958
                 }
2  mythtv/libs/libmythtv/RingBuffer.cpp
@@ -463,7 +463,7 @@ void RingBuffer::OpenFile(const QString &lfilename, uint retry_ms)
463 463
                 break;
464 464
             case 4:
465 465
                 VERBOSE(VB_IMPORTANT, LOC_ERR +
466  
-                        "OpenFile(): Can not seek in file.");
  466
+                        "OpenFile(): Cannot seek in file.");
467 467
                 break;
468 468
             default:
469 469
                 break;
6  mythtv/libs/libmythtv/avformatdecoder.cpp
@@ -3606,15 +3606,15 @@ static int filter_max_ch(const AVFormatContext *ic,
3606 3606
  *      recalled as the Nth stream in the preferred language
3607 3607
  *      or the Nth substream when audio is in dual language
3608 3608
  *      format (each channel contains a different language track)
3609  
- *      If it can not be located we attempt to find a stream
  3609
+ *      If it cannot be located we attempt to find a stream
3610 3610
  *      in the same language.
3611 3611
  *
3612  
- *   2) If we can not reselect the last user selected stream,
  3612
+ *   2) If we cannot reselect the last user selected stream,
3613 3613
  *      then for each preferred language from most preferred
3614 3614
  *      to least preferred, we try to find a new stream based
3615 3615
  *      on the algorithm below.
3616 3616
  *
3617  
- *   3) If we can not select a stream in a preferred language
  3617
+ *   3) If we cannot select a stream in a preferred language
3618 3618
  *      we try to select a stream irrespective of language
3619 3619
  *      based on the algorithm below.
3620 3620
  *
2  mythtv/libs/libmythtv/channelscan/channelscanner.cpp
@@ -380,7 +380,7 @@ void ChannelScanner::PreScanCommon(
380 380
         do_test_decryption);
381 381
 
382 382
     // If we know the channel types we can give the signal montior a hint.
383  
-    // Since we unfortunately do not record this info in the DB, we can not
  383
+    // Since we unfortunately do not record this info in the DB, we cannot
384 384
     // do this for the other scan types and have to guess later on...
385 385
     switch (scantype)
386 386
     {
4  mythtv/libs/libmythtv/commbreakmap.cpp
@@ -287,7 +287,7 @@ bool CommBreakMap::DoSkipCommercials(uint64_t &jumpToFrame,
287 287
          ((totalFrames) &&
288 288
           ((commBreakIter.key() + (10 * video_frame_rate)) > totalFrames))))
289 289
     {
290  
-        comm_msg = QObject::tr("At End, can not Skip.");
  290
+        comm_msg = QObject::tr("At End, cannot Skip.");
291 291
         return false;
292 292
     }
293 293
 
@@ -331,7 +331,7 @@ bool CommBreakMap::DoSkipCommercials(uint64_t &jumpToFrame,
331 331
                  ((commBreakIter.key() + (10 * video_frame_rate)) >
332 332
                                                                 totalFrames)))
333 333
             {
334  
-                comm_msg = QObject::tr("At End, can not Skip.");
  334
+                comm_msg = QObject::tr("At End, cannot Skip.");
335 335
                 return false;
336 336
             }
337 337
         }
4  mythtv/libs/libmythtv/datadirect.cpp
@@ -1247,7 +1247,7 @@ bool DataDirectProcessor::GrabData(const QDateTime pstartDate,
1247 1247
         if (!ok)
1248 1248
         {
1249 1249
             VERBOSE(VB_IMPORTANT, LOC_WARN +
1250  
-                    "Can not open DD cache file in '" +
  1250
+                    "Cannot open DD cache file in '" +
1251 1251
                     tmpDir + "' for writing!");
1252 1252
         }
1253 1253
         else
@@ -1550,7 +1550,7 @@ QDateTime DataDirectProcessor::GetLineupCacheAge(const QString &lineupid) const
1550 1550
     if (!lfile.open(QIODevice::ReadOnly))
1551 1551
     {
1552 1552
         VERBOSE(VB_IMPORTANT, "GrabLineupCacheAge("<<lineupid<<") failed -- "
1553  
-                <<QString("can not open file '%1'")
  1553
+                <<QString("cannot open file '%1'")
1554 1554
                 .arg(get_cache_filename(lineupid)));
1555 1555
         return cache_dt;
1556 1556
     }
2  mythtv/libs/libmythtv/dtvconfparserhelpers.h
@@ -73,7 +73,7 @@ class DTVTunerType : public DTVParamHelper
73 73
     static const DTVParamHelperStruct parseTable[];
74 74
 
75 75
   public:
76  
-    // WARNING: kTunerTypes can not be defined by a C++03 enum
  76
+    // WARNING: kTunerTypes cannot be defined by a C++03 enum
77 77
     // because gcc 4.3.3 will reportedly promote an enum inconsistently
78 78
     // to int on IA-32 platforms. I don't know whether this is
79 79
     // correct or not, it comes down to interpretation of section
2  mythtv/libs/libmythtv/dvbchannel.cpp
@@ -298,7 +298,7 @@ bool DVBChannel::SetChannelByString(const QString &channum)
298 298
     if (!IsOpen())
299 299
     {
300 300
         VERBOSE(VB_IMPORTANT, loc_err + "Channel object "
301  
-                "will not open, can not change channels.");
  301
+                "will not open, cannot change channels.");
302 302
 
303 303
         ClearDTVInfo();
304 304
         return false;
4  mythtv/libs/libmythtv/dvbsignalmonitor.cpp
@@ -71,14 +71,14 @@ DVBSignalMonitor::DVBSignalMonitor(int db_cardnum, DVBChannel* _channel,
71 71
     bool ok;
72 72
     _channel->HasLock(&ok);
73 73
     if (!ok)
74  
-        VERBOSE(VB_IMPORTANT, LOC_ERR + "Can not read DVB status" + ENO);
  74
+        VERBOSE(VB_IMPORTANT, LOC_ERR + "Cannot read DVB status" + ENO);
75 75
 
76 76
     uint64_t rmflags = 0;
77 77
 
78 78
 #define DVB_IO(FLAG, METHOD, MSG) \
79 79
   do { if (HasFlags(FLAG)) { bool ok; _channel->METHOD(&ok); \
80 80
           if (!ok) { \
81  
-              VERBOSE(VB_IMPORTANT, LOC_WARN+"Can not "+MSG+ENO); \
  81
+              VERBOSE(VB_IMPORTANT, LOC_WARN+"Cannot "+MSG+ENO); \
82 82
               rmflags |= FLAG; } \
83 83
           else { \
84 84
               VERBOSE(VB_CHANNEL, LOC + "Can " + MSG); } } } while (false)
2  mythtv/libs/libmythtv/hdhrchannel.cpp
@@ -111,7 +111,7 @@ bool HDHRChannel::SetChannelByString(const QString &channum)
111 111
     if (!Open())
112 112
     {
113 113
         VERBOSE(VB_IMPORTANT, loc_err + "Channel object "
114  
-                "will not open, can not change channels.");
  114
+                "will not open, cannot change channels.");
115 115
 
116 116
         return false;
117 117
     }
6  mythtv/libs/libmythtv/jobqueue.cpp
@@ -1838,7 +1838,7 @@ void JobQueue::DoTranscodeThread(int jobID)
1838 1838
     if (!runningJobs[jobID].pginfo)
1839 1839
     {
1840 1840
         VERBOSE(VB_JOBQUEUE, LOC_ERR +
1841  
-                "The JobQueue can not currently transcode files that do not "
  1841
+                "The JobQueue cannot currently transcode files that do not "
1842 1842
                 "have a chanid/starttime in the recorded table.");
1843 1843
         ChangeJobStatus(jobID, JOB_ERRORED, "ProgramInfo data not found");
1844 1844
         RemoveRunningJob(jobID);
@@ -2068,7 +2068,7 @@ void JobQueue::DoFlagCommercialsThread(int jobID)
2068 2068
     if (!runningJobs[jobID].pginfo)
2069 2069
     {
2070 2070
         VERBOSE(VB_JOBQUEUE, LOC_ERR +
2071  
-                "The JobQueue can not currently commflag files that do not "
  2071
+                "The JobQueue cannot currently commflag files that do not "
2072 2072
                 "have a chanid/starttime in the recorded table.");
2073 2073
         ChangeJobStatus(jobID, JOB_ERRORED, "ProgramInfo data not found");
2074 2074
         RemoveRunningJob(jobID);
@@ -2088,7 +2088,7 @@ void JobQueue::DoFlagCommercialsThread(int jobID)
2088 2088
     {
2089 2089
         QString msg = QString("Commercial Detection failed.  Could not open "
2090 2090
                               "new database connection for %1. "
2091  
-                              "Program can not be flagged.")
  2091
+                              "Program cannot be flagged.")
2092 2092
                               .arg(details.constData());
2093 2093
         VERBOSE(VB_IMPORTANT, LOC_ERR + msg);
2094 2094
 
2  mythtv/libs/libmythtv/linuxfirewiredevice.cpp
@@ -547,7 +547,7 @@ bool LinuxFirewireDevice::OpenAVStream(void)
547 547
     if (!GetInfoPtr() || !GetInfoPtr()->IsPortOpen())
548 548
     {
549 549
         VERBOSE(VB_IMPORTANT, LOC +
550  
-                "Can not open AVStream without open IEEE 1394 port");
  550
+                "Cannot open AVStream without open IEEE 1394 port");
551 551
 
552 552
         return false;
553 553
     }
4  mythtv/libs/libmythtv/mpeg/mpegstreamdata.cpp
@@ -349,7 +349,7 @@ PSIPTable* MPEGStreamData::AssemblePSIP(const TSPacket* tspacket,
349 349
     if (offset>181)
350 350
     {
351 351
         VERBOSE(VB_IMPORTANT, "Error: offset>181, pes length & "
352  
-                "current can not be queried");
  352
+                "current cannot be queried");
353 353
         return 0;
354 354
     }
355 355
 
@@ -412,7 +412,7 @@ bool MPEGStreamData::CreatePATSingleProgram(
412 412
         }
413 413
         VERBOSE(VB_IMPORTANT,
414 414
                 QString("Desired program #%1 not found in PAT."
415  
-                        "\n\t\t\tCan Not create single program PAT.")
  415
+                        "\n\t\t\tCannot create single program PAT.")
416 416
                 .arg(_desired_program));
417 417
         SetPATSingleProgram(NULL);
418 418
         return false;
4  mythtv/libs/libmythtv/previewgenerator.cpp
@@ -60,7 +60,7 @@
60 60
  *   the file can be found on the file system for local preview
61 61
  *   generation. When called by the backend 'local_only' should be set
62 62
  *   to true, otherwise the backend may deadlock if the PreviewGenerator
63  
- *   can not find the file.
  63
+ *   cannot find the file.
64 64
  *
65 65
  *  \param pginfo     ProgramInfo for the recording we want a preview of.
66 66
  *  \param local_only If set to true, the preview will only be generated
@@ -213,7 +213,7 @@ bool PreviewGenerator::Run(void)
213 213
         else
214 214
         {
215 215
             VERBOSE(VB_IMPORTANT, LOC_ERR +
216  
-                    QString("Run() can not generate preview locally for: '%1'")
  216
+                    QString("Run() cannot generate preview locally for: '%1'")
217 217
                     .arg(pathname));
218 218
             msg = "Failed, local preview requested for remote file.";
219 219
         }
2  mythtv/libs/libmythtv/recorderbase.h
@@ -168,7 +168,7 @@ class MPUBLIC RecorderBase
168 168
 
169 169
     /** \brief Returns closest keyframe position before the desired frame.
170 170
      *
171  
-     *   This returns -1 if a keyframe position can not be found
  171
+     *   This returns -1 if a keyframe position cannot be found
172 172
      *   for a frame. This could be true if the keyframe has not
173 173
      *   yet been seen by the recorder(unlikely), or if a keyframe
174 174
      *   map does not exist or is not up to date. The latter can
2  mythtv/libs/libmythtv/recordingprofile.cpp
@@ -1303,7 +1303,7 @@ void RecordingProfile::FiltersChanged(const QString &val)
1303 1303
     if (!tr_filters || !tr_lossless)
1304 1304
       return;
1305 1305
 
1306  
-    // If there are filters, we can not do lossless transcoding
  1306
+    // If there are filters, we cannot do lossless transcoding
1307 1307
     if (!val.trimmed().isEmpty())
1308 1308
     {
1309 1309
        tr_lossless->setValue(false);
6  mythtv/libs/libmythtv/tv_play.cpp
@@ -5122,7 +5122,7 @@ void TV::PxPCreateView(PlayerContext *actx, bool wantPBP)
5122 5122
     }
5123 5123
 
5124 5124
     if ((player.size() > 1) && (wantPBP ^ actx->IsPBP()))
5125  
-        err_msg = tr("Sorry, can not mix PBP and PIP views");
  5125
+        err_msg = tr("Sorry, cannot mix PBP and PIP views");
5126 5126
 
5127 5127
     if (!err_msg.isEmpty())
5128 5128
     {
@@ -11823,14 +11823,14 @@ void TV::ShowOSDPromptDeleteRecording(PlayerContext *ctx, QString title,
11823 11823
 
11824 11824
     if (!ctx->playingInfo->QueryIsDeleteCandidate(true))
11825 11825
     {
11826  
-        VERBOSE(VB_IMPORTANT, "This program can not be deleted at this time.");
  11826
+        VERBOSE(VB_IMPORTANT, "This program cannot be deleted at this time.");
11827 11827
         ProgramInfo pginfo(*ctx->playingInfo);
11828 11828
         ctx->UnlockPlayingInfo(__FILE__, __LINE__);
11829 11829
 
11830 11830
         OSD *osd = GetOSDLock(ctx);
11831 11831
         if (osd && !osd->DialogVisible())
11832 11832
         {
11833  
-            QString message = QObject::tr("Can not delete program") +
  11833
+            QString message = QObject::tr("Cannot delete program") +
11834 11834
                 QString("%1 %2 ")
11835 11835
                 .arg(pginfo.GetTitle()).arg(pginfo.GetSubtitle());
11836 11836
 
2  mythtv/libs/libmythtv/tv_play.h
@@ -88,7 +88,7 @@ typedef void (*EMBEDRETURNVOIDSCHEDIT) (const ProgramInfo *, void *);
88 88
 //
89 89
 // Note: Taking a middle lock such as askAllowLock, without taking a
90 90
 // playerLock first does not violate these rules, but once you are
91  
-// holding it, you can not later lock playerLock.
  91
+// holding it, you cannot later lock playerLock.
92 92
 //
93 93
 // It goes without saying that any locks outside of this class should only
94 94
 // be taken one at a time, and should be taken last and released first of
2  mythtv/libs/libmythtv/v4lchannel.cpp
@@ -422,7 +422,7 @@ bool V4LChannel::SetChannelByString(const QString &channum)
422 422
     if (!Open())
423 423
     {
424 424
         VERBOSE(VB_IMPORTANT, loc_err + "Channel object "
425  
-                "will not open, can not change channels.");
  425
+                "will not open, cannot change channels.");
426 426
 
427 427
         return false;
428 428
     }
2  mythtv/libs/libmythtv/videobuffers.cpp
@@ -87,7 +87,7 @@ YUVInfo::YUVInfo(uint w, uint h, uint sz, const int *p, const int *o)
87 87
  *  is being held by VideoOutput and we don't want to lose
88 88
  *  it if the stream is reset. The displayed state indicates
89 89
  *  that DoneDisplayingFrame() has been called for the frame,
90  
- *  but it can not yet be added to available because it is
  90
+ *  but it cannot yet be added to available because it is
91 91
  *  still being displayed. VideoOutputXv calls
92 92
  *  DiscardFrame(VideoFrame*) on the frames no longer
93 93
  *  being displayed at the end of the next
2  mythtv/libs/libmythtv/videometadatautil.cpp
@@ -22,7 +22,7 @@ QString VideoMetaDataUtil::GetArtPath(const QString &pathname, const QString &ty
22 22
     if (basename == pathname)
23 23
     {
24 24
         VERBOSE(VB_IMPORTANT, LOC_WARN +
25  
-                "Programmer Error: Can not determine art path\n\t\t\t"
  25
+                "Programmer Error: Cannot determine art path\n\t\t\t"
26 26
                 "until the ProgramInfo pathname has been fully resolved.");
27 27
         return QString();
28 28
     }
2  mythtv/libs/libmythtv/videooutbase.cpp
@@ -1678,7 +1678,7 @@ void VideoOutput::InitDisplayMeasurements(uint width, uint height, bool resize)
1678 1678
     QSize disp_dim = window.GetDisplayDim();
1679 1679
     float disp_aspect;
1680 1680
 
1681  
-    // If we are using Xinerama the display dimensions can not be trusted.
  1681
+    // If we are using Xinerama the display dimensions cannot be trusted.
1682 1682
     // We need to use the Xinerama monitor aspect ratio from the DB to set
1683 1683
     // the physical screen width. This assumes the height is correct, which
1684 1684
     // is more or less true in the typical side-by-side monitor setup.
4  mythtv/libs/libmythtv/videosource.cpp
@@ -2225,7 +2225,7 @@ void CaptureCard::Save(void)
2225 2225
     QString init_dev = CardUtil::GetVideoDevice(cardid);
2226 2226
     if (init_dev.isEmpty())
2227 2227
     {
2228  
-        VERBOSE(VB_IMPORTANT, QString("Can not clone card #%1 with empty"
  2228
+        VERBOSE(VB_IMPORTANT, QString("Cannot clone card #%1 with empty"
2229 2229
                                       " videodevice").arg(cardid));
2230 2230
         return;
2231 2231
     }
@@ -2781,7 +2781,7 @@ void CardInput::CreateNewInputGroup(void)
2781 2781
         {
2782 2782
             MythPopupBox::showOkPopup(
2783 2783
                 GetMythMainWindow(), tr("Error"),
2784  
-                tr("Sorry, this Input Group name can not be blank."));
  2784
+                tr("Sorry, this Input Group name cannot be blank."));
2785 2785
             continue;
2786 2786
         }
2787 2787
 
2  mythtv/libs/libmythtv/vsync.cpp
@@ -367,7 +367,7 @@ OpenGLVideoSync::~OpenGLVideoSync()
367 367
 
368 368
 /** \fn OpenGLVideoSync::TryInit(void)
369 369
  *  \brief Try to create an OpenGL surface so we can use glXWaitVideoSyncSGI:
370  
- *  \return true if this method can be employed, false if it can not.
  370
+ *  \return true if this method can be employed, false if it cannot.
371 371
  */
372 372
 bool OpenGLVideoSync::TryInit(void)
373 373
 {
2  mythtv/libs/libmythtv/vsync.h
@@ -142,7 +142,7 @@ class DRMVideoSync : public VideoSync
142 142
  *
143 143
  *   Special care must be taken with this video sync method due 
144 144
  *   to a bad interaction between some pthread implementations
145  
- *   and OpenGL. OpenGL DIRECT contexts can not be shared between
  145
+ *   and OpenGL. OpenGL DIRECT contexts cannot be shared between
146 146
  *   processes. And some pthread implementations, notably a common
147 147
  *   one on Linux, treat each thread as a seperate process.
148 148
  *   Hence Start(void), Stop(void) and WaitForFrame(void) must all be called
4  mythtv/programs/mythbackend/autoexpire.cpp
@@ -438,7 +438,7 @@ void AutoExpire::ExpireRecordings(void)
438 438
         if ((fsit->totalSpaceKB == -1) || (fsit->usedSpaceKB == -1))
439 439
         {
440 440
             VERBOSE(VB_FILE, LOC_ERR + QString("fsID #%1 has invalid info, "
441  
-                    "AutoExpire can not run for this filesystem.  "
  441
+                    "AutoExpire cannot run for this filesystem.  "
442 442
                     "Continuing on to next...").arg(fsit->fsID));
443 443
             VERBOSE(VB_FILE, QString("Directories on filesystem ID %1:")
444 444
                     .arg(fsit->fsID));
@@ -459,7 +459,7 @@ void AutoExpire::ExpireRecordings(void)
459 459
         {
460 460
             VERBOSE(VB_FILE, QString(
461 461
                 "    fsid %1 has a truncating delete in progress,  AutoExpire "
462  
-                "can not run for this filesystem until the delete has "
  462
+                "cannot run for this filesystem until the delete has "
463 463
                 "finished.  Continuing on to next...").arg(fsit->fsID));
464 464
             continue;
465 465
         }
2  mythtv/programs/mythfilldatabase/main.cpp
@@ -496,7 +496,7 @@ int main(int argc, char *argv[])
496 496
             cout << "   This text\n";
497 497
             cout << "\n";
498 498
             cout << "\n";
499  
-            cout << "  --manual and --update can not be used together.\n";
  499
+            cout << "  --manual and --update cannot be used together.\n";
500 500
             cout << "\n";
501 501
             return FILLDB_EXIT_INVALID_CMDLINE;
502 502
         }
2  mythtv/programs/mythfilldatabase/xmltvparser.cpp
@@ -549,7 +549,7 @@ ProgInfo *XMLTVParser::parseProgram(
549 549
             int season_int = season.toInt();
550 550
             if (season_int > 35)
551 551
             {
552  
-                // Can not represent season as a single base-36 character, so
  552
+                // Cannot represent season as a single base-36 character, so
553 553
                 // remove the programid and fall back to normal dup matching.
554 554
                 if (kCategoryMovie != pginfo->categoryType)
555 555
                     programid.clear();
2  mythtv/programs/mythfrontend/action.cpp
@@ -60,7 +60,7 @@ bool Action::HasKey(const QString &key) const
60 60
 /** \fn Action::AddKey(const QString&)
61 61
  *  \brief Add a key sequence to this action.
62 62
  *
63  
- *   We don't add empty keys nor duplicates, and can not
  63
+ *   We don't add empty keys nor duplicates, and cannot
64 64
  *   add more than kMaximumNumberOfBindings. If any of
65 65
  *   these restrictions are a problem we return false and
66 66
  *   do not add the binding.
2  mythtv/programs/mythfrontend/customedit.cpp
@@ -717,7 +717,7 @@ bool CustomEdit::checkSyntax(void)
717 717
     }
718 718
     else if (desc.contains(';'))
719 719
     {
720  
-        msg  = tr("Power Search rules can not include semicolon ( ; ) ");
  720
+        msg  = tr("Power Search rules cannot include semicolon ( ; ) ");
721 721
         msg += tr("statement terminators.");
722 722
     }
723 723
     else
2  mythtv/programs/mythfrontend/custompriority.cpp
@@ -342,7 +342,7 @@ bool CustomPriority::checkSyntax(void)
342 342
     }
343 343
     else if (desc.contains(';'))
344 344
     {
345  
-        msg  = "Power Priority rules can not include semicolon ( ; ) ";
  345
+        msg  = "Power Priority rules cannot include semicolon ( ; ) ";
346 346
         msg += "statement terminators.";
347 347
     }
348 348
     else
4  mythtv/programs/mythfrontend/globalsettings.cpp
@@ -1764,7 +1764,7 @@ void PlaybackProfileConfigs::btnPress(QString cmd)
1764 1764
             {
1765 1765
                 msg = (name.isEmpty()) ?
1766 1766
                     QObject::tr(
1767  
-                        "Sorry, playback group\nname can not be blank.") :
  1767
+                        "Sorry, playback group\nname cannot be blank.") :
1768 1768
                     QObject::tr(
1769 1769
                         "Sorry, playback group name\n"
1770 1770
                         "'%1' is already being used.").arg(name);
@@ -2394,7 +2394,7 @@ static HostComboBox *XineramaMonitorAspectRatio()
2394 2394
     gc->addSelection(QObject::tr("16:9"),  "1.7777");
2395 2395
     gc->addSelection(QObject::tr("16:10"), "1.6");
2396 2396
     gc->setHelpText(QObject::tr(
2397  
-                        "The aspect ratio of a Xinerama display can not be "
  2397
+                        "The aspect ratio of a Xinerama display cannot be "
2398 2398
                         "queried from the display, so it must be specified."));
2399 2399
     return gc;
2400 2400
 }
2  mythtv/programs/mythfrontend/main.cpp
@@ -1039,7 +1039,7 @@ static int log_rotate(int report_error)
1039 1039
         /* If we can't open the new logfile, send data to /dev/null */
1040 1040
         if (report_error)
1041 1041
         {
1042  
-            VERBOSE(VB_IMPORTANT, QString("Can not open logfile '%1'")
  1042
+            VERBOSE(VB_IMPORTANT, QString("Cannot open logfile '%1'")
1043 1043
                     .arg(logfile));
1044 1044
             return -1;
1045 1045
         }
2  mythtv/programs/mythfrontend/networkcontrol.cpp
@@ -645,7 +645,7 @@ QString NetworkControl::processPlay(NetworkCommand *nc, int clientID)
645 645
         else
646 646
         {
647 647
             result = QString("ERROR: Unable to change to PlaybackBox from "
648  
-                             "%1, can not play requested file.")
  648
+                             "%1, cannot play requested file.")
649 649
                              .arg(GetMythUI()->GetCurrentLocation());
650 650
         }
651 651
     }
6  mythtv/programs/mythpreviewgen/main.cpp
@@ -108,7 +108,7 @@ int preview_helper(const QString &_chanid, const QString &starttime,
108 108
         if (!pginfo->GetChanID())
109 109
         {
110 110
             VERBOSE(VB_IMPORTANT, QString(
111  
-                        "Can not locate recording made on '%1' at '%2'")
  111
+                        "Cannot locate recording made on '%1' at '%2'")
112 112
                     .arg(chanid).arg(starttime));
113 113
             delete pginfo;
114 114
             return PREVIEWGEN_EXIT_NOT_OK;
@@ -120,7 +120,7 @@ int preview_helper(const QString &_chanid, const QString &starttime,
120 120
         if (!QFileInfo(infile).isReadable())
121 121
         {
122 122
             VERBOSE(VB_IMPORTANT, QString(
123  
-                        "Can not read this file '%1'").arg(infile));
  123
+                        "Cannot read this file '%1'").arg(infile));
124 124
             return PREVIEWGEN_EXIT_NOT_OK;
125 125
         }
126 126
         pginfo = new ProgramInfo(
@@ -130,7 +130,7 @@ int preview_helper(const QString &_chanid, const QString &starttime,
130 130
     }
131 131
     else
132 132
     {
133  
-        VERBOSE(VB_IMPORTANT, "Can not locate recording to preview");
  133
+        VERBOSE(VB_IMPORTANT, "Cannot locate recording to preview");
134 134
         return PREVIEWGEN_EXIT_NOT_OK;
135 135
     }
136 136
 
2  mythtv/programs/mythtv-setup/importicons.h
@@ -141,7 +141,7 @@ class ImportIconsWizard : public MythScreenType
141 141
     bool initialLoad(QString name="");
142 142
 
143 143
     /*! \brief attempts to move the iteration on one/more than one
144  
-     * \return true if we can go again or false if we can not
  144
+     * \return true if we can go again or false if we cannot
145 145
      */
146 146
     bool doLoad();
147 147
 
2  mythtv/programs/scripts/database/mythconverg_restore.pl
@@ -226,7 +226,7 @@
226 226
 # $0 --partial_restore
227 227
 
228 228
 Include the --with_plugin_data argument if you would like to keep the data used
229  
-by MythTV plugins.  Note that this approach can not be used to "merge"
  229
+by MythTV plugins.  Note that this approach cannot be used to "merge"
230 230
 databases from different MythTV databases nor to import recordings from other
231 231
 MythTV databases.
232 232
 

0 notes on commit 5ad9b8c

Please sign in to comment.
Something went wrong with that request. Please try again.