Commit Graph

88 Commits

Author SHA1 Message Date
paul
d9dfb7ca86 win32: fix win32dialogs compilation with recent fpc 2.5.1 on win64 platform (based on patch of Cyrax, issue #0019163)
git-svn-id: trunk@30301 -
2011-04-15 13:04:12 +00:00
paul
fb870600ff win32: get/restore active window before/after windows dialog showing
git-svn-id: trunk@30278 -
2011-04-13 07:10:43 +00:00
mattias
2829b842e8 LCL: small optimization
git-svn-id: trunk@29589 -
2011-02-17 10:07:01 +00:00
mattias
0e109ea1e1 fixed typos: usefull
git-svn-id: trunk@29446 -
2011-02-10 09:43:23 +00:00
paul
82b51df5c8 win32: use MainFormHandle in some places instead of MainForm.Handle
git-svn-id: trunk@29264 -
2011-01-31 08:45:57 +00:00
paul
d1e9b24dcf win32: force preview panel for TPictureSave(Open)Dialog
git-svn-id: trunk@28286 -
2010-11-17 07:51:14 +00:00
paul
05a43c2437 win32: ifdef all vista open/save dialog code
git-svn-id: trunk@28265 -
2010-11-16 07:10:46 +00:00
paul
bbd6520a72 win32: handle CanClose = False for cancel clicks in Vista dialogs
git-svn-id: trunk@28262 -
2010-11-16 02:38:52 +00:00
paul
d73133ed38 win32: properly implement SelectionChange event for vista dialogs
git-svn-id: trunk@28261 -
2010-11-16 02:23:28 +00:00
paul
473b9e0b8d win32: fixed compilation with 2.4.2
git-svn-id: trunk@28250 -
2010-11-15 14:18:49 +00:00
paul
e3134c1abd win32: start implementation of Vista+ FileOpen and FileSave dialogs. todo is in the win32wsdialogs.pp
git-svn-id: trunk@28239 -
2010-11-15 08:11:31 +00:00
paul
8e99ab359b win32: use TaskDialogIndirect for MessageDlg and ShowMessage on windows vista+
git-svn-id: trunk@28198 -
2010-11-13 07:42:13 +00:00
sekelsenmat
56f71a1c43 Moves the code to set the initial dir for win32 from the LCL to the win32 widgetset. Fixes bug #17772
git-svn-id: trunk@28055 -
2010-11-03 10:54:18 +00:00
dmitry
4b6492764d win32: updated Win7 opensave dialog library dir selection. fix #16797
git-svn-id: trunk@26471 -
2010-07-05 13:50:08 +00:00
paul
b1e9437ade win32: cleanup + formatting
git-svn-id: trunk@25200 -
2010-05-05 03:14:36 +00:00
paul
c19617c093 win32: apply patch from Jose Mejuto to fix "Open/Save dialog (Win32/64) with option ofOldStyleDialog crashes" (bug #0014794)
git-svn-id: trunk@22215 -
2009-10-18 06:34:18 +00:00
vincents
70a61a9037 win32 interface: add direcory to TSelectDirectoryDialog.Files to be more consistent with the OpenFileDialog (issue #13691)
git-svn-id: trunk@20183 -
2009-05-25 06:33:13 +00:00
paul
8361d10065 win32: show open/save dialogs on correct monitor (another part of issue #0013446)
git-svn-id: trunk@19380 -
2009-04-12 09:39:43 +00:00
paul
f02c53c71c merge lcl-smartlink branch:
------------------------------------------------------------------------
r19294 | paul | 2009-04-10 11:17:35 +0800 (Птн, 10 Апр 2009) | 1 line

lcl, win32: start optimizations: imglist (all), controls (all), combtrls (statubar)
------------------------------------------------------------------------
r19305 | martin | 2009-04-10 21:53:27 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL
------------------------------------------------------------------------
r19306 | martin | 2009-04-10 22:14:57 +0800 (Птн, 10 Апр 2009) | 1 line

Moved "DoneRegisterCheck" to global LCL (more)
------------------------------------------------------------------------
r19307 | martin | 2009-04-10 22:22:44 +0800 (Птн, 10 Апр 2009) | 1 line

changed case true => True
------------------------------------------------------------------------
r19308 | paul | 2009-04-10 22:28:28 +0800 (Птн, 10 Апр 2009) | 1 line

fix file case
------------------------------------------------------------------------
r19311 | martin | 2009-04-10 23:09:16 +0800 (Птн, 10 Апр 2009) | 1 line

Moved Registration of TCustomCalendar
------------------------------------------------------------------------
r19312 | martin | 2009-04-10 23:28:03 +0800 (Птн, 10 Апр 2009) | 1 line

Moved PropertyToSkip for TCalender
------------------------------------------------------------------------
r19314 | paul | 2009-04-10 23:50:30 +0800 (Птн, 10 Апр 2009) | 1 line

merge r13913 #999e8b059d
------------------------------------------------------------------------
r19315 | paul | 2009-04-10 23:53:07 +0800 (Птн, 10 Апр 2009) | 1 line

cleanup WSCalendar
------------------------------------------------------------------------
r19316 | paul | 2009-04-11 00:37:44 +0800 (Сбт, 11 Апр 2009) | 1 line

finish with ComCtrls
------------------------------------------------------------------------
r19318 | martin | 2009-04-11 01:37:40 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19319 | martin | 2009-04-11 01:47:30 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved dialogs
------------------------------------------------------------------------
r19320 | martin | 2009-04-11 02:47:52 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved ExtCtrls, ExtDlgs
------------------------------------------------------------------------
r19321 | martin | 2009-04-11 03:23:32 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved PropertyToSkip
------------------------------------------------------------------------
r19322 | martin | 2009-04-11 03:37:39 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved StdCtrls
------------------------------------------------------------------------
r19323 | martin | 2009-04-11 04:05:50 +0800 (Сбт, 11 Апр 2009) | 1 line

Moved Buttons
------------------------------------------------------------------------
r19325 | paul | 2009-04-11 11:02:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove DirSel
------------------------------------------------------------------------
r19326 | paul | 2009-04-11 11:11:37 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterArrow
------------------------------------------------------------------------
r19327 | paul | 2009-04-11 11:32:09 +0800 (Сбт, 11 Апр 2009) | 1 line

register WS classes only for TCustomXXX classes if they are available (like TCustomScrollBar instead of TScrollBar) and only for those descendants which really differ (like TRadioButton, TToggleButton)
------------------------------------------------------------------------
r19328 | paul | 2009-04-11 11:40:00 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomCheckBox
------------------------------------------------------------------------
r19329 | paul | 2009-04-11 11:57:22 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Forms
------------------------------------------------------------------------
r19330 | paul | 2009-04-11 12:13:05 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomGrid + move of RegisterPropertyToSkip
------------------------------------------------------------------------
r19331 | paul | 2009-04-11 12:24:29 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Menus
------------------------------------------------------------------------
r19332 | paul | 2009-04-11 12:35:16 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for PairSplitter
------------------------------------------------------------------------
r19333 | paul | 2009-04-11 12:47:39 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterXXX for Spin
------------------------------------------------------------------------
r19334 | paul | 2009-04-11 12:58:55 +0800 (Сбт, 11 Апр 2009) | 1 line

RegisterCustomRubberBand
------------------------------------------------------------------------
r19335 | paul | 2009-04-11 13:31:43 +0800 (Сбт, 11 Апр 2009) | 1 line

remove 2 initialization sections
------------------------------------------------------------------------
r19336 | paul | 2009-04-11 13:46:26 +0800 (Сбт, 11 Апр 2009) | 1 line

remove TPopupNotifier.png from LCL
------------------------------------------------------------------------
r19338 | paul | 2009-04-11 13:54:03 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19341 | paul | 2009-04-11 14:59:27 +0800 (Сбт, 11 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19343 | martin | 2009-04-11 19:59:18 +0800 (Сбт, 11 Апр 2009) | 1 line

Reduced Unit-Circles, by moving Register* into WS* units
------------------------------------------------------------------------
r19344 | martin | 2009-04-11 20:22:49 +0800 (Сбт, 11 Апр 2009) | 1 line

Dummy file for gtk
------------------------------------------------------------------------
r19345 | martin | 2009-04-11 21:06:55 +0800 (Сбт, 11 Апр 2009) | 1 line

Initial move of gtk1 register
------------------------------------------------------------------------
r19346 | martin | 2009-04-11 21:19:48 +0800 (Сбт, 11 Апр 2009) | 1 line

Missing dependencies in gtk1 wsfactory
------------------------------------------------------------------------
r19347 | martin | 2009-04-11 22:36:42 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy
------------------------------------------------------------------------
r19348 | martin | 2009-04-11 23:34:16 +0800 (Сбт, 11 Апр 2009) | 1 line

Declare register* in interface, to keep external linker happy 
------------------------------------------------------------------------
r19349 | martin | 2009-04-11 23:39:20 +0800 (Сбт, 11 Апр 2009) | 1 line

moved uses for factory
------------------------------------------------------------------------
r19350 | martin | 2009-04-11 23:41:57 +0800 (Сбт, 11 Апр 2009) | 1 line

corrected a few accidental "Result := False"
------------------------------------------------------------------------
r19351 | paul | 2009-04-12 00:04:15 +0800 (Вск, 12 Апр 2009) | 1 line

removed unused units
------------------------------------------------------------------------
r19352 | paul | 2009-04-12 00:05:26 +0800 (Вск, 12 Апр 2009) | 1 line

qt: move RegisterWS calls to qtwsfactory
------------------------------------------------------------------------
r19354 | paul | 2009-04-12 01:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

wince: move RegisterWS calls to WinCEWSFactory
------------------------------------------------------------------------
r19356 | martin | 2009-04-12 01:39:56 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2
------------------------------------------------------------------------
r19357 | martin | 2009-04-12 01:45:31 +0800 (Вск, 12 Апр 2009) | 1 line

moved GTK2 / missing units
------------------------------------------------------------------------
r19358 | martin | 2009-04-12 01:57:43 +0800 (Вск, 12 Апр 2009) | 1 line

Fixed one return value from register
------------------------------------------------------------------------
r19360 | martin | 2009-04-12 02:47:42 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2 registrations for WinControl
------------------------------------------------------------------------
r19361 | martin | 2009-04-12 02:57:58 +0800 (Вск, 12 Апр 2009) | 1 line

Gtk2 , needs 2nd registrations
------------------------------------------------------------------------
r19368 | paul | 2009-04-12 13:09:59 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------
r19373 | paul | 2009-04-12 13:45:17 +0800 (Вск, 12 Апр 2009) | 1 line

wince: forgotten file
------------------------------------------------------------------------
r19374 | paul | 2009-04-12 14:04:04 +0800 (Вск, 12 Апр 2009) | 1 line

carbon: move RegisterWSComponent to CarbonWSFactory
------------------------------------------------------------------------
r19375 | paul | 2009-04-12 14:27:47 +0800 (Вск, 12 Апр 2009) | 1 line

cleanup
------------------------------------------------------------------------

git-svn-id: trunk@19376 -
2009-04-12 08:46:31 +00:00
paul
ea305d04d4 win32: initial support for fonts with national names (issue #0013141)
git-svn-id: trunk@19131 -
2009-03-27 08:15:34 +00:00
vincents
1f3f833a84 win32 interface: use UTF16 <-> UTF8 conversion functions from LCLProc instead of UTF8Encode/UTF8Decode from the RTL to work around fpc bug #13075
patch by: Theo
fixes issue #13067

git-svn-id: trunk@18769 -
2009-02-20 08:33:44 +00:00
paul
1d777bebeb lcl: introduce TScreen.DisableForms, TScreen.EnableForms,
lcl: Disabling/Enabling forms before/after showing of modal form
win32: remove win32 specific methods of disabling/enabling windows. Use new TScreen methods instead
win32: disable/enable forms before/after showing some system dialog (fixes bug #0012366, bug #0012382)

git-svn-id: trunk@18629 -
2009-02-10 14:38:01 +00:00
paul
e8a9d70590 win32: remove period (.) from defaultExt (fixes bug #0013040)
git-svn-id: trunk@18511 -
2009-01-31 06:34:56 +00:00
paul
9839c4a098 win32:
- change set open/save dialog options after execute
  - use DefaultExt
fixes bug #0013040

git-svn-id: trunk@18507 -
2009-01-30 18:02:41 +00:00
paul
65d0d8bd24 win32: restore focus after showing open, save or color dialog
git-svn-id: trunk@18388 -
2009-01-22 08:54:41 +00:00
paul
efe9d531c3 widgetset: make WS classes method explicitly published
win32: fix WS classes. move methods to published sections

git-svn-id: trunk@17576 -
2008-11-25 02:29:28 +00:00
paul
b36d20730f lcl:
- add TColorBox.CustomColors property (as delphi has)
  - populate TColorBox.CustomColors with standard + extended colors
  - add function to extract ColorIndex and ColorValue from CustomColors list

win32: 
  - split TWin32WSColorBox code between CreateHandle, FreeHandle and ShowModal
  - use TColorBox.CustomColors to populate win32 colorbox custom colors (todo for qt, gtk2, carbon?)

git-svn-id: trunk@17337 -
2008-11-11 10:39:22 +00:00
vincents
ad6608e616 win32 interface: workaround fpc bug that CommDlg_OpenSave_GetSpecW uses SendMessage instead of SendMessageW, fixes largely issue #12479
git-svn-id: trunk@17142 -
2008-10-28 13:27:47 +00:00
paul
294989aa80 win32: fix OpenDialog.FileName retrieving when FileName already contains path (#0012364)
git-svn-id: trunk@16977 -
2008-10-12 08:54:29 +00:00
paul
3c20093934 win32: fix range check error in open/save dialogs code (#0012336)
git-svn-id: trunk@16954 -
2008-10-11 08:11:01 +00:00
paul
26cc18cb0c win32: call DoShow when file dialog is shown
git-svn-id: trunk@16871 -
2008-10-04 13:39:01 +00:00
paul
862affa6fe win32: fix incorrect filename return in TSaveDialog
git-svn-id: trunk@16870 -
2008-10-04 13:25:49 +00:00
paul
f43da932e4 win32: insert preview panel to PictureOpenDialog
git-svn-id: trunk@16856 -
2008-10-03 03:19:01 +00:00
paul
771a7ee01f win32: simplify FileDialog handling:
- always use our own buffer for file names
  - invoke DoSelectionChange on file selection changed
  - update dialog Files, FileName props on selection change

git-svn-id: trunk@16845 -
2008-10-02 10:01:49 +00:00
vincents
273220e891 fixed compilation after merging of the fpc Unicode branch to fpc 2.3.1
git-svn-id: trunk@16573 -
2008-09-12 21:24:45 +00:00
mattias
9032caa4fd UTF-8: added ExpandFilenameUTF8
git-svn-id: trunk@16272 -
2008-08-27 11:25:01 +00:00
mattias
2996a3c332 rename COPYING.modifiedLGPL to COPYING.modifiedLGPL.txt
git-svn-id: trunk@15834 -
2008-07-22 09:48:15 +00:00
vincents
23f6d38d68 win32 interface: implemented unicode handling of old style file open dialog (bug #11593)
git-svn-id: trunk@15647 -
2008-07-02 07:26:22 +00:00
sekelsenmat
fe83d3ce23 Fixes range check errors patch by Martin Friebe.
git-svn-id: trunk@15184 -
2008-05-19 21:49:46 +00:00
vincents
9ed9aa3295 win32 interfaces: added some defines to enable unicode support easily.
git-svn-id: trunk@14801 -
2008-04-11 11:22:20 +00:00
vincents
a0f9e54e9b win32 interface: fixed range check error from C Western (bug #11096)
git-svn-id: trunk@14739 -
2008-04-02 21:54:03 +00:00
vincents
0153631ad7 win32 interface: implemented unicode support for SelectDirectoryDialog
git-svn-id: trunk@14697 -
2008-03-31 19:38:55 +00:00
vincents
8a9d186eba win32 interface: complete unicode version of the openfile and savefile dialog (bug #10918)
git-svn-id: trunk@14661 -
2008-03-26 21:44:17 +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
paul
fa1810d49d fix win32 compilation with fpc 2.2.1
git-svn-id: trunk@14178 -
2008-02-18 07:48:50 +00:00
sekelsenmat
8023d99e58 Various Windows unicode fixes.
git-svn-id: trunk@14146 -
2008-02-15 20:23:58 +00:00
vincents
a630267f5b win32 interface: fixed compilation with fpc 2.2.0 and 2.3.1
git-svn-id: trunk@14134 -
2008-02-14 13:20:14 +00:00
paul
47fb1d410c reduce warning and notes
git-svn-id: trunk@14101 -
2008-02-12 05:59:51 +00:00
paul
4e33251c35 bunch of compatibility fixes with fpc 2.2 rtl if win32extra will be cleaned
git-svn-id: trunk@14098 -
2008-02-12 05:40:57 +00:00
paul
99bf57cea8 center only those dialogs that has no parent form
git-svn-id: trunk@13369 -
2007-12-18 08:24:58 +00:00