mattias
6e973773ca
updated Makefiles
2023-11-25 14:33:16 +01:00
mattias
0d886d65e4
updatemakefiles: update custom Makefiles too
2023-11-25 14:33:04 +01:00
Maxim Ganetsky
0e65a9fbeb
Revert erroneous renaming of file in "gir2pas: Added code to disable warning about non ascending enumeration values." (commit 508bd102b0
). The change made to file contents is kept.
2023-11-16 02:35:22 +03:00
Abou Al Montacir
508bd102b0
gir2pas: Added code to disable warning about non ascending enumeration values.
...
FPC does warn about non strictly ascending enumeration values.
Unfortunately, some GTK enum identifiers share the same value and this
warning can safely be ignored. We shut it up.
2023-11-15 22:47:52 +01:00
ACTom
aaaca4ee83
Translations: Chinese translation update by ACTom, merge request !247
2023-10-31 01:45:39 +03:00
Michael Van Canneyt
18eae18d53
* Make it usable on HighDPI
2023-10-08 10:57:05 +02:00
Maxim Ganetsky
bf34e253da
Tools: added missing *.res file for glazres tool
2023-10-07 02:44:39 +03:00
Maxim Ganetsky
5226e38bb1
Tools: added missing *.res file for pofilemaintenance tool
2023-10-07 02:43:24 +03:00
Martin
b4244d781b
Installer, Win: Add OPT="-OoNOSTACKFRAME" to fpc build. Help the debugger unwind callstacks
2023-10-06 15:38:19 +02:00
mattias
89824a258b
lplupdate: read lazarus.cfg to ignore pcp
2023-09-12 14:39:42 +02:00
Michaël Van Canneyt
2c12a7e228
* Parameter support when executing query
2023-08-10 22:32:32 +02:00
Michaël Van Canneyt
2a1a2a68a5
* Scroll result display to the end
2023-08-09 21:21:37 +02:00
Michaël Van Canneyt
57a46deca4
* Add copy from/to pascal code menu items
2023-08-09 14:11:34 +02:00
Michaël Van Canneyt
1729571841
* Add popup menu to editor, scrollbars to result pane memo
2023-08-09 08:55:48 +02:00
wp_xyz
b4f8ae34b5
Tools/Lazdatadesktop: Fix LCLScaling in Windows.
2023-07-29 18:56:31 +02:00
wp_xyz
fe828040ce
Tools/Lazdatadesktop: Final (?) tuning of the application icons. By Roland Hahn.
2023-07-29 13:11:06 +02:00
wp_xyz
203dbd08fd
Tools/LazDataDesktop: Improved version of the Connections icon. By Roland Hahn.
2023-07-27 13:35:50 +02:00
wp_xyz
5bae6ebf52
Tools/LazDatadesktop: Slightly improved images by Roland Hahn.
2023-07-25 15:12:47 +02:00
wp_xyz
168ed6ffa0
Tools/LazDataDesktop: Show icons in all treeviews.
2023-07-24 17:49:31 +02:00
Maxim Ganetsky
98e9e0dbcd
LazDataDesktop: added executable to .gitignore
2023-07-24 16:55:43 +03:00
Maxim Ganetsky
3a0b3d3396
LazDataDesktop: updated Russian translation
2023-07-24 16:52:15 +03:00
wp_xyz
bfca6f229d
Tolls/LazDataDesktop: Remove unneeded res files. Unscramble some image index assignments.
2023-07-24 13:41:52 +02:00
wp_xyz
3b1c10423f
Tools/LazDataDesktop: Some new/improved icons by Roland Hahn. Improvements in data dictionary popup menu translation.
2023-07-24 10:35:41 +02:00
Maxim Ganetsky
90812b4afa
LazDataDesktop: regenerated translations
2023-07-24 02:29:44 +03:00
wp_xyz
7c6659ba46
Tools/LazDatadesktop: Improved layout
2023-07-24 00:52:21 +02:00
wp_xyz
fe3b5ca955
Tools/LazDataDesktop: Refactoring of icons: new icons by Roland Hahn merged to a single image list in new data module.
2023-07-24 00:22:04 +02:00
wp_xyz
a0179e8133
LazDatadesktop: Update German translation
2023-07-23 22:56:54 +02:00
mattias
79893d2cbe
updated makefiles
2023-07-14 16:42:45 +02:00
Juha
adfc424e92
Lazarus trunk requires at least FPC 3.2.0. Remove checks for earlier FPC_FULLVERSION.
2023-07-07 17:39:03 +03:00
Juha
211d95da17
LCL: Use TLCLHandle instead of a redefined LCLType.THandle or TLCLIntfHandle. Deprecate them.
2023-07-03 11:17:01 +03:00
Juha
4db3bb880c
Svn2RevisionInc: Do not warn about missing SVN client. Issue #40359 , patch by Don Siders.
2023-07-03 10:09:15 +03:00
mattias
8eab0fb13f
deb: fixed lazarus tgz
2023-06-28 23:53:30 +02:00
mattias
fc7d829025
deb: fixed copying changelog and delete git files
2023-06-27 00:59:53 +02:00
mattias
b3748ad6b3
rpm: fixed build
2023-06-25 19:57:33 +02:00
mattias
1002929c77
deb: fixed export tgz, fixed RC version number turning RC into .0
2023-06-25 19:39:07 +02:00
mattias
fde0e0f965
set main version to 3.99
2023-06-25 17:47:14 +02:00
Abou Al Montacir
25b8bc2160
git2pas: Removed unneeded conditional compilation flag.
...
This allows having the same code compiled for both Windows and Linux.
2023-06-18 20:15:15 +02:00
Abou Al Montacir
bcf79bffc1
gir2pas: Fixed generation of types based on int32 standard C type.
...
This fixes code generated for FreeType library.
Now FreeType bindings generated code does not need any manual change
to be used in Lazarus.
2023-06-18 16:24:01 +00:00
Abou Al Montacir
ed310974db
gir2pas: Enabled passing max version CLO multiple times.
...
This allows to constraint each library separately, as for example:
```sh
gir2pas -e Set -i /usr/share/gir-1.0/Gtk-3.0.gir -o gtk3-test \
-M atk-2.36 \
-M pango-1.16 \
-M pangocairo-1.46 \
-M glib-2.66 \
-M gtk-3.24
```
2023-06-18 14:30:11 +00:00
Abou Al Montacir
d94e263cdc
gir2pas: Fixed generation of enumeration types other than bit fields.
...
When enum types is set as `goEnumAsSet` by user, we need to add
`goEnumAsEnum` also in order to correctly handle non bit fields enums.
This should be done at the very beginning, upon CLO handling, otherwise
some enums are generated as integer constants.
2023-06-17 21:57:38 +02:00
Abou Al Montacir
ec6cbdbee7
gir2pas: Fixed make file.
...
Create units output directory upon build.
Remove output directory recursively.
2023-06-17 21:57:38 +02:00
Maxim Ganetsky
f80440d58b
Translations: Ukrainian translation update by Olexandr Pylypchuk, issue #40312
2023-06-12 18:20:35 +03:00
Maxim Ganetsky
065d9a7d64
LazDataDesktop: use GetLanguageIDFromLocaleName function from Translations unit to properly extract language code from language name passed via command-line option
2023-06-12 16:41:34 +03:00
Maxim Ganetsky
22f596f8bb
LazDataDesktop: migrated to using GetLanguageID function from Translations unit
2023-06-12 04:11:45 +03:00
Abou Al Montacir
aba8308de3
gir2pas: Fixed issues when generating bit fields with a null or duplicate masks.
...
In this case, the code used to create a wrong index with value 255.
This is now detected and fixed.
Also, the code was not able to handle bit fields with duplicates.
Now this is also fixed.
2023-06-04 19:11:02 +02:00
Abou Al Montacir
524cc642eb
Enabled generating code for bit masks defined within C bitfields enum.
...
These masks are handled as non typed set constants.
2023-06-04 14:04:45 +02:00
Abou Al Montacir
cd0756f17b
gir2pas: Enabled generating Pascal sets to C bitfield enums by CLO.
...
Based on command line option (CLO) `-e/--declare-enums-as` that
selects the way how to define C enums and bit fields.
Added support for 5th options in addition 4 already implemented.
1. `IntConst`: No type, just use integer non typed constants. This was
already implemented, but not easily selected at CLI.
2. `TypedIntConst`: Use non strict type aliases and typed constants.
This was already implemented, selected by default in the code.
3. `IntAliasConst`: Use strict type aliases and non typed constants.
This was newly added.
4. `Enum`: Use Pascal enumeration type for both C enums and bit fields.
This was newly added.
5. `Set`: Use Pascal enumeration type for both C enums and Pascal sets
for bit fields. This is now implemented.
2023-06-04 10:10:42 +00:00
Abou Al Montacir
bb05d66329
Renamed executable from gir2pascal to gir2pas.
2023-06-04 10:10:42 +00:00
Abou Al Montacir
050dfa3884
gir2pascal: Small code improvements.
...
These changes are:
1. Added line break to last line of generated files.
2. Removed unused field `FEnumImpl` from `TGirConsoleConverter`.
3. Moved command line from .lpi to .lps as this depends on the path
of the user debugging the program.
2023-05-27 15:53:56 +00:00
Abou Al Montacir
b2013f8634
Fixed issue causing generation of duplicate declarations for some opaque types.
...
There was an issue with the logic for resolving opaque types that misses
some types due to not comparing C types with opaque type name.
This is now fixed and all Gtk3 units now compile without any manual
modification.
Tested with
43cac7495f
using
`./gir2pas/gir2pas -i gir-rs-files/Gtk-3.0.gir -o gtk3-test-enums -e Enum`
2023-05-23 12:57:27 +00:00