Commit graph

162 commits

Author SHA1 Message Date
Goffi
4d4c768fd5 plugin tarot: fixed bad score calculation 2010-08-06 12:11:18 +08:00
Goffi
209a82e076 xml tools: pairs layout is not used anymore if there is no label in dataForm2xml 2010-08-06 12:10:43 +08:00
Goffi
d1fd1cc04e Primitivus: notification bar, first draft
- popup queue is now managed
- notifications can auto-hide when nothing to show
- ctrl-n show next notification
Primitivus: ctrl-s allow to temporarily hide a popup
Primitivus: cards in card_game now answer to mouse click
Primitivus: notification is shown when invalid card is played in card_game
Primitivus: SelectableText has now methods get_text and set_text
2010-08-04 17:57:51 +08:00
Goffi
4977887e9a wix, quick_frontend: deactivated autoplay in Tarot game 2010-08-04 17:53:20 +08:00
Goffi
92cc200426 primitivus: button are now working with XMLUI 2010-08-04 12:01:07 +08:00
Goffi
2cbc6fa67d jp: added default value in --profile option's help 2010-08-04 12:00:25 +08:00
Goffi
89a0b0d422 SàT: fixed exception when using unmanaged IQ 2010-08-04 11:58:54 +08:00
Goffi
204a23a5da misc: split_card script: fixed bad replace 2010-08-02 17:53:22 +08:00
Goffi
49a5f2de2c Primitivus: begining of management for actionResult 2010-07-31 00:34:05 +08:00
Goffi
e35ee355ba Primitivus: XMLUI: tabs layout management + CustomButton now used instead of urwid's buttons 2010-07-31 00:32:51 +08:00
Goffi
a4734f5868 Primitivus: custom_widgets imrpovments
- new container: TabsContainer
- menu roller can now remove a menu
- new Button: CustomButton (use ClickableText, and we can define the borders)
- SelectableText now manage mouse events
2010-07-30 18:43:09 +08:00
Goffi
20a88f9909 Primitivus: Tarot game
Tarot game is now playable, scores are not showed yet.
2010-07-28 19:58:10 +08:00
Goffi
d1ec39d721 Primitivus: wix: xmlui misc fixes 2010-07-28 19:56:56 +08:00
Goffi
ad1c81a580 Quick Frontend: quick card game: added convenience method getPlayerLocation & __fakePlay
getPlayerLocation give the place of the player (top, left, bottom or right)
__fakePlay try to play every card, usefull for autoplay when debugging
2010-07-28 19:56:12 +08:00
Goffi
0d8a403ef8 plugin Tarot: separator doen't appear anymore when attacked has no bout in scores 2010-07-28 19:53:19 +08:00
Goffi
11a144a16b xml_tools: removed unused content parameter in addElement 2010-07-28 19:52:01 +08:00
Goffi
25dc55aa9f Primitivus: additionnal menus management 2010-07-28 19:51:17 +08:00
Goffi
3d5c5ada3c Primitivus: Tarot card game implementation
- quick frontend: card_game added
- wix: card_game splitted with quick frontend
- tools: new game library
- primitivus: new card_game widget (not finished yet)
- primitivus: SàT XML UI management: first draft
2010-07-26 19:43:44 +08:00
Goffi
451d574a8f added GPL header to split_card script 2010-07-22 22:47:29 +08:00
Goffi
b72998fddf split_card script: minor change in syntax help 2010-07-22 22:43:47 +08:00
Goffi
914a59adbb mover Card class to tools/games and renamed it in TarotCard 2010-07-22 15:49:16 +08:00
Goffi
b6dac0a610 added .pyv & twistd.pid to .hgignore 2010-07-22 15:48:03 +08:00
Goffi
3b5bd7695b Primitivus: menu roller doesn't go anymore on a menu if it's empty 2010-07-16 22:36:58 +08:00
Goffi
c95e8a4e70 wix: scrolling is not reseted anymore when clicking on a group on contact list 2010-07-16 22:22:52 +08:00
Goffi
d6ae995bd6 Primitivus: menu are now managed and fully working
- new class MenuRoller for manager different menus
- Chat window now create is own menu
- some menu items added for general/contact menus
2010-07-16 20:25:06 +08:00
Goffi
0d4f988f23 frontend DBus bridge: added profile management for launchAction method 2010-07-16 20:17:01 +08:00
Goffi
10c45f4b1d Core, wix: added profile management for RegisterNewAccount method, and LaunchAction 2010-07-16 20:16:13 +08:00
Goffi
6605ab7a0a plugin tarot, plugin MUC: removed print which were causing error when printing unicode string 2010-07-16 20:15:14 +08:00
Goffi
31adb99c56 wix: fixed wrong class Name in card_game 2010-07-16 20:14:01 +08:00
Goffi
f18d8f2d7e quick_app: self.occupants for group chat are now managed by quick_chat. self.options.profile now support unicode 2010-07-16 20:12:54 +08:00
Goffi
ded8314a26 Primitivus: menu is now working
/!\ tooltips not managed yet, doesn't manage properly menu when it's displayed on several rows
/!\ still need to manage other menus (chat menu)
2010-07-14 19:36:40 +08:00
Goffi
0bdb911415 Primitivus: subject in group chat can now be shown in 3 ways: clip, full, or hidden 2010-07-14 16:14:48 +08:00
Goffi
ccea050bc5 sortilege's easter egg reimplemented 2010-07-14 16:14:04 +08:00
Goffi
9fbbd52805 Primitivus: misc fixes + menubar first draft
- Menu bar: first draft of class
- Password widget fixed
- change some str to unicode, notably for JID
2010-07-13 02:24:59 +08:00
Goffi
126d529d46 Primitivus: mouse wheel changed to 'up' and 'down' key press 2010-07-12 18:55:27 +08:00
Goffi
12b166ca89 Primitivus: sexy nick in chat window 2010-07-12 18:54:55 +08:00
Goffi
5f3463b147 primitivus: contact list enhancement
- primitivus: contact list now display groups and sexy name (instead of bare jid)
- primitivus: contact list now show an alert when somebody want to contact you, and its chat window is not on the screen
- primitivus: cursor is now visible when going to chat window (useful to go back in logs)
2010-07-12 17:50:00 +08:00
Goffi
61f6edae54 primitivus chat window
- management of one 2 one / group chat
- timestamp displayed
- added shortcuts for showing/hiding panels
- color used
- fixed vcard bug (contact displayed even if not from current profile if vcard changed/not in cache)
- added VerticalSeparator widget
- *List widgets can now use an other widget than SelectableText
- new UnselectableText widget
2010-07-08 19:47:54 +08:00
Goffi
bad54b993d wix: chat: date is now printed in grey 2010-07-08 18:29:44 +08:00
Goffi
8f52701d89 wix: time is now printed in chat window
- replaceUser is fixed
2010-07-08 18:26:30 +08:00
Goffi
493bf1d0c8 misc documentation 2010-07-08 14:19:30 +08:00
Goffi
dbb3520a4f primitivus group chat & misc
primitivus: new widget: SurroundedText (text with a character repeated around it)
primitivus: new decorator LabelLine (like lineBox, but with a label on the top line)
wix & primitivus & quick_app: group chat method move to quick_chat

