apps/reshare: rewrite to fasm #305
Open
Burer
wants to merge 10 commits from
reshare-tweak into main
pull from: reshare-tweak
merge into: KolibriOS:main
KolibriOS:main
KolibriOS:rewrite-piano
KolibriOS:add-license-file-header-to-guide
KolibriOS:blocks-add-models
KolibriOS:shell-improve-cpuid
KolibriOS:rewrite_ide_drv
KolibriOS:refactor/links
KolibriOS:add_usbother
KolibriOS:webview-3.91
KolibriOS:qrcodegen
KolibriOS:ci/update
KolibriOS:floppybird-window-fix
KolibriOS:laser-tank-fix-win-height
KolibriOS:improvement/commit-and-branch-styles
KolibriOS:docs/libs
Dismiss Review
Are you sure you want to dismiss this review?
Labels
Clear labels
C
Category/Applications
Category/Drivers
Category/General
Category/Kernel
Category/Libraries
Eolite
FASM
FS
GSoC
HardwareTested
HLL
Influence/Settings
Influence/Text/TYPO
IRCC
Kernel
Pay for the code
This issue in GSoC program
Kind
Breaking
Breaking change that won't be backward compatible
Kind
Bug
Something is not working
Kind
Build
Kind
Documentation
Documentation changes
Kind
Enhancement
Improve existing functionality
Kind
Feature
New functionality
Kind
Security
This is security issue
Kind
Testing
Issue or pull request related to testing
Paid task
PR
Conflicts
PR conflicts with main
PR
Dependent
This PR is dependent on another PR
Priority
Critical
The priority is critical
Priority
High
The priority is high
Priority
Low
The priority is low
Priority
Medium
The priority is medium
PR
Ready to merge
Pull request is ready for merge
PR
Request changes
Changes requested in pull request
PR
Review required
Reviewed
Confirmed
Issue has been confirmed
Reviewed
Duplicate
This issue or pull request already exists
Reviewed
Invalid
Invalid issue
Reviewed
Won't Fix
This issue won't be fixed
Status
Abandoned
Somebody has started to work on this but abandoned work
Status
Blocked
Something is blocking this issue or pull request
Status
Need More Info
Feedback is required to reproduce issue or to continue work
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: KolibriOS/kolibrios#305
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "reshare-tweak"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Co-authored-by: @rgimad
What was done:
What remains to be done:
Fit kpack'ed program into 1536 bytes@@ -192,3 +192,2 @@DrawFlatButton( TABX, PAD+30, "ICONS32", 10+ACTIVE_ICONS32, active_tab & ACTIVE_ICONS32);DrawFlatButton(PAD+BTNW*1+TABX, PAD+30, "ICONS16", 10+ACTIVE_ICONS16, active_tab & ACTIVE_ICONS16);DrawFlatButton(PAD+BTNW*2+TABX, PAD+30, "ICONS16W", 10+ACTIVE_ICONS16W, active_tab & ACTIVE_ICONS16W);DrawFlatButton(PAD+BTNW*1+TABX, PAD+30, "ICONS18", 10+ACTIVE_ICONS16, active_tab & ACTIVE_ICONS16);It seems that
ACTIVE_ICONS16needs to be fixed as well.apps/reshare: fix wrong memory tabs namesto WIP: apps/reshare: fix wrong memory tabs namesWIP: apps/reshare: fix wrong memory tabs namesto WIP: apps/reshare: rewrite to fasmWIP: apps/reshare: rewrite to fasmto apps/reshare: rewrite to fasm@@ -0,0 +1,71 @@; SPDX-License-Identifier: GPL-2.0-only;; Reshare - Shared Resources Daemon; Copyright (C) 2024 KolibriOS-NG TeamAdd copyright KolibriOS 2026
@@ -0,0 +3,4 @@; Reshare - Shared Resources Daemon; Copyright (C) 2024 KolibriOS-NG Team;; Contributor rgmaid - Main codejust add as a co-author to a pull request or commit
@@ -0,0 +1,666 @@; SPDX-License-Identifier: GPL-2.0-only;; Reshare - Shared Resources Daemon; Copyright (C) 2024-2025 KolibriOS/-NG TeamAlthough NG was a mistake, it’s not necessary to write through a slash, just add a second copyright after NG
@@ -0,0 +3,4 @@; Reshare - Shared Resources Daemon; Copyright (C) 2024-2025 KolibriOS/-NG Team;; Contributor Leency - Original version in C--Already in the change history
@@ -0,0 +4,4 @@; Copyright (C) 2024-2025 KolibriOS/-NG Team;; Contributor Leency - Original version in C--; Contributor rgmaid - Main codejust add as a co-author to a pull request or commit
@@ -0,0 +490,4 @@ret.fail:Maybe it's your style, but I find this arrangement of labels strange
@@ -0,0 +612,4 @@SHM_CREATE = 0x08ACTIVE_ICONS32 = 1ACTIVE_ICONS18 = 2Why 18 and not 16?
In fact those icons are 18x18 pixels.
So I found it confusing that it in old code "16" was used everywhere and decided to change it.
@Burer Is it possible to rename the file itself to
icon18.pngor will it break something?It will require renaming it in some other programs that use direct import.
Are we okay with this?
I create a new issue: #349. No changes are required to this PR.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.