Commit Graph

41452 Commits

Author SHA1 Message Date
martin
1e7cb6a3a1 Merged revision(s) 43695 #e6c4ede00b from branches/fixes_1_2:
LazUtils: WinCE use CSIDL_LOCAL to fix compilation error. 
---------------------
LazUtils: yet another attempt to fix compilation for WinCE implementation of GetAppConfigDirUtf8. 

git-svn-id: tags/lazarus_1_2_RC2@43696 -
2014-01-11 02:25:01 +00:00
martin
0519ecfa8e Merged revision(s) 43690 #b815028034 from branches/fixes_1_2:
Fixed compile on wince. Broken by r43495 #cba214753b (localize special dir)

git-svn-id: tags/lazarus_1_2_RC2@43691 -
2014-01-10 23:04:32 +00:00
mattias
0fc06a66e4 changelog for release 1.2RC2
git-svn-id: branches/fixes_1_2@43681 -
2014-01-10 11:34:52 +00:00
maxim
ce75eb7d15 Merged revision(s) 43671 #79d881edce, 43675-43676 #14406dfe3d-#14406dfe3d from trunk:
SqlDb: Improve SQL editor. Patch by Reinier Olislagers.
........
Components, SQLdb: updated Russian translation
........
Components, SQLdb: improved localization, updated Russian translation
........

git-svn-id: branches/fixes_1_2@43677 -
2014-01-08 16:39:01 +00:00
maxim
434ed26712 Merged revision(s) 43660 #18a463791b from trunk:
LCL: fixed TComboBox autocompletion with numeric (non-numpad) keys, patch from Gilson Nunes, bug #25495
........

git-svn-id: branches/fixes_1_2@43661 -
2014-01-06 15:12:14 +00:00
maxim
91e8c1db51 Merged revision(s) 43654 #229d28ca58 from trunk:
Translations: corrected hotkey in LCL Slovak translation, bug #25496
........

