Commit Graph

77 Commits

Author SHA1 Message Date
Pavel Sanda
5ea35e2d62 * header_check.sh: more tweaks 2013-05-15 00:02:16 -07:00
Pavel Sanda
b1d8bdf670 * header_check.sh: Apply new changes from Scott.
I see lot of errors like:
The following string was expected to be '.cpp' or '.h':
 LyX.cpp: In member function 'void lyx::LyX::printError(const lyx::ErrorItem&)':
Warning: the error was not parsed correctly.
The following string was expected to be '.cpp' or '.h':
 LyX.cpp: In function 'void lyx::error_handler(int)':
2013-05-14 23:59:42 -07:00
Pavel Sanda
9d478d5587 Comment. 2013-05-03 21:45:59 -07:00
Scott Kostyshak
33b0cff2f3 header_check.sh: allow exclusion of common headers
Continuing to address #6305
2013-05-03 01:59:57 -04:00
Scott Kostyshak
6adae69810 Script for finding unneeded headers
The script does the following:

  All .cpp and .h files in the current directory and subdirectories
  are checked to see which include statements could be omitted without
  causing a build error.

Many of these omissions would not be desired. For example, currently
if you don't include Undo.h in Undo.cpp, there is no error because
Undo.h is included in Cursor.h which is included in Undo.cpp. But
clearly we do want to include Undo.h in Undo.cpp.

