1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-04 18:29:19 +02:00
Commit graph

83 commits

Author SHA1 Message Date
holger krekel
b709adddcf finalize new internal Messaging API, now not using wrappers anymore 2018-10-07 15:30:42 +02:00
holger krekel
aaf37821c4 move towards message creation API, refactor constructors for messages 2018-10-07 15:07:14 +02:00
holger krekel
e45acb17a3 shift message classes to own file 2018-10-07 14:20:24 +02:00
holger krekel
d18fc8ebf9 add msg.basename and a few assertions 2018-10-07 08:23:26 +02:00
holger krekel
5c3e41fcb5 - bump version
- add forgotten data file
- rename Chat.send_text_message to Chat.send_text
- add optional mime-type param to Chat.send_file
- properly install the package instead of "usedevelop" mode
2018-10-06 21:37:05 +02:00
holger krekel
b6355176de add chat.delete(), chat.send_image, msg.filename, msg.filemime and msg.type.is_* 2018-10-06 19:11:48 +02:00
holger krekel
8aaa7fd791 fix link 2018-10-06 17:30:39 +02:00
holger krekel
03507356c6 play around with styling: larger font-size and more page width -- these docs, i assume, are mostly watched on laptops, not mobile's 2018-10-06 17:24:15 +02:00
holger krekel
20f0c93ba6 don't use removed set_config_int from python bindings 2018-10-04 21:11:37 +02:00
holger krekel
690ba67c8b some more refinements and typo fixes 2018-09-27 16:57:30 +02:00
holger krekel
4d22bcd783 put html dir into proper subdir 2018-09-27 16:36:41 +02:00
holger krekel
031058ebd2 major rehault of docs at root and python level,
preparing a deltachat-0.6 release
2018-09-27 16:10:33 +02:00
B. Petersen
9273e1e458 link to new http://c.delta.chat doc, remove tool for creating the doc on github.io 2018-09-26 18:12:06 +02:00
holger krekel
2426df9bb8 tox already cares for doc-building 2018-09-26 12:06:38 +02:00
holger krekel
d057aa77d3 fix linking to classes in sphinx docs 2018-09-26 11:51:01 +02:00
holger krekel
f487266489
Merge pull request #313 from deltachat/ci-build-docs
Ci build docs and deploy
2018-09-26 11:35:53 +02:00
holger krekel
c4418a0e14 generate DC_* constants in new deltachat.const module which are living as #define macros in deltachat.h. You can re-generate with "python src/deltachat/const.py". 2018-09-26 11:21:13 +02:00
Azul
118d6ee2f4 travis: try building the docs 2018-09-25 15:33:06 +02:00
holger krekel
68900edfbc add sending timestamp 2018-09-25 12:54:27 +02:00
holger krekel
d392324ec6 refine test setup wrt to helper methods, also xfail a test on travis 2018-09-24 20:35:13 +02:00
holger krekel
366da3e9fa use the technique @r10s described for getting an offline but configured account
this also resolves a number of XXX
2018-09-24 20:27:18 +02:00
holger krekel
da78552622 - make set_config() more like the c-version but make configure() accept **kwargs
- some safety checks: you can't modify addr after successful configure
2018-09-24 20:27:18 +02:00
holger krekel
85cb0d679e use proper dc function for contact listing as per review from @r10s 2018-09-21 12:39:23 +02:00
holger krekel
5e9c3471b6 refine some docs, bump version 2018-09-19 12:20:41 +02:00
holger krekel
0bfa955f9c some better printing, fixing py35 2018-09-19 12:09:55 +02:00
holger krekel
5914af77c2 - add delete_messages() and chat.get/set_name()
- forget about caching dc_chat and dc_msg and dc_chat struct references for now
2018-09-19 10:41:01 +02:00
holger krekel
cfb05bdf82 add forward messages API 2018-09-18 20:18:18 +02:00
holger krekel
e777b576cb add initial group management API and is_promoted() 2018-09-18 19:37:07 +02:00
holger krekel
3015c3c6d7 add account.get_chats() API 2018-09-18 19:04:31 +02:00
holger krekel
a2a23f778d integrate doxygen's deltachat.h docs into sphinx output 2018-09-16 23:25:57 +02:00
holger krekel
3d30a208c1 "make install" now transfers the build/html file to delta@py.delta.chat ... 2018-09-16 22:01:57 +02:00
holger krekel
bf78f8e0aa actually we can use ffi.gc(obj, destructor) instead of
the _UnrefStruct i invented -- this returns a gc-ed cdata
that will call the destructor when the object goes out of scope.
2018-09-15 01:33:20 +02:00
holger krekel
929d6da2ef better names for the converseion to/from dc char pointers 2018-09-15 01:17:45 +02:00
holger krekel
1f0812c907 revamp api high level page, strike last references of "ffi.CData" 2018-09-15 00:54:36 +02:00
holger krekel
68c401ea76 add favicon to docs 2018-09-15 00:12:04 +02:00
holger krekel
8c1c65b631 move all unref'in to a specific shadow class that takes care of unref'ing.
bump version
2018-09-15 00:10:33 +02:00
holger krekel
da2bcd0c5a introduce message.get_state() API which provides is_in_delivered()|is_out_delivered|... methods. 2018-09-14 21:46:14 +02:00
holger krekel
959ac73122 some further improvements -- and making all captions lower-case for the fun of it :) 2018-09-14 18:31:22 +02:00
holger krekel
8683de19e3 improve docs and structure
see online snapshot: https://m.devpi.net/hpk/dev/deltachat/0.5.dev0/+doc/index.html
2018-09-14 18:10:01 +02:00
holger krekel
4e00d5a7af fixup some doc pages, and canonically handle another __del__ function
add the missing makefile
2018-09-14 12:40:26 +02:00
holger krekel
669de40f66 try fix travis and a spurious exception on __del__ time -- only do something if module globals are not None, some other fixups 2018-09-14 12:13:57 +02:00
holger krekel
66d6621f93 initial sphinx docs and many docstrings. 2018-09-14 11:36:07 +02:00
holger krekel
dd060d7cf2 implement enough API to mark messages as noticed and seen, and check that MDNs arrives back
also fix up setup.py
2018-09-14 11:30:57 +02:00
holger krekel
9d22585cea add contact handling and tests, complete get_contacts() API with flags,query 2018-09-14 11:30:57 +02:00
holger krekel
d24a1b5375 add some basic array handling and a get_chat_msgs() 2018-09-14 11:30:57 +02:00
holger krekel
41e3bb3aaa add account.is_configured() method and assert helper 2018-09-14 11:30:57 +02:00
holger krekel
4a377bff6a address @flub's remarks -- strike myattr and use imported attr directly 2018-09-13 14:20:51 +02:00
holger krekel
a21dc8ab31 consistently don't use globals in __del__ 2018-09-13 13:16:57 +02:00
holger krekel
fef5537aa8 if our global callback does not have access to globals anymore, just return 0 gracefully 2018-09-13 13:09:42 +02:00
holger krekel
a124a6dd86 actually we can wait for threads to stop now, don't know why it didn't work before.
we can also attempt to free dc_context now.
2018-09-13 12:50:51 +02:00