Skip to content

Commit

Permalink
gems: ABI and depot recipe for dialog API
Browse files Browse the repository at this point in the history
This exposes makes the dialog API usable for users of Goa. It turns the
former static dialog library to a shared object and accompanied symbols
file, and adds depot recipes for the library and API.

Issue genodelabs#5409
  • Loading branch information
nfeske committed Jan 3, 2025
1 parent cd6701c commit 05c4019
Show file tree
Hide file tree
Showing 7 changed files with 74 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repos/gems/lib/mk/dialog.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ SRC_CC += sandboxed_runtime.cc text_area_widget.cc
LIBS += sandbox

vpath %.cc $(REP_DIR)/src/lib/dialog

SHARED_LIB = yes
44 changes: 44 additions & 0 deletions repos/gems/lib/symbols/dialog
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
_ZN6Dialog16Text_area_widget10_handle_upEv T
_ZN6Dialog16Text_area_widget11_handle_endEv T
_ZN6Dialog16Text_area_widget12_handle_downEv T
_ZN6Dialog16Text_area_widget12_handle_homeEv T
_ZN6Dialog16Text_area_widget12_handle_leftEv T
_ZN6Dialog16Text_area_widget12handle_eventERKNS_5EventERNS0_6ActionE T
_ZN6Dialog16Text_area_widget13_handle_rightEv T
_ZN6Dialog16Text_area_widget14_handle_deleteEv T
_ZN6Dialog16Text_area_widget14_handle_pageupEv T
_ZN6Dialog16Text_area_widget14move_cursor_toERKNS_2AtE T
_ZN6Dialog16Text_area_widget15_handle_newlineEv T
_ZN6Dialog16Text_area_widget16_handle_pagedownEv T
_ZN6Dialog16Text_area_widget16_move_charactersERN6Genode13Dynamic_arrayINS0_9CharacterEEES5_ T
_ZN6Dialog16Text_area_widget16append_characterEN6Genode9CodepointE T
_ZN6Dialog16Text_area_widget17_delete_selectionEv T
_ZN6Dialog16Text_area_widget17_handle_backspaceEv T
_ZN6Dialog16Text_area_widget17_handle_printableEN6Genode9CodepointE T
_ZN6Dialog16Text_area_widget17_insert_printableEN6Genode9CodepointE T
_ZN6Dialog16Text_area_widget25_sanitize_scroll_positionEv T
_ZN6Dialog16Text_area_widget25insert_at_cursor_positionEN6Genode9CodepointE T
_ZN6Dialog16Text_area_widget4dragERKNS_10Dragged_atE T
_ZN6Dialog16Text_area_widget5clackERKNS_10Clacked_atERNS0_6ActionE T
_ZN6Dialog16Text_area_widget5clearEv T
_ZN6Dialog16Text_area_widget5clickERKNS_10Clicked_atE T
_ZN6Dialog17Sandboxed_runtime13_handle_hoverEv T
_ZN6Dialog17Sandboxed_runtime19_handle_gui_serviceEv T
_ZN6Dialog17Sandboxed_runtime19_handle_rom_serviceEv T
_ZN6Dialog17Sandboxed_runtime19apply_sandbox_stateERKN6Genode8Xml_nodeE T
_ZN6Dialog17Sandboxed_runtime22_handle_report_serviceEv T
_ZN6Dialog17Sandboxed_runtime4View13_handle_hoverEv T
_ZN6Dialog17Sandboxed_runtime4View19_handle_input_eventERKN5Input5EventE T
_ZN6Dialog17Sandboxed_runtime4View27_try_handle_click_and_clackEv T
_ZN6Dialog17Sandboxed_runtime4View6_leaveEv T
_ZN6Dialog17Sandboxed_runtime4ViewD1Ev T
_ZN6Dialog17Sandboxed_runtime4ViewD2Ev T
_ZN6Dialog17Sandboxed_runtimeC1ERN6Genode3EnvERNS1_9AllocatorERNS1_7SandboxERKNS0_4AttrE T
_ZN6Dialog17Sandboxed_runtimeC2ERN6Genode3EnvERNS1_9AllocatorERNS1_7SandboxERKNS0_4AttrE T
_ZNK6Dialog16Text_area_widget21gen_clipboard_contentERN6Genode13Xml_generatorE T
_ZNK6Dialog16Text_area_widget4viewERNS_5ScopeIJNS_4VboxEEEE T
_ZNK6Dialog16Text_area_widget9Selection18view_selected_lineERNS_5ScopeIJNS_4HboxENS_5FloatENS_5LabelEEEEN6Genode13Dynamic_arrayINS9_INS0_9CharacterEEEE5IndexERKSB_ T
_ZNK6Dialog17Sandboxed_runtime15Menu_view_state14gen_start_nodeERN6Genode13Xml_generatorERKNS2_10DictionaryINS0_4ViewENS2_6StringILm20EEEEE T
_ZNK6Dialog17Sandboxed_runtime15gen_start_nodesERN6Genode13Xml_generatorE T
_ZNK6Dialog17Sandboxed_runtime4View21_gen_menu_view_dialogERN6Genode13Xml_generatorE T
_ZNK6Dialog17Sandboxed_runtime4View21_gen_menu_view_routesERN6Genode13Xml_generatorE T
10 changes: 10 additions & 0 deletions repos/gems/recipes/api/dialog/content.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
MIRROR_FROM_REP_DIR := include/dialog lib/symbols/dialog

content: $(MIRROR_FROM_REP_DIR) LICENSE

$(MIRROR_FROM_REP_DIR):
$(mirror_from_rep_dir)

LICENSE:
cp $(GENODE_DIR)/LICENSE $@

1 change: 1 addition & 0 deletions repos/gems/recipes/api/dialog/hash
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2025-01-03 57d2347a8300897aa8a5175ebb976232dafe4e7b
7 changes: 7 additions & 0 deletions repos/gems/recipes/src/dialog/content.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
SRC_DIR = src/lib/dialog
include $(GENODE_DIR)/repos/base/recipes/src/content.inc

content: lib/mk/dialog.mk

lib/mk/dialog.mk:
$(mirror_from_rep_dir)
1 change: 1 addition & 0 deletions repos/gems/recipes/src/dialog/hash
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2025-01-03 2bb7885b49ed39d7aef08fea9d9ce82c88d47fd9
9 changes: 9 additions & 0 deletions repos/gems/recipes/src/dialog/used_apis
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
base
os
gems
framebuffer_session
input_session
gui_session
report_session
dialog
sandbox

0 comments on commit 05c4019

Please sign in to comment.