summaryrefslogtreecommitdiffstats
path: root/src/CLI/CLI.cpp
Commit message (Collapse)AuthorAgeFilesLines
* lower case direcotry(no code changed)Nikola Pajkovsky2010-08-101-436/+0
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* style fixes, no code changesDenys Vlasenko2010-07-221-5/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Added --info action to abrt-cliMichal Toman2010-07-221-19/+130
|
* String updatesKarel Klic2010-07-121-3/+3
|
* lower-case devel headersNikola Pajkovsky2010-07-091-2/+2
| | | | Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
* Display hostname in abrt-cli if it's available.Karel Klic2010-07-071-0/+5
|
* English and message format fixesDenys Vlasenko2010-06-301-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Allow using the same operation multiple timesKarel Klic2010-06-291-1/+1
|
* Remove dead socket code.Karel Klic2010-06-221-9/+0
|
* Rename --get-list to --listKarel Klic2010-06-221-9/+9
|
* Options overhaulKarel Klic2010-06-221-56/+94
|
* Indentation onlyKarel Klic2010-06-221-24/+24
|
* Split print_crash_infos to two functions, add some comments.Karel Klic2010-06-221-33/+44
|
* fix whitespaceDenys Vlasenko2010-05-311-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrt-cli: suppress misleading "crash 'XXXXXXXX' is not in database" messagesDenys Vlasenko2010-05-261-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cli: make --report UUIDprefix match only unique prfixDenys Vlasenko2010-03-091-5/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: UID:UUID -> crash_id conversionDenys Vlasenko2010-03-041-38/+61
| | | | | | | | | | | | | | | | | | | This fixes at least three instances where we did not check whether user is even allowed to report or delete a crash. Also fixes a few cases when root might inadvertently act on (e.g. delete) mote than one crash. Renamed FILENAME_UID to CD_UID - makes more sense this way. Added COL_INFORMALL and CD_INFORMALL. Nuked UID == -1 hacks. Renamed getReport() to start_job on Python side. Dropped a few unused parameters from server -> client dbus signals. Fixed CLI's way of reverencing crashes (see updated help text). Run-tested (GUI and CLI). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Acked-by: Nikola Pajkovsky <npajkovs@redhat.com>
* cli: add support for "--report @N" and "--report PARTIAL_UUID"Denys Vlasenko2010-02-231-4/+33
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrtd: fix Report() dbus call gaping security holesDenys Vlasenko2010-01-211-4/+4
| | | | | | We were blindly trusting the values passed to us Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* use get_crash_data_item_content() accessor more widelyDenys Vlasenko2010-01-201-9/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unify "crash data, "crash info" and "crash report" data types. they are the sameDenys Vlasenko2010-01-191-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* preparatory patch with trivial cleanupsDenys Vlasenko2010-01-191-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrt-cli: report success/failure of reporting. closes bug 71Denys Vlasenko2009-12-111-2/+2
| | | | | | See https://fedorahosted.org/abrt/ticket/71 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make "abrt-cli --delete randomuuid" report that deletion failed. closes bug 59Denys Vlasenko2009-12-101-2/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* style fixes, no code changesDenys Vlasenko2009-12-101-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* include abrt version in bug descriptionsDenys Vlasenko2009-11-181-7/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build fixesJiri Moskovcak2009-11-121-1/+0
|
* src/CLI/*: fix an unterminated argv + simplificationsDenys Vlasenko2009-10-311-59/+59
| | | | | | | | | | | | | | | The fix is: - const char *args[6]; - args[0] = editor; - args[1] = path; + char *args[3]; + args[0] = (char*)editor; + args[1] = (char*)path; + args[2] = NULL; run_command(args); Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix warning and whitespace damageDenys Vlasenko2009-10-211-2/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Initial implementation of crash report editor. Splitted CLI.cpp into ↵Karel Klic2009-10-201-219/+7
| | | | multiple files for clarity.
* ABRTSocket renamed DisConnect to Disconnect, CLI added localization support ↵Karel Klic2009-10-191-55/+164
| | | | and commandline editor work in progress
* Added --version, -V, --help, -? options. Fixed crash caused by unknown option.Karel Klic2009-10-121-39/+79
|
* abrtd: add an optional 2nd parameter to Report dbus callDenys Vlasenko2009-09-241-4/+4
| | | | | | Also, simplified dbus code a bit. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove a few C++-isms where they did not buy any convenience anywayDenys Vlasenko2009-09-181-20/+29
| | | | | | | | | | | | text data bss dec hex filename 182372 2624 2320 187316 2dbb4 abrt.t2/abrt-0.0.8.5/src/Daemon/.libs/abrtd 180635 2584 1968 185187 2d363 abrt.t3/abrt-0.0.8.5/src/Daemon/.libs/abrtd 34110 1340 768 36218 8d7a abrt.t2/abrt-0.0.8.5/src/CLI/.libs/abrt-cli 30202 1292 224 31718 7be6 abrt.t3/abrt-0.0.8.5/src/CLI/.libs/abrt-cli 22116 1688 376 24180 5e74 abrt.t2/abrt-0.0.8.5/src/Applet/.libs/abrt-applet 21254 1648 88 22990 59ce abrt.t3/abrt-0.0.8.5/src/Applet/.libs/abrt-applet Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* abrt-applet: remove dbus-c++ glue. -50k of codeDenys Vlasenko2009-09-181-1/+1
| | | | | | | | | | text data bss dec hex filename 70529 2144 1528 74201 121d9 abrt.t0/UNPACKED/usr/bin/abrt-applet 22116 1688 376 24180 5e74 abrt.t1/UNPACKED/usr/bin/abrt-applet Also, we do not use dbus-c++ anymore, which is 200k of code Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove C++ dbus glue in src/CLI; fix a bug in --reportDenys Vlasenko2009-09-171-140/+220
| | | | | | | Several kb of code removed. The nly remaining use of C++ glue is desktop applet. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trailing whitespace removal. no code changesDenys Vlasenko2009-08-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Code cleanupJiri Moskovcak2009-07-201-3/+1
|
* CLI: Added support for dbusJiri Moskovcak2009-07-071-14/+29
|
* new default socket pathZdenek Prikryl2009-06-171-2/+2
|
* remaned to proper name (Command Line Interface)Zdenek Prikryl2009-06-171-0/+177