Dan Cross
d91275d959
memory: replace most of memory.c with Rust mem
...
Replace `wmalloc` et al with wrappers around the Rust allocation
library.
2025-10-14 02:55:03 +00:00
5325e2d455
Improve automake integration with Rust build.
...
Now ./configure checks for cargo and rustc, and `make` will rebuild wmaker-rs if
any of its source code has changed.
There are still some steps to take for better integration (like ensuring that
deps are vendored correctly). See
https://viruta.org/librsvgs-build-infrastructure-autotools-and-rust.html for
suggestions on what else to do.
2025-09-19 20:02:54 -04:00
82c8b0c9b4
Rename wmakerlib dir to wmaker-rs for econsistency with future libs.
2025-09-13 14:54:13 -04:00
a67f7483fd
Clean up parameters that were commented out.
2025-09-09 22:27:55 -04:00
cf87f7e83b
Finish moving WApplication struct defn and methods into Rust.
2025-09-09 22:23:59 -04:00
b569889f21
Expose RRetainImage from wrlib for Rust.
2025-09-09 22:21:15 -04:00
383b3a1a7b
Expose some WMHandlerID methods from WINGs for Rust.
2025-09-09 22:20:07 -04:00
4fd7d1e2c1
Forgot to include screen.rs earlier.
2025-09-09 22:19:41 -04:00
0131c493c0
Expose PropGetWMClass for Rust.
2025-09-09 22:19:16 -04:00
5f1317b885
Forgot to include global module in lib.rs.
2025-09-09 22:18:49 -04:00
5817c1f032
Expose a Rust type for WMenu.
2025-09-09 22:18:30 -04:00
6d09fbff93
Expose wDockFinishLaunch for WApplication.
2025-09-09 22:18:03 -04:00
b38fa197d7
Expose wDefaultFillAttributes for Rust.
2025-09-09 22:17:46 -04:00
4c617034b4
Expose AppMenu method used by WApplication.
2025-09-09 22:17:22 -04:00
f5daf2a76a
Expose WAppIcon methods used by WApplication.
2025-09-09 22:16:31 -04:00
05895b40a2
Forgot to add wrlib module to lib.rs.
2025-09-09 22:07:37 -04:00
4f4ef94400
Expose start_hidden and emulate_appicon attrs of WWindow.
2025-09-09 21:57:17 -04:00
023ab177b2
Expose WWindow attributes so they can be seen from Rust.
2025-09-09 21:56:30 -04:00
279f369256
Expose w_global.context so it can be seen from Rust.
2025-09-09 20:16:02 -04:00
0a2ff4f055
Expose various other WWindow fields so they can be seen from Rust.
...
Fields: client_win, screen_ptr, wm_hints, wm_class, wm_instance,
defined_user_flags.
2025-09-09 19:41:12 -04:00
108c913c1d
Expose WWindow::user_flags so that it can be seen from Rust.
2025-09-09 19:36:36 -04:00
8c669d57b2
Expose WWindow::net_icon_image so that it can be seen from Rust.
2025-09-09 19:34:57 -04:00
83fa8119d9
Expose WWindow::main_windowc so that it can be seen from Rust.
2025-09-09 17:00:57 -04:00
507e69e209
Expose WWindow::fake_group so that it can be seen from Rust.
2025-09-09 16:54:30 -04:00
70814cc235
Add a module for the WWindow type.
2025-09-09 16:52:21 -04:00
2ef6720890
Expose WIcon::highlighted so that it can be seen from Rust.
2025-09-09 15:52:33 -04:00
493d3c9738
Expose WScreen::root_win so that it can be seen from Rust.
2025-09-09 15:49:52 -04:00
917cc29160
Use repr(C) for Application flags to use them from an FFI interace.
2025-09-09 15:45:57 -04:00
3234e15388
Move WApplication refcount maintenance into Rust.
2025-09-05 02:24:03 -04:00
394b4d23cb
Add forgotten use std::ptr.
2025-09-05 02:05:04 -04:00
274d1459aa
Move wApplicationClearUrgentBounceTimer into Rust.
2025-09-05 02:02:34 -04:00
9a886baef8
Ditch linked list pointers in Rust application struct, too.
2025-09-05 02:00:48 -04:00
7ba66fbc00
Get rid of unused intrusive linked list in WApplication.
...
There is code to maintain this list in wApplicationDestroy, but use of it was
removed in 2001 (see commit 672c42cc48 ). So let's do some cleanup.
2025-09-05 01:49:20 -04:00
289ceb2991
First stab at defining WApplication methods in Rust.
...
This builds and appears to run.
2025-09-03 21:38:35 -04:00
ab7e188334
Add Cargo build outputs at prospective build path to .gitignore.
2025-09-03 20:59:39 -04:00
55d34ff0a1
Make bitfields in WApplication's flags struct into real fields.
...
This will ease interop with Rust.
2025-09-03 20:58:31 -04:00
0e7f125494
Move WApplication definition and remaining methods into a separate file.
...
This should provide a more solid interface boundary for a WApplication
replacement written in Rust.
2025-09-03 20:55:12 -04:00
9404c21fa8
Duplicate src/application.c to preserve revision history.
2025-09-03 20:43:59 -04:00
455aa71c19
Hide WAppIcon fields in favor of accessors.
2025-09-01 21:20:22 -04:00
18db22063c
Hide WDock fields in favor of accessors.
2025-08-25 22:46:23 -04:00
b4d1dbe953
Hide WApplication fields in favor of accessors.
2025-08-24 23:41:16 -04:00
Doug Torrance
da676c9e9e
Add WPrefs Serbian translation to EXTRA_DIST
...
Otherwise "make check" fails (script/check-translation-sources.sh).
2024-11-12 10:15:17 +00:00
Doug Torrance
4edf589a5b
Remove cruft from autogen.sh
2024-11-12 10:15:17 +00:00
Doug Torrance
709eec4bce
Update autogen.sh so that it can be run from build directory
2024-11-12 10:15:17 +00:00
Jeremy Sowden
b179803c11
Fix spelling errors
...
* "unknow" -> "unknown"
* "occured" -> "occurred"
Remove some entries from PO files where these entries contain spelling errors
and there are other entries that are identical except for these mistakes.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net >
2024-11-10 16:59:03 +00:00
Jeremy Sowden
5cd40deb20
Add missing Language: headers to PO files
...
msgfmt complains.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net >
2024-11-10 16:59:03 +00:00
Jeremy Sowden
9db1ea580d
Ignore wrlib gettext artefacts
...
Signed-off-by: Jeremy Sowden <jeremy@azazel.net >
2024-11-10 16:59:03 +00:00
Jeremy Sowden
9e56f58742
Remove obsolete autoconf macro
...
`AC_PROG_GCC_TRADITIONAL` is obsolete and is now just an alias for `AC_PROG_CC`,
which is already defined.
Signed-off-by: Jeremy Sowden <jeremy@azazel.net >
2024-11-10 16:59:03 +00:00
Страхиња Радић
4b946f69e2
Update Serbian translation from master branch
...
Signed-off-by: Страхиња Радић <contact@strahinja.org >
2023-11-02 21:03:07 +00:00
Страхиња Радић
d55be193b8
Edit leftover automake files and READMEs for Serbian localization
...
This patch adds sr.po files to Makefile.am files throughout the repository
where needed. It also adds credits for Serbian localization in README files as
needed.
Signed-off-by: Страхиња Радић <contact@strahinja.org >
2023-11-02 19:28:30 +00:00