mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 13:36:30 +03:00
chore: update version to 1.0.0-alpha.0
This commit is contained in:
committed by
Friedel Ziegelmayer
parent
f5683f1fec
commit
18c0d9f83b
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "deltachat"
|
||||
version = "0.1.0"
|
||||
version = "1.0.0-alpha.0"
|
||||
authors = ["dignifiedquire <dignifiedquire@gmail.com>"]
|
||||
edition = "2018"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "deltachat_ffi"
|
||||
version = "0.1.0"
|
||||
version = "1.0.0-alpha.0"
|
||||
description = "Deltachat FFI"
|
||||
authors = ["dignifiedquire <dignifiedquire@gmail.com>"]
|
||||
edition = "2018"
|
||||
|
||||
@@ -11,9 +11,6 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
#define DC_VERSION_STR "0.43.0"
|
||||
|
||||
|
||||
/**
|
||||
* @mainpage Getting started
|
||||
*
|
||||
|
||||
@@ -12,8 +12,6 @@ extern crate human_panic;
|
||||
|
||||
use deltachat::*;
|
||||
|
||||
pub const DC_VERSION_STR: &'static str = "0.43.0\x00";
|
||||
|
||||
// TODO: constants
|
||||
|
||||
// dc_context_t
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
//! Constants
|
||||
|
||||
pub const VERSION: &'static [u8; 7] = b"0.43.0\x00";
|
||||
pub const DC_VERSION_STR: &'static [u8; 14] = b"1.0.0-alpha.0\x00";
|
||||
|
||||
pub const DC_MOVE_STATE_MOVING: u32 = 3;
|
||||
pub const DC_MOVE_STATE_STAY: u32 = 2;
|
||||
|
||||
@@ -549,7 +549,7 @@ static mut sys_config_keys: [*const libc::c_char; 3] = [
|
||||
|
||||
unsafe fn get_sys_config_str(key: *const libc::c_char) -> *mut libc::c_char {
|
||||
if strcmp(key, b"sys.version\x00" as *const u8 as *const libc::c_char) == 0 {
|
||||
return dc_strdup(VERSION as *const u8 as *const libc::c_char);
|
||||
return dc_strdup(DC_VERSION_STR as *const u8 as *const libc::c_char);
|
||||
} else if strcmp(
|
||||
key,
|
||||
b"sys.msgsize_max_recommended\x00" as *const u8 as *const libc::c_char,
|
||||
@@ -755,7 +755,7 @@ pub unsafe fn dc_get_info(context: &Context) -> *mut libc::c_char {
|
||||
public_key_count={}\n\
|
||||
fingerprint={}\n\
|
||||
level=awesome\n",
|
||||
to_str(VERSION as *const u8 as *const _),
|
||||
to_str(DC_VERSION_STR as *const u8 as *const _),
|
||||
to_str(libsqlite3_sys::SQLITE_VERSION as *const u8 as *const libc::c_char),
|
||||
sqlite3_threadsafe(),
|
||||
// arch
|
||||
@@ -809,7 +809,7 @@ pub unsafe fn dc_get_info(context: &Context) -> *mut libc::c_char {
|
||||
}
|
||||
|
||||
pub unsafe fn dc_get_version_str() -> *mut libc::c_char {
|
||||
dc_strdup(VERSION as *const u8 as *const libc::c_char)
|
||||
dc_strdup(DC_VERSION_STR as *const u8 as *const libc::c_char)
|
||||
}
|
||||
|
||||
pub unsafe fn dc_get_fresh_msgs(context: &Context) -> *mut dc_array_t {
|
||||
|
||||
@@ -8,7 +8,7 @@ use mmime::mailmime_write_mem::*;
|
||||
use mmime::mmapstring::*;
|
||||
use mmime::other::*;
|
||||
|
||||
use crate::constants::VERSION;
|
||||
use crate::constants::DC_VERSION_STR;
|
||||
use crate::context::Context;
|
||||
use crate::dc_chat::*;
|
||||
use crate::dc_contact::*;
|
||||
@@ -464,7 +464,7 @@ pub unsafe fn dc_mimefactory_render(mut factory: *mut dc_mimefactory_t) -> libc:
|
||||
strdup(b"X-Mailer\x00" as *const u8 as *const libc::c_char),
|
||||
dc_mprintf(
|
||||
b"Delta Chat Core %s%s%s\x00" as *const u8 as *const libc::c_char,
|
||||
VERSION as *const u8 as *const libc::c_char,
|
||||
DC_VERSION_STR as *const u8 as *const libc::c_char,
|
||||
if !(*(*factory).context).os_name.is_null() {
|
||||
b"/\x00" as *const u8 as *const libc::c_char
|
||||
} else {
|
||||
@@ -957,7 +957,7 @@ pub unsafe fn dc_mimefactory_render(mut factory: *mut dc_mimefactory_t) -> libc:
|
||||
message_text2 =
|
||||
dc_mprintf(b"Reporting-UA: Delta Chat %s\r\nOriginal-Recipient: rfc822;%s\r\nFinal-Recipient: rfc822;%s\r\nOriginal-Message-ID: <%s>\r\nDisposition: manual-action/MDN-sent-automatically; displayed\r\n\x00"
|
||||
as *const u8 as *const libc::c_char,
|
||||
VERSION as *const u8 as *const libc::c_char,
|
||||
DC_VERSION_STR as *const u8 as *const libc::c_char,
|
||||
(*factory).from_addr, (*factory).from_addr,
|
||||
(*(*factory).msg).rfc724_mid);
|
||||
let content_type_0: *mut mailmime_content = mailmime_content_new_with_str(
|
||||
|
||||
Reference in New Issue
Block a user