Commit Graph

60 Commits (d86cb67eda0cfd7eb912e2a64ca0d3e4e89ac015)

Author SHA1 Message Date
Larpon 62c2168b0b
clipboard: document all pub functions, adhere to vdoc style (#8243) 2021-01-21 12:45:59 +01:00
Delyan Angelov b3a4f746a2
clipboard: use a nicer error when X11/Xlib.h is missing 2021-01-19 20:47:09 +02:00
Delyan Angelov 7545ed4121
ci: fix union field warnings in `clipboard` module 2021-01-09 11:37:40 +02:00
Swastik Baranwal 21d5db43af
cgen: do not generate `!=` and `==` for C types (#7856) 2021-01-04 08:57:31 +01:00
Delyan Angelov 9b43b6833b
ci: fix clipboard_test.v on windows 2021-01-03 23:46:08 +02:00
yuyi b6136f9f8f
clipboard: fix `to_wide()` in clipboard_windows.c.v (#7768) 2021-01-01 11:07:58 +02:00
Bakul Shah 45495c3ebb
clipboard: fix test on freebsd (#7735) 2020-12-31 11:34:46 +02:00
Delyan Angelov 270ba07e83 clipboard: add a `clipboard.x11` submodule, use it by default; add a `clipboard.dummy` for solaris 2020-12-25 19:34:21 +02:00
Nick Treleaven d785e22a6e
checker: disallow assigning number to pointer (#7267) 2020-12-12 10:42:07 +01:00
Alexander Medvednikov 99bdb87a01 all: remove #objc for good 2020-11-20 23:49:52 +01:00
Alexander Medvednikov 412e2a43e9 clipboard: fix clear() on macos 2020-11-20 12:00:16 +01:00
Delyan Angelov d382db77ee ci: fix failing clipboard_test.v on MacOS 2020-11-20 11:44:26 +02:00
Alexander Medvednikov 55a7c907ad clipboard: fix set_text() 2020-11-20 03:28:28 +01:00
Alexander Medvednikov d50c919879 clipboard: fix get_text() on macos 2020-11-20 01:08:55 +01:00
Lukas Neubert 4ccb219079
clipboard: fix windows warnings and run vfmt (#6715) 2020-11-02 23:00:29 +01:00
Delyan Angelov 46c5a2c8fc v test-fmt: fix some embedded comments in expressions 2020-10-14 22:52:33 +03:00
Lukas Neubert 6eea13ecc2
clipboard: wrap pointer indexing in unsafe block (#6178) 2020-08-20 10:33:12 +02:00
Lukas Neubert 88bca9d17a
clipboard: wrap vstring call in unsafe (#6170) 2020-08-19 16:06:23 +02:00
Delyan Angelov 36eae1c175
builtin: x.vstring() instead of string(x) (#6102) 2020-08-10 18:05:26 +02:00
Delyan Angelov 276c1de190 unsafe: tag with unsafe{} some more pointer manipulations 2020-07-22 21:42:51 +03:00
Uwe Krüger 3b067f5f85
all: experimental locked concurrency support, part 1 (#5637) 2020-07-04 12:44:25 +02:00
spaceface777 624005bbd0
tcc_win: fix tests 2020-06-19 12:54:56 +02:00
Uwe Krüger 013fdb8a4b
checker: restrict numeric promotions to cases where no data is lost 2020-05-27 05:42:48 +02:00
Uwe Krüger fd4d28b7b6
tests: update for stricter type checks 2020-05-24 21:07:32 +02:00
Uwe Krüger 2635be511f
all: re-apply C++ support 2020-05-18 21:38:06 +02:00
Alexander Medvednikov 07a78b2843 Revert "all: C++ compiler support"
This reverts commit 9a237c3e82.
2020-05-18 17:05:48 +02:00
Uwe Krüger 9a237c3e82
all: C++ compiler support 2020-05-18 15:51:36 +02:00
yuyi 7f4cf08516
parser: check `(mut f Foo)` syntax 2020-05-17 13:51:18 +02:00
Enzo Baldisserri f44a40eee0
checker: check incorrect names 2020-05-16 16:12:23 +02:00
Alexander Medvednikov 8d2a4d2436 clipboard: make compile on linux 2020-05-06 12:00:52 +00:00
Alexander Medvednikov 207324d15b strings.builder: remove unused var; clipboard: linux fixes 2020-05-06 11:44:08 +00:00
Alexander Medvednikov 2a5421133d clipboard: Linux fixes 2020-05-03 16:39:26 +02:00
yuyi 2574dce174
all: fix remaining `[]array` warnings 2020-04-26 16:25:54 +02:00
yuyi 9f4d498ff1
all: update`import ()` and `[]array` 2020-04-26 13:49:31 +02:00
yuyi 541b058e90
all: use `a !in b` instead of `!(a in b)` 2020-04-26 06:39:23 +02:00
yuyi 4e1abc8503
all: remove commas between enum vals 2020-04-23 01:16:16 +02:00
Alexander Medvednikov 4471314291 clipboard: make the Linux version compile 2020-04-21 07:24:23 +00:00
Alexander Medvednikov ab38605802 tests: disable clipboard on linux; x64: leave() 2020-04-21 06:16:47 +02:00
lutherwenxu dc4db87be3
vlib: use new filename format 2020-04-11 19:51:32 +02:00
Alexey b8f1152408
clipboard: fix build on Windows 2020-04-04 15:37:13 +02:00
Alexey a333ac1888
all: remove redundant parentheses in `if` statements 2020-03-29 10:08:42 +02:00
Delyan Angelov ba088056ed
solaris: make 'v test-compiler' pass (stage 2) 2020-03-21 09:48:02 +01:00
spaceface777 ef8c1203b4
cleanup: replace C for loops with range 2020-02-24 17:55:16 +01:00
Delyan Angelov 0d52cc97e4 sync: make new_mutex() and new_waitgroup() return &Mutex and &Waitgroup 2020-01-19 20:32:22 +01:00
Delyan Angelov 4a82770f16 fix warnings about clipboard when building ui on linux 2020-01-13 17:53:56 +01:00
Alexander Medvednikov b6c0b22742 interfaces fixes; freetype.text_width(); gl and stbi fixes 2020-01-12 16:11:28 +01:00
Delyan Angelov 6c16bac908 vfmt: it can now be used for _platform.v files too, no matter the host os 2019-12-27 17:59:04 +01:00
Alexander Medvednikov 7b0e378947 fix clipboard_linux.v 2019-12-07 18:16:19 +03:00
Alexander Medvednikov f51784ee01 remove unnecessary casts everywhere 2019-12-07 15:51:00 +03:00
Alexander Medvednikov a854d396ff clipboard: fix mutability on macOS and Windows 2019-12-07 15:22:28 +03:00