Skip to content

Commit

Permalink
💥
Browse files Browse the repository at this point in the history
sync master
  • Loading branch information
indiff committed Sep 29, 2022
1 parent 7492e9c commit b883006
Show file tree
Hide file tree
Showing 169 changed files with 20,591 additions and 7,283 deletions.
62 changes: 59 additions & 3 deletions BandObjectLib/BandObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
using System;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Runtime.InteropServices;
using System.Windows.Forms;
using SHDocVw;


namespace BandObjectLib {
// Band ¶ÔÏóÀ©Õ¹×ÊÔ´¹ÜÀíÆ÷
public class BandObject : UserControl, IDeskBand, IDockingWindow, IInputObject, IObjectWithSite, IOleWindow, IPersistStream {
private Size _minSize = new Size(-1, -1);
protected IInputObjectSite BandObjectSite;
Expand Down Expand Up @@ -259,8 +259,9 @@ public virtual void SetSite(object pUnkSite) {
Explorer = (WebBrowserClass)Marshal.CreateWrapperOfType(obj2 as IWebBrowser, typeof(WebBrowserClass));
OnExplorerAttached();
}
catch(COMException ) { // exception
// QTUtility2.MakeErrorLog(exception, "MSG:" + exception.Message);
catch {
// (COMException exception) { // exception
// QTUtility2.MakeErrorLog(exception, "MSG:" + exception.Message);
}
}
try {
Expand Down Expand Up @@ -343,4 +344,59 @@ public virtual int GetSizeMax(out ulong pcbSize) {
return E_NOTIMPL;
}
}

/*internal class QTUtility2
{
internal static void MakeErrorLog(Exception ex, string optional = null)
{
try
{
string appdata = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
string appdataQT = Path.Combine(appdata, "QTTabBar");
if (!Directory.Exists(appdataQT))
{
Directory.CreateDirectory(appdataQT);
}
string path = Path.Combine(appdataQT, "QTTabBarException.log");
using (StreamWriter writer = new StreamWriter(path, true))
{
writer.WriteLine(DateTime.Now.ToString());
writer.WriteLine(".NET 版本: " + Environment.Version);
writer.WriteLine("操作系统版本: " + Environment.OSVersion.Version);
//writer.WriteLine("QT 版本: " + MakeVersionString());
if (!String.IsNullOrEmpty(optional))
{
writer.WriteLine("错误信息: " + optional);
}
if (ex == null)
{
writer.WriteLine("Exception: None");
writer.WriteLine(Environment.StackTrace);
}
else
{
// writer.WriteLine(ex.ToString());
writer.WriteLine("\nMessage ---\n{0}", ex.Message);
writer.WriteLine(
"\nHelpLink ---\n{0}", ex.HelpLink);
writer.WriteLine("\nSource ---\n{0}", ex.Source);
writer.WriteLine(
"\nStackTrace ---\n{0}", ex.StackTrace);
writer.WriteLine(
"\nTargetSite ---\n{0}", ex.TargetSite);
}
writer.WriteLine("--------------");
writer.WriteLine();
writer.Close();
}
// SystemSounds.Exclamation.Play();
}
catch
{
}
}
}*/
}
60 changes: 30 additions & 30 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@
======= 1.5.5.6 Beta(2022)=====
Bugs Fixed:
修复了一些已知的bug。
�޸���һЩ��֪��bug��
New Features:
默认支持ctrl+d调用分组功能
集成Everything
添加四国国际化(Brazil,French,Turkiye,España)
Ĭ��֧��ctrl+d���÷��鹦��
����Everything
�����Ĺ����ʻ�(Brazil,French,Turkiye,Espa?a)


======= 1.5.4 Beta(2021)=====
Bugs Fixed:
修复了一些已知的bug。
�޸���һЩ��֪��bug��

New Features:
默认内置所有插件,支持一键启用,一键禁用
蓝色加号按钮新功能,支持配置默认路径,剪贴板的如果有路径,则跳转
内置插件汉化
安装包中文开源协议调整
修复锁定功能bug
修复工具栏图片配置报错功能bug
调整工具栏图片,压缩包内置了三款按钮图片款式
Ĭ���������в����֧��һ�����ã�һ������
��ɫ�ӺŰ�ť�¹��ܣ�֧������Ĭ��·����������������·��������ת
�������
��װ�����Ŀ�ԴЭ�����
�޸���������bug
�޸�������ͼƬ���ñ�������bug
����������ͼƬ��ѹ�������������ťͼƬ��ʽ
======= 1.5.3 Beta 2 =======
Bugs Fixed:
修复了一些已知的bug。
�޸���һЩ��֪��bug��

New Features:
增加自定义按钮图片,支持按钮换肤功能
添加新功能,支持新开标签页,默认取剪贴板的路径
调整异常日志打印
安装包调整汉化
默认配置项优化调整
增加支持视频预览图片功能
�����Զ��尴ťͼƬ��֧�ְ�ť��������
�����¹��ܣ�֧���¿���ǩҳ��Ĭ��ȡ�������·��
�����쳣��־��ӡ
��װ����������
Ĭ���������Ż�����
����֧����ƵԤ��ͼƬ����
======= 1.5.2.x Beta 2 =======
Todos:
标签栏右侧的两个按钮能否添加一个选项以控制是否去掉呢。 #28
按钮自定义图片功能无效 #29
加入标签关闭按钮和锁定按钮的图标自定义选项 #26
��ǩ���Ҳ��������ť�ܷ�����һ��ѡ���Կ����Ƿ�ȥ���ء� #28
��ť�Զ���ͼƬ������Ч #29
�����ǩ�رհ�ť��������ť��ͼ���Զ���ѡ�� #26
Bugs Fixed:
fix bug 参数无效 GetTextSize qtabitem.cs(331)
fix bug ������Ч GetTextSize qtabitem.cs(331)��

New Features:
增加导出皮肤
(默认配置关闭按钮显示)标签栏右侧的两个按钮能否添加一个选项以控制是否去掉呢。#28
启用自定义图片 #29
���ӵ���Ƥ��
(Ĭ�����ùرհ�ť��ʾ)��ǩ���Ҳ��������ť�ܷ�����һ��ѡ���Կ����Ƿ�ȥ���ء�#28
�����Զ���ͼƬ #29

======= 1.5.2.0 Beta 2 =======
Bugs Fixed:
修复打开命令提示符异常/Fixed open cmd error.
�޸���������ʾ���쳣/Fixed open cmd error.


New Features:
异常日志添加扩展信息提示/Show more info for exception log.
添加语言配置文件/Add language config file.
�쳣��־������չ��Ϣ��ʾ/Show more info for exception log.
�������������ļ�/Add language config file.


======= 1.5.0.0 Beta 2 =======
Expand All @@ -77,7 +77,7 @@ Bugs Fixed:
Fixed crash when uninstalling plugins.
Installer installs for all users now, not just a single user.
Fixed Subdirectory Tip display in details mode on Windows XP (for good this time).
Fixed bug where OK/Cancel buttons in Control Panel windows don抰 work.
Fixed bug where OK/Cancel buttons in Control Panel windows don�t work.
Moved the Exception log from the Desktop to %APPDATA%\QTTabBar.

New Features:
Expand Down
Binary file added I18N/Lng_QTTabBar.1.5.5.5._ES.zip
Binary file not shown.
Binary file added I18N/Lng_QTTabBar_French.zip
Binary file not shown.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit b883006

Please sign in to comment.