Commit Graph

12964 Commits

Author SHA1 Message Date
Bo Peng
3192307c86 Embedding: move file validation from InsetBibtex to GuiBibtex
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23710 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-13 17:19:36 +00:00
Bo Peng
dc177e2546 Embedding: move file validation from InsetGraphics to GuiGraphics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23709 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-13 16:49:04 +00:00
Bo Peng
ded962802e Embedding: prepare params()[embed] in GuiInclude rather than InsetInclude
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23708 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-13 14:16:47 +00:00
Jean-Marc Lasgouttes
72c26ac6d1 two uninitialized variables uncovered by valgrind, and a gcc warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23707 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-13 10:28:02 +00:00
Enrico Forestieri
0b21465259 Update the description of the bm package in LaTeXConfig.lyx.
Also make sure that bm is loaded after amsmath.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23706 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-13 01:44:49 +00:00
Richard Heck
04af00c98e Comment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23703 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-13 01:09:41 +00:00
Bo Peng
bde7e6ef80 Fix loading opened files from last session
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23695 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 22:02:22 +00:00
Bo Peng
fd34e3def1 Embedding: adjust how parameters are passed from the graphics dialog to InsetInclude
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23694 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 21:42:55 +00:00
Bo Peng
a3c4711b08 Embedding: markDirty should not be called in EmbeddedFiles::enable(), which is handled in BufferView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23693 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 21:29:37 +00:00
André Pönitz
efe96e2ff9 fix monolithic compilation and add usage comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23690 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 19:39:14 +00:00
Jürgen Spitzmüller
ad5ba124be * src/mathed/InsetMathNest.cpp:
- also handle the Color_inherit case.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23688 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 18:50:50 +00:00
Bo Peng
26fd7ca164 Adjust format and comments in src/EmbeddedFiles.*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23687 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 18:22:41 +00:00
Pavel Sanda
314b684501 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4194 .
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23686 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 16:17:25 +00:00
Enrico Forestieri
ba496b94ac Merge InsetMathBoldSymbol and InsetMathBM by providing \boldsymbol
through the bm package.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23684 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 14:33:16 +00:00
Stefan Schimanski
bde87d4ce7 * recover the status bar by only showing the layout list hints when the layout list is visible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23683 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 14:07:53 +00:00
Stefan Schimanski
2f67f8c2b3 * handle the multiple-selected-cells case also for color changes in mathed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23682 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 14:04:25 +00:00
Stefan Schimanski
5e2aeffc43 * half of the fix for http://bugzilla.lyx.org/show_bug.cgi?id=4091
"Applying Text-style to math generates \color{ignore}"

Which kind of font changes do we want to support here? After all the
text style dialog is meant for text. So it only really make sense for
\mbox'es. But there we probably cannot store every font change because
it still math up to now.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23681 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 13:20:40 +00:00
Richard Heck
72ca0c5b7b Fix Andre.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23680 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 03:51:35 +00:00
Bo Peng
1d900def57 Remove another 'Create directory' message
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23679 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 03:46:49 +00:00
Pavel Sanda
adaa376fd5 one more doxy move.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23678 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 01:38:58 +00:00
Pavel Sanda
aa7c0aee4b Doxy: reorganize structure.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23677 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 01:35:13 +00:00
Pavel Sanda
f93258707c Add doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23676 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 01:27:53 +00:00
Stefan Schimanski
e01f7e7105 * fix a serious data loss problem: undo did not save the whole
selection in mathed if more than one cell was selected.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23675 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 00:59:29 +00:00
Pavel Sanda
69474d4a2b * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23674 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 00:26:31 +00:00
Stefan Schimanski
40c4d50c82 * fix for http://bugzilla.lyx.org/show_bug.cgi?id=4566
"Eqnarray multiple cells size change erases what they contain"

  We now loop over the selected cells and change the font in each of them.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23673 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 00:19:31 +00:00
