Kurt Hindenburg
f5feeba821
Check getpwuid_r return value.
2011-04-02 17:43:56 -04:00
Kurt Hindenburg
cacfb081bb
Use KDE::'s stat and chmod
2011-04-01 10:37:53 -04:00
Kurt Hindenburg
e865acedb8
Add cwd support for DragonFly. Patch by Alex Hornung.
...
It compiles under Linux.
BUG: 259970
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1210984
2011-01-02 21:13:06 +00:00
Kurt Hindenburg
b216cb9daf
In the tab title, for %D change the user's home path with a ~ if it starts at the
...
beginning.
FEATURE: 206316
FIXED-IN: 4.6
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1185589
2010-10-13 19:58:43 +00:00
Kurt Hindenburg
71a9a5d3d8
For Q_OS_MAC, obtain the current directory. There is still the issue of when it is a
...
symlink that the linked directory is given, not the symlink.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1185298
2010-10-12 21:11:17 +00:00
Kurt Hindenburg
eef7bc702e
Dragonfly patch to build - patch by Alex Hornung
...
BUG: 247626
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1173677
2010-09-10 03:21:07 +00:00
Kurt Hindenburg
6b2440e2c2
comment out kDebugs - change some to kWarnings
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1148447
2010-07-10 17:22:28 +00:00
Kurt Hindenburg
cf2522f6e9
quite unused variables
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1115193
2010-04-15 15:33:21 +00:00
Kurt Hindenburg
3138e80fd6
minor krazy fixes
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1108151
2010-03-28 00:13:13 +00:00
Kurt Hindenburg
00acf5ca59
Change quotes to brackets for config-konsole.h includes
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1107712
2010-03-26 15:16:51 +00:00
Benjamin Reed
459a5cda2f
merge 1099510 from 4.4: test for sys/proc_info.h and sys/proc.h
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1099511
2010-03-05 17:56:08 +00:00
Kurt Hindenburg
762b0eeaaa
This time use the correct portable struct for stat
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1079207
2010-01-23 20:48:46 +00:00
Kurt Hindenburg
799c55e83c
use portable struct for stat
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1079177
2010-01-23 19:39:57 +00:00
Kurt Hindenburg
31aea137a8
Fix some build warning and a krazy issue.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1033923
2009-10-11 15:42:12 +00:00
Kurt Hindenburg
e6f2f19a70
Use getpwuid_r instead of getpwuid in the Linux portion.
...
Possible reports: 195265, 201119, 209544
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1032293
2009-10-07 13:52:17 +00:00
Kurt Hindenburg
fd19e735aa
Change how /proc/%pid/status is read on Linux and add more error checking in hopes of avoiding crashes.
...
Possible reports: 195265, 201119, 209544
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1031794
2009-10-06 05:24:31 +00:00
Raphael Kubo da Costa
f2d94b2b51
Save one pointer in FreeBSD::readCurrentDir().
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1018644
2009-09-02 01:20:26 +00:00
Raphael Kubo da Costa
384792f0ea
Implement readArguments() for FreeBSDProcessInfo.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1018643
2009-09-02 01:17:44 +00:00
Raphael Kubo da Costa
f0cf4e52b5
Return false for methods not implemented in Solaris.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1017794
2009-08-31 14:32:53 +00:00
Raphael Kubo da Costa
750dc4fa90
Add support for retrieving process information for FreeBSD.
...
REVIEW: 1485
BUG: 205648
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1017793
2009-08-31 14:31:23 +00:00
Kurt Hindenburg
a8c7c1de89
Fix an issue with my 1017187 commit and fix 1 krazy2 issue
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1017606
2009-08-31 00:25:54 +00:00
Kurt Hindenburg
163df68298
Fix some code issues that krazy2 found when running on MacOS.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=1017187
2009-08-29 21:55:19 +00:00
Pino Toscano
4cbb309c9b
compile the MacProcessInfo class only on macosx, as it uses macosx-specific api
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=995969
2009-07-13 16:18:12 +00:00
Kurt Hindenburg
5cc136ee5d
Add structure for Mac process info for tab info - curretnly only program name works.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=993346
2009-07-08 14:33:26 +00:00
Kurt Hindenburg
3c15889a28
Revert Mac process info patch - doesn't compile on my Linux box.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=992669
2009-07-07 14:53:08 +00:00
Kurt Hindenburg
4d9be5c330
Add MacProcessInfo to handle the info in the tabs. Currently only program %n works.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=992627
2009-07-07 12:53:35 +00:00
Till Adam
530ae48f53
Fix the build on OSX and Windows by implementing all virtuals in
...
NullProcessInfo.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=952828
2009-04-12 16:36:35 +00:00
Kurt Hindenburg
89fdb61362
Allow %u (user) in tab/window title
...
BUG: 154295
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=952487
2009-04-12 00:52:42 +00:00
Robert Knight
dd9df43b44
Remove emacs mode information from the bottom of some source files.
...
If this information is put anywhere it should be in a single file instead
of duplicated for each file. In fact, it shouldn't be needed at all since
we have the same rules on tabs and tab sizes as most other parts of kdebase
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=946369
2009-03-29 11:12:57 +00:00
Robert Knight
ef3e43e11d
Initial implementation of session management in Konsole.
...
Patch from Stefan Becker <stefan.becker@nokia.com >
Thank-you very much Stefan!
CCBUG: 152761
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=867323
2008-10-03 10:38:50 +00:00
Steve Evans
ddc020b094
Move the include of <procfs.h> so that it is always included
...
on Solaris, even when _FILE_OFFSET_BITS is not 64
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=825033
2008-06-27 07:17:47 +00:00
Robert Knight
e7c489818b
* Working dynamic tab titles under Solaris. Patch by Adriaan de Groot.
...
* Re-organise CMakeLists.txt
Squashed commit of the following:
commit 7de6492753607603675729844520c89d914294eb
Author: Robert Knight <robertknight@gmail.com >
Date: Wed Jun 25 22:46:06 2008 +0100
Formatting. Clarify comments.
commit 5e419ee80316fc523d6809f0b5f7112aca565d19
Author: Robert Knight <robertknight@gmail.com >
Date: Wed Jun 25 22:35:23 2008 +0100
Fix compilation of ProcessInfo.cpp under Linux. Add missing members to dummy psinfo struct. Create instance of correct ProcessInfo sub-class depending on whether OS is Linux or Solaris.
commit 08d0ce320761bf2beedeb463a01bcb0a3e426439
Author: Robert Knight <robertknight@gmail.com >
Date: Wed Jun 25 22:34:11 2008 +0100
Re-organise the CMakeLists.txt to avoid duplicating the list of sources for the part and the application.
commit 7b84b5ebb7422f8e87dbc2e224ebc2405355e262
Author: Robert Knight <robertknight@gmail.com >
Date: Wed Jun 25 17:28:47 2008 +0100
Support for reading process information under Solaris. Patch from Adriaan de Groot.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=824517
2008-06-26 00:07:01 +00:00
Albert Astals Cid
1222b0e15b
avoid unnecessary copies by using const & in foreach
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=800783
2008-04-24 20:41:04 +00:00
Robert Knight
5d9997446e
Update copyright year to 2008. Remove '(C)' from copyright lines.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=800631
2008-04-24 14:53:43 +00:00
Robert Knight
971a5315f9
Remove debugging messages.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=800628
2008-04-24 14:52:39 +00:00
Robert Knight
46cfc108d3
* Replace all usage of qDebug() with kDebug(), since kDebug() provides information about
...
which part of the code the message came from and allows filtering of output
using kdebugdialog
* Remove explicit creation of singleton classes SessionManager,ColorSchemeManager and
KeyboardTranslatorManager and automate it with K_GLOBAL_STATIC.
This ensures that the singleton destructors are called appropriately by KPart clients
when they unload the libkonsolepart library.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=754334
2007-12-29 16:07:31 +00:00
Arto Hytönen
d0e0ca3c4f
this should clean-up kdebase of all of overkills of krazy:exclude of QString::null lines.
...
as long as C++ std clause 6.8 states (if I get it right), the diff should be OK, still can only compile with gcc-4.2...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=701136
2007-08-17 12:14:28 +00:00
Arto Hytönen
7021299cfb
further elimination/cancellation of QString::null.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=700742
2007-08-16 10:44:18 +00:00
Robert Knight
757101c615
If reading the current working directory of a process fails (eg. when running a 'sudo' command) when preparing a tab title then fall back to the parent process's current working directory. Add basic error reporting to ProcessInfo.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=699000
2007-08-11 19:21:45 +00:00
Robert Knight
18de140c5d
Add a few more common dir names to abbreviate in tab titles.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=696948
2007-08-06 11:22:47 +00:00
Robert Knight
c88bf4bc48
Make the directory names to abbreviate in tab titles a KConfig-based setting.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=691621
2007-07-24 04:02:50 +00:00
Robert Knight
37088799cf
* Update the regular expression for the Url filter. Anything in the form
...
letters://any-non-whitespace-characters is treated as a Url
* Correct the test which compares the old and new values and ranges when
updating the terminal display's scroll bar.
This fixes the scroll bar being repainted unnecessarily often. Found
with the nifty QT_FLUSH_PAINT debugging tool.
* Select the profile name (set to "New Profile" by default) and focus the
profile name edit area when showing the Edit Profile dialog for a new
profile to allow the user to easily set the name.
* Always use color scheme list animation, not just when the Edit Profile
dialog is first displayed as per richmoore's suggestion.
* Update Edit Profile dialog caption when profile name is changed.
* Update favorite status icon in Manage Profiles dialog when the favorite
status is changed by another object.
* Add disabled menu item which is shown in the 'Change Profile' list
when there are no other profiles there
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=683787
2007-07-05 09:51:06 +00:00
Robert Knight
65ee1b6c24
Add more common prefixes to abbreviate taken from a quick scan over my home dir.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=681400
2007-06-28 20:18:42 +00:00
Robert Knight
c607f510b1
Better short directory names in tab titles. Where common dir names are encountered at the end of the path, they are abbreviated to their first letter, and the search continues until a name not found in the set of common dir names is found. eg. '/path/to/konsole/src' and '/path/to/kate/src' are now abbreviated as 'konsole/s' and 'kate/s' respectively, instead of just 'src' in both cases.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=681390
2007-06-28 19:43:47 +00:00
Robert Knight
a712ccb7b4
Fix IP addresses being truncated in tab titles when using 'short host' format.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=670841
2007-06-02 17:03:02 +00:00
Robert Knight
53d5b76910
Allow tab titles to include the window title set by the shell. Fix arithmetic exception when trying to shrink/expand the current view if it is the only view open.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=663712
2007-05-12 06:04:02 +00:00
Dirk Mueller
9ea3227384
include cleanup
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=663054
2007-05-09 22:23:52 +00:00
Robert Knight
33c913383d
EBN fixes. Mostly copyright and implementations including their own headers first.
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=662726
2007-05-09 00:01:01 +00:00
Stephan Binner
f9ef188694
fix pedantic compilation
...
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=661619
2007-05-06 05:30:26 +00:00
Robert Knight
19a29d182a
Rename directories for clarity. konsole -> src , other -> data.
...
svn path=/branches/work/konsole-split-view/; revision=661562
2007-05-05 23:33:05 +00:00