Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initial emscripten support #376

Merged
merged 4 commits into from
Dec 5, 2024
Merged

initial emscripten support #376

merged 4 commits into from
Dec 5, 2024

Conversation

Alex2772
Copy link
Collaborator

@Alex2772 Alex2772 commented Dec 4, 2024

Related to #375

@Alex2772 Alex2772 merged commit bb80607 into develop Dec 5, 2024
18 checks passed
@Alex2772 Alex2772 deleted the feat/emscripten-initial branch December 5, 2024 08:18
@Alex2772 Alex2772 mentioned this pull request Dec 12, 2024
Alex2772 added a commit that referenced this pull request Dec 12, 2024
* update ci

* added performance sections

* macos multiwindow support (#325)

* rule of five fix (#327)

* Render to texture optimization (#326)

* Near-to-zero alpha optimization

* RenderToTexture struct prototype

* ClipOptimizationContext -> ARenderContext

* APool refactor

* refactor

* refactor

* removed ARender.h

* refactor

* AScrollAreaInner redraw

* fix atext

* fix linux resize

* tryEnableFramebuffer

* sync

* added docs

* added another mRedrawRequested check

* renders to texture

* fixed redraw requests

* fix supersampling

* tryfix windows

* fixed alpha blending

* fixed copy AStringStream

* fix android

* update assets

* unblend shader prototype

* decay effect

* copy mFramebuffer -> main rendering fb

* rectange-based invalidation

* fix multiple rectangles

* changed decay algo

* glm::vec formatter (bruh)

* added render to texture to scroll area

* full repaint request

* added geometry 2D tests

* StaticVector RemoveIf test

* fix multiple rects rendering

* clipping

* u

* scroll area threshold test

* requestLayoutUpdate

* adjusted decay

* fix scroll area bad invalidation

* fix first element in scroll area

* fixed valgrind erros

* markPixelDataInvalid -> ARect

* Transform* fixes

* fix upside down

* fixed review comments

* fix ios macos build

* u

* fix macos build

* fixed poor window initialization in examples

* fix AGroupBox stencil issues

* hotfix ios access violation

* fix ios

* geometry2d rect intersect (#330)

* DevtoolsTest

* Feat/layout update optimization (#331)

* added ui test

* added ui test

* prototype

* u

* u

* u

* disabled decay

* fix agroupbox min size

* devtools options tab

* removed obsolette code

* ASmallVector::clear assertion fix (#332)

* fixes to layout updates

* test mutex removed (#333)

* Feat/assets memory optimization (#334)

* optimizied assets memory consumtion

* unique

* try_provide_toolbox

* fix tests

* remove

* Stream manner (#336)

* layout optimizations

* toStream unique

* fix fromStream

* dedicated setting for render to texture

* fix opacity render optimization

* opacity fix

* added gdb.py visualizer

* Debug breakpoint on window layout update flag (#338)

* Feat/less repaint events (#337)

* Less repaint events

* removed obsolete updateLayout

* added tests

* _<ALayout> -> _unique<ALayout>

* naming refactor

* u

* scrollbar fixes

* fixes

* fixes

* fix typo

* - invalidate font

* broken text color but removed AFontStyle::color

* IFontView

* u

* fix unit tests

* fix android

* small improvements

* hotfix dirty stencil buffer

* tryfix render-to-texture blurring

* fix self wait (#339)

* added compat functions

* soxr version update (#340)

* Custom AUI.Boot cache directory and new JSON converter (#341)

* add json converter for ranged numbers

* allow to set auib cache dir from env

* AUI_CACHE_DIR -> AUIB_CACHE_DIR

* fix addViewCustomLayout invalid pos display (#342)

* disabled render to texture by default

* Visibility is a bit mask now (#344)

* Visibility is a bit mask now

* better naming

* commented code removed

* word order fixed

* verbs naming fix

* build fixed

* naming finally fixed

* AUI_ENUM_VALUES returned

* minimum width fixed

* Fixes and little updates (#345)

* normalize absolute paths

* constexpr AColor

* fixed compile issues with operators used in ARect

* added `Absolute` layout in helpers

* u

* added link to project_template_ui

* multi configration warning message (#348)

* AString std::hash

* Feat/audio race fix (#349)

* audio data race fixed

* race fixed

* get rid of atomic

* moved soxr repo

* update urls

* u

* hotfix stacked height

* fix message queue deadlock on android

* fix msvc call order bruh

* Feat/boot small improvements (#353)

* aui.boot small improvements

* aui.boot small improvements

* fix formatting

* fix build

* improvements to AEnumerate (#354)

* improvements to AEnumerate

* u

* u

* WARN -> STATUS

* aui.views and aui.json updates (#355)

* added combined ASS selector

This selector is used to associate ASS styles to a view that matches all the given criteria.

Ex:
```cpp
{
  t<ALabel>() + c(".alert"),
  Padding { 4_dp, 8_dp }
},
{
  t<ALabel>() + c(".alert") + c(".danger"),
  BackgroundSolid { 0xcc0000_rgb },
  TextColor { 0xffffff_rgb }
}
// same for success, and info alert messages
```

* suffixes and more key combinations in text field

* clear array before deserialization.

* added ASS properties for top and right borders

* rename CombinedSelector to AndSelector

* added docs and tests for AndSelector (#357)

* data binding improvements (#358)

* AText dynamic width (#359)

* AText dynamic width

* added AText expanding by default

* added docs

* fixes

* Feat/scrollbar appearance refactor (#360)

* AText dynamic width

* added AText expanding by default

* added docs

* fixes

* ScrollbarAppearance refactor

* rollback

* removed debug entry

* u

* u

* fixed ATextOverflow

* fixed utests

* Feat/databinding extra overloads (#361)

* added ADataBinding extra overloads

* Float -> AFloat, AViewEntry now uses AFloat, AFloat is now an ASS property

* fix tests

* fix floating

* tryfix build

* tryfix android

* Feat/listmodel insert (#362)

* added listmodel insert

* ADataBinding::addObserverNoInitialCall

* added tests

* added additional assertion checks

* fix accept encoding

* android back button (#363)

* android back button

* fix clang AClass

* removed debug stub

* ABaseWindow -> AWindowBase (#365)

* Feat/aviewcontainerbase (#366)

* initial design

* u

* AViewContainerBase

* fix devtools

* fixed AScrollArea internal relations

* AFuture operator-> + linux x11 poll (need testing)

* added docs on signal-slot

* added docs on signal-slot

* added docs on signal-slot

* ADrawableView BackgroundImage

* better syncing with aui.audio and AAnimatedDrawable

* initial emscripten support (#376)

* initial emscripten support

* tryfix

* tryfix

* tryfix android

* ATextArea care (#318)

* fixed text area rendering

* added ui tests + some refactor

* AAbstractTypeableView custom super

* fixed text field

* fixed text field selection and scroll

* made AText abstract

* faster AAbstractTextField::getPosByIndex

* fix position to index mapping

* fix

* typing

* ATextArea::typeableFind

* removed obsollete debug

* ranges v3 bruh

* relatively working prototype with typing

* entities()

* typeableInsert share impl with whitespace and word

* better typing + erasure

* hittest

* u

* impl ready

* fixes to scrollbar not scrolling correctly on dynamic content

* u

* u

* tryfix android

* tryfix shindows

* u

* u

* u

* u

* u

* u

* u

* u

* ATextArea follow up changes (#377)

* fix AScrollArea min size

* adjustments for android ime

* minor fixes to AText

* fixed aui::member for noexcept types

* added default ADataBinding for visibility

* added check for LSHIFT RSHIFT for typeable action button

* update clang format

* ASpacerFixed (#378)

* fixed ASpacerFixed

* removed getContentMinimum{Width|Height} removed layout argument

* fix tests

* tryfix build

* X11 min size support (#380)

* X11 min size support

* fixed formatting

* disable sort includes

* fix linux tests

* Feat/fix wav playback (#382)

* update readme

* added roadmap (addresses #352)

* fix wav playback

* Feat/custom caption window refactor (#381)

* update readme

* added roadmap (addresses #352)

* ACustomCaptionWindow refactor

* cleanup

* fix windows build

* added docs for ACustomCaptionWindow

* AScrollArea fix unintended scroll

* Feat/splitter (#383)

* update readme

* added roadmap (addresses #352)

* added cursors

* added cursors

* proper cursor

* random fixes

* mvp

* AHorizontalLayout and AVerticalLayout now share their implementation

* space reclaim by resize

* update docs

* testing expanding

* fixed views with expanding and min size were ignoring min size

* u

* fixed min size

* f concepts diagnostics

* AGridSplitter impl

* fix unresolved external symbol error. (#384)

* fix crash on linux 'mRepaintTrap'

* added devtools docs (#385)

---------

Co-authored-by: IlyaZavalov <[email protected]>
Co-authored-by: Nana Axel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant