Commit Graph

64999 Commits

Author SHA1 Message Date
Martin
3ea6f9923c SynEdit: fixes for exact scroll range depending on "caret past eol" options. Ensure setting new options takes immediate effect 2023-06-02 16:36:16 +02:00
dsiders
a236413e40 Docs: LazUtils/lazutf8. Fixes awkward wording and typing errors. 2023-06-02 14:35:13 +01:00
Maxim Ganetsky
0134db000d Merge branch 'main' into 'main'
GTK3: Migrated remaining C enums to enumeration types.

See merge request freepascal.org/lazarus/lazarus!186
2023-06-02 13:10:20 +00:00
Abou Al Montacir
3ed2967690 GTK3: Migrated remaining C enums to enumeration types.
No changes are required except in automatically generate code.
2023-06-02 14:00:15 +02:00
Martin
60c4e28fd7 IDE: editor completion dropdown - fix painting. Some chars where "chopped off". Proportional fonts can overlap into the next cell, therefore when continuing to paint, the next token must not clear the background. 2023-06-02 11:08:58 +02:00
wp_xyz
1cc6cfaaf2 Images/General_purpose: Reworked "align" icons, new "map" icon. By Roland Hahn. 2023-06-02 09:57:55 +02:00
dsiders
aa1248fa3b Docs: LazUtils/lazutf8. Adds the LazTrimLanguageID topic for changes in 42bcafe2, e7b16e08. 2023-06-02 03:10:18 +01:00
dsiders
f0cf009346 Docs: LCL/forms. Updates content in TCustomForm.ShowModal for changes in e89e0d7d. 2023-06-02 03:10:03 +01:00
Maxim Ganetsky
9ce42e1fbb Merge branch 'main' into 'main'
GTK3: Migrate several C enum type to enumeration type.

See merge request freepascal.org/lazarus/lazarus!185
2023-06-01 23:27:18 +00:00
Abou Al Montacir
e42a3c7df7 GTK3: Migrate TGtkSortType to enumeration type.
In Gtk3 WS code, variables of type Integer were used instead of ones
of relevant enumeration type.
This leads to compilation error now that `TGtkSortType` is defined as
an enumeration type. This commit fixes those errors.
2023-06-01 23:21:44 +00:00
Abou Al Montacir
22c6d6658f GTK3: Migrate TGtkTreeViewColumnSizing to enumeration type.
In Gtk3 WS code, variables of type Integer were used instead of ones
of relevant enumeration type.
This leads to compilation error now that `TGtkTreeViewColumnSizing` is
defined as an enumeration type. This commit fixes those errors.
2023-06-01 23:21:44 +00:00
Abou Al Montacir
7eedf76e73 GTK3: Migrate TGdkScrollDirection to enumeration type.
In Gtk3 WS code, variables of type Integer were used instead of ones
of relevant enumeration type.
This leads to compilation error now that `TGdkScrollDirection` is
defined as an enumeration type. This commit fixes those errors.
2023-06-01 23:21:44 +00:00
Abou Al Montacir
b119f95da9 GTK3: Migrate TGdkVisualType C enum type to enumeration type.
In Gtk3 WS code, variables of type Integer were used instead of ones
of relevant enumeration type.
This leads to compilation error now that `TGdkVisualType` is defined
as an enumeration type. This commit fixes those errors.
2023-06-01 23:21:44 +00:00
Maxim Ganetsky
8ff32b1f2c JCF2: fixed IdePlugin i18n 2023-06-02 02:12:30 +03:00
Maxim Ganetsky
e7b16e08e4 LazUtils: improved newly added language ID trimming procedure name (LazGetTrimmedLanguageID -> LazTrimLanguageID) in order to signify that it only transforms passed ID value 2023-06-02 02:03:46 +03:00
Maxim Ganetsky
89d36acfab IDE: regenerated translations and updated Russian translation 2023-06-02 01:50:42 +03:00
DomingoGP
a51afba79f Jedi code format: use jcfbase.lpk package in the jcfidelazarus package.
Some files have been moved to other directories to avoid conflicts with the jcfbase and jcfidelazarus package paths.
2023-06-01 23:11:24 +02:00
Martin
6228dce2f2 FpLLDBDebugger: remove "beta" remark 2023-06-01 19:57:41 +02:00
Martin
c583496424 IdeDebugger: remove warning 2023-06-01 19:57:15 +02:00
Maxim Ganetsky
3775b1ee49 Merge branch 'main' into 'main'
GTK3: Migrate some C enum types to enumeration types.

