Commit graph

228 commits

Author SHA1 Message Date
cra0zy
d14e4d17ab Update Templates 2019-11-07 21:51:48 +01:00
cra0zy
a32bcb35c7 Better way of including Gtk libs 2019-11-07 21:32:32 +01:00
cra0zy
5a179531bb Fix hardcoded test location 2019-11-04 23:57:06 +01:00
cra0zy
4675d0fa82 Bundle Windows Gtk Libraries 2019-11-04 23:14:33 +01:00
cra0zy
e9f1f3628d Improve library loading code 2019-11-04 21:02:36 +01:00
Mikhail Kanygin
f43292c19c Generator now creating imported api delegates with UnamangedFunctionPointer calling convention cdecl by default. 2019-11-04 20:13:01 +01:00
Mikhail Kanygin
42a0e01775 Fixtures: added UnmanagedFunctionPointer to whole delegate calls collection to prevent stack incosistence exception for x86 apllications on windows. 2019-11-04 20:12:50 +01:00
cra0zy
2b857cd980 Connect MonoDevelop addin building 2019-08-10 17:02:49 +02:00
cra0zy
377a1abfc4 Revert "Project files"
This reverts commit 32fdca5754.
2019-08-10 17:02:18 +02:00
Mads Kruse Johnsen
99960543b1 Null check 2019-08-10 15:58:34 +02:00
Mads Kruse Johnsen
2e1882d31e Attempt minimal changes to obtain proper disposing. 2019-08-10 15:58:34 +02:00
Mads Kruse Johnsen
32fdca5754 Project files 2019-08-10 15:58:34 +02:00
awittaker
b23b9f72c5
[Samples] New DrawingArea sample 2019-07-15 10:58:36 +01:00
Mikkel Kruse Johnsen
9764260931 Free all internal signals, else the garbage collector is not able to free the object. 2019-01-08 11:39:25 +01:00
Harry
304eefde96
Merge pull request #67 from cra0zy/fixtreeiter
Fix TextView.GetIterAtPosition (fixes #58)
2018-11-25 15:54:06 +00:00
Harry
f0ec98948c
Merge pull request #68 from cra0zy/styleprop
Fix StyleContext.GetProperty (fixes #51)
2018-11-25 15:53:55 +00:00
cra0zy
e0f9a93b31 Fix StyleContext.GetProperty (fixes #51) 2018-11-25 16:52:38 +01:00
cra0zy
ef45d42dcf Fix TextView.GetIterAtPosition (fixes #58) 2018-11-25 16:29:06 +01:00
miegir
93deaa1219
fix type initialization error in VariantType
Move public static fields below function pointers on which they depend
2018-11-05 22:42:54 +03:00
cra0zy
34dbf5ee16 [Gtk] Fix clipboard store not accepting an array 2018-04-12 11:38:59 +02:00
cra0zy
3bfa6e7295 Add DeltaX and DeltaY to Gdk.EventScroll (fixes #37) 2018-04-05 23:25:46 +02:00
Pedro Larouca
aca698f178 [FIX] PangoSharp metadata (osx) 2018-03-31 02:01:38 +01:00
cra0zy
d04764433f [Pango] Fix getting FontFamily on Windows 2018-03-30 20:15:09 +02:00
Harry
569b62132e
Revert "Fix getting Pango fonts" 2018-03-30 16:28:50 +02:00
Pedro Larouca
ff82c2ab4a [Samples] applied fix proposal 2018-03-21 22:50:28 +00:00
Pedro Larouca
ed53817b99 [Samples] ComboBox samples, still missing some major combo features. 2018-03-21 02:27:44 +00:00
Pedro Larouca
9366140544 [Samples] fix pulse progressbar comment on code 2018-03-21 02:26:32 +00:00
Pedro Larouca
178b18aaeb [Samples] Fix the completion entry code, Matchfunc was not correctly used. Added insensitive entry sample. 2018-03-21 02:25:53 +00:00
cra0zy
39f3bfdb23 Fix getting Pango fonts 2018-03-12 05:28:49 -07:00
cra0zy
a8c2f4dbcc Fix GetClipRectangle 2018-03-10 18:57:23 +01:00
cra0zy
a31c0ca3a0 Add RTLD_GLOBAL flag 2018-03-01 20:11:35 +01:00
Harry
553b59abb8
Revert "Fix a null reference exception" 2018-03-01 17:02:25 +01:00
cra0zy
186b1ce72b Fix a null reference exception 2018-03-01 15:04:08 +01:00
cra0zy
6b9f31f65f Finish up MonoDevelop addin 2018-03-01 14:41:53 +01:00
cra0zy
26ef5bad3e
Fix file permissions, how did this happen? 2018-02-26 23:03:31 +01:00
Harry
a69b4d98b4
Merge pull request #21 from cra0zy/fsharp
F# templates + minor template fixes
2018-02-26 22:42:30 +01:00
cra0zy
12d8841405
F# templates + minnor template fixes 2018-02-26 22:41:01 +01:00
cra0zy
b93654e39d Disable not found function printing (closes #18) 2018-02-02 19:21:28 +01:00
cra0zy
441ed4b897 Improve OS detection (fixes #14) 2018-01-29 19:37:54 +01:00
Pedro Larouca
eec217a5c5 [Samples] some more widgets (#13)
[Samples] Label, LevelBar, ProgressBar and Spinner sections
2018-01-29 14:39:29 +01:00
Harry
7640a16562
Merge pull request #11 from MarchingCube/develop
Fixed clip area related methods (Gtk and Cairo)
2018-01-28 15:08:08 +01:00
MarchingCube
edd455ba02 [Cairo] Add missing ClipExtents (cairo_clip_extents) method. 2018-01-28 00:00:14 +01:00
MarchingCube
887adc0340 [Codegen] Fixed gtk_widget_get_clip call. 2018-01-27 23:14:43 +01:00
cra0zy
7c9efe3fe6 [Samples] Update section name handling 2018-01-27 21:47:02 +01:00
Pedro Larouca
bc8aead471 Separeted widgets into files 2018-01-27 19:12:24 +00:00
Pedro Larouca
18f4b191fd Some more buttons 2018-01-27 03:44:15 +00:00
Pedro Larouca
5f76dca449 [Samples] Entry code cleanup 2018-01-26 00:33:32 +00:00
Harry
09c0ee598e
Merge pull request #6 from GtkSharp/setvisiblefalse
[Samples] Hide embedded resources
2018-01-26 01:02:17 +01:00
cra0zy
d4209c3674 [Samples] Hide embedded resources 2018-01-26 00:55:45 +01:00
Harry
94de43eeb8
Merge pull request #5 from GtkSharp/samplesreadme
Release samples to public domain
2018-01-26 00:44:32 +01:00
Pedro Larouca
1e814045f2 [Samples] Entry demo - part2 (#4)
[Samples] More entry demos
2018-01-26 00:43:55 +01:00
cra0zy
cb00498693 Release samples to public domain 2018-01-26 00:13:36 +01:00
Pedro Larouca
d511aa2672 [Samples] Entry demo (#2)
[Samples] Add entry section
2018-01-23 15:15:17 +01:00
cra0zy
7952f969cf Remove unused info from GLib api file 2018-01-22 02:45:30 +01:00
cra0zy
6bc375eaf4 Rename EventArgs to SocketEventArgs to avoid name conflict with System 2018-01-22 00:19:45 +01:00
cra0zy
9774c66a68 [Samples] Add code viewing 2018-01-21 20:44:00 +01:00
cra0zy
687b070ea2 [Samples] Setup more of base + add button examples 2018-01-21 19:54:58 +01:00
cra0zy
69716243b9 [Samples] Setup ApplicationOutput for catching events 2018-01-21 00:40:47 +01:00
cra0zy
31e120a9de Setup Samples base 2018-01-20 20:09:27 +01:00
cra0zy
1e626abda2 Don't write found extensions 2018-01-19 01:56:31 +01:00
cra0zy
a224a9e161 Fix up more of the residual errors that came with the switch 2018-01-19 01:29:05 +01:00
cra0zy
f038f6c03e Properly bump version numbers 2018-01-18 22:56:23 +01:00
cra0zy
411cdfd502 Safeload static functions as well 2018-01-18 22:54:45 +01:00
cra0zy
8b5cb38bcb Setup safer function loading so the bindings can be used on older versions of Gtk 2018-01-18 20:41:31 +01:00
cra0zy
af97186201 Reorganize the build system a bit 2018-01-18 20:41:31 +01:00
cra0zy
3f0810c93a Split out FuncLoader into multiple files 2018-01-18 20:41:31 +01:00
Harry
44646c3144 Fix MacOS library names 2018-01-18 20:41:03 +01:00
cra0zy
9cc0767772 Setup samples base 2018-01-18 20:41:03 +01:00
cra0zy
a6d5693151 Final touches to FuncLoader 2018-01-18 20:41:03 +01:00
cra0zy
543a29569b Replace DllImport with a better multiplatform solution 2018-01-18 20:41:03 +01:00
cra0zy
1fd95018d9 [Templates] Only include glade files once 2018-01-16 20:52:03 +01:00
cra0zy
4b943a4686 [Templates] Fix output type 2018-01-16 19:36:07 +01:00
cra0zy
0dc47c7b91 [Templates] Replace warning ignoring with null setting 2018-01-16 15:15:30 +01:00
cra0zy
fa042d60d8 Fix typos in project include 2017-12-31 19:51:59 +01:00
cra0zy
c17b5051bd Fix SimpleAction events 2017-12-23 02:58:41 +01:00
cra0zy
90bbc67f3c Remove static glue code 2017-11-25 02:02:45 +01:00
cra0zy
153a77ad4b Always generate API files 2017-11-13 19:36:15 +01:00
cra0zy
5d3c13f245 Add missing type specifier for item templates 2017-11-12 03:10:07 +01:00
cra0zy
4b3bef6f9d [Templates] Use correct slashes 2017-11-12 00:57:27 +01:00
cra0zy
163c94354a Template and addin updates 2017-11-12 00:38:48 +01:00
cra0zy
a09f751b10 Generate .dll.config files for standard .NET projects 2017-11-11 19:11:44 +01:00
cra0zy
ee57c26d77 Improve native lib referencing 2017-11-09 22:22:51 +01:00
cra0zy
cd24c1a833 Restructure Template locations 2017-11-07 20:12:11 +01:00
cra0zy
5e905ba3e4 Add VBNet templates 2017-11-02 22:13:53 +01:00
cra0zy
e621c368bd Upgrade .Net Core C# templates 2017-11-02 17:13:43 +01:00
cra0zy
c6060b93a6 Fixup the links to point to the organization 2017-10-30 20:41:26 +01:00
cra0zy
762f5fd6d9 Fix GtkSharp nuget icon 2017-10-30 20:12:08 +01:00
cra0zy
7077095b86 Bump the specified version of GtkSharp in the templates 2017-10-30 15:06:47 +01:00
cra0zy
4bc1fb5101 Add .dll to the name of the libs because on Windows .Net Core does not try to guess the name 2017-10-30 00:49:23 +01:00
cra0zy
ac7ea69ce8 Fix linux stubs linking 2017-10-30 00:23:56 +01:00
cra0zy
cfc794c3bd Add arm linux stubs 2017-10-29 16:46:34 +01:00
cra0zy
32bf88c341 Add package and assembly info 2017-10-29 15:28:44 +01:00
cra0zy
4379eecdf3 Connect template to the build system 2017-10-29 01:35:22 +02:00
cra0zy
edd43afeaf Rename CairSharp > CairoSharp 2017-10-29 00:52:28 +02:00
cra0zy
77a12bc24f Templates & Templates & Templates 2017-10-26 19:49:21 +02:00
cra0zy
ccb48b505c EnablAdd auto generation of native lib stubs 2017-10-26 18:30:48 +02:00
cra0zy
46951b3f91 NuGet packaging, Dll mapping and general .Net core improvements 2017-10-26 01:42:57 +02:00
cra0zy
6926c9cbf2 WIP CAKE + .Net Core 2017-10-23 01:25:13 +02:00
Thibault Saunier
af0c5ccc63 Use platform dependent paths separator when building MESON_PATH 2017-10-06 08:03:54 -03:00
Thibault Saunier
815c79fbe3 Bump dependency to Gtk 3.22 which is what we wrap/need 2017-10-04 23:22:37 +02:00
Thibault Saunier
bb2c1782a7 valtest: Add missing dependency 2017-10-04 23:22:37 +02:00
Thibault Saunier
c3edb7dce8 Use a G_GUINT64_FORMAT to print the result of sizeof
Using G_OFFSET_FORMAT was misused
2017-10-04 23:22:37 +02:00
Thibault Saunier
291eabb650 Run unit tests only when using mono and set MONO_PATH 2017-10-04 23:22:37 +02:00
Thibault Saunier
d11000fa79 Test Gtk and Atk generated ABI
And fix any related issues.
2017-10-04 16:37:28 -03:00
Thibault Saunier
c02ee2eb1a generator: Use parent structure fields whene generating ABI for fieldless structures 2017-10-04 16:37:27 -03:00
Thibault Saunier
7d7036c9c6 generator: Handle different gapi content if from bindinator or our parser
Basically our "parser" does not generate <field> for instance structure
parent wherease bindinator generate (broken ones, being pointers instead
of plain structures)
2017-10-04 16:37:27 -03:00
Thibault Saunier
c88946e213 sample:gtk: Ignore usage of obselete symbols 2017-10-04 16:37:27 -03:00
Thibault Saunier
3fdb4f47f1 gtk: Do not use glue anymore! 2017-10-04 16:37:27 -03:00
Thibault Saunier
12ec179f4a glib: Add GMarkupParser support 2017-10-04 16:37:27 -03:00
Thibault Saunier
05cfd406ef fixup: Allow specifying max number of matches to patch attributes for 2017-10-04 16:37:27 -03:00
Thibault Saunier
1d88acfbe7 generator: Use a AbiStruct for Class structures
Not for interfaces as it won't should not be required.
2017-10-04 16:37:27 -03:00
Thibault Saunier
248278d267 generator: Use a new AbiStruct object to handle wrapped type ABI
This allows us to totally get rid of the glue as this new class
handles bitfields and union properly.
2017-10-04 16:13:01 -03:00
Thibault Saunier
7d902ef7e4 generator: Handle new Callback field type. 2017-10-04 16:13:01 -03:00
Thibault Saunier
2852b771ea generator: Use TextWriter instead of StreamWriter in base classes
Giving users of the writer more possibility, such as generating the
code in strings before actually using it.
2017-10-04 16:13:01 -03:00
Thibault Saunier
2d71de1360 generator: Enhance logging avoiding the use of simple prints
And adding a LogWriter.Info method enabled with the GENERATOR_DEBUG
environment variable.
2017-10-04 16:13:01 -03:00
Thibault Saunier
d28c09d15e generator: Make instance_offset as hiding inherited member 2017-09-26 02:30:38 +02:00
Thibault Saunier
fe4fac8af2 Make sure to run exes within mono if required 2017-09-26 02:30:38 +02:00
Thibault Saunier
484a713442 build: Add keyfile as project argument
And delay signing when using csc
2017-09-26 02:30:38 +02:00
Thibault Saunier
2e03809ce8 glib: Make GObject.NativeType public
This is needed in GStreamer for the DynamicSignal part and is generaly
useful.
2017-09-25 19:13:32 +02:00
Harry
86b20442a2 Fix error in case glade.sh is not found (#9) 2017-09-23 11:56:25 -03:00
Harry
5f3d138d1a Add base gtk# md addin (#8)
* Base Gtk# MD Addin

* Fix tabs
2017-09-23 11:38:43 -03:00
Thibault Saunier
d1457f6e03 generator: Mark instance_offset field as static
Those are per class and should not be overriden ever
2017-09-21 20:39:06 +02:00
Thibault Saunier
bc08418eb5 Build the assembly data file as required 2017-09-20 12:15:50 -03:00
Thibault Saunier
9de231db82 Generate ABI compatible structures for unions 2017-09-06 18:36:01 +02:00
Thibault Saunier
9a9ef4b60b Remove autotools 2017-09-06 18:35:44 +02:00
Thibault Saunier
8e50c7068d Ignore warnings on generated glue code 2017-09-06 13:16:56 -03:00
Thibault Saunier
9f9acbfdf4 Add a meson.build file in the toplevel folder 2017-09-04 22:40:02 -03:00
cra0zy
c35a345041 Quick Reorganization 2017-09-04 22:36:28 -03:00