diff options
-rw-r--r-- | kate/data/gdb.xml | 2 | ||||
-rw-r--r-- | kded/kded.cpp | 2 | ||||
-rw-r--r-- | kded/tdebuildsycoca.cpp | 2 | ||||
-rw-r--r-- | libtdescreensaver/main.cpp | 2 | ||||
-rw-r--r-- | tdeabc/stdaddressbook.cpp | 2 | ||||
-rw-r--r-- | tdecore/CMakeLists.txt | 4 | ||||
-rw-r--r-- | tdecore/MAINTAINERS | 2 | ||||
-rw-r--r-- | tdecore/Makefile.am | 4 | ||||
-rw-r--r-- | tdecore/tdeapplication.cpp | 2 | ||||
-rw-r--r-- | tdecore/tdecrash.cpp (renamed from tdecore/kcrash.cpp) | 34 | ||||
-rw-r--r-- | tdecore/tdecrash.h (renamed from tdecore/kcrash.h) | 10 | ||||
-rw-r--r-- | tdeinit/tdelauncher_main.cpp | 2 | ||||
-rw-r--r-- | tdeio/tdeio/slavebase.cpp | 2 | ||||
-rw-r--r-- | win/pro_files/tdecore/tdecore.pro | 2 |
14 files changed, 36 insertions, 36 deletions
diff --git a/kate/data/gdb.xml b/kate/data/gdb.xml index 5ee37a80b..3d45a7e12 100644 --- a/kate/data/gdb.xml +++ b/kate/data/gdb.xml @@ -9,7 +9,7 @@ v1.0: <language name="GDB Backtrace" section="Other" version="1.0-1" kateversion="2.4" - extensions="*.kcrash;*.crash;*.bt" + extensions="*.tdecrash;*.kcrash;*.crash;*.bt" mimetype="" author="Milian Wolff ([email protected])" license="LGPL"> diff --git a/kded/kded.cpp b/kded/kded.cpp index 2aaf78c5f..6572ff58b 100644 --- a/kded/kded.cpp +++ b/kded/kded.cpp @@ -23,7 +23,7 @@ #include "kdedmodule.h" #include <kresourcelist.h> -#include <kcrash.h> +#include <tdecrash.h> #include <unistd.h> #include <stdlib.h> diff --git a/kded/tdebuildsycoca.cpp b/kded/tdebuildsycoca.cpp index 030932cc3..77640dcf1 100644 --- a/kded/tdebuildsycoca.cpp +++ b/kded/tdebuildsycoca.cpp @@ -50,7 +50,7 @@ #include <tdelocale.h> #include <tdeaboutdata.h> #include <tdecmdlineargs.h> -#include <kcrash.h> +#include <tdecrash.h> #ifdef KBUILDSYCOCA_GUI // KBUILDSYCOCA_GUI is used on win32 to build // GUI version of tdebuildsycoca, so-called "tdebuildsycocaw". diff --git a/libtdescreensaver/main.cpp b/libtdescreensaver/main.cpp index d668598e6..e83c73604 100644 --- a/libtdescreensaver/main.cpp +++ b/libtdescreensaver/main.cpp @@ -29,7 +29,7 @@ #include <kdebug.h> #include <tdecmdlineargs.h> #include <tdeapplication.h> -#include <kcrash.h> +#include <tdecrash.h> #include "tdescreensaver.h" #include "tdescreensaver_vroot.h" diff --git a/tdeabc/stdaddressbook.cpp b/tdeabc/stdaddressbook.cpp index d834215c3..2d9c81788 100644 --- a/tdeabc/stdaddressbook.cpp +++ b/tdeabc/stdaddressbook.cpp @@ -21,7 +21,7 @@ #include <stdlib.h> #include <tdeapplication.h> -#include <kcrash.h> +#include <tdecrash.h> #include <kdebug.h> #include <tdelocale.h> #include <tderesources/manager.h> diff --git a/tdecore/CMakeLists.txt b/tdecore/CMakeLists.txt index 021d650ae..2b6d4c67e 100644 --- a/tdecore/CMakeLists.txt +++ b/tdecore/CMakeLists.txt @@ -59,7 +59,7 @@ install( FILES kglobalaccel.h tdestdaccel.h tdeshortcutlist.h kcatalogue.h kregexp.h kcompletion.h kstringhandler.h kstddirs.h kstandarddirs.h tdeglobal.h tdeglobalsettings.h ksharedptr.h - kallocator.h kvmallocator.h kcrash.h krfcdate.h kinstance.h + kallocator.h kvmallocator.h tdecrash.h krfcdate.h kinstance.h kpalette.h kipc.h klibloader.h tdetempfile.h ksavefile.h krandomsequence.h knotifyclient.h kiconeffect.h kaudioplayer.h kdcoppropertyproxy.h netwm.h tdeaccelmanager.h netwm_def.h @@ -114,7 +114,7 @@ set( ${target}_SRCS kckey.cpp tdeshortcut.cpp kkeynative_x11.cpp kkeyserver_x11.cpp tdeaccelaction.cpp tdeshortcutmenu.cpp tdeaccelbase.cpp tdeaccel.cpp kglobalaccel_x11.cpp kglobalaccel.cpp tdestdaccel.cpp tdeshortcutlist.cpp - kcrash.cpp kurl.cpp kregexp.cpp tdeglobal.cpp tdeglobalsettings.cpp + tdecrash.cpp kurl.cpp kregexp.cpp tdeglobal.cpp tdeglobalsettings.cpp kallocator.cpp kvmallocator.cpp kmimesourcefactory.cpp kinstance.cpp kpalette.cpp kipc.cpp klibloader.cpp tdetempfile.cpp tdeuniqueapplication.cpp tdeaccelmanager.cpp ksavefile.cpp diff --git a/tdecore/MAINTAINERS b/tdecore/MAINTAINERS index 3b4bae7cf..39b3a1424 100644 --- a/tdecore/MAINTAINERS +++ b/tdecore/MAINTAINERS @@ -23,7 +23,7 @@ kcompletionbase.cpp tdeconfig.cpp Waldo Bastian <[email protected]> tdeconfigbackend.cpp Waldo Bastian <[email protected]> tdeconfigbase.cpp Waldo Bastian <[email protected]> -kcrash.cpp Waldo Bastian <[email protected]> +tdecrash.cpp Waldo Bastian <[email protected]> kdcoppropertyproxy.cpp kdebug.cpp Stephan Kulow <[email protected]> kdesktopfile.cpp diff --git a/tdecore/Makefile.am b/tdecore/Makefile.am index 35aa6f6f3..924362b3f 100644 --- a/tdecore/Makefile.am +++ b/tdecore/Makefile.am @@ -46,7 +46,7 @@ include_HEADERS = tdeconfig.h tdeconfigskeleton.h \ kglobalaccel.h tdestdaccel.h tdeshortcutlist.h kcatalogue.h \ kregexp.h kcompletion.h kstringhandler.h \ kstddirs.h kstandarddirs.h tdeglobal.h tdeglobalsettings.h ksharedptr.h \ - kallocator.h kvmallocator.h kcrash.h krfcdate.h \ + kallocator.h kvmallocator.h tdecrash.h krfcdate.h \ kinstance.h kpalette.h kipc.h klibloader.h tdetempfile.h ksavefile.h \ krandomsequence.h knotifyclient.h kiconeffect.h \ kaudioplayer.h kdcoppropertyproxy.h netwm.h tdeaccelmanager.h \ @@ -98,7 +98,7 @@ libtdecore_la_SOURCES = libintl.cpp tdeapplication.cpp \ kckey.cpp tdeshortcut.cpp kkeynative_x11.cpp kkeyserver_x11.cpp \ tdeaccelaction.cpp tdeshortcutmenu.cpp tdeaccelbase.cpp tdeaccel.cpp \ kglobalaccel_x11.cpp kglobalaccel.cpp tdestdaccel.cpp tdeshortcutlist.cpp \ - kcrash.cpp kurl.cpp kregexp.cpp tdeglobal.cpp tdeglobalsettings.cpp \ + tdecrash.cpp kurl.cpp kregexp.cpp tdeglobal.cpp tdeglobalsettings.cpp \ kallocator.cpp kvmallocator.cpp kmimesourcefactory.cpp \ kinstance.cpp kpalette.cpp kipc.cpp klibloader.cpp tdetempfile.cpp \ tdeuniqueapplication.cpp tdeaccelmanager.cpp \ diff --git a/tdecore/tdeapplication.cpp b/tdecore/tdeapplication.cpp index cc5410d7a..7d18d3ba9 100644 --- a/tdecore/tdeapplication.cpp +++ b/tdecore/tdeapplication.cpp @@ -80,7 +80,7 @@ #include <tdecmdlineargs.h> #include <tdeaboutdata.h> #include <tdeglobalsettings.h> -#include <kcrash.h> +#include <tdecrash.h> #include <kdatastream.h> #include <klibloader.h> #include <kmimesourcefactory.h> diff --git a/tdecore/kcrash.cpp b/tdecore/tdecrash.cpp index 163b10d36..eceece166 100644 --- a/tdecore/kcrash.cpp +++ b/tdecore/tdecrash.cpp @@ -1,5 +1,5 @@ /* - * This file is part of the KDE Libraries + * This file is part of the TDE Libraries * Copyright (C) 2000 Timo Hummel <[email protected]> * Tom Braun <[email protected]> * @@ -33,7 +33,7 @@ #include <stdlib.h> #include <unistd.h> #include <time.h> -#include "kcrash.h" +#include "tdecrash.h" #include <sys/types.h> #include <sys/time.h> @@ -148,10 +148,10 @@ TDECrash::defaultCrashHandler (int sig) if (appName) { #ifndef NDEBUG - fprintf(stderr, "[kcrash] TDECrash: crashing... crashRecursionCounter = %d\n", crashRecursionCounter); - fprintf(stderr, "[kcrash] TDECrash: Application Name = %s path = %s pid = %d\n", appName ? appName : "<unknown>" , appPath ? appPath : "<unknown>", getpid()); + fprintf(stderr, "[tdecrash] TDECrash: crashing... crashRecursionCounter = %d\n", crashRecursionCounter); + fprintf(stderr, "[tdecrash] TDECrash: Application Name = %s path = %s pid = %d\n", appName ? appName : "<unknown>" , appPath ? appPath : "<unknown>", getpid()); #else - fprintf(stderr, "[kcrash] TDECrash: Application '%s' crashing...\n", appName ? appName : "<unknown>"); + fprintf(stderr, "[tdecrash] TDECrash: Application '%s' crashing...\n", appName ? appName : "<unknown>"); #endif const char * argv[24]; // don't forget to update this @@ -231,13 +231,13 @@ TDECrash::defaultCrashHandler (int sig) } else { - fprintf(stderr, "[kcrash] Unknown appname\n"); + fprintf(stderr, "[tdecrash] Unknown appname\n"); } } if (crashRecursionCounter < 4) { - fprintf(stderr, "[kcrash] Unable to start Dr. Konqi\n"); + fprintf(stderr, "[tdecrash] Unable to start Dr. Konqi\n"); } #endif //Q_OS_UNIX @@ -277,7 +277,7 @@ void TDECrash::startDrKonqi( const char* argv[], int argc ) int len = strlen( argv[ i ] ) + 1; // include terminating \0 if( pos + len > BUFSIZE ) { - fprintf( stderr, "[kcrash] BUFSIZE in TDECrash not big enough!\n" ); + fprintf( stderr, "[tdecrash] BUFSIZE in TDECrash not big enough!\n" ); startDirectly( argv, argc ); return; } @@ -317,7 +317,7 @@ void TDECrash::startDrKonqi( const char* argv[], int argc ) // If we can't reach tdeinit we can still at least try to fork() void TDECrash::startDirectly( const char* argv[], int ) { - fprintf( stderr, "[kcrash] TDECrash cannot reach tdeinit, launching directly.\n" ); + fprintf( stderr, "[tdecrash] TDECrash cannot reach tdeinit, launching directly.\n" ); pid_t pid = fork(); if (pid <= 0) { @@ -448,12 +448,12 @@ static int openSocket() { if (!home_dir || !home_dir[0]) { - fprintf(stderr, "[kcrash] Warning: $HOME not set!\n"); + fprintf(stderr, "[tdecrash] Warning: $HOME not set!\n"); return -1; } if (strlen(home_dir) > (MAX_SOCK_FILE-100)) { - fprintf(stderr, "[kcrash] Warning: Home directory path too long!\n"); + fprintf(stderr, "[tdecrash] Warning: Home directory path too long!\n"); return -1; } kde_home++; @@ -470,7 +470,7 @@ static int openSocket() strncat(sock_file, getenv("XAUTHLOCALHOSTNAME"), MAX_SOCK_FILE - strlen(sock_file) - 1); else if (gethostname(sock_file+strlen(sock_file), MAX_SOCK_FILE - strlen(sock_file) - 1) != 0) { - perror("[kcrash] Warning: Could not determine hostname: "); + perror("[tdecrash] Warning: Could not determine hostname: "); return -1; } sock_file[sizeof(sock_file)-1] = '\0'; @@ -479,13 +479,13 @@ static int openSocket() display = getDisplay(); if (display == NULL) { - fprintf(stderr, "[kcrash] Error: Could not determine display.\n"); + fprintf(stderr, "[tdecrash] Error: Could not determine display.\n"); return -1; } if (strlen(sock_file)+strlen(display)+strlen("/tdeinit_")+2 > MAX_SOCK_FILE) { - fprintf(stderr, "[kcrash] Warning: Socket name will be too long.\n"); + fprintf(stderr, "[tdecrash] Warning: Socket name will be too long.\n"); free(display); return -1; } @@ -495,7 +495,7 @@ static int openSocket() if (strlen(sock_file) >= sizeof(server.sun_path)) { - fprintf(stderr, "[kcrash] Warning: Path of socketfile exceeds UNIX_PATH_MAX.\n"); + fprintf(stderr, "[tdecrash] Warning: Path of socketfile exceeds UNIX_PATH_MAX.\n"); return -1; } @@ -505,7 +505,7 @@ static int openSocket() s = socket(PF_UNIX, SOCK_STREAM, 0); if (s < 0) { - perror("[kcrash] Warning: socket creation failed: "); + perror("[tdecrash] Warning: socket creation failed: "); return -1; } @@ -514,7 +514,7 @@ static int openSocket() socklen = sizeof(server); if(connect(s, (struct sockaddr *)&server, socklen) == -1) { - perror("[kcrash] Warning: socket connection failed: "); + perror("[tdecrash] Warning: socket connection failed: "); close(s); return -1; } diff --git a/tdecore/kcrash.h b/tdecore/tdecrash.h index 0ea938bfe..68caf6dd8 100644 --- a/tdecore/kcrash.h +++ b/tdecore/tdecrash.h @@ -1,5 +1,5 @@ /* - * This file is part of the KDE Libraries + * This file is part of the TDE Libraries * Copyright (C) 2000 Timo Hummel <[email protected]> * Tom Braun <[email protected]> * This library is free software; you can redistribute it and/or @@ -19,8 +19,8 @@ * */ -#ifndef __KCRASH_H -#define __KCRASH_H +#ifndef __TDECRASH_H +#define __TDECRASH_H #include <tqstring.h> #include "tdelibs_export.h" @@ -98,7 +98,7 @@ class TDECORE_EXPORT TDECrash * @param path the application path. */ static void setApplicationPath (TQString path) { appPath = tqstrdup(path.local8Bit().data()); } - /* KDE 4: Make it const TQString & */ + /* Future: Make it const TQString & */ /** * Sets the application name @p name which should be passed to @@ -106,7 +106,7 @@ class TDECORE_EXPORT TDECrash * @param name the name of the application, as shown in Dr. Konqi */ static void setApplicationName (TQString name) { appName = tqstrdup(name.local8Bit().data()); } - /* KDE 4: Make it const TQString & */ + /* Future: Make it const TQString & */ protected: /** diff --git a/tdeinit/tdelauncher_main.cpp b/tdeinit/tdelauncher_main.cpp index fc43a903a..53944caec 100644 --- a/tdeinit/tdelauncher_main.cpp +++ b/tdeinit/tdelauncher_main.cpp @@ -25,7 +25,7 @@ #include "tdeapplication.h" #include "tdelauncher.h" #include "tdecmdlineargs.h" -#include "kcrash.h" +#include "tdecrash.h" #include "kdebug.h" #include <stdio.h> #include <stdlib.h> diff --git a/tdeio/tdeio/slavebase.cpp b/tdeio/tdeio/slavebase.cpp index aa98c41d3..b9e9a04a6 100644 --- a/tdeio/tdeio/slavebase.cpp +++ b/tdeio/tdeio/slavebase.cpp @@ -46,7 +46,7 @@ #include <tdeapplication.h> #include <ksock.h> -#include <kcrash.h> +#include <tdecrash.h> #include <tdesu/client.h> #include <tdelocale.h> #include <ksocks.h> diff --git a/win/pro_files/tdecore/tdecore.pro b/win/pro_files/tdecore/tdecore.pro index c249670a6..28b353e85 100644 --- a/win/pro_files/tdecore/tdecore.pro +++ b/win/pro_files/tdecore/tdecore.pro @@ -23,7 +23,7 @@ kpixmapprovider.cpp \ kpalette.cpp \ tdeprocess.cpp \ tdeprocio.cpp \ -kcrash.cpp \ +tdecrash.cpp \ kallocator.cpp \ knotifyclient.cpp \ kcompletionbase.cpp \ |