See merge request freepascal.org/lazarus/lazarus!184
2023-06-01 17:31:54 +00:00
Abou Al Montacir
2b08feba32 GTK3: Migrate some C enum types to enumeration types.
No code change required.
2023-06-01 19:15:47 +02:00
Maxim Ganetsky
42bcafe228 LazUtils, LCL: Trim encoding from found language ID if it presents there (e. g. ru_RU.utf8) in order to always correctly load translation files like project1.ru_RU.po. Based on patch by ACTom, merge request !182. 2023-06-01 18:22:30 +03:00
mattias
f6a6366812 updated Makefiles 2023-06-01 16:33:45 +02:00
mattias
81e11c9e73 jcf2: updated makefile 2023-06-01 16:30:07 +02:00
Maxim Ganetsky
0cd64f830a Merge branch 'main' into 'main'
GTK3: Migrate TGdkModifierType to enumeration set.

See merge request freepascal.org/lazarus/lazarus!183
2023-06-01 13:49:28 +00:00
Abou Al Montacir
9c0c7bfd1c GTK3: Migrate TGdkModifierType to enumeration set.
In Gtk3 WS code, integers were used instead of enumeration values.
This leads to compilation error now that `TGdkModifierType` is defined
as an enumeration set type. This commit fixes those errors.

Please note the following comments in the changed code:
```pascal
//TODO: This is hand written just to give the direction we need to go.
//TODO: We need to make git2pas generate similar code for bitfields.
2023-06-01 13:43:46 +00:00
Juha
56198866df IDE: Improve the "Search Results" window. Issue #40286, patch by n7800. 2023-06-01 11:58:21 +03:00
mattias
e89e0d7dcd lcl: ShowModal: handleexception of Idle, otherwise error dialog is auto closed 2023-06-01 10:57:23 +02:00
Maxim Ganetsky
affdc95269 IDE: regenerated translations and updated Russian translation 2023-06-01 02:08:44 +03:00
Maxim Ganetsky
dbf8cd1085 IDE: updated caret-past-eol option captions 2023-06-01 02:04:42 +03:00
Maxim Ganetsky
e9ebbc83ab Merge branch 'main' into 'main'
GTK3: Migrate TGtkStateFlags to enumeration.

See merge request freepascal.org/lazarus/lazarus!181
2023-05-31 22:53:01 +00:00
Abou Al Montacir
20539aaeb5 GTK3: Migrate TGtkStateFlags to enumeration.
In Gtk3 WS code, integers were used instead of enumeration values.
This leads to compilation error now that `TGtkStateFlags` is
defined as an enumeration type. This commit fixes those errors.
2023-05-31 22:47:26 +00:00
Maxim Ganetsky
375d319487 IDE: regenerated translations and updated Russian translation 2023-06-01 01:39:09 +03:00
Maxim Ganetsky
6a65025971 IDE: fixed a typo 2023-06-01 01:14:16 +03:00
mattias
7153012ca8 codetools: added ide/packages/idedebugger to src path of debugger 2023-05-31 22:41:44 +02:00
wp_xyz
f42d841a7b Images: Add align-justified general-purpose images. 2023-05-31 22:36:01 +02:00
Martin
86bdaeac54 IDE: Change options for different "caret past eol" styles. Issue #40282 2023-05-31 21:28:17 +02:00
dsiders
13323b840f Docs: LazControls/treefilteredit. Updates content in topics including:
* TFilterNodeEvent
* TTreeFilterEdit
* TTreeFilterEdit.Notification
* TTreeFilterEdit.OnFilterNode
* TTreeFilterEdit.OnGetImageIndex
* TTreeFilterEdit.SelectionList
* TTreeFilterEdit.ShowDirHierarchy
* TTreeFilterEdit.SortAndFilter
* TTFENodeData
* TFileNameItem
2023-05-31 04:26:44 +01:00
Maxim Ganetsky
1b3842cfcb Merge branch 'main' into 'main'
GTK3: Migrate TGtkCellRendererState to enumeration set.

See merge request freepascal.org/lazarus/lazarus!180
2023-05-30 22:44:36 +00:00
Abou Al Montacir
4a08792d45 GTK3: Migrate TGtkCellRendererState to enumeration set.
In Gtk3 WS code, integers were used instead of enumeration values.
This leads to compilation error now that `TGtkCellRendererState` is
defined as an enumeration set type. This commit fixes those errors.

Please note the following comments in the changed code:
```pascal
//TODO: This is hand written just to give the direction we need to go.
//TODO: We need to make git2pas generate similar code for bitfields.
2023-05-30 21:17:01 +02:00
Maxim Ganetsky
be435a2d20 Merge branch 'main' into 'main'
GTK3: Migrate TGtkResponseType to enumeration.

