List of commits:
Subject Hash Author Date (UTC)
implement coping to clipboard 380b60dad4bd182a92199db5cde4339baaa84521 Alex 2022-07-08 20:35:05
prepare context menus eb75fc61825de235f63b47176ca9ec88f8966d2b Alex 2022-07-08 15:01:46
add cycle chains b0d80feff1cfb953d50a79e7773077a846cc72c2 Alex 2022-07-08 12:25:15
prepare layout 46613958a1e87944104f74aa77ebb106dc22a2ad Alex 2022-07-07 23:36:19
implement Load/Save feeds' tree ce6ded536ef07a49e96f181c07c84c1239ef607d Alex 2022-07-05 23:10:44
implement feed tree filling dad148576a106072f87be33803e7a916cb044d35 Alex 2022-07-05 17:09:20
implement item selection b42586a38c98a4087937b8f85f7dd2570cb61bf7 Alex 2022-06-19 02:42:29
show items list ee6686fc57690fc236aefc334861dbf0fd65b2ce Alex 2022-06-19 01:42:38
parse channel title and description 96ec5e38931158d27a75c0fe922fd14a8647dba1 Alex 2022-06-18 23:53:49
add XML parser... 4f2d6297a47fe2f9f377bf9ce5afd9545cf9ae2f Alex 2022-06-18 14:29:17
prepare textfield b88f2e78f55a4ba7e62f674bcdf38615f3d3eb09 Alex 2022-06-18 02:35:37
initial commit 702a1b31f80bf565bf20cc6ecc4e9d748d772363 Alex 2022-06-17 23:42:13
Commit 380b60dad4bd182a92199db5cde4339baaa84521 - implement coping to clipboard
Author: Alex
Author date (UTC): 2022-07-08 20:35
Committer name: Alex
Committer date (UTC): 2022-07-08 20:35
Parent(s): eb75fc61825de235f63b47176ca9ec88f8966d2b
Signer:
Signing key:
Signing status: N
Tree: 541b424f231cbdced99a986805922498f4bc6038
File Lines added Lines deleted
IvoRSS.hws 45 0
File IvoRSS.hws changed (mode: 100755) (index 12ff258..d3996f6)
15 15 @INCLUDE "feedtree.hws" @INCLUDE "feedtree.hws"
16 16
17 17 @BRUSH 1, "128px-Feed-icon.png", {LoadAlpha=True, ScaleHeight=32, ScaleWidth=32} @BRUSH 1, "128px-Feed-icon.png", {LoadAlpha=True, ScaleHeight=32, ScaleWidth=32}
18 ChannelIconBrush = 1
19
18 20 ;Width=#KEEPASPRAT ;Width=#KEEPASPRAT
19 21 /* /*
20 22 ** Handles all incoming events ** Handles all incoming events
 
... ... Function p_MUIEvent(msg)
41 43 End End
42 44 Case "menu_muisettings": Case "menu_muisettings":
43 45 mui.DoMethod("app", "OpenConfigWindow") mui.DoMethod("app", "OpenConfigWindow")
46 Case "rssi_copy":
47 p_CopyIcon()
48 Case "rsst_copy":
49 p_CopyContents("channel_title", "Channel title")
50 Case "rssd_copy":
51 p_CopyContents("channel_description", "Channel description")
52 Case "artt_copy":
53 p_CopyContents("item_title", "Title")
54 Case "art_copy":
55 p_CopyText()
44 56 EndSwitch EndSwitch
45 57 Case "Listview": Case "Listview":
46 58 ;assert(msg.Attribute = "Active") ;assert(msg.Attribute = "Active")
 
... ... Function p_MUIEvent(msg)
56 68 EndFunction EndFunction
57 69
58 70
71 /*
72 Function p_Replay(err_code, msg$)
73 If err_code = #ERR_NONE
74 mui.Set("status", "Contents", msg$)
75 Else
76 mui.Set("status", "Contents", "\27b" .. GetErrorName(err_code))
77 EndIf
78 EndFunction
79 */
80
81 Function p_Replay(err_code, msg$)
82 mui.Set("status", "Contents",
83 IIf(err_code = #ERR_NONE, msg$, "\27b" .. GetErrorName(err_code))
84 )
85 EndFunction
59 86
60 87
88 Function p_CopyIcon()
89 err_code = ?SetClipboard(#CLIPBOARD_IMAGE, ChannelIconBrush)
90 p_Replay(err_code, "Icon is copied")
91 EndFunction
92
93 Function p_CopyContents(source_id$, source_desc$)
94 err_code = ?SetClipboard(#CLIPBOARD_TEXT, mui.Get(source_id$, "Contents"))
95 p_Replay(err_code, source_desc$ .. " is copied")
96 EndFunction
97
98 Function p_CopyText()
99 err_code = ?SetClipboard(#CLIPBOARD_TEXT, mui.Get("textfield", "Text"))
100 p_Replay(err_code, "Text is copied")
101 EndFunction
61 102
62 103 mui.CreateGUI(ReadString(1)) mui.CreateGUI(ReadString(1))
63 104 InstallEventHandler({MUIRoyale = p_MUIEvent}) InstallEventHandler({MUIRoyale = p_MUIEvent})
64 105
65 106
66 107
108
109
110
111
67 112 url$ = "https://www.powerpc-notebook.org/en/feed/" url$ = "https://www.powerpc-notebook.org/en/feed/"
68 113
69 114 DownloadFile(url$, {File = "feed.xml", Adapter = "hurl"}) DownloadFile(url$, {File = "feed.xml", Adapter = "hurl"})
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/iam-git/IvoRSS

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/iam-git/IvoRSS

Clone this repository using git:
git clone git://git.rocketgit.com/user/iam-git/IvoRSS

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main