Commit Graph

1307 Commits

Author SHA1 Message Date
André Pönitz
0e9bd2e87d STRCONV() all over the place
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6956 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 16:24:49 +00:00
André Pönitz
dbef37d522 non-templated tostr in separate files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6955 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 14:36:24 +00:00
André Pönitz
d31244b5e2 The 'bformat' introduction
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6953 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-13 09:48:57 +00:00
André Pönitz
69cb723040 LColor::Pimpl
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6952 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-09 09:43:39 +00:00
John Levon
f88898ed9a don't rm emergency saves ever
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6951 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-08 23:19:45 +00:00
Lars Gullik Bjønnes
e5ed2c26f5 better lib building
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6950 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-08 18:05:07 +00:00
Lars Gullik Bjønnes
468560431f Remove Paragraph dependency from texrow, use a id instead.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6949 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-07 21:27:29 +00:00
Lars Gullik Bjønnes
ac1faa8439 allow boost as system shared libarry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6948 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-07 16:22:01 +00:00
Lars Gullik Bjønnes
bb4f477fe3 parlist cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6945 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-07 09:26:33 +00:00
Lars Gullik Bjønnes
525259940d Some cleanup, and prepare for new feature.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6937 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-06 09:34:56 +00:00
John Levon
ebdfad1c62 fix bad InsetWrap cast
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6936 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-06 06:16:59 +00:00
André Pönitz
1badafaa40 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
few naked Paragraph *.
* undo_funcs use getParagraphs() instead of getFirstParagraph()


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6935 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-05 17:28:21 +00:00
André Pönitz
aee7213a76 replace getFirstParagraph() by getParagraphs()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6934 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-05 15:39:48 +00:00
John Levon
fc7c77587f bug 809 from Michael, and some small changes to it
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6932 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-03 19:24:36 +00:00
John Levon
c7b495326e cursor.diff, bug 1095
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6930 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-03 18:05:53 +00:00
André Pönitz
dd7805dad9 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6929 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 15:22:21 +00:00
André Pönitz
4b8025d992 * undo_funcs.C:
* undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
    linked lists


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6923 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 13:11:39 +00:00
André Pönitz
507be88a4f one more Paragraph * -> ParagraphList::iterator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6922 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 10:38:18 +00:00
André Pönitz
acae34cdc8 small Paragraph* -> ParagraphList::iterator
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6921 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-02 10:06:07 +00:00
Lars Gullik Bjønnes
cd50f3ae85 almost only ws changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6916 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 23:24:30 +00:00
Lars Gullik Bjønnes
96885e74d7 robustify splice a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6915 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 23:05:01 +00:00
Lars Gullik Bjønnes
7a012d8134 2003-05-02 Lars Gullik Bj�nnes <larsbj@gullik.net>
* ParagraphList.C (splice): new function.
* CutAndPaste.C (pasteSelection): use it


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6914 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 22:37:02 +00:00
Lars Gullik Bjønnes
a8980107a7 2003-05-01 Lars Gullik Bj�nnes <larsbj@gullik.net>
* CutAndPaste.C (pasteSelection): remove the last next and
previous from this file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6912 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 15:43:58 +00:00
Lars Gullik Bjønnes
2668764493 2003-05-01 Lars Gullik Bj�nnes <larsbj@gullik.net>
* CutAndPaste.C (pasteSelection): more clean up, user proper
ParagraphList functions for pasteing.

* ParagraphList.C (insert): new function, three arg insert


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6911 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 14:45:04 +00:00
Lars Gullik Bjønnes
e81ff24dcc 2003-05-01 Lars Gullik Bj�nnes <larsbj@gullik.net>
* CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
not on paragraphs.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6910 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 13:22:07 +00:00
Lars Gullik Bjønnes
f6493c22aa 2003-05-01 Lars Gullik Bj�nnes <larsbj@gullik.net>
* CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6909 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 13:12:43 +00:00
Lars Gullik Bjønnes
107c91ace9 2003-05-01 Lars Gullik Bj�nnes <larsbj@gullik.net>
* CutAndPaste.C (pasteSelection): remove some unneeded code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6908 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 13:04:16 +00:00
Lars Gullik Bjønnes
717121eba6 2003-05-01 Lars Gullik Bj�nnes <larsbj@gullik.net>
* CutAndPaste.C (resetOwnerAndChanges): new helper functor
(copySelection): clean up a bit.
(pasteSelection): use make_pair


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6907 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 12:53:22 +00:00
Lars Gullik Bjønnes
5c44cab01c add more functions to ParagraphList
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6906 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 12:31:35 +00:00
Lars Gullik Bjønnes
f5e07fb302 2003-05-01 Lars Gullik Bj�nnes <larsbj@gullik.net>
* paragraph.C (erase): return a bool

