Changeset 1521


Ignore:
Timestamp:
May 2, 2010, 11:48:59 PM (15 years ago)
Author:
Gregg Young
Message:

Minor code clean up mostly remming or removal of DbgMsgs; comments

Location:
trunk/dll
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/assoc.c

    r1519 r1521  
    529529          dieafter = TRUE;
    530530        flags &= (~DIEAFTER);
    531         DbgMsg(pszSrcFile, __LINE__, "env %s", info->env);
     531        //DbgMsg(pszSrcFile, __LINE__, "env %s", info->env);
    532532        rc = ExecOnList(hwnd,
    533533                        info->pszCmdLine,
  • trunk/dll/command.c

    r1519 r1521  
    382382  size = sizeof(BOOL) * 40;
    383383  PrfQueryProfileData(fmprof, FM3Str, "COMMANDS.UsedHotKeyIDs", &UsedHotKeyIDs,
    384                         &size); size = sizeof(BOOL);
     384                      &size);
     385  size = sizeof(BOOL);
    385386  PrfQueryProfileData(fmprof, FM3Str, "COMMANDS.LoadCommandsFromINI",
    386387                      &fLoadCommandsFromINI, &size);
     
    567568        }
    568569        //This updates the old commands.dat file to the new format
    569         //assigning the IDs based on file order or on next available ID if
    570         //COMMAND.DAT is hand edited.
     570        //assigning the IDs based on file order or on next available ID
    571571        else {
    572572          for (x = 0; x < 300; x++) {
     
    839839   else
    840840     temp->HotKeyID = 0;
    841    DbgMsg(pszSrcFile, __LINE__, "info %i", temp->HotKeyID);
     841   //DbgMsg(pszSrcFile, __LINE__, "info %i", temp->HotKeyID);
    842842   return TRUE;
    843843}
  • trunk/dll/dircnrs.c

    r1513 r1521  
    35443544
    35453545  if (dcd && dcd->oldproc) {
    3546       // 11 May 08 SHL fixme debug fortify
    3547       if ((ULONG)dcd->oldproc == 0xa9a9a9a9)
    3548         DbgMsg(pszSrcFile, __LINE__, "calling oldproc after dcd free msg %x mp1 %x mp2 %x", msg, mp1, mp2);
    3549       return dcd->oldproc(hwnd, msg, mp1, mp2);
     3546#   ifdef FORTIFY    // 11 May 08 SHL fixme debug fortify
     3547    if ((ULONG)dcd->oldproc == 0xa9a9a9a9)
     3548      DbgMsg(pszSrcFile, __LINE__, "calling oldproc after dcd free msg %x mp1 %x mp2 %x",
     3549             msg, mp1, mp2);
     3550#   endif
     3551    return dcd->oldproc(hwnd, msg, mp1, mp2);
    35503552  }
    35513553  else
  • trunk/dll/draglist.c

    r1498 r1521  
    374374      ok = ok && pDItem->hstrTargetName;
    375375      if (!ok) {
    376         DbgMsg(pszSrcFile, __LINE__, "DrgAddStrHandle failed at %lu for %s", ulNumfiles, szFile);
     376        //DbgMsg(pszSrcFile, __LINE__, "DrgAddStrHandle failed at %lu for %s", ulNumfiles, szFile);
    377377        // If we have string handle add overflow, release corrupt DragItem
    378378        // We release 3 more to work around 1st time drag failure reported by Gregg
     
    489489        ok = ok && pDItem->hstrTargetName;
    490490        if (!ok) {
    491           DbgMsg(pszSrcFile, __LINE__, "DrgAddStrHandle failed at %lu for %s", ulNumfiles, szFile);
     491          //DbgMsg(pszSrcFile, __LINE__, "DrgAddStrHandle failed at %lu for %s", ulNumfiles, szFile);
    492492          // If we have string handle add overflow, release corrupt DragItem
    493493          // We release 3 more to work around 1st time drag failure reported by Gregg
  • trunk/dll/notify.c

    r1505 r1521  
    440440  case WM_CLOSE:
    441441    if (pszCachedNote)
    442       DbgMsg(pszSrcFile, __LINE__, "pszCachedNote %p unexpected", pszCachedNote);       // 18 Jul 08 SHL fixme to be Runtime_Error
     442      Runtime_Error(pszSrcFile, __LINE__, "pszCachedNote %p unexpected", pszCachedNote);
    443443    else {
    444444      // Cache last item for next open
  • trunk/dll/systemf.h

    r1498 r1521  
    1111  Change log
    1212  21 Dec 09 GKY Added CheckExecutibleFlags to streamline code in command.c assoc.c & cmdline.c
    13   17 JAN 10 GKY Changes to environment handling in ExecuteOnList to facilitate move of commands to INI and allow
    14                 the same commandline to have different environments (multiple different command titles).
    15   17 JAN 10 GKY Add ENVIRONMENT_SIZE vaiable to replace multiple (often different hard coded sizes) set to 2048
    16                 (the largest value I found).
     13  17 JAN 10 GKY Changes to environment handling in ExecuteOnList to facilitate move of commands
     14                to INI and allow the same commandline to have different environments
     15                (multiple different command titles).
     16  17 JAN 10 GKY Add ENVIRONMENT_SIZE vaiable to replace multiple (often different hard coded
     17                sizes) set to 2048 (the largest value I found).
    1718
    1819***********************************************************************/
  • trunk/dll/tmrsvcs.c

    r1323 r1521  
    6969    err_msec = (cur_msec - pitd->start_msec) - pitd->interval_msec;
    7070    // Estimate counts per msec
    71 #if 0 // 05 Jan 08 SHL fixme to be gone when no longer needed for testing
    72     DbgMsg(pszSrcFile, __LINE__,
    73            "err_msec %d elapsed_msec %d estimated %u misses %u",
    74            err_msec, elapsed_msec, pitd->estimated, pitd->misses);
    75 #endif
    7671    if (err_msec > 0) {
    7772      // Late - need to reduce estimated count
Note: See TracChangeset for help on using the changeset viewer.