See #6305.
2013-05-02 02:40:48 -04:00
Georg Baum
45052f56ab Handle text-only wasy symbols correctly.
Some macros defined by wasysym.sty work only in text mode: They either
produce an error in math mode, or wrong output. These symbols are now marked
as text symbols, so that no \ensuremath is created for LaTeX export if they
appear inside \text{}, and the correct images are created.
2013-01-10 21:22:54 +01:00
Georg Baum
c10044ddc0 Add consistency checks.
development/tools/generate_symbols_images.py now checks for each symbol in
lib/symbols whether its image is listed in lib/Makefile.am and whether it has
a toolbar entry in lib/ui/stdtoolbars.inc.
2013-01-08 21:51:09 +01:00
Georg Baum
a98f7ad02d Fine tune image generation 2012-12-31 18:22:05 +01:00
Georg Baum
8838648858 Add script for automatic toolbar image creation.
Manually created toolbar images are needed in many cases, but for simple
symbols automatically generated ones are better than nothing.
2012-12-16 14:44:18 +01:00
Georg Baum
f67cf6f4bb Add support for stmaryrd.sty (bug #8434)
The stmaryrd package adds support for lots of math symbols, using a font
designed to accompany the computer modern fonts. The changes in detail:

- Fix generate_symbols_list.py to work with stmaryrd.sty. It loooks like it
  was automatically translated from a perl version and never used.
- Generate the new symbols in lib/symbols using generate_symbols_list.py and
  add some manual adjustments
- Generate stmary10.ttf by a simple ttf export from stmary10.sfd with fontforge
- Add license info for stmary10.ttf
- Create a test file with all symbols from stmaryrd.sty. Actually it would be
  nice to have this for the other fonts as well.
- The mechanics: lyx2lyx, tex2lyx, font machinery etc.
2012-12-15 13:10:31 +01:00
Pavel Sanda
f6a0356a5f * tools/lyx-fedora update from Kayvan. 2012-11-09 10:59:04 +01:00
Richard Heck
3f4b4d7676 Add lyx-fedora script, which builds a LyX RPM from the git sources
on Fedora.
2012-11-03 22:13:36 -04:00
Richard Heck
d49a4e5c5e Updates to lyx-build script. 2012-11-03 22:11:05 -04:00
Richard Heck
c3fe0fd7e2 Port changes to update-po.sh script to trunk. 2012-07-02 17:49:08 -04:00
Richard Heck
5451b6b4e0 Update distribution build script for git.
(cherry picked from commit 082db5e769)
2012-06-25 09:36:29 -04:00
Richard Heck
15a2216dab Update update-po.sh script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40290 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-26 23:49:36 +00:00
Richard Heck
84359f46ce Script for building a maintenance distribution.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40278 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-25 17:45:26 +00:00
Richard Heck
019f8415f3 Updates to update-po script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40063 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-29 19:03:43 +00:00
Richard Heck
f69348f48a Port script updates.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39148 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-20 14:47:21 +00:00
Richard Heck
ed9b6f935b Port changes to update-po.sh.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39109 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 15:35:46 +00:00
Richard Heck
7ea412465c Updates to check-po script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39108 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 15:35:42 +00:00
Richard Heck
ca8eefc39c New script to remerge strings, check for changes, etc. Still under
development.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39098 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-16 14:46:56 +00:00
Richard Heck
ba3d0ac837 Check for git in update script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38913 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-01 13:10:38 +00:00
Richard Heck
9ec3c86d66 Make the script more flexible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38661 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 15:36:59 +00:00
Richard Heck
30864d048f Add stats updating script to development/tools/.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38659 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 15:27:10 +00:00
Richard Heck
3cc6e03378 Add patch-premable to development tools.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38656 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-09 15:10:24 +00:00
Richard Heck
5577b5c6f0 Add lyxpak.py to the distribution, and configure it appropriately for export.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37506 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-06 14:50:06 +00:00
Enrico Forestieri
df6df99df8 The sets module is deprecated since Python 2.6, so use the built-in
type set, available as almost drop-in replacement since Python 2.4.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37505 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-05 22:59:01 +00:00
Richard Heck
1aad2779e4 Revert part of r37496. This was wrong.
Probalby we have a better "isLyXFile()" routine for use also in gather_files().



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37504 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-05 14:04:28 +00:00
Richard Heck
9865f85122 Allow lyxpak to work when LyX is run in place.
Note that this should also make lyx2lyx detection a lot easier than 
it was before.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37498 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-04 20:33:52 +00:00
Richard Heck
497a131804 Forgot this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37497 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-04 20:15:39 +00:00
Richard Heck
a621204d57 Clean up the lyxpak script a bit, towards possible inclusion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37496 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-04 19:43:52 +00:00
Richard Heck
9f933cecf0 Script for automatic updating of ui and bind files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37252 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-18 15:41:16 +00:00
Richard Heck
5bfb8069da Simple bash script to update all layouts to current format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32372 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-06 03:30:24 +00:00
Uwe Stöhr
d98251c379 - gen_lfuns.py: reduce the space between items in LFUNs.lyx to save whitespace
- LFUNs.lyx: rebuilt with changed gen_lfuns.py

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31681 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-19 23:44:11 +00:00
Uwe Stöhr
8355b32381 - LFUNs.lyx: there is no need to use AMS for this file.
- gen_lfuns.py: change the script accordingly and add the missing \spacing tag

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31669 a592a061-630c-0410-9148-cb99ea01b6c8
2009-10-19 00:01:01 +00:00
Enrico Forestieri
7270242aad Add lyxeditor script to development/tools, adjust properties of other
files and also add lyxpak.py to the distributed files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29998 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-06 15:17:51 +00:00
Pavel Sanda
de66d50203 Allow output to pipe.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29703 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 00:34:29 +00:00
Pavel Sanda
38cb5cb02a next cases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29701 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 00:04:10 +00:00
Pavel Sanda
d0c3f0e8fb not needed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29700 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 00:04:08 +00:00
Pavel Sanda
db4ef7df34 Towards bug http://www.lyx.org/trac/ticket/5676
Python script for building LFUNs.lyx
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg151172.html

Patch by Ewan Davies


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29698 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-16 23:53:32 +00:00
André Pönitz
f1cba8ff64 more latin1..utf8 schanges. all of src/* should be utf8 now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27425 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 15:58:50 +00:00
André Pönitz
04e8c050b2 update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25240 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-12 16:48:23 +00:00
Enrico Forestieri
1a2af1197e Allow to specify either text mode or math mode commands (or both) in the
unicodesymbols file. When the command for a mode is not specified, the
other one is used (taking care that it also works in the "wrong" mode).
This allows to avoid the \lyxmathsym macro when a native math command
is available. Patch from Georg, modifications to the unicodesymbols
file by me.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25061 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-02 01:35:42 +00:00
Enrico Forestieri
bed989943b Too much comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24193 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-09 18:28:47 +00:00
Enrico Forestieri
801ae9954d Maybe this script is useful to someone.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24192 a592a061-630c-0410-9148-cb99ea01b6c8
2008-04-09 18:16:18 +00:00
André Pönitz
afc94c736f add -DQT_NO_KEYWORDS to the statistic scripts, since that's what we use in
reality


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23722 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-14 19:48:58 +00:00
André Pönitz
fe8f68ee32 quick shot at designer 4.3 -> 4.2 conversion.
Usage: perl -i designer43to42  <the_ui_file_you_want_to_fix>


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23645 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 18:31:14 +00:00
Jean-Marc Lasgouttes
0baeaadd2b trim some grey hair
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22959 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-12 09:58:52 +00:00
André Pönitz
5c4a20fe04 I'll find a solution for the 'dirList problem', Abdel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21884 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-30 20:57:53 +00:00