Giter Club home page Giter Club logo

onering-desktop's People

Contributors

hongqn avatar

Stargazers

 avatar

Watchers

 avatar

onering-desktop's Issues

升级到Qt-4.7后,localStorage无法访问

What steps will reproduce the problem?
1. 升级Qt至4.7
2. 在js中使用HTML5的localStorage创建本地存储元素
3. 打开web inspector,点击Storage页面

What is the expected output?

应该能看见写入的数据。

What do you see instead?

无任何本地存储数据。

error console显示:
SECURITY_ERR: DOM Exception 18: An attempt was made to break through the 
security policy of the user agent.


Please use labels and text to provide additional information.


Original issue reported on code.google.com by hongqn on 29 Sep 2010 at 2:59

指定localStorage的存储路径

I want this feature...

需要某个方式指定 localStorage 的存储路径

Original issue reported on code.google.com by hongqn on 31 Oct 2010 at 5:42

Disable context menu

What steps will reproduce the problem?
1. Run OneRing demo.
2. Right-click the window.

What is the expected output?

It should do nothing.

What do you see instead?

A menu popped up, showing "Back", "Reload", etc.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by hongqn on 26 Sep 2010 at 7:27

应用窗口禁止 resize

I want this feature...

防止用户自定义窗口尺寸,影响界面设计

Original issue reported on code.google.com by mockee on 9 Oct 2010 at 8:17

系统级快捷键支持

I want this feature...

及时在应用不是当前窗口的情况下,希望也能按某些键产生��
�些反应。

Original issue reported on code.google.com by hongqn on 28 Sep 2010 at 8:36

  • Merged into: #9

failed to compile the project

What steps will reproduce the problem?
1. hg clone
2. cd onering-desktop
3. qmake-qt4 && make

What is the expected output? What do you see instead?
正常编译通过

What version of the product are you using? On what operating system?
Ubuntu 10.04 32bit, gcc 4.4.3, qt 4:4.6.2-0ubuntu5.1

Please provide any additional information below.
src/appreply.cpp: In member function ‘void AppReply::parseResponse()’:
src/appreply.cpp:94: error: jump to label ‘finish’
src/appreply.cpp:65: error:   from here
src/appreply.cpp:68: error:   crosses initialization of ‘int code’
src/appreply.cpp:94: error: jump to label ‘finish’
src/appreply.cpp:60: error:   from here
src/appreply.cpp:68: error:   crosses initialization of ‘int code’
make: *** [appreply.o] Error 1

Original issue reported on code.google.com by [email protected] on 20 Sep 2010 at 1:53

when buidling

I get this 

Traceback (most recent call last):
  File "demo.py", line 16, in <module>
    import onering
  File "C:\Python27\lib\site-packages\onering-0.1-py2.7-win32.egg\onering.py", line 8, in <module>
    import _onering
ImportError: DLL load failed: The specified module could not be found.

anyone seen it before?

Original issue reported on code.google.com by [email protected] on 7 Mar 2012 at 5:01

register_wsgi_app 没有传递必需的 environ 变量给 wsgi 程序

根据 wsgi 协议 http://www.python.org/dev/peps/pep-0333/#environ-variables
SERVER_NAME, SERVER_PORT 是必须且不能为空的
wsgi.version, wsgi.url_scheme, wsgi.errors, wsgi.multithread, 
wsgi.multiprocess, wsgi.run_once 也都必须提供

所以目前实现的 wsgi 协议是不完整的,web.py 
之外的框架可能就会出问题。

比如 Flask 目前就无法使用,调试结果显示 Flask 必须要求 
wsgi.url_scheme,在 environ 中添加  'wsgi.url_scheme': 'http' 
之后工作正常。

Original issue reported on code.google.com by [email protected] on 9 Dec 2011 at 9:08

make报错

What steps will reproduce the problem?
clone一份新代码进行编译,make时报错

What is the expected output?
编译成功

What do you see instead?
g++ -c -pipe -g -gdwarf-2 -Wall -W -fPIC -DONERING_LIBRARY -DQT_WEBKIT_LIB 
-DQT_SCRIPT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/local/Qt4.7/mkspecs/macx-g++ -I. 
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers -I/usr/include/QtCore 
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers 
-I/usr/include/QtNetwork 
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers -I/usr/include/QtGui 
-I/Library/Frameworks/QtScript.framework/Versions/4/Headers 
-I/usr/include/QtScript 
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers 
-I/usr/include/QtWebKit -I/usr/include -I. -Iinclude -I. -F/Library/Frameworks 
-o application.o src/application.cpp
src/application.cpp:30: warning: unused parameter 'event'
src/application.cpp: In member function 'int Application::load(const char*)':
src/application.cpp:129: error: invalid conversion from 'long int' to 'void*'
src/application.cpp:129: error:   initializing argument 4 of 'OSErr 
AEInstallEventHandler(AEEventClass, AEEventID, OSErr (*)(const AEDesc*, 
AEDesc*, void*), void*, Boolean)'
make: *** [application.o] Error 1

