Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tasklistbar #9

Draft
wants to merge 211 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
211 commits
Select commit Hold shift + click to select a range
e1895f9
AERO for VISTA
Aug 13, 2010
409954d
WTL modified for AERO
cbucher Aug 13, 2010
28c814e
"Flat scrollbars" checkbox was removed by error when merging
cbucher Aug 20, 2010
c656534
option for the tabs position : "top" or "bottom"
cbucher Aug 22, 2010
47f813e
synchro
cbucher Aug 27, 2010
a6e7caf
show selection size in status bar
cbucher Aug 27, 2010
a0cc54d
disable flat scrollbar check box if "show scrollbar" is not checked
cbucher Aug 27, 2010
52b6db0
close button in selected tab
cbucher Aug 31, 2010
7b89aaf
the hot tracking is used to pop the tooltip when mouse is over close …
cbucher Sep 1, 2010
328a9a7
no close button with only one tab
cbucher Sep 3, 2010
063e302
confirmation on closing with multiple tabs
cbucher Sep 3, 2010
7608b79
all ways for closing a tab are disabled with only one tab
cbucher Sep 4, 2010
814b33e
add the tab icon in list of tab names (settings dialog)
cbucher Sep 4, 2010
56e1d57
fix tabs settings background are not saved
cbucher Sep 6, 2010
f8d2b37
add clone button in settings of tabs
cbucher Sep 6, 2010
4b42129
helpers method to load a small icon
cbucher Sep 11, 2010
7da1153
default icon is shell executable icon
cbucher Sep 11, 2010
d34f572
DrawIconEx is the better way to draw an icon with smooth edges
cbucher Sep 11, 2010
c8420d4
fix MainFrame::OnTabMiddleClick : LPARAM type is NMCTCITEM (not NMCTC…
cbucher Sep 12, 2010
7b382af
Removed a 'fix' from 38cb482e commit - was causing problems on Win7 x64
bozho Aug 24, 2010
94d0030
Paste command is now disabled if a text selection is active.
bozho Aug 26, 2010
885d25d
A bit of code cleanup
bozho Aug 26, 2010
031bd8f
A fix for blinking tabs after unlock (BR #2990729)
bozho Aug 26, 2010
9775ea6
New inject code, x64 doesn't seem to work properly
bozho Sep 2, 2010
ef6edcf
64-bit Console -> 32-bit shell injection
bozho Sep 2, 2010
b55c83a
Code cleanup
bozho Sep 7, 2010
b908e69
Code cleanup
bozho Sep 7, 2010
7c299f1
Returned ConsoleWow project
bozho Sep 7, 2010
550ae38
Returned devel_changes.txt to the solution
bozho Sep 8, 2010
10f7da2
Help update
bozho Sep 8, 2010
7a8b766
A quick hack for testing
bozho Sep 9, 2010
d221abc
Working on user credentials
bozho Sep 14, 2010
12671f6
More progress with user credentials, better support for WindowsXP (ca…
bozho Sep 15, 2010
1208ebf
Started work on nicer error messages
bozho Sep 20, 2010
ec72890
Code cleanup
bozho Sep 20, 2010
af11e2e
The credentials dialog is now centered in the main Console window
bozho Sep 20, 2010
f2e80d6
Title formatting for tabs running under different users
bozho Sep 21, 2010
f9d2c64
- proper comspec resolution for shells running under different user
bozho Sep 23, 2010
9158aa3
fix usage on VISTA
cbucher Sep 25, 2010
41c4552
AERO glass style for credentials dialog
cbucher Sep 25, 2010
db9cd96
use of CredUIPromptForCredentials
cbucher Sep 26, 2010
0663089
UpdateLayout_ScrollToFit calculate a new scroll offset, when all tabs…
cbucher Sep 30, 2010
69194b5
Updated help a bit
bozho Sep 24, 2010
381c1d2
A small repaint fix
bozho Sep 28, 2010
8cc77bb
Expanded 'trim tab titles' options - you can now show characters at t…
bozho Sep 29, 2010
a52850a
Updated devel_changes.txt
bozho Sep 29, 2010
3b2ff97
Improved command text resolution for tab titles.
bozho Sep 29, 2010
18e1fe2
Fixed invalid window position on Windows unlock
bozho Sep 30, 2010
1b6987c
silent warnings
cbucher Oct 2, 2010
603b88b
restore the drop files message in elevated console
cbucher Oct 3, 2010
a4da145
Added 'run as user' checkbox
bozho Oct 1, 2010
6300898
Fix monitoring of parent process
Oct 17, 2010
1befc2a
Use static run-time library for ConsoleWow
Oct 17, 2010
708d0e7
- parent monitoring code cleanup
bozho Oct 18, 2010
6d74035
Version info for new build
bozho Nov 1, 2010
2a18b3b
Fixed build number in the about dialog
bozho Nov 1, 2010
9351c07
Fixed visual styles support
bozho Nov 1, 2010
077006e
Add support for zooming with standard ctrl+wheel
Feb 7, 2010
7ed2cc8
Attempt to improve visual feedback during resizing
Feb 7, 2010
f15cf0b
add quake like console style with activation hotkey
cbucher Feb 12, 2011
0dfba48
add support for maximized console
cbucher Feb 12, 2011
745ebd0
fix a crash
cbucher Feb 12, 2011
86de352
fix : maximized console size is computed by system
cbucher Feb 13, 2011
9ec488f
no maximize button for no resizable console
cbucher Feb 13, 2011
cc7d36d
fix a crash
cbucher Feb 13, 2011
ad128fd
selection handler was created before resizing with maximized console
cbucher Feb 20, 2011
f35e5b0
code cleanup
cbucher Feb 20, 2011
0d71a23
start position of selection could be the last char of previous line ...
cbucher Feb 20, 2011
abfdba8
bug fix : modification of scrollbar settings affects all consoles
cbucher Feb 20, 2011
119e16f
bug fix : when scrollbars are enabled, their position is not properly…
cbucher Feb 24, 2011
2834b41
optimize
cbucher Mar 5, 2011
7544dfb
show / hide menu with menu syskey (alt)
cbucher Mar 6, 2011
b321172
Quake style, hot key has 3 actions:
cbucher Mar 20, 2011
f7935f5
inactive console will not display animation
cbucher May 8, 2011
7fe1541
console activation will no longer loose the maximized state
cbucher May 8, 2011
590f8af
code cleanify
cbucher May 22, 2011
39ed72a
copy RTF to clipboard
cbucher May 28, 2011
5afc382
remove ConsoleView::SetResizing
cbucher Jul 2, 2011
ddbb87c
add TabView
cbucher Aug 8, 2011
2f0b959
add keyboard shortcuts:
cbucher Aug 9, 2011
25272ab
mod inside broders are no longer variable
cbucher Aug 14, 2011
452e58c
fix AppActive when switching between panes
cbucher Aug 14, 2011
57f8b65
fix with split and remove, consoles inpacted are readjustded
cbucher Aug 15, 2011
9f4f465
fix offscreen bitmaps are not recreated when console columns and rows…
cbucher Aug 15, 2011
067d23f
fix resize all consoles in a tab when a console change size
cbucher Aug 20, 2011
4b48e37
fix focus and foreground window
cbucher Aug 20, 2011
fcba211
add grouping feature
cbucher Aug 20, 2011
d135cfa
add next view / prev view
cbucher Aug 21, 2011
bf4a380
fix remove red background (it was for testing)
cbucher Aug 21, 2011
abc7126
fix console ending does not longer close all the tab
cbucher Aug 21, 2011
531c763
fix new tab are adjusted (to match with a resized mainframe)
cbucher Aug 21, 2011
2a9241a
fix focus not detected with quake like mode
cbucher Aug 22, 2011
0498526
ConsoleView::AdjustRectAndResize called by MainFrame::AdjustWindowSiz…
cbucher Aug 28, 2011
8111b45
fix debug ASSERT
cbucher Aug 28, 2011
6707b04
no offscreen buffers recreation is needed with only font resizing
cbucher Aug 28, 2011
f75bbf9
fix a crash: incoherent tree when views are removed
cbucher Aug 29, 2011
3840f3e
fix show/hide menu,toolbars,statusbar,tabs
cbucher Sep 2, 2011
d1a1c49
one background for the whole tab
cbucher Sep 4, 2011
4e51e3d
undo last commit
cbucher Sep 4, 2011
1148661
Merge branch 'terminator'
cbucher Sep 4, 2011
b80cb44
new visualize the selected cursor in settings dialog
cbucher Sep 5, 2011
aca8923
new support strech with preserve aspect ratio
cbucher Sep 10, 2011
af4e20d
about : ConsoleZ 1.00.0
cbucher Sep 24, 2011
abef459
fix console rect when resizing edge is top or left
cbucher Sep 25, 2011
d893f89
if the cursor is visible before resizing
cbucher Sep 25, 2011
3e0746a
AppActive status is set to all views of the tab when grouping is enabled
cbucher Sep 26, 2011
21dc7ae
Limited max window transparency to 250 (i.e. min alpha is 5)
bozho Nov 3, 2010
13d5183
Added checks for console row/column/buffer numbers.
bozho Nov 3, 2010
580e793
Cleaned up settings dialogs' code a bit
bozho Nov 3, 2010
cb5ccac
Prevent pasting by mouse if pasting by menu is disabled
Jul 25, 2011
135cb98
Allow double-click to select a word (text between two spaces)
Jul 25, 2011
45abb6a
Add configuration setting to allow cmd-style copy/clear selection click
Sep 20, 2011
90eefce
Attempt to avoid funny selection with a "slow double-click"
Jul 26, 2011
5c741d9
Add building CHM from HHP in Win32 Release build
Apr 17, 2011
e3f7967
Updates to the original Console help by Vivian De Smedt, Sergey Kozlov
Sep 8, 2011
089af2d
Fill out placeholders in Help, indicated by Vivian De Smedt, Sergey K…
Sep 8, 2011
7975446
synchro 148
cbucher Oct 22, 2011
4ebffe5
new config file to publish
cbucher Jan 6, 2012
57571c3
fix : when black color was changed, background was no longer transparent
cbucher Jan 6, 2012
c24c616
FreeImage 3.15.1
cbucher Feb 12, 2012
cfa0b84
quake like mode uses the docking position
cbucher Feb 12, 2012
44a791f
bug fix : docking position was lost with snap edge disactivated
cbucher Feb 12, 2012
45482fb
Refactor parsing command line args
cbucher Feb 18, 2012
e1eb54c
Add support to use an existing instance when opening tabs
cbucher Feb 18, 2012
1b124e8
Add support for Jump List
cbucher Feb 19, 2012
19b8b17
jumplist and tabs menu use same icons
cbucher Feb 20, 2012
be02ef8
Jumplist is recreated at each settings modification
cbucher Feb 21, 2012
9115583
jumplist is an option in console settings
cbucher Feb 21, 2012
8027569
bug fix : docking position was lost with snap edge disactivated
cbucher Feb 26, 2012
85ee1c6
click or bouble click on systray activates the console
cbucher Feb 26, 2012
c1770cd
minimize button no longer removed if tray icon is used
cbucher Feb 26, 2012
93f3088
update documentation for ConsoleZ
cbucher Feb 26, 2012
d96b5c8
Merge branch 'win7'
cbucher Mar 31, 2012
c32ca03
Visual Studio 2010
cbucher Apr 1, 2012
00af0b2
Fix clipping issue that sometimes left stray lines when drawing/redra…
ShadowFlare Mar 15, 2012
37704d4
Load a default console.xml from resources if one could not be found i…
ShadowFlare Mar 25, 2012
df43f25
in italic a part of the previous char is drawn in the following char …
cbucher Apr 9, 2012
4c519aa
version 1.01.0
Apr 14, 2012
547c5f1
Visual Studio 2010
Apr 14, 2012
85d0141
tabs are drawn top or bottom the aero theme internal border
cbucher Apr 22, 2012
30b5751
update default config
cbucher Apr 22, 2012
6cb5d84
fix bug with Win <- or Win ->
cbucher Apr 24, 2012
d5e26e6
Windows 7 wallpaper slideshow workaround
cbucher Apr 26, 2012
56dd9a3
Support of adjusted wallpaper.
cbucher Apr 27, 2012
9310402
Support "Fill" image position.
cbucher Apr 27, 2012
fa51562
Merge branch 'italic'
cbucher Apr 27, 2012
f02ebc9
version 1.2.0.12118
cbucher Apr 27, 2012
cf6c22c
documentation update (v1.2.0)
cbucher Apr 27, 2012
f40c565
background text opacity is settable
cbucher May 1, 2012
d764a01
new selected text rendering: transparent aera (25%) with an opaque bo…
cbucher May 8, 2012
822a6fe
solution cleanup
cbucher May 13, 2012
6a84b3e
This is the real XTERM cursor :
cbucher May 24, 2012
ac5a53a
In tab cursor selection, active and inactive cursors are displayed.
cbucher May 26, 2012
7a155a0
new feature : select all text in console
cbucher May 27, 2012
e90c230
fix how lines are trimmed with RTF export
cbucher May 28, 2012
f451039
During copy of the selection, empty lines, located at the end of the …
cbucher May 28, 2012
9b02531
fix truncated text in tab title whith a -
cbucher Jun 10, 2012
60e0039
fix a crash
cbucher Jun 17, 2012
b2e2ce5
update documentation
cbucher Jun 23, 2012
cec0fab
update version (1.3.0)
cbucher Jun 23, 2012
80cf072
x64 building
cbucher Jun 23, 2012
de6e3ee
show launching process errors
cbucher Jul 2, 2012
df261dc
version 1.3.1
cbucher Jul 2, 2012
b08703e
proper solution building
cbucher Jul 2, 2012
4ce7ee3
-ts Specifies sleep time between starting next tab if multiple -t's a…
cbucher Sep 17, 2012
c979bc5
-r Specifies a startup shell command.
cbucher Sep 17, 2012
0236b3e
c++11 helpers are used by console and consolehook
cbucher Sep 30, 2012
1d08d8a
adds aero glass opacity (same selectors as alpha)
cbucher Oct 3, 2012
ea25e0e
supports basic themes undes windows VISTA/7
cbucher Oct 31, 2012
cc174a3
a unique include file to manage version
cbucher Oct 31, 2012
f53b9c4
fix wrong background color in RepaintTextChanges with glass opacity -…
cbucher Nov 4, 2012
3b2ff27
with color key transparency, aero glass is drawn as a black aera
cbucher Nov 18, 2012
9215d3a
adds target "Debug arero"
cbucher Nov 18, 2012
66edfad
deletes x64 warnings
cbucher Nov 18, 2012
cdce726
there is a side effect whith glass into client area and no caption (a…
cbucher Nov 24, 2012
ca8a918
Supports Windows 8 wallpaper span
cbucher Nov 25, 2012
e7af061
version 1.4.0
cbucher Nov 25, 2012
e6d3c1b
upgrade WTL -> 8.1.12085
cbucher Dec 1, 2012
6cc4e29
SetTransparency (aero glass margins) is called when composition change.
Jan 2, 2013
8b966c2
Limit vertical scrolling to the furthest buffer location viewed.
Jan 12, 2013
0441d10
force monospace displaying by adjusting the size of chars larger than…
Jan 14, 2013
aba8d47
improve status bar
Jan 16, 2013
b9ab5bd
Are you sure you want close all views ?
Jan 16, 2013
12b5c35
visual studio 2012 express
cbucher Jan 18, 2013
9cdb254
C++ 11 & optimizations
cbucher Jan 19, 2013
fc2491f
a screen size is defined by cols x rows (not rows x cols)
cbucher Jan 19, 2013
1f7ed18
dropping a file affects all view in a group
cbucher Jan 19, 2013
03aa115
selection size is no longer stored in the mainframe object
cbucher Jan 20, 2013
a55b4c0
ignore console2.v11.suo
cbucher Jan 20, 2013
11f744b
fix compilation
cbucher Jan 20, 2013
24187e6
Wallpaper & Windows 8
cbucher Feb 2, 2013
92b3e69
FreeImage 3.15.4
cbucher Feb 2, 2013
6e76e0c
fix x64 debug building
cbucher Feb 2, 2013
fd5da0b
version 1.5.0
cbucher Feb 2, 2013
fab9f64
Create README.md
cbucher Feb 2, 2013
9e5d732
Update README.md
cbucher Feb 2, 2013
b0c80ab
Update README.md
cbucher Feb 4, 2013
6fb9304
Add new option "Net only" to "Run as user" :
cbucher Feb 9, 2013
503c26b
If you cloned the only one tab, the delete button was not enabled.
cbucher Feb 9, 2013
78cd1be
The cloned tab title is suffixed with (2).
cbucher Feb 9, 2013
43f14d5
fix a problem with some fonts under Windows 8
cbucher Feb 9, 2013
b85c7b0
error handling in opening of shared objects
cbucher Feb 10, 2013
f25fe43
Merge branch 'master' of https://github.com/cbucher/console
cbucher Feb 10, 2013
149a9fd
fix creation of shared objects
Feb 10, 2013
7149bec
the tab title uses braces to display the user specified with "net only"
Feb 10, 2013
f1c2143
support for UNC user name
cbucher Feb 10, 2013
65fb5b2
fix wrong tabs scrolling
cbucher Feb 14, 2013
cc5408f
continue error handling
cbucher Feb 14, 2013
eed3ab4
display hotkeys in "New Tab" submenu
cbucher Feb 16, 2013
2a74436
Add hotkeys:
cbucher Feb 16, 2013
c341a6a
Windows 7 & 8 taskbar list:
cbucher Mar 2, 2013
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@

/Console2.ncb
/Console2.suo
bin/
obj/
ipch/
help/console.chm

*.aps
*.user
*.opensdf
*.sdf
*.suo

*~
*.bak
*.orig
*.swp
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

15 changes: 10 additions & 5 deletions Console/AboutDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@

LRESULT CAboutDlg::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/)
{
CWindow staticMessage(GetDlgItem(IDC_STATIC_VERSION));
CString strMsg;

strMsg.Format(L"Console %i.%02i.%i", VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD);
staticMessage.SetWindowText(strMsg);
#ifdef _USE_AERO
AERO_CONTROL(CButton, m_Ok, IDOK)
this->OpenThemeData(VSCLASS_WINDOW);
#else
CString strMsg;
strMsg.Format(L"\nConsoleZ %i.%i.%i\n", VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD);

CWindow staticMessage(GetDlgItem(IDC_STATIC_VERSION));
staticMessage.SetWindowText(strMsg);
#endif
CenterWindow(GetParent());

return TRUE;
}

Expand Down
65 changes: 64 additions & 1 deletion Console/AboutDlg.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,20 @@

#pragma once

class CAboutDlg : public CDialogImpl<CAboutDlg>
class CAboutDlg :
#ifdef _USE_AERO
public aero::CDialogImpl<CAboutDlg>
#else
public CDialogImpl<CAboutDlg>
#endif
{
public:
enum { IDD = IDD_ABOUTBOX };

BEGIN_MSG_MAP(CAboutDlg)
#ifdef _USE_AERO
CHAIN_MSG_MAP(aero::CDialogImpl<CAboutDlg>)
#endif
MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog)
COMMAND_ID_HANDLER(IDOK, OnCloseCmd)
COMMAND_ID_HANDLER(IDCANCEL, OnCloseCmd)
Expand All @@ -22,4 +30,59 @@ class CAboutDlg : public CDialogImpl<CAboutDlg>

LRESULT OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*lParam*/, BOOL& /*bHandled*/);
LRESULT OnCloseCmd(WORD /*wNotifyCode*/, WORD wID, HWND /*hWndCtl*/, BOOL& /*bHandled*/);
#ifdef _USE_AERO
void Paint(CDCHandle dc, RECT& rClient, RECT& rView, RECT& rDest)
{
aero::CDialogImpl<CAboutDlg>::Paint(dc, rClient, rView, rDest);

CPaintDC(*this);
Gdiplus::Graphics gr(dc);

CIcon icon (static_cast<HICON>(
::LoadImage(
::GetModuleHandle(NULL),
MAKEINTRESOURCE(IDR_MAINFRAME),
IMAGE_ICON,
256,
256,
LR_DEFAULTCOLOR)));

//get the icon info
ICONINFO ii;
GetIconInfo(icon, &ii);

//create a bitmap from the ICONINFO so we can access the bitmapData
Gdiplus::Bitmap bmpIcon(ii.hbmColor, NULL);
Gdiplus::Rect rectBounds(0, 0, bmpIcon.GetWidth(), bmpIcon.GetHeight() );

//get the BitmapData
Gdiplus::BitmapData bmData;
bmpIcon.LockBits(&rectBounds, Gdiplus::ImageLockModeRead,
bmpIcon.GetPixelFormat(), &bmData);

// create a new 32 bit bitmap using the bitmapData
Gdiplus::Bitmap bmpAlpha(bmData.Width, bmData.Height, bmData.Stride,
PixelFormat32bppARGB, (BYTE*)bmData.Scan0);
bmpIcon.UnlockBits(&bmData);

gr.DrawImage(&bmpAlpha, 0, 0);

DTTOPTS dtto = { 0 };
dtto.dwSize = sizeof(DTTOPTS);
dtto.iGlowSize = 8;
dtto.dwFlags = DTT_COMPOSITED | DTT_GLOWSIZE;

CRect rectVersion(0x25,0x41,0x25+0x78,0x41+0x25);
CString strMsgVersion;
strMsgVersion.Format(L"\nConsoleZ %i.%i.%i\n", VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD);
this->DrawTextW(dc, strMsgVersion, rectVersion, DT_CENTER | DT_VCENTER, dtto);

CRect rectAppText(0x14,0x64,0x14+0x9A,0x64+0x80);
this->DrawTextW(
dc,
L"\nCopyright (C) 2011-2012\nChristophe Bucher\n\na modified version of\nConsole 2\nfrom\nMarko Bozikovic",
rectAppText,
DT_CENTER | DT_VCENTER, dtto);
}
#endif
};
Loading