1 2003-03-31 Angus Leeming <leeming@lyx.org>
3 * text.C (fill): ensure that the signature is the same as that in the
6 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
8 * text2.C (redoParagraphs): adjust
9 (updateCounters): adjust
10 (checkParagraph): adjust
11 (getColumnNearX): adjust and reformat a bit.
13 * text.C (top_y): adjust
16 (prepareToPrint): adjust
20 * lyxtext.h: make rowlist_ mutable.
22 * RowList.h: add const_iterator
23 * RowList.C: adjust for RowList::const_iterator.
25 * text2.C (getCursorX): make it take a RowList::iterator as arg,
28 2003-03-31 John Levon <levon@movementarian.org>
31 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
33 * lyx_main.C: set default fonts from using lyx_gui funcs
35 * exporter.C: pdf_mode moved from lyxrc
38 * lyxfunc.C: changes from above
40 2003-03-31 John Levon <levon@movementarian.org>
42 * lyx_main.C: fix to the last fix
44 2003-03-31 John Levon <levon@movementarian.org>
46 * bufferlist.C: "Load original" -> "Load Original"
52 * format.C: more Alert cleanups
54 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
56 * text2.C (removeParagraph): make it take a RowList::iterator as
58 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
59 (postRowPaint): make it take a RowList::iterator as arg, adjust.
61 * text.C (anchor_row): make it take a RowList::iterator as arg,
63 (computeBidiTables): make it take a const reference to Row instead
64 of Row pointer, adjust.
65 (leftMargin): make it take a RowList::iterator as arg, adjust.
66 (rowBreakPoint): adjust
67 (breakAgainOneRow): make it take a RowList::iterator as arg,
69 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
71 * bufferview_funcs.C (toggleAndShow): adjust
73 2003-03-30 John Levon <levon@movementarian.org>
77 * boost-inst.C: moved to support
79 * several files: changes as a result
81 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
83 * text2.C (LyXText): adjust.
85 (removeRow): make it take a RowList::iterator as arg, adjust.
87 (deleteEmptyParagraphMechanism): adjust
91 * text.C (top_y): adjust
92 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
93 (breakAgain): make it take a RowList::iterator as arg, adjust.
94 (breakParagraph): adjust
98 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
99 need_break_row, and refresh_row.
101 * text3.C (dispatch): adjust
103 * text2.C (checkParagraph): adjust
105 (setCursorFromCoordinates): adjust
107 * text.C (top_y): adjust
109 (getRow): make it return a RowList::iterator, adjust
110 (getRowNearY): make it return a RowList::iterator, adjust
112 * text2.C (init): adjust
113 (insertRow): remove function
114 (insertParagraph): adjust
115 (redoParagraphs): adjust
116 (fullRebreak): adjust
117 (updateCounters): adjust
119 * text.C (top_y): rewrite to use RowList iterators.
121 (setHeightOfRow): rewrite to sue RowList iterators.
122 (appendParagraph): adjust
124 (breakAgainOneRow): adjust
125 (breakParagraph): adjust
127 (getRowNearY): adjust, and remove commented code.
129 * lyxtext.h (firstRow): delete function
130 (lastRow): delete function
131 (rows): new function (const and non-const versions.)
132 (insertRow): delete function
134 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
136 2003-03-29 John Levon <levon@movementarian.org>
138 * BufferView_pimpl.C: always update scrollbar top
139 because pasting text when we're anchored could mean we
140 miss an update altogether
142 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
144 * text2.C (init): use rowlist_.end() and not 0.
145 (insertRow): change to take a RowList::iterator as arg, adjust
147 (insertParagraph): change to take a RowList::iterator as arg,
149 (redoParagraphs): remove some debug msgs.
151 * text.C (appendParagraph): change to take a RowList::iterator
152 arg, adjust for this.
153 (breakAgain): add an assert
154 (breakAgainOneRow): ditto
156 2003-03-29 John Levon <levon@movementarian.org>
158 * text2.C: do not clear selection after inc/decDepth
161 2003-03-29 John Levon <levon@movementarian.org>
164 * buffer.C: fix broken strerrors according to Lars
166 2003-03-29 John Levon <levon@movementarian.org>
168 * converters.C: more Alert cleanups
170 2003-03-29 John Levon <levon@movementarian.org>
172 * bufferview_funcs.C: remove pointless Alert
174 * buffer.C: fix confusing error message when
175 a template is chmoded 000
177 2003-03-29 John Levon <levon@movementarian.org>
181 * BufferView_pimpl.C: Alert fixes
185 * tabular-old.C: remove unused table compat reading
187 2003-03-29 John Levon <levon@movementarian.org>
192 * lyx_cb.C: more Alert cleanups
194 * lyxfunc.C: don't allow chktex if not latex document
196 2003-03-29 John Levon <levon@movementarian.org>
200 * buffer.C: warnings pushed down from support/,
203 2003-03-29 John Levon <levon@movementarian.org>
205 * lyxfunc.C: safety check for C-r (revert)
207 2003-03-29 John Levon <levon@movementarian.org>
210 * bufferlist.C: several UI fixes using Alert::prompt.
211 Fix the pointless looping quit code. Fix stupid revert
216 * lyx_cb.C: use Alert::prompt
218 * lyx_main.C: remove a silly question
220 * lyxfunc.C: remove a couple of silly questions,
223 2003-03-28 John Levon <levon@movementarian.org>
225 * text2.C: fix bug 974 (End on empty par)
227 2003-03-28 John Levon <levon@movementarian.org>
229 * BufferView_pimpl.C:
231 * lfuns.h: remove do-nothing math greek lfuns
233 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
235 * lyxgluelength.h (isValidGlueLength): add default arg on
236 parameter 2. Remove default arg from friend in class.
238 * lyxlength.h (isValidLength): add default arg on parameter 2.
239 Remove default arg from friend in class.
241 * text2.C (LyXText): adjust, initialize refresh_row.
245 (insertParagraph): adjst
246 (redoParagraphs): adjust
247 (fullRebreak): adjust
248 (updateCounters): adjust
249 (deleteEmptyParagraphMechanism): first attempt at fixing a
252 * text.C (top_y): adjust
253 (setHeightOfRow): adjust
255 (getRowNearY): adjust
257 * lyxtext.h: include RowList.h
258 (~LyXText): not needed anymore, deleted.
259 (firstRow): modify for RowList
260 (lastRow): new function
261 Delete firstrow and lastrow class variables, add a Rowlist
262 rowlist_ class variable.
264 * lyxrow.C (lastPos): use empty() and not !size() to check if a
267 * RowList.C (insert): fix case where it == begin().
269 2003-03-26 Angus Leeming <leeming@lyx.org>
271 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
272 the thesaurus dialog.
274 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
276 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
278 * RowList.[Ch]: new files
280 * ParagraphList.C (erase): handle the case where it == begin
283 2003-03-25 John Levon <levon@movementarian.org>
287 * aspell.C: add new aspell support
290 * lyxrc.C: Make use_pspell be use_spell_lib. Always
293 2003-03-25 Angus Leeming <leeming@lyx.org>
296 * LyXAction.C (init): new LFUN_INSET_INSERT.
298 * BufferView_pimpl.C (dispatch): split out part of the
299 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
301 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
304 2003-03-25 Angus Leeming <leeming@lyx.org>
306 * lyxfunc.C (dispatch): changes to the Dialogs interface.
308 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
311 * text3.C: remove useless row->height(0)
313 2003-03-25 John Levon <levon@movementarian.org>
317 * text3.C: rename the refreshing stuff to better names
319 2003-03-24 John Levon <levon@movementarian.org>
321 * BufferView_pimpl.h:
322 * BufferView_pimpl.C: update layout choice on a mouse
325 2003-03-23 John Levon <levon@movementarian.org>
327 * Makefile.am: fix commandtags.h reference
329 2003-03-22 John Levon <levon@movementarian.org>
331 * BufferView_pimpl.C:
336 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
338 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
341 * text.C: take the rtl methods out of line
343 2003-03-21 André Pönitz <poenitz@gmx.net>
345 * metricsinfo.[Ch]: new files containing structures to be passed around
346 during the two-phase-drawing...
348 2003-03-21 André Pönitz <poenitz@gmx.net>
350 * lyxtextclass.C: read 'environment' tag.
352 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
354 * text2.C (removeRow): fix bug 964
356 2003-03-20 John Levon <levon@movementarian.org>
360 * text2.C: paint cleanups. Inset::update() dropped font
363 2003-03-19 John Levon <levon@movementarian.org>
365 * lyxfunc.C: only fitcursor/markDirty if available()
367 2003-03-19 John Levon <levon@movementarian.org>
369 * commandtags.h: rename to ...
371 * lfuns.h: ... this, and renumber / cleanup
373 2003-03-19 John Levon <levon@movementarian.org>
375 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
376 fit the cursor after an lfun
380 * BufferView_pimpl.h:
381 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
383 * LyXAction.C: layout-character should have ReadOnly
385 * ParagraphParameters.C:
387 * bufferview_funcs.C:
394 * undo_funcs.C: changes from above
396 2003-03-18 John Levon <levon@movementarian.org>
398 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
399 remove it from update()
401 * lyxfunc.C: update layout choice after an lfun
403 * text3.C: remove extra updateLayoutChoice()s
405 2003-03-18 John Levon <levon@movementarian.org>
407 * text.C: top_y change means full repaint, fix
408 a drawing bug with cursor movement
410 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
414 * text2.C: anchor row on setCursor
416 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
418 * lyxtext.h: remove almost all mutable keywords
421 * text3.C: remove const keywords accordingly
423 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
425 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
427 (TeXEnvironment): ditto
430 2003-03-17 John Levon <levon@movementarian.org>
432 * text.C (rowBreakPoint): remove attempt to fix displayed
433 math insets inside a manual label
435 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
437 * lyxtext.h: remove BufferView* as first arg from almost all class
439 * other files: adjust.
441 2003-03-17 John Levon <levon@movementarian.org>
445 * text2.C: more paint cleanups
447 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
450 * rowpainter.C: remove "smart" background painting code
452 2003-03-16 John Levon <levon@movementarian.org>
457 * text3.C: add helper functions for setting refresh_row/y
459 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
461 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
462 newline inset which *can* get inserted in the pass_thru layouts.
463 This is primarily for literate documents.
465 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
467 * buffer.C: increment LYX_FORMAT to 223
469 2003-03-14 André Pönitz <poenitz@gmx.net>
471 * textclass.h: prepare for environment handling, ws changes
472 * lyxlayout.C: read latexheader and latexfooter tags
474 2003-03-14 John Levon <levon@movementarian.org>
476 * text2.C: rewrite ::status() a bit
478 2003-03-13 John Levon <levon@movementarian.org>
480 * lyxtext.h: add some docs
482 2003-03-13 John Levon <levon@movementarian.org>
487 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
489 2003-03-13 John Levon <levon@movementarian.org>
491 * text3.C: fix appendix redrawing
493 2003-03-13 John Levon <levon@movementarian.org>
495 * text.C (setHeightOfRow):
497 * rowpainter.C: make appendix mark have the text
498 "Appendix" so the user knows what it is
501 * LColor.C: s/appendixline/appendix/ from above
503 2003-03-13 John Levon <levon@movementarian.org>
505 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
507 * text.C: fix a getChar(pos) bug properly
509 2003-03-13 Angus Leeming <leeming@lyx.org>
512 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
513 Probably only temporary. Let's see how things pan out.
515 * BufferView.C (unlockInset):
516 * BufferView_pimpl.C (fitCursor):
517 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
519 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
520 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
522 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
523 new functions that convert ParagraphParameters to and from a string.
525 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
526 BufferView::Pimpl's dispatch.
527 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
529 2003-03-13 André Pönitz <poenitz@gmx.net>
533 * factory.C: make it aware of InsetEnv
535 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
537 * text2.C (setCursor): never ask for one past last
538 (setCursor): add some debugging messages.
540 * text.C (singleWidth): never ask for one past last
544 (rowBreakPoint): ditto
545 (setHeightOfRow): ditto
546 (prepareToPrint): ditto
548 * rowpainter.C (paintBackground): never ask for one past last
549 (paintText): never ask for one past last
551 * paragraph_pimpl.C (getChar): make the assert stricter, never
552 allow the one past last pos to be taken
554 * paragraph.C (getChar): ws changes only
556 * lyxrow.C (nextRowIsAllInset): never ask for one past last
557 (numberOfSeparators): ditto
558 (numberOfHfills): ditto
560 2003-03-12 John Levon <levon@movementarian.org>
566 * paragraph_funcs.C: fix per-buffer authorlists
568 2003-03-12 John Levon <levon@movementarian.org>
570 * text.C: fix newline in right address
572 2003-03-12 Angus Leeming <leeming@lyx.org>
574 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
575 duplicate those in LyXFunc::dispatch.
580 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
581 Add LFUN_FONTFREE_UPDATE.
583 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
584 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
586 * bufferview_func.[Ch]: several new functions to facilliate
587 transfer of data to and from the character dialog.
589 2003-03-12 John Levon <levon@movementarian.org>
599 * text3.C: remove META_NEWLINE in favour of an inset
602 * rowpainter.C: remove paintNewline (done by inset)
604 2003-03-12 John Levon <levon@movementarian.org>
606 * paragraph_pimpl.C: complain about bad getChar()s
609 2003-03-12 John Levon <levon@movementarian.org>
612 * buffer.C: move paragraph read into a separate function,
613 a little renaming to reflect that.
616 * bufferparams.C: remove the author_ids map, not necessary now
619 * factory.C: moved Buffer::readInset to here
622 * paragraph_funcs.C: readParagraph free function moved from
625 * tabular.C: name change
627 2003-03-12 John Levon <levon@movementarian.org>
630 * ParagraphParameters.C: move par params input to
633 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
634 behave like a normal read from the stream wrt reading
637 2003-03-12 John Levon <levon@movementarian.org>
640 * ParagraphParameters.h:
641 * ParagraphParameters.C: move output code to a
644 2003-03-12 John Levon <levon@movementarian.org>
646 * BufferView.C (insertLyXFile):
649 * tabular.C: use a parlist iterator for creating the
652 2003-03-12 John Levon <levon@movementarian.org>
654 * buffer.C: make current_change static local not
657 2003-03-12 John Levon <levon@movementarian.org>
659 * buffer.C: fix insertStringAsLines for change tracking
661 2003-03-12 John Levon <levon@movementarian.org>
668 * bufferparams.C: move author list into params. Rename some
669 functions. Move the header reading into a separate token
670 loop. Move the header token reading into BufferParams.
672 2003-03-12 John Levon <levon@movementarian.org>
674 * changes.C: put debug inside lyxerr.debugging() checks
676 2003-03-11 André Pönitz <poenitz@gmx.net>
678 * factory.C: make it aware of InsetHFill
680 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
682 * buffer.C (latexParagraphs): move function from here...
683 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
686 2003-03-10 Angus Leeming <leeming@lyx.org>
688 * LyXAction.C (init): fix bug in poplating array with multiple entries
689 with the same LFUN (spotted by JMarc).
691 2003-03-10 John Levon <levon@movementarian.org>
694 * text2.C: move getColumnNearX() near its
697 2003-03-10 John Levon <levon@movementarian.org>
699 * text.C: fix break before a minipage
701 2003-03-10 John Levon <levon@movementarian.org>
703 * text.C: fix the last commit
705 2003-03-09 John Levon <levon@movementarian.org>
709 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
710 bug 365 (don't break before insets unless needed). Don't
711 return a value > last under any circumstances.
713 2003-03-09 Angus Leeming <leeming@lyx.org>
715 * BufferView_pimpl.C (trackChanges, dispatch): call
716 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
718 2003-03-09 Angus Leeming <leeming@lyx.org>
720 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
721 than Dialogs::showAboutlyx().
723 2003-03-09 Angus Leeming <leeming@lyx.org>
725 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
726 than Dialogs::showTabularCreate().
728 2003-03-09 John Levon <levon@movementarian.org>
732 * text2.C: 3rd arg to nextBreakPoint was always the same.
735 2003-03-08 John Levon <levon@movementarian.org>
742 * text2.C: Remove the "main" bit from the "main body"
745 2003-03-08 John Levon <levon@movementarian.org>
747 * text.C (leftMargin): The left margin of an empty
748 manual label paragraph should not include the label width
751 * text.C (prepareToPrint): don't attempt to measure hfills
752 for empty manual label paragraphs - the answer should be 0
754 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
756 * CutAndPaste.C: remove commented code and reindent.
758 2003-03-08 John Levon <levon@movementarian.org>
761 * lyxfunc.C: move reloadBuffer()
764 * BufferView.C: to here
766 * lyxvc.C: add comment
769 * vc-backend.C: call bv->reload() to avoid
770 getStatus() check on MENURELOAD
772 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
774 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
775 to an old format .dep file.
777 2003-03-07 Angus Leeming <leeming@lyx.org>
779 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
780 when the LFUN_MOUSE_RELEASE should have been handled by
781 inset->localDispatch.
783 2003-03-07 Angus Leeming <leeming@lyx.org>
785 * BufferView_pimpl.C (dispatch):
786 * LyXAction.C (init):
787 * ToolbarDefaults.C (init):
789 * lyxfunc.C (getStatus):
790 remove LFUN_INSET_GRAPHICS.
792 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
794 2003-03-07 Angus Leeming <leeming@lyx.org>
797 * LyXAction.C (init):
798 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
800 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
803 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
805 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
806 localDispatch method LFUN_INSET_DIALOG_UPDATE.
808 2003-03-07 Angus Leeming <leeming@lyx.org>
810 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
813 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
815 * ParagraphList.C (front): new function
818 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
820 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
821 and top_row_offset_. removed var first_y.
823 * text2.C (LyXText, removeRow):
825 * BufferView_pimpl.C:
826 use these methods instead of using first_y
828 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
830 * text2.C (pasteSelection): adjust for checkPastePossible
832 * CutAndPaste.C: remove Paragraph * buf and replace with
833 ParagraphList paragraphs.
834 (DeleteBuffer): delete
835 (cutSelection): change the tc type to textclass_type
836 (copySelection): change the tc type to textclass_type
837 (copySelection): adjust for ParagraphList
838 (pasteSelection): change the tc type to textclass_type
839 (pasteSelection): adjust for Paragraphlist
840 (nrOfParagraphs): simplify for ParagraphList
841 (checkPastePossible): simplify for ParagraphList
842 (checkPastePossible): remove unused arg
844 * ParagraphList.C (insert): handle the case where there are no
847 * CutAndPaste.h: make CutAndPaste a namespace.
849 * text3.C (dispatch): adjust
851 * text.C (breakParagraph): add a ParagraphList as arg
853 * paragraph_funcs.C (breakParagraph): change to take a
854 BufferParams and a ParagraphList as args.
855 (breakParagraphConservative): ditto
856 (mergeParagraph): ditto
857 (TeXDeeper): add a ParagraphList arg
858 (TeXEnvironment): ditto
861 * buffer.C (readLyXformat2): adjust
862 (insertStringAsLines): adjust
863 (latexParagraphs): adjust
865 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
866 (cutSelection): adjust
867 (pasteSelection): adjust
869 * BufferView_pimpl.C (insertInset): adjust
871 2003-03-05 Angus Leeming <leeming@lyx.org>
874 * LyXAction.C (init):
875 * BufferView_pimpl.C (dispatch):
876 * lyxfunc.C (getStatus):
877 remove LFUN_CHILD_INSERT.
879 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
881 2003-03-05 Angus Leeming <leeming@lyx.org>
884 * LyXAction.C (init):
885 * src/factory.C (createInset):
886 * lyxfunc.C (getStatus):
887 * text3.C (dispatch):
888 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
890 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
892 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
894 * ParagraphList.C (insert): handle insert right before end()
895 (erase): fix cases where it can be first or last paragraph.
897 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
899 * paragraph_funcs.C (TeXEnvironment): remove all usage of
900 Paragraph::next and Paragraph::previous
903 * text.C (breakParagraph): adjust
905 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
906 BufferParams& as arg.
907 (breakParagraph): use ParagraphList::insert
908 (breakParagraphConservative): take a Buffer* instead of a
909 BufferParams& as arg.
910 (breakParagraphConservative): use ParagraphList::insert.
912 * buffer.C (insertStringAsLines): un-const it
913 (insertStringAsLines): adjust
915 * ParagraphList.C (insert): new function
917 * CutAndPaste.C (pasteSelection): adjust
919 * text.C (backspace): adjust
921 * tabular.C (SetMultiColumn): adjust
923 * CutAndPaste.C (cutSelection): adjust
924 (pasteSelection): adjust
926 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
927 Buffer const * as arg
929 * ParagraphList.C (erase): new function
930 * paragraph_funcs.C (mergeParagraph): use it
931 (mergeParagraph): make it take a Buffer* instead of a
934 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
936 (breakParagraphConservative): ditto
938 * paragraph.h: remove the breakParagraph friend
940 * paragraph.C (eraseIntern): new function
941 (setChange): new function
943 * paragraph_funcs.C (mergeParagraph): make it take a
944 ParagraphList::iterator instead of a Paragraph *, adjust
947 * paragraph.h: move an #endif so that the change tracking stuff
948 also works in the NO_NEXT case.
950 2003-03-04 Angus Leeming <leeming@lyx.org>
953 * LyXAction.C: new LFUN_INSET_MODIFY.
955 * BufferView_pimpl.C (dispatch): if an inset is found to be open
956 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
958 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
960 * several files: ws changes only
962 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
963 (TeXEnvironment): ditto
966 * buffer.C (makeLaTeXFile): adjust
967 (latexParagraphs): make it take ParagraphList::iterator as args
969 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
971 * buffer.C (latexParagraphs): adjust
973 * paragraph.C (TeXOnePar): move function...
974 (optArgInset): move function...
975 (TeXEnvironment): move function...
976 * paragraph_pimpl.C (TeXDeeper): move function...
977 * paragraph_funcs.C: ...here
979 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
981 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
983 * buffer.C (readInset): remove compability code for old Figure and
986 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
988 * buffer.C: ws changes
991 * BufferView_pimpl.C: ditto
994 * bufferlist.h: ditto
998 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1000 * converter.[Ch]: split into itself +
1003 * Makefile.am: += graph.[Ch] + format.[Ch]
1010 * lyxrc.C: added #include "format.h"
1012 2003-02-27 Angus Leeming <leeming@lyx.org>
1014 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
1017 * factory.C (createInset): add "label" to the factory.
1019 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
1020 string and do no more.
1022 2003-02-27 Angus Leeming <leeming@lyx.org>
1025 * LyXAction.C (init):
1026 * factory.C (createInset):
1027 * BufferView_pimpl.C (dispatch):
1028 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1030 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
1032 * lyxfunc.C (dispatch):
1033 * text3.C (dispatch): pass name to params2string.
1035 2003-02-26 Angus Leeming <leeming@lyx.org>
1037 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
1039 Rearrange the ~includes. Strip out the unnecessary ones.
1041 * factory.C (createInset): reformat.
1042 create new insets for the various LFUN_XYZ_APPLY lfuns.
1044 2003-02-26 John Levon <levon@movementarian.org>
1047 * lyxrow.C: add isParStart,isParEnd helpers
1049 * paragraph.h: make isInserted/DeletedText take refs
1051 * paragraph_funcs.h:
1052 * paragraph_funcs.C: remove #if 0'd code
1057 * text.C: use lyxrow helpers above.
1058 Move draw and paint routines to RowPainter.
1059 Make several methods use refs not pointers.
1060 Make backgroundColor() const.
1061 Add markChangeInDraw(), isInInset().
1062 Merge changeRegionCase into changeCase.
1063 Make workWidth() shouldn't-happen code into an Assert.
1066 * rowpainter.C: new class for painting a row.
1069 * vspace.C: make inPixels take a ref
1071 2003-02-26 Angus Leeming <leeming@lyx.org>
1073 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
1076 2003-02-25 John Levon <levon@movementarian.org>
1078 * ispell.C: give the forked command a more accurate name
1080 2003-02-22 John Levon <levon@movementarian.org>
1083 * toc.C: make TocItem store an id not a Paragraph *
1086 2003-02-21 Angus Leeming <leeming@lyx.org>
1088 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
1089 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
1090 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
1091 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
1092 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
1093 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
1095 * BufferView_pimpl.C (dispatch):
1096 * LyXAction.C (init):
1097 * factory.C (createInset):
1098 * lyxfunc.C (getStatus, dispatch):
1099 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
1101 2003-02-21 Angus Leeming <leeming@lyx.org>
1103 * BufferView_pimpl.C (MenuInsertLyXFile):
1104 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1105 * lyxfunc.C (menuNew, open, doImport):
1106 no longer pass a LyXView & to fileDlg.
1108 2003-02-21 Angus Leeming <leeming@lyx.org>
1110 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
1111 * LyXAction.C: change, BIBKEY to BIBITEM.
1112 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
1113 Change InsetBibKey to InsetBibitem.
1114 Change BIBKEY_CODE to BIBITEM_CODE.
1115 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1116 * factory.C: replace insetbib.h with insetbibitem.h.
1117 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1118 * paragraph.C: replace insetbib.h with insetbibitem.h.
1119 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
1120 Change bibkey() to bibitem().
1121 * text.C: remove insetbib.h.
1122 * text2.C: replace insetbib.h with insetbibitem.h.
1123 change bibkey() to bibitem().
1124 * text3.C: remove insetbib.h.
1125 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
1127 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1129 * lyxrc.C (output): enclose user email in quotes (in case there are
1132 2003-02-18 John Levon <levon@movementarian.org>
1134 * buffer.h: add std::
1136 2003-02-17 John Levon <levon@movementarian.org>
1142 * pspell.C: reworking. Especially in ispell, a large
1143 number of clean ups and bug fixes.
1145 * lyxfunc.C: fix revert to behave sensibly
1147 2003-02-17 André Pönitz <poenitz@gmx.net>
1150 * commandtags.h: new LFUN_INSERT_BIBKEY
1160 * paragraph_func.C: remove special bibkey handling
1162 2003-02-17 John Levon <levon@movementarian.org>
1164 * text.C (Delete): fix case where delete at the end of
1165 the very first paragraph would not merge the pars
1167 2003-02-17 John Levon <levon@movementarian.org>
1169 * lyxrow.C: fix lastPrintablePos()
1171 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1173 * bufferparams.C (writeLaTeX): add a std:here
1175 * buffer.C: and remove a using directive there
1177 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1179 * buffer.C (makeLaTeXFile): move the code that generates the
1182 * bufferparams.C (writeLaTeX): ... in this new method
1184 * LaTeXFeatures.C (getEncodingSet): make const
1185 (getLanguages): make const
1187 * MenuBackend.C (binding): returns the binding associated to this
1189 (add): sets the status of each item by calling getStatus. Adds
1191 (read): add support for OptSubMenu
1192 (expand): remove extra separator at the end of expanded menu
1194 2003-02-15 John Levon <levon@movementarian.org>
1197 * BufferView_pimpl.C:
1199 * bufferlist.C: remove pointless BufferStorage bloat. Remove
1200 inset code that had no actual effect. Remove unneeded status
1203 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1205 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
1208 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
1210 * text.C (drawLengthMarker): also draw an arrow marker for
1211 symbolic lengths (medskip...)
1213 2003-02-14 John Levon <levon@movementarian.org>
1216 * tabular.C: better method names
1218 2003-02-14 John Levon <levon@movementarian.org>
1220 * BufferView_pimpl.C:
1225 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
1226 it's a more accurate name. Remove some pointless uses.
1228 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1230 * text2.C (LyXText): change order of initilizers to shut off
1233 2003-02-14 John Levon <levon@movementarian.org>
1235 * buffer.C: use ParIterator for getParFromID()
1239 * paragraph_pimpl.h:
1240 * paragraph_pimpl.C: remove unused getParFromID()
1242 2003-02-14 John Levon <levon@movementarian.org>
1244 * buffer.C: remove some very old #if 0'd parse code
1246 2003-02-13 John Levon <levon@movementarian.org>
1250 * text2.C: move hfillExpansion(), numberOfSeparators(),
1251 rowLast(), rowLastPrintable(), numberofHfills(),
1252 numberOfLabelHfills() ...
1255 * lyxrow.C: ... to member functions here.
1260 * text.C: remove LyXText::beginningOfMainBody(), and call
1261 p->beginningOfMainBody() directly. Move the check for
1262 LABEL_MANUAL into the latter.
1269 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
1275 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
1276 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
1278 2003-02-13 John Levon <levon@movementarian.org>
1280 * CutAndPaste.C: remove debug
1282 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1284 * paragraph.C (asString): remove two unused variables
1286 * lyxtextclass.C (readTitleType):
1288 (LyXTextClass): handle new members titletype_ and titlename_
1290 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
1292 2003-02-09 John Levon <levon@movementarian.org>
1295 * buffer.C: replace hand-coded list with a map for the dep clean
1297 2003-02-08 John Levon <levon@movementarian.org>
1299 * LaTeX.C: consolidate code into showRunMessage() helper
1301 2003-02-08 John Levon <levon@movementarian.org>
1306 * BufferView.C: change setSelectionOverString() to setSelectionRange()
1307 and pass the size in explicitly
1309 * BufferView_pimpl.h:
1310 * BufferView_pimpl.C:
1312 * BufferView.C: add getCurrentChange()
1314 * BufferView_pimpl.h:
1315 * BufferView_pimpl.C: handle change lfuns
1317 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
1318 for changes. Mark pasted paragraphs as new.
1320 * support/lyxtime.h:
1321 * support/lyxtime.C:
1322 * DepTable.C: abstract time_t as lyx::time_type
1325 * LColor.C: add colours for new text, deleted text, changebars
1327 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
1328 package use "usenames" option.
1332 * LyXAction.C: add change lfuns
1336 * author.C: author handling
1339 * buffer.C: add a per-buffer author list, with first entry as
1340 current author. Handle new .lyx tokens for change tracking. Output
1341 author list to .lyx file. Output dvipost stuff to .tex preamble.
1342 Bump lyx format to 222.
1345 * bufferlist.C: add setCurrentAuthor() to reset current author details
1349 * bufferparams.C: add param for tracking
1351 * bufferview_funcs.C: output change info in minibuffer
1355 * changes.C: add change-tracking structure
1358 * debug.C: add CHANGES debug flag
1361 * lyxfind.C: add code for finding the next change piece
1364 * lyxrc.C: add user_name and user_email
1367 * lyxrow.C: add a metric for the top of the text line
1370 * text.C: implement accept/rejectChange()
1373 * text.C: paint changebars. Paint new/deleted text in the chosen colours.
1374 Strike through deleted text.
1378 * paragraph_pimpl.h:
1379 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass in the current change
1380 to the insert functions. Rework erase to mark text as deleted, adding
1381 an eraseIntern() and a range-based erase(). Implement
1382 per-paragraph change lookup and accept/reject.
1384 * paragraph_funcs.C: Fixup paste for change tracking.
1386 * tabular.C: mark added row/columns as new.
1388 * text.C: fix rowLast() to never return -1. Don't allow spellchecking of deleted
1389 text. Track transpose changes. Don't allow paragraph break or merge where appropriate.
1391 * text2.C: leave cursor at end of selection after a cut.
1393 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1395 * text.C (getLengthMarkerHeight):
1396 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
1397 visible on screen too.
1399 2003-02-07 John Levon <levon@movementarian.org>
1401 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
1403 2003-02-05 Angus Leeming <leeming@lyx.org>
1405 * lyxserver.C (read_ready): revert my patch of 11 September last year
1406 as it sends PC cpu through the roof. Presumably this means that
1407 the lyxserver will no longer run on an Alpha...
1409 2003-01-30 Angus Leeming <leeming@lyx.org>
1411 * factory.C (createInset): create an InsetCommandParam of type "index"
1412 and use it to 'do the right thing'.
1414 * text2.C (getStringToIndex): ensure that cursor position is always
1415 reset to the reset_cursor position.
1417 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1419 * lyxfunc.C (getStatus): "buffer-export custom" should never be
1422 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1426 * lyxfunc.C: Output messages with identical spelling, punctuation,
1429 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
1431 * MenuBackend.C (expandFormats): List only viewable export formats
1434 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
1437 * lyxfunc.C (getStatus): Make sure that formats other than
1438 "fax" can also be disabled
1440 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1442 * text3.C (dispatch): put the lfuns that insert insets in 3
1443 groups, and call doInsertInset with appropriate arguments.
1444 (doInsertInset): new function, that creates an inset and inserts
1445 it according to some boolean parameters.
1447 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1449 * buffer.C (readFile): remember to pass on 'par' when calling
1450 readFile recursively.
1452 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1454 * MenuBackend.C (expandFormats): add "..." to import formats.
1456 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
1458 * paragraph.C (asString): Remove XForms RTL hacks.
1460 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
1461 * buffer.C: fix typo
1463 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1465 * Makefile.am (LIBS): delete var
1466 (lyx_LDADD): add @LIBS@ here instead.
1468 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
1470 * Clarify the meaning of "wheel mouse jump"
1472 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1474 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
1477 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1479 * importer.C (Loaders): do not preallocate 3 elements in the
1480 vector, since one ends up with 6 elements otherwise
1482 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1484 * DepTable.C (write): write the file name as last element of the
1485 .dep file (because it may contain spaces)
1486 (read): read info in the right order
1488 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1490 * paragraph_pimpl.C (simpleTeXBlanks):
1491 (simpleTeXSpecialChars):
1492 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
1494 * tabular.C (latex): add some missing case statements. Reindent.
1496 * MenuBackend.C (expandToc): remove unused variable.
1498 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1507 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
1510 2003-01-05 John Levon <levon@movementarian.org>
1513 * BufferView.C: add getEncoding()
1516 * kbsequence.C: do not store last keypress
1519 * lyxfunc.C: store last keypress here instead. Pass encoding
1522 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1524 * lyx_main.C (init): remove annoying error message when following
1525 symbolic links (bug #780)
1527 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1529 * text.C (insertChar):
1530 * lyxrc.C (getDescription): remove extra spaces
1532 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1534 * lyxrc.C (getDescription): remove extra spaces
1536 2002-12-20 John Levon <levon@movementarian.org>
1538 * text3.C: hack fix for page up/down across tall rows
1540 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1542 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
1545 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1547 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
1548 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
1549 thesaurus is not compiled in
1551 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1553 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
1555 2002-12-16 Angus Leeming <leeming@lyx.org>
1558 * lyx_main.C (init): remove override_x_deadkeys stuff.
1560 2002-12-12 John Levon <levon@movementarian.org>
1562 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
1563 insert. Only remove shift modifier under strict
1566 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
1568 * MenuBackend.C (expandToc): fix crash.
1570 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1572 * MenuBackend.C (expandToc): gettext on float names.
1574 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1576 * lyxlength.[Ch]: set default unit to UNIT_NONE,
1577 implement bool empty() [bug 490]
1579 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1581 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
1583 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1585 * several files: ws changes
1587 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1589 * text2.C (setCounter): clean up a bit, use boost.format.
1590 (updateCounters): initialize par upon declaration.
1592 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
1593 if the layout exists. We do not just store the layout any more.
1594 (SwitchLayoutsBetweenClasses): use boost.format
1596 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1598 * converter.C (convert): if from and to files are the same, use a
1599 temporary files as intermediary
1601 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1604 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
1606 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
1608 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
1610 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1612 * tabular.C (asciiPrintCell): use string(size, char) instead of
1615 * sgml.C (openTag): fix order of arguments to string constructor
1618 * lyxfunc.C (dispatch): use boost.format
1620 * lots of files: change "c" -> 'c'
1622 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
1624 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
1626 2002-11-25 Angus Leeming <leeming@lyx.org>
1628 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
1630 * lyx_main.C (init): compile fix.
1632 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1634 * lyx_cb.C (start): boost.formatify
1635 do not include <iostream>
1637 * lengthcommon.C: ws only
1639 * boost-inst.C,BoostFormat.h: add more explict instantations
1641 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1643 * lots of files: handle USE_BOOST_FORMAT
1645 2002-11-21 John Levon <levon@movementarian.org>
1647 * pspell.C: fix compile
1649 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1651 * lyxfunc.C (dispatch): use boost::format
1655 * lyxfont.C (stateText): use boost::format
1657 * lyx_main.C (LyX): use boost::format
1659 (queryUserLyXDir): ditto
1662 (typedef boost::function): use the recommened syntax.
1664 * importer.C (Import): use boost::format
1666 * debug.C (showLevel): use boost::format
1668 * converter.C (view): use boost::format
1673 * bufferview_funcs.C (currentState): use boost::format
1675 * bufferlist.C (emergencyWrite): use boost::format
1677 * buffer.C (readLyXformat2): use boost::format
1678 (parseSingleLyXformat2Token): ditto
1680 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
1682 * LaTeX.C (run): use boost::format
1684 * Chktex.C (scanLogFile): use boost::format
1686 * BufferView_pimpl.C (savePosition): use boost::format
1687 (restorePosition): ditto
1688 (MenuInsertLyXFile): ditto
1690 * BoostFormat.h: help file for explicit instation.
1692 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1694 * tabular.C (latex): Support for block alignment in fixed width
1697 2002-11-17 John Levon <levon@movementarian.org>
1699 * BufferView_pimpl.C:
1701 * lyxfunc.C: split filedialog into open/save
1703 2002-11-08 Juergen Vigna <jug@sad.it>
1705 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
1706 by my last patch (hopefully).
1708 2002-11-08 John Levon <levon@movementarian.org>
1717 * toc.C: ParConstIterator, and use it (from Lars)
1719 2002-11-07 Ben Stanley <bds02@uow.edu.au>
1721 * lyxtextclass.[Ch]: revise and add doxygen comments
1723 2002-11-07 John Levon <levon@movementarian.org>
1725 * text.C: fix progress value for spellchecker
1727 * toc.C: fix navigate menu for insetwrap inside minipage
1729 * paragraph_funcs.C: added FIXME for suspect code
1731 2002-11-07 John Levon <levon@movementarian.org>
1733 * BufferView_pimpl.C: fix redrawing of insets
1736 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1738 * text2.C (updateCounters): fix bug 668
1740 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
1742 * text3.C (dispatch): Do not make the buffer dirty when moving the
1745 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1747 * vc-backend.C: STRCONV
1750 * text2.C (setCounter): STRCONV
1752 * paragraph.C (asString): STRCONV
1754 * lyxlength.C (asString): STRCONV
1755 (asLatexString): ditto
1757 * lyxgluelength.C (asString): STRCONV
1758 (asLatexString): ditto
1760 * lyxfunc.C (dispatch): STRCONV
1763 * lyxfont.C (stateText): STRCONV
1765 * importer.C (Import): STRCONV
1767 * counters.C (labelItem): STRCONV
1768 (numberLabel): ditto
1769 (numberLabel): remove unused ostringstream o
1774 * bufferview_funcs.C (currentState): STRCONV
1776 * buffer.C (readFile): STRCONV
1777 (asciiParagraph): ditto
1778 (makeLaTeXFile): ditto
1780 * Spacing.C (writeEnvirBegin): STRCONV
1782 * LaTeXFeatures.C (getLanguages): STRCONV
1783 (getPackages): ditto
1785 (getBabelOptions): ditto
1786 (getTClassPreamble): ditto
1787 (getLyXSGMLEntities): ditto
1788 (getIncludedFiles): ditto
1792 (scanAuxFile): ditto
1795 * LString.h: add the STRCONV macros
1797 * BufferView_pimpl.C (savePosition): STRCONV
1798 (restorePosition): ditto
1799 (MenuInsertLyXFile): ditto
1801 * vc-backend.C (scanMaster): change from submatch[...] to
1804 * funcrequest.C: include config.h
1806 * factory.C: include config.h
1808 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
1810 * box.C: include config.h
1812 * LaTeX.C (scanAuxFile): change from submatch[...] to
1816 2002-10-25 Angus Leeming <leeming@lyx.org>
1818 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
1820 * ispell.[Ch] (setError): new method.
1821 * ispell.C (c-tor): move out child process into new class LaunchIspell.
1822 Use setError() insetead of goto END.
1824 * lyx_cb.C (AutoSave): move out child process into new class
1827 2002-10-30 John Levon <levon@movementarian.org>
1829 * text3.C: make start appendix undoable
1831 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
1833 * lyxlength.C (inPixels): Fix returned value.
1835 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
1838 2002-10-24 Angus Leeming <leeming@lyx.org>
1840 * lyxgluelength.h: no need to forward declare BufferParams
1841 or BufferView, so don't.
1843 2002-10-21 John Levon <levon@movementarian.org>
1845 * BufferView.C: menuUndo ->undo, redo
1847 * BufferView.h: document, remove dead, make some methods private
1849 * paragraph_funcs.h:
1850 * paragraph_funcs.C:
1851 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
1856 * sgml.C: move sgml open/close tag into sgml.C
1858 * bufferview_funcs.h: unused prototype
1861 * lyxfunc.C: remove unused
1864 * text.C: remove unused
1866 2002-10-21 John Levon <levon@movementarian.org>
1870 * BufferView_pimpl.h:
1871 * BufferView_pimpl.C: fix mouse wheel handling based on
1872 patch from Darren Freeman
1874 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
1876 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
1878 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
1880 * lyxlength.C (inPixels): Fix hanfling of negative length.
1881 Fix LyXLength::MU case.
1883 2002-10-16 John Levon <levon@movementarian.org>
1885 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
1887 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1889 * converter.C (view): add support for $$i (file name) and $$p
1890 (file path) for the viewer command. If $$i is not specified, then
1891 it is appended to the command (for compatibility with old syntax)
1893 2002-10-14 Juergen Vigna <jug@sad.it>
1895 * undo_funcs.C (textHandleUndo): alter the order in which the
1896 new undopar is added to the LyXText, as we have to set first
1897 the right prev/next and then add it as otherwise the rebuild of
1898 LyXText is not correct. Also reset the cursor to the right paragraph,
1899 with this IMO we could remove the hack in "redoParagraphs()".
1901 2002-10-09 Angus Leeming <leeming@lyx.org>
1903 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
1904 to turn off an optimisation if a new inset is to be inserted.
1906 2002-10-11 André Pönitz <poenitz@gmx.net>
1908 * lyxtext.h: make some functions public to allow access
1909 from inset/lyxtext for handling LFUN_PRIOR/NEXT
1911 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1913 * text3.C (dispatch): when changing layout, avoid an infinite loop
1916 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1918 * lyxrc.C (read): treat a viewer or converter command of "none" as
1921 * MenuBackend.C (expandFormats): for an update, also allow the
1922 formats that are not viewable
1924 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
1925 script if it is newer than the lyxrc.defaults in user directory
1927 2002-10-07 André Pönitz <poenitz@gmx.net>
1929 * text.C: Vitaly Lipatov's small i18n fix
1931 2002-09-25 Angus Leeming <leeming@lyx.org>
1933 * ispell.h: doxygen fix.
1935 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
1937 * buffer.h (readFile): Add a new argument to the method, to allow
1938 reading of old-format templates.
1940 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1942 * toc.C (getTocList): Get TOC from InsetWrap.
1944 2002-09-16 John Levon <levon@movementarian.org>
1946 * lyxfunc.C: check tabular for cut/copy too
1948 2002-09-12 John Levon <levon@movementarian.org>
1953 * factory.C: add header
1955 * paragraph_funcs.h:
1956 * paragraph_funcs.C: cleanup
1958 2002-09-11 John Levon <levon@movementarian.org>
1960 * PrinterParams.h: odd/even default to true
1962 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1964 * PrinterParams.h: update printer parameters for new xforms dialog
1966 2002-09-11 Angus Leeming <leeming@lyx.org>
1968 * lyxserver.C (read_ready): re-write to make it more transparent
1969 and to make it work in coherent fashion under Tru64 Unix.
1971 2002-09-11 André Pönitz <poenitz@gmx.net>
1975 * text3.C: implement LFUN_WORDSEL
1977 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1979 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
1980 make floatlist_ a boost::shared_ptr<FloatList>
1982 * lyxtextclass.C: include FloatList.h
1983 (LyXTextClass): initialize floatlist_
1984 (TextClassTags): add TC_NOFLOAT
1985 (Read): match "nofloat" to TC_NOFLOAT and use it.
1986 (readFloat): modify call to floatlist_
1990 * FloatList.[Ch] (FloatList): remove commented out float
1992 (erase): new function
1994 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1996 * MenuBackend.C (expandToc): fix crash when there is no document
1999 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
2001 * many files: Add insetwrap.
2003 2002-09-09 John Levon <levon@movementarian.org>
2005 * text2.C: remove confusing and awkward depth wraparound
2007 2002-09-09 John Levon <levon@movementarian.org>
2009 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
2012 * buffer.C: remove getIncludeonlyList()
2015 * lyxfunc.C: remove headers
2017 2002-09-09 Juergen Vigna <jug@sad.it>
2019 * text.C (getColumnNearX): fix form Michael this is most
2020 probably a cut&paste bug.
2022 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2024 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
2026 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
2027 references, ws changes.
2029 * text2.C (init): update counters after init
2030 (insertParagraph): no need to set counter on idividual paragraphs.
2031 (setCounter): access the counters object in the textclass object
2032 on in the buffer object.
2033 (updateCounters): ditto
2035 * lyxtextclass.C: include counters.h, add variable ctrs_ as
2036 shared_ptr<Counters> to avoid loading counters.h in all
2038 (LyXTextClass): initialize ctrs_
2039 (TextClassTags): add TC_COUNTER, and ...
2040 (Read): use it here.
2041 (CounterTags): new tags
2042 (readCounter): new function
2043 (counters): new funtion
2044 (defaultLayoutName): return a const reference
2046 * counters.C (Counters): remove contructor
2047 (newCounter): remove a couple of unneeded statements.
2048 (newCounter): simplify a bit.
2049 (numberLabel): some small formatting changes.
2051 * buffer.[Ch]: remove all traces of counters, move the Counters
2052 object to the LyXTextClass.
2054 2002-09-06 Alain Castera <castera@in2p3.fr>
2056 * tabular.C: uses \tabularnewline; uses >{...} construct from array
2057 package to set the horizontal alignment on fixed width columns.
2060 * lyx_sty.h: added tabularnewline macro def.
2062 * LaTeXFeatures.C: added NeedTabularnewline macro feature
2064 2002-09-06 John Levon <levon@movementarian.org>
2066 * LyXAction.C: tooltips for sub/superscript
2068 * MenuBackend.C: a bit more verbose
2070 * lyxfunc.C: tiny clean
2072 * undo_funcs.C: document undo_frozen
2074 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
2076 * counters.C (Counters): add missing algorithm counter.
2078 * text2.C (setCounter): lookup the counter with layouts latexname
2079 instead of by section number.
2080 (setCounter): use a hackish way to lookup the correct enum
2082 a float name->type change
2083 reset enum couners with counter name directly instead of depth value.
2085 * counters.C (Counters): remove the push_backs, change to use the
2086 float type not the float name.
2087 (labelItem): remove unused string, float name->type change
2089 * counters.h: don't include vector, loose the enums and sects vectors
2091 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2093 * lyxtextclass.C (TextClassTags): add TC_FLOAT
2094 (Read): add float->TC_FLOAT to textclassTags
2095 (Read): and handle it in the switch
2096 (readFloat): new function
2098 * FloatList.C (FloatList): comment out the hardcoded float
2101 * lyxlayout.h: ws change.
2103 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
2105 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
2107 2002-09-03 Angus Leeming <leeming@lyx.org>
2109 * BufferView_pimpl.h: qualified name is not allowed in member
2110 declaration: WorkArea & Pimpl::workarea() const;
2112 * factory.C: added using std::endl directive.
2114 * text3.C: added using std::find and std::vector directives.
2116 2002-08-29 André Pönitz <poenitz@gmx.net>
2119 * text2.C: remove unused member number_of_rows
2122 * BufferView2.C: remove file, move contents to...
2123 * BufferView.C: ... here
2125 * BufferView_pimpl.C:
2126 * factory.C: move more inset creation to factory
2128 * vspace.C: avoid direct usage of LyXText, ws changes
2131 don't provide direct access to WorkArea, use two simple
2132 acessors haveSelction() and workHeight() instead
2135 2002-08-29 John Levon <levon@movementarian.org>
2137 * BufferView_pimpl.C (dispatch): do not continue when
2140 2002-08-28 André Pönitz <poenitz@gmx.net>
2142 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
2145 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
2147 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
2149 * buffer.C: increment LYX_FORMAT to 221
2151 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
2152 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
2154 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
2156 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
2158 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2160 * factory.C (createInset): use LyXTextClass::floats
2162 * MenuBackend.C (expandFloatListInsert):
2163 (expandFloatInsert):
2166 * text2.C (setCounter):
2168 * LaTeXFeatures.C (useFloat):
2169 (getFloatDefinitions):
2171 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
2173 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
2174 floatlist_, with accessor floats().
2176 * FloatList.h: remove global FloatList
2178 2002-08-26 André Pönitz <poenitz@gmx.net>
2180 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
2184 * BufferView_pimpl.C:
2185 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
2187 2002-08-25 John Levon <levon@movementarian.org>
2189 * LyXAction.C: fix margin note description
2191 2002-08-24 John Levon <levon@movementarian.org>
2195 * bufferview_funcs.C:
2197 * undo_funcs.C: cleanups
2199 * lyxfunc.C: disable CUT/COPY when no selection
2201 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
2203 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
2204 in "enum UNIT"; e.g. PTW for Percent of TextWidth
2206 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
2207 Add backward compatibility to "mono", "gray" and "no".
2209 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
2211 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
2212 (and file_format >= 200).
2214 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2216 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
2218 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2220 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
2222 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
2224 * BufferView_pimpl.C:
2231 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
2232 inset and code to make it work with the paragraph code. The inset
2233 can be anywhere in the paragraph, but will only do the expected
2234 thing in LaTeX if the layout file contains the parameter line
2236 (or more generally, a nonzero value) for that layout.
2238 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2240 * paragraph.h: remove the declaration of undefined counters class
2243 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
2245 * text2.C (setCounter): fixed enumeration mis-count as reported by
2246 Dr. Richard Hawkins.
2248 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2250 * paragraph_funcs.h: remove some unneeded includes
2252 * text.C (backspace): pasteParagraph now in global scipe
2254 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
2255 (pasteSelection): ditto
2257 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
2258 * paragraph_funcs.C (pasteParagraph): ... here
2260 2002-08-20 André Pönitz <poenitz@gmx.net>
2262 * commandtags.h: new LFUNs for swapping/copying table row/colums
2265 * lyxfunc.C: support for new lfuns
2267 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2270 * buffer.[Ch]: remove NO_COMPABILITY stuff
2272 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
2274 * boost.C (throw_exception): new file, with helper function for
2275 boost compiled without exceptions.
2280 * ParameterStruct.h:
2281 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
2283 * bufferlist.C (emergencyWriteAll): use boost bind
2285 * BufferView_pimpl.C (moveCursorUpdate): remove inline
2287 * text.C: include paragraph_funcs.h
2288 (breakParagraph): breakParagraph is now in global scope
2290 * paragraph_funcs.[Ch]: new files
2292 * paragraph.C (breakParagraph,breakParagraphConservative): move to
2295 * buffer.C: include paragraph_funcs.h
2296 (insertStringAsLines): breakParagraph is now in global scope
2298 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
2301 * CutAndPaste.C: include paragraph_funcs.h
2302 (cutSelection): breakParagraphConservative is now in global scope
2303 (pasteSelection): ditto
2305 * buffer.h: declare oprator== and operator!= for
2306 Buffer::inset_iterator
2308 * bufferlist.C (emergencyWrite): don't use fmt(...)
2310 * text3.C: add using std::endl
2312 * BufferView.C (moveCursorUpdate): remove default arg
2314 2002-08-20 André Pönitz <poenitz@gmx.net>
2316 * buffer.[Ch]: move inline functions to .C
2319 * BufferView_pimpl.C:
2321 * buffer.[Ch]: use improved inset_iterator
2324 * paragraph.[Ch]: write one paragraph at a time
2326 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
2328 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
2329 style if style is not specified.
2331 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2333 * text2.C (setCounter): when searching for right label for a
2334 caption, make sure to recurse to parent insets (so that a caption
2335 in a minipage in a figure float works) (bug #568)
2337 2002-08-20 André Pönitz <poenitz@gmx.net>
2339 * text3.C: new file for LyXText::dispatch() and helpers
2341 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
2343 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
2345 2002-08-19 André Pönitz <poenitz@gmx.net>
2348 * text.C: new LyXText::dispatch()
2350 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
2352 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
2354 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
2356 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
2359 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2361 * Makefile.am: use $(variables) instead of @substitutions@
2363 2002-08-15 André Pönitz <poenitz@gmx.net>
2366 * BufferView_pimpl.C: streamlining mathed <-> outer world
2370 * LyXAction.C: remove unused LFUN_MATH
2372 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2374 * paragraph.[Ch]: add some NO_NEXT ifdefs.
2376 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2378 * paragraph.C (Paragraph): reformat a bit
2379 (cutIntoMinibuffer): use builtin InsetList function instad of
2383 * buffer.C: include boost/bind.hpp, add using std::for_each
2384 (writeFileAscii): use ParagraphList iterators
2385 (validate): use for_each for validate traversal of paragraphs
2386 (getBibkeyList): use ParagraphList iterators
2387 (resizeInsets): use for_each to resizeInsetsLyXText for all
2389 (getParFromID): use ParagraphList iterators
2391 * BufferView2.C (lockInset): use paragraph list and iterators
2393 2002-08-14 John Levon <levon@movementarian.org>
2395 * lyxserver.C: remove spurious xforms include
2397 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2399 * lyxfunc.C (getStatus): disable math-extern outside of math mode
2401 2002-08-13 André Pönitz <poenitz@gmx.net>
2404 * lyxfunc.C: further cleaning
2406 2002-08-13 André Pönitz <poenitz@gmx.net>
2408 * funcrequest.h: new constructor
2410 * funcrequest.C: move stuff here from .h
2413 * BufferView_pimpl.C:
2416 * lyxfunc.C: subsequent changes
2418 * lyxfunc.h: new view() member function
2420 * lyxfunc.C: subsequent changes
2422 2002-08-13 Angus Leeming <leeming@lyx.org>
2425 * BufferView_pimpl.C:
2433 changes due to the changed LyXView interface that now returns references
2434 to member variables not pointers.
2436 2002-08-13 Angus Leeming <leeming@lyx.org>
2438 * WordLangTuple (word, lang_code): return references to strings,
2443 * lyxtext.h: forward-declare WordLangTuple.
2448 * text.C: #include "WordLangTuple.h".
2451 * text.C: (selectNextWordToSpellcheck): constify return type.
2453 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
2459 * paragraph_pimpl.h:
2462 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
2464 Made updateCounter always count from start of buffer, and removed
2465 second argument (par).
2466 Reverted floats number display to '#'. Perhaps I'll try again when the
2467 code base is sanitized a bit.
2469 2002-08-12 Angus Leeming <leeming@lyx.org>
2471 * buffer.[Ch] (getLabelList): constify.
2473 2002-08-07 André Pönitz <poenitz@gmx.net>
2475 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
2477 * funcrequest.h: extension to keep mouse (x,y) position
2479 2002-08-12 Juergen Vigna <jug@sad.it>
2481 * BufferView2.C (insertErrors): forbid undo when inserting error
2484 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
2486 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
2488 * ParagraphList.[Ch]: new files
2490 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
2492 * BufferView2.C (lockInset): ParagraphList changes
2495 * bufferlist.C: ditto
2499 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2501 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
2502 unused class variable counter_,
2504 * paragraph.[Ch] (getFirstCounter): delete unused function
2506 * counters.C: include LAssert.h
2507 (reset): add a new function with no arg, change other version to
2508 not have def. arg and to not allow empty arg.
2510 * text2.C (setCounter): remove empty arg from call to Counters::reset
2512 2002-08-11 John Levon <levon@movementarian.org>
2514 * Makefile.am: add WordLangTuple.h
2516 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2518 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
2519 lyxfunc.C lyxlex_pimpl.C: ws changes only.
2521 * insets/insettext.C: InsetList changes
2523 * graphics/GraphicsSupport.C (operator()): InsetList changes
2525 * toc.C (getTocList): InsetList changes
2527 * paragraph_pimpl.[Ch]: InsetList changes
2529 * paragraph.[Ch]: InsetList changes
2531 * buffer.C (inset_iterator): InsetList changes
2532 (setParagraph): ditto
2533 * buffer.h (inset_iterator): ditto
2534 * iterators.C (operator++): ditto
2535 * iterators.h: ditto
2537 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
2539 * InsetList.[Ch]: new files, most InsetList handling moved out of
2542 * BufferView2.C (removeAutoInsets): InsetList changes
2544 (ChangeInsets): ditto
2546 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2548 * paragraph_pimpl.h (empty): new function
2550 * paragraph.[Ch] (empty): new function
2552 * other files: use the new Paragraph::empty function
2554 2002-08-09 John Levon <levon@movementarian.org>
2556 * lyxtext.h: remove unused refresh_height
2558 2002-08-09 John Levon <levon@movementarian.org>
2565 * paragraph.C: move sgml char escaping out of paragraph
2568 * paragraph.C: remove id setter
2572 * paragraph_pimpl.C: remove dead tex_code_break_column
2574 * bufferview_funcs.C: small cleanup
2576 * lyxfunc.C: remove dead proto
2578 * lyxtext.h: make some stuff private. Remove some dead stuff.
2580 * lyxgluelength.C: make as[LyX]String() readable
2582 2002-08-08 John Levon <levon@movementarian.org>
2587 * ToolbarDefaults.C:
2590 * toc.C: lyxaction cleanup
2592 2002-08-08 John Levon <levon@movementarian.org>
2594 * BufferView2.C: small cleanup
2597 * lyxfind.C: move unnecessary header into the .C
2599 2002-08-08 John Levon <levon@movementarian.org>
2601 * funcrequest.h: just tedious nonsense
2604 * lyx_main.C: cleanups
2607 * vspace.C: remove dead header lyx_main.h
2609 2002-08-07 Angus Leeming <leeming@lyx.org>
2612 * paragraph_pimpl.h:
2613 Forward declare class Counters in paragraph.h by moving the ctrs member
2614 variable into Paragraph::Pimpl.
2615 (counters): new method, returning a reference to pimpl_->ctrs.
2617 * text2.C: ensuing changes.
2619 2002-08-07 John Levon <levon@movementarian.org>
2621 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
2623 * BufferView_pimpl.C: announce X selection on double/triple
2626 * lyx_main.C: use correct bool in batch dispatch
2628 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
2630 2002-08-07 André Pönitz <poenitz@gmx.net>
2632 * funcrequest.h: new class to wrap a kb_action and its argument
2635 * BufferView_pimpl[Ch]:
2639 * lyxrc.C: subsequent changes
2642 2002-08-07 John Levon <levon@movementarian.org>
2644 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
2645 document options change.
2647 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2652 * makefile.am: move counters functionality over from
2653 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
2655 2002-08-06 John Levon <levon@movementarian.org>
2657 * WordLangTuple.h: new file for word + language code tuple
2668 * BufferView2.C: use WordLangTuple
2671 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
2673 2002-08-06 John Levon <levon@movementarian.org>
2675 * lyx_main.C: fix cmdline batch handling
2677 2002-08-06 André Pönitz <poenitz@gmx.net>
2679 * lyxrc.C: set default for show_banner to true
2681 2002-08-06 John Levon <levon@movementarian.org>
2683 * pspell.C: fix a crash, and allow new aspell to work
2685 2002-08-06 John Levon <levon@movementarian.org>
2688 * kbmap.C: small cleanup
2691 * vspace.C: add const
2693 2002-08-05 John Levon <levon@movementarian.org>
2695 * LyXAction.C: back to tabular-insert
2697 2002-08-04 John Levon <levon@movementarian.org>
2700 * BufferView.C: cosmetic change
2702 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
2712 * BufferView2.C: purge all "Lyx" not "LyX" strings
2715 * lyxcursor.C: attempt to add some documentation
2720 * ToolbarDefaults.C:
2721 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
2722 merge with LFUN_TABULAR_INSERT
2729 * pspell.C: split up i/pspell implementations into separate
2730 files, many cleanups
2732 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
2734 * text2.C: some cleanup
2736 * lyxfunc.C: don't check for isp_command == "none" any more, it
2737 didn't make any sense
2739 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
2744 * makefile.am: move counters functionality over
2745 from text2.C/paragraph.[Ch] to counters.[Ch], and
2747 2002-08-02 John Levon <levon@movementarian.org>
2749 * buffer.C: s/lyxconvert/lyx2lyx/
2751 2002-08-02 Angus Leeming <leeming@lyx.org>
2753 * lyxlex.C: revert John's change as it breaks reading of the user
2756 2002-08-02 Angus Leeming <leeming@lyx.org>
2758 * importer.C (Import):
2759 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
2760 changes due to LyXView::view() now returning a boost::shared_ptr.
2762 2002-08-02 John Levon <levon@movementarian.org>
2764 * lyxlex.C: small cleanup
2766 2002-08-02 John Levon <levon@movementarian.org>
2768 * text2.C (status): small cleanup, no logic change
2770 2002-08-01 John Levon <levon@movementarian.org>
2773 * buffer.C (writeFile): don't output alerts, caller
2777 * lyx_cb.C: from above
2779 * lyxfunc.C: allow to open non-existent files
2781 2002-07-31 John Levon <levon@movementarian.org>
2783 * lyxserver.C: don't let incidental errors get
2786 2002-07-30 John Levon <levon@movementarian.org>
2788 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
2790 2002-07-30 John Levon <levon@movementarian.org>
2793 * lyxserver.C: remove I/O callback too
2795 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2797 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
2800 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2802 * many files: strip,frontStrip -> trim,ltrim,rtrim
2804 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2806 * PrinterParams.h: remove extern containsOnly, and include
2807 support/lstrings.h instead.
2809 * LaTeX.C (scanAuxFile): modify because of strip changes
2811 * buffer.C (makeLaTeXFile): ditto
2812 * bufferparams.C (writeFile): ditt
2813 * lyxfont.C (stateText): ditto
2814 * lyxserver.C (read_ready): ditto
2815 * vc-backend.C (scanMaster): ditto
2817 * BufferView_pimpl.h: ws changes
2819 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
2821 2002-07-26 André Pönitz <poenitz@gmx.net>
2823 * kb_sequence.C: remove unnedred usings
2825 2002-07-26 Juergen Vigna <jug@sad.it>
2827 * lyxfind.C (LyXReplace): we have to check better if the returned
2828 text is not of theLockingInset()->getLockingInset().
2830 2002-07-25 Juergen Vigna <jug@sad.it>
2832 * lyxfind.C (LyXReplace): don't replace if we don't get the
2835 * undo_funcs.C (createUndo): remove debugging code.
2837 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
2839 * buffer.C (parseSingleLyXformat2Token): Use default placement
2840 when reading old floats.
2842 * FloatList.C (FloatList): Change the default placement of figure
2843 and tables to "tbp".
2845 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
2847 * MenuBackend.C: using std::max
2849 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2851 * MenuBackend.C (expandToc):
2852 (expandToc2): code moved from xforms menu frontend. It is now
2853 generic and TOCs are transparent to menu frontends.
2855 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2857 * toc.C (getTocList): protect against buf=0
2859 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
2860 Menu as first parameter. Now, this calls itself recursively to
2861 expand a whole tree (this will be useful for TOC handling)
2862 (expandFloatInsert): remove 'wide' version of floats
2864 * MenuBackend.h (submenuname): returns the name of the submenu.
2865 (submenu): returns the submenu itself, provided it has been
2866 created by MenuBackend::expand
2868 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2870 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
2871 insets which have noFontChange == true. (bug #172)
2873 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2875 * BufferView_pimpl.C: add connection objects and use them...
2878 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2880 * MenuBackend.C (expandLastfiles):
2883 (expandFloatListInsert):
2884 (expandFloatInsert):
2885 (expand): split expand in parts
2887 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2889 * lyx_gui.C: use lyx_gui::exit()
2891 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2893 * LyXAction.C: show the failing pseudo action
2895 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
2897 * buffer.C (readFile): Run the lyxconvert script in order to read
2900 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2904 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
2906 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
2910 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
2912 2002-07-22 Herbert Voss <voss@lyx.org>
2915 * lyxlength.[Ch]: add support for the vertical lengths
2917 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
2919 * toc.[Ch]: std:: fixes
2921 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2923 * lyxrc.C: do not include lyx_main.h
2925 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
2931 * BufferView2.C: include "lyxlex.h"
2934 * bufferparams.h: do not #include "lyxlex.h"
2936 * lyxtextclasslist.C (Add): remove method
2937 (classlist): renamed to classlist_
2939 * paragraph_pimpl.C:
2943 * bufferview_funcs.C:
2948 * toc.C (getTocList): use BufferParams::getLyXTextClass
2950 * toc.C (getTocList): use InsetFloat::addToToc
2952 * toc.[Ch]: new files, containing helper functions to handle table
2955 * lyxfunc.C (dispatch): no need to remove spaces around command
2957 (getStatus): handle LFUN_SEQUENCE by returning the status of the
2958 first command of the sequence; it is not very clever, but I do not
2959 have a better idea, actually
2961 * LyXAction.C (LookupFunc): make sure to remove space at the
2962 beginning and end of the command
2964 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2966 * MenuBackend.C (getMenubar): new method: return the menubar of
2968 (read): treat differently reading of menu and menubar (in
2969 particular, the menubar has no name now)
2970 (Menu::menubar): remove
2972 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
2975 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
2977 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
2978 a bibitem inset in a RTL paragraph.
2980 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
2982 * paragraph_pimpl.C: constify
2984 * BufferView_pimpl.C:
2986 * lyxfunc.C: fix dispatch in a nicer way
2988 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2990 * lyxfunc.C (dispatch):
2991 * BufferView_pimpl.C:
2992 * BufferView_pimpl.h:
2994 * BufferView.h: rename Dispatch() to dispatch()
2996 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
2998 * lyxlayout.C (Read): honor DependsOn tag
3000 * lyxlayout.[Ch] (depends_on): new method
3002 * version.C.in: update lyx_docversion
3004 * LaTeXFeatures.C (getMacros): only define \LyX when needed
3006 * paragraph.C (validate): remove from here...
3007 * paragraph_pimpl.C (validate): ... and move here
3008 (isTextAt): make it const
3010 * buffer.C (getLists): ws cleanup
3012 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
3014 * language.C (read): Use iso8859-1 encoding in latex_lang
3015 (this prevents LyX from crashing when using iso10646-1 encoding).
3017 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3019 * text2.C (toggleInset): if cursor is inside an inset, close the
3020 inset and leave cursor _after_ it
3022 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3024 * lyxfunc.C: move minibuffer completion handling out of here
3026 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
3028 * BufferView_pimpl.C:
3029 * LaTeX.C: fix dispatch calls
3031 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
3033 * text.C (drawChars): Fix Arabic text rendering.
3035 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
3039 * lyxfunc.C: remove message-push/pop
3043 * lyxfunc.C: rationalise some code by removing verboseDispatch
3044 in favour of a bool argument to dispatch()
3046 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3048 * lyx_main.C (init): make sure to read symlinks as absolute paths
3050 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3053 * lyxfunc.C: no need for commandshortcut to be a member
3055 2002-07-15 André Pönitz <poenitz@gmx.net>
3057 * converter.C: add support for $$s (scripts from lib/scripts dir)
3058 * lyx_main.C: white space
3060 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3064 * lyxrc.C: remove second exit confirmation
3066 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3071 * BufferView_pimpl.h:
3072 * BufferView_pimpl.C:
3073 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
3075 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3077 * MenuBackend.C (expand): add numeric shortcuts to document menu
3079 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
3081 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3083 * lyxfont.C (setLyXFamily):
3090 * buffer.C (asciiParagraph): use ascii_lowercase
3092 2002-07-15 Mike Fabian <mfabian@suse.de>
3094 * lyxlex_pimpl.C (search_kw):
3095 * lyxlex.C (getLongString):
3096 * converter.h (operator<):
3097 * converter.C (operator<):
3098 * buffer.C (parseSingleLyXformat2Token):
3100 * ToolbarDefaults.C (read):
3101 * MenuBackend.C (checkShortcuts):
3103 * LColor.C (getFromGUIName):
3104 (getFromLyXName): use the compare_ascii_no_case instead of
3105 compare_no_case, because in turkish, 'i' is not the lowercase
3106 version of 'I', and thus turkish locale breaks parsing of tags.
3108 2002-07-16 Angus Leeming <leeming@lyx.org>
3110 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
3111 now takes a Buffer const & argument.
3113 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3115 * BufferView.C (resize): check there's a buffer to resize
3117 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
3119 * lyxfunc.C: remove dead code
3122 * lyxserver.C: use lyx_guii::set_read_callback
3124 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3126 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
3127 an inset in a RTL paragraph.
3129 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3131 * lyxfunc.C: repaint after a font size update
3133 2002-07-15 André Pönitz <poenitz@gmx.net>
3135 * lyxlength.C: inBP should be able to return negative values
3137 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3139 * lyxfunc.C: use lyx_gui::update_fonts()
3141 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
3143 * lyxfunc.C: use lyx_gui::update_color()
3145 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3151 * lyxrc.C: remove file->new asks for name option, and let
3152 buffer-new take an argument
3154 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
3156 * BufferView_pimpl.C: remove unneeded extra repaint()
3158 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
3160 * LyXAction.C: allow command-sequence with NoBuffer
3162 * lyxfunc.C: don't insist on trailing ';' for command-sequence
3164 2002-07-10 Angus Leeming <leeming@lyx.org>
3166 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
3168 2002-07-09 Angus Leeming <leeming@lyx.org>
3170 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
3172 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3174 * lengthcommon.h: whitespace
3176 * lyxfunc.C: update scrollbar after goto paragraph
3178 * lyxtext.h: factor out page break drawing, and fix it so
3179 page break/added space paints as selected nicely
3181 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
3183 * BufferView_pimpl.C: add FIXMEs, clean up a little
3185 2002-07-09 André Pönitz <poenitz@gmx.net>
3187 * lyxfont.[Ch]: support for wasy symbols
3189 2002-07-08 André Pönitz <poenitz@gmx.net>
3191 * BufferView_pimpl.C: apply John's patch for #93.
3193 2002-07-05 Angus Leeming <leeming@lyx.org>
3195 * BufferView_pimpl.C (buffer): generate previews if desired.
3197 * LColor.h: add "preview" to the color enum.
3199 * LColor.C (LColor): add a corresponding entry to the items array.
3201 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
3204 2002-07-05 Angus Leeming <leeming@lyx.org>
3206 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
3207 The body of the code is now in the method that is passed an ostream &
3208 rather than a file name.
3209 Pass an additional only_preamble parameter, useful for the forthcoming
3212 2002-07-03 André Pönitz <poenitz@gmx.net>
3214 * lyxfunc.C: simplify getStatus() a bit for math stuff
3216 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3218 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
3220 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3222 * text.C (changeRegionCase): do not change case of all the
3223 document when region ends at paragraph end (bug #461)
3225 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3227 * paragraph.C (startTeXParParams):
3228 (endTeXParParams): add \protect when necessary
3230 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3232 * BufferView_pimpl.C (workAreaExpose): remove warning
3234 2002-06-27 Angus Leeming <leeming@lyx.org>
3236 * Makefile.am: add lyxlayout_ptr_fwd.h.
3238 2002-06-26 André Pönitz <poenitz@gmx.net>
3240 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
3242 2002-06-25 Angus Leeming <leeming@lyx.org>
3244 * lyxfunc.C (dispatch): Comment out the call to
3245 grfx::GCache::changeDisplay. The method no longer exists now that the
3246 pixmap generation part of the graphics loader has been moved into
3249 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3251 * text2.C: layout as layout
3253 * text.C: layout as layout
3255 * tabular.C (OldFormatRead): layout as layout
3257 * paragraph_pimpl.C (TeXDeeper): layout as layout
3258 (realizeFont): layout as layout
3260 * paragraph.C (writeFile): layout as layout
3261 (validate): layout as layout
3262 (getFont): layout as layout
3263 (getLabelFont): layout as layout
3264 (getLayoutFont): layout as layout
3265 (breakParagraph): layout as layout
3266 (stripLeadingSpaces): layout as layout
3267 (getEndLabel): layout as layout
3268 (getMaxDepthAfter): layout as layout
3269 (applyLayout): layout as layout
3270 (TeXOnePar): layout as layout
3271 (simpleTeXOnePar): layout as layout
3272 (TeXEnvironment): layout as layout
3273 (layout): layout as layout
3274 (layout): layout as layout
3276 * lyxtextclass.C (compare_name): new functor to work with
3277 shared_ptr, layout as layout
3278 (Read): layout as layout
3279 (hasLayout): layout as layout
3280 (operator): layout as layout
3281 (delete_layout): layout as layout
3282 (defaultLayout): layout as layout
3284 * lyxlayout_ptr_fwd.h: new file
3286 * lyxlayout.C (Read): layout as layout
3288 * lyx_cb.C (MenuInsertLabel): layout as layout
3290 * bufferlist.C (newFile): layout as layout
3292 * buffer.C (readLyXformat2): layout as layout
3293 (parseSingleLyXformat2Token): layout as layout
3294 (insertStringAsLines): layout as layout
3295 (asciiParagraph): layout as layout
3296 (latexParagraphs): layout as layout
3297 (makeLinuxDocFile): layout as layout
3298 (simpleLinuxDocOnePar): layout as layout
3299 (makeDocBookFile): layout as layout
3300 (simpleDocBookOnePar): layout as layout
3301 (getLists): layout as layout
3303 * LaTeXFeatures.C (getTClassPreamble): layout as layout
3305 * CutAndPaste.C (cutSelection): layout as layout
3306 (pasteSelection): layout as layout
3307 (SwitchLayoutsBetweenClasses): layout as layout
3309 * BufferView_pimpl.C (Dispatch): layout as layout
3310 (smartQuote): layout as layout
3312 * BufferView2.C (unlockInset): layout as layout
3314 2002-06-24 André Pönitz <poenitz@gmx.net>
3316 * lyxfunc.C: fix #487
3318 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3322 * lyxfunc.C: remove display_shortcuts, show_banner
3324 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3326 * Buffer_pimpl.C: oops, update on resize
3328 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3335 * BufferView.C: use repaint()
3337 * BufferView_pimpl.h:
3338 * BufferView_pimpl.C: s/updateScreen()/repaint()/
3339 as it's a clearer description. Remove superfluous
3342 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
3344 * text.C: fix bug 488. Not ideal, but getting
3345 getWord() to work properly for the insets that
3346 matter is more difficult ...
3348 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3350 * BufferView_pimpl.C:
3353 * lyxfunc.C: remove the six million index lyxfuncs to just
3354 one, and DTRT (bug 458)
3356 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3360 * BufferView_pimpl.h:
3361 * BufferView_pimpl.C: clean up resize() stuff,
3362 and unnecessary updateScreen()s
3364 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
3368 * BufferView_pimpl.h:
3369 * BufferView_pimpl.C:
3372 * minibuffer.C: remove focus management of workarea,
3373 not needed. Use screen's greyOut()
3375 2002-06-17 Herbert Voss <voss@lyx.org>
3377 * converter.C: (convert) do not post a message, when converting
3378 fails, let the calling function decide what to do in this case
3380 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
3382 * lyxfunc.C: tidy up a little
3384 2002-06-16 <alstrup@diku.dk>
3386 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
3387 Got rid of FORMS_H_LOCATION include. Now we are
3390 2002-06-15 LyX Development team <lyx@rilke>
3392 * buffer.[Ch] (sgmlOpenTag):
3393 (sgmlCloseTag): Added support for avoiding pernicious mixed
3394 content. Return number of lines written.
3397 (makeDocBookFile): Fixed calls to sgml*Tag.
3398 Simple white space clean.
3400 (simpleDocBookOnePar): Simple white space clean.
3402 * tabular.[Ch] (docBook): Renamed to docbook and got another
3403 argument to related with the pernicious mixed content.
3405 (docbookRow): Fixed calls for docbook inset method.
3407 2002-06-15 Lyx Development team <larsbj@birdstep.com>
3409 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
3410 so it's X11 independent.
3414 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
3416 2002-06-15 Lyx Development team <lyx@electronia>
3418 * intl.h: Renamed getTrans to getTransManager.
3420 2002-06-14 Angus Leeming <leeming@lyx.org>
3422 * Makefile.am: nuke forgotten stl_string_fwd.h.
3424 2002-06-12 Angus Leeming <leeming@lyx.org>
3426 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
3428 2002-06-13 Angus Leeming <leeming@lyx.org>
3431 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
3433 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
3435 * kbmap.C (getiso): add support for cyrillic and greek
3437 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3441 * BufferView_pimpl.h:
3442 * BufferView_pimpl.C: move bogus scrolling logic
3445 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3448 * BufferView_pimpl.C: view->resize() change
3450 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3452 * BufferView_pimpl.C: topCursorVisible
3455 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3459 * lyx_gui.C: move to frontends/
3463 * lyx_main.C: changes from above
3465 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3472 * lyx_main.C: minor tidy
3474 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3476 * BufferView_pimpl.h:
3477 * BufferView_pimpl.C:
3479 * BufferView.C: make painter() const,
3482 * BufferView2.C: use screen() accessor
3485 * lyx_main.C: some minor cleanup
3487 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3489 * BufferView_pimpl.h:
3490 * BufferView_pimpl.C: remove enter/leaveView,
3493 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3498 * BufferView_pimpl.h:
3499 * BufferView_pimpl.C: only construct screen once,
3502 * lyxrc.C: remove pointless comment
3504 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3507 * BufferView.C: remove active() and belowMouse()
3509 * BufferView_pimpl.h:
3510 * BufferView_pimpl.C: use workarea() not workarea_,
3511 and make it use a scoped_ptr instead
3513 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
3515 * lyx_gui.C: add debug message on BadWindow
3517 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3519 * sp_spell.C: fdopen is not part of the C++ standard.
3521 * paragraph.C (InsetIterator): use >= instead of ==
3523 2002-06-07 Angus Leeming <leeming@lyx.org>
3525 Fixes needed to compile with Compaq cxx 6.5.
3526 * BufferView_pimpl.C:
3533 * lyxtextclasslist.C:
3538 all c-library variables have been moved into namespace std. Wrap
3539 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3544 Add a using std::abs declaration.
3546 * kbmap.h (modifier_pair):
3547 * paragraph.h (InsetTable, InsetList):
3548 * lyxfont.h (FontBits):
3549 type definition made public.
3551 * bufferlist.C (emergencyWriteAll): the compiler complains that
3552 there is more than one possible lyx::class_fun template to choose from.
3553 I re-named the void specialisation as lyx::void_class_fun.
3555 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
3557 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
3558 the compiler is is unable to find tostr in write_attribute.
3560 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3562 * buffer.C (sgmlError): hide #warning
3564 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3566 * xtl/*: get rid of xtl, which is not in use anyway
3568 * LyXAction.C (init):
3569 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
3570 were unimplemented xtl experimentation
3572 2002-06-04 André Pönitz <poenitz@gmx.net>
3574 * lyxfunc.C: disable array operation on simple formulae
3576 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
3578 * converter.C: constify a bit
3580 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
3582 * lyx_gui.C: check xforms version correctly
3584 2002-04-30 Herbert Voss <voss@lyx.org>
3586 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
3589 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
3591 * lyxvc.C: fix bug 416 (make sure buffer is saved before
3592 attempt to register it with a VCS)
3594 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3596 * lyx_main.C (init): honor variables LYX_DIR_13x and
3599 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3603 * lyx_main.C: fix a crash on bad command line,
3604 and give a useful exit status on error
3606 * lyxfunc.C (doImport): allow -i lyx to work
3608 2002-03-30 André Pönitz <poenitz@gmx.net>
3610 * lyxfunc.C: mathed font changes
3612 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3627 * trans_mgr.h: srcdocs, and some minor cleanups
3629 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3631 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
3632 call getFont all the time)
3634 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3636 * switch from SigC signals to boost::signals
3638 2002-05-29 André Pönitz <poenitz@gmx.net>
3640 * paragraph_pimpl.C (getChar): don't call size() too often...
3642 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3644 * paragraph_pimpl.C (insertChar): do not try to update tables when
3645 appending (pos == size())
3647 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
3648 in order to reduce drastically the number of comparisons needed to
3649 parse a large document
3651 2002-05-29 André Pönitz <poenitz@gmx.net>
3657 * textclasslist.[Ch]:
3658 * sp_ispell.h: whitespace change
3660 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3662 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
3663 lyxaction directly now.
3665 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
3669 * lyxvc.C: remove unused headers
3671 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3678 * undo_funcs.C: some cleanups. Use shared_ptr
3679 and a template for the undo stacks.
3681 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3683 * BufferView_pimpl.h:
3684 * BufferView_pimpl.C:
3691 * text2.C: use key_state/mouse_state
3693 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
3695 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
3698 * chset.C: change include order
3699 (loadFile): use boost regex and get rid of LRegex and LSubstring
3701 * Makefile.am (BOOST_LIBS): new variable
3704 * LaTeX.C: change include order.
3705 (scanAuxFile): use boost regex and get rid of LRegex and
3709 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3714 * FontInfo.C: moved to frontends/xforms/
3717 * FontLoader.C: moved into frontends for GUIIzation
3722 * lyxfunc.C: changes from above
3724 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3726 * LColor.C: remove spurious X include
3728 * BufferView_pimpl.C:
3733 * text2.C: move font metrics to frontends/
3735 2002-05-24 Juergen Vigna <jug@sad.it>
3737 * undo_funcs.C (textHandleUndo): fix the cursor selection after
3738 setting the undo_cursor.
3740 * ParagraphParameters.h: include local includes first.
3742 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3744 * BufferView_pimpl.C:
3745 * BufferView_pimpl.h:
3749 * screen.C: move WorkArea into frontends/
3755 * BufferView2.C: move LyXScreen into frontends/
3759 * lyx_gui.C: move lyxlookup into frontends/xforms/
3761 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3764 * BufferView_pimpl.C:
3774 * bufferview_funcs.C:
3787 * vc-backend.C: move LyX/XFormsView into frontends/
3789 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3801 * text2.C: move Painter to frontends/
3803 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3805 * buffer.C: comment out some some code that depend upon lyx_format
3808 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
3809 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
3811 * buffer.h (NO_COMPABILITY): turn off compability
3813 * ColorHandler.C: include scoped_array.hpp
3815 * font.C: Use more specific smart_ptr header.
3818 * ShareContainer.h: ditto
3822 * BufferView_pimpl.h: ditto
3823 * ColorHandler.h: ditto
3825 * kbmap.C (defkey): change call to shared_ptr::reset
3827 2002-05-21 Juergen Vigna <jug@sad.it>
3829 * buffer.C (insertErtContents): fix to insert ert asis if it is
3830 non empty. Skip it completely if it contains only whitespaces.
3832 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3834 * BufferView_pimpl.C:
3835 * BufferView2.C: clear selection on paste (bug 393)
3837 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
3839 * DepTable.C: include ctime
3841 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3843 * buffer.C (latexParagraphs): Add new argument (moving_arg).
3845 2002-05-14 Juergen Vigna <jug@sad.it>
3847 * text.C (breakParagraph): fixed function to honor the keepempty
3848 layout in the right maner and also to permit the right breaking
3849 algorithm on empty or non empyt keepempty paragraphs.
3851 * paragraph.C (breakParagraph): we have to check also if the par
3852 is really empty (!size()) for isempty otherwise we do the wrong
3855 2002-05-10 Juergen Vigna <jug@sad.it>
3857 * buffer.[Ch] : The following are only changes to the ert
3858 compatibility read reading old LaTeX layout and font stuff and
3859 convert it to ERTInsets.
3861 * buffer.h: added isErtInset().
3863 * buffer.C (struct ErtComp): add a fromlayout bool to check
3864 if we're inside a LaTeX layout.
3865 (isErtInset): new helper function.
3866 (insertErtContents): look for other ert insets before this one
3867 and insert the contents there, so that we don't have subsequent
3868 ERT insets with nothing between them. This way we create only one
3869 inset with multiple paragraphs. Also check if we don't insert only
3870 spaces ' ' as they are ignored anyway afterwards in the .tex file
3871 so if we have only spaces we will ignore this latex part in the
3873 (parseSingleLyXformat2Token \\layout): better compatibility when
3874 reading layout-latex stuff.
3875 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
3877 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
3878 stuff after reading the inset only get the information back from
3881 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
3883 * buffer.C (makeLaTeXFile): Put language options after loading babel.
3885 * LaTeXFeatures.C (getBabelOptions): New method.
3887 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
3889 * BufferView_pimpl.C (Dispatch): work around missing argument for
3892 2002-05-08 Juergen Vigna <jug@sad.it>
3894 * text.C (leftMargin): handle paragraph leftindent.
3896 * paragraph.C (writeFile): write the new \\leftindent tag.
3897 (validate): handle leftindent code.
3898 (TeXEnvironment): handle paragraphleftindent code again.
3900 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
3902 * buffer.C (parseSingleLyXformat2Token): added compatibility code
3903 for paragrap_extra indent code and new token \\leftindent.
3904 (latexParagraphs): handle the leftindent as environment.
3906 * ParameterStruct.h: added leftindent support.
3908 * ParagraphParameters.C (leftIndent): added support functions for
3909 the paragraph left indent.
3911 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
3914 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3916 * paragraph.C (isRightToLeftPar): Return false for a paragraph
3919 * text.C (computeBidiTables): No bidi in insetERT.
3921 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
3924 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3926 * version.C.in: pre 5
3928 2002-05-02 José Matos <jamatos@fep.up.pt>
3929 * buffer.C (makeDocBookFile): white space changes, add newline to
3931 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
3933 * tabular.C (docBook): fix typo.
3935 2002-05-03 Juergen Vigna <jug@sad.it>
3937 * screen.C (drawFromTo): recalculate the rowpointer if we had a
3938 change in LyXText as we can not be sure it was not freed.
3939 (drawOneRow): remove unused code.
3941 * text.C (drawInset): redo the calculation of the need_break_row as
3942 it could have a row which was already freed.
3943 (draw): look at the return value of drawInset and return false if
3944 it also returned false.
3945 (paintRowText): look at the return value of draw and return false if
3946 it also returned false.
3948 * lyxtext.h: added bool return type to drawInset() and draw() so that
3949 if we have a change in the row so that the rowbreak has to be redone
3950 we abort drawing as it will be called again.
3952 2002-05-02 Juergen Vigna <jug@sad.it>
3954 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
3955 a change in the maintext also if we're inside an inset.
3956 (Dispatch): set the cursor again after a break line and after the
3957 screen has been updated as it could be we're in a different row.
3959 * text2.C (fixCursorAfterDelete): check to make sure we don't request
3960 to set the cursor behind the pargraph with > size().
3961 (setCursor): check also for the same paragraph when checking where
3962 to put the cursor if we have a NFR inset.
3964 * buffer.C (parseSingleLyXformat2Token): move the compatibility
3965 parts of layout read further up as it still was in the wrong
3968 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
3970 * screen.C (drawFromTo): change sine fullRebreak always return
3973 * buffer.C (parseSingleLyXformat2Token): reindent some
3975 * BufferView_pimpl.C (update): change since fullRebreak always
3977 (Dispatch): git rid of the last hardcoded "Standard"s.
3979 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
3981 * text2.[Ch] (fullRebreak): make it return void now that we always
3984 2002-04-30 Juergen Vigna <jug@sad.it>
3986 * buffer.C (parseSingleLyXformat2Token): reset the font before the
3987 ert compatibility check for "latex" layout.
3989 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
3991 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
3992 minipages: use col% instead of p%, and also use the current font.
3993 (makeLaTeXFile): Fix use babel condition.
3994 (parseSingleLyXformat2Token): Correct font when reading old floats.
3996 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3998 * BufferView_pimpl.C (Dispatch): Check that float type exists when
3999 inserting list of floats.
4001 2002-04-25 Herbert Voss <voss@lyx.org>
4003 * MenuBackend.C (expand): don't add the graphics extensions to the
4006 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4008 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
4009 non-existing layout, do not complain if it was the default layout
4010 of the original class (bug #342)
4012 2002-04-24 Juergen Vigna <jug@sad.it>
4014 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
4015 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
4017 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4019 * buffer.C (getBibkeyList): If using \bibliography, return the
4020 option field with the reference itself. Enables us to provide natbib
4021 support when using \bibliography.
4023 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
4025 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
4027 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
4028 natbib is provided by the LaTeX class.
4030 2002-04-23 Juergen Vigna <jug@sad.it>
4032 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
4035 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
4037 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4039 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
4041 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
4042 ensuremath around textordmasculine, textordfeminine and
4045 2002-04-19 Juergen Vigna <jug@sad.it>
4047 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
4048 reinitializing the buffer otherwise row-dimensions may be wrong.
4049 (update): reset also the selection cursors if they do exits otherwise
4050 their x/y positions may be wrong.
4052 * text2.C (cursorDown): don't enter the inset if we came from a row
4053 above and are one row over the inset.
4055 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
4056 really leaving an inset.
4058 2002-04-18 Juergen Vigna <jug@sad.it>
4060 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
4061 of the selected paragraph does not have the selected layout also if
4064 * text2.C (setLayout): fixed bug which did not change last selected
4067 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
4068 changed the read and substituted \\end_float with \\end_inset!
4070 * BufferView_pimpl.C (cursorPrevious):
4071 (cursorNext): fixed to make it work with rows heigher than the work
4072 area without moving the cursor only the draw of the row.
4073 (workAreaMotionNotify): fix jumping over high rows.
4075 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4077 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
4080 2002-04-16 Juergen Vigna <jug@sad.it>
4082 * text2.C (setCursor): set also the irow().
4083 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
4085 (cursorDown): support for locking an inset if the x_fix value goes
4086 inside it. That way I can transverse insets too with cursor up/down.
4088 * lyxrow.h: added irow helper function same as other (i) functions.
4090 * BufferView_pimpl.C (cursorPrevious):
4091 (cursorNext): fixed for insets!
4093 2002-04-15 Juergen Vigna <jug@sad.it>
4095 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
4096 position otherwise it is wrong in some cases.
4098 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
4099 inside the inset before the call.
4101 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4103 * buffer.[Ch] (getBibkeyList): make it const.
4105 2002-04-12 Juergen Vigna <jug@sad.it>
4107 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
4109 * text2.C (getCursorX): new helper function
4110 (setCursor): compute also ix_
4111 (setCursorFromCoordinates): set also ix.
4113 * lyxcursor.h: added ix_ and helper functions.
4115 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
4117 * buffer.C (insertStringAsLines): dont break paragraph if the this
4118 paragraph is inside an inset which does not permit it!
4120 * text.C (breakParagraph): honor keepempty flag and break the paragraph
4121 also with no chars on this paragraph.
4122 (paintRowText): only paint stuff if it's inside the workarea!
4124 * paragraph.C (breakParagraph): honor keepempty flag and break the
4125 paragraph always below not above.
4127 * BufferView2.C (unlockInset): update the paragraph layout on inset
4128 unlock as we changed paragraph in such a case.
4130 * lyxfind.C (LyXFind): clear the former selection if not found!
4132 * text2.C (insertInset): freeze Undo after setUndo so that it is not
4133 again called in insertChar().
4135 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
4136 an inset which uses the whole row!
4137 (rightMargin): ditto.
4138 (insertChar): force a rebreak if we inserted an inset!
4140 2002-03-28 Herbert Voss <voss@lyx.org>
4142 * lyxlength.[Ch]: add inBP() to get the right PS-point
4143 units (BigPoint). With inPixels we have rounding errors
4145 2002-04-11 Juergen Vigna <jug@sad.it>
4147 * text2.C (setCursorFromCoordinates): set iy to the right value.
4148 (setCursor): add check if row->previous exists!
4150 * buffer.C (parseSingleLyXformat2Token): reset font after read of
4151 an old float_type as this was the case in the old code!
4153 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
4155 * BufferView2.C (showLockedInsetCursor): use iy
4156 (fitLockedInsetCursor): ditto
4158 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
4159 locked insets as there we have the right value now.
4161 * lyxcursor.C: added iy_ variable and iy functions to set to the
4162 baseline of cursor-y of the locked inset.
4164 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
4165 (setCursor): fixed for insets which need a full row.
4167 * text.C (rowLastPrintable): don't ignore the last space when before
4168 an inset which needs a full row.
4169 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
4170 as last character of a row when before a inset which needs a full row.
4172 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4174 * version.C.in: update date
4176 * text2.C (fullRebreak): try to always return true and see what
4179 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4181 * MenuBackend.C (expand): use Floating::listName
4183 * FloatList.C (FloatList): add listName argument to the built-in
4186 * Floating.[Ch]: add listName member, which is the 'List of XXX'
4187 text associated with the float.
4189 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4191 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
4193 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4195 * ShareContainer.h: add a couple of missing typenames.
4197 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
4199 * lyxrc.C (getDescription): use _() correctly rather than N_().
4201 2002-03-28 Herbert Voss <voss@lyx.org>
4203 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
4204 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
4206 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4208 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
4209 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
4211 2002-03-29 Juergen Vigna <jug@sad.it>
4213 * lyxfunc.C (dispatch): add a missing fitCursor call.
4215 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
4216 it was scrolled by a cursor move, so return the bool status.
4218 * BufferView.C (fitCursor): return the bool flag also to the outside
4219 world as this is needed.
4221 * screen.C (toggleToggle): don't subtract the offset if it's positive.
4223 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
4224 call the edit() as it is not needed (and wrong) IMO.
4225 (workAreaButtonPress): set the screen_first variable before evt.
4226 unlock the inset as this may change screen_first and then we have
4227 a wrong y position for the click!
4229 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4231 * MenuBackend.C (expand): another translation that I missed
4233 2002-03-28 Juergen Vigna <jug@sad.it>
4235 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
4237 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
4239 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4241 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
4243 * MenuBackend.C (expand): fix export/view/update when there is no
4246 2002-03-27 Herbert Voss <voss@lyx.org>
4248 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
4251 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4253 * bufferview_funcs.C (currentState): only show paragraph number
4254 for is DEVEL_VERSION is set.
4256 * lyxfunc.C (dispatch): put warning in INFO channel
4258 * MenuBackend.C (expand): translate the name of floats
4260 * FloatList.C (FloatList): mark the float names for translation
4262 * converter.C (convert): use LibScriptSearch
4264 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4266 * MenuBackend.C (defaults): fix default menu (we might as well get
4269 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4271 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
4274 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4276 * lyxvc.C: reorder includes.
4278 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
4280 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
4283 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
4285 * CutAndPaste.C: change layouts earlier on paste
4286 to avoid crashing when calling getFont()
4288 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4290 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
4293 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4295 * WorkArea.C: remove 'Pending' debug message.
4297 * most files: ws cleanup
4299 * buffer.[Ch]: ws changes
4301 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
4303 2002-03-21 Juergen Vigna <jug@sad.it>
4305 * tabular.C (SetMultiColumn): collapse also the contents of the
4306 cells and set the last border right. Added a Buffer const * param.
4308 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4310 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
4313 2002-03-19 Juergen Vigna <jug@sad.it>
4315 * text2.C (clearSelection): reset also xsel_cache.
4317 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
4318 where it needs to be called (John tells us to do so too :)
4319 (selectionLost): reset sel_cache.
4321 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
4323 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4325 * text2.C (setCursorIntern): put debuging code in INSETS channel
4327 2002-03-19 André Pönitz <poenitz@gmx.net>
4329 * lyxfunc.C: tiny whitespace change
4331 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4333 * ToolbarDefaults.C (init):
4334 * LyXAction.C (init):
4336 * BufferView_pimpl.C (Dispatch):
4337 * lyxfunc.C (dispatch): remove LFUN_DEPTH
4339 2002-03-19 Allan Rae <rae@lyx.org>
4341 * exporter.C (Export): removeAutoInsets before doing anything else.
4342 While I've just introduced a dependency on BufferView this really is
4343 the best place to clean the buffer otherwise you need to cleanup in
4344 a dozen places before calling export or cleanup in a dozen functions
4347 * converter.C (runLaTeX):
4348 (scanLog): Better handling of removeAutoInsets and screen updates.
4350 * lyxfunc.C (dispatch): small whitespace changes
4352 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4354 * WorkArea.C (C_WorkAreaEvent): return a value.
4355 (event_cb): return 1 if we handled the event, 0 otherwise.
4357 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
4359 2002-03-18 Juergen Vigna <jug@sad.it>
4361 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
4362 (GetAdditionalWidth): ditto.
4366 * BufferView2.C (copy): use getLyXText() so that we do it inside an
4367 inset if we're there actually (probably not used right now but this
4368 is the direction to go for unifying code).
4369 (paste): disable code to clear the selection.
4371 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
4372 inside an InsetText and move the check further up as it is in the
4375 * text2.C (pasteSelection): set a selection over the pasted text.
4377 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
4379 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
4380 and libgraphics to build on Cygwin.
4382 2002-03-15 Juergen Vigna <jug@sad.it>
4384 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
4385 inserting an Inset into the paragraph. I know this is not the best
4386 fix but we already use current_view in CutAndPaste so we will remove
4387 all of it's using at the same time.
4389 * buffer.C (sgmlError): deactivated function till it is rewritten in
4390 the right mode, now it can create problems.
4392 * paragraph.C (isLineSeparator): check if getInset returns != 0,
4393 before accessing it.
4395 2002-03-14 Juergen Vigna <jug@sad.it>
4397 * undo_funcs.C (textHandleUndo): do the right thing when updating
4398 the inset after the undo/redo.
4400 * text2.C (setCursor): just some testcode for #44 not ready yet.
4402 * undo_funcs.C (textHandleUndo): set the next() and previous()
4403 pointers of the paragraph to 0 before deleting otherwise we have
4404 problems with the Paragraph::[destructor].
4406 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
4407 on a paragraph insertion.
4409 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
4411 * buffer.C (asciiParagraph): use += operator for char append to
4414 * paragraph.C (getFontSettings): compare >= not just >
4415 (highestFontInRange): ditto
4418 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4420 * paragraph.C: change several algorithm to be more appripriate for
4421 the problem domain. This is lookip in FontList and in the InsetList.
4423 2002-03-13 André Pönitz <poenitz@gmx.net>
4426 * LyXAction.C: remove unused LFUN_MATH_MACROARG
4428 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
4433 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
4435 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
4437 * Painter.C (display): anon helper function, adjust code for this
4439 (pixmap): remove function.
4441 * Painter.h: remove private display variable.
4443 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
4445 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
4447 * WorkArea.[Ch]: remove figinset_canvas cruft.
4449 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4451 * lyxtextclass.C (operator): add one item cache optimization.
4453 * bufferlist.h: doxy changes
4455 * bufferlist.C: ws changes
4457 * DepTable.[Ch] (ext_exist): place const in the right spot.
4459 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
4461 (workAreaExpose): call resizeInsets when the with BufferView changes.
4462 (Dispatch): adjust for protectedBlank removal
4463 (specialChar): call updateInset if the insert went ok.
4465 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
4466 specialChar instead.
4468 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
4470 * BufferView.h: doxy change
4472 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
4474 * lyxtextclass.C (operator[]): remove non-const version
4475 (defaultLayout): remove non-const version
4477 2002-03-12 Juergen Vigna <jug@sad.it>
4479 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
4480 did resize the LyXText too.
4482 * buffer.C (readLyXformat2): set layout information on newly allocated
4485 * tabular.C (OldFormatRead): set layout information on the paragraph.
4487 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4489 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
4491 2002-03-11 Juergen Vigna <jug@sad.it>
4493 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
4495 (resizeCurrentBuffer): force also the insets to resize themselfes.
4496 (moveCursorUpdate): fixed up for InsetText.
4498 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
4501 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
4502 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
4503 value of Dialogs::tooltipsEnabled().
4504 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
4506 2002-03-08 Juergen Vigna <jug@sad.it>
4508 * BufferView_pimpl.C (updateInset): update inset inside inset also
4509 if it isn't inside theLockingInset().
4511 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4513 * buffer.C (asciiParagraph): redo some of the word and line length
4515 (getLists): look for Caption instead of caption.
4517 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4519 * buffer.C (Buffer): initialize niceFile to true
4522 (makeDocBookFile): make sure niceFile is true on exit
4524 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4526 * buffer.C (makeLaTeXFile): escape ~ in \input@path
4528 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4530 * LyXSendto.C: remove.
4531 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
4532 * lyx_gui.C: remove now-redundant comment.
4533 * ColorHandler.h: remove forward declaration of class WorkArea.
4534 * lyxfunc.C: remove #include "WorkArea.h".
4536 2002-03-07 Juergen Vigna <jug@sad.it>
4538 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
4539 got moved away with the DEPM and also set the inset_owner always
4540 right which before could have been omitted.
4542 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4544 * buffer.C (parseSingleLyXformat2Token): use default layout is the
4545 wanted layout is not found.
4547 2002-03-07 Juergen Vigna <jug@sad.it>
4549 * CutAndPaste.C (cutSelection): another layout settings forgotten.
4551 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
4553 * paragraph.C (breakParagraph): use default layout not layout of
4555 (Paragraph): clear ParagraphParameters.
4557 2002-03-06 Juergen Vigna <jug@sad.it>
4559 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
4560 otherwise it would not be a valid lenght. Fixed a special case in
4561 the minipage compatibility read where we end the document with a
4564 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
4565 was set as it could be 0 for InsetTexts first entry.
4567 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4569 * paragraph.C (writeFile): if layout is empty write out
4570 defaultLayoutName().
4572 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
4573 file without named layout we set layout to defaultLayoutName().
4575 2002-03-06 Juergen Vigna <jug@sad.it>
4577 * CutAndPaste.C (copySelection): set layout for new paragraph.
4579 * text.C (prepareToPrint): leave ERT inset left aligned
4580 (leftMargin): don't indent paragraphs inside ERT insets
4582 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4584 * paragraph.C (breakParagraph): dont call clear do the work manually
4586 * paragraph.[Ch] (clear): remove function
4588 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4590 * paragraph.C (Paragraph): dont call clear, the work has already
4593 * lyxtextclass.C (operator): assert if n is empty
4595 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
4596 work manually instead.
4598 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4600 * BufferView_pimpl.C: protect selectionLost against text == 0
4602 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4604 * text.C (breakParagraph): fix a setting layout to '0' problem.
4606 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4608 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
4609 final location of file, for the included files, and graphics.
4611 2002-03-05 Juergen Vigna <jug@sad.it>
4613 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
4615 2002-03-04 Juergen Vigna <jug@sad.it>
4617 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
4619 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
4620 last column of multicolumn cells.
4621 (SetWidthOfMulticolCell): recalculate NMC and real columns.
4623 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4625 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
4626 file if it doesn't go to a temporary file.
4628 * buffer.C (sgmlOpenTag):
4629 (sgmlCloseTag): remove extra newline insertion.
4631 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4633 * text.C (getRowNearY): comment out debug msg
4635 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4637 * text2.C: first -> first_y
4639 * text.C (getRowNearY): add some attemts at a possible
4640 optimization, not working.
4642 * tabular.[Ch]: add BufferParams to several function so that newly
4643 created paragraph can be initialized to he default layotu for the
4646 * tabular-old.C (ReadOld): add buf->params to call of Init
4648 * screen.C: rename text->first to text->first_y
4650 * paragraph.C (breakParagraph): always set layout in the broken
4653 * lyxtextclass.C (Read): remove lowercase
4656 (delete_layout): ditto
4658 * lyxtext.h: rename first -> first_y
4660 * lyxlayout.C (Read): remove lowercase
4663 (obsoleted_by): ditto
4665 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
4667 * buffer.C (insertErtContents): add params are to InsetERT
4668 (parseSingleLyXformat2Token): add code to check if a paragraphs
4669 layout really exist.
4670 (parseSingleLyXformat2Token): add params to several inset
4672 (asciiParagraph): remove lowercase, do the layout comparisons with
4675 * BufferView_pimpl.C (cursorNext): first -> first_y
4676 (resizeCurrentBuffer): first -> first_y
4677 (updateScrollbar): first -> first_y
4678 (scrollCB): first -> first_y
4679 (workAreaMotionNotify): first -> first_y
4680 (workAreaButtonPress): first -> first_y
4681 (checkInsetHit): first -> first_y
4682 (cursorPrevious): first -> first_y
4683 (cursorNext): first -> first_y
4684 (Dispatch): add buffer_->params to severl inset contructors
4686 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4688 * lyxlayout.C (Read): remove some debug info that I forgot.
4690 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
4691 clean up the code slightly.
4692 (makeLinuxDocFile): ditto
4693 (makeDocBookFile): ditto
4695 * text2.C: layout as string
4697 * text.C: layout as string
4699 * paragraph_pimpl.C: layout as string
4701 * paragraph.[Ch]: layout as string
4703 * lyxtextclasslist.[Ch]: layout as string
4705 * lyxtextclass.[Ch]: layout as string
4707 * lyxtext.h: layout as string
4709 * lyxlayout.[Ch]: layout as string
4711 * lyx_cb.C: layout as string
4713 * bufferview_funcs.C: layout as string
4715 * bufferparams.C: layout as string
4717 * buffer.C: layout as string
4719 * LyXView.[Ch]: layout as string
4721 * LaTeXFeatures.[Ch]: layout as string
4723 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
4725 * BufferView_pimpl.C: change current_layout to string, remove
4730 (workAreaButtonRelease): layout as string
4732 * BufferView2.C (unlockInset): adjust
4734 * vspace.C (asLatexCommand): use an explict temp variable.
4736 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
4738 * Makefile.am: use FRONTEND_*
4740 2002-03-01 Juergen Vigna <jug@sad.it>
4742 * tabular.C (SetWidthOfMulticolCell): changed to something better
4743 I hope but still work in progress.
4744 (recalculateMulticolumnsOfColumn): renamed function from
4745 recalculateMulticolCells as it is more appropriate now.
4746 (SetWidthOfCell): calculate multicols better.
4748 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4750 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
4752 * lyxfunc.C (processKeySym): print sequence also if it is
4753 `deleted' (complete)
4755 * kbsequence.C (print): print sequence even if it is deleted
4756 (complete would be a better word, actually).
4758 * lyxfunc.C (dispatch): print complete options after a prefix key
4760 * vspace.C (asLatexCommand): rewrite in a slightly different form.
4762 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
4764 * text2.C (setCharFont): eliminate setCharFont code duplication.
4766 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4768 * BufferView_pimpl.C (Dispatch): remove bogus handling of
4769 LFUN_TABULAR_FEATURE (bug #177)
4771 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
4773 * Makefile.am: remove figure.h
4775 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4777 * Bufferview_pimpl.C:
4789 * text2.C: remove #include "lyx_gui_misc.h".
4791 * LaTeX.C: added #include <cstdio>
4793 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4795 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
4796 that the paragraph following this one can have.
4798 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
4800 * vspace.C (asLatexCommand): fix bogus gcc warning
4802 * Makefile.am (lyx_SOURCES): remove vms_defines.h
4804 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
4806 * text2.C (setLayout): get rid of redundant code
4808 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
4810 * text2.C (incDepth): make sure depth cannot be increased beyond
4813 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
4815 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
4816 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
4818 * PainterBase.h (image):
4819 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
4822 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4826 * BufferView_pimpl.C:
4827 * BufferView_pimpl.h:
4847 * sp_spell.C: remove fig inset, and the crap house of
4848 cards that follows it
4850 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4856 * nt_defines.h: move .h into support/
4858 * vms_defines.h: remove
4860 * WorkArea.C: add space in debug output
4864 * buffer.C: add WITH_WARNINGS
4868 * bufferlist.C: s/retrive/retrieve/, add docs
4879 * lyxgui.C: add ID to X error handler
4881 * lyxtestclass.c: fix typo
4883 2002-02-26 Juergen Vigna <jug@sad.it>
4885 * tabular_funcs.C (write_attribute): changed so that some default
4886 attributes are not written at all.
4887 (getTokenValue): set default values before trying to read the
4888 value so we have the return value always set as default if we don't
4889 find the token we search for.
4891 * tabular.C (Write): write bools as bools not as strings!
4893 2002-02-22 Juergen Vigna <jug@sad.it>
4895 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
4896 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
4898 * text.C (leftMargin): don't add an indent for paragraphs inside
4899 tabular cells (fix #208).
4901 2002-02-21 José Matos <jamatos@fep.up.pt>
4903 * tabular.C (docBook): fixed support for long tables.
4905 2002-02-20 Juergen Vigna <jug@sad.it>
4907 * text2.C (getFont): get the drawing font of the Inset if this
4908 paragraph is inside an inset (only important for InsetERT for now).
4910 * buffer.C (insertErtContents): use new lanugage params in ERT
4913 * CutAndPaste.C: commenting out seemingly uneeded code.
4915 2002-02-19 Allan Rae <rae@lyx.org>
4917 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
4918 Iterators might be simple to use but they also get invalidated.
4919 (removeAutoInsets): renamed saved cursor tracking variables and added
4920 some comments to clarify what everything does.
4922 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4929 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
4930 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4933 * vc-backend.h: remove #include "support/syscall.h"
4937 * converter.C: rearrange #includes in Lars' approved fashion.
4939 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
4940 forward declare class Timeout in the header file.
4942 * XFormsView.C: changes due to the above.
4944 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
4947 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
4948 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
4950 2002-02-18 José Matos <jamatos@fep.up.pt>
4952 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
4955 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
4957 * a lot of small ws changes
4958 * add a lot of using std::XXX
4959 * use std construcs some places where approp.
4960 * use some exisint stuff from lyxfunctional where approp.
4961 * Make file changes to use partial linking (lets test this now...)
4963 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4967 remove #include "support/syscontr.h" as it's redundant. Always has been.
4975 change Systemcalls::System to Systemcalls::Wait and
4976 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
4977 No change of functionality, just reflects the stripped down Systemcalls
4980 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
4982 * debug.[Ch]: add a GRAPHICS type to the enum.
4984 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4986 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
4988 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
4991 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4993 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
4994 match the changes below.
4996 * text2.C (toggleInset): if there is not editable inset at cursor
4997 position, try to see if cursor is _inside_ a collapsable inset
5000 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5002 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
5003 document menu has a nice checkbox
5005 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5007 * lyxlength.C (asLatexString): change PW to output as percent of
5010 * lengthcommon.C: change '%' to 't%'
5012 * lyxfunc.C (dispatch): a few comments from Martin
5014 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
5018 * BufferView_pimpl.h:
5019 * BufferView_pimpl.C: clear our selection when X tells us we've lost
5022 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5024 * vspace.C (inPixels): fix compiler warning
5026 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5028 * lyxfunc.C (getStatus): fix status message for disabled commands.
5030 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
5032 * BufferView_pimpl.C: fix crash on close buffer
5033 during selection (#227)
5035 2002-01-27 Herbert Voss <voss@lyx.org>
5037 * buffer.C: link old Figure to new graphic inset
5039 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
5041 * FontLoader.C (getFontinfo): Change the latex font names in order
5042 to match the names of type1inst.
5044 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
5046 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
5048 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
5051 (remove_files_with_extension): ditto
5052 (remove_file): ditto
5055 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
5056 document is smaller than the work area height. Do not initialize
5057 static variables to 0.
5059 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5061 * lyx_gui.C (init): give the toolbar tooltips a normal font.
5063 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
5064 LFUN_LAYOUT_PARAGRAPHS.
5066 * tabular.C (GetCellFromInset): new method. Finds an inset in a
5067 tabular. It is possible to provide a possible cell, which will
5068 typically be the actcell from the corresponding insettabular
5070 * lyxfunc.C (getStatus): small cleanup; disable
5071 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
5074 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5076 * tabular.C (Validate): remove broken optimization (fixes bug #201)
5078 * paragraph.C (startTeXParParams):
5079 (endTeXParParams): new methods. The LaTeX code to
5080 start/end paragraph formatting
5081 (simpleTeXOnePar): call startTeXParParams also when paragraph is
5082 empty (fixes bug #200)
5084 * vspace.C (inPixels): adapt to the change below
5085 (inPixels): [later] more cleanups (remove unused variables)
5087 * lyxlength.C (inPixels): change to use a width and a height as
5090 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5092 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
5093 Replaced with \paperwidth
5095 * DepTable.C (insert): add std:: qualifier
5097 2002-01-18 Allan Rae <rae@lyx.org>
5099 * text2.C (removeRow): add comment. Should other refresh_?? vars be
5102 * text.C (drawInset): Turned out I didn't know enough about how
5103 rebreaking worked. This fixes most of the redraw problems. I see
5104 an occasional cursor trail when a line is broken now and the cursor
5105 placement can seem out by a few pixels also after a rebreak.
5107 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5109 * buffer.C (parseSingleLyXformat2Token): update because minipage
5110 width is now a LyXLength
5112 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
5114 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
5117 2002-01-17 Juergen Vigna <jug@sad.it>
5119 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
5121 * BufferView2.C (lockInset): call edit() so that theLockingInset()
5122 is set correctly and the inset is updated correctly.
5124 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5126 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
5127 the beginning of the loop.
5129 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
5131 * lyxrc.C: improve help for use_scalable_fonts
5133 2002-01-17 Allan Rae <rae@lyx.org>
5135 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
5137 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5139 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
5140 make sure to set their inset_owner to the right value (bug #171)
5142 2001-12-12 Ben Stanley <bds02@uow.edu.au>
5145 * DepTable.C: Implement mtime checking to reduce time spent doing
5148 2002-01-16 Juergen Vigna <jug@sad.it>
5150 * tabular.C (GetAdditionalHeight): one of error fixed.
5152 * lyxrc.C (output): small fix in writing use_pspell.
5154 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
5156 * sp_base.h: #include LString.h
5158 2002-01-16 Allan Rae <rae@lyx.org>
5160 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
5161 Can someone check this please?
5163 * text.C (drawInset): It was possible that p.row would be removed by
5164 breakAgainOneRow upsetting a few other settings. There may be another
5165 small tweak possible by setting need_break_row = 0 when p.row has been
5166 removed but I don't know enough about the logic here.
5168 2002-01-15 Allan Rae <rae@lyx.org>
5170 * text.C (insertChar): removed conditional truism.
5172 * BufferView2.C (removeAutoInsets): More tweaks.
5173 cur_par_prev could be a stray pointer. Check for trailing empty line
5174 in case last line was cur_par and only had an error inset on it.
5176 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5178 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
5181 * vc-backend.C (most methods):
5182 * exporter.C (Export):
5183 * converter.C (convert):
5185 * LyXSendto.C (SendtoApplyCB):
5186 * lyxfunc.C (dispatch):
5190 * lyx_cb.C (AutoSave):
5192 * BufferView_pimpl.C (MenuInsertLyXFile):
5193 * buffer.C (runChktex): use Buffer::filePath().
5195 * buffer.h: rename filename to filename_; rename filepath to
5196 filepath_ and make it private
5197 (filePath): new method
5199 * buffer.C (writeFile): use fileName()
5202 * lyx_main.C (init): fix starting of LyX when the binary is a
5203 link from so,ewhere else.
5205 * minibuffer.C: include <cctype> for isprint
5207 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5209 * buffer.C (parseSingleLyXformat2Token): changes associated with the
5210 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
5211 name clash with InsetCollapsable's width function.
5213 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5215 * lastfiles.C: include <iterator>
5217 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5219 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
5222 * buffer.C (makeLaTeXFile): ditto.
5223 Also make loop operation more transparent.
5225 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5227 * ToolbarDefaults.C: remove trailing comma closing namespace.
5229 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
5231 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
5234 * trans.C (Load): comment out unused variable, allowed.
5236 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5238 * minibuffer.[Ch] (append_char): new method to recieve input from the
5239 drop-down completion browser. If a key was pressed, then recieve this
5240 char and append it to the existing string.
5241 (peek_event): modify the positioning data passed to the completion
5242 browser so that it can be placed above the minibuffer rather than below.
5243 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
5245 * LyXAction.C (init): alloe error-next for readonly documents.
5247 * BufferView2.C (ChangeRefsIfUnique): use standard version of
5250 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5252 * bufferlist.C (readFile): create the buffer _after_ checking that
5255 * lyxfunc.C (verboseDispatch): fix handling of arguments
5257 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
5259 * lyxrc.C: use string::erase() instead of initializing to "".
5262 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
5264 * BufferView_pimpl.h:
5265 * BufferView_pimpl.C:
5268 * text2.C: tell X when we have made a selection for copying
5270 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5272 * BufferView_pimpl.C (MenuInsertLyXFile):
5273 * lyxfunc.C (menuNew):
5275 (doImport): add shortcuts to directory buttons
5277 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
5280 * lyxfunc.C (setStatusMessage):
5281 (getStatusMessage): new methods
5282 (getStatus):use setStatusMessage instead of setErrorMessage
5283 (dispatch): when function is disabled, set error message here
5284 [instead of in getStatus previously]
5286 * BufferView_pimpl.C (workAreaButtonRelease): update
5287 toolbar/menubar here too.
5289 2002-01-13 Allan Rae <rae@lyx.org>
5291 * BufferView2.C (removeAutoInsets): finished off earlier fix.
5292 Now seems indestructible. Remaining task is to audit all other
5293 code affected by deleteEmptyParagraphMechanism. One small quirk
5294 left is that an empty document with an error in the preamble can
5295 be made to report an error but no error box appears. I don't know
5297 (removeAutoInsets): Improved comments.
5299 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
5302 * Thesaurus.C: update for Aiksaurus 0.14
5304 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
5306 * text2.C (firstParagraph): removed member function, all uses
5307 replaces with ownerParagraph
5308 (redoParagraphs): here
5310 (toggleAppendix): here
5311 * BufferView2.C (insertErrors): here
5312 (setCursorFromRow): here
5314 2002-01-13 Allan Rae <rae@lyx.org>
5316 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
5317 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
5318 There is still a way to segfault this although you may have to do this
5319 multiple times: Have an InsetERT with an unknown command in it.
5320 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
5321 <down-arrow>, <Enter> again, View->DVI, BANG!
5323 * text2.C (setCursor):
5324 (deleteEmptyParagraphMechanism):
5325 * lyxtext.h (setCursor):
5326 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
5327 Making use of the return value may help fix other bugs.
5329 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5331 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
5333 * LyXView.C (updateMenubar): call MenuBar::update here
5334 (updateToolbar): but not here
5335 (showState): do not update toolbar/menubar
5337 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
5338 should need to care about that.
5340 * lyxfunc.C (verboseDispatch): simplify a bit
5341 (getStatus): have a version which takes a pseudoaction, and
5342 another which requires a (kb_action,string).
5344 * LyXAction.C (retrieveActionArg): make it work also when action
5345 is not a pseudo-action.
5346 (getActionName): simplify a bit
5349 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5351 * lyxfunc.C (verboseDispatch): new families of methods with
5352 several ways to specify a command and a bool to indicate whether
5353 the command name and shortcut should be displayed in minibuffer
5354 (eventually, we could extend that to a finer bitmask like
5355 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
5356 (dispatch): the pristine dispatch command which just, well,
5357 dispatchs! Note it still sets its result to minibuffer; I'm not
5360 * lyxfunc.h: remove setHintMessage
5362 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
5364 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5366 * BufferView_pimpl.C (specialChar): delete new inset if we have
5367 not been able to insert it.
5369 * kbmap.C: revert to using int instead of kb_action, since all we
5370 are dealing with is pseudo-actions.
5372 * LyXAction.C (searchActionArg): change to return int instead of
5373 kb_action, since the result is a pseudoaction.
5375 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
5377 * buffer.C (insertErtContents): Fix (partially) the font bug.
5379 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
5381 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
5382 as the other one is broken on my machine!
5384 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
5387 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
5389 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
5391 * lyxrc.[Ch]: change names and descriptions of popup font variables to
5392 reflect their actual use. Provide compatibility code for older lyxrc
5395 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
5397 change names of popup font variables in line with the changes to lyxrc.C
5399 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5401 * buffer.C (asciiParagraph): avoid outputing a word twice after
5404 * lyxrc.C (getDescription): document that document_path and
5405 template_path can be empty.
5407 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5409 * LaTeXFeatures.C (getMacros):
5410 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
5412 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
5414 * LaTeXFeatures.C (useFloat): require "float" here instead of in
5416 (getPackages): rename feature "floats" to "float". Use an array to
5417 iterate over 'simple' features (i.e. just a \usepackage). Add
5418 handling of "amsmath" (renamed from "amsstyle").
5420 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
5422 * LaTeXFeatures.C (require): Prevent duplicate entries in the
5425 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
5427 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
5428 FuncStaus::FuncStatus & FuncStaus::some_method().
5430 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5432 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
5433 of the func_satus stuff. Edited and massaged in various ways by
5436 * lyxfunc.C (getStatus): use FuncStatus
5438 2002-01-08 Juergen Vigna <jug@sad.it>
5440 * text.C (nextBreakPoint): use function Inset::isChar().
5442 * paragraph.C (TeXOnePar): use function
5443 Inset::forceDefaultParagraphs.
5445 * buffer.C (latexParagraphs): use function
5446 Inset::forceDefaultParagraphs.
5448 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5450 * lyx_gui.C (init): set the style of the menu popups to
5451 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
5453 2002-01-07 Juergen Vigna <jug@sad.it>
5455 * text.C (setHeightOfRow): small fix
5456 (prepareToPrint): don't look at alignment if we don't have the place
5459 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5461 * box.C: New file. Move the Box methods and functions out of box.h,
5462 following Lars' suggestion.
5464 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
5466 * box.h: #include "support/LOstream.h", needed for inlined function.
5469 * lyxtextclasslist.C: added some using std declarations.
5471 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
5473 * box.h: make signed dimensions to allow insets wider than
5474 the screen (bug #162)
5476 * BufferView_pimpl.C: add some insetHit debug
5478 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5480 * vc-backend.C: add FIXME
5482 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5484 * lyxfunc.C (getStatus): enable code for showing math font status
5487 2002-01-07 Juergen Vigna <jug@sad.it>
5489 * text.C (nextBreakPoint): removed debug output not needed anymore.
5491 2002-01-06 Juergen Vigna <jug@sad.it>
5493 * text.C (nextBreakPoint): fixed up this function we had this bug
5494 since ever but now hopefully we break row better.
5495 (insertChar): we have to check if an inset is the next char as it
5496 could now happen that a large inset is causing a break.
5498 2002-01-05 Juergen Vigna <jug@sad.it>
5500 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
5501 if it doesn't like to be drawed.
5503 2002-01-04 Juergen Vigna <jug@sad.it>
5505 * BufferView2.C (lockInset): forgot to set a cursor.
5507 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
5509 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
5514 * form_maths_panel.C:
5515 * form_maths_panel.h:
5516 * form_maths_panel.fd: implemented sub- and super- buttons in math
5519 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
5520 (or ^ space) to be used as in TeX (req'd by André).
5522 * lyxfunc.C: Allow ^ and _ again to be used both as
5523 super/subscript (mathed) and as themselves (in text).
5525 2002-01-03 Allan Rae <rae@lyx.org>
5527 * LyXView.C (updateWindowTitle): Setup a short icon title of either
5528 "LyX" or the filename of the current buffer if it has one. This is a
5529 modified form of John Levon's patch.
5531 * XFormsView.C (setWindowTitle): also set icon title.
5533 * LyXView.h (setWindowTitle): signature changed.
5534 * XFormsView.h (setWindowTitle): ditto.
5536 2002-01-02 Juergen Vigna <jug@sad.it>
5538 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
5540 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5542 * screen.C (topCursorVisible): introduce a temp var for
5543 text->cursor.row(), handle the case where this row is null. (kindo
5546 * text2.C (setCursor): add a couple of asserts.
5548 * paragraph.h (inset_iterator): add -> operator
5550 * paragraph.[Ch] (autoDeleteInsets): remove member function
5552 * BufferView2.C (removeAutoInsets): rewrite to handle the old
5553 cursor pos correctly and handle inset deletion by itself.
5554 (insertErrors): move iterator declaration out of for expression
5556 * lyxtextclass.C: add <algorithm>
5558 * Makefile.am: added the new files to sources, removed layout.C
5560 * layout.C: removed file
5562 * layout.h: remove LYX_DUMMY_LAYOUT
5564 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
5568 * lyxtextclass.[Ch]:
5569 * lyxtextclasslist.[Ch]: new files
5571 * include order changes to a lot of files, also changes because of
5574 2001-12-27 Juergen Vigna <jug@sad.it>
5576 * buffer.C (asciiParagraph): more fixes.
5578 * tabular.C (ascii): make ascii export support export of only the
5579 data separated by a column-delimiter.
5580 (ascii): better support for ascii export.
5582 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
5584 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5586 * tabular_funcs.C: use a "using std::getline" instead of the
5587 previous fix from Angus (necessary for cxx + lyxstring)
5589 2001-12-24 Juergen Vigna <jug@sad.it>
5591 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
5593 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
5594 problems. First check a minipage also if we have some ert-contents
5595 (not only on par->size(), second set the right depth of the paragraph
5596 on the relink to the root-paragraph-list!
5598 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
5599 which then did not anymore update the main paragraphs on undo/redo!
5601 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5603 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
5604 code. Support all font-changing funcs (even those which are not in
5605 menu currently). Support for reporting font settings in
5606 mathed (disabled until Andre provides a function on mathed's side).
5608 * func_status.h (toggle): small helper function to set toggle
5611 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
5613 * tabular_funcs.C: getline -> std::getline
5615 2001-12-21 Juergen Vigna <jug@sad.it>
5617 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
5618 accessed and could be 0 (I couldn't generate this but it seems
5621 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
5623 * tabular_funcs.C: add LIstream.h, move write_attribute to..
5624 * tabular_funcs.h: here and include iosfwd
5626 2001-12-20 Juergen Vigna <jug@sad.it>
5628 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
5629 inside inset but undo_par was.
5631 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5633 * Thesaurus.C: always include <config.h> in sources.
5637 * box.h: do not include <config.h> in header files
5639 * text.C (paintLastRow): remove unused variable
5641 * text.C (transformChar):
5643 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
5646 * font.C (width): rewrite to use uppercase() instead of
5649 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
5651 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
5653 * lyxfind.C: clean up of find failure position change
5655 2001-12-20 Juergen Vigna <jug@sad.it>
5657 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
5659 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
5660 (TeXRow): added to LaTeX a single tabular row.
5661 (TeXLongtableHeaderFooter): added to output LT-h/f data.
5662 (Latex): simplified and finally good LT-h/f support.
5663 (various_functions): just small adaptions for LT-h/f support.
5665 * tabular_funcs.[hC]: added and moved here all not classfunctions
5668 2001-12-19 Juergen Vigna <jug@sad.it>
5670 * tabular.[Ch]: better support for longtabular options (not finished
5673 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5675 * text.C (paintLastRow): use the label font instead of the font of
5676 the last character to compute the size of *_BOX. This makes more
5677 sense and avoids a crash with empty paragraphs.
5678 Use Painter::rectangle to draw EMPTY_BOX.
5680 2001-12-19 Juergen Vigna <jug@sad.it>
5682 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
5683 the paragraphs if the replaced paragraph is not the first one!
5684 Tried to delete not used paragraphs but does not work yet so for
5685 now it's inside #ifdef's and by default off!
5687 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5689 * MenuBackend.C: include "lyx_main.h" instead of declaring
5690 lastfiles (actually was declared as LastFiles* instead of a
5693 2001-12-17 Juergen Vigna <jug@sad.it>
5695 * tabular.C (AppendColumn): applied John's fix
5697 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
5701 * BufferView_pimpl.h:
5702 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
5705 * box.h: new start of class for above
5707 * lyxfunc.C: ignore space-only minibuffer dispatches.
5708 Show the command name when it doesn't exist
5710 * minibuffer.C: don't add empty lines to the history
5712 * minibuffer.C: add a space on dropdown completion
5714 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
5716 * text.C: fix line above/below drawing in insets
5718 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
5720 * lyxlength.C (LyXLength): Initialize private variables.
5722 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
5724 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
5725 when inserting error insets.
5727 2001-12-13 Juergen Vigna <jug@sad.it>
5729 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
5730 actually sometimes the before-paragraph.
5731 (setUndo): don't clear the redostack if we're not actually undoing!
5733 2001-12-06 Juergen Vigna <jug@sad.it>
5735 * undo_funcs.C (textHandleUndo): well after John's hint I got here
5736 and fixed redoing of main paragraph, so we can use it now ;)
5738 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
5740 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5742 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
5745 2001-12-13 André Pönitz <poenitz@gmx.net>
5748 * undo_func.C: minor cleanup
5750 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5752 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
5753 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
5754 font in urw-fonts package which is marked as -urw-fontspecific and
5755 does not work (incidentally, changing the encoding in the
5756 fonts.dir of this package to -adobe-fontspecific fixes the
5759 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
5760 is a crash when undoing first paragraph (Juergen, please take a
5761 look). THis does not mean the undo fix is wrong, just that it
5764 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
5765 the (Paragraph*) version when needed instead of duplicating the
5768 * text.C (workWidth): use Inset::parOwner to find out where the
5769 inset has been inserted. This is a huge performance gain for large
5770 documents with lots of insets. If Inset::parOwner is not set, fall
5771 back on the brute force method
5773 * paragraph_pimpl.C (insertInset):
5774 * paragraph.C (Paragraph):
5775 (cutIntoMinibuffer): set parOwner of insets when
5776 inserting/removing them
5778 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5780 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
5786 * mathed/formulabase.C:
5787 * mathed/math_cursor.[Ch]:
5788 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
5791 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5793 * lyxlength.[Ch] (operator!=): new function
5795 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5797 * text.C (workWidth): use Inset::parOwner to find out where the
5798 inset has been inserted. This is a huge performance gain for large
5799 documents with lots of insets. If Inset::parOwner is not set, fall
5800 back on the brute force method
5802 * paragraph_pimpl.C (insertInset):
5803 * paragraph.C (Paragraph):
5804 (cutIntoMinibuffer): set parOwner of insets when
5805 inserting/removing them
5807 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
5809 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5811 * tabular-old.C (getTokenValue):
5812 * tabular.C (getTokenValue):
5813 (write_attribute): new versions for LyXLength
5814 (everywhere): adjust the use of widths
5816 * tabular.h: change the type of widths from string to LyXLength
5818 2001-12-11 Ben Stanley <bds02@uow.edu.au>
5820 * paragraph.C: fixed missing line number count when exporting
5821 Environments to LaTeX file
5823 * buffer.C: added informational message for checking line numbers.
5825 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5827 * text2.C (deleteEmptyParagraphMechanism): if there is only one
5828 paragraph, do the 'double space' part, but not the 'empty
5831 * text.C (workWidth): small optimization
5832 (getLengthMarkerHeight): use minimal size for negative lengths.
5834 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
5836 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
5838 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
5840 2001-12-11 André Pönitz <poenitz@gmx.net>
5843 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
5845 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5847 * text2.C: keep selection on a setFont()
5849 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5851 * lyx_cb.C: another bv->text misuse, from insert label
5853 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5856 * kbsequence.C: re-instate nmodifier mask
5858 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
5860 * lyx_main.h: make lyxGUI private.
5862 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5864 * lyxfind.C: place the cursor correctly on failed search
5866 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5868 * text.C (getLengthMarkerHeight): for small heights, the arrows
5869 are not always on top/bottom of the text
5870 (drawLengthMarker): smaller arrows; take the left margin in
5871 account; draw also vfills.
5873 (paintLastRow): remove special code for vfill and standard spaces,
5874 since everything is handled in drawLengthMarker now.
5876 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5878 * buffer.C (insertErtContents): try to handle font and language
5879 interaction a bit better.g
5881 * ColorHandler.C (updateColor): change the hash to cover the whole
5882 LColor enum, ws cleanup
5883 (getGCLinepars): ditto
5884 (getGCLinepars): only lookup in the linecache once.
5886 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
5888 * iterators.C (operator++): Make the iterator more robust
5890 * BufferView2.C (removeAutoInsets): Use paragraph iterators
5892 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
5894 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5897 * text.C: better added space drawing
5899 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5902 * BufferView2.C: fix layout combo update on inset unlock
5904 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5906 * Makefile.am: don't compile unused files
5908 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5912 * LyXAction.C: remove old LFUN_LAYOUTNO
5914 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5916 * paragraph_pimpl.h:
5917 * paragraph_pimpl.C: isTextAt() doesn't need font param
5919 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5922 * lyxlex.C: little cleanup
5924 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5926 * BufferView_pimpl.C: fix insertAscii for insets
5928 2001-12-05 Juergen Vigna <jug@sad.it>
5930 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
5931 set the right font on the "multi" paragraph paste!
5933 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5939 * lyxlength.C: remove out-commented code.
5955 * vc-backend.C: change "while(" to "while ("
5957 * lyxlength.[Ch]: add zero function to check if length is zero or
5959 * lyxgluelength.C: use it
5961 2001-12-05 Allan Rae <rae@lyx.org>
5963 * lyxlength.C: Attempted a fix for the abs(int) header selection.
5964 Works for 2.95.3, from what I understand of Garst's reports this should
5965 work for other g++ versions. We're screwed if the abs(int) definition
5966 changed between bugfix releases of gcc.
5968 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5970 * text.C: fix chapter label offset !
5972 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
5975 * text.C: fix hfill at end of line, clean up
5977 2001-12-04 Juergen Vigna <jug@sad.it>
5979 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
5980 that we force an update of the inset and it's owners if neccessary.
5982 2001-12-03 Juergen Vigna <jug@sad.it>
5984 * text.C (rowLast): simplified code
5986 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
5988 * lyxfunc.C: fix show options on timeout
5990 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5992 * screen.C (topCursorVisible): scroll half a page when the cursor
5993 reached top of bottom of screen
5995 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
5997 * minibuffer.C: deactivate on loss of focus
5999 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6001 * vspace.[Ch] (operator!=): add operator.
6003 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
6005 * BufferView_pimpl.C: refuse to open an inset when
6006 there's a selection.
6008 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
6010 * BufferView_pimpl.C: allow to click on RHS of full row insets
6012 2001-11-30 Juergen Vigna <jug@sad.it>
6014 * tabular.C (LyXTabular): add a same_id to set the same id's in the
6015 insets for undo reasons.
6017 2001-11-28 André Pönitz <poenitz@gmx.net>
6019 * vspace.[Ch]: cosmetical changes
6021 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6031 * kbsequence.C: part re-write of old kb code
6034 * WorkArea.C: remove Lgb_bug_find_hack
6036 2001-11-30 José Matos <jamatos@fep.up.pt>
6038 * buffer.C (makeDocBookFile): add a comment to point a hack.
6039 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
6040 Fixed a double write of labels.
6042 2001-11-29 Ben Stanley <bds02@uow.edu.au>
6045 * LaTeX.h Fixed bug in LaTeX class where it would not
6046 re-run latex if no depfiles were changed, but the .dvi was removed.
6048 2001-11-28 André Pönitz <poenitz@gmx.net>
6050 * all the files from the change on 2001/11/26:
6051 use lyx::layout_type instead of LyXTextClass::size_type
6052 use lyx::textclass_type instead of LyXTextClassList::size_type
6054 2001-11-29 Juergen Vigna <jug@sad.it>
6056 * text.C: added support for paragraph::isFreeSpacing()
6058 * buffer.C: same as above
6060 * paragraph.h: inserted isFreeSpacing() function to enable
6061 FreeSpacing inside InsetERT.
6063 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
6064 of the paragraph's in the cut/copy buffer to 0!
6066 * text2.C (removeRow): remove the assert as it can!
6068 * lyxtext.h: added helper function firstRow returning firstrow and
6069 made firstrow private again.
6071 * BufferView2.C (lockInset): don't relock if we're already locked!
6073 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
6075 (removeRow): added Assert::(firstrow)
6077 * debug.C: forgot to add INSETTEXT here.
6079 2001-11-28 Juergen Vigna <jug@sad.it>
6081 * sp_spell.C (initialize): changed error text to more general
6082 spellchecker command use (not only ispell!)
6084 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
6086 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
6088 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6090 * vspace.C: initialise lyxgluelength on failure
6092 2001-11-28 Allan Rae <rae@lyx.org>
6094 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
6095 declaration & definition that looks like a function declaration.
6097 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6099 * BufferView2.C (copy):
6100 (copyEnvironment): do not clear the selection when doing a copy.
6102 * text.C (paintFirstRow): compilation fix
6104 2001-11-27 Ben Stanley <bds02@uow.edu.au>
6106 * tabular.C (Latex): correct line count when writing latex.
6108 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
6110 * paragraph_pimpl.h:
6111 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
6114 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
6118 * LColor.C: change vfillline->added_space
6120 * text.C: add markers and text for added space
6122 * vspace.C: fix comment
6124 2001-11-28 André Pönitz <poenitz@gmx.net>
6126 * paragraph.C: whitespace changes
6127 * all the other files from the change on 2001/11/26:
6128 change *::pos_type into lyx::pos_type
6130 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
6132 * buffer.C (parseSingleLyXformat2Token): Set the language to the
6133 language of the document when inserting error insets.
6135 2001-11-26 André Pönitz <poenitz@gmx.net>
6137 * BufferView_pimpl.[Ch]:
6145 * paragraph_pimpl.[Ch]:
6148 * text2.C: reduce header dependencies, introduce type for positions
6150 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6152 * <various>: change to use Alert.h
6154 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
6156 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
6157 when encountering an unknown token.
6158 (readLyXformat2): Show an error message if there were unknown tokens.
6160 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
6163 * BufferView_pimpl.C:
6167 * text2.C: use par->isInset()
6169 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
6171 * paragraph_pimpl.h:
6172 * paragraph_pimpl.C: cleanup
6174 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6176 * text2.C (removeRow):
6177 * text.C (setHeightOfRow): remove useless (and costly) call to
6180 2001-11-20 Allan Rae <rae@lyx.org>
6182 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
6183 Now need Inset*::checkInsertChar() to return true for appropriate
6184 cases so that the characters in the minibuffer will actually be
6187 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
6189 * text.C: change the order of the includes.
6190 (workWidth): initialize it at once.
6191 (workWidth): make maxw unsigned
6192 (setHeightOfRow): remove unused variable (inset)
6193 (selectSelectedWord): remove unused variable (inset)
6194 (paintRowText): fix drawing of hfill characters, and clean up a bit.
6196 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6198 * lyxserver.C (emergencyCleanup): do not try to close pipes if
6199 server is not running.
6201 (closeConnection): add debug info when server is disabled.
6203 * ColorHandler.C (getGCForeground): send debug message to GUI
6206 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
6208 * kbmap.C (bind): modify because return conventions of
6209 kb_sequence::parse have changed.
6211 * kbsequence.C (parse): only ignore spaces and not any stupid
6212 control character. This avoids tests like s[i] <= ' ', which are
6213 guaranteed to fail with 8bit characters and signed chars.
6214 Change return code to string::npos when there have been no error
6215 (0 was a bad idea when error is at first character)
6217 2001-11-14 José Matos <jamatos@fep.up.pt>
6220 * buffer.C (simpleDocBookOnePar): removed unused argument.
6222 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6224 * text.C (selectNextWordToSpellcheck): do not test explicitely for
6225 insets which are part of a word. Paragraph::isLetter takes care of
6226 that now. Use Paragraph::isInset to identify insets.
6227 (selectSelectedWord): do not test for hyphenation break.
6229 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
6230 that protected spaces are considered as spaces.
6232 * paragraph.C (isLetter): cleanup the code for ispell extras; use
6235 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
6238 * lyxserver.C: fix it. and small cleanup.
6240 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6242 * BufferView_pimpl.C: use inline helpers
6245 * LaTeXFeatures.C: fix typos
6248 * Spacing.C: move spacing_string into class
6250 * ToolbarDefaults.C: move stuff into namespace anon
6252 * layout.h: update enum
6254 * lyxfunc.C: use better debug
6256 * minibuffer.h: fix typo
6260 * WorkArea.C: add and use Debug::WORKAREA
6264 * text2.C: code re-organisation, inline helpers
6266 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
6268 * Layout.C: replaced a few cases of std::vector.size() == 0 with
6269 std::vector.empty().
6271 2001-11-09 Allan Rae <rae@lyx.org>
6273 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
6274 '\n's after tables. Tabular and ERT inset work now makes this no
6277 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
6280 * minibuffer.C: fix crash, improve drop-down completion
6282 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
6285 * lyxserver.C: invalidate fd's when doing endPipe()
6287 2001-11-08 José Matos <jamatos@fep.up.pt>
6289 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
6290 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
6293 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
6295 2001-11-07 José Matos <jamatos@fep.up.pt>
6298 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
6301 * buffer.C (sgmlOpenTag):
6302 * buffer.C (sgmlCloseTag): removed debug info.
6304 * buffer.h (sgmlOpenTag):
6305 * buffer.h (sgmlCloseTag): made public.
6307 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6309 * buffer.C (saveParamsAsDefaults):
6310 * lyx_cb.C (MenuLayoutSave): remove
6312 * LyXAction.C (init):
6314 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
6316 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6318 * buffer.C (setPaperStuff): removed from here...
6320 * bufferparams.C (setPaperStuff): ... and moved there.
6322 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
6326 * XFormsView.C: add support for drop-down completion
6328 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
6330 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
6333 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6335 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
6338 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
6340 * lyx_main.C: change ref to known bugs
6342 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
6344 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
6345 to work around older babel problems.
6347 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
6349 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
6351 2001-10-24 Juergen Vigna <jug@sad.it>
6353 * tabular-old.C (ReadOld): below variable changes reflected.
6355 * tabular.[Ch]: added ltType struct for longtable header/footer
6356 defines and changed all instances where they are used. Added
6357 future support for double top/bottom rows.
6359 2001-10-24 José Matos <jamatos@fep.up.pt>
6361 * buffer.h (docbookHandleCaption):
6362 * buffer.C (docbookHandleCaption): removed unused function.
6363 (makeDocBookFile): moved docbook supported version to v4.1.
6365 2001-10-24 José Matos <jamatos@fep.up.pt>
6368 * tabular.C (docbookRow): new function to export docbook code of a row.
6369 (DocBook): now honors the longtable flags.
6371 2001-10-23 José Matos <jamatos@fep.up.pt>
6374 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
6375 of the lyx defined sgml entities used in a docbook/linuxdoc document.
6377 * buffer.C (makeLinuxDocFile):
6378 (makeDocBookFile): reworked the preamble, more clean, and with
6379 support for lyx defined entities. Changed the document declaration
6380 to be more XML friendly.
6382 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
6383 if we need to output XML that should be done with a filter.
6385 2001-10-22 Juergen Vigna <jug@sad.it>
6387 * sp_pspell.h (class PSpell): add alive function needed in the
6388 controller to see if the spellchecker could be started.
6390 2001-10-22 Juergen Vigna <jug@sad.it>
6392 * buffer.C (insertStringAsLines): modify the font for inserting
6393 chars in certain conditions by calling checkInsertChar(font).
6395 2001-10-19 Juergen Vigna <jug@sad.it>
6397 * text.C (workWidth): use getRow instead of wrong algorithm.
6398 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
6400 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
6405 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
6407 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6409 * text.C (workWidth): do not search for the exact row when
6410 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
6411 optimization for big documents.
6413 2001-10-18 Juergen Vigna <jug@sad.it>
6415 * text.C (workWidth): new function with added Inset * parameter.
6417 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6419 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
6421 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
6422 change return type of getColumnNearX.
6425 * text.C (changeRegionCase): use uppercase/lowercase instead of
6428 (rightMargin): simplify code by factoring out the uses of
6433 (appendParagraph): use Paragraph::size_type
6435 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6437 * vspace.C (asLatexString): add a missing break
6439 2001-10-15 Herbert Voss <voss@perce.de>
6441 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
6443 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6445 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
6448 2001-10-10 André Pönitz <poenitz@gmx.net>
6450 * lyxfunc.C: removed greek_kb_flag.
6452 2001-10-10 Herbert Voss <voss@perce.de>
6454 * lyx_main.C: delete global string help_lyxdir.
6456 2001-10-09 Herbert Voss <voss@perce.de>
6458 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
6460 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
6462 * lyx_main.C: added global string help_lyxdir.
6464 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
6466 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
6468 * lyxrc.C (set_font_norm_type): support iso8859-4
6470 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
6472 * LaTeX.C (deplog): add another regex for MikTeX
6474 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
6476 * lyxrc.C (set_font_norm_type): support iso8859-3
6478 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6480 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
6482 * LaTeXFeatures.C: remove special case of french and index
6484 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
6485 before \begin{document}). This solves several incompatibilities.
6487 2001-10-03 Garst Reese <reese@isn.net>
6489 * lyx_cb.C: change CheckTex error msg.
6491 2001-10-03 José Matos <jamatos@fep.up.pt>
6493 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
6495 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6497 * .cvsignore: update
6499 * lyx_main.C (commandLineVersionInfo): use new style version info.
6501 * buffer.C (writeFile):
6504 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
6506 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
6508 * version.h: update to use stuff in version.C
6510 * version.C.in: new file. Contains version information determined
6511 at compile time. This is a merging of version.h and
6514 2001-10-03 Juergen Vigna <jug@sad.it>
6516 * BufferView_pimpl.C (update): don't change "dirty" status in
6519 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
6521 * WorkArea.C (c-tor): re-position version string slightly.
6523 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
6525 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
6526 revert to previous code.
6528 WorkArea.[Ch]: (show, destroySplash): methods removed.
6530 WorkArea.C: rework code so that it's an amalgam of the codes before and
6531 after the splash screen was moved to WorkArea.
6533 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6536 * vspace.C (inPixels):
6539 * buffer.C (insertStringAsLines):
6540 (asciiParagraph): fix types to be large enough
6542 * lyxlex_pimpl.h: change member status from short to int
6544 * layout.h: fix type of endlabeltype
6547 * kbsequence.C (parse): change return type to string::size_type
6549 * LaTeX.C (updateBibtexDependencies): comment out unneeded
6552 * Bullet.C (bulletSize):
6553 (bulletEntry): do not use short ints as parameters
6555 * BufferView2.C (insertLyXFile): change a char to an int.
6557 * WorkArea.C (WorkArea): remove unneeded floats in computation
6559 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
6561 * buffer.C (asciiParagraph): Treat '\\' as other chars.
6563 * paragraph.C (asString): Do not ignore newline/hfill chars when
6564 copying to the clipboard.
6566 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
6568 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
6569 after a multi-line inset.
6571 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
6573 * paragraph.C (validate): Set NeedLyXFootnoteCode
6575 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6577 * lyxfont.C (LyXSizeNames): changed increase-error to increase
6578 and decrease-error to decrease.
6580 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6582 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
6583 it more readable (should be equivalent)
6585 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
6587 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
6589 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6591 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
6592 of a cursor (row, etc.) after a character has been deleted
6593 (deleteEmptyParagraphMechanism): call the method above on _all_
6594 cursors held by the LyXText when a double space has been
6597 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
6599 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
6601 (resizeCurrentBuff): remove code to destroy the old splash dialog.
6603 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
6604 background. Use greyOut() and the new show() methods to toggle between
6605 the foreground and background. Add code to remove the splash after
6606 its initial showing.
6608 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
6609 (create_forms): no longer call Dialogs::showSplash.
6611 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6613 * .cvsignore: add version_info.h
6615 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6617 * version_info.h.in: new file
6619 * Makefile.am: add version_info.h.in
6621 * lyx_main.C (commandLineVersionInfo): use version_info defined in
6622 version_info.h instead of VERSION_INFO
6624 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
6626 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
6627 The ERT inset now returns string().
6629 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
6631 * lyxtext.h, text.C (selectNextWord): renamed as
6632 selectNextWordToSpellcheck.
6634 * text.C (selectNextWordToSpellcheck): Modified to not select
6635 words inside an ERT inset.
6637 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6639 * lyx_cb.C (MenuLayoutSave): change a bit the question
6641 * sp_base.h: include <sys/types.h>
6643 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
6645 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
6647 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
6649 * several files: fix typos in user-visible strings
6651 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6653 * text2.C (pasteSelection): do not set the selection, since it
6654 will be cleared later. Actually, the intent was to fix the way the
6655 selection was set, but I figured rmoving the code was just as good.
6657 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
6659 * FontLoader.C (available): Check if font is available without
6662 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6664 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
6666 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
6668 * lyxrc.[Ch]: added display_graphics variable and associated code.
6670 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6672 * bufferparams.C (hasClassDefaults): new method. Returns true if
6673 the buffer parameters correspond to known class defaults
6675 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
6677 * XFormsView.C (show): set minimum size to the main window.
6679 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6681 * text2.C (copySelection):
6683 * lyxfind.C (LyXReplace):
6684 * BufferView_pimpl.C (Dispatch): pass the correct flag to
6685 LyXText::selectionAsString.
6687 * paragraph.C (asString): add "label" argument to the second form
6689 * text2.C (selectionAsString): add "label" argument and pass it to
6690 Paragraph::asString.
6692 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6694 * lyx_main.C (commandLineHelp): remove version information
6696 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
6698 * lyx_main.C: add -version commandline option
6700 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
6702 * paragraph.h: make the optional constructor arg required instead.
6703 some modifications to other files because of this.
6705 * minibuffer.C (C_MiniBuffer_peek_event): make it static
6707 * lyxserver.C (C_LyXComm_callback): make it static
6709 * lyx_main.C (error_handler): make it static
6711 * lyx_gui.C (LyX_XErrHandler): make it static
6713 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
6715 * WorkArea.C: make the extern "C" methods static.
6717 * Makefile.am (lyx_LDADD): simplify
6719 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6721 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
6722 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
6724 * LyXAction.C (init):
6725 * lyxfunc.C (dispatch): associated code removal.
6727 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6729 * lyxfont.h (isSymbolFont): shut off warning
6731 * text.C (setHeightOfRow):
6732 (getVisibleRow): fix crash with empty paragraphs which have a
6735 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
6737 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
6740 2001-09-04 José Matos <jamatos@fep.up.pt>
6743 * tabular.C (docbook): rename docBook method to docbook.
6745 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6747 * Makefile.am: add dependencies to main.o.
6749 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
6751 * FontLoader.C (available): Return false if !lyxrc.use_gui
6753 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
6755 * FontInfo.C (query):
6756 * converter.C (view):
6757 * importer.C (Import):
6758 * exporter.C (Export): Can not -> cannot.
6760 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
6762 * BufferView_pimpl.C: allow to create index inset even if
6765 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
6767 * buffer.C (getLists): replace boost::tie code with an explicit pair
6768 as boost::tie can break some compilers.
6770 * iterators.h: Added a std:: declaration to the return type of
6773 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
6775 * lyxrc.C: add help for view_dvi_paper_option, default to safe
6778 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
6780 * iterators.[Ch]: New files. Provide paragraph iterators.
6782 * buffer.C (changeLanguage): Use paragraph iterators.
6783 (isMultiLingual): ditto
6785 * BufferView2.C (ChangeInsets): Use paragraph iterators.
6787 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
6789 * FontLoader.C: Support for cmr font.
6791 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
6793 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
6794 (available): New method.
6796 * FontInfo.C (getFontname): Use scalable fonts even when
6797 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
6800 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6802 * converter.C (Formats::view): reverted! Incorrect fix.
6804 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
6806 * converter.C (Formats::view): only output the -paper option
6807 if the dvi viewer is xdvi, thereby fixing bug #233429.
6809 2001-08-23 Herbert Voss <voss@perce>
6811 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
6813 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
6815 * Spacing.h (Spacing): Set space to Default on in the default
6818 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
6820 * vc-backend.h (RCS::versionString): add RCS to version
6821 (CVS::versionString): add CVS to version
6823 * vc-backend.C (scanMaster): do not add CVS to version.
6824 (scanMaster): do not add RCS to version
6826 * lyxvc.C (versionString): new method
6828 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
6830 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6832 * Spacing.C (set): initialize fval
6834 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
6836 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
6839 2001-08-16 Juergen Vigna <jug@sad.it>
6841 * lyxfunc.C (dispatch): implemented the new FINISHED states.
6843 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6845 * BufferView_pimpl.C:
6848 * text2.C: setParagraph takes linespacing now
6850 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
6852 * LyxAction.C: add internal LFUN_CITATION_INSERT
6854 * LyXView.C: actually apply fix
6856 * bufferlist.C: fix open non-existent file
6858 * lyxfind.C: fix indentation
6860 * lyxfunc.C: remove unneeded assert, fix typo
6862 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
6864 * MenuBackend.C: use "Floatname List"
6866 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
6868 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
6869 when converting LaTeX layout to insetERT.
6870 Generate a non-collapsed float when reading old float
6872 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6874 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
6877 2001-08-13 Juergen Vigna <jug@sad.it>
6879 * text.C (fill): return 0 instead of 20 as this seems to be the more
6882 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
6884 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
6887 2001-08-13 Juergen Vigna <jug@sad.it>
6889 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
6891 (SearchBackward): comment out the unlocking of the inset_owner this
6892 should not be needed!
6894 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
6896 * Many files: Remove inherit_language, and add latex_language
6898 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
6901 2001-08-10 Juergen Vigna <jug@sad.it>
6903 * text.C (prepareToPrint): fixed hfill-width in draw!
6905 * BufferView2.C (selectLastWord): save the selection cursor as this
6906 now is cleared in the function LyXText::clearSelection!
6908 2001-08-08 Juergen Vigna <jug@sad.it>
6910 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
6911 BACKSPACE type functions.
6913 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
6914 is only cutted from the document but not put in the cut-buffer, where
6915 still the old stuff should be.
6917 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
6919 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
6921 * tabular.C (SetWidthOfCell): fixed special case where the width
6923 (LeftLine): handle '|' in align_special.
6925 (LeftAlreadyDrawed): ditto
6926 (SetWidthOfCell): ditto
6928 2001-08-07 Juergen Vigna <jug@sad.it>
6930 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
6932 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6934 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
6935 * lyxlex.[hC]: ditto
6937 2001-08-06 Juergen Vigna <jug@sad.it>
6939 * text.C (getVisibleRow): fix up row clearing a bit.
6941 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6943 * minibuffer.C: make sure the X server sees the changes in the input.
6945 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6947 * paragraph.C (getFont): split into...
6948 (getLabelFont): this
6949 (getLayoutFont): and this
6950 * paragraph_pimpl.C (realizeFont): calling this
6952 * text2.C (getFont): split into...
6953 (getLayoutFont): this
6954 (getLabelFont): and this
6955 (realizeFont): all three calling this
6957 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
6960 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6962 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
6964 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
6966 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
6967 layouts from the Quote inset insertion.
6969 2001-08-03 Juergen Vigna <jug@sad.it>
6971 * BufferView_pimpl.C (update): do the fitCursor only at the end!
6973 * screen.C (drawFromTo): don't call fitcursor here and do the loop
6974 only if status not is already CHANGED_IN_DRAW (second level).
6976 * text.C (draw): don't set the need_break_row when inside an
6979 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6981 * buffer.C (parseSingleLyXformat2Token): handle more latex
6984 * bufferview_funcs.[hC]: change function names to
6985 begin with small char, adjust other files.
6987 2001-08-02 André Pönitz <poenitz@gmx.net>
6990 BufferView_pimpl.C: remove broken special code for math-greek
6992 2001-08-02 Juergen Vigna <jug@sad.it>
6994 * BufferView_pimpl.C (update): redone this function so that we
6995 update the text again if there was a CHANGE_IN_DRAW.
6997 * screen.C (cursorToggle): removed LyXText parameter and recoded.
6998 (drawFromTo): added a new internal bool which is used by draw() and
7000 (general): some cursor drawing problems fixed.
7002 2001-08-01 Juergen Vigna <jug@sad.it>
7004 * lyxfind.C (LyXFind): fixed
7005 (SearchForward): ditto
7006 (SearchBackward): ditto
7008 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
7009 spurius drawing of the cursor in the main area.
7011 * text2.C (status): small fix which could lead to a segfault!
7012 (clearSelection): remove unneeded BufferView param.
7014 2001-08-01 André Pönitz <poenitz@gmx.net>
7016 * lyxfunc.C: small change due to changed mathed interface
7018 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7020 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
7022 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
7024 * lyxfunc.c: fail gracefully if file doesn't exist
7029 * BufferView_pimpl.C: IsDirWriteable() proto changed
7031 * LyXView.C: fix updateWindowTitle() to store the last title
7033 2001-07-31 Juergen Vigna <jug@sad.it>
7035 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
7036 the font (wrong since using of Paragraph::highestFontInRange).
7038 * paragraph.C (highestFontInRange): added a default_size parameter.
7040 * text.C (getVisibleRow): minor clear row changes (still not perfect).
7041 (setHeightOfRow): reformat
7043 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
7045 * converter.[hC] + affected files: move to (inital-char)lowercase
7048 * ParagraphParameters.C (ParagraphParameters): remove commented code
7050 * PainterBase.[Ch]: remove commented code
7052 * LaTeXFeatures.h: add "bool floats" for float.sty
7054 * LaTeXFeatures.C (LaTeXFeatures): init floats
7055 (require): handle float
7056 (getPackages): do it with floats
7058 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7060 * BufferView_pimpl.C (Dispatch): improve handling of
7061 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
7063 * commandtags.h: #include lyxfont.h here temporarily to avoid
7066 * bufferlist.h: include LString.h here.
7068 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7070 * text2.C (getStringToIndex): new method.
7072 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
7074 * *: Reduced header file dependencies all over.
7076 2001-07-30 Baruch Even <baruch@lyx.org>
7078 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
7080 2001-07-29 Baruch Even <baruch@lyx.org>
7082 * buffer.C (readInset): Changed GRAPHICS to Graphics.
7084 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7086 * ParameterStruct.h (endif): add a default constructor to make
7087 sure that all variables is initialized.
7089 * ParagraphParameters.C (ParagraphParameters): adjust
7091 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7093 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
7094 index; also, check that there is something to index, and that it
7095 does not span over several paragraphs.
7096 (doubleClick): use WHOLE_WORD_STRICT for double click.
7098 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
7100 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
7103 2001-07-26 Baruch Even <baruch@lyx.org>
7105 * buffer.C (readInset): Changed to call up InsetGraphics when reading
7106 an InsetFig figure, backwards compatible reading of old figure code.
7108 2001-07-27 Juergen Vigna <jug@sad.it>
7110 * text2.C: font.realize function adaption.
7112 * text.C (draw): add a warnings lyxerr text if needed.
7114 * layout.C: font.realize function adaption.
7116 * language.C: add inherit_language and implement it's handlings
7118 * bufferview_funcs.C (StyleReset): remove language parameter from
7119 font creation (should be language_inherit now).
7121 * bufferparams.C (writeFile): handle ignore_language.
7123 * paragraph.C (getFontSettings): the language has to be resolved
7124 otherwise we have problems in LyXFont!
7126 * lyxfont.C (lyxWriteChanges): added document_language parameter
7127 (update): removed unneeded language parameter
7129 * paragraph.C (validate): fixed wrong output of color-package when
7130 using interface colors for certain fonts in certain environments,
7131 which should not seen as that on the final output.
7133 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
7135 * BufferView_pimpl.C:
7140 * LyXAction.C: add thesaurus support
7143 * lyxfind.C: add "once" parameter, for thesaurus, to not
7144 move to the next match
7146 2001-07-26 Juergen Vigna <jug@sad.it>
7148 * lyxfont.C (realize): honor ignore_language too!
7151 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
7153 * text.C (draw): one place more for ignore_language to not draw
7156 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
7158 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
7160 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7162 * buffer.C (parseSingleLyXformat2Token): a more general fix for
7163 the minipage conversion problem.
7165 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7167 * buffer.C (parseSingleLyXformat2Token): check minipage if we
7170 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7172 * BufferView.h: don't forward declare WorkArea
7174 * BufferView.C: don't include WorkArea.h
7176 2001-07-25 André Pönitz <poenitz@gmx.net>
7180 * lyxfunc.C: new LFUN 'math-space'
7182 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
7184 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
7186 * text2.C (toggleInset): call open/close
7188 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7190 * lyxfunc.C (dispatch): add debug for the disabled case
7192 * font.C (buttonText): make similar to rectText
7194 * buffer.C (readInset): comment out parsing of insetlist and
7197 * PainterBase.C (rectText): small correction
7199 * BufferView_pimpl.C: comment out insettheorem and insetlist
7200 * LyXAction.C: ditto
7201 * commandtags.h: ditto
7203 2001-07-24 Juergen Vigna <jug@sad.it>
7205 * text.C (draw): honor the ignore_language.
7207 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
7209 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7211 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
7214 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7216 * lyxtext.h: remove unused (and unimplemented) methods
7218 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7220 * text.C (getVisibleRow): honor background color
7223 * Painter.h: remove default color argument for fillRectangle
7225 * text.C (backgroundColor): new method
7227 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7229 * text.C (getVisibleRow): adjust
7231 * font.[Ch] (rectText): new method, metrics
7232 (buttonText): new method, metrics
7234 * PainterBase.[hC]: make rectText and buttonText always draw and take
7237 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7239 * ToolbarDefaults.C (read):
7240 * MenuBackend.C (read): allow escaping in all strings
7242 * BufferView_pimpl.C (insertAndEditInset): new method.
7243 (Dispatch): use insertAndEditInset whenever appropriate.
7245 * BufferView_pimpl.C (insertNote): removed
7247 * BufferView_pimpl.C (smartQuote): new method, moved from
7248 BufferView; if an insetquote cannot be inserted, insert a '"'
7251 * BufferView2.C: remove insertCorrectQuote();
7253 * lyxfunc.C (getStatus): Add support for all remaingin
7256 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
7258 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
7259 command (necessary to pass " as parameter of self-insert.
7261 * text.C (selectWordWhenUnderCursor):
7262 (selectWord): add word_location parameter
7263 (selectWordWhenUnderCursor): same + remove special code for word
7265 (selectNextWord): use kind() to guess type of insetspecialchar,
7268 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
7269 (insertErtContents): create ert insets as collapsed.
7270 (readInset): better compatibility code for Info inset.
7272 2001-07-20 Juergen Vigna <jug@sad.it>
7274 * lyxfunc.C (dispatch): use always LyXFind now!
7276 * text2.C (init): add a reinit flag so that the LyXText can be
7277 reinited instead of deleted and reallocated (used in InsetText).
7279 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
7285 2001-07-18 Juergen Vigna <jug@sad.it>
7287 * text.C (selectNextWord): handle insets inside inset by calling
7288 always the bv->text functions so that we can go up the_locking_inset!
7290 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
7291 in strange locations when inside an inset!
7293 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
7294 handling to include insets.
7296 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
7298 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7300 * LyXAction.C (init):
7302 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
7303 LIGATURE_BREAK, since the name is so stupid.
7305 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7307 * buffer.C (readInset): enable reading of new InsetNotes as well as old
7310 * FontLoader.C: remove FORMS_H_LOCATION cruft.
7312 * sp_form.[Ch]: remove.
7314 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
7316 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
7319 * src/buffer.C (readInset): ditto.
7321 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7323 * BufferView_pimpl.C (specialChar): new method. Obsoletes
7324 menuSeparator(), endOfSentenceDot(), ldots() and
7325 hyphenationPoint(), which are therefore removed.
7326 (Dispatch): handle LFUN_HYPHENATION_BREAK.
7328 * LyXAction.C (init):
7329 * commandtags.h: add LFUN_HYPHENATION_BREAK.
7331 * paragraph.C (getWord): removed.
7333 * BufferView_pimpl.C (Dispatch): use last word or selection for
7334 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
7336 * lyx_main.C (queryUserLyXDir): do not ask before creating
7337 user_dir, except if it has been named explicitely.
7339 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
7341 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
7342 a document of zero size.
7344 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
7346 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
7347 approriately in the c-tor and in require().
7348 (getPackages): output the appropriate LaTeX for natbib support.
7350 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
7351 variables "use_natbib" and "use_numerical_citations" when reading the
7353 (readInset): read the various natbib cite commands.
7354 (validate): white-space change.
7356 * bufferparams.[Ch]: new variables "bool use_natbib" and
7357 "bool use_numerical_citations".
7358 (writeFile): output them in the LyX file.
7360 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7362 * lyxfunc.C (getStatus): add support for all the inset insertion
7365 * text2.C (insertInset):
7366 * paragraph.C (insetAllowed):
7367 * BufferView_pimpl.C (insertInset): update to take in account the
7368 renaming of insertInsetAllowed
7370 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
7372 * text2.C (getInset): new method. returns inset at cursor position.
7374 * BufferView_pimpl.C (Dispatch): changes because of this.
7376 * LyXAction.C (init): rename open-stuff to inset-toggle.
7378 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
7380 * text2.C (toggleInset): renamed from openStuff; use
7383 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
7385 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
7387 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
7389 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
7391 * buffer.C (readLyXformat2): Add filename to the error dialog
7393 2001-07-18 Juergen Vigna <jug@sad.it>
7395 * tabular.C (GetCellNumber): put an assert here instead of the check!
7397 2001-07-17 Juergen Vigna <jug@sad.it>
7399 * BufferView_pimpl.C (toggleSelection): adapted too.
7401 * text.C (selectNextWord): adapted for use with insets.
7402 (selectSelectedWord): ditto
7404 2001-07-17 Juergen Vigna <jug@sad.it>
7406 * sp_spell.C (PSpell): fix initialitation order.
7408 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
7410 * paragraph.C: spacing
7412 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
7414 * sp_spell.C: repair language selection for pspell
7416 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7418 * lyxfunc.h: change more methods to begin with lower char.
7420 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
7422 * buffer.C (parseSingleLyXformat2Token): Generate error insets
7423 for unknown layouts.
7425 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
7427 * buffer.C (readLyXformat2): Generate an error dialog if there are
7430 2001-07-16 Juergen Vigna <jug@sad.it>
7432 * sp_spell.C: always compile ISpell part.
7434 * lyxrc.C: added use_pspell entry and it's handling.
7436 2001-07-13 Juergen Vigna <jug@sad.it>
7438 * sp_spell.C: removed double includes.
7440 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
7442 Consistent use of Lsstream.h:
7443 * Lsstream.h: added using std::stringstream for consistencies sake.
7445 * buffer.C: removed using std::stringstream
7447 * lyxfont.C (stateText):
7448 * paragraph.C (asString):
7449 * text.C (selectNextWord, selectSelectedWord):
7450 * text2.C (setCounter):
7451 * vspace.C (asString, asLatexString):
7452 std::ostringstream -> ostringstream.
7454 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7456 * LyXAction.C: add LFUN_HELP_ABOUTLYX
7457 * commandtags.h: add LFUN_HELP_ABOUTLYX
7458 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
7460 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
7462 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
7464 * lyx_gui_misc.C: remove spellchecker
7465 * lyxfunc.C: showSpellchecker
7467 * sp_ispell.h: added
7468 * sp_pspell.h: added
7470 * sp_form.[Ch]: removed
7471 * spellchecker.[Ch]: removed
7473 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
7475 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
7477 (simpleTeXSpecialChars): Simply print the input character without
7478 any special translation if pass_thru is set.
7480 * layout.h: Added bool pass_thru to layout class for being able to
7481 implement pass through of a paragraph for Literate Programming.
7483 * layout.C: add LT_PASS_THRU to LayoutTags enum.
7484 * layout.C (LyXLayout): set pass_thru to flase in constructor.
7485 * layout.C (Read): add "passthru" to list of layout tags and add
7486 code to set the pass_thru boolean when it is read.
7488 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7490 * trans_decl.h: remove allowed from KmodInfo
7492 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
7496 * paragraph_pimpl.C (erase): use boost::prior
7498 * Painter.C (text): use data() instead of c_str() when length is
7500 * WorkArea.C (putClipboard): ditto
7501 * font.h (width): ditto
7503 * BufferView2.C: use it-> instead of (*it). for iterators
7505 * paragraph_pimpl.C: ditto
7506 * paragraph.C: ditto
7507 * minibuffer.C: ditto
7512 * converter.C: ditto
7514 * Variables.C: ditto
7515 * TextCache.C: ditto
7516 * MenuBackend.C: ditto
7517 * LyXAction.C: ditto
7519 * FloatList.C: ditto
7521 * ColorHandler.C (LyXColorHandler): ditto
7523 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7525 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
7527 * text2.C (openStuff): reintroduce this method (which had been
7528 nuked in NEW_INSETS frenzy).
7530 * lyxfunc.C (Dispatch): when an action has not been handled, use
7531 its name in the error message, not its number.
7533 * paragraph.C (inInset): change method name to begin with lowercase.
7536 * text2.C: updates because of this.
7538 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7540 * ToolbarDefaults.C (add): add spaces in error message
7542 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7544 * buffer.C (readLyXformat2): initialize the ert comp. variables.
7545 (readLyXformat2): rename return_par to first_par, use lyxlex's
7546 pushToken and remove the manual push handling.
7547 (parseSingleLyXformat2Token): add another ert comp. variable:
7548 in_tabular, rename return_par to first_par. handle newlines better
7550 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7552 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
7554 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
7556 * text2.C (getParFromID): removed
7558 * buffer.C (getParFromID): new method moved form lyxtext.
7559 * BufferView2.C (insertErrors): adjust
7560 (setCursorFromRow): adjust
7561 * BufferView_pimpl.C (restorePosition): adjust
7562 * lyxfunc.C (Dispatch): adjust
7563 * undo_funcs.C (textUndo): adjust
7565 (textHandleUndo): adjust
7566 (textHandleUndo): adjust
7568 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
7570 * buffer.C: up' the LYX_FORMAT
7572 * lyxfont.h: turn NO_LATEX on as default
7574 * buffer.C (insertErtContents): new methods of tex style compability.
7575 (parseSingleLyXformat2Token): use it several places.
7576 * tabular.C (OldFormatRead): and here
7578 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7580 * text2.C: remove some commented code.
7583 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
7584 * trans.C: changes because of the above.
7586 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
7588 * text2.C (setCounter): Fix counters bug with bibliography layout.
7590 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7592 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
7593 own member functions
7594 (simpleTeXSpecialChars): ditto
7596 2001-07-06 Juergen Vigna <jug@sad.it>
7598 * a lot of files: changed the access to LyXText::status and the
7599 call of undo-functions.
7601 * undo.[Ch]: added a inset_id to the undo informations.
7603 * undo_funcs.[Ch]: added and moved here all undo functions.
7605 * lyxtext.h: give the status enum a weight, made status_ a private
7606 variable and made accessor functions for it, removed the whole bunch
7607 of undo-functions as they are now in their own file, make some
7608 functions publically available. Added function ownerParagraph with
7611 * paragraph.[Ch]: added "bool same_ids" to the constructor,
7612 made InInset() a const function, added getParFromID() function.
7614 * buffer.[Ch]: added const version for inset_iterator functions,
7615 added getInsetFromID() function.
7617 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
7618 changed undo functions for new version.
7620 2001-07-05 Juergen Vigna <jug@sad.it>
7622 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
7623 unknow mechanism does not call the proper constructor but only this
7624 one also if I request the other!?
7626 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7628 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
7630 * text2.C (LyXText): use initialization lists.
7632 * lyxtext.h (Selection): initialize set_ and mark_
7633 (init): remove method
7635 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
7637 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
7639 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7641 * screen.[Ch]: change method names to begin with lowercase
7643 * BufferView_pimpl.C (updateScrollbar): simplify further and
7644 hopefully make it a bit faster.
7646 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7648 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
7649 calling directly xforms functions.
7651 * Painter.C (Painter):
7652 * lyx_cb.C (MenuWrite):
7653 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
7656 * lyx_gui.C: remove bogus guiruntime extern declaration.
7658 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7660 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
7662 (redoDrawingOfParagraph): ditto
7663 (redoParagraphs): ditto
7664 (cutSelection): don't create a object for CutAndPaste use the
7665 static method directly
7666 (pasteSelection): ditto
7668 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
7671 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7673 * modifications to some other files because of this.
7675 * Makefile.am (lyx_SOURCES): add XFormsView
7677 * XFormsView.[Ch]: new files
7679 * LyXView.[Ch]: make LyXView a base class for the gui handling for
7680 the main window. Move the gui dependent stuff to XFormsView
7682 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7684 * tabular.C (GetCellInset): update cur_cell also in the row/col
7685 version of this function.
7687 * lyxfunc.C: no need to include figure_form.h here.
7693 * lyxvc.C: no need to include forms.h here.
7695 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7697 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
7699 * lyxfunc.C (Dispatch):
7701 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
7702 constructor argument.
7704 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7706 * paragraph.C (Paragraph): dont't clear, and just set layout.
7707 (makeSameLayout): use params's copy contructor.
7709 * ParagraphParameters.[Ch] (makeSame): delete method
7711 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
7713 * Variables.[Ch]: fix indentation, rename set to isSet
7715 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
7717 * lyxfunc.C (Dispatch): fix typo
7719 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7721 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
7724 * bufferlist.C: include assert.h for emergencyWrite().
7726 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7728 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
7729 give up at last (bug #425202) !
7731 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
7737 * spellchecker.C: strip spellchecker options and bring up
7738 preferences tab instead
7740 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7742 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
7743 the istringstream constructor
7745 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7747 * paragraph.C (getLayout): fix return value
7749 * paragraph.h: do not declare getLayout as inline.
7751 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
7753 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
7755 * lyxcursor.h (operator<): new func
7756 (operator>): new func
7757 (operator>=): new func
7758 (operator<=): new func
7760 * text.C (changeCase): use selection.start and selection.end
7761 (changeRegionCase): require from to be <= to. Require par to be a
7764 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
7766 2001-06-27 Juergen Vigna <jug@sad.it>
7768 * text.C (cursorLeftOneWord): changed to return the cursor and added
7769 overlay with BufferView * parameter which calls this one.
7771 (selectWord): use new getWord function.
7772 (changeCase): renamed from changeWordCase as and extended to work
7775 * lyxtext.h: added enum word_location
7777 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
7778 changeCase as this operates now also on selections.
7780 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
7782 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
7784 * many files: send debug output to Debug::INFO instead of
7787 * converter.C (View):
7789 (Move): send debug output to Debug::FILES instead of console.
7791 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
7793 * lyxfunc.C (getStatus): use func_status
7795 * func_status.h: new header, describing the results of
7798 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
7801 2001-06-25 The LyX Project <jug@sad.it>
7803 * buffer.C (sgmlOpenTag):
7805 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
7807 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
7809 * text2.C: remove some dead code
7811 * tabular.C (GetCellInset): store the last cell checked (gotten)
7813 * tabular.h: add the helper for the speedup
7815 * lyxtext.h: remove some dead code
7817 2001-06-26 The LyX Project <Asger>
7819 * paragraph.C: Change export to LaTeX of alignment to
7820 \begin{center} and family for better roundtrip work with reLyX.
7822 * Tune the math drawing a bit.
7824 2001-06-25 The LyX Project <Asger>
7826 * LColor.C (LColor): New color for math background. New color
7829 2001-06-25 The LyX Project <jug@sad.it>
7831 * lyxfunc.C (MenuNew): remove extra check for .lyx file
7834 * bufferlist.C (newFile): do not restrict to files ending with
7837 * BufferView_pimpl.C (MenuInsertLyXFile):
7839 2001-06-24 The LyX Project <jug@sad.it>
7841 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
7844 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7846 * lyxtext.h: rename most methods to begin with a small char.
7847 Lots of changes because of this.
7849 * paragraph.C (Paragraph): do not call fitToSize
7850 (erase): call Pimpl::erase
7851 (insertChar): call Pimpl::insertChar
7852 (insertInset): call Pipl::insertInset
7853 (breakParagraph): do not call fitToSize
7854 (breakParagraphConservative): do not call fitToSize
7855 (fitToSize): remove method
7857 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
7859 2001-06-24 The LyX Project <Asger>
7861 * Fix Qt compilation^2
7863 2001-06-24 The LyX Project <jug@sad.it>
7865 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
7866 depthHook(getDepth()-1).
7869 * ParagraphParameters.h:
7870 * ParameterStruct.h: change type of depth to unsigned int ==
7871 depth_type. Many adaptations to other files before of that.
7873 2001-06-24 The LyX Project <Asger>
7875 * Fix Qt compilation.
7877 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
7879 * paragraph.h: renamed several methods to begin with small letter.
7880 several changes to many parts of the code because of this.
7882 2001-06-23 The LyX Project <jug@sad.it>
7884 * text2.C (InsertStringAsLines): renamed from InsertStringA;
7885 rewritten to discard all double spaces when KeepEmpty is off
7886 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
7887 to only handle newlines but not fiddle with spaces and friends.
7889 * lyxfunc.C (MenuNew): when doing 'new from template', use
7890 template_path as default directory
7892 2001-06-23 The LyX Project <Asger>
7894 * Clean-up of header file includes all over
7895 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
7897 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
7899 * paragraph.h: renamed from lyxparagraph.h
7901 2001-06-23 Asger <lyx@violet.home.sad.it>
7903 * Buffer.h: Removed Buffer::resize
7904 * BufferList.h: Removed BufferList::resize
7905 * LyXView.h: Added LyXView::resize. This way, we will only reflow
7906 the document lazily when we change the width, or the font settings.
7908 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7910 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
7912 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7914 * buffer.h: remove out of date comment
7916 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
7919 * screen.C: fix "theoretical" GC leak
7921 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7923 * LaTeX.C (scanAuxFile):
7924 (deplog): remove trailing \r when reading stream (useful under
7927 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
7929 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
7930 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
7931 and BufferView::theLockingInset(Inset*), so should use them and not
7932 access bv_->text->the_locking_inset directly.
7934 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
7936 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
7939 * tex-defs.h: remove old unused file
7941 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
7943 * BufferView_pimpl.C: fix typo, remove minibuffer message
7944 when buffer has loaded
7946 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7948 * lyxfunc.C (Dispatch): use stringstream
7949 (MenuNew): use stringstream
7950 (Open): use stringstream
7952 * importer.C (Import): use stringstream
7954 * bufferview_funcs.C (CurrentState): use stringstream
7956 * LaTeX.C (run): use stringstream
7958 * BufferView_pimpl.C (savePosition): use stringstream
7959 (restorePosition): use stringstream
7960 (MenuInsertLyXFile): use stringstream
7962 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
7975 * vspace.C: removed // -*- C++ -*- as first line.
7978 * version.h: added // -*- C++ -*- as first line.
7980 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7982 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
7984 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
7987 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7989 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
7992 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7994 * gettext.C: include LString.h even when --disable-nls is on.
7996 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
7998 * converter.h (Get): changed argument type from int to
7999 FormatList::size_type to avoid unnecessary conversion.
8001 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
8004 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8006 * gettext.h: include LString.h even when --disable-nls is on.
8008 2001-06-07 Juergen Vigna <jug@sad.it>
8010 * text.C (BreakAgain): subst spaces with tabs.
8012 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
8013 (resizeInsetsLyXText): set force on resizeLyXText.
8015 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8017 * gettext.h (gettext_init):
8018 (locale_init): use a real definition instead of a macro
8020 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
8022 * Bufferview_pimpl.C:
8024 * LColor.C: further lcolor tidies
8026 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8028 * BufferView_pimpl.C (updateScrollbar): simplify.
8030 * BufferView2.C: don't include insets/insetinfo.h, change
8031 prototype for insertInset and call the Pimpl version. let
8032 updateInset call Pimpl version.
8034 * BufferView.h: move inset_slept to BufferView::Pimpl, move
8035 gotoInset to BufferView::Pimpl
8037 2001-06-01 Juergen Vigna <jug@sad.it>
8039 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
8040 inside a LockingInset (is the update needed at all?).
8042 2001-05-31 Juergen Vigna <jug@sad.it>
8044 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
8045 here not the old one otherwise how should we compare it afterwards
8048 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8053 * FontInfo.C: bring C functions into global namespace when
8056 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8058 * LString.h: make sure config.h has been loaded before LString.h.
8060 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
8061 (one for each char read by EatLine!).
8063 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
8066 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
8068 * paragraph.C (BreakParagraph): set the inset_owner in the new par
8069 to the same as the par we break from
8071 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
8073 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
8075 * MenuBackend.C (expand): also create menu entries for wide
8076 versions of the floats.
8078 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
8080 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
8082 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
8083 frontends/Makefile.am
8089 * tabular.C (getTokenValue): add std::
8091 * tabular-old.C (getTokenValue): add std::
8092 (getTokenValue): ditto
8093 (getTokenValue): ditto
8095 * screen.C (ToggleSelection): adjust
8097 * lyxtext.h: put selection cursors inside a Selection struct.
8099 * lyxfunc.C (moveCursorUpdate): adjust
8101 * lyxfont.C (latexWriteStartChanges): add std::
8105 * font.h: delete with(char const *, LyXFont const &)
8107 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
8109 * FontInfo.C (getFontname): add std::
8111 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8112 (workAreaButtonPress): adjust
8113 (tripleClick): adjust
8115 (moveCursorUpdate): adjust
8118 * BufferView2.C (gotoInset): adjust
8120 2001-05-30 Juergen Vigna <jug@sad.it>
8122 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
8123 to check pspell I add this as default as I now have new pspell
8124 libraries and they seem to use this.
8126 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
8128 * text2.C (CutSelection): make the cursor valid before the call to
8131 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8133 * kbsequence.C (parse): de-uglify a bit the parsing code, which
8134 relied on 0 terminated strings and other horrors. Bug found due to
8135 the new assert in lyxstring!
8137 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
8140 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
8142 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
8145 * lyxfunc.C (processKeySym): change method of getting to the
8148 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
8149 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
8150 * BufferView_pimpl.[Ch]: here as private methods.
8152 2001-05-28 Juergen Vigna <jug@sad.it>
8154 * text.C (SetHeightOfRow): added the update() call again as it is
8155 needed to initialize inset dimensions!
8157 2001-05-16 Juergen Vigna <jug@sad.it>
8159 * text2.C (SetCharFont): Add new function with BufferView * and
8160 bool toggleall parameters for setting insets internal fonts.
8161 (SetFont): Freeze the undo as we may change fonts in Insets and
8162 all this change should be inside only one Undo!
8164 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
8165 setting font's in insets as for them we have the SetFont function!
8167 2001-05-15 Juergen Vigna <jug@sad.it>
8169 * text2.C (ClearSelection): to be sure we REALLY don't have any
8172 * tabular.C (TeXCellPreamble): fixed the left border problem for
8175 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
8177 * LaTeX.C (deplog): Make sure that the main .tex file is in the
8180 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
8182 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
8183 LFUN_BREAKPARAGRAPH.
8185 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
8186 help test to "internal only", similar for LFUN_INSERT_URL
8188 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
8189 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
8190 auto_region_delete and deadkeys.
8192 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
8195 * LColor.C: remove some dead entries, tidy a little
8197 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
8199 * lyxfunc.C (processKeySym): comment the Escape handling, remove
8201 (Dispatch): implement LFUN_ESCAPE
8203 * commandtags.h: add LFUN_ESCAPE
8205 * LyXAction.C (init): add entry for LFUN_ESCAPE
8207 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
8208 Remove commented code.
8209 (insertNote): moved here
8210 (open_new_inset): moved here
8212 * BufferView[2].[Ch]: move insertNote and open_new_inset to
8215 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8217 * kbmap.C (findbinding): clean it up and make it work correctly.
8219 * lyx_main.C (init): do not pass argc and argv as parameters
8221 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
8223 * buffer.C: fix path for OS/2 & Win32
8227 * lyx_main.C: Added os:: class.
8229 * os2_defines.h: update
8231 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8233 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
8234 better by trying again with reduced state.
8236 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8238 * lyxrc.C (read): print error about invalid key sequence only when
8239 debugging (because not all latinX keysyms are known to some X
8242 * kbsequence.C (getiso): add a few std:: qualifiers
8243 (getiso): comment out extra return statement.
8245 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
8247 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
8249 (Dispatch): enhance the accent inset a bit. (not perfect)
8251 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8253 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
8255 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8257 * bufferlist.C (emergencyWrite): fix assert() call
8259 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
8261 * text.C (InsertChar): Added trivial patch to only send the "you
8262 can not do multiple spaces this way" message once during a
8265 2001-05-08 Baruch Even <baruch@lyx.org>
8267 * Makefile.am: Changed order of libraries to get LyX to link properly
8268 with the gnome frontend.
8270 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8272 * LaTeXFeatures.h: add a std:: qualifier
8274 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
8276 * paragraph.C (String): use stringstream
8278 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8280 * paragraph.C (writeFile): remove footflag arg
8282 * buffer.C (makeLaTeXFile): use stringstream
8283 (latexParagraphs): remove footnot gurba
8285 * LaTeXFeatures.C (getPackages): use stringstream
8286 (getMacros): likewise
8287 (getTClassPreamble): likewise
8288 (getFloatDefinitions): new method
8290 * paragraph.C (writeFile): reindent
8293 * WorkArea.h: revert the xpos + etc changes.
8295 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
8297 * lyxparagraph.[Ch]: add copy constructor, remove Clone
8299 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
8300 (pasteSelection): likewise
8301 * text2.C (CreateUndo): likewise
8303 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8305 * minibuffer.C (peek_event): temporarily reduce the functionality
8306 of the minibuffer (to allow args on lfuns)
8308 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
8309 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
8311 * buffer.C (readInset): add compability reading of old float
8312 lists, add reading of new style float list.
8313 (readInset): avoid reevaluation of inscmd.getCmdName()
8314 (getLists): reindent
8316 * MenuBackend.C (MenuItem): implement parsing of
8317 md_floatlistinsert and md_floatinsert.
8318 (expand::LastFiles): move initalizaton of iterators out of loop,
8320 (expand::Documents): introduce typdedef vector<string> Strings,
8322 (expand::ExportFormats): introduce typedef vector<Format const *>
8323 Formats, and use it.
8324 (expand): implement FloatListInsert and FloatInsert.
8326 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
8327 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
8328 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
8330 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
8332 (Dispatch::LFUN_FLOAT_LIST): implement
8334 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8336 * LaTeX.C (run): Fix problem with --export code.
8338 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8340 * BufferView.[Ch] (workarea): removed.
8341 (getClipboard) new method; wrapper for workarea()->getClipboard()
8343 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
8346 * WorkArea.h (width, height, xpos, ypos): These methods all
8347 returned the dimensions of the work_area sub-area of WorkArea,
8348 resulting in a position error if the WorkArea were resized. Now
8349 return the dimensions of the entire WorkArea.
8351 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
8353 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8355 * LaTeX.C (deplog): correct the syntax of regex reg1
8357 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8359 * undo.C: remove !NEW_INSETS cruft
8361 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8363 * text2.C: remove !NEW_INSETS cruft
8365 * text.C: remove !NEW_INSETS cruft
8367 * tabular.C: remove !NEW_INSETS cruft
8369 * spellchecker.C: remove !NEW_INSETS cruft
8371 * lyxtext.h: remove !NEW_INSETS cruft
8373 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
8375 * lyxfunc.C: remove !NEW_INSETS cruft
8377 * lyxfind.C: remove !NEW_INSETS cruft
8379 * lyx_cb.C: remove !NEW_INSETS cruft
8381 * figureForm.C: remove !NEW_INSETS cruft
8383 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
8385 * buffer.[Ch]: remove !NEW_INSETS cruft
8387 * ToolbarDefaults.C: remove !NEW_INSETS cruft
8389 * CutAndPaste.C: remove !NEW_INSETS cruft
8391 * BufferView_pimpl.C: remove !NEW_INSETS cruft
8393 * BufferView2.C: remove !NEW_INSETS cruft
8395 * BufferView.h: remove !NEW_INSETS cruft
8397 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8399 * Lsstream.h: include LString.h before the sstream headers to
8400 fix problem with gcc 2.95.3 and lyxstring
8402 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8404 * lyx_main.C: add using directives when needed for C functions
8405 declared in std:: namespace.
8407 2001-04-27 Juergen Vigna <jug@sad.it>
8409 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
8410 (SetHeightOfRow): comment out the update call should not be needed!
8412 2001-04-13 Juergen Vigna <jug@sad.it>
8414 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
8415 (LyXTabular): tried to minimize operator= operations (and realized
8416 hopfully Lars wish).
8418 2001-04-27 Juergen Vigna <jug@sad.it>
8420 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
8422 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
8424 * lyxfunc.C (Dispatch): hack to make listof algorithm work
8426 * buffer.C (readInset): hack to make listof algorithm work
8428 * BufferView_pimpl.C: hack to make listof algorithm work
8430 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
8432 * LyXAction.C: removed all !NEW_INSETS cruft
8433 (init): moved lfun_item in method
8435 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
8437 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
8439 * BufferView2.C (theLockingInset): white space.
8441 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
8443 * minibuffer.C: include <iostream>
8445 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
8447 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
8449 * commandtags.h: add LFUN_TRANSPOSE_CHARS
8451 * text.[Ch] (TransposeChars): new method
8453 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
8455 * call message directly through LyXView instead of through LyXFunc
8456 * BufferView2.C: adjust
8457 * BufferView_pimpl.C: adjust
8458 * FontLoader.C: adjust
8460 * bufferview_funcs.C: adjust
8461 * converter.C: adjust
8462 * figureForm.C: adjust
8463 * importer.C: adjust
8465 * lyx_gui_misc.C: adjust
8469 + more files in subdirs
8471 * lyxparagraph.h (size): move up int file
8474 * adjust all uses of Assert to lyx::Assert.
8476 * BufferView2.C (ChangeCitationsIfUnique): adjust for
8477 lyxfunctional in namespace lyx
8478 * layout.C (hasLayout): ditto
8481 (delete_layout): ditto
8482 (NumberOfClass): ditto
8483 * converter.C (GetFormat): ditto
8488 * bufferlist.C (getFileNames): ditto
8489 (emergencyWriteAll): ditto
8492 * MenuBackend.C (hasSubmenu): ditto
8495 * BufferView_pimpl.C (getInsetByCode): ditto
8497 2001-04-18 Juergen Vigna <jug@sad.it>
8499 * vspace.C (asLatexString): fixed the 100% problem.
8501 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8503 * lyxfunc.C (Dispatch):
8505 * minibuffer.h: add a few std:: qualifiers
8507 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
8509 * minibuffer.[Ch]: reimplement so that commands is initiated and
8510 run from lyxfunc, simplified som handling, and made the completion
8511 and history code for complete. wip.
8513 * lyxfunc.C (processKeySym): call message
8514 (miniDispatch): new temporary method
8515 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
8516 (LFUN_MESSAGE): implement
8517 (LFUN_MESSAGE_PUSH): implement
8518 (LFUN_MESSAGE_POP): implement
8519 (initMiniBuffer): the initial/defualt minibuffer message.
8521 * lyxfont.[Ch]: inline some more getters
8523 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
8525 * lyx_gui_misc.[Ch] (WriteStatus): remove method
8527 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
8528 (AutoSave): use LFUN_MESSAGE
8529 (Reconfigure): ditto
8531 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
8533 * figureForm.C: use LFUN_MESSAGE
8535 * converter.C (runLaTeX): use LFUN_MESSAGE
8537 * bufferview_funcs.C: use LFUN_MESSAGE
8539 (changeDepth): ditto
8541 * bufferparams.h: use boost::
8543 * bufferlist.h: inherit privately from noncopyable
8545 * bufferlist.C (loadLyXFile): remove some commented code.
8547 * buffer.C (runChktex): use LFUN_MESSAGE
8549 * ShareContainer.h: inherit privately from noncopyable
8551 * ParagraphParameters.[hC] (depth): inline it.
8553 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
8555 (message): new method
8556 (messagePush): ditto
8558 (show): init minibuffer
8559 (showState): direct call
8561 * LaTeX.[Ch]: inherit privately from noncopyable
8562 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
8563 instead of WriteStatus.
8565 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
8567 * BufferView_pimpl.C (buffer): don't init minibuffer
8568 (workAreaButtonPress): use LFUN_MESSAGE
8569 (workAreaButtonRelease): ditto
8570 (savePosition): ditto
8571 (restorePosition): ditto
8572 (MenuInsertLyXFile): ditto
8573 (workAreaExpose): don't init minibuffer
8574 (update): remove commented code, simplify
8576 * BufferView2.C (openStuff): use LFUN_MESSAGE
8577 (toggleFloat): ditto
8580 (copyEnvironment): ditto
8581 (pasteEnvironment): ditto
8586 (updateInset): remove some commented code
8588 * lastfiles.h: inherit privately from noncopyable
8593 * lyxlex_pimpl.h: ditto
8595 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
8596 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
8597 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8599 * LyXAction.h: inherit privately from noncopyable, add methods
8600 func_begin, func_end, returning iterators to the func map.
8602 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
8603 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
8604 (func_begin): new method
8605 (func_end): new method
8607 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
8609 (copySelection): ditto
8610 (pasteSelection): ditto
8612 * BufferView.C: whitespace change
8613 * BufferView.h: inherit privately from noncopyable
8615 2001-04-16 Allan Rae <rae@lyx.org>
8617 * tabular-old.C (l_getline):
8618 * spellchecker.C (sc_check_word):
8619 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
8620 an unrecognised preprocessor directive. So ensure they're wrapped.
8622 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
8624 * src/exporter.C (Export): Give an error message when path to file
8627 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
8629 * LaTeX.C (deplog): Always check that foundfile exists.
8631 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8634 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
8636 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
8638 * tabular.[Ch] (getLabelList): implement new method
8640 * minibuffer.h: comment ouf setTiimer
8642 * minibuffer.C (ExecutingCB): constify res
8643 (peek_event): constify s
8644 (Set): constify ntext
8645 (Init): constify nicename
8647 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
8649 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
8650 (savePosition): use two params to Minibuffer::Set
8651 (restorePosition): ditto
8653 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8655 * lyx_main.C: include language.h
8657 * Makefile.am (lyx_main.o): add language.h
8659 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8665 * CutAndPaste.C: include gettext.h
8667 * lyxfont.h: remove old hack with ON and OFF.
8670 * lyxfont.h: do not include language.h...
8675 * bufferview_funcs.C:
8681 * paragraph.C: ... but do it here instead
8683 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
8685 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
8687 * tabular.C: small reformat
8689 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
8692 (BreakParagraph): ditto
8693 (SetOnlyLayout): ditto
8696 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
8699 * lastfiles.C: removed most using decl, add std:: where needed
8701 * buffer.C: ws changes
8703 * MenuBackend.C (class compare_format): put into anon namespace
8704 (expand): constify label, names, action, action2
8707 * text.C (SingleWidth): constify font
8708 (IsBoundary): constify rtl2
8709 (GetVisibleRow): constify ww
8711 * LaTeX.C (deplog): constify logfile
8713 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
8715 (workAreaExpose): constify widthChange, heightChange
8717 * lyxrow.C (par): moved
8720 * lyxrow.h: as inlines here
8722 * lyxfont.h (shape): moved from lyxfont.C
8723 (emph): moved from lyxfont.C
8725 * lyxfont.C (LyXFont): use initialization list for all
8727 (shape): move to lyxfont.h as inline
8728 (emph): move to lyxfont.h as inline
8731 2001-04-04 Juergen Vigna <jug@sad.it>
8733 * vspace.C: had to include stdio.h for use of sscanf
8735 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
8738 * BufferView_pimpl.h: remove xforms cruft. Both classes are
8739 independent of xforms.
8741 2001-04-02 Juergen Vigna <jug@sad.it>
8743 * spellchecker.C: fixed namespace placing!
8745 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
8747 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
8748 the LyXParagraph * is 0.
8750 2001-03-29 Juergen Vigna <jug@sad.it>
8752 * vspace.C: added support for %, c%, p%, l%.
8753 (stringFromUnit): added helper function.
8754 (asLatexString): changed to give right results for the %-values.
8756 * buffer.C: convert the widthp in a width%.
8758 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
8760 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
8763 * figureForm.[Ch]: stripped the FD_from_figure manipulation
8764 code out of lux_cb.[Ch], ready for its (imminent?) removal.
8766 * lyx_cb.[Ch]: see above.
8768 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
8772 * lyx.[Ch]: replaced by figure_form.[Ch].
8776 * lyxfunc.C: changed headers associated with above changes.
8778 2001-03-27 Juergen Vigna <jug@sad.it>
8780 * BufferView_pimpl.C: set the temporary cursor right!
8782 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
8784 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
8786 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
8788 * LString.h: removed "using std::getline"!
8790 * BufferView_pimpl.C (Dispatch): changes due to changes in
8791 InsetInclude::Params.
8793 * buffer.C (tag_name): removed redundant break statements as they were
8794 producing lots of warnings with my compiler.
8796 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8798 * LString.h: add "using std::getline" when using the real <string>.
8800 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
8802 * buffer.C: removed bitset usage.
8803 PAR_TAG moved to an anonymous name space.
8804 (tag_name): new funtion, also in the anonymous namespace.
8805 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
8806 (makeDocBookFile): clean code. Completed transition from string arrays
8808 (SimpleDocBookOnePar): code clean.
8810 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8812 * tabular.C: add some comments.
8814 2001-03-22 Juergen Vigna <jug@sad.it>
8816 * buffer.C (parseSingleLyXformat2Token): redone the minipage
8817 compatibility read a bit and fixed bug with minipage in different
8820 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
8822 * buffer.C (pop_tag): removed.
8823 (push_tag): removed.
8824 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
8825 array replaced with vector. Added support for CDATA sections.
8826 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
8828 (makeDocBookFile): XML conformant declaration of CDATA section,
8829 fixed bug related to <emphasis> in the first paragraph char.
8830 (sgmlOpenTag): exclude empty tags.
8831 (sgmlCloseTag): ditto.
8833 * buffer.h (pop_tag): removed.
8834 (push_tag): removed.
8836 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
8838 * language.h (Languages): added size_type and size().
8840 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8842 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
8843 response on compability reading of minipages. One probliem is that
8844 the old usage of minipages was «flertydig»
8846 * several files here and in subdirs: don't use static at file
8847 scope use anon namespaces instead.
8849 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
8851 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
8852 LaTeX output. This is necessary for Literate document
8855 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8857 * buffer.C: insert hfill when needed.
8859 * tabular.C (l_getline): use string::erase, small whitespace change.
8861 * BufferView_pimpl.C: try the anon namespace.
8864 2001-03-16 Juergen Vigna <jug@sad.it>
8866 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
8867 otherwise it won't open options-dialogs.
8869 * buffer.C: honor pextraWidth(p) on converting minipages.
8871 * tabular.C (l_getline): changed the functions to strip trailing \r.
8873 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
8875 * BufferView_pimpl.C:
8876 * minibuffer..C: added "using SigC::slot" declaration.
8878 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8880 * lyxlex_pimpl.h: noncopyable is in namespace boost.
8886 * paragraph.C: ditto
8888 * lyxtext.h: NO_PEXTRA
8890 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
8892 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
8893 * ParameterStruct.h: ditto
8894 * ParagraphParameters.h: ditto
8895 * lyxparagraph.h: ditto
8897 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8899 * buffer.C: add compability for minipage alignment.
8900 (latexParagraphs): remove unwanted pextra check.
8902 * several files: remove CXX_WORKING_NAMESPACES
8904 * buffer.C (pop_tag): tie is in namespace boost
8906 * BufferView.h: noncopyable is in namespace boost
8911 * lastfiles.h: ditto
8912 * bufferlist.h: ditto
8913 * ShareContainer.h: ditto
8915 * LyXAction.h: ditto
8918 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8920 * Merging changes from BRANCH_MVC back into HEAD.
8922 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
8924 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
8926 * BufferView_pimpl.C: change from intl.C
8930 * Makefile.am: move combox.*
8936 * intl.C: remove dialog (covered by prefs)
8938 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
8940 * lyxfunc.C (Dispatch): removed redundant break statement.
8942 2001-03-14 Juergen Vigna <jug@sad.it>
8944 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
8946 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8948 * buffer.C: add hack to fix compability reading of minipages.
8950 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
8952 * buffer.C (getLists): Cleanup.
8954 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8956 * lyxfont.C (update): don't honor toggleall on font size.
8958 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
8962 * Makefile.am: moved to frontends/xforms/
8966 * BufferView_pimpl.C: changes for moved mathpanel
8968 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8970 * gettext.h: fix gettext_init() in --disable-nls
8972 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8974 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
8976 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
8979 * lyx.h: strip external form
8981 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8983 * BufferView_pimpl.C: add comment, destroySplash()
8985 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
8987 * BufferView_pimpl.C:
8991 * lyxfunc.C: use re-worked insetinclude
8993 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
8995 * buffer.C: add using std::stringstream.
8997 * lyx_cb.C: readd using std::ios.
8999 * buffer.C: add using std::map.
9001 * BufferView_pimpl.C: add using std::vector.
9003 * ShareContainer.h: add std:: to swap.
9005 * buffer.h: add some typedefs
9006 * buffer.C (getLists): use them
9007 (getLists): renamed from getTocList.
9008 add a counter for the different float types and use it in the
9010 (getLists): use the same counter for the NEW_INSETS and the "non"
9013 * lyx_cb.h: remove unused items, includes, using etc.
9015 * ShareContainer.h: remove some commented code, add more comments
9016 and "documentation".
9018 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9020 * buffer.C (getTocList): make the list also when NEW_INSETS is
9023 * buffer.h: remove TocType
9025 * buffer.C (getTocList): change to return a map<string,
9026 vector<TocItem> >, implement for dynamic number of list.
9028 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
9029 * text2.C (PasteSelection): adjust
9030 * CutAndPaste.C (pasteSelection): adjust
9032 * FloatList.C (FloatList): update from the new_insets branch.
9033 * Floating.[Ch]: ditto
9034 * LaTeXFeatures.C: ditto
9036 * lyxlex_pimpl.C: ditto
9038 * paragraph.C (Last): remove when NEW_INSETS is defined.
9040 * other file: changes because of the above.
9042 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9044 * lyxparagraph.h: rename next to next_, previous to previous_,
9045 make them private for NEW_INSETS. Rename Next() to next(),
9046 Previous() to previous().
9048 * other files: changes because of the above.
9050 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
9053 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
9056 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9058 * main.C (main): pass lyx_localedir to gettext_init().
9060 * gettext.h: remove locale_init and gettext_init macros
9062 * gettext.C (locale_init): new function
9063 (gettext_init): new function
9065 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
9068 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
9070 * Moved credits to frontends:
9071 * credits.[Ch]: removed
9072 * credits_form.[Ch]: removed
9073 * lyx_gui_misc.C: remove credits stuff
9076 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9078 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
9080 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
9081 unneeded destructor.
9083 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
9084 a standalone pointer again.
9086 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
9088 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
9094 * ToolbarDefaults.C:
9103 * BufferView_pimpl.C: use new file dialog in GUII
9106 * lyx_cb.C: remove LayoutsCB to Toolbar
9108 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9110 * ShareContainer.h (get): add std:: qualifier
9112 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9114 * ShareContainer.h: define a proper ShareContainer::value_type
9115 type (and use typename to please compaq cxx)
9117 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9119 * lyxparagraph.h: move serveral local vars to
9120 ParameterStruct/ParagraphParameters., use ShareContainer in
9121 FontTable., make vars in FontTable private and add getter and
9124 * paragraph.C: changes because of the above.
9126 * lyxfont.h: remove copy constructor and copy assignment. (the
9127 default ones is ok), move number inside FontBits. move inlines to
9130 * lyxfont.C: add number to initializaton of statics, move several
9131 inlines here. constify several local vars. some whitespace
9132 cleanup. Dont hide outerscope variables.
9134 * Spacing.h: add two new constructors to match the set methods.
9136 * ShareContainer.h: new file, will perhaps be moved to support
9138 * ParameterStruct.h: new file
9140 * ParagraphParameters.h: new file
9142 * ParagraphParameters.C: new file
9144 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
9145 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
9147 * BufferView_pimpl.C: ParagraphParameter changes.
9148 * buffer.C: Likewise.
9149 * bufferview_funcs.C: Likewise.
9151 * text2.C: Likewise.
9153 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9155 * lyxfind.C (LyXReplace): do not redefine default argument in
9157 (IsStringInText): ditto
9158 (SearchForward): ditto
9159 (SearchBackward): ditto
9161 2001-03-06 Juergen Vigna <jug@sad.it>
9163 * lyxfind.C (IsStringInText): put parentes around expressions.
9165 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
9167 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
9169 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
9171 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
9173 * stl_string_fwd.h: add comment
9175 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
9178 * tabular.C: remove unused DocBook methods
9184 killed DO_USE_DEFAULT_LANGUAGE
9186 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9188 * lyx_gui.C: do not include language.h.
9190 * bufferview_funcs.C (ToggleAndShow): do not provide optional
9191 arguments in function implementation.
9193 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9195 * BufferView_pimpl.C: add <ctime>
9197 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9199 * BufferView_pimpl.C: add using std::find_if
9201 2001-02-27 José Matos <jamatos@fep.up.pt>
9203 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
9206 2001-02-11 José Matos <jamatos@fep.up.pt>
9208 * buffer.C (makeDocBookFile): command styles now have a parameter as
9211 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
9213 * layout_forms.[Ch]: removed
9214 * lyx_cb.[Ch]: out character
9215 * lyx_gui.C: out character
9216 * lyx_gui_misc.C: out character
9217 * bufferview_funcs.C: : out character,
9218 added toggleall as parameter in ToggleAndShow
9220 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
9222 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
9224 * text2.C (SetCurrentFont): Disable number property at boundary.
9226 2001-02-26 Juergen Vigna <jug@sad.it>
9228 * lyxfunc.C (getStatus): added a string argument override function so
9229 that this is correctly called from LyXFunc::Dispatch if it contains a
9230 do_not_use_argument which is used!
9231 (Dispatch): added check for "custom" export and call appropriate func.
9233 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
9235 * lyxrc.C: Add language_command_local, language_use_babel and
9236 language_global_options.
9238 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
9240 * buffer.C (makeLaTeXFile): Use language_use_babel and
9241 language_global_options.
9243 2001-02-23 Juergen Vigna <jug@sad.it>
9245 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
9246 which works with LyXText and putted it inside BufferView. Here now we
9247 only call for that part the BufferView::Dispatch() function.
9249 * BufferView.C (Dispatch): added.
9251 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
9252 functions which needs to use a LyXText over from LyXFunc.
9253 (MenuInsertLyXFile): added
9254 (getInsetByCode): added
9255 (moveCursorUpdate): added
9256 (static TEXT): added
9258 2001-02-22 Juergen Vigna <jug@sad.it>
9260 * BufferView_pimpl.C (update): call a status update to see if LyXText
9263 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
9265 * vc-backend.C (revert): implement for CVS
9266 (getLog): implement for CVS
9268 2001-02-20 Juergen Vigna <jug@sad.it>
9270 * text2.C (ClearSelection): added BufferView param for inset_owner call
9272 * lyxfunc.C (TEXT): added this function and use it instead of
9273 directly owner->view()-text of getLyXText().
9275 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
9277 * src/layout_forms.C: out preamble
9278 * src/layout_forms.h: out preamble
9279 * src/lyx_cb.C: out preamble
9280 * src/lyx_cb.h: out preamble
9281 * src/lyx_gui.C: out preamble
9282 * src/lyx_gui_misc.C: out preamble
9283 * src/lyxfunc.C: connect with guii preamble
9285 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
9287 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
9289 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
9291 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
9292 whether to run bibtex.
9294 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
9296 * Makefile.am (lyx_SOURCES): Remove BackStack.h
9298 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
9300 * Makefile.am (lyx_SOURCES): removed bibforms.h
9304 * text.C (GetVisibleRow): make several local vars const
9306 * tabular.C: small cleanup.
9308 * lyxserver.C (callback): use compare instead of strncmp
9310 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
9311 inlines to after class or to paragraph.C
9313 * lyxfont.h: remove friend operator!=
9315 * converter.h: move friend bool operator< to non friend and after
9318 * combox.h: small cleanup
9320 * buffer.h: doxygen, remove unused constructor, move inclas inlies
9321 to inlines after class def.
9323 * buffer.C (pop_tag): use string operations instead of strcmp
9325 * bmtable.c: doxygen, small cleanup
9327 * LaTeX.h: remove friend operator==
9329 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
9341 * BufferView_pimpl.C:
9342 * BufferView.[Ch]: remove cruft
9344 2001-02-14 Juergen Vigna <jug@sad.it>
9346 * lyxfunc.C: removed #if 0 unused code
9348 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
9350 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
9352 * text2.C (SetSelection): added a BufferView * parameter
9354 2001-02-13 Juergen Vigna <jug@sad.it>
9356 * lyxfunc.C (Dispatch): fixed protected blank problem.
9357 * BufferView2.C (protectedBlank): added LyxText * parameter.
9359 * tabular.C (AppendRow): forgot to set row_info of newly added row.
9360 (AppendColumn): same as above for column_info.
9362 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
9363 (moveCursorUpdate): use a LyXText param for support of InsetText.
9365 * BufferView_pimpl.C (doubleClick): added support for InsetText.
9366 (tripleClick): ditto
9368 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
9370 * BufferView_pimpl.C (update): added LyXText param to honor insets.
9372 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
9374 * text2.C (SetSelection): set correct update status if inset_owner
9377 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
9379 * tabular.C: remove some commented code.
9381 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
9383 * BufferView_pimpl.C: call hideSplash()
9385 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
9388 * bibforms.h: remove
9391 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
9392 add LFUN_CHILD_CREATE
9394 * counters.h: fix tiny typo
9399 * lyx.C: move splash to frontends/xforms/
9401 * lyx_gui_misc.C: move Include and Bibform to frontends
9403 * lyxvc.h: clarify comment
9405 * vspace.C: tiny housekeeping
9407 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
9409 * text.C (PrepareToPrint): RTL Fix.
9411 * paragraph.C (GetUChar): New method.
9412 (String): Use GetUChar.
9414 * buffer.C (asciiParagraph): Use GetUChar.
9416 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
9418 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
9420 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
9423 * buffer.C: rename to getLogName(), handle
9424 build log / latex log nicely
9426 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9429 * MenuBackend.h: remove support for reference menuitem type.
9431 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
9433 * BufferView_pimpl.C: housekeeping
9434 * BufferView_pimpl.h:
9439 * minibuffer.h: move Timeout GUI-I
9441 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
9443 * lyxrc.C (read): Update converters data-structures.
9445 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
9447 * LaTeX.h (operator!=): add operator != for Aux_Info
9449 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
9451 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
9453 * LaTeXLog.C: deleted, useful code moved to Buffer
9456 * buffer.C: new function getLatexLogName()
9462 * lyxfunc.C: use frontends for LaTeX and VC logs
9464 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9466 * LaTeX.h: yet another std:: that Allan forgot.
9468 * Variables.C (set): renamed from isset(), because this clashes
9469 with some HP-UX macros (grr).
9471 2001-02-06 Allan Rae <rae@lyx.org>
9473 * LaTeX.h: Another bug fix. Missing std:: this time.
9475 2001-02-04 Allan Rae <rae@lyx.org>
9477 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
9478 floats problem. I've left it commented out because it's not quite
9479 correct. It should also test that the current object is a table or
9480 figure inset. But I haven't gotten around to figuring out how to do
9481 that. I *think* it'll be something like: "table" == inset.type()
9483 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
9486 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
9488 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
9489 all the citation/databases/styles in the auxilary file.
9490 (run): Rerun latex if there was a babel language error.
9492 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
9494 * text.C (Backspace): Preserve the font when changing newline char
9496 (BreakParagraph): If the cursor is before a space, delete the space.
9498 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
9500 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
9502 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
9503 new argument (code).
9504 (ChangeCitationsIfUnique): New method.
9506 * paragraph.C (GetPositionOfInset): Handle bibkey.
9508 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9510 * BufferView_pimpl.h: change type of Position::par_pos to
9511 LyXParagraph::size_type.
9513 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
9515 * BufferView_pimpl.C (savePosition, restorePosition): Write
9516 messages to minibuffer.
9518 2001-01-28 José Matos <jamatos@fep.up.pt>
9520 * buffer.C (makeDocBookFile): adds support for document language.
9521 A silly restriction on the name of LatexCommand types where removed.
9522 Added support for CDATA sections, allows to chars unescaped, used
9523 among others in code, to avoid escape < and >.
9525 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9527 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
9528 saved positions instrad of a stack. Furthermore, a position is
9529 stored using paragraph id/paragraph position.
9531 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
9532 Remove LFUN_REF_BACK.
9534 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
9536 * converter.C (dvipdfm_options): New method.
9538 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
9540 * vspace.C (isValidLength): Fix for empty input string.
9542 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9544 * LyXAction.C (init): change description of LFUN_FIGURE to
9547 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9549 * LaTeX.C: add using directive
9551 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9553 * MenuBackend.C (expand): Fix the sorting of the formats.
9555 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
9557 * lyx_main.C: tiny error message fix
9559 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9561 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
9562 calling fl_initialize(). This fixes the problem with ',' as
9563 decimal separator in text files.
9565 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
9567 * trans.C (process): Fix the keymap bug.
9569 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
9571 * LaTeX.C (scanAuxFiles): New method. Provides support for
9572 multiple bibliographies (when using the bibtopic/bibunits pacakges).
9573 (scanLogFile) Scan for "run BibTeX" messages.
9575 * buffer.C (makeLaTeXFile): Do not load the ae package when using
9576 OT1 font encoding. Also, load the aecompl package if the ae
9579 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
9581 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9583 * texrow.C (increasePos): turn two error messages into debug
9586 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
9588 * LaTeX.C (scanAux): Handle the \@input macro.
9589 (runBibTeX): Use scanAux().
9591 * language.C (latex_options_): New field.
9593 * LaTeXFeatures.C (getMacros): Add language macros.
9595 * buffer.C (makeLaTeXFile): Small fix.
9597 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9599 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
9601 * text2.C: add a using directive.
9603 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
9608 * lyxfunc.C: kill LyXBell.
9610 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
9612 * text.C (IsBoundary): Remove the error message
9614 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
9616 * lyxrc.C (setDefaults): Correct initialization value for
9619 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
9621 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
9624 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
9627 * src/LyXAction.C: Added reference-next.
9629 * text.C (InsertChar): Use contains instead of strchr.
9631 * lyx_cb.C (MenuInsertLabel): Enable default value code.
9633 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
9635 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
9636 alignment commands (when needed).
9638 * text.C (InsertChar): Add ':' to number separator chars.