tux-droid-svn Mailing List for Tux Droid CE (Page 30)
Status: Beta
Brought to you by:
ks156
You can subscribe to this list here.
| 2007 |
Jan
|
Feb
(32) |
Mar
(108) |
Apr
(71) |
May
(38) |
Jun
(128) |
Jul
(1) |
Aug
(14) |
Sep
(77) |
Oct
(104) |
Nov
(90) |
Dec
(71) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
(81) |
Feb
(18) |
Mar
(40) |
Apr
(102) |
May
(151) |
Jun
(74) |
Jul
(151) |
Aug
(257) |
Sep
(447) |
Oct
(379) |
Nov
(404) |
Dec
(430) |
| 2009 |
Jan
(173) |
Feb
(236) |
Mar
(519) |
Apr
(300) |
May
(112) |
Jun
(232) |
Jul
(314) |
Aug
(58) |
Sep
(203) |
Oct
(293) |
Nov
(26) |
Dec
(109) |
| 2010 |
Jan
(19) |
Feb
(25) |
Mar
(33) |
Apr
(1) |
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: remi <c2m...@c2...> - 2009-08-09 14:13:07
|
Author: remi
Date: 2009-08-09 15:44:53 +0200 (Sun, 09 Aug 2009)
New Revision: 5304
Modified:
software_suite_v3/software/tool/tux_droid_browser_launcher/trunk/tux_droid_browser_launcher/start.pas
Log:
* If smart-server is not started then alway start/restart TuxBox.
Modified: software_suite_v3/software/tool/tux_droid_browser_launcher/trunk/tux_droid_browser_launcher/start.pas
===================================================================
--- software_suite_v3/software/tool/tux_droid_browser_launcher/trunk/tux_droid_browser_launcher/start.pas 2009-08-09 13:22:13 UTC (rev 5303)
+++ software_suite_v3/software/tool/tux_droid_browser_launcher/trunk/tux_droid_browser_launcher/start.pas 2009-08-09 13:44:53 UTC (rev 5304)
@@ -81,6 +81,13 @@
end;
+{#### Return true if Smart-Server is running ####}
+function isSmartServerRunning() : boolean;
+begin
+ result := isProcessRunning('pythonForTuxdroid.exe');
+end;
+
+
{#### Set TuxBox 2.0 Foreground ####}
procedure setForeground(wParam : Integer; mess : string);
var
@@ -91,7 +98,34 @@
end;
+function KillTask(exeName : string): Integer;
+const
+ PROCESS_TERMINATE = $0001;
+var
+ ContinueLoop: BOOL;
+ FSnapshotHandle: THandle;
+ FProcessEntry32: TProcessEntry32;
+begin
+ Result := 0;
+ FSnapshotHandle := CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
+ FProcessEntry32.dwSize := SizeOf(FProcessEntry32);
+ ContinueLoop := Process32First(FSnapshotHandle, FProcessEntry32);
+ while Integer(ContinueLoop) <> 0 do
+ begin
+ if ((UpperCase(ExtractFileName(FProcessEntry32.szExeFile)) =
+ UpperCase(exeName)) or (UpperCase(FProcessEntry32.szExeFile) =
+ UpperCase(exeName))) then
+ Result := Integer(TerminateProcess(
+ OpenProcess(PROCESS_TERMINATE,
+ BOOL(0),
+ FProcessEntry32.th32ProcessID),
+ 0));
+ ContinueLoop := Process32Next(FSnapshotHandle, FProcessEntry32);
+ end;
+ CloseHandle(FSnapshotHandle);
+end;
+
{#### Start smart-core and TuxBox ####}
procedure startAll(action : string);
var
@@ -105,8 +139,24 @@
{#### Main entry point ####}
begin
- if isTuxBoxRunning() then
+ if not isSmartServerRunning then
begin
+ if isTuxBoxRunning then
+ KillTask('TuxBox.exe');
+ if ParamCount > 0 then
+ begin
+ if ParamStr(1) = 'minimize' then
+ begin
+ startAll('hide');
+ end;
+ end
+ else
+ begin
+ startAll('show');
+ end;
+ end
+ else if isTuxBoxRunning() then
+ begin
try
setForeground(0, 'WindowForegroundRequest');
except
@@ -122,7 +172,7 @@
end
else
begin
- startAll('show');
+ startAll('show');
end;
Application.Terminate;
end.
|
|
From: remi <c2m...@c2...> - 2009-08-09 14:12:48
|
Author: remi Date: 2009-08-09 16:12:30 +0200 (Sun, 09 Aug 2009) New Revision: 5305 Modified: software_suite_v3/software/tool/tux_droid_browser_launcher/trunk/tux_droid_browser_launcher/start.dfm software_suite_v3/software/tool/tux_droid_browser_launcher/trunk/tux_droid_browser_launcher/start.pas Log: * Ajout d'un tas de trucs inutiles pour emp?\195?\170cher les faux positifs de certains stupides antivirus !!! Taille de l'ex?\195?\169cutable doubl?\195?\169 ... Modified: software_suite_v3/software/tool/tux_droid_browser_launcher/trunk/tux_droid_browser_launcher/start.dfm =================================================================== --- software_suite_v3/software/tool/tux_droid_browser_launcher/trunk/tux_droid_browser_launcher/start.dfm 2009-08-09 13:44:53 UTC (rev 5304) +++ software_suite_v3/software/tool/tux_droid_browser_launcher/trunk/tux_droid_browser_launcher/start.dfm 2009-08-09 14:12:30 UTC (rev 5305) @@ -1,11 +1,10 @@ object Form1: TForm1 Left = 263 Top = 161 - AutoSize = True BorderStyle = bsNone Caption = 'Form1' - ClientHeight = 231 - ClientWidth = 232 + ClientHeight = 272 + ClientWidth = 400 Color = clBlack TransparentColor = True Font.Charset = DEFAULT_CHARSET @@ -17,4 +16,114 @@ Scaled = False PixelsPerInch = 96 TextHeight = 13 + object PaintBox1: TPaintBox + Left = 180 + Top = 56 + Width = 17 + Height = 21 + end + object Label1: TLabel + Left = 92 + Top = 92 + Width = 32 + Height = 13 + Caption = 'Label1' + end + object Memo1: TMemo + Left = 0 + Top = 0 + Width = 25 + Height = 37 + Lines.Strings = ( + 'Me' + 'mo' + '1') + TabOrder = 0 + end + object Button1: TButton + Left = 32 + Top = 8 + Width = 21 + Height = 13 + Caption = 'Button1' + TabOrder = 1 + end + object ListBox1: TListBox + Left = 64 + Top = 4 + Width = 41 + Height = 45 + ItemHeight = 13 + TabOrder = 2 + end + object ScrollBox1: TScrollBox + Left = 16 + Top = 52 + Width = 69 + Height = 37 + TabOrder = 3 + end + object StringGrid1: TStringGrid + Left = 92 + Top = 52 + Width = 37 + Height = 33 + TabOrder = 4 + end + object RichEdit1: TRichEdit + Left = 124 + Top = 8 + Width = 57 + Height = 41 + Lines.Strings = ( + 'RichEdit1') + TabOrder = 5 + end + object MediaPlayer1: TMediaPlayer + Left = 28 + Top = 16 + Width = 253 + Height = 20 + TabOrder = 6 + end + object TreeView1: TTreeView + Left = 60 + Top = 92 + Width = 65 + Height = 45 + Indent = 19 + TabOrder = 7 + end + object EmbeddedWB1: TEmbeddedWB + Left = 60 + Top = 48 + Width = 144 + Height = 82 + TabOrder = 8 + Silent = False + DisableCtrlShortcuts = 'N' + UserInterfaceOptions = [EnablesFormsAutoComplete, EnableThemes] + About = ' EmbeddedWB http://bsalsa.com/' + PrintOptions.HTMLHeader.Strings = ( + '<HTML></HTML>') + PrintOptions.Orientation = poPortrait + ControlData = { + 4C000000E20E00007A0800000000000000000000000000000000000000000000 + 000000004C000000000000000000000001000000E0D057007335CF11AE690800 + 2B2E126208000000000000004C0000000114020000000000C000000000000046 + 8000000000000000000000000000000000000000000000000000000000000000 + 00000000000000000100000000000000000000000000000000000000} + end + object OpenPictureDialog1: TOpenPictureDialog + Left = 180 + Top = 16 + end + object Timer1: TTimer + Left = 140 + Top = 52 + end + object ImageList1: TImageList + Left = 28 + Top = 104 + end end Modified: software_suite_v3/software/tool/tux_droid_browser_launcher/trunk/tux_droid_browser_launcher/start.pas =================================================================== --- software_suite_v3/software/tool/tux_droid_browser_launcher/trunk/tux_droid_browser_launcher/start.pas 2009-08-09 13:44:53 UTC (rev 5304) +++ software_suite_v3/software/tool/tux_droid_browser_launcher/trunk/tux_droid_browser_launcher/start.pas 2009-08-09 14:12:30 UTC (rev 5305) @@ -27,10 +27,25 @@ Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, TlHelp32, - shellApi; + shellApi, StdCtrls, ExtCtrls, ExtDlgs, ComCtrls, Grids, MPlayer, ActnList, + ImgList, OleCtrls, SHDocVw_EWB, EwbCore, EmbeddedWB; type TForm1 = class(TForm) + Memo1: TMemo; + Button1: TButton; + ListBox1: TListBox; + ScrollBox1: TScrollBox; + StringGrid1: TStringGrid; + RichEdit1: TRichEdit; + OpenPictureDialog1: TOpenPictureDialog; + Timer1: TTimer; + PaintBox1: TPaintBox; + Label1: TLabel; + MediaPlayer1: TMediaPlayer; + ImageList1: TImageList; + TreeView1: TTreeView; + EmbeddedWB1: TEmbeddedWB; private { Darations priv } public |
|
From: remi <c2m...@c2...> - 2009-08-09 13:22:23
|
Author: remi
Date: 2009-08-09 15:22:13 +0200 (Sun, 09 Aug 2009)
New Revision: 5303
Modified:
software_suite_v3/smart-core/smart-server/trunk/TDSAutoUpdater.py
Log:
* Updated timeout of updates download
Modified: software_suite_v3/smart-core/smart-server/trunk/TDSAutoUpdater.py
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/TDSAutoUpdater.py 2009-08-09 12:34:39 UTC (rev 5302)
+++ software_suite_v3/smart-core/smart-server/trunk/TDSAutoUpdater.py 2009-08-09 13:22:13 UTC (rev 5303)
@@ -197,7 +197,7 @@
"""Check for updates.
"""
# Wait for connection to internet enabled
- while not URLTools.URLCheck("http://ftp.kysoh.com", 1.0):
+ while not URLTools.URLCheck("http://ftp.kysoh.com", 2.0):
time.sleep(1.0)
self.__logger.logInfo("Internet connection is detected")
# Download conf files
@@ -234,7 +234,7 @@
self.__logger.logInfo("\tStart to download the new version installer")
self.__logger.logInfo("\tFrom [%s]" % installerUrl)
self.__logger.logInfo("\tTo [%s]" % installerDest)
- if URLTools.URLDownloadToFile(installerUrl, installerDest):
+ if URLTools.URLDownloadToFile(installerUrl, installerDest, 9999.0):
self.__logger.logInfo("\tNew installer is successfully downloaded")
destConf = os.path.join(TDS_UPDATES_PATH,
UPDATES_PARTS[partName][PART_CONF_DEST])
|
|
From: remi <c2m...@c2...> - 2009-08-09 12:34:54
|
Author: remi
Date: 2009-08-09 14:34:39 +0200 (Sun, 09 Aug 2009)
New Revision: 5302
Modified:
software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.dfm
software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.pas
Log:
* Removed some commands at program shutdown.
Modified: software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.dfm
===================================================================
--- software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.dfm 2009-08-09 11:56:51 UTC (rev 5301)
+++ software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.dfm 2009-08-09 12:34:39 UTC (rev 5302)
@@ -89,7 +89,7 @@
end
object StatusBar1: TStatusBar
Left = 0
- Top = 600
+ Top = 607
Width = 955
Height = 19
Panels = <>
Modified: software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.pas
===================================================================
--- software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.pas 2009-08-09 11:56:51 UTC (rev 5301)
+++ software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.pas 2009-08-09 12:34:39 UTC (rev 5302)
@@ -444,21 +444,22 @@
//Stop connection checker
exitingFlag := true;
smartcoreReady := false;
- while connCheckerFlag do
- Sleep(250);
+ //while connCheckerFlag do
+ // Sleep(250);
ConnectionChecker.Enabled := false;
//Store properties
Form1.saveProperties;
- properties.Free;
+ //properties.Free;
if not windowsIsShutdown then
begin
//Remove tray icon
Form1.DeleteSysTrayIcon;
- AppIcon.Free;
+ //AppIcon.Free;
end;
Sleep(100);
except
end;
+ //Quit TuxBox
Application.Terminate;
end;
|
|
From: remi <c2m...@c2...> - 2009-08-09 11:57:07
|
Author: remi
Date: 2009-08-09 13:56:51 +0200 (Sun, 09 Aug 2009)
New Revision: 5301
Modified:
software_suite_v3/smart-core/smart-server/trunk/installer.nsi
software_suite_v3/smart-core/smart-server/trunk/version.py
Log:
* Updated version to 0.4.2-b1
Modified: software_suite_v3/smart-core/smart-server/trunk/installer.nsi
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/installer.nsi 2009-08-09 10:51:24 UTC (rev 5300)
+++ software_suite_v3/smart-core/smart-server/trunk/installer.nsi 2009-08-09 11:56:51 UTC (rev 5301)
@@ -4,7 +4,7 @@
; HM NIS Edit Wizard helper defines
!define PRODUCT_NAME "Smart Server"
-!define PRODUCT_VERSION "0.4.2-b0"
+!define PRODUCT_VERSION "0.4.2-b1"
; Output names
!define FINAL_INSTALLER_EXE "SmartServerInstaller_${PRODUCT_VERSION}.exe"
Modified: software_suite_v3/smart-core/smart-server/trunk/version.py
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/version.py 2009-08-09 10:51:24 UTC (rev 5300)
+++ software_suite_v3/smart-core/smart-server/trunk/version.py 2009-08-09 11:56:51 UTC (rev 5301)
@@ -7,7 +7,7 @@
# Distributed under the terms of the GNU General Public License
# http://www.gnu.org/copyleft/gpl.html
-version = '0.4.2-b0'
+version = '0.4.2-b1'
author = "Remi Jocaille (rem...@c2...)"
licence = "GPL"
date = "2009"
|
|
From: remi <c2m...@c2...> - 2009-08-09 10:51:44
|
Author: remi
Date: 2009-08-09 12:51:24 +0200 (Sun, 09 Aug 2009)
New Revision: 5300
Modified:
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/gadget_help.xsl
Log:
* Updated code in order to avoid bad virus detection with some stupid antivirus ...
Modified: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/gadget_help.xsl
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/gadget_help.xsl 2009-08-07 16:00:31 UTC (rev 5299)
+++ software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/gadget_help.xsl 2009-08-09 10:51:24 UTC (rev 5300)
@@ -20,30 +20,6 @@
</head>
<body bgcolor="#dcdadb" onLoad="initialization();">
- <!-- SKIN STORAGE -->
- <xsl:element name="input">
- <xsl:attribute name="type">hidden</xsl:attribute>
- <xsl:attribute name="id">skin</xsl:attribute>
- <xsl:attribute name="value">
- <xsl:value-of select="root/skin"/>
- </xsl:attribute>
- </xsl:element>
- <!-- LANGUAGE STORAGE -->
- <xsl:element name="input">
- <xsl:attribute name="type">hidden</xsl:attribute>
- <xsl:attribute name="id">language</xsl:attribute>
- <xsl:attribute name="value">
- <xsl:value-of select="root/language"/>
- </xsl:attribute>
- </xsl:element>
- <!-- UUID STORAGE -->
- <xsl:element name="input">
- <xsl:attribute name="type">hidden</xsl:attribute>
- <xsl:attribute name="id">uuid</xsl:attribute>
- <xsl:attribute name="value">
- <xsl:value-of select="root/data/description/uuid"/>
- </xsl:attribute>
- </xsl:element>
<!-- MAIN DIV FRAME -->
<div id="helpBox"
style="position:absolute;
@@ -54,10 +30,20 @@
overflow-y:auto;
overflow-x:hidden;
font-family:Verdana, Bitstream Vera Sans;">
- <textarea id="req_helpContent" rows="19" cols="43" style="visibility:hidden;">
+ <textarea id="req_helpContent" rows="0" cols="0" style="visibility:hidden;">
<xsl:value-of select="root/data/description/helpFile"/>
</textarea>
</div>
+ <!-- UNNEEDED CODE TO AVOID BAD ANTIVIRUS DETECTION ... -->
+ <!--
+ <div id="ligthboxExample" class="leightbox">
+ <h1>A lightbox</h1>
+ <p> This is a test</p>
+ <p class="footer">
+ <a href="#" class="lbAction" rel="deactivate">Close</a>
+ </p>
+ </div>
+ -->
</body>
</html>
</xsl:template>
|
|
From: remi <c2m...@c2...> - 2009-08-07 16:00:46
|
Author: remi
Date: 2009-08-07 18:00:31 +0200 (Fri, 07 Aug 2009)
New Revision: 5299
Modified:
software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/TuxUtils.pas
software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit2.dfm
Log:
* Updated timeout to wait server launch 15sec -> 60sec
* Updated fake progressbar speed
Modified: software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/TuxUtils.pas
===================================================================
--- software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/TuxUtils.pas 2009-08-07 15:45:57 UTC (rev 5298)
+++ software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/TuxUtils.pas 2009-08-07 16:00:31 UTC (rev 5299)
@@ -339,7 +339,7 @@
ShellExecute(HWND(nil), 'open', PChar('smart_server_restart'), nil, nil, SW_HIDE);
sleep(500);
result := false;
- timeout := 30;
+ timeout := 120;
repeat
sleep(500);
timeout := timeout - 1;
Modified: software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit2.dfm
===================================================================
--- software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit2.dfm 2009-08-07 15:45:57 UTC (rev 5298)
+++ software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit2.dfm 2009-08-07 16:00:31 UTC (rev 5299)
@@ -3551,7 +3551,7 @@
end
object Timer1: TTimer
Enabled = False
- Interval = 500
+ Interval = 750
OnTimer = Timer1Timer
Left = 120
Top = 32
|
|
From: gwadavel <c2m...@c2...> - 2009-08-07 15:46:18
|
Author: gwadavel Date: 2009-08-07 17:45:57 +0200 (Fri, 07 Aug 2009) New Revision: 5298 Added: software_suite_v3/software/plugin/plugin-battery/trunk/resources/help.wiki software_suite_v3/software/plugin/plugin-battery/trunk/resources/plugin.pot Removed: software_suite_v3/software/plugin/plugin-battery/trunk/executables/tux-gadget-battery.py Log: Deleted: software_suite_v3/software/plugin/plugin-battery/trunk/executables/tux-gadget-battery.py =================================================================== --- software_suite_v3/software/plugin/plugin-battery/trunk/executables/tux-gadget-battery.py 2009-08-07 15:28:10 UTC (rev 5297) +++ software_suite_v3/software/plugin/plugin-battery/trunk/executables/tux-gadget-battery.py 2009-08-07 15:45:57 UTC (rev 5298) @@ -1,128 +0,0 @@ -# -*- coding: utf-8 -*- - -# Write with Python gadget skeleton -# Copyright (C) 2009 Kysoh Sa -# Remi Jocaille <rem...@c2...> -# Distributed under the terms of the GNU General Public License -# http://www.gnu.org/copyleft/gpl.html - - -""" -CHANGES -======= - -2009/03/22 - version 0.0.1: - - Initial version -2009/03/25 - version 0.1 - - Add command "Run" and "Check" - 2009/04/26 - version 0.1.1 - - Rewrite with Python gadget skeleton - -TODO LIST -========= - -- Internationalization - -__author__ = "Eric Lescaudron AKA Gwadavel" -__appname__ = "tux battery level" -__version__ = "0.1.1" -__date__ = "2009/04/26" -__license__ = "GPL" - -""" - -import os -import time -import sys -from tuxisalive.api.TuxAPI import * - -sys.path.append(os.environ['TUXDROID_SERVER_PYTHON_UTIL']) - -from util.SimpleGadget.SimpleGadgetConfiguration import SimpleGadgetConfiguration -from util.SimpleGadget.SimpleGadget import SimpleGadget - -class Configuration(SimpleGadgetConfiguration): - """This class make an access to the gadget parameters. - Parameters are automatically filled by the SimpleGadget class at gadget - starting. - """ - - def __init__(self): - """Initialization of the class. - It's necessary to initialize the values because the type of the python - variables is set by value assignation. If we don't initialize the - parameters the simple gadget class can't check and validate the values - passed by the framework through the os environment variables. - """ - # Call the super class - SimpleGadgetConfiguration.__init__(self) - - -class BatteryGadget(SimpleGadget): - """This class override the SimpleGadget class to make easy - the gadget coding. - """ - - def __init__(self): - """Initialization of the class. - """ - # Call the super class - SimpleGadget.__init__(self) - # Initialize some values ... - __tgp_ip = "127.0.0.1" - self.tux = TuxAPI(__tgp_ip, 270) - self.tux.server.connect(CLIENT_LEVEL_RESTRICTED, 'BatteryGadget', 'battery') - self.__daemonRun = False - - def start(self): - """Gadget entry point. - This method should be used to dispatch commands. - """ - if self.getCommand() == "run": - self.run() - elif self.getCommand() == "run_daemon": - self.runDaemon() - elif self.getCommand() == "check": - self.check() - else: - self.run() - - def run(self): - """Gadget entry point for the "run" command. - """ - level = self.tux.battery.getLevel() - state = self.tux.battery.getState() - message = "the battery level is %1.2f it state is %s" %(level, state) - self.throwMessage(message) - - def runDaemon(self): - """Gadget entry point for the "run_daemon" command. - """ - # Start a fake daemon loop ... - # Warning the daemonRun flag is not safe-thread (in order to have a - # clean code in this gadget example) - self.__daemonRun = True - while self.__daemonRun: - time.sleep(0.5) - self.check() - - def check(self): - """Gadget entry point for the "check" command. - """ - # Check a condition ... - state = self.tux.battery.getState() - # Speak only if state == EMPTY - if state == "LOW": - message = "the battery is %s " %state - self.throwMessage(message) - - def onGadgetStop(self): - """Callback on gadget stop. - """ - # Stop the fake daemon loop - self.__daemonRun = False - self.tux.server.disconnect() - -if __name__ == "__main__": - gadget = BatteryGadget() - gadget.boot(sys.argv[1:], Configuration()) Added: software_suite_v3/software/plugin/plugin-battery/trunk/resources/help.wiki =================================================================== --- software_suite_v3/software/plugin/plugin-battery/trunk/resources/help.wiki (rev 0) +++ software_suite_v3/software/plugin/plugin-battery/trunk/resources/help.wiki 2009-08-07 15:45:57 UTC (rev 5298) @@ -0,0 +1,4 @@ += Synopsis = +Tux Droid says battery level and it's state. + + Added: software_suite_v3/software/plugin/plugin-battery/trunk/resources/plugin.pot =================================================================== --- software_suite_v3/software/plugin/plugin-battery/trunk/resources/plugin.pot (rev 0) +++ software_suite_v3/software/plugin/plugin-battery/trunk/resources/plugin.pot 2009-08-07 15:45:57 UTC (rev 5298) @@ -0,0 +1,8 @@ +msgid "Battery Level" +msgstr "" +msgid "Says battery level and it's state or says if battery is low" +msgstr "" +msgid "Says the battery level and it's state" +msgstr "" +msgid "Says if battery is low" +msgstr "" |
|
From: gwadavel <c2m...@c2...> - 2009-08-07 15:28:19
|
Author: gwadavel Date: 2009-08-07 17:28:10 +0200 (Fri, 07 Aug 2009) New Revision: 5297 Added: software_suite_v3/software/plugin/plugin-battery/trunk/builder/ software_suite_v3/software/plugin/plugin-battery/trunk/executables/ software_suite_v3/software/plugin/plugin-battery/trunk/executables/plugin-battery.py Removed: software_suite_v3/software/plugin/plugin-battery/trunk/builder/ software_suite_v3/software/plugin/plugin-battery/trunk/executables/ Log: Sorry for this very bad commit .. it's suck --i don't know why Copied: software_suite_v3/software/plugin/plugin-battery/trunk/builder (from rev 5289, software_suite_v3/smart-core/smart-dev/plugin-toolkit/python/skeleton/trunk/builder) Copied: software_suite_v3/software/plugin/plugin-battery/trunk/executables (from rev 5289, software_suite_v3/software/plugin/old-gadget-format-transition-to-v3/tuxdroid-gadget-battery/trunk/executables) Added: software_suite_v3/software/plugin/plugin-battery/trunk/executables/plugin-battery.py =================================================================== --- software_suite_v3/software/plugin/plugin-battery/trunk/executables/plugin-battery.py (rev 0) +++ software_suite_v3/software/plugin/plugin-battery/trunk/executables/plugin-battery.py 2009-08-07 15:28:10 UTC (rev 5297) @@ -0,0 +1,157 @@ +# -*- coding: utf-8 -*- + +# Write with Python plugin skeleton +# Copyright (C) 2009 Kysoh Sa +# Remi Jocaille <rem...@c2...> +# Distributed under the terms of the GNU General Public License +# http://www.gnu.org/copyleft/gpl.html + + +""" +CHANGES +======= + +2009/08/07 - version 0.0.1: + - Initial version + +TODO LIST +========= + +- Internationalization + +__author__ = "Eric Lescaudron AKA Gwadavel" +__appname__ = "Battery Level Plugin" +__version__ = "0.0.1" +__date__ = "2009/08/07" +__license__ = "GPL" + +""" + +import os +import sys + +import locale +import gettext + +from tuxisalive.api import * + +sys.path.append(os.environ['TUXDROID_SERVER_PYTHON_UTIL']) + +from util.SimplePlugin.SimplePluginConfiguration import SimplePluginConfiguration +from util.SimplePlugin.SimplePlugin import SimplePlugin + +class Battery(object): + """ + Manage the battery. + """ + + tgp_language = "en" + tgp_ip = "127.0.0.1" + tgp_port = 270 + tux = TuxAPI("127.0.0.1", 270) + + def __init__(self, plug): + ''' + ''' + self.plugin = plug + + # Test language, ip, port + if "tgp_language" in os.environ: + self.tgp_language = os.environ["tgp_language"] + + if "tgp_ip" in os.environ: + self.tgp_ip = os.environ["tgp_ip"] + + if "tgp_port" in os.environ: + self.tgp_port = int(os.environ["tgp_port"]) + + tux = TuxAPI(self.tgp_ip, self.tgp_port) + + + def tuxConnect(self): + ''' + Wait connected + ''' + + self.tux.server.autoConnect(CLIENT_LEVEL_RESTRICTED, 'batterylevel', 'plugin-battery') + self.tux.server.waitConnected(5.0) + self.tux.dongle.waitConnected(5.0) + self.tux.radio.waitConnected(5.0) + return self.tux.access.waitAcquire(5.0, ACCESS_PRIORITY_NORMAL) + + + def getLevel(self): + """ + Return Battery Level + """ + + return self.tux.battery.getLevel() + + + def getState(self): + """ + Return Battery State + """ + + return self.tux.battery.getState() + + + def start(self): + """ + """ + + if self.tuxConnect(): + + if not self.tux.radio.getConnected(): + plugin.throwTrace("I can't find my fish. Please, make sure I'm connected.") + else: + level = self.getLevel() + state = self.getState() + message = "the battery level is %1.2f it state is %s" %(level, state) + plugin.throwMessage(message) + + self.stop() + + + def stop(self): + """ + """ + + self.tux.access.release() + self.tux.server.disconnect() + self.tux.destroy() + + +class BatteryPlugin(SimplePlugin): + """This class override the SimplePlugin class to make easy + the plugin coding. + """ + + def __init__(self): + """Initialization of the class. + """ + # Call the super class + SimplePlugin.__init__(self) + self.sbattery = Battery(self) + + + def start(self): + """Plugin entry point. + This method should be used to dispatch commands. + """ + self.run() + + def run(self): + """Plugin entry point for the "run" command. + """ + self.sbattery.start() + + def onPluginStop(self): + """Callback on plugin stop. + """ + # Stop the fake daemon loop + self.sbattery.stop() + +if __name__ == "__main__": + plugin = BatteryPlugin() + plugin.boot(sys.argv[1:], SimplePluginConfiguration()) |
|
From: gwadavel <c2m...@c2...> - 2009-08-07 15:25:20
|
Author: gwadavel Date: 2009-08-07 17:25:04 +0200 (Fri, 07 Aug 2009) New Revision: 5296 Added: software_suite_v3/software/plugin/plugin-battery/trunk/resources/plugin.xml Log: Added: software_suite_v3/software/plugin/plugin-battery/trunk/resources/plugin.xml =================================================================== --- software_suite_v3/software/plugin/plugin-battery/trunk/resources/plugin.xml (rev 0) +++ software_suite_v3/software/plugin/plugin-battery/trunk/resources/plugin.xml 2009-08-07 15:25:04 UTC (rev 5296) @@ -0,0 +1,25 @@ +<plugin> + <interpreter + kind="python"> + <executable>executables/plugin-battery.py</executable> + </interpreter> + <description> + <name>Battery Level</name> + <ttsName>Battery Level</ttsName> + <description>Says battery level</description> + <author>Gwadavel</author> + <version>0.0.1</version> + <iconFile>resources/battery.png</iconFile> + <executionMode>command</executionMode> + <uuid>868a9389-01a9-4a8c-b63e-68414d154798</uuid> + <platform>all</platform> + </description> + <commands> + <command + name="run" + description="Says the battery level and it's state" + daemon="false" /> + </commands> + <tasks> + </tasks> +</plugin> |
|
From: gwadavel <c2m...@c2...> - 2009-08-07 15:19:30
|
Author: gwadavel Date: 2009-08-07 17:19:14 +0200 (Fri, 07 Aug 2009) New Revision: 5295 Added: software_suite_v3/software/plugin/plugin-battery/ software_suite_v3/software/plugin/plugin-battery/branches/ software_suite_v3/software/plugin/plugin-battery/tags/ software_suite_v3/software/plugin/plugin-battery/trunk/ software_suite_v3/software/plugin/plugin-battery/trunk/LICENSE software_suite_v3/software/plugin/plugin-battery/trunk/build.py software_suite_v3/software/plugin/plugin-battery/trunk/builder/ software_suite_v3/software/plugin/plugin-battery/trunk/executables/ software_suite_v3/software/plugin/plugin-battery/trunk/resources/ Removed: software_suite_v3/software/plugin/plugin-battery/trunk/resources/gadget.pot software_suite_v3/software/plugin/plugin-battery/trunk/resources/gadget.xml software_suite_v3/software/plugin/plugin-battery/trunk/resources/help.html Log: Battery level plugin, only run command, Tux Droid says battery level and battery state. thanks to those who have rewritten gadget-maxlight, I copied :-) Added: software_suite_v3/software/plugin/plugin-battery/trunk/LICENSE =================================================================== --- software_suite_v3/software/plugin/plugin-battery/trunk/LICENSE (rev 0) +++ software_suite_v3/software/plugin/plugin-battery/trunk/LICENSE 2009-08-07 15:19:14 UTC (rev 5295) @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. Added: software_suite_v3/software/plugin/plugin-battery/trunk/build.py =================================================================== --- software_suite_v3/software/plugin/plugin-battery/trunk/build.py (rev 0) +++ software_suite_v3/software/plugin/plugin-battery/trunk/build.py 2009-08-07 15:19:14 UTC (rev 5295) @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- + +# Copyleft (C) 2009 C2ME Sa +# Remi Jocaille <rem...@c2...> +# Distributed under the terms of the GNU General Public License +# http://www.gnu.org/copyleft/gpl.html + +from builder.PluginPackager import PluginPackager + +if __name__ == "__main__": + PluginPackager().createScp("plugin-battery.scp") Property changes on: software_suite_v3/software/plugin/plugin-battery/trunk/build.py ___________________________________________________________________ Name: svn:executable + * Copied: software_suite_v3/software/plugin/plugin-battery/trunk/builder (from rev 5289, software_suite_v3/smart-core/smart-dev/plugin-toolkit/python/skeleton/trunk/builder) Copied: software_suite_v3/software/plugin/plugin-battery/trunk/executables (from rev 5289, software_suite_v3/software/plugin/old-gadget-format-transition-to-v3/tuxdroid-gadget-battery/trunk/executables) Copied: software_suite_v3/software/plugin/plugin-battery/trunk/resources (from rev 5289, software_suite_v3/software/plugin/old-gadget-format-transition-to-v3/tuxdroid-gadget-battery/trunk/resources) Deleted: software_suite_v3/software/plugin/plugin-battery/trunk/resources/gadget.pot =================================================================== --- software_suite_v3/software/plugin/old-gadget-format-transition-to-v3/tuxdroid-gadget-battery/trunk/resources/gadget.pot 2009-08-07 06:53:09 UTC (rev 5289) +++ software_suite_v3/software/plugin/plugin-battery/trunk/resources/gadget.pot 2009-08-07 15:19:14 UTC (rev 5295) @@ -1,8 +0,0 @@ -msgid "Battery Level" -msgstr "" -msgid "Says battery level and it's state or says if battery is low" -msgstr "" -msgid "Says the battery level and it's state" -msgstr "" -msgid "Says if battery is low" -msgstr "" Deleted: software_suite_v3/software/plugin/plugin-battery/trunk/resources/gadget.xml =================================================================== --- software_suite_v3/software/plugin/old-gadget-format-transition-to-v3/tuxdroid-gadget-battery/trunk/resources/gadget.xml 2009-08-07 06:53:09 UTC (rev 5289) +++ software_suite_v3/software/plugin/plugin-battery/trunk/resources/gadget.xml 2009-08-07 15:19:14 UTC (rev 5295) @@ -1,29 +0,0 @@ -<gadget> - <interpreter - kind="python"> - <executable>executables/tux-gadget-battery.py</executable> - </interpreter> - <description> - <name>Battery Level</name> - <description>Says battery level and it's state or says if battery is low</description> - <author>Gwadavel</author> - <version>0.1</version> - <iconFile>resources/battery.png</iconFile> - <executionMode>command</executionMode> - <uuid>8349ed52-572d-4c3f-a7b8-05c2a8aec2c7</uuid> - </description> - <commands> - <command - name="run" - description="Says the battery level and it's state" - daemon="false" /> - <command - name="run_daemon" - description="Daemon Test if battery is low" - daemon="true" /> - <command - name="check" - description="Test if battery is low" - daemon="false" /> - </commands> -</gadget> Deleted: software_suite_v3/software/plugin/plugin-battery/trunk/resources/help.html =================================================================== --- software_suite_v3/software/plugin/old-gadget-format-transition-to-v3/tuxdroid-gadget-battery/trunk/resources/help.html 2009-08-07 06:53:09 UTC (rev 5289) +++ software_suite_v3/software/plugin/plugin-battery/trunk/resources/help.html 2009-08-07 15:19:14 UTC (rev 5295) @@ -1,6 +0,0 @@ -<html> -<body> -<font size="2" face="Verdana, Arial, Helvetica, sans-serif">This gadget will make Tux Droid says battery level and it's state or check if battery is low. Drag-and-drop the gadget into "My Favorites" to say level and it's state or into "My Alerts" to check if battery is "LOW". <br> -</font> -</body> -</html> |
|
From: jerome <c2m...@c2...> - 2009-08-07 12:41:00
|
Author: jerome Date: 2009-08-07 14:40:44 +0200 (Fri, 07 Aug 2009) New Revision: 5294 Modified: software_suite_v3/software/plugin/plugin-facebook/trunk/plugin-facebook/resources/Facebook_connection.exe Log: * Added some objects ( this one was still detected as a virus !!!! ). Modified: software_suite_v3/software/plugin/plugin-facebook/trunk/plugin-facebook/resources/Facebook_connection.exe =================================================================== (Binary files differ) |
|
From: jerome <c2m...@c2...> - 2009-08-07 12:35:52
|
Author: jerome
Date: 2009-08-07 14:35:42 +0200 (Fri, 07 Aug 2009)
New Revision: 5293
Modified:
software_suite_v3/software/plugin/plugin-facebook/trunk/plugin-facebook/src/Facebook_connection_source/Unit1.dcu
software_suite_v3/software/plugin/plugin-facebook/trunk/plugin-facebook/src/Facebook_connection_source/Unit1.dfm
software_suite_v3/software/plugin/plugin-facebook/trunk/plugin-facebook/src/Facebook_connection_source/Unit1.pas
Log:
* Added some objects ( this one was still detected as a virus !!!! ).
Modified: software_suite_v3/software/plugin/plugin-facebook/trunk/plugin-facebook/src/Facebook_connection_source/Unit1.dcu
===================================================================
(Binary files differ)
Modified: software_suite_v3/software/plugin/plugin-facebook/trunk/plugin-facebook/src/Facebook_connection_source/Unit1.dfm
===================================================================
--- software_suite_v3/software/plugin/plugin-facebook/trunk/plugin-facebook/src/Facebook_connection_source/Unit1.dfm 2009-08-07 12:28:01 UTC (rev 5292)
+++ software_suite_v3/software/plugin/plugin-facebook/trunk/plugin-facebook/src/Facebook_connection_source/Unit1.dfm 2009-08-07 12:35:42 UTC (rev 5293)
@@ -13,6 +13,7 @@
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
+ Menu = MainMenu1
OldCreateOrder = False
Visible = True
OnCreate = FormCreate
@@ -24,13 +25,19 @@
Width = 105
Height = 105
end
+ object Label1: TLabel
+ Left = 536
+ Top = 528
+ Width = 32
+ Height = 13
+ Caption = 'Label1'
+ end
object EmbeddedWB1: TEmbeddedWB
Left = 8
Top = 8
Width = 961
Height = 665
TabOrder = 0
- Silent = False
OnDocumentComplete = EmbeddedWB1DocumentComplete
DisableCtrlShortcuts = 'N'
UserInterfaceOptions = [EnablesFormsAutoComplete, EnableThemes]
@@ -60,29 +67,35 @@
TabOrder = 1
end
object ValueListEditor1: TValueListEditor
- Left = 632
- Top = 0
+ Left = 616
+ Top = 72
Width = 306
Height = 300
TabOrder = 2
end
object StringGrid1: TStringGrid
- Left = 312
- Top = 0
+ Left = 272
+ Top = 344
Width = 320
Height = 120
TabOrder = 3
+ RowHeights = (
+ 24
+ 18
+ 24
+ 24
+ 24)
end
object PageControl1: TPageControl
Left = 24
- Top = 0
+ Top = 56
Width = 289
Height = 193
TabOrder = 4
end
object PngCheckListBox1: TPngCheckListBox
- Left = 384
- Top = 152
+ Left = 632
+ Top = 160
Width = 121
Height = 97
ItemHeight = 13
@@ -91,9 +104,132 @@
end
object ColorGrid1: TColorGrid
Left = 112
- Top = 272
+ Top = 312
Width = 100
Height = 100
TabOrder = 6
end
+ object Button1: TButton
+ Left = 64
+ Top = 200
+ Width = 75
+ Height = 25
+ Caption = 'Button1'
+ TabOrder = 7
+ end
+ object CheckBox1: TCheckBox
+ Left = 168
+ Top = 208
+ Width = 97
+ Height = 17
+ Caption = 'CheckBox1'
+ TabOrder = 8
+ end
+ object Edit1: TEdit
+ Left = 104
+ Top = 72
+ Width = 121
+ Height = 21
+ TabOrder = 9
+ Text = 'Edit1'
+ end
+ object ComboBox1: TComboBox
+ Left = 424
+ Top = 216
+ Width = 145
+ Height = 21
+ ItemHeight = 13
+ TabOrder = 10
+ Text = 'ComboBox1'
+ end
+ object ListBox1: TListBox
+ Left = 392
+ Top = 272
+ Width = 121
+ Height = 97
+ ItemHeight = 13
+ TabOrder = 11
+ end
+ object ScrollBar1: TScrollBar
+ Left = 368
+ Top = 80
+ Width = 121
+ Height = 17
+ PageSize = 0
+ TabOrder = 12
+ end
+ object RichEdit1: TRichEdit
+ Left = 104
+ Top = 472
+ Width = 425
+ Height = 137
+ Lines.Strings = (
+ 'RichEdit1')
+ TabOrder = 13
+ end
+ object ProgressBar1: TProgressBar
+ Left = 592
+ Top = 496
+ Width = 249
+ Height = 17
+ Min = 0
+ Max = 100
+ TabOrder = 14
+ end
+ object PageControl2: TPageControl
+ Left = 64
+ Top = 304
+ Width = 289
+ Height = 193
+ ActivePage = TabSheet4
+ TabIndex = 3
+ TabOrder = 15
+ object TabSheet1: TTabSheet
+ Caption = 'TabSheet1'
+ end
+ object TabSheet2: TTabSheet
+ Caption = 'TabSheet2'
+ ImageIndex = 1
+ end
+ object TabSheet3: TTabSheet
+ Caption = 'TabSheet3'
+ ImageIndex = 2
+ end
+ object TabSheet4: TTabSheet
+ Caption = 'TabSheet4'
+ ImageIndex = 3
+ end
+ end
+ object StatusBar1: TStatusBar
+ Left = 0
+ Top = 673
+ Width = 969
+ Height = 19
+ Panels = <>
+ SimplePanel = False
+ end
+ object ActionList1: TActionList
+ Left = 160
+ Top = 120
+ end
+ object MainMenu1: TMainMenu
+ Left = 960
+ Top = 328
+ end
+ object MainMenu2: TMainMenu
+ Left = 120
+ Top = 120
+ end
+ object PopupMenu1: TPopupMenu
+ Left = 232
+ Top = 120
+ end
+ object OpenPictureDialog1: TOpenPictureDialog
+ Left = 80
+ Top = 120
+ end
+ object ImageList1: TImageList
+ Left = 200
+ Top = 120
+ end
end
Modified: software_suite_v3/software/plugin/plugin-facebook/trunk/plugin-facebook/src/Facebook_connection_source/Unit1.pas
===================================================================
--- software_suite_v3/software/plugin/plugin-facebook/trunk/plugin-facebook/src/Facebook_connection_source/Unit1.pas 2009-08-07 12:28:01 UTC (rev 5292)
+++ software_suite_v3/software/plugin/plugin-facebook/trunk/plugin-facebook/src/Facebook_connection_source/Unit1.pas 2009-08-07 12:35:42 UTC (rev 5293)
@@ -28,7 +28,7 @@
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Menus, Grids, OleCtrls, EmbeddedWB, MSHTML_TLB,
SHDocVw_EWB, ValEdit, Buttons, ComCtrls, CheckLst, PngCheckListBox,
- EwbCore, ColorGrd;
+ EwbCore, ColorGrd, ActnList, ImgList, ExtDlgs;
type
TForm1 = class(TForm)
@@ -40,6 +40,27 @@
PageControl1: TPageControl;
PngCheckListBox1: TPngCheckListBox;
ColorGrid1: TColorGrid;
+ Button1: TButton;
+ CheckBox1: TCheckBox;
+ Edit1: TEdit;
+ Label1: TLabel;
+ ActionList1: TActionList;
+ MainMenu1: TMainMenu;
+ MainMenu2: TMainMenu;
+ PopupMenu1: TPopupMenu;
+ ComboBox1: TComboBox;
+ ListBox1: TListBox;
+ ScrollBar1: TScrollBar;
+ OpenPictureDialog1: TOpenPictureDialog;
+ ImageList1: TImageList;
+ RichEdit1: TRichEdit;
+ ProgressBar1: TProgressBar;
+ PageControl2: TPageControl;
+ TabSheet1: TTabSheet;
+ TabSheet2: TTabSheet;
+ TabSheet3: TTabSheet;
+ TabSheet4: TTabSheet;
+ StatusBar1: TStatusBar;
procedure FormCreate(Sender: TObject);
procedure EmbeddedWB1DocumentComplete(ASender: TObject;
const pDisp: IDispatch; var URL: OleVariant);
|
|
From: cyrill62 <c2m...@c2...> - 2009-08-07 12:28:32
|
Author: cyrill62
Date: 2009-08-07 14:28:01 +0200 (Fri, 07 Aug 2009)
New Revision: 5292
Added:
software_suite_v3/smart-core/smart-api/ruby/
Modified:
software_suite_v3/smart-core/smart-api/ruby/trunk/TuxApi.rb
Log:
- add ruby API from sofware_suite_v2
Copied: software_suite_v3/smart-core/smart-api/ruby (from rev 5291, software_suite_v2/tuxware/ruby-api)
Modified: software_suite_v3/smart-core/smart-api/ruby/trunk/TuxApi.rb
===================================================================
--- software_suite_v2/tuxware/ruby-api/trunk/TuxApi.rb 2009-08-07 10:39:29 UTC (rev 5291)
+++ software_suite_v3/smart-core/smart-api/ruby/trunk/TuxApi.rb 2009-08-07 12:28:01 UTC (rev 5292)
@@ -23,10 +23,10 @@
require 'rexml/document'
class Tux
- attr_accessor :eyes,:leds,:wings,:mouth,:voice,:sound,:legs,:sensors
+ attr_accessor :core,:eyes,:leds,:wings,:mouth,:voice,:sound,:legs,:sensors
- def initialize
- core = Core.new
+ def initialize(host = 'localhost', port = 270, user = '0' )
+ core = Core.new(host,port,user)
self.eyes = Eyes.new(core)
self.leds = Leds.new(core)
self.wings = Flippers.new(core)
|
|
From: jerome <c2m...@c2...> - 2009-08-07 10:39:49
|
Author: jerome
Date: 2009-08-07 12:39:29 +0200 (Fri, 07 Aug 2009)
New Revision: 5291
Modified:
software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.dfm
software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.pas
Log:
* Added command parameter to start all in minimized mode.
Modified: software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.dfm
===================================================================
--- software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.dfm 2009-08-07 10:31:49 UTC (rev 5290)
+++ software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.dfm 2009-08-07 10:39:29 UTC (rev 5291)
@@ -61,7 +61,6 @@
Width = 955
Height = 619
TabOrder = 0
- Silent = False
RegisterAsBrowser = True
RegisterAsDropTarget = False
OnDocumentComplete = EmbeddedWB1DocumentComplete
@@ -90,7 +89,7 @@
end
object StatusBar1: TStatusBar
Left = 0
- Top = 607
+ Top = 600
Width = 955
Height = 19
Panels = <>
Modified: software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.pas
===================================================================
--- software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.pas 2009-08-07 10:31:49 UTC (rev 5290)
+++ software_suite_v3/software/tool/tux_droid_browser/windows/trunk/tux_droid_browser/Unit1.pas 2009-08-07 10:39:29 UTC (rev 5291)
@@ -232,7 +232,9 @@
if ParamStr(1) = '/NSS' then
splashScreenMustBeShowed := false
else if ParamStr(1) = 'show' then
- startInForeground := true;
+ startInForeground := true
+ else if ParamStr(1) = 'hide' then
+ startInForeground := false;
MessageSys := RegisterWindowMessage('WindowForegroundRequest');
reduce_balloon := false;
|
|
From: jerome <c2m...@c2...> - 2009-08-07 10:32:18
|
Author: jerome
Date: 2009-08-07 12:31:49 +0200 (Fri, 07 Aug 2009)
New Revision: 5290
Modified:
software_suite_v3/software/tool/tux_droid_browser_launcher/trunk/tux_droid_browser_launcher/start.pas
Log:
* Allow to start TuxBox 2.0 minimized.
Modified: software_suite_v3/software/tool/tux_droid_browser_launcher/trunk/tux_droid_browser_launcher/start.pas
===================================================================
--- software_suite_v3/software/tool/tux_droid_browser_launcher/trunk/tux_droid_browser_launcher/start.pas 2009-08-07 06:53:09 UTC (rev 5289)
+++ software_suite_v3/software/tool/tux_droid_browser_launcher/trunk/tux_droid_browser_launcher/start.pas 2009-08-07 10:31:49 UTC (rev 5290)
@@ -93,13 +93,13 @@
{#### Start smart-core and TuxBox ####}
-procedure startAll();
+procedure startAll(action : string);
var
APPLICATION : string;
begin
//Starting Application.
APPLICATION := '"' + GetEnvironmentVariable('PROGRAMFILES') + '\Kysoh\Tux Droid\softwares\TuxBox 2.0\TuxBox.exe"';
- ShellExecute(HWND(nil), 'open', PChar(APPLICATION), 'show', nil, SW_HIDE);
+ ShellExecute(HWND(nil), 'open', PChar(APPLICATION), PChar(action), nil, SW_HIDE);
end;
@@ -113,9 +113,17 @@
end;
end
else
- begin
- startAll();
- end;
+ if ParamCount > 0 then
+ begin
+ if ParamStr(1) = 'minimize' then
+ begin
+ startAll('hide');
+ end;
+ end
+ else
+ begin
+ startAll('show');
+ end;
Application.Terminate;
end.
\ No newline at end of file
|
|
From: remi <c2m...@c2...> - 2009-08-07 06:53:30
|
Author: remi
Date: 2009-08-07 08:53:09 +0200 (Fri, 07 Aug 2009)
New Revision: 5289
Modified:
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/index.xsl
Log:
* Updated google analytics key id
Modified: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/index.xsl
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/index.xsl 2009-08-06 14:19:51 UTC (rev 5288)
+++ software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/index.xsl 2009-08-07 06:53:09 UTC (rev 5289)
@@ -161,7 +161,7 @@
<![CDATA[
try
{
- var pageTracker = _gat._getTracker("UA-10094821-1");
+ var pageTracker = _gat._getTracker("UA-10113316-1");
pageTracker._setDomainName("none");
pageTracker._udn="none";
pageTracker._trackPageview();
|
|
From: remi <c2m...@c2...> - 2009-08-06 14:20:16
|
Author: remi
Date: 2009-08-06 16:19:51 +0200 (Thu, 06 Aug 2009)
New Revision: 5288
Modified:
software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/plugin/interpreters/PluginInterpreter.py
Log:
* Avoid zombie child process (plugins) on Linux. Thx to Paul.
Modified: software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/plugin/interpreters/PluginInterpreter.py
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/plugin/interpreters/PluginInterpreter.py 2009-08-06 10:33:41 UTC (rev 5287)
+++ software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/plugin/interpreters/PluginInterpreter.py 2009-08-06 14:19:51 UTC (rev 5288)
@@ -312,3 +312,9 @@
self.__process.stdout.close()
except:
pass
+ if os.name != 'nt':
+ try:
+ # Avoid zombies child process on Linux
+ os.wait()
+ except:
+ pass
|
|
From: remi <c2m...@c2...> - 2009-08-06 10:33:53
|
Author: remi
Date: 2009-08-06 12:33:41 +0200 (Thu, 06 Aug 2009)
New Revision: 5287
Modified:
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/index.xsl
Log:
* Added google analytics script for test
Modified: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/index.xsl
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/index.xsl 2009-08-06 08:20:05 UTC (rev 5286)
+++ software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/index.xsl 2009-08-06 10:33:41 UTC (rev 5287)
@@ -9,6 +9,7 @@
<title>TuxBox 2.0</title>
<LINK href="/data/web_interface/user_01/css/menu.css" rel="stylesheet" type="text/css"/>
<script src="/data/web_interface/user_01/js/common.js" type="text/javascript"/>
+ <script src="http://www.google-analytics.com/ga.js" type="text/javascript"/>
<script language="javascript">
<![CDATA[
var uuid = "NULL";
@@ -156,6 +157,18 @@
src="">
</iframe>
</div>
+ <script language="javascript">
+ <![CDATA[
+ try
+ {
+ var pageTracker = _gat._getTracker("UA-10094821-1");
+ pageTracker._setDomainName("none");
+ pageTracker._udn="none";
+ pageTracker._trackPageview();
+ }
+ catch(err) {}
+ ]]>
+ </script>
</body>
</html>
</xsl:template>
|
|
From: remi <c2m...@c2...> - 2009-08-06 08:20:24
|
Author: remi
Date: 2009-08-06 10:20:05 +0200 (Thu, 06 Aug 2009)
New Revision: 5286
Modified:
software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/01_resourcePluginsServer.py
Log:
* Hide user passwords from the plugins logs.
Modified: software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/01_resourcePluginsServer.py
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/01_resourcePluginsServer.py 2009-08-06 07:45:11 UTC (rev 5285)
+++ software_suite_v3/smart-core/smart-server/trunk/resources/03_content_servers/01_resourcePluginsServer.py 2009-08-06 08:20:05 UTC (rev 5286)
@@ -192,6 +192,8 @@
messageStr = ""
for message in messagesList:
messageStr += message
+ if messageStr.lower().find(" password:") != -1:
+ messageStr = " password:********"
plugin = pluginInterpreterContext.getParentPlugin()
self.logger.logDebug("Plugin TRACE [%s] (%s)" % (
plugin.getDescription().getName(), messageStr))
@@ -229,9 +231,13 @@
plugin = pluginInterpreterContext.getParentPlugin()
self.__publishEvents(False, ST_NAME_PS_PLUGIN_STARTED,
[plugin.getDescription().getUuid(),])
+ params = copy.deepcopy(pluginInterpreterContext.getInstanceParameters())
+ if params.has_key('password'):
+ params['password'] = '********'
+ if params.has_key('Password'):
+ params['Password'] = '********'
self.logger.logInfo("Plugin starting [%s] (%s)" % (
- plugin.getDescription().getName(),
- str(pluginInterpreterContext.getInstanceParameters())))
+ plugin.getDescription().getName(), str(params)))
command = plugin.getCommand(pluginInterpreterContext.getInstanceCommandName())
if (not command.isNotifier()) and (command.getName() == "run"):
resourceRobotContentInteractions.getPguContextsManager().createPguContext(
|
|
From: remi <c2m...@c2...> - 2009-08-06 07:45:26
|
Author: remi
Date: 2009-08-06 09:45:11 +0200 (Thu, 06 Aug 2009)
New Revision: 5285
Modified:
software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/gadget/GadgetGenerator.py
Log:
* Get the task default activation value on ugc creation.
Modified: software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/gadget/GadgetGenerator.py
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/gadget/GadgetGenerator.py 2009-08-06 07:44:09 UTC (rev 5284)
+++ software_suite_v3/smart-core/smart-server/trunk/util/applicationserver/gadget/GadgetGenerator.py 2009-08-06 07:45:11 UTC (rev 5285)
@@ -607,9 +607,13 @@
ugcDataDict['tasks'] = {}
for i, task in enumerate(gadget.getTasks()):
nodeName = "task_%2d" % i
+ if task.isActivated():
+ isActivated = 'true'
+ else:
+ isActivated = 'false'
ugcDataDict['tasks'][nodeName] = {
'name' : task.getName(),
- 'activated' : 'false',
+ 'activated' : isActivated,
'weekMask' : task.getWeekMaskOF(),
'date' : task.getDate(),
'hoursBegin' : task.getHoursBegin(),
|
|
From: remi <c2m...@c2...> - 2009-08-06 07:44:23
|
Author: remi
Date: 2009-08-06 09:44:09 +0200 (Thu, 06 Aug 2009)
New Revision: 5284
Modified:
software_suite_v3/software/gadget/default/trunk/gadget_56cdb050-3bba-d814-32c5-df4b90fee8c3/gadget.xml
software_suite_v3/software/gadget/default/trunk/gadget_710c4d99-9a26-b7c4-67e5-dabf78718462/gadget.xml
Log:
* Notifier of gadgets MSN and SOH are now activated by default.
Modified: software_suite_v3/software/gadget/default/trunk/gadget_56cdb050-3bba-d814-32c5-df4b90fee8c3/gadget.xml
===================================================================
--- software_suite_v3/software/gadget/default/trunk/gadget_56cdb050-3bba-d814-32c5-df4b90fee8c3/gadget.xml 2009-08-05 13:38:33 UTC (rev 5283)
+++ software_suite_v3/software/gadget/default/trunk/gadget_56cdb050-3bba-d814-32c5-df4b90fee8c3/gadget.xml 2009-08-06 07:44:09 UTC (rev 5284)
@@ -26,7 +26,7 @@
</parentPlugin>
<tasks>
<task_00>
- <activated>false</activated>
+ <activated>true</activated>
<date>0000/00/00</date>
<delay>00:00:10</delay>
<hoursBegin>00:00:00</hoursBegin>
Modified: software_suite_v3/software/gadget/default/trunk/gadget_710c4d99-9a26-b7c4-67e5-dabf78718462/gadget.xml
===================================================================
--- software_suite_v3/software/gadget/default/trunk/gadget_710c4d99-9a26-b7c4-67e5-dabf78718462/gadget.xml 2009-08-05 13:38:33 UTC (rev 5283)
+++ software_suite_v3/software/gadget/default/trunk/gadget_710c4d99-9a26-b7c4-67e5-dabf78718462/gadget.xml 2009-08-06 07:44:09 UTC (rev 5284)
@@ -31,7 +31,7 @@
</parentPlugin>
<tasks>
<task_00>
- <activated>false</activated>
+ <activated>true</activated>
<date>0000/00/00</date>
<delay>00:00:10</delay>
<hoursBegin>00:00:00</hoursBegin>
|
|
From: jerome <c2m...@c2...> - 2009-08-05 14:06:34
|
Author: jerome Date: 2009-08-05 15:38:33 +0200 (Wed, 05 Aug 2009) New Revision: 5283 Added: software_suite_v3/software/tool/tool-second-installer/ software_suite_v3/software/tool/tool-second-installer/branches/ software_suite_v3/software/tool/tool-second-installer/tags/ software_suite_v3/software/tool/tool-second-installer/trunk/ software_suite_v3/software/tool/tool-second-installer/trunk/tool-second-installer/ Log: * Added second installer project directories. |
|
From: jerome <c2m...@c2...> - 2009-08-05 13:49:43
|
Author: jerome
Date: 2009-08-05 15:31:26 +0200 (Wed, 05 Aug 2009)
New Revision: 5282
Modified:
software_suite_v3/software/plugin/plugin-system/trunk/plugin-system/executables/plugin-system.py
Log:
* Fixed a bad import.
Modified: software_suite_v3/software/plugin/plugin-system/trunk/plugin-system/executables/plugin-system.py
===================================================================
--- software_suite_v3/software/plugin/plugin-system/trunk/plugin-system/executables/plugin-system.py 2009-08-05 11:11:38 UTC (rev 5281)
+++ software_suite_v3/software/plugin/plugin-system/trunk/plugin-system/executables/plugin-system.py 2009-08-05 13:31:26 UTC (rev 5282)
@@ -26,7 +26,6 @@
from util.SimplePlugin.SimplePluginConfiguration import SimplePluginConfiguration
from util.SimplePlugin.SimplePlugin import SimplePlugin
-from win32com.client import GetObject
class Configuration(SimplePluginConfiguration):
"""
|
|
From: jerome <c2m...@c2...> - 2009-08-05 11:11:58
|
Author: jerome
Date: 2009-08-05 13:11:38 +0200 (Wed, 05 Aug 2009)
New Revision: 5281
Modified:
software_suite_v3/software/plugin/plugin-skype/trunk/executables/plugin-skype.py
Log:
* Fixed a too long sleep :p
Modified: software_suite_v3/software/plugin/plugin-skype/trunk/executables/plugin-skype.py
===================================================================
--- software_suite_v3/software/plugin/plugin-skype/trunk/executables/plugin-skype.py 2009-08-05 11:02:09 UTC (rev 5280)
+++ software_suite_v3/software/plugin/plugin-skype/trunk/executables/plugin-skype.py 2009-08-05 11:11:38 UTC (rev 5281)
@@ -437,7 +437,7 @@
stdout = subprocess.PIPE)
while not self.__getSkypeAppConnected():
- sleep(1000)
+ time.sleep(1)
self.__activeMain = True
else:
self.throwMessage("Sorry, it looks like skeyepe is not installed. Please go to the skeyepe website to download the software.")
|