What version of the product are you using? On what operating system?
Revision: 39148cf127, mac ox x 10.6.5

Please provide any additional information below.
改了一下src/application.cpp line 
129,去掉了(long)的强制转换,再编译就成功了…

Original issue reported on code.google.com by [email protected] on 28 Dec 2010 at 11:36

绑定窗口最小化事件

I want this feature...

在窗口最小化时,可以执行指定js函数

Original issue reported on code.google.com by hongqn on 27 Oct 2010 at 9:32

在源码中包含授权说明

Describe the task:

在源码包中应该包含 LICENSE 文件,说明授权。

在每个源码文件中也应该以注释的形式增加版权说明。

Original issue reported on code.google.com by hongqn on 29 Sep 2010 at 7:51

qt 4.8.0 无法正常工作

What steps will reproduce the problem?
1.安装qt 4.8.0
2.运行demo

What is the expected output?
输出正常

What do you see instead?
javascript完全不起作用了,html解析出错。

What version of the product are you using? On what operating system?
winXP 32位 sp3, qt 4.8.0, python 2.7, onering是从源码安装的

Please provide any additional information below.
把qt换成4.7.4后正常

Original issue reported on code.google.com by [email protected] on 5 Mar 2012 at 8:58

在运行时指定应用图标

I want this feature...

用某种机制,在运行时指定程序图标。

Original issue reported on code.google.com by hongqn on 1 Nov 2010 at 9:49

快捷键支持

I want this feature...

类似按Ctrl-A就如何如何的...

Original issue reported on code.google.com by hongqn on 28 Sep 2010 at 8:07

增加 proxy 设置功能

I want this feature...

某些用户的网络环境需要设置代理才能访问互联网,OneRing最�
��能够提供一个设置代理的API,供应用使用。

Original issue reported on code.google.com by hongqn on 19 Dec 2011 at 4:20

import _onering失败,QTCore4.dll找不到

What steps will reproduce the problem?
按照wiki中的windows安装guide,成功安装。并将QT*.dll的位置加入
PATH。
但import _onering失败。

Windows XP+Python 2.5

What is the expected output?


What do you see instead?


What version of the product are you using? On what operating system?


Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 7 Apr 2011 at 5:16

Attachments:

提供Windows下从源码安装的wiki

目前OneRing处于初期快速开发阶段,从源码直接编译安装更新�
��来会容易一些。

Original issue reported on code.google.com by hongqn on 24 Sep 2010 at 5:44

实现 CommonJS API

from comments of http://code.google.com/p/onering-desktop/wiki/OneRing:

Comment by dexter.yy, Oct 10
架构跟nodejs很类似,为何不实现CommonJS 
API,利用现有的大量js modules http://wiki.commonjs.org/wiki/CommonJS 
http://wiki.github.com/ry/node

Comment by project member hongqn, Oct 10
@dexter.yy 感谢建议。什么地方有用CommonJS 
API做桌面GUI程序的文档或者demo吗?

Comment by dexter.yy, Oct 11
firefox新的扩展开发架构Jetpack 
SDK:https://jetpack.mozillalabs.com/sdk/0.8/docs/#guide/packaging

我已经用它开发过一个GUI的自动化测试工具了

P.S.上一贴里module的链接帖错了…… 
http://github.com/ry/node/wiki/modules

Original issue reported on code.google.com by hongqn on 14 Oct 2010 at 6:10

systemtrayicon支持showMessage

Qt4.3里的功能

"
On Windows, the millisecondsTimeoutHint is usually ignored by the system when 
the application has focus.
On Mac OS X, the Growl notification system must be installed for this function 
to display messages."

嗯,这个功能还有个事件,是messageClicked()。
希望也能够支持对这个事件的处理。

我写了个简单的patch用来支持这个功能。
...

Original issue reported on code.google.com by [email protected] on 4 Aug 2011 at 9:16

Attachments:

在菜单中显示快捷键

I want this feature...

例如在菜单项 "打开文件" 旁显示 "⌘F"

