Commit Graph

342 Commits

Author SHA1 Message Date
mattias
64237acc87 IDE+codetools: moved code browser parts to codetools
git-svn-id: trunk@15871 -
2008-07-25 23:01:08 +00:00
mattias
2e9d466c2d synedit: markup for special line, selection and ctrl mouse link, from Martin Friebe, bug #11693
git-svn-id: trunk@15861 -
2008-07-24 22:41:25 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
mattias
26f698131e LCL: added check for UTF-8 invalid characters #128-#191, bug #11648
git-svn-id: trunk@15764 -
2008-07-13 18:46:55 +00:00
vincents
4ee45a7631 LCL: reverted accidental commits of r15706 #d49446d842
git-svn-id: trunk@15707 -
2008-07-08 16:48:59 +00:00
vincents
d49446d842 LCL: fixed typo in postscriptcanvas (bug #11629)
git-svn-id: trunk@15706 -
2008-07-08 16:45:16 +00:00
vincents
f86a356548 LCL: fixed FindInvalidUTF8Character from Martin Friebe (bug #11575)
git-svn-id: trunk@15650 -
2008-07-02 10:34:42 +00:00
jesus
f678aaf278 ide, i18n: support for multiline messages
git-svn-id: trunk@15454 -
2008-06-17 20:01:33 +00:00
paul
41a290891d lcl: safer gdi handles typecasting
git-svn-id: trunk@15218 -
2008-05-23 12:19:04 +00:00
mattias
ee9ef21896 LCL: fixed UTF8FixBroken for non UTF-8 start bytes
git-svn-id: trunk@14782 -
2008-04-08 11:05:53 +00:00
paul
11de6af8b9 decapitalize all procedure and function keywords to make all looks the same
git-svn-id: trunk@14375 -
2008-03-03 08:06:26 +00:00
sekelsenmat
b2bf973c72 Removes no longer needed utf-8 function from lclproc.pas
git-svn-id: trunk@13898 -
2008-01-27 16:19:28 +00:00
sekelsenmat
3ff0a0bd5b Partial implementation of an utf-8 capable SetBlockWord on SynEdit. Enclosed on ifdef NEW_UTF8_SETWORDBLOCK. Also added helper functions on LCLProc for converting an utf-8 string into an array of chars for algorithms that require fast access to a char by position.
git-svn-id: trunk@13868 -
2008-01-24 20:56:30 +00:00
mattias
d49945c877 gtk intf: using translated strings for menu item short cuts
git-svn-id: trunk@13770 -
2008-01-15 21:59:26 +00:00
sekelsenmat
123be10231 Fixes setting the application title on windows unicode.
git-svn-id: trunk@13735 -
2008-01-12 21:08:45 +00:00
mattias
92c1cfafa2 LCL: added GuessEncoding
git-svn-id: trunk@13542 -
2007-12-30 22:41:12 +00:00
paul
c828678066 LCL:replace direct call of TXXWidgetset.Create by indirect CreateWidgetset(TXXWidgetset) to move some initialization code from units initialization (from graphics.pp) to that new procedure. This fix memory leaks in lazbuild tool which indirectly uses many lcl units but doesnot work with widgetset.
git-svn-id: trunk@13062 -
2007-11-28 10:03:28 +00:00
marc
ee3d4895ef * fixed compilation with fpc 2.2 on win64
git-svn-id: trunk@12717 -
2007-11-03 16:49:08 +00:00
marc
31f9b02560 * fixed compilation on fpc 2.0.4
git-svn-id: trunk@12711 -
2007-11-03 02:41:12 +00:00
mattias
2d3019ded3 gtk: fixed pasting from other apps: reason was an uninitialized stack value
git-svn-id: trunk@11693 -
2007-07-31 17:17:14 +00:00
mattias
5d8235febb LCL: added CloseDebugOutput
git-svn-id: trunk@11267 -
2007-06-02 13:58:39 +00:00
mattias
9fdf9fcfdf gtk intf: made creation/freeing of GDI objects more consistent and more strict. gtk2 intf: brush and pen are now created on demand
git-svn-id: trunk@11128 -
2007-05-11 16:52:05 +00:00
tombo
576446d7e6 LCLProc: Added DbgS for TSize, TTextMetric and TScrollInfo
git-svn-id: trunk@11000 -
2007-04-25 10:24:29 +00:00
andrew
f37189d56d Changed AllocMem to GetMem for speed
git-svn-id: trunk@10945 -
2007-04-14 19:03:35 +00:00
andrew
c9b22c0490 Fixed a bug in MergeList where ReAllocMem was being called on an uninitialized pointer causing memory corruption
git-svn-id: trunk@10944 -
2007-04-14 18:53:37 +00:00
vincents
9cacb9efef LCL: removed endian conversion functions, they are part of the fpc 2.0.4 RTL now
git-svn-id: trunk@10940 -
2007-04-13 12:32:19 +00:00
vincents
f45ec4ef19 LCL: Adapted TextToShortCut, ShortCutToText and KeyToShortCut to work correctly on big endian systems from Tom (bug #8680)
git-svn-id: trunk@10939 -
2007-04-13 11:49:55 +00:00
marc
78aee44612 * Patch #8453 by Tom Gregorovic: UTF8ToUTF16 and UTF16ToUTF8 implementation
+ Added UTF16String
~ todo: use it and remove original conversion code from carbon

git-svn-id: trunk@10754 -
2007-03-16 00:00:08 +00:00
mattias
f9fcb805bb LCL: fixed updating control scrollbars, remaining bug: win32 intf moves controls when scrolling
git-svn-id: trunk@10317 -
2006-12-09 10:24:44 +00:00
mattias
9f19bda8e3 docking: implemented restoring control anchored to multiple siblings, implemented restoring windowstate
git-svn-id: trunk@9736 -
2006-08-20 18:52:08 +00:00
mattias
ac5ae3b17e fixed fpc 2.1.1 compilation, docking: implemented shrinking to get space for docked control
git-svn-id: trunk@9718 -
2006-08-12 10:55:22 +00:00
mattias
be15116595 IDEIntf: added OnShow handler for TIDEMenuSection, h2pas wizard: implemented adding/editing text tools
git-svn-id: trunk@9698 -
2006-08-02 16:36:35 +00:00
mattias
b17384ebc1 TButtonGlyph now uses shared bitmaps, improved debugging mem leaks
git-svn-id: trunk@9629 -
2006-07-18 17:20:34 +00:00
mattias
65c428629e IDE: fixed replace all
git-svn-id: trunk@9576 -
2006-07-08 16:36:19 +00:00
mattias
24649d370c carbon intf: implemented dosynchronize
git-svn-id: trunk@9541 -
2006-07-02 14:23:17 +00:00
mattias
31810fcee6 gtk2 intf: GDI fonts are now pango layouts instead of pango font descriptions, using the font cache similar to gtk1
git-svn-id: trunk@9499 -
2006-06-27 11:28:17 +00:00
mattias
50e2dbfddb added workaround for x86_64 double 0/x bug
git-svn-id: trunk@9490 -
2006-06-23 16:09:38 +00:00
mattias
486838638b gtk2 intf: fixed TTrackBar, added MergeSort for TFPList and TStrings
git-svn-id: trunk@9471 -
2006-06-22 01:54:58 +00:00
marc
797928f45b * fixed compilation on ppc (for ppc 2.0.2 ?)
git-svn-id: trunk@9455 -
2006-06-19 23:22:30 +00:00
mattias
e666f7b856 TOutputfilter now uses TDynamicDataQueue to read data from TAsyncProcess immediately. TAsyncProcess enabled for linux
git-svn-id: trunk@9452 -
2006-06-19 19:48:34 +00:00
mattias
c8ded32146 fixed reading po files with c string MsgID
git-svn-id: trunk@9396 -
2006-06-04 11:48:11 +00:00
mattias
8a3f0c0eb4 added more variants for dbgs
git-svn-id: trunk@9359 -
2006-05-26 15:28:34 +00:00
mattias
d5f0c65a98 fixed exception during loading of TCalendar with different date format
git-svn-id: trunk@9357 -
2006-05-26 14:50:32 +00:00
mattias
6eb4930179 fixed references to COPYING.LCL
git-svn-id: trunk@9243 -
2006-05-05 05:52:08 +00:00
micha
d9e9f1570f win64 fixes (from peter, modified)
git-svn-id: trunk@9221 -
2006-05-01 21:45:12 +00:00
mattias
ed108e7e99 added simple check if system characterset is UTF8 and strings do not need to be converted
git-svn-id: trunk@8973 -
2006-03-21 15:23:51 +00:00
mattias
24d096e296 fixed SourceChangeCache
git-svn-id: trunk@8872 -
2006-03-06 18:53:29 +00:00
mattias
a6f928ba99 added UTF8Pos and UTF8Copy
git-svn-id: trunk@8849 -
2006-02-28 16:44:55 +00:00
mattias
b8881b0c6c implemented selecting highlighter in source editor
git-svn-id: trunk@8846 -
2006-02-28 12:16:22 +00:00
mattias
c03e8cd810 added DefineRectProperty
git-svn-id: trunk@8811 -
2006-02-23 16:29:43 +00:00
vincents
bdfd016800 VK_NUMPAD0 is a editable key too (issue #1730)
git-svn-id: trunk@8765 -
2006-02-17 21:06:47 +00:00
vincents
323b83d861 removed fpc 2.0.0 compatibility workarounds
git-svn-id: trunk@8761 -
2006-02-17 15:19:01 +00:00
mattias
994cebd433 replaced IFDEF win32 with IF defined(VER2_0_2) and defined(WIN32)
git-svn-id: trunk@8759 -
2006-02-17 14:07:21 +00:00
mattias
c17929dd5f fixes for compiling wince
git-svn-id: trunk@8757 -
2006-02-17 13:57:15 +00:00
mattias
e76dfaf3bd fixed typo
git-svn-id: trunk@8725 -
2006-02-10 12:15:21 +00:00
mattias
4de0211460 added default LCL_PLATFORM for all big ide components
git-svn-id: trunk@8589 -
2006-01-21 09:38:59 +00:00
mattias
fe9a9c9db9 fixed focusing in gtklist
git-svn-id: trunk@8568 -
2006-01-19 22:54:58 +00:00
mattias
c5381fa007 reduced debugging output and extended debugging of lcl
git-svn-id: trunk@8565 -
2006-01-19 18:36:07 +00:00
mattias
042e4992ac fixed checking package Makefile.fpc ignoring space differences
git-svn-id: trunk@8547 -
2006-01-18 00:02:36 +00:00
mattias
51d730320c carbon interface: implemented basic key handling
git-svn-id: trunk@8521 -
2006-01-14 23:27:42 +00:00
mattias
23426faaf8 added GetCompleteText and IsEditableKey from FB
git-svn-id: trunk@8480 -
2006-01-10 14:16:39 +00:00
vincents
44fc23e4a9 show error message, but do not crash, if --debug-log filename cannot be opened
git-svn-id: trunk@8472 -
2006-01-08 15:12:16 +00:00
mattias
ce294c63d5 various fixes for carbon
git-svn-id: trunk@8428 -
2006-01-04 00:09:36 +00:00
vincents
5b7a95ffb2 added {$INLINE ON}
git-svn-id: trunk@8175 -
2005-11-16 09:28:25 +00:00
mattias
ed60dffb71 IDE now extends/clean up project unit path on renaming a project unit
git-svn-id: trunk@8168 -
2005-11-15 16:14:04 +00:00
mattias
e958469de0 disabled inline for 2.0.0
git-svn-id: trunk@8134 -
2005-11-11 16:36:53 +00:00
vincents
02fb81ec5a updated Ukrainian translations from Evgen Palamarchuck and Taras Boychuk
git-svn-id: trunk@8006 -
2005-10-30 21:32:58 +00:00
vincents
0f798571c6 implemented UTF8CStringToUTF8String used to read po-files
git-svn-id: trunk@7952 -
2005-10-11 10:39:29 +00:00
vincents
0b932a761a added default and cancel button to calendar dialog
git-svn-id: trunk@7836 -
2005-09-26 13:57:17 +00:00
vincents
73a0c7cd88 use DirPathExists instead of DirectoryExists, because DirectoryExists('c:\') returns false.
git-svn-id: trunk@7668 -
2005-09-10 21:05:08 +00:00
vincents
7f0c6e6127 added DumpStack procedure: it writes a back trace to the console / debugtxt
git-svn-id: trunk@7632 -
2005-09-06 09:01:00 +00:00
mattias
9a240dd36a fixed *not* converting widestrings to ansistrings in converting lfm streams
git-svn-id: trunk@7573 -
2005-08-26 00:05:13 +00:00
mattias
49bbb18e35 TBitmap with transparent pixels now saves in xpm format
git-svn-id: trunk@7554 -
2005-08-22 23:24:26 +00:00
mattias
60145ca7f2 implemented VK_LEFT/VK_RIGHT for word/identifier completion
git-svn-id: trunk@7529 -
2005-08-20 22:51:30 +00:00
vincents
1064272122 removed ifdef ver1 from Martin Smat
git-svn-id: trunk@7479 -
2005-08-04 08:41:46 +00:00
vincents
3c8fe5d206 initialize variables at declaration instead in the unit initialization from Florian K�berle
git-svn-id: trunk@7426 -
2005-07-26 08:45:15 +00:00
mattias
5835cdba75 Added TProtableAnyMapGraphic and fixed loading .ico on BIG_ENDIAN systems from Colin Western
git-svn-id: trunk@7368 -
2005-07-18 09:29:11 +00:00
vincents
0c73a31caa added DumpExceptionBackTrace
git-svn-id: trunk@7263 -
2005-06-22 09:04:48 +00:00
mattias
49823c14e4 added checkboxes to TDBGrid from Sergey Smirnov
git-svn-id: trunk@7233 -
2005-06-11 09:30:24 +00:00
marc
4d545aa840 * moved from dbgutils
git-svn-id: trunk@7171 -
2005-05-14 12:12:27 +00:00
vincents
041884d76b fixed DbgS(const p: pointer): give enough digits
git-svn-id: trunk@7087 -
2005-04-19 10:20:00 +00:00
mattias
a81cc46219 implemented favourite properties for ObjectInspector
git-svn-id: trunk@7072 -
2005-04-13 09:33:15 +00:00
vincents
5c84454943 changed hexstr(cardinal()) for pointers to dbgs() and other 64-bits fixes from Peter Vreman
git-svn-id: trunk@6915 -
2005-03-07 21:59:45 +00:00
mattias
55106911a0 line ends in debug output are now converted, added TTreeNode.FindNode
git-svn-id: trunk@6794 -
2005-02-17 18:56:32 +00:00
mattias
0882395f3e fixed gtk2 intf checking if signal already connected
git-svn-id: trunk@6790 -
2005-02-17 02:10:53 +00:00
marc
7c3a95c570 * first 64bit changes
git-svn-id: trunk@6752 -
2005-02-05 16:09:52 +00:00
mattias
cc5ecdae5c added workaround for bug #3574
git-svn-id: trunk@6637 -
2005-01-18 22:26:10 +00:00
mattias
add79711d3 fixed ecDeleteLastChar on unindent
git-svn-id: trunk@6551 -
2005-01-12 01:09:36 +00:00
micha
8a7395aa69 threadvars change location when a thread is started, use external variable
git-svn-id: trunk@6434 -
2004-12-30 14:46:54 +00:00
mattias
51caf89088 replaced some mosuedown with selectionchanged events from Vincent
git-svn-id: trunk@6300 -
2004-11-26 16:57:22 +00:00
marc
4585d2a1e3 + Added comment on endian funcs
git-svn-id: trunk@6254 -
2004-11-16 00:44:16 +00:00
vincents
95d4e404bd fix fpc 1.0.x compilation
git-svn-id: trunk@6245 -
2004-11-15 11:37:21 +00:00
marc
9d753bdd48 + Added generic endian functions
git-svn-id: trunk@6240 -
2004-11-13 17:22:15 +00:00
micha
eb5698fec0 fix menuitem caption issue (partly by martin smat)
remove ShortCutToText and TextToShortCut wrapper functions

git-svn-id: trunk@6158 -
2004-10-24 14:50:31 +00:00
vincents
cbe38a8df2 Fix fpc 1.0.x compilation.
git-svn-id: trunk@6123 -
2004-10-09 11:43:25 +00:00
vincents
1ff00689cf added support for --debug-log command line parameter and progname_debuglog environment variable
git-svn-id: trunk@6122 -
2004-10-08 21:33:01 +00:00
micha
f9d650d137 convert LM_CREATE message to interface methods
remove SendMsgToInterface, CNSendMessage and related methods
remove TWidgetSet.IntSendMessage3; all LCL to interface messages have been converted

git-svn-id: trunk@6073 -
2004-09-24 21:34:14 +00:00
mattias
4643737fa0 started TTabControlNotebookStrings
git-svn-id: trunk@5952 -
2004-09-09 22:00:37 +00:00
mattias
9cbff0982c added default values for compiler skip options and improved many parts of synedit for UTF8
git-svn-id: trunk@5919 -
2004-09-04 22:24:16 +00:00
mattias
725ee3133d improved double byte char fonts for gtk1, started synedit UTF8 support
git-svn-id: trunk@5906 -
2004-09-02 09:17:00 +00:00
mattias
56ae7a60a2 fixed focus catch for combobox csDropDownList
git-svn-id: trunk@5890 -
2004-08-30 10:49:20 +00:00
mattias
87eeaf72b3 added hints for long props in OI from Andrew Haines
git-svn-id: trunk@5877 -
2004-08-28 10:22:13 +00:00
mattias
1f1fe2413e added i386 extended conversions for powerpc
git-svn-id: trunk@5823 -
2004-08-19 17:47:46 +00:00
mattias
f46b2eb66c implemented basic manual docking
git-svn-id: trunk@5821 -
2004-08-18 22:56:11 +00:00
mattias
f576d2fccd simple forms can now be child controls
git-svn-id: trunk@5820 -
2004-08-18 20:49:03 +00:00
mattias
508c219f38 gtk intf now ignores size notifications of unrealized widgets
git-svn-id: trunk@5808 -
2004-08-17 19:01:37 +00:00
mattias
581bef95fc moved intfstrconsts.pp to lclstrconsts.pas, implemented TPenHandleCache
git-svn-id: trunk@5769 -
2004-08-11 20:57:09 +00:00
mattias
b884614dd5 improved gtk1 FontCache to handle several descriptors per gdkfont
git-svn-id: trunk@5768 -
2004-08-11 12:57:03 +00:00
mattias
784902b92a TXMLPropStorage basically working
git-svn-id: trunk@5704 -
2004-07-25 01:04:45 +00:00
mattias
84dd820d72 Designer can now handle TPersistent selections, TCollectionPropertyEditor basically working
git-svn-id: trunk@5702 -
2004-07-24 11:23:56 +00:00
marc
c4afc3033d * Implemented most of TListColoum/Item in the Ws for gtk and win32
git-svn-id: trunk@5667 -
2004-07-11 17:20:47 +00:00
vincents
ba6baf4a88 DebugLn checks if output is opened before writing
git-svn-id: trunk@5482 -
2004-05-17 20:36:24 +00:00
mattias
7f77713e6c replaced writeln by debugln
git-svn-id: trunk@5456 -
2004-05-11 12:16:48 +00:00
mattias
a444f136c2 replaced writeln by debugln
git-svn-id: trunk@5455 -
2004-05-11 11:42:27 +00:00
mattias
647e922c40 replaced writeln by debugln
git-svn-id: trunk@5454 -
2004-05-11 10:53:59 +00:00
mattias
aeff605972 implemented inserting Tab chars in synedit
git-svn-id: trunk@5314 -
2004-03-17 12:53:09 +00:00
micha
912d81b51e revert intf split
git-svn-id: trunk@5225 -
2004-02-23 08:19:05 +00:00
micha
8c520fe744 split interface into non-lcl and lcl-component dependent parts
git-svn-id: trunk@5224 -
2004-02-22 22:52:59 +00:00
mattias
b7768d31a5 quick fixed TToolBar destruction
git-svn-id: trunk@5167 -
2004-02-04 17:39:30 +00:00
mattias
1ef103e7bf fixed updating menu designer caption when editing in OI
git-svn-id: trunk@5166 -
2004-02-04 17:06:26 +00:00
mattias
f217471661 implemented menu hierachy in componenttree
git-svn-id: trunk@5086 -
2004-01-22 18:18:02 +00:00
mattias
6d76f34810 using now fpc constant LineEnding from Vincent
git-svn-id: trunk@5073 -
2004-01-17 13:29:04 +00:00
micha
8881c2270a fix a lot of range check errors win32
git-svn-id: trunk@4986 -
2003-12-29 14:22:22 +00:00
mattias
459b1c939c fixed many range check warnings
git-svn-id: trunk@4951 -
2003-12-25 14:17:07 +00:00
mattias
8ab6a60b7e many clipping fixes
git-svn-id: trunk@2662 -
2002-08-17 23:41:35 +00:00
mattias
e1ed0b2b52 fixed TUpDown and added handler lists for TControl
git-svn-id: trunk@2655 -
2002-08-17 23:41:33 +00:00
mattias
2549812cff added TScreen handlers, implemented TMainIDE.UnHideIDE
git-svn-id: trunk@2633 -
2002-08-17 23:41:32 +00:00
mattias
0f82e5de95 added GlobalDesignHook GetSelectedComponents
git-svn-id: trunk@2603 -
2002-08-17 23:41:31 +00:00
mattias
7a88dac363 implemented showing auto installed packages
git-svn-id: trunk@2589 -
2002-08-17 23:41:30 +00:00
mattias
1b7a117bdb fixed insert text GPL and LGPL
git-svn-id: trunk@2563 -
2002-08-17 23:41:29 +00:00
mattias
f8cdc9c704 more localization for gtk- and win32-interface and lcl
git-svn-id: trunk@2557 -
2002-08-17 23:41:28 +00:00
mattias
f9d84a710d localized gtk interface
git-svn-id: trunk@2536 -
2002-08-17 23:41:27 +00:00
mattias
01653d484e reduced speedbutton invalidates, added TCanvas.Frame
git-svn-id: trunk@2504 -
2002-08-17 23:41:26 +00:00
mattias
62b5b4ef5a added included by to unitinfo and a few win32 functions
git-svn-id: trunk@2499 -
2002-08-17 23:41:25 +00:00
mattias
9cf72ed27f fixed lazarus xml files for fpc 1.1
git-svn-id: trunk@2480 -
2002-08-17 23:41:24 +00:00
mattias
1737ab40fa fixed buffer overrun and added several checks
git-svn-id: trunk@2448 -
2002-08-17 23:41:23 +00:00
lazarus
3ed5f367ac MG: implemented TMethodList and Application Idle handlers
git-svn-id: trunk@2444 -
2002-08-17 23:41:22 +00:00
lazarus
45c40ec1f9 MG: fixed memleaks
git-svn-id: trunk@2424 -
2002-08-17 23:41:21 +00:00
lazarus
a05885bfb8 MG: broke LCL<->interface circles
git-svn-id: trunk@2401 -
2002-08-17 23:41:20 +00:00
lazarus
af88c037ec MG: broke actnlist <-> forms circle
git-svn-id: trunk@2389 -
2002-08-17 23:41:19 +00:00
lazarus
6c6572fb24 MG: broke actnlist <-> menus circle
git-svn-id: trunk@2370 -
2002-08-17 23:41:18 +00:00
lazarus
e6c9b594e5 MG: started lclproc.pas
git-svn-id: trunk@2350 -
2002-08-17 23:41:17 +00:00