wix: when new message, window is not raised anymore, but RequestUserAttention is called instead
2010-07-08 14:12:18 +08:00
Goffi
a21a658c33 Primitivus: chat window / text sending.
Primitivus has now the most basics features \o/
- core: new getVersion method
- primitivus: new debug key (C-d), only work if SàT is in dev version (D in version)
- quick_app: new post_init method, used for automatique task like auto-plug
- primitivus: lists now use genericList (Box) or List (Flow)
- primitivus: List now manage correctly its size
- primitivus: new FocusFrame widget which manage focus changing with 'tab'
- primitivus: advancedEdit now manage 'click' signal
- primitivus: contactList now manager 'change' and 'click' signals
- primitivus: Chat window now working
2010-07-05 19:13:36 +08:00
Goffi
8d1e8e1a11 primitivus: added edition zone at the bottom
- primitivus: new AdvancedEdit widget, which is like Edit but manage some new keys (C-a, C-e, C-k, C-w)
2010-07-03 13:56:44 +08:00
Goffi
66a6d7599c misc fixes 2010-07-03 12:01:01 +08:00
Goffi
9caff8237a primitivus: basic contact list, connexion now work \o/ 2010-07-01 18:52:51 +08:00
Goffi
1fb4156381 primitivus: Profile Manager should now be fully fonctionnal 2010-07-01 18:19:20 +08:00
Goffi
6e4a5c25d2 primitivus: added Alert widget 2010-07-01 18:18:34 +08:00
Goffi
ab067174ff Primitivus: profile manager
- new custom widgets: Password, List, GenericDialog, InputDialog, ConfirmationDialog
2010-07-01 15:35:56 +08:00
Goffi
b6ef271fd2 Primitivus first draft
- Sortilège is recoded using urwid, and renamed in Primitivus as it is no more based on curses
- soritlege code moved to sortilege_old, and deprecated
- Primitivus first draft, begining of ProfileManager widget
2010-06-30 14:24:24 +08:00