Original issue reported on code.google.com by hongqn on 8 Oct 2010 at 10:11

http请求参数丢失问题.

What steps will reproduce the problem?
1.$.ajax({url:"/api/music/",type:"get",data{"uuid":"c76c12b9a9b57619e96eb2f77183
1c91"}});

What is the expected output?
some music information, such as {'id':1, 'length': 111.11, 'singer': 23, 
'album': 2}

What do you see instead?
{'uuid': ['this field is required']}

What version of the product are you using? On what operating system?
onering 0.1 on windows and mac os 10.6.4

Please provide any additional information below.
问题出在参数都没有被传进去...我查了一下源码.

void AppReply::parseResponse()
{
     ...
     path = url.path().toUtf8();
     ...
}

path 仅仅只是path...query string全被抛弃掉了...

我觉得应该是onering的问题,而不是我的问题.

Original issue reported on code.google.com by [email protected] on 4 Jan 2011 at 2:53

全局快捷键绑定功能

I want this feature...

提供绑定系统级全局快捷键功能,在js中可以设置快捷键以及
响应的回调函数。

可选的:

在python中也可以设置快捷键及其回调函数。

Original issue reported on code.google.com by [email protected] on 28 Sep 2010 at 9:00

Demo - Browser Launcher 无法实现所描述的功能

What steps will reproduce the problem?
1. 访问 onering Demo - Browser Launcher
2. 点击 Click to launch your default browser 按钮

What is the expected output?
在我的默认浏览器 tab 中打开 www.douban.com

What do you see instead?
没有任何反应,控制台没有报错

On what operating system?
Mac OS X 10.6.4

Please provide any additional information below.

Original issue reported on code.google.com by mockee on 10 Oct 2010 at 11:26

使用快捷键更新菜单项文本会导致程序崩溃(Windows)

What steps will reproduce the problem?
1. 为更新菜单项文本的函数绑定一个快捷键 (如: control+alt+R)
2. 使用这个快捷键

What is the expected output?
菜单项文本被更新

What do you see instead?
程序崩溃

What version of the product are you using? On what operating system?
Qt 4.7.1, Windows7

Please provide any additional information below.
- Mac OS X 10.6.6 没有问题
- 不是所有快捷键都有问题(Windows),control+alt+R 可使问题复现

Original issue reported on code.google.com by mockee on 20 Jan 2011 at 9:36

存在内存泄露

What steps will reproduce the problem?
1. 启动demo,并监视进程内存占用
2. 点击Create Window
3. 点击back to the demo homepage
4. 反复重复 2, 3 步骤

What is the expected output?

内存占用应基本保持不变

What do you see instead?

一直在涨。

Please use labels and text to provide additional information.

Original issue reported on code.google.com by hongqn on 2 Nov 2010 at 6:41

mac下,窗口隐藏后点击dock图标无法呼出窗口

What steps will reproduce the problem?
1. python demo.py
2. 点击 "System Tray Icon"
3. 点击关闭窗口图标,主窗口隐藏
4. 点击dock中的OneRing图标

What is the expected output?

窗口显示出来

What do you see instead?

没有任何反应

Please use labels and text to provide additional information.

Original issue reported on code.google.com by hongqn on 2 Feb 2011 at 6:42

createWindow()应该返回新Window对象

I want this feature...

调用createWindow()应该返回一个Window对象,并提供方法检查该窗
口是否已经关闭。

Original issue reported on code.google.com by hongqn on 14 Oct 2010 at 3:28

去除对 libqxt 的依赖

I want this feature...

libqxt 安装麻烦,而且 OneRing 
只用到了它很小一部分的功能。应该把用到的代码剥离出来��
�直接放在 OneRing 项目里维护。

Original issue reported on code.google.com by hongqn on 30 Sep 2010 at 7:32

发布二进制包

Describe the task:

0.1版本发布时,应提供windows和mac下的二进制包下载。

Original issue reported on code.google.com by hongqn on 14 Oct 2010 at 6:57

在Mac OS X下编译Python扩展模块,会不链接OneRing.framework

What steps will reproduce the problem?
1. python setup.py build
2. otool -L build/lib.macosx-10.3-i386-2.5/_onering.so

What is the expected output? What do you see instead?

expected:
build/lib.macosx-10.3-i386-2.5/_onering.so:        
OneRing.framework/Versions/1/OneRing (compatibility version 1.0.0, current 
version 1.0.0)
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.5)

然而输出的是:
build/lib.macosx-10.3-i386-2.5/_onering.so:
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.5)

Original issue reported on code.google.com by hongqn on 20 Sep 2010 at 7:43

相应系统栏图标点击事件

I want this feature...

当系统栏图标点击时,执行指定 js 函数

Original issue reported on code.google.com by hongqn on 27 Oct 2010 at 9:33

在程序退出时执行指定js

I want this feature...

在程序退出时,可以执行一段js。

Original issue reported on code.google.com by hongqn on 1 Nov 2010 at 4:29

需要一个销毁当前 systray 的方法

I want this feature...

在页面处理 beforeunload 事件时调用,以确保当前 systray 有效

Original issue reported on code.google.com by mockee on 9 Oct 2010 at 8:20

不支持shadow blur

What steps will reproduce the problem?
1. 运行demo
2. 点击Shadow
3. 把所有水平滑杆控件都拉到最右侧

What is the expected output?

应该是类似 Picture 4 中所示,阴影有blur效果。

What do you see instead?

如 Picture 3 所示,无blue效果。

Please use labels and text to provide additional information.

Original issue reported on code.google.com by hongqn on 26 Sep 2010 at 9:17

Attachments:

Ajax with response as parameter

This issue was created by revision 8822f76373.

Add ONERING.get, ONERING.getJSON and ONERING.ajax.  Pass response to javascript 
callback functions.

Original issue reported on code.google.com by hongqn on 11 Nov 2010 at 3:46

Windows下,退出程序时,任务栏图标不会自动消失

What steps will reproduce the problem?
1. 运行demo
2. 进入 System Tray Icon,任务栏出现图标
3. 点击窗口的关闭按钮退出程序

What is the expected output?

任务栏图标应该消失

What do you see instead?

任务栏图标仍然显示。当鼠标挪上去时才消失。

Original issue reported on code.google.com by hongqn on 27 Oct 2010 at 9:48

获取操作系统信息

I want this feature...

提供一个接口,供js获取操作系统信息

Original issue reported on code.google.com by hongqn on 11 Nov 2010 at 6:51

在默认浏览器中打开链接

I want this feature...

可以在用户的默认浏览器中打开某个指定链接。

Original issue reported on code.google.com by hongqn on 8 Oct 2010 at 10:07

更酷的demo

I want this feature...

一个更酷的demo有助于吸引开发者的注意力,加强项目的开发�
��量。

Original issue reported on code.google.com by hongqn on 26 Sep 2010 at 8:04

libqxt在Mac OS X 10.6.4 下无法正常编译

What steps will reproduce the problem?
1. cd libqxt
2. ./configure
3. make

What is the expected output?

编译成功

What do you see instead?

qxtglobalshortcut_mac.cpp:102: error: ‘KLGetCurrentKeyboardLayout’ was not 
declared in this scope
qxtglobalshortcut_mac.cpp:103: error: ‘KLGetKeyboardLayoutProperty’ was not 
declared in this scope
make[1]:  [debug/.obj/qxtglobalshortcut_mac.o] Error 1
make: *** [sub-src-gui-make_default] Error 2

Please use labels and text to provide additional information.

Original issue reported on code.google.com by hongqn on 8 Oct 2010 at 7:52

Dependency dlls should be list in Wiki page.

What steps will reproduce the problem?
1. Following the instruction to setup onering-desktop.
(http://code.google.com/p/onering-desktop/wiki/RunDemo)
Copy the following files into demo folder:
#IEShims.dll
#msvcm90.dll
#msvcp90.dll
#msvcr90.dll
#OneRing1.dll
#phonon4.dll
#QtCore4.dll
#QtGui4.dll
#QtNetwork4.dll
#QtScript4.dll
#QtWebKit4.dll

2. Run 'python demo.py' on Windows, shows that some dlls still missing:
Traceback (most recent call last):
  File "demo.py", line 16, in <module>
    import onering
  File "C:\Program Files\Python27\lib\site-packages\onering-0.1-py2.7-win32.egg\
onering.py", line 8, in <module>
    import _onering
ImportError: DLL load failed: The specified procedure could not be found.

What is the expected output?
demo shows up.

What do you see instead?
error shows in console.

What version of the product are you using? On what operating system?
Win7 32bit, python2.7.1, QT 2010.05

Please provide any additional information below.
I believe that I still miss some neceesary files; I would like to write a 
'*.bat' or '*.sh' to automate this step after this issue fixed :)

Original issue reported on code.google.com by [email protected] on 30 Dec 2010 at 4:04

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.