* paragraph_pimpl.C (erasePos): remove function, move contents...
(erase): ... here. Return a bool.
(erase): call erase instead of erasePos.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6905 a592a061-630c-0410-9148-cb99ea01b6c8
2003-05-01 09:15:15 +00:00
André Pönitz
e48e2aa2cf Alfredo's second patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6896 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-30 10:32:01 +00:00
André Pönitz
605912d575 fix Undo as suggested by Alfredo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6895 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-30 07:04:33 +00:00
John Levon
7b255e3760 s/tabular/table in lcolor
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6892 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-30 02:04:00 +00:00
Lars Gullik Bjønnes
b7ba81d387 003-04-30 Lars Gullik Bj�nnes <larsbj@gullik.net>
* text3.C (dispatch): do not convert iterator -> pointer
        * undo_funcs.C (setCursorParUndo): ditto
        * text_funcs.C (transposeChars): ditto

        * text2.C (setLayout): ws changes only

        * text.C (breakParagraph): do not convert iterator -> pointer
        (insertChar): ditto
        (acceptChange): ditto
        (rejectChange): ditto
        (changeCase): ditto
        (Delete): ditto
        (backspace): ditto

        * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
        pointer


2003-04-30  Lars Gullik Bj�nnes  <larsbj@gullik.net>

        * insettext.C (setFont): do not convert iterator -> pointer

        * insettabular.C (localDispatch): do not convert iterator -> pointer
        (setFont): ditto
        (tabularFeatures): ditto


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6889 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 23:59:39 +00:00
John Levon
8406bbecb7 YABG from Alfredo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6887 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 19:56:04 +00:00
André Pönitz
653eaace76 * paragraph.h: make operator= private unimplemented as long as it is
unusable

  * ParagraphList.C: whitespace

  * paragraph.[Ch]:
    paragraph_pimpl.[Ch]:
    paragraph_funcs.C:
    CutAndPaste.C:
    undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &

  * text2.C:
    undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6881 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 14:05:54 +00:00
André Pönitz
ee9e6fc377 more Paragraph * -> Paragraph & changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6879 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 10:56:15 +00:00
André Pönitz
263b9fc043 *** empty log message ***
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6878 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 10:39:08 +00:00
André Pönitz
76d84c61fd Alfredo's CutAndPaste fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6877 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 09:40:49 +00:00
André Pönitz
4d1bbfdd26 whitespace + Inset::haveParagraphs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6876 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-29 08:46:17 +00:00
John Levon
76cf529711 discard changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6875 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-28 22:52:05 +00:00
Lars Gullik Bjønnes
36e376b011 fix a small message bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6874 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-28 21:58:53 +00:00
André Pönitz
d19f82e515 more of Lars' parlist changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6873 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-28 18:20:31 +00:00
André Pönitz
e83de85ff7 part of Lars' parlist-14-a.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6872 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-28 16:22:32 +00:00
Lars Gullik Bjønnes
a52a7b5895 remove one more unneeded variable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6866 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-28 02:13:47 +00:00
Lars Gullik Bjønnes
e2b65dec0c more messages work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6864 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-27 22:11:45 +00:00
John Levon
d6546c2bf4 Fix up Alert::prompt for cancel button stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6863 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-27 16:40:50 +00:00
John Levon
eab8eaec5c inset-settings LFUN and a bugfix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6862 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-26 19:01:33 +00:00
John Levon
01bd3eacb0 couple of close fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6858 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-26 15:24:56 +00:00
John Levon
bdcc9b9a8f remove the broken asserts in gettext.C for now
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6855 a592a061-630c-0410-9148-cb99ea01b6c8
2003-04-25 15:23:36 +00:00