-
Fix compiliation on
armv7l
systems. -
Automatically build asm functions on supported architectures.
-
Update
x86_64
assembly code for the new inline assembler.
- Documentation updates
- Check for non-ASCII
chars
when passingchars
asData
- Use
llvm_asm!
macro to allow building with recent nightlies.
- Add
take_component()
method to Form.
- Remove dependency on the
dropck_eyepatch
nightly feature.
- Update license version in Cargo.toml, create new release to update crates.io.
-
Prevent use after free bugs that were possible in previous versions.
-
Functions changing widget settings no longer declared as
mut
. -
Change license to LGPL-2.1.
- Implement Clone, Debug, and Default traits for the Colors struct.
-
Moved components to the
newt::widget
namespace. Usage ofnewt::components::*
is deprecated. -
Renamed
newt::components::ComponentFuncs
trait tonewt::widgets::WidgetFns
. Usage ofComponentFuncs
is deprecated. -
Renamed
newt::grid::GridTrait
tonewt::grid::GridFns
. Usage ofGridTrait
is deprectated. -
Documentation updates.
-
Implement
VerticalScrollbar
initialization, although I've yet to figure out how they are used... -
Document the
static
feature.
-
Fix inline assembly invalid symbol redefinition error when making release builds.
-
Build releases with 'opt-level = 1'. Higher optimizations cause segfaults in functions making use of inline assembly. This doesn't rule out that there might be a problem with my code, but I can't find anything.
-
Reorganize assembly code.
-
Documentation updates.
-
Documentation updates.
-
Add
prelude
module containingComponent
s and constants.
- Implement Grids.
-
Implement
win_menu()
andwin_entries()
functions. These require the asm feature to be enabled. -
Form.watch_fd()
accepts anFDFlags
enum
instead of raw integers. -
reflow_text()
returns it's results as a tuple. -
Some functions now return
Result
instead ofi32
allowing for Rust style error handling. -
Convenience windows were moved to the
windows
module.
-
Implement component callbacks, help callbacks, suspend callbacks, and entry filters.
-
Implement
Form.watch_fd()
. -
Implement
get_position()
andget_size()
forComponent
.
-
Implement the simple message windows
win_message()
,win_choice()
, andwin_ternary()
. -
Implement
get_cursor_position()
andset_cursor_position()
for theEntry
component. -
Add the feature static allowing users to force the crate to be built against static versions of the bundled libraries. Usually dynamic linking against the system libraries will be used if they are available.
- Depend on
newt-sys
crate to provide library bindings.
-
The
get_current()
function forListbox
andCheckboxTree
now returnsOption
, rather thanpanic!
ing when there are no entries. -
Implemented internal trait
Data
that's accepted as an argument for certainListbox
andCheckboxTree
functions. Added implementations of theData
trait to integer primitives. -
Added
newt::components::component::Data
tuple struct that implements theData
trait. This can be used to wrap references to complex data types. -
CheckboxTree::add_item()
indexes parameter is now anOption
.
get_current()
as implemented forCheckboxTree
andListbox
raisespanic!
when called while those components have no entries, preventing it from returning an invalid memory reference.
- Minimum functionality of basic components.