Stefan Schimanski
6767da2c65 * or does anybody have this in mind for 1.6?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23672 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 00:19:18 +00:00
Stefan Schimanski
10c974461d * typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23671 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 00:19:07 +00:00
Stefan Schimanski
b2e8d557cc * only use selection of current cell when starting a macro (fixes http://bugzilla.lyx.org/show_bug.cgi?id=4566 for macros)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23670 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-12 00:18:39 +00:00
Bo Peng
4461cc2fda fix a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23669 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-11 19:29:16 +00:00
Bo Peng
d3f33c2106 Embed: fix a bug in initialize embedded file in InsetInclude
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23668 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-11 19:21:34 +00:00
Bo Peng
48f9225e27 Embed: allow the use of embedded layout and class (.cls, .sty) files.
* src/EmbeddedFiles.h|cpp: add validate() function to validate loaded .lyx file.
	* src/LayoutFile.h|cpp: add Layout_Type parameter to addLayoutFile to load an embedded layout.
	* src/BufferParams.h|cpp: read layout from temp directory, then local directory.
	* src/frontends/qt4/GuiDocument.cpp: handle embedded layout type
	* src/LyXFunc.cpp: handle embedded layout when a layout is re-read.
	* src/Buffer.cpp: validate after a buffer is read. handle exceptions properly.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23667 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-11 18:31:38 +00:00
Bo Peng
be73bdd410 suppress unneeded output in minizip/zipunzip.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23666 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-11 18:24:32 +00:00
Stefan Schimanski
ed4919cd1a * fix for http://bugzilla.lyx.org/show_bug.cgi?id=518
"wrong numbering of multline environment inside LyX"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23665 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-11 17:54:05 +00:00
Stefan Schimanski
5354a5d592 * fix http://bugzilla.lyx.org/show_bug.cgi?id=4622
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23663 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-11 17:23:14 +00:00
Richard Heck
7a5576c13b Try again to fix bug 2178.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23662 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-11 15:16:58 +00:00
Abdelrazak Younes
94ff60ec7e Navigator: default to table of contents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23661 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-11 10:34:20 +00:00
Stefan Schimanski
c81e3a0203 * use base color for layout list background. Qt docs say:
QPalette::Base:	Used mostly as the background color for text
entry widgets, but can also be used for other painting - such as the
background of combobox drop down lists and toolbar handles. It is
usually white or another light color.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23660 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-11 10:29:14 +00:00
Abdelrazak Younes
04e46436ad * add "List of Graphics"
* don't append "(embedded)" to embedded list items.
* limit the number of entry to 30 items and offer to open the Navigator if above.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23659 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-11 10:27:33 +00:00
Abdelrazak Younes
f53467871f add "Embedded Files" to Navigator.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23658 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-11 09:04:09 +00:00
Abdelrazak Younes
b1742b5736 * InsetInclude::addToToc(): show embedded status if any in Navigator.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23657 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-11 08:37:30 +00:00
Abdelrazak Younes
4f1d3f2162 * add "Child Documents" navigate submenu.
* move secondary lists to "Other Lists" navigate submenu as the menu started to be crowded.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23656 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-11 08:25:13 +00:00
Bo Peng
99a5b638c3 refine browseRelFile in function addExtraEmbeddedFile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23655 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-11 02:26:20 +00:00
Stefan Schimanski
361d4d9a16 * simplified layout list a lot by subclassing QItemDelegate instead of
trying to simulate a menu with a QListView (that's what QComboBox does
on some platforms, but not on all).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23654 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 23:00:53 +00:00
André Pönitz
46c83df1cd less pointers...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23653 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 22:23:16 +00:00
Bo Peng
14eeac2e1c Allow selection of a local layout file from the document->settings dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23652 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 21:31:22 +00:00
Pavel Sanda
297f68bc52 uhrrm.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23651 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 20:27:50 +00:00
Pavel Sanda
6f67ac73fe * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23650 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 20:24:28 +00:00
Stefan Schimanski
9d2654311a * restart cursor not only after mouse- and keyboard events, but also after those from the toolbar, menus, etc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23648 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 19:08:03 +00:00
Stefan Schimanski
e627e6fb53 * remove style, left from debugging
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23646 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 18:44:28 +00:00
Stefan Schimanski
c6fff07103 * patch by Pavel to make the layout list look like it used to be in 1.5.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23644 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 17:11:14 +00:00
Stefan Schimanski
b1ac3c3e83 * also forward delete numbering in math hull
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23643 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 17:09:02 +00:00
Stefan Schimanski
ae89d2a6b4 * made compatible with Qt 4.2 again.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23642 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 16:20:33 +00:00
Stefan Schimanski
3be96448d5 * use small font for the header metrics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23640 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 15:43:47 +00:00
Stefan Schimanski
3e8e012355 * compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23639 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 15:42:35 +00:00
Stefan Schimanski
06a5803eab * reduce spacing in layout list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23638 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 15:41:30 +00:00
Abdelrazak Younes
2ab77c16f6 Introduce Inset::isLabeled() in order to avoid reimplementing Inset::initView() everywhere we need a labels update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23637 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 15:30:32 +00:00
Abdelrazak Younes
346839b59f fix http://bugzilla.lyx.org/show_bug.cgi?id=4608
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23636 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 15:01:57 +00:00
Stefan Schimanski
edf9667025 * center RTF text vertically correctly in layout list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23635 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 14:44:40 +00:00
Abdelrazak Younes
a723380e3a add missing ctor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23634 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 14:21:49 +00:00
Stefan Schimanski
0e20c40ad2 * typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23633 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 14:20:27 +00:00
Stefan Schimanski
5e6ffc2549 * split different macro cases
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23631 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 13:43:42 +00:00
Abdelrazak Younes
47076b9dbb Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=4621
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23630 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 13:42:16 +00:00
Abdelrazak Younes
ac5c584bc2 MSVC warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23629 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 13:38:37 +00:00
Stefan Schimanski
286e3a0070 * require at least xargs 1.09.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23628 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 13:26:20 +00:00
Stefan Schimanski
feb96b01aa * draw full line for empty categories
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23627 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 13:10:10 +00:00
Stefan Schimanski
473091fb82 * center the line in the layout category headers in the middle of the lowercase chars
* some messages for the statusbar
    * configuration option for grouping of the layouts
    * put category headers above the first item of each category in the
      layout list.
      To avoid scrolling we have to sneak in space for the headers.
      So we tweak this value accordingly. It's not nice, but the
      only possible way it seems.

    Note 1: Because QComboBox uses the "first row's height * rowCount" to
    estimate the height of the popup, we have to fake some extra pixel
    lines to avoid scrolling because of the extra space taken by the
    headers. This is a hack, but I don't see a better way to establish that.

    Note 2: An alternative implementation is to insert headers as real list
    items. But it seems that QListView cannot skip them in cursor
    navigation then. So we stick to the upper approach.

    * remove checkbox in layout menu


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23626 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 13:02:57 +00:00
Stefan Schimanski
29dca708f7 * comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23625 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 12:57:45 +00:00
Stefan Schimanski
c17df2980b * cosmetic and comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23624 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 12:54:00 +00:00
Stefan Schimanski
97a1fcc721 * \newcommandx parsing for tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23623 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 12:52:37 +00:00
Stefan Schimanski
ed1bd828f0 * remove newlyxcommand
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23622 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 12:51:50 +00:00
Stefan Schimanski
21eddc8fe2 * math macro definition context menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23621 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 12:51:14 +00:00
Stefan Schimanski
5d48c7ef6a * \newcommandx support for the math parser
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23619 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 12:50:10 +00:00
Stefan Schimanski
ec1f626284 * small fixes of the temporary change display of macro templates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23618 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 12:49:50 +00:00
Stefan Schimanski
95f621f000 * comments for macro tables in Buffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23617 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 12:49:18 +00:00
Stefan Schimanski
76dc2c0d30 * make macros global. This is conceptionally much easier for the user,
and moreover simplifies the code a lot.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23616 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 12:49:02 +00:00
Stefan Schimanski
c8c5fc65d0 * xargs export support. No parser support yet.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23615 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 12:48:46 +00:00
Jürgen Spitzmüller
d589af0c1a restore Lars.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23612 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-10 06:40:55 +00:00
Stefan Schimanski
9a9e94bca2 * fix for http://bugzilla.lyx.org/show_bug.cgi?id=2556
"not possible to delete a label of a formula":

  Press forward delete at the end of a row and the label is deleted.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23610 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 23:43:05 +00:00
Pavel Sanda
635b2c1cc3 Start some context-edit menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23609 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 23:30:02 +00:00
Uwe Stöhr
8151dd5852 InsetMathNest.cpp: Ctrl-b uses now \boldsymbol (fixes http://bugzilla.lyx.org/show_bug.cgi?id=499)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23608 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 23:23:50 +00:00
Pavel Sanda
ada0cddd58 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23607 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 23:08:57 +00:00
Bo Peng
932998494b Embedding: add option \extra_embedded_files to buffer params. This increase
LyX file format to 318. The Embedded files panel of document settings has
been simplied, with working add and remove buttons. Note that bease BufferParams
lacks buffer path information, extraEmbeddedFiles are vector<string>, instead
of EmbeddedFileList (as previously planned).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23606 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 23:04:14 +00:00
Pavel Sanda
63e712c8a4 LFUN_TOGGLE_CURSOR_FOLLOWS_SCROLLBAR -> LFUN_CURSOR_FOLLOWS_SCROLLBAR_TOGGLE.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23605 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 21:23:37 +00:00
Abdelrazak Younes
4c5f5c6633 Small Menu code reorg:
Menu -> MenuDefinition
GuiPopupMenu -> Menu (definition now in header because of moc).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23604 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 20:38:03 +00:00
Jürgen Spitzmüller
3f7d2a66f5 * src/insets/InsetNote.h:
- implement missing noFontChange.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23601 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 17:43:16 +00:00
Pavel Sanda
30fdb68ea1 * Doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23598 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 16:39:34 +00:00
Uwe Stöhr
43d576447d GuiDocument.cpp: fix linebreak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23596 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 16:29:01 +00:00
Jürgen Spitzmüller
74f5f2a27d fix encoding.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23595 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 16:16:39 +00:00
Edwin Leuven
7a14dd740b compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23592 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 15:14:59 +00:00
Pavel Sanda
5e79b2ca4f Add math context menu.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23591 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 15:07:27 +00:00
Stefan Schimanski
7a924b3771 * mac menus do not handle showEvent, only the aboutToShow signal.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23588 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 14:20:16 +00:00
Abdelrazak Younes
0ac93cb524 Add dummy context menu when there is non defined.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23581 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 11:39:00 +00:00
Abdelrazak Younes
51a5db7110 General support for InsetCommand context menu. For this to work properly I had to disable all actions triggered by mouse right-clicking. This was bad ui in any case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23579 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 11:22:39 +00:00
Bo Peng
6dc7cbe1e7 Continue working on the embedding feature. An additional parameter updateFile is passed to
EmbeddedFile::enable() and EmbeddedFiles::enable() to differentiate different usages.
A member variable bibfiles_ is added to InsetBibtex because it is not efficient to obtain
EmbeddedFileList each time from params()['bibfiles'] and params()['embed'].


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23576 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-09 06:05:22 +00:00
Stefan Schimanski
db0637f026 * compile fix for mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23575 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 23:45:25 +00:00
Abdelrazak Younes
22aa0137d3 Transfer general edit context menu from BufferView to InsetText.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23574 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 22:57:22 +00:00
Edwin Leuven
a4eba52f9b ...and clean up headers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23573 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 21:55:03 +00:00
Edwin Leuven
ad19114709 fix view file when path is not shown
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23572 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 20:18:22 +00:00
Abdelrazak Younes
c57ca0a9f4 restore comment about boost::shared_ptr and dtor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23571 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 17:37:10 +00:00
Abdelrazak Younes
9991539819 * MenuItem::submenu_: it seems that boost::shared_ptr() was necessary for std::vector purpose
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23570 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-08 17:34:54 +00:00