git-svn-id: branches/fixes_1_2@43659 -
2014-01-06 14:40:16 +00:00
maxim
2b0594f229 Merged revision(s) 43650 #f4f2a396d1 from trunk:
win32 intf: documented that TColorDialog.Title cannot be set (Issue #0022491).
........

git-svn-id: branches/fixes_1_2@43658 -
2014-01-06 14:37:26 +00:00
maxim
f643d06db5 Merged revision(s) 43629-43630 #f7c401a66a-#f7c401a66a, 43640 #5926feff6f from trunk:
SqlDb: Remove wrong {$IFDEF VER2_5_1}. Now SQL Parser is enabled again.
........
SqlDb: commit generated .po files.
........
Components, SQLdb: updated Russian translation
........

git-svn-id: branches/fixes_1_2@43655 -
2014-01-06 14:29:06 +00:00
martin
5ca4a81294 Merged revision(s) 43641-43642 #00ae8366f0-#00ae8366f0, 43644 #a76c5900bc from trunk:
IDE: Adjust column widths in IDE Options to prevent text clipping. Issue #18398
........
LCL, ObjectInspector: Prevent triggering double-click when expanding ComboBox quickly. Issue #19918, patch from Flávio Etrusco
........
LCL: Fix GTK2 image transparency issues for common cases. Issue #25491, patch from Kostas Michalopoulos
........

git-svn-id: branches/fixes_1_2@43646 -
2014-01-05 00:42:04 +00:00
martin
4fcd08e9cf Merged revision(s) 43450 #5ab9829c76, 43551 #c3f0c69262, 43614 #0efde5e2da, 43621 #26611f46f0, 43623 #1678af5484, 43625 #adf5bddf8b, 43631-43632 #c8cb0503bd-#c8cb0503bd, 43634 #5daea7f22c, 43637-43639 #3fb2dd4469-#3fb2dd4469 from trunk:
IdeIntf, IdeMenu: Less verbose
........
SynEdit: test, fix for big/little-endian, part of issue #0023703 , patch by Mark Morgan Lloyd
........
SynEdit: pas highlighter improve handling "otherwise" in case ... of
........
Dialogs: Do not show an icon in MessageDlg is DialogType = mtCustom.
Reason: Delphi compatibility. Resolves issue #0025475.
........
Qt: Calculate the preferred size of BitBtn correctly in TQtBitBtn.preferredSize even if AutoSize=False.
........
Qt: clean up TQtBitBtn.preferredSize after earlier change.
........
Package editor: Fix a bug that prevented moving files up/down.
........
Package editor: disable Up/Down buttons when a removed file is selected.
........
Package editor: add shortcut keys VK_DELETE and VK_INSERT. Part of issue #20140
........
LazUtils: Masks.pas: implement handling of UTF8 codepoints for mask matching. Issue #0024373.
........
ProjectInspector: Add shortcuts for VK_RETURN, VK_DELETE and VK_INSERT, like package editor has.
........
IDE: removed dangling lfm reference
........

git-svn-id: branches/fixes_1_2@43645 -
2014-01-05 00:35:34 +00:00
maxim
7367bd3ea4 Merged revision(s) 43612-43613 #372e399987-#372e399987, 43615 #6180212a33 from trunk:
IDE: Make Project Inspector remember its settings for dir hierarchy and sorting. Issues #22448, #22609
........
IDE: Make Package Editor remember its settings for dir hierarchy and sorting. Issues #18804, #22448
........
IDE: Fix button order in FindReplaceDialog dialog using ButtonPanel. Issue #13561
........

git-svn-id: branches/fixes_1_2@43620 -
2013-12-30 23:06:26 +00:00
maxim
feaa088314 Merged revision(s) 43610-43611 #6ae4e11538-#6ae4e11538 from trunk:
lazutils, fixed encoding of string returned by GetAppConfigFileUTF8 (was ansi, should be utf8)
........
LazUtils: better fix for encoding of string returned by GetAppConfigFileUTF8
(Use WideString variant of GetSpecialDir which retruns UTF8: copy/paste error in r43495 #cba214753b)
........

git-svn-id: branches/fixes_1_2@43619 -
2013-12-30 22:55:27 +00:00
maxim
e39bba939a Merged revision(s) 43604 #0bca623e57, 43616 #8db920c565 from trunk:
Components, SQLdb: added TMySQL56Connection (bug #25430), unified MySQL icons text (Arial, 11, red/$FF0000, Gimp)
........
Components, SQLdb: enabled TMySQL56Connection for FPC 2.6.3 and higher (bug #25471)
........

git-svn-id: branches/fixes_1_2@43618 -
2013-12-30 22:46:53 +00:00
maxim
ee983abd9e Merged revision(s) 43590-43592 #a423400047-#a423400047, 43609 #bc550339d1 from trunk:
IDE: Refactor, move 2 methods from Main to SourceFileManager.
........
IDE: Refactor 2 methods into one CheckDirIsInSearchPath. Add param IsIncludeFile.
........
IDE: When adding the path of a new file to project search path, ask which build modes to add it to. Issue #23714.
........
Regenerated translations; updated Russian translation
........

git-svn-id: branches/fixes_1_2@43617 -
2013-12-30 22:35:11 +00:00
maxim
be8c7be5c5 Merged revision(s) 43600-43601 #f2acb6b73f-#f2acb6b73f from trunk:
CustomDrawn: fix compilation on Windows. Issue #0024329.
........
CustomDrawn: fix incorrect {%MainUnit } header, which prevented codetools from working correctly.
........

git-svn-id: branches/fixes_1_2@43608 -
2013-12-28 15:10:12 +00:00
maxim
ff8dd65730 Merged revision(s) 43595 #0b22143078 from trunk:
lcl: only reset controldatalink after listsource changes when controldatalink is active. Issue #25454
........

git-svn-id: branches/fixes_1_2@43607 -
2013-12-28 15:02:43 +00:00
maxim
19e0e14727 Merged revision(s) 43587 #8109841ef9 from trunk:
LCL, TCheckListBox: Change text direction in accordance with BiDiMode, bug #25450
........

git-svn-id: branches/fixes_1_2@43606 -
2013-12-28 14:59:04 +00:00
maxim
77a55152e3 Merged revision(s) 43549-43550 #490e3b3df5-#490e3b3df5 from trunk:
Codetools: fix return value of TFindDeclarationTool.BuildInterfaceIdentifierCache
........
Codetools: make CheckLfm report an object which is missing from pascal source. Fixes issues #24473 and #25425
........

git-svn-id: branches/fixes_1_2@43605 -
2013-12-28 14:56:21 +00:00
maxim
993cbc5ae8 Merged revision(s) 43544 #767b677d3b, 43553-43554 #07ebd480ca-#07ebd480ca from trunk:
Printers (Windows): do not use a compiler directive to enable printing on Win9x systems (introduced in r39125 #de4e10c615).
Use at runtime detection to decide wether to call Ansi or Wide Windows API's and separate the used
structures into Ansi and Wide variants.
(Hiding Win9x functionality behind a compiler directive is inconsistent with current LCL behaviour)
Resolves issue #0025315.
........
Components, printers: fixed compilation with FPC > 2.6.2
........
Components, printers: Fix wrong compiler directive for compiler version detection in r43553 #07ebd480ca
........

git-svn-id: branches/fixes_1_2@43588 -
2013-12-24 22:11:53 +00:00
maxim
f4a0392b5c Merged revision(s) 43580 #31d83cc801 from trunk:
Finnish translation improvements.
........

git-svn-id: branches/fixes_1_2@43585 -
2013-12-22 22:10:32 +00:00
maxim
c1865360ec Merged revision(s) 43576-43579 #3ffbdeb81a-#3ffbdeb81a from trunk:
LCL: BiDiMode and FlipChildren fixes for TRadioGroup, TCheckGroup and TCheckListbox, patch by wp, bug #25408
........
Tests: added BiDiMode and FlipChildren test by wp, bug #25408
........
Docs: added Werner Pamler aka wp to contributors list
........

git-svn-id: branches/fixes_1_2@43584 -
2013-12-22 22:06:29 +00:00
maxim
868da26bb5 Merged revision(s) 43575 #8b432a262d from trunk:
Minor improvements to Finnish translation
........

git-svn-id: branches/fixes_1_2@43578 -
2013-12-21 14:51:04 +00:00
maxim
08aeaf6ffd Merged revision(s) 43571 #1994cf3411 from trunk:
Examples: added translation example by Mike Sapsard and wp, bug #25376
........

git-svn-id: branches/fixes_1_2@43573 -
2013-12-20 20:54:27 +00:00
maxim
d0c0d0a7f0 Merged revision(s) 43476 #e35c0db3e2, 43478-43479 #b9a242e94c-#b9a242e94c, 43512 #bf893993a5 from trunk:
lcl: do not try to open closed dataset in lookup controls since the moment of opening is unpredictable and can lead to crashes. See http://forum.lazarus.freepascal.org/index.php/topic,17355.msg96112.html
........
lcl: reset controldatalink after listsource changes in lookup controls to ensure proper sync between control display and dataset content
........
lcl: call RecordChanged in TFieldDataLink.LayoutChanged to match Delphi behavior
........
lcl: update lookup list in DatasetChanged event. Fix issue #25400
........

git-svn-id: branches/fixes_1_2@43572 -
2013-12-20 20:53:21 +00:00
maxim
90b439e8cb Merged revision(s) 43562 #fc26b020e8 from trunk:
LazReport: more typos (gradian -> gradient), regenerated translations and updated Russian translation
........

git-svn-id: branches/fixes_1_2@43563 -
2013-12-17 00:02:50 +00:00
maxim
8cca6acfbc Merged revision(s) 43560 #362eff6bb6 from trunk:
LazReport: fixed typos (patch by Reinier Olislagers, bug #25429), regenerated translations and updated Russian translation
........

git-svn-id: branches/fixes_1_2@43561 -
2013-12-16 23:32:21 +00:00
maxim
3f1948fdb0 Merged revision(s) 43558 #c16dcaa5d3 from trunk:
Components, SQLDb: fixed incorrect versioning directive (apparently nobody tried to compile bigide with FPC 2.6.0 since August)
........

git-svn-id: branches/fixes_1_2@43559 -
2013-12-16 22:40:38 +00:00
martin
c8a5ab83f4 Merged revision(s) 43510-43511 #0a62d8b17e-#0a62d8b17e, 43545 #614130f5b7 from trunk:
win32: updated the popup menu creation flag by using TPM_LAYOUTRTL for RtL mode. #25330
........
carbon: dropfiles on form fixed, the patch by Dr.Theopolis, #18486. Thank you, Doc!
........
ValEdit: Remove duplicate line in TItemProp.AssignTo 

git-svn-id: branches/fixes_1_2@43552 -
2013-12-16 01:41:15 +00:00
maxim
2a2085347e Merged revision(s) 43546 #24830e5abf from trunk:
Translations: Japanese translation update by Yuichiro Takahashi, bug #25423
........

git-svn-id: branches/fixes_1_2@43547 -
2013-12-15 23:55:57 +00:00
martin
001c16d0d0 Merged revision(s) 43541 #0483e1236e from trunk:
Printers, Carbon, do not use PMPrinterOutputResolution when compiling for PowerPC 

git-svn-id: branches/fixes_1_2@43543 -
2013-12-15 13:44:09 +00:00
maxim
f085bde543 Merged revision(s) 43532 #5ee42804bb from trunk:
LCLType: Fix typo: MB_ICONASTERICK -> MB_ICONASTERISK

........

git-svn-id: branches/fixes_1_2@43535 -
2013-12-11 21:30:45 +00:00
maxim
b16dfd73c4 Merged revision(s) 43531 #5a8bd1e995, 43533 #7fe86ac347 from trunk:
Finnish translation improvements. Issue #25413, patch from delfion
........
Translations: regenerated Finnish translation
........

git-svn-id: branches/fixes_1_2@43534 -
2013-12-11 20:39:39 +00:00
maxim
26d8367c39 Merged revision(s) 43527 #4d7e2f69cf, 43529 #760257083a from trunk:
translations: German: updates from Swen Heinig
........
Translations: regenerated German translation
........

git-svn-id: branches/fixes_1_2@43530 -
2013-12-10 00:06:11 +00:00
maxim
4254721430 Merged revision(s) 43521 #60b306caa2 from trunk:
ValEdit: In TValueListEditor.ValidateEntry when validation fails, don't continue searching for more violations.
Issue #0025161.
........

git-svn-id: branches/fixes_1_2@43522 -
2013-12-08 23:38:14 +00:00
maxim
6d8733c938 Merged revision(s) 43502 #032e431f63 from trunk:
Debugger: DefaultTimeout in attach code. Issue #25386
........

git-svn-id: branches/fixes_1_2@43520 -
2013-12-07 17:16:52 +00:00
maxim
3d588efa28 Merged revision(s) 43496-43497 #820bd64580-#820bd64580 from trunk:
LCLgraphics:
* Rewrite RLE4 code. Fixes #0025366
* Updated RLE8 to be consistent with RLE4 code
........
LCLgraphics:
* Fix possible buffer overflow
........

git-svn-id: branches/fixes_1_2@43519 -
2013-12-07 17:14:07 +00:00
maxim
1a2a60cb76 Merged revision(s) 43495 #cba214753b from trunk:
LazFileUtils: Fix encoding of locale-specific characters in GetAppConfigDirUtf8 and GetAppConfigFileUtf8 on Windows
Issue #0010850.
........

git-svn-id: branches/fixes_1_2@43518 -
2013-12-07 17:10:53 +00:00
maxim
4cc4ba42fe Merged revision(s) 43486 #310fc7893e from trunk:
SourceEditor: added nil check for top-info
........

git-svn-id: branches/fixes_1_2@43517 -
2013-12-07 17:07:17 +00:00
maxim
47f777f294 Merged revision(s) 43482-43483 #b99a80c49f-#b99a80c49f from trunk:
LCL: New method ForceFilter for FilterEdit. Issue #25258, patch from Cyrax.
........
Clear the filter edit when leaving package editor. Issue #25258, patch from Cyrax.
........

git-svn-id: branches/fixes_1_2@43516 -
2013-12-07 17:04:57 +00:00
maxim
7c476745db Merged revision(s) 43513-43514 #491fa9111c-#491fa9111c from trunk:
IDE: improved localization
........
IDE: regenerated translations; updated Russian translation
........

git-svn-id: branches/fixes_1_2@43515 -
2013-12-07 15:17:13 +00:00
maxim
f6592a1126 Cleaned up svn:mergeinfo properties of LCL directory tree
git-svn-id: branches/fixes_1_2@43509 -
2013-11-30 16:34:11 +00:00
maxim
4a0502582c Merged revision(s) 43504 #a5e25a281d, 43506 #d6a3637128 from trunk:
Finnish translations
........
IDE: regenerated translations; updated Russian translation
........

git-svn-id: branches/fixes_1_2@43508 -
2013-11-30 16:15:32 +00:00
maxim
8b06203910 Merged revision(s) 43503 #1749b9b22a, 43505 #1ef55617f3 from trunk:
Fix typo. Emtpy -> Empty
........
IDE: fixed resourcestring name: lisEMDEmtpyMethods -> lisEMDEmptyMethods
........

git-svn-id: branches/fixes_1_2@43507 -
2013-11-30 15:57:24 +00:00
maxim
f94bd23d9b Merged revision(s) 43498 #820f34e246 from trunk:
Translations: Polish translation update by Darek Mazur, bug #25323
........

git-svn-id: branches/fixes_1_2@43501 -
2013-11-29 21:19:11 +00:00
maxim
9cc4bbe625 Merged revision(s) 43480 #faa6ee5f53 from trunk:
LCL, win32: make UpdateWindowsVersion detect Windows 8, patch by Tomasz Wieckowski, bug #25374
........

git-svn-id: branches/fixes_1_2@43500 -
2013-11-29 21:15:25 +00:00
maxim
c07caddce2 Merged revisions:
r43458
IDE: removed unused resourcestrings, based on patch by Howard Page-Clark, bug #25325
---------------------
r43460
IDE: regenerated translations; updated Russian translation
---------------------

git-svn-id: branches/fixes_1_2@43499 -
2013-11-29 21:09:55 +00:00
martin
eb1409358b Merged revision(s) 43464 #b5772a5157, 43467 #5bcb702049, 43469 #2ff9c62e4a, 43472 #cc36b92b7b, 43475 #4cb8725f1f from trunk:
*r43467 Cocoa: fix winapi Rectangle() implementation
*r43475 Cocoa: some corrections to window creation
*r43464 Debugger: Update registers, if stackframe changes
*r43469 carbon: fix for freez if wakemainthread is called from the main thread prior to event loop initialization. #23393
*r43472 examples: TSQLScript database sample program. #25350

git-svn-id: branches/fixes_1_2@43488 -
2013-11-27 15:25:50 +00:00
martin
f7cd2a167a Merged revision(s) 43456-43457 #222560f8b8-#222560f8b8, 43461 #e3530b497b from trunk:
*r43456 LCL: fix types for GDI objects (fixes crash on 64bit)
*r43457 Cocoa: fix default GDI objects construction/destruction
*r43461 Cocoa: fix TMemo creation

git-svn-id: branches/fixes_1_2@43487 -
2013-11-27 15:19:48 +00:00
maxim
f8b3d81da3 Merged revision(s) 43459 #b79f3f2628 from trunk:
Components, PoChecker: regenerated translations; updated Russian translation
........

git-svn-id: branches/fixes_1_2@43465 -
2013-11-20 00:26:29 +00:00
martin
d47a2be6b4 Merged revision(s) 43431-43432 #2aa15b32f5-#2aa15b32f5, 43441-43443 #727508df80-#727508df80, 43451 #19e8936d8e, 43453 #960e0f96d9 from trunk:
lazutils: added conversion KOI8U and KOI8RU
---------------------
PoChecker: add option to check translation statistics. 
---------------------
LCL: TControlCanvas: do not flood terminal about painting outside of paint event for widgetsets which actually supports painting outside of paint event. 
---------------------
Qt: changed defines for TQtFloatSpinEdit and CPU64 
---------------------
Qt: cleanup 
---------------------
codetools: asking compiler for config files: expand relative file names
---------------------
IDE: test file for compiler, expand temp directory
---------------------

git-svn-id: branches/fixes_1_2@43463 -
2013-11-19 10:23:12 +00:00