See merge request freepascal.org/lazarus/lazarus!179
2023-05-30 15:56:30 +00:00
Abou Al Montacir
54979c4ae2 GTK3: Migrate TGtkResponseType to enumeration.
In Gtk3 WS code, integers were used instead of enumeration values.
This leads to compilation error now that `TGtkResponseType` is defined
as an enumeration type. This commit fixes those errors.
2023-05-30 17:04:29 +02:00
Maxim Ganetsky
20e59969e6 Merge branch 'main' into 'main'
GTK3: Migrate some scrolling related C enum types to enumeration types.

See merge request freepascal.org/lazarus/lazarus!178
2023-05-30 12:21:50 +00:00
Abou Al Montacir
fa222b9d1f GTK3: Migrate some scrolling related C enum types to enumeration types.
In Gtk3 WS code, variables of type Integer were used instead of ones
of relevant enumeration type.
This leads to compilation error now that `TGtkTextDirection`,
`TGtkAccelFlags`, `TGtkDirectionType` , `TGtkOrientation` and
`TGtkDestDefaults` are defined as an enumeration type.
This commit fixes those errors.
2023-05-30 12:16:18 +00:00
Martin
ff5ff0fd27 IDE: Fix mouse options, fixed typo/copy-paste-error in initialization of current values when showing frame. Issue #40287 Patch by n7800 2023-05-30 11:33:16 +02:00
dsiders
b6cbf56ac5 Docs: LCL/editbtn. Updates TCustomControlFilterEdit topics for changes in 3855efa4, including:
* TCustomControlFilterEdit.ApplyFilter
* TCustomControlFilterEdit.OnIdle
* TCustomControlFilterEdit.OnAsync
* TCustomControlFilterEdit.InvalidateFilter
* TCustomControlFilterEdit.ResetFilter
* TCustomControlFilterEdit.IdleConnected
* TCustomControlFilterEdit.SortData
2023-05-29 20:01:48 +01:00
Martin
d6c36728f2 IDE: add help url for EditorOptions/General 2023-05-29 16:03:09 +02:00
Maxim Ganetsky
4539591f34 Merge branch 'main' into 'main'
GTK3: Migrate TGdkEventMask to enumeration set.

See merge request freepascal.org/lazarus/lazarus!177
2023-05-29 13:26:27 +00:00
Abou Al Montacir
7f8eec753e GTK3: Migrate TGdkEventMask to enumeration set.
In Gtk3 WS code, integers were used instead of enumeration values.
This leads to compilation error now that `TGdkEventMask` is defined
as an enumeration set type. This commit fixes those errors.

Please note the following comments in the changed code:
```pascal
//TODO: This is hand written just to give the direction we need to go.
//TODO: We need to make git2pas generate similar code for bitfields.
```
2023-05-29 13:20:48 +00:00
DomingoGP
aea40faa97 Jedi code format: New makefiles for the jcfbase.lpk 2023-05-29 14:24:53 +02:00