77 Commits

Author SHA1 Message Date
Yevgen Muntyan
d9ef2046dd Make Regex and MatchInfo movable instead of allocating them on heap 2017-05-16 20:47:05 -07:00
Yevgen Muntyan
b0dfab95e3 Do not leak in gstr::steal() 2017-05-16 20:46:26 -07:00
Yevgen Muntyan
cabd3e990e 64-bit warning fixes 2017-05-16 20:45:46 -07:00
Yevgen Muntyan
c13468f8ed More C++ 2016-10-24 23:35:31 -07:00
Yevgen Muntyan
a48117407f Compile tests as C++ 2016-10-23 12:43:28 -07:00
Yevgen Muntyan
37758991be Better gstr 2016-10-22 23:45:07 -07:00
Yevgen Muntyan
c05d4244f0 A bit more C++ 2016-10-17 00:47:37 -07:00
Yevgen Muntyan
f1dfcc2aee Compile more code as C++ 2016-10-16 01:31:24 -07:00
Yevgen Muntyan
86dc697754 Compile more code as C++ 2016-10-15 23:56:50 -07:00
Yevgen Muntyan
d8e7a08bf3 Smart pointer for GObject-derived types 2016-10-09 20:45:28 -07:00
Yevgen Muntyan
518c2655a3 Reverting to rev 4901 2016-10-02 21:14:12 -07:00
Yevgen Muntyan
3abdee7916 Backed out changeset 9916df3bc2ee 2016-10-02 21:10:11 -07:00
Yevgen Muntyan
7537fde15f Backed out changeset 6dc48723dcd9 2016-10-02 21:10:05 -07:00
Yevgen Muntyan
3a16c4bed9 Partially fixed compilation 2016-10-02 21:09:43 -07:00
Yevgen Muntyan
e46e825990 Partially fixed compilation 2016-10-02 20:51:45 -07:00
Yevgen Muntyan
b5480b63e0 Merge linux changes 2016-10-02 20:46:13 -07:00
Yevgen Muntyan
7401e2a87f Bunch of extra C++ code 2016-10-02 20:44:33 -07:00
Yevgen Muntyan
0f5c160a4f Fix more gcc compile errors 2016-06-02 01:05:27 -07:00
Yevgen Muntyan
9a37a33301 Fix some gcc compile errors 2016-06-02 00:48:40 -07:00
Yevgen Muntyan
b5e338dc57 Fix the build 2016-05-10 23:29:30 -07:00
Yevgen Muntyan
0f5aa98366 Partially fixed gcc build 2016-05-10 23:26:06 -07:00
Yevgen Muntyan
7c2c00b179 Started undo, not working 2016-05-10 21:54:52 -07:00
Yevgen Muntyan
7cb5339342 g_win32_error_message takes a guint32, not DWORD 2016-03-19 11:43:45 -07:00
Yevgen Muntyan
c45171964f make_shared 2016-02-29 22:17:33 -08:00
Yevgen Muntyan
84e82a9ef6 A bit safer C++ API 2016-02-06 23:37:16 -08:00
Yevgen Muntyan
bde0c7381b Safer printf-like functions 2016-02-02 01:12:23 -08:00
Yevgen Muntyan
afa7788a75 Fixed a warning 2016-01-31 03:10:08 -08:00
Yevgen Muntyan
e6563a47e6 Allow moving values into property setters 2016-01-31 03:07:44 -08:00
Yevgen Muntyan
3bf1b3181d Even safer getters and setters 2016-01-31 01:25:36 -08:00
Yevgen Muntyan
191b6cdfea More type-safe getters and setters 2016-01-31 00:27:59 -08:00
Yevgen Muntyan
4e8ebe2016 GtkTreeModel wrapper 2016-01-31 00:03:05 -08:00
Yevgen Muntyan
db124b6d9b C++ wrappers for a bunch of glib functions 2016-01-29 00:20:30 -08:00
Yevgen Muntyan
4be89add5a Couple more C++ classes 2016-01-28 20:13:06 -08:00
Yevgen Muntyan
a5ccbaec6c Use native file dialogs on windows 2016-01-28 03:20:29 -08:00
Yevgen Muntyan
24cdc2d6c8 Fixed gstr(const gstr&) 2016-01-26 00:27:35 -08:00
Yevgen Muntyan
dd13a30fe4 Better string class 2016-01-21 03:16:33 -08:00
Yevgen Muntyan
0d8efea151 Prettified log functions 2016-01-21 01:13:28 -08:00
Yevgen Muntyan
519d3bd27a Disable gref_ptr::operator=(T*), it made it possible to steal a reference and then double-unref 2016-01-20 23:14:03 -08:00
Yevgen Muntyan
c991672d29 Fixed gerrp::operator=(gerrp&&) when the source is empty 2016-01-20 22:58:04 -08:00
Yevgen Muntyan
c640dc0edf More C++ 2016-01-19 03:54:06 -08:00
Yevgen Muntyan
7e468b2810 gobj_wrapper 2016-01-19 00:33:23 -08:00
Yevgen Muntyan
a12ae815f4 Couple of C++ tweaks 2016-01-17 03:49:15 -08:00
Yevgen Muntyan
7a034e1496 Renamed gobjptrtypes* to gobjtypes* 2016-01-17 01:31:00 -08:00
Yevgen Muntyan
e1c2fb48fe static_asserts to check that gobj_ref doesn't grow additional members 2016-01-17 01:11:41 -08:00
Yevgen Muntyan
228298ee10 More C++ 2016-01-17 01:06:27 -08:00
Yevgen Muntyan
8600b2fcde Don't specialize gobj_ptr, it's pointless 2016-01-17 00:35:07 -08:00
Yevgen Muntyan
6b3ac58a02 More C++ 2016-01-17 00:04:49 -08:00
Yevgen Muntyan
fce3bc6908 More C++ 2016-01-10 01:12:50 -08:00
Yevgen Muntyan
cfc6d08f0f More C++ 2016-01-09 15:53:37 -08:00
Yevgen Muntyan
24fc23fe1b Made MooOpenInfo and friends plain C++ objects and wrapped them into GBoxed 2016-01-05 04:45:22 -08:00