Bad Sector
b332764d30
LCL-GTK2: Fix double free in listview pixbuf due to wrong refcounting
...
The 'pixbuf' field in GtkCellRendererPixbuf is supposed to be private to
Gtk which handles refcounting itself, but LCL modifies it directly which
can cause refcounting mismatches, especially during the destruction of a
listview with icons (images are unref'd by both the listview destructor
and gtk itself). Since it is exposed as a property it can be modified
using the g_object_set_property and g_value_xxx APIs which handle any
necessary refcounting, so this patch replaces the direct modification of
the pixbuf field with these APIs. This fixes the crashes due to
refcounting mismatch.
(cherry picked from commit 6a5e16239a
)
2023-10-20 14:01:36 +00:00
Martin
a6ee92da7b
IDE: Hint (Html/TurboPowerIPro), add space for horizontal scrollbar if needed. Issue #40565
...
(cherry picked from commit 79a8665989
)
2023-10-18 16:14:22 +02:00
dsiders
f8071bb47d
Docs: LCL/jsonpropstorage. Adds content in TCustomJSONPropStorage topics, including:
...
* TCustomJSONPropStorage.DoReadString
* TCustomJSONPropStorage.DoWriteString
* TCustomJSONPropStorage.DoEraseSections
* TCustomJSONPropStorage.JSONFileName
* TCustomJSONPropStorage.RootObjectPath
* TCustomJSONPropStorage.Formatted
(cherry picked from commit 33662ba17b
)
2023-10-18 02:19:19 +01:00
ACTom
ac975efdde
Translations: Chinese translation update by ACTom, merge request !241
...
(cherry picked from commit 0e61715762
)
2023-10-18 01:51:14 +03:00
Maxim Ganetsky
64ad862ee0
IDE: committed automatically changed file
2023-10-17 21:53:39 +03:00
rich2014
d93c85c98d
Cocoa: Multi Displays fully supported, Merge branch 'cocoa/MultiDisplay'
2023-10-18 00:21:34 +08:00
Martin
13c1f3497b
LazDebuggerLldb: improved parsing of exception class after fpc_raiseexception. lldb may send \U00000012TClassFooBar
...
(cherry picked from commit c53355182a
)
2023-10-17 02:20:54 +02:00
Martin
53bf239eb5
FpDebug: fix disassembler "rep ret" Issue #40562 patch by Red_prig (Pavel)
...
(cherry picked from commit 3100c5c321
)
2023-10-16 11:38:40 +02:00
dsiders
79963a8bd5
Docs: LCL/jsonpropstorage. Updates topic content.
...
(cherry picked from commit f9b6339554
)
2023-10-16 07:45:03 +01:00
dsiders
8026c66ea2
Docs: LCL/inipropstorage. Update topics content.
...
(cherry picked from commit 28368d3029
)
2023-10-16 07:44:52 +01:00
dsiders
98e21f6561
Docs: LCL/xmlpropstorage. Fixes an invalid See Also link in TCustomXMLPropStorage.RootNodePath topic.
...
(cherry picked from commit 60c5d8c3b2
)
2023-10-16 07:44:41 +01:00
dsiders
21632f9872
Docs: LCL/forms. Fixes invalid link to inherited topic content in TForm.AutoScroll.
...
(cherry picked from commit 125e9da626
)
2023-10-16 07:44:28 +01:00
dsiders
16b7885f26
Docs: LCL/xmlpropstorage. Updates TCustomXMLPropStorage and TXMLPropStorage topics.
...
* Adds a link to the Lazarus Wiki entry.
* Adds content from the Wiki article.
(cherry picked from commit 1da25924f5
)
2023-10-15 19:41:05 +01:00
Martin
917873bde3
FpDebug: fix disassembler pause,psrldq,extrq... Issue #40555 , #40557 , #40558 patch by Red_prig (Pavel)
...
(cherry picked from commit cecc5ee87d
)
2023-10-15 18:34:10 +02:00
rich2014
9f5a756c80
Cocoa/Cursor: better compatible with MacOS 13
2023-10-14 23:01:03 +08:00
rich2014
8ae9ef775f
Cocoa: UPD #40545 , both 3d style and box style supported in TCocoaWidgetSet.Frame3d(), Merge branch 'cocoa/frame3d' into main
2023-10-14 21:38:58 +08:00
rich2014
9b775cefb6
Cocoa/TPageControl: Fix #40554 about the visual position of the current Page, Merge branch 'cocoa/tabcontrol'
2023-10-14 21:33:19 +08:00
Martin
6d54d9ccd4
FpDebug: 32bit linux target. "HasId" takes an untyped arg. The caller must always pass 64 bits. (itu8 is used to create the map)
...
(cherry picked from commit d55f353980
)
2023-10-14 15:03:00 +02:00
Martin
b2d23daac6
FpDebug: Handle overflow for relocation with 32bit target. RelocationOffset is stored as QWord, but can be negative. For 32bit targets the overflow must be masked out.
...
(cherry picked from commit 0fad4e40d9
)
2023-10-14 15:03:00 +02:00
Martin
6169d36d26
FpDebug: prevent crash, if library is added twice (incorrect handling for Linux in SynchronizeProcMapsWithLibraryList)
...
(cherry picked from commit a6999c26a6
)
2023-10-14 15:03:00 +02:00
Martin
dd778f0c8d
FpDebug: On Linux read .dynsym if .symtab does not exist. If .symtab exists, then .dynsym should be a subset.
...
(cherry picked from commit 1db2f6aab4
)
2023-10-14 15:02:59 +02:00
dsiders
2767d7fcc5
Docs: LCL/xmlpropstorage. Updates content in TCustomXMLPropStorage, TXMLPropStorage topics.
...
(cherry picked from commit 0525ede13b
)
2023-10-14 06:41:40 +01:00
Martin
cee9bb2be3
FpDebug: fix disassembler vmov.. Issue #40552 patch by Red_prig (Pavel)
...
(cherry picked from commit 62e7f5665a
)
2023-10-13 20:29:28 +02:00
Martin
7824207ffc
FpDebug: fix disassembler vzero... / test reg.l Issue #40546 and #40549 patch by Red_prig (Pavel)
...
(cherry picked from commit 9cff61c5a0
)
2023-10-13 13:37:10 +02:00
Martin
07c3071d31
TScrollBox: fix flicker when Form.AutoSizeAll is called. Do not call ShowScrollBar when nothing changed.
...
(cherry picked from commit 4891f1f0e1
)
2023-10-13 13:37:10 +02:00
dsiders
597f0e6736
Docs: LCL/lcltranslator. Updates TUpdateTranslator.UpdateTranslation topic for changes in ddbcec7b
.
...
(cherry picked from commit 7e508e3fba
)
2023-10-13 06:15:35 +01:00
Maxim Ganetsky
e8d88eb17c
LCL, LCLTranslator: Do not check if a property has a setter before even attempting to read what it is and thus ignoring classes (with translatable properties) returned by properties without setters. Check if a property setter is present only just before actually writing to it.
...
Fixes translation of TLabeledEdit.EditLabel.Caption (EditLabel is a property without setter there).
It was a regression after commit 36c7ef29ed
which fixed issue #35202 .
(cherry picked from commit ddbcec7bcc
)
2023-10-12 23:45:15 +00:00
Martin
d8689e5c87
LazDebugger[Fp]Lldb: fix for new Apple-LLDB version. Read new format for eval results (e.g. exception data)
...
(cherry picked from commit 07025f3b9c
)
2023-10-10 19:28:00 +02:00
ACTom
5ea589fc81
Translations: Chinese translation update by ACTom, merge request !239
...
(cherry picked from commit dba31d62c4
)
2023-10-10 03:00:22 +03:00
Martin
5ae56860a1
FpDebug: fix disassembler movq/vmovq Issue #40541 patch by Red_prig (Pavel)
...
(cherry picked from commit 67069ef84b
)
2023-10-09 18:35:18 +02:00
mattias
f5ee63fd14
set fixes version to 3.0RC2
2023-10-08 21:13:37 +02:00
DomingoGP
f0509583c3
Jedi code format: Fix memory leak.
...
(cherry picked from commit 8a98df0369
)
2023-10-08 14:36:11 +02:00
Martin
e9bdb9a3a6
Debugger: Assembler view, don't ctrl-jump when clicking gutter for changing breakpoint.
...
(cherry picked from commit 27d50a74a8
)
2023-10-08 14:08:23 +02:00
Martin
e49d174f17
LazDebuggerFp: Fixed line number for exceptions.
...
(cherry picked from commit bacefb51ae
)
2023-10-08 13:33:06 +02:00
mattias
8316b021bc
codetools: fixed SetApplicationTitleStatement for Application as param
2023-10-08 00:19:22 +02:00
Martin
b8017cdb28
LazDebuggerFp: fixed uninitialized result
...
(cherry picked from commit a50a1e18b5
)
2023-10-07 19:51:20 +02:00
rich2014
534df9995a
Cocoa: trigger CM_MOUSEMOVE when the APP Deactive
2023-10-07 22:47:42 +08:00
rich2014
c424cd8c5a
Cocoa: TabControl: jumping to the First/Last tab supported, Merge branch 'cocoa/tabcontrol'
2023-10-07 22:47:42 +08:00
ACTom
b9e8dfe262
Opkman: Chinese translation update by ACTom, merge request !238
...
(cherry picked from commit 07d0ca37e2
)
2023-10-07 17:31:39 +03:00
Martin
ed52d68381
FpDebug: fixes for stack frame search
...
(cherry picked from commit 97c7e680b7
)
2023-10-07 14:08:56 +02:00
Maxim Ganetsky
ef3d0d8d54
LazReport: added INI file of editor sample to .gitignore
...
(cherry picked from commit 46dfa16fb4
)
2023-10-07 02:59:42 +03:00
Maxim Ganetsky
ac60cb055f
DocEditor: added INI file to .gitignore
...
(cherry picked from commit 129f443bfe
)
2023-10-07 02:59:41 +03:00
Maxim Ganetsky
dd148bd7a6
Examples: .gitignore generated PDF file by fpReport example
...
(cherry picked from commit 19cd17230c
)
2023-10-07 02:59:41 +03:00
Maxim Ganetsky
0517ca7b87
.gitignore: added *.dbg files
...
(cherry picked from commit 787f5e851f
)
2023-10-07 02:59:41 +03:00
Maxim Ganetsky
e2230d995d
Tools: added missing *.res file for pofilemaintenance tool
2023-10-07 02:58:46 +03:00
Maxim Ganetsky
29cce82545
Tools: added missing *.res file for glazres tool
2023-10-07 02:57:57 +03:00
Željan Rikalo
098a312ff0
Anchordocking: do not manage THintWindow. issue #40519
...
(cherry picked from commit 3a4dd50e93
)
2023-10-06 18:43:05 +00:00
Željan Rikalo
536dd59cdb
Qt5,Qt6: fixed QTabWidget clientRect calculation when showTabs = false. issue #40460
...
(cherry picked from commit 7c901cbaae
)
2023-10-06 18:40:58 +00:00
Željan Rikalo
055fe9690b
Qt5,Qt6: fixed QTabWidget default clientRect, issue #40460
...
(cherry picked from commit 44d402cde6
)
2023-10-06 18:32:21 +00:00
dsiders
1030726ec3
Docs: LCL/graphics. Fixes typos in See Also links.
...
(cherry picked from commit 053f0cec6a
)
2023-10-06 17:24:52 +01:00