1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-05 09:18:56 +00:00
Commit Graph

93 Commits

Author SHA1 Message Date
Petrichor Park
100504d2f5 notepad: Use GetDpiForWindow().
Instead of querying the registry, just calls `GetDpiForWindow`.

Winecfg's DPI slider sets `Control Panel\\Desktop\\LogPixels`.
See `programs/winecfg/x11drvdlg.c`
Notepad queries `Software\\Fonts\\LogPixels`, and so doesn't pick up
on the change.
2023-07-19 10:44:51 +02:00
Alexandre Julliard
e1f1846611 notepad: Use standard va_list instead of __ms_va_list. 2023-02-20 08:39:31 +01:00
Jacob Czekalla
377481180e notepad: Show goto dialog box. 2022-09-23 15:16:48 +02:00
Jacob Czekalla
799c24aa81 notepad: Track and display line number and column. 2022-09-14 22:38:34 +02:00
Jacob Czekalla
dd3fa4e9ef notepad: Show status bar. 2022-09-14 22:38:34 +02:00
Nikolay Sivov
ba5e12ae83 notepad: Make sure to use large enough buffer when composing window title (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-08 11:11:42 +09:00
Alexandre Julliard
276306e227 notepad: Don't offer vertical fonts in the font dialog. 2013-06-25 12:39:26 +02:00
Alexandre Julliard
c9eee73450 makefiles: Define __WINESRC__ when building programs. 2012-01-23 16:07:37 +01:00
Francois Gouget
5eec81b849 notepad: Fix a string resource so its format placeholders can be reordered. 2011-11-24 17:15:01 +01:00
Francois Gouget
9b21a106cc notepad: Remove the 'Help on Help' menu.
It is redundant with the help application's 'Help' menu and clutters notepad.
2011-04-01 11:38:18 +02:00
Francois Gouget
80cf194e14 notepad: Remove the unimplemented help search menu. 2011-03-31 13:20:00 +02:00
Alexander Scott-Johns
321e4c0eec notepad: Load UTF-8 encoding name from resources instead of using GetCPInfoEx. 2011-01-31 14:08:19 +01:00
Alexander Law
a8308dd017 programs/notepad: Correct sharing mode for opening file in notepad. 2011-01-28 12:03:09 +01:00
Andrew Eikum
7854f191bb notepad: Don't specify initial dir for save and open dialogs. 2010-07-24 11:18:20 +02:00
Damjan Jovanovic
8b593e903f notepad: Substitute the page number in the footer. 2010-07-19 15:10:28 +02:00
Henry Kroll III
d3369086ed notepad: Don't prompt to save empty Untitled file. 2010-03-15 13:18:05 +01:00
Vitaly Perov
d4e665431b notepad: Implement printing to file. 2010-02-26 13:02:01 +01:00
Alexander Scott-Johns
32c066f12a notepad: When opening a file, replace \0 characters with spaces, instead of truncating the file at the first \0. 2009-07-06 14:35:27 +02:00
Alexander Scott-Johns
93b99e0af3 notepad: Refactor DoOpenFile to simplify next patch. 2009-07-06 14:35:27 +02:00
Alexander Scott-Johns
84fd1c84f8 notepad: Detect if saving will lose information. 2009-07-02 13:08:50 +02:00
Alexander Scott-Johns
67766392bf notepad: Allow user to choose which encoding to open and save files in. 2009-07-02 13:05:54 +02:00
Alexander Scott-Johns
080cc90992 notepad: Remember the encoding of files when they are opened, and use the same encoding when saving. 2009-07-02 13:05:50 +02:00
Alexander Scott-Johns
8b6b7b2c39 notepad: Improve encoding detection when opening files. 2009-07-02 13:05:45 +02:00
Alexander Scott-Johns
42729bc1c1 notepad: Fix trying to open non-existent files with the command line. 2009-07-02 12:58:16 +02:00
Michael Stefaniuc
129889b287 notepad: Use the ARRAY_SIZE() macro if we already have it. 2009-05-28 12:42:18 +02:00
Michael Stefaniuc
cdc5b0c29b notepad: Rename the SIZEOF macro to the more descriptive ARRAY_SIZE.
SIZEOF looks just like one of the typical Win32 API capitalizations of
the basic C construct which it isn't.
2009-05-28 12:42:18 +02:00
Michael Stefaniuc
f66b600449 notepad: The UNICODE define isn't needed anymore; remove it.
Add the WINE_NO_UNICODE_MACROS define to prevent the AW form of
functions and types from creeping back in.
2009-05-19 11:58:53 +02:00
Michael Stefaniuc
27c8839f66 notepad: Use the explicit W-form of the functions. 2009-05-19 11:58:53 +02:00
Michael Stefaniuc
f706c68cf9 notepad: Use the more specific MAKEINTRESOURCEW macro. 2009-05-19 11:58:53 +02:00
Michael Stefaniuc
1a60da74f9 notepad: Use the explicit W-form for some string functions. 2009-05-08 12:26:54 +02:00
Michael Stefaniuc
3e7647ad72 notepad: Use the explicit W-form of the types. 2009-05-07 14:44:22 +02:00
Rein Klazes
9e8f2a7024 programs: Make some of the open file dialogs of a few programs resizable. 2009-05-06 12:20:10 +02:00
Michael Stefaniuc
0c702d140c notepad: Use the explicit SendMessageW form. 2009-05-05 14:13:53 +02:00
Austin English
2c3497b908 notepad: Don't append seconds to time format. 2009-04-28 13:10:02 +02:00
Rico Schüller
ac6a18f1f6 notepad: Allow only one search/replace dialog to open. 2009-04-27 14:32:40 +02:00
Rico Schüller
3137600651 notepad: Implement replace. 2009-04-27 14:32:34 +02:00
Austin English
2a98ea48cd notepad: Fix date format to match windows. 2009-04-27 13:23:11 +02:00
Hirofumi Katayama
32b6a1a08c notepad: Cancel closing window by cancelling "Save As" dialog box. 2008-09-11 11:41:52 +02:00
Alexander Nicolaysen Sørnes
d50e2df17b notepad: Fix opening Unicode files. 2008-07-14 12:26:25 +02:00
Francois Gouget
8a18e0e43a Assorted spelling fixes. 2008-04-07 13:36:18 +02:00
Rob Shearman
90efadc540 notepad: Remove the License and NO WARRANTY options from the Help->Information popup menu as the same information can now be viewed from the About dialog.
Remove the Help->Information popup menu and rename the "About Wine"
option to "About Notepad".
2008-03-28 21:42:15 +01:00
Alexandre Julliard
247754fba2 notepad: Use the larger icon in the About dialog. 2008-03-21 18:39:31 +01:00
James Hawkins
e4c1227ec9 janitorial: Remove links to any microsoft site. 2008-03-01 12:17:17 +01:00
Dmitry Timoshkov
4ea5fce083 notepad: We pass OFN_FILEMUSTEXIST | OFN_PATHMUSTEXIST to GetOpenFileName, so there is no point in testing file existence. 2007-08-31 12:41:33 +02:00
Alexander Nicolaysen Sørnes
29b69c54b0 notepad: Add program icon. 2007-08-28 12:42:12 +02:00
Michael Stefaniuc
9a522589fb programs: Remove unreachable break after return/break. Found by Smatch. 2007-07-19 11:57:53 +02:00
Rolf Kalbermatter
5eb6c11aba notepad: Improve printing considerably.
Make fonts and the other measurements the correct size in relation to
the actual printer resolution instead of thinking it uses the same
resolution as the display.  Before fixed sized (and for most printer
resolutions way to small) margins where used and the font size was
taken directly from the screen font independent of the actual printer
resolution, resulting in a completely unreadable micro text on most
printouts.
2007-04-10 21:47:25 +02:00
Rolf Kalbermatter
3cae920399 notepad: Implement handling of page setup dialog parameters. 2007-04-02 11:35:11 +02:00
Mikołaj Zalewski
84fc75c3d2 notepad: Implement Find and Find Next. 2006-10-23 15:14:10 +02:00
Mikołaj Zalewski
b0905acb6e notepad: Add a generic function for message boxes with a string parameter. 2006-10-23 15:07:33 +02:00