Giter Club home page Giter Club logo

panitent's People

Contributors

gbalog avatar philosoph228 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

philosoph228

panitent's Issues

WCAG 1.3.1: (panitent/поле со списком 'Preset') The given element is expected to have the following structure: ComboBox and CountChildren(Button) == 1 and CountChildren(Edit) <= 1 and CountChildren(List) <= 1 and AllChildren(not(IsControlElement) or (Button or Edit or List)).

The following accessibility issue needs investigation.

App: panitent

Element path: поле со списком 'Preset'

Issue Details: The given element is expected to have the following structure: ComboBox and CountChildren(Button) == 1 and CountChildren(Edit) <= 1 and CountChildren(List) <= 1 and AllChildren(not(IsControlElement) or (Button or Edit or List)). WCAG 1.3.1

How To Fix: The given element is expected to have the following structure: ComboBox and CountChildren(Button) == 1 and CountChildren(Edit) <= 1 and CountChildren(List) <= 1 and AllChildren(not(IsControlElement) or (Button or Edit or List)).

This accessibility issue was found using Accessibility Insights for Windows, a tool that helps debug and find accessibility issues earlier. Get more information and download this tool at https://aka.ms/AccessibilityInsights.

Fix minor bugs/CC

inline static void ContractRect(LPRECT lprc, int i)

In WinAPI, there is already a function called InflateRect for resizing a RECT.

panitent/src/new.c

Lines 308 to 309 in a252d4f

SendDlgItemMessage(hwndDlg, IDC_DOCUMENTBKGND, CB_SETCURSEL,
(LPARAM)3, (LPARAM)0);

Incorrect type cast in the 4th argument. Expected WPARAM.

SmartPtr enhancements

hello.

https://github.com/Aragajaga/panitent/blob/70b1018278a1967ba97524f8cc7299ff550682fa/src/smartptr.h#L4-L7
i think it'd be better to create concrete structure or pointer-to-structure for smart pointer.
especially since you create a concrete structure in the implementation anyway:
https://github.com/Aragajaga/panitent/blob/70b1018278a1967ba97524f8cc7299ff550682fa/src/smartptr.c#L4-L8

  1. name smartptr doesn't reflect the smartness of the pointer.
    since you implemented reference counter pointer, you can name it refcnt_ptr. what is much clearer than just smart_ptr.

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.