1 2003-08-27 André Pönitz <poenitz@gmx.net>
3 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6 2003-08-27 John Levon <levon@movementarian.org>
8 * funcrequest.C: properly initialise POD members
10 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
12 * lyxtext.h (top_y): move top_y from here
17 * BufferView_pimpl.[Ch]: to here
19 * insets/insettabular.C:
20 * insets/insettext.C: adjust
21 * rowpainter.[Ch] (paintRows): remove LyXText & argument
23 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
26 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
28 2003-08-26 André Pönitz <poenitz@gmx.net>
30 * paragraph_func.[Ch] (outerPar): new function
36 * text2.C: remove Inset::par_owner
38 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
43 * text2.C: eliminates the needFullRow/display() stuff
44 altogether, putting the logic in metrics/draw in the insets.
46 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
48 * text2.C (redoParagraphInternal, redoParagraphs):
49 * text.C (redoParagraph): add a call to updateRowPositions at the
50 end of each 'metrics-like' call. Remove all others.
51 (getRow): remove the 'y-computing' version.
52 (getRowNearY): do not compute nor return the real y. Solve the
53 'y < 0' problem and simplify.
55 2003-08-22 Angus Leeming <leeming@lyx.org>
57 * *.[Ch]: clean-up of licence and author blurbs.
58 Also move config.h out of a few .h files and into a few .C files.
60 2003-08-22 André Pönitz <poenitz@gmx.net>
62 * lyxrow.[Ch]: add x_ and *fill_ members
67 * text2.C: adjust/remove prepareToPrint() calls
69 2003-08-22 André Pönitz <poenitz@gmx.net>
71 * lyxrow.[Ch]: add end_ member
73 * lyxrow_funcs.C: use LyXRow::end_
75 * lyxtext.h (singleWidth): add LyXFont parameter
78 * text2.C: adjust LyXText::singleWidth() calls
80 * text.C (redoParagraph): simplify row breaking logic
83 2003-08-19 André Pönitz <poenitz@gmx.net>
85 * funcrequest.C: initialize button_ member
88 * rowpainter.[Ch]: interface consolidation
90 2003-08-18 André Pönitz <poenitz@gmx.net>
97 * text3.C: remove LyXScreen::draw() and fitCursor calls
99 * BranchList.h: remove spurious semicolons
101 * MenuBackend.C: fix branchlist related crash
103 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
115 * text3.C: implements the 'branch inset'
116 idea. This allows the output of various versions of a document
117 from a single source version, selectively outputing or suppressing
118 output of parts of the text.
119 This implementation contains a 'branch list editor' in a separate
120 tab of the document settings dialog. Branches are user definable
121 and have a "display colour" to distinguish them on-screen.
123 ColorHandler was somewhat cleaned up.
124 (1) make possible a dynamically growing LColor list by allowing
125 the graphic context cache to grow along (vector);
126 (2) eliminate an IMHO unnecessary step in colour allocation.
128 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
130 * BufferView_pimpl.C: compile fix
132 2003-08-15 André Pönitz <poenitz@gmx.net>
134 * rowpainter.C: remove extra metrics calls
136 * lyxtext.h: merge the two constructors into a single one,
137 pass reference to owner's par list
139 * BufferView_pimpl.C:
143 2003-08-15 André Pönitz <poenitz@gmx.net>
153 * text_funcs.C: split LyXText::rowlist_ into individual
154 Paragraph::rows_ chunks
157 * BufferView_pimpl.[Ch]:
160 * text3.C: remove toggleSelection()
162 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
164 * bufferlist.C: beautify two alerts (shorter text of buttons)
165 * buffer.C: Remove redundant ' ' from message
167 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
168 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
169 rename VALIGN_CENTER to VALIGN_MIDDLE
171 2003-08-11 André Pönitz <poenitz@gmx.net>
173 * lyxtext.h (getPar):
174 * text.C: new function
176 2003-08-11 André Pönitz <poenitz@gmx.net>
179 * tracer.[Ch]: remove unneeded files
181 * InsetList.[Ch]: remove resizeInsetsLyXText()
186 * text3.C: merge insertParagraphs() and appendParagraph()
187 remove breakAgain(), update()
189 * BufferView_pimpl.[Ch]:
190 * bufferview_funcs.[Ch]:
194 * tabular.C: adjust after text & InsetList changes.
196 2003-08-08 André Pönitz <poenitz@gmx.net>
198 * text.C (insertChar, backspace): replace rowlist fiddling
199 with rebreak of full par
202 * text.C (breakAgainOneRow, redoHeightOfParagraph,
203 checkParagraph, updateInset): removed
205 2003-08-07 André Pönitz <poenitz@gmx.net>
208 * text3.C: merge some LFUN handlers, remove dead code
210 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
212 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
214 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
216 * text2.C (DEPM): fix part of bug 1255 and 1256
218 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
220 * BufferView_pimpl.C (workAreaDispatch): change to use
221 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
222 that are no mouse related.
224 2003-08-05 André Pönitz <poenitz@gmx.net>
227 * BufferView_pimpl.[Ch]:
228 * bufferview_funcs.C:
230 * text3.C: rip out "deep update"
232 * textcursor.[Ch] (last_sel_cursor): remove unused member
234 2003-08-04 André Pönitz <poenitz@gmx.net>
237 * BufferView_pimpl.[Ch]:
238 * ParagraphParameters.C:
239 * bufferview_funcs.C:
245 * text3.C: replace "complicated" BufferView::update(...) calls with
248 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
250 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
252 * Makefile.am (lyx_SOURCES): add paper.h
254 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
256 * Makefile.am: move things around so that both lyx-qt and
257 lyx-xforms can be built (according to --with-frontend). Then lyx
258 is a symbolic link to lyx-[firstfrontend]
260 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
262 * Always use std::endl with lyxerr
264 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
266 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
268 2003-08-01 André Pönitz <poenitz@gmx.net>
271 * BufferView_pimpl.[Ch]:
273 * text3.C: merge BufferView::repaint() and BufferView::update()
275 2003-08-01 José Matos <jamatos@lyx.org>
277 * buffer.[Ch]: file_format is no longer a buffer data element.
279 2003-08-01 André Pönitz <poenitz@gmx.net>
284 * text2.C: make redoParagraph more independent of current cursor
286 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
288 * text2.C: remove unneeded members
290 2003-07-30 André Pönitz <poenitz@gmx.net>
292 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
294 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
295 create a single function...
297 * paragraph_funcs.C (moveItem): ... here.
300 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
302 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
304 * LColor.[Ch]: Add comment and greyedout logical colors.
306 2003-07-30 André Pönitz <poenitz@gmx.net>
308 * tabular.C: don't use Assert too heavily. This crashes where it
311 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
313 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
314 is disabled (bug 1232)
316 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
318 * factory.C: limited 'arg' scope
320 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
322 * factory.C: fixed Note submenu issues
324 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
326 * factory.C: submenu for Note/Comment/Greyedout
328 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
331 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
333 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
336 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
337 greyedout. Patch provided by Jürgen Spitzmüller.
339 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
341 * kbmap.C (read): fix error message when reading bind files
343 2003-07-29 Angus Leeming <leeming@lyx.org>
345 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
346 certainly does not do what it purports to do. I am doing it, and
347 us, a favour by killing it.
349 2003-07-28 José Matos <jamatos@lyx.org>
351 * buffer.C (readBody, do_writeFile):
352 * paragraph.C(readParagraph): \end_document replaces \the_end.
354 2003-07-29 André Pönitz <poenitz@gmx.net>
357 * BufferView_pimpl.[Ch]:
361 * textcursor.[Ch]: remove toggleToggle & Co
363 2003-07-28 José Matos <jamatos@fep.up.pt>
365 * buffer.C (readParagraph):
366 * params_func (readParToken, readParagraph):
367 * paragraph.C (write): \layout -> \begin_layout.
369 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
371 * lyxlex_pimpl.C (setFile): clean up slightly.
373 * bufferparams.h: add compressed var
375 * buffer_funcs.C (readFile): adjust for LyXLex change
376 (newFile): ditto + simplify
378 * buffer.C (writeFile): handle writing of compressed files
380 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
381 Check if the file is compressed and set a bufferparm if so.
383 * Makefile.am (lyx_LDADD): remove explicit -lz
385 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
387 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
388 makeDocBookFile): put the real LyX version in the first line of
392 * version.C.in: remove lyx_docversion
394 * tabular.C (write_attribute): add a template-based version to
397 2003-07-28 André Pönitz <poenitz@gmx.net>
402 * text3.C: use doubles again for x-coordinates. They are needed.
404 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
406 * messages.C (getLocaleDir): use lyx_localedir()
408 * lyxlex_pimpl.C (setFile): compress stuff
410 * buffer.C (writeFile): add some compression stuff
411 (do_writeFile): new func, dont call expliti close... will this
414 * Makefile.am (lyx_LDADD): add -lz
416 2003-07-28 José Matos <jamatos@fep.up.pt>
418 * buffer.C: increment file format.
419 * paragraph_funcs (readParagraph, readParToken):
420 * paragraph.C (readParagraph): add \end_layout.
422 2003-07-27 Angus Leeming <leeming@lyx.org>
424 * Makefile.am: remove special casing for configure-time setting of
425 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
427 * lyx_main.C (init): remove all Jean-Marc's magic setting of
428 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
430 2003-07-26 André Pönitz <poenitz@gmx.net>
432 * paragraph_func.[Ch]:
433 * paragraph.C (realizeFont): inline it whereever it is used
438 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
441 2003-07-26 André Pönitz <poenitz@gmx.net>
445 * text2.C: get rid of LyXText::need_break_row
447 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
449 * toc.[Ch]: put namespace toc inside namespace lyx
451 * MenuBackend.C (expandToc2): adjust for lyx::toc
454 * lyxfunc.C (dispatch): adjust for lyx::find
456 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
457 lyx::find instead. Reorganize a bit.
458 (LyXReplace): rename to replace
459 (LyXFind): rename to find
461 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
464 2003-07-26 André Pönitz <poenitz@gmx.net>
466 * text.C (setHeightOfRow): restrict scope of temporary variable
468 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
469 code (never has been used?)
471 2003-07-27 Asger Alstrup <alstrup@local>
473 * text.C (fill): Optimise algorithm to exploit that we can reuse
474 the LyXFont for many characters.
475 (setHeightOfRow): Same thing.
476 (rowBreakPoint): Same thing.
478 2003-07-26 Asger Alstrup <alstrup@local>
480 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
482 * text.C (singleWidth): Spurious font copying in hot-spot
483 singleWidth avoided. Reorder tests for arabic for efficiency.
485 * text.C (fill): handle empty paragraphs better.
487 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
490 * encoding.h: add includes
492 * lyxrc.C: remove reading of bind files
494 * lyx_main.C (init): setup bindings and menus only if we have a
497 * kbmap.C (read): new method. Do the actual reading of bind
500 * converter.C (dvipdfm_options):
503 (output): adapt PAPER_* enums.
505 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
507 * bufferparams.h: remove paper-related enums from there
509 * paper.h: New file. A trivial header file to hold paper-related
510 enums. It should later expand to contain many paper-related
513 * lyxrc.C: declare extern displayTranslator
515 2003-07-27 José Matos <jamatos@fep.up.pt>
517 * tabular.[Ch] (linuxdoc): add support for tables and figures
520 2003-07-27 José Matos <jamatos@fep.up.pt>
522 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
523 consistency in both functions.
524 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
526 2003-07-26 Asger Alstrup <alstrup@local>
528 * rowpainter.C (paintRows): Change algorithm to work directly on
529 the insets rather than asking every character in the document
530 whether its an inset.
532 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
534 * buffer.C (openFileWrite): factorize some code
536 2003-07-26 Angus Leeming <leeming@lyx.org>
539 * lyx_main.[Ch]: replace occurances of system_tempdir with
542 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
544 * rename Inset to InsetOld
546 2003-07-25 Asger Alstrup <alstrup@diku.dk>
548 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
549 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
550 which I think is a bit clearer. EDIT is gone, since it was
551 premature optimisation, and broken for mathed anyway.
552 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
553 with cursor positioning in insets as well (math insets still do not
554 work, but that's a different story anyway.) It mysteriously
555 crashes sometimes with undo in the first paragraph, but I'm fairly
556 confident that this is a compiler bug.
558 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
560 * paragraph.C (Paragraph): adjust for new clone return type
562 (copyIntoMinibuffer): ditto
564 2003-07-25 Asger Alstrup <alstrup@lyx.org>
566 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
567 by not having a special case, and always doing a full rebreak of
568 the document after undo.
570 2003-07-23 Angus Leeming <leeming@lyx.org>
572 * factory.C (createInset): InsetExternal::setParams now takes a
575 2003-07-23 Angus Leeming <leeming@lyx.org>
577 * factory.C (createInset): changed interface to the external and
578 graphics mailers' string2params functions.
580 2003-07-23 Angus Leeming <leeming@lyx.org>
582 * factory.C (createInset): pass a
583 Buffer const * parameter to InsetExternalMailer's string2params.
585 2003-07-22 John Levon <levon@movementarian.org>
587 * Thesaurus.h: include the right aiksaurus header
589 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
591 * MenuBackend.C (expand): check menu shortcuts unconditionally
593 2003-07-21 Angus Leeming <leeming@lyx.org>
595 * factory.C (createInset): pass a
596 buffer_path parameter to InsetGraphicsMailer's string2params.
598 2003-07-21 Angus Leeming <leeming@lyx.org>
600 * BufferView_pimpl.C (buffer):
603 * lyxfunc.C (dispatch):
604 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
605 rather than the grfx shortcut.
607 2003-07-21 André Pönitz <poenitz@gmx.net>
609 * rowpainter.C: remove unused variables
612 * tabular_funcs.h: move to tabular.C
613 * Makefile.am: adjust
615 * tabular.[Ch]: basic optical cleaning
617 * author.h: pass references, not values
619 2003-07-18 André Pönitz <poenitz@gmx.net>
627 * text3.C: two-phase drawing for InsetText and InsetTabular
628 some float -> int changes.
630 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
632 * lyx_main.C: fix the fix
634 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
636 * lyx_main.C: fix a crash in batch mode if no files specified
639 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
641 * format.[Ch] (papersize): moved to BufferParams
642 * converter.[Ch] (dvips_options): moved to BufferParams
643 (dvipdfm_options): moved to anon namespace
644 * bufferparams.[Ch]: added above functions.
646 2003-07-17 André Pönitz <poenitz@gmx.net>
650 * text2.C: don't call inset->update() anymore
652 * metricsinfo.[Ch]: add convenience constructor
654 2003-07-16 André Pönitz <poenitz@gmx.net>
659 * text2.C: replace the LyXCursor::irow_ member with
660 on-demand computation of the value
662 2003-07-16 John Levon <levon@movementarian.org>
664 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
666 2003-07-15 André Pönitz <poenitz@gmx.net>
669 * text2.C: remove no more needed refresh_row
671 2003-07-15 André Pönitz <poenitz@gmx.net>
676 * text3.C: refresh_status tristate -> need_update bool
678 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
680 * lyxtext.h (init): remove reinit argument (act as if always true)
681 * text2.C: adjust to that
683 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
685 * bufferview_funcs.[Ch]: introduce function replaceSelection()
686 * text3.C: use it to delete selections in some cases
687 (bugs 441, 673, 702, 954).
689 2003-07-14 André Pönitz <poenitz@gmx.net>
691 * rowpainter.[Ch]: reduce interface
693 2003-07-14 André Pönitz <poenitz@gmx.net>
695 * BufferView_pimpl.C:
696 * text2.C: adjust after removing unused BufferView * argument
698 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
700 * text2.C (init): fix a crash fired on resize
702 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
704 * buffer.[Ch]: added new closing signal
705 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
706 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
707 BufferView::Pimpl via the closing the signal
709 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
711 * buffer.[Ch]: take out all bv-related from buffer
713 * BufferView_pimpl.[Ch]: connect to new signals
714 * CutAndPaste.C: removed useless asserts
715 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
718 * lyxfunc.C: moved view-related funciontality from vc here
719 * paragraph.C: removed outdated comments
722 2003-07-10 André Pönitz <poenitz@gmx.net>
724 * BufferView_pimpl.C:
728 * text2.C: remove InsetText::InnerCache, clean up consequences
730 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
732 * ispell.C: fix two typos in error messages
734 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
736 * Extend Note inset to other forms of annotation like Comment
737 and Greyedout. Right button click gives dialog.
739 Files modified or added (+):
745 * Makefile.am in frontends/xforms, frontends/xforms/forms,
746 frontends/controllers
750 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
752 * aspell.C: add missing namespace lyx::support
754 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
756 * BufferView.[Ch] (newFile): Add
757 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
758 * LaTeX.[Ch] (message): added this signal and use it
759 * buffer.[Ch] (busy, message): added these signals and use them
760 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
764 * importer.C: use buffer signals instead of direct bv calling
765 * lyx_cb.[Ch] (ShowMessage): removed
769 * text2.C: use buffer signals
771 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
773 * introduce namespace lyx::graphics
775 2003-07-02 André Pönitz <poenitz@gmx.net>
777 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
779 2003-07-01 André Pönitz <poenitz@gmx.net>
786 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
787 text*.C to text_func.C
789 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
791 * introduce namespace lyx::support
793 2003-06-30 André Pönitz <poenitz@gmx.net>
798 * text.C: re-enable --with-included-string
800 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
802 * textcursor.C: add <config.h>
804 * text.C (getWord): remove const from word_location arg
806 * lyxvc.C (getLogFile): fix const type order
808 * lyxtext.h: remove const from word_location arg, add arg name
810 * lyxlayout.h: currect type on labeltype.
812 * importer.C: correct \file
814 * converter.C (intToFormat): use std:: on ret val, ws changes
816 * bufferlist.h: correct \file
818 * buffer.C (makeLinuxDocFile): fix const type order
819 (makeDocBookFile): ditto
820 (fillWithBibKeys): use std:: on stdlib args.
822 * CutAndPaste.C: fix authors.
823 (availableSelections): use std:: on return vector
825 2003-06-27 André Pönitz <poenitz@gmx.net>
827 * BufferView_pimpl.C:
828 * bufferview_funcs.C:
836 * text3.C: remove LyXCursor::row_ member
839 * text.C: rename fullRebreak() to partialRebreak() and implement
840 a fullRebreak() that really bereks fully
842 * textcursor.h: new struct for cursor-related data
844 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
846 * lyx_main.C (LyX): get full path of document loaded on the
849 2003-06-26 André Pönitz <poenitz@gmx.net>
851 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
852 remove unused/broken operator>,<,>=.
854 * text.C: remove only use of broken operator<= in an Assert().
856 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
858 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
859 moved errorlist_.clear to showErrorList
861 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
863 * converter.C (scanLog, runLaTeX):
864 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
865 move the bv->showErrorList call to the callers
866 * lyxfunc.C: i.e. here...
868 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
869 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
870 namespace, the second to...
871 * buffer_funcs (BufferFormat, parseErrors): added
872 * errorlist.C (ErrorList(TeXErrors const &)): removed
874 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
876 * ToolbarBackend.C (getIcon): complain when icon cannot be found
878 2003-06-24 "Garst R. Reese" <reese@isn.net>
882 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
884 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
886 * version.C.in: change docversion to 1.4
888 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
890 * buffer.C: fix a bug just introduced
892 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
894 * buffer.[Ch]: added the parseError signal and use it, removed
896 * BufferView.[Ch] (addError): moved to ...
897 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
898 to the Buffer::parseError signal to catch (guess what) parse errors
899 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
901 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
903 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
904 ability to create a buffer and to return an existing one from
905 the list. Moved these functions to...
906 * buffer_funcs.[Ch]: added
907 * BufferView.[Ch] (loadLyXFile): added
908 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
909 job removed from bufferlist::loadLyXFile.
910 * buffer.C (setReadOnly): make it work without view
911 (i.e added an if (users))
913 2003-06-19 Angus Leeming <leeming@lyx.org>
916 * LyXAction.C (init):
917 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
918 with LFUN_DIALOG_SHOW <name> <data>.
920 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
922 * CutAndPaste.C (availableSelections): small compilation fix for
923 ancient (gcc 2.9x) compilers
925 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
927 * text3.C (cursorNext): add tmp var
929 * text2.C (updateCounters): for function calling out of for clause
930 (replaceSelectionWithString): ditto
931 (insertStringAsParagraphs): ditto
932 (getColumnNearX): add tmp var
933 (setCursorFromCoordinates): add tmp var
934 (cursorDownParagraph): add tmp var
935 (deleteEmptyParagraphMechanism): add tmp var
937 * text.C (insertChar): add tmp var
939 * rowpainter.C (paintDepthBar): add tmp var
941 * CutAndPaste.C (availableSelections): potentially check all
942 paragraphs in a cut to fill the shown strings.
944 2003-06-18 André Pönitz <poenitz@gmx.net>
946 * kbmap.[Ch]: use vector<> instead of list<>
948 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
950 * text3.C (dispatch): handle arg to LFUN_PASTE, call
951 pasteSelection with index
953 * text2.C (pasteSelection): modify, call pasteSelection with index
955 * paragraph.C (asString): reimplement version with no interval to
956 call the one with interval.
958 * lyxtext.h: add index arg to pasteSelection
960 * MenuBackend.C (MenuItem): handle PasteRecent
961 (Menu::read::Menutags): add md_pasterecent
963 (expandPasteRecent): new function
966 * MenuBackend.h: add PasteRecent to MenuItem::Kind
968 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
970 (availableSelections): new function
972 2003-06-17 Angus Leeming <leeming@lyx.org>
974 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
976 2003-06-17 Angus Leeming <leeming@lyx.org>
979 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
981 * lyxfunc.C (dispatch): invoke it.
983 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
985 * iterators.C (operator++, ParPosition): reintroduce some
986 const_cast for the benefit of older compilers.
988 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
990 * text3.C (dispatch): do not modify clipboard when doing
991 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
992 LFUN_DELETE_SKIP on a selection selection
994 2003-06-16 André Pönitz <poenitz@gmx.net>
1000 * tabular.[Ch]: IU of clone() and getLabelList();
1002 2003-06-13 André Pönitz <poenitz@gmx.net>
1004 * tabular.h: compactification
1006 2003-06-12 André Pönitz <poenitz@gmx.net>
1010 * tabular_funcs.h: some renaming plus whitespace
1012 2003-06-12 André Pönitz <poenitz@gmx.net>
1015 * BufferView_pimpl.C:
1021 * toc.C: Return a Paragraph & for ParIterator::operator*()
1023 2003-06-11 John Levon <levon@movementarian.org>
1027 * ToolbarBackend.C: add "Toolbars" section and
1030 2003-06-10 Angus Leeming <leeming@lyx.org>
1033 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1035 * lyxfunc.C (dispatch): invoke it.
1037 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1039 * main.C: protect <ios> with HAVE_IOS
1040 (main): protect sync_with_stdio with HAVE_IOS
1042 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1044 * text2.C (cutSelection): adjust
1045 (pasteSelection): adjust
1047 * messages.C: handle get of empty string
1049 * main.C (main): use sync_with_stdio(false)
1051 * lyxfunc.C (dispatch): adjust
1053 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1054 (WriteAs): remove unneeded BufferView arg.
1056 * bufferparams.h: use correct types on papersize, papersize2 and
1059 * bufferparams.C (readToken): adjust for type
1060 (writeLaTeX): add missing cases to switch.
1062 * bufferlist.C (quitWriteBuffer): adjust
1065 * buffer.C (asciiParagraph): remove some commented code.
1067 * CutAndPaste.C: remove current_view extern variable.
1068 (cutSelection): add BufferParams arg.
1069 (eraseSelection): add BufferParams arg.
1070 (pasteSelection): add Buffer const & arg
1072 2003-06-07 John Levon <levon@movementarian.org>
1075 * paragraph_funcs.C:
1076 * paragraph_pimpl.C:
1080 * paragraph.C: allow InsetERT to freely space lines,
1081 and some consolidation of code
1083 2003-06-06 José Matos <jamatos@fep.up.pt>
1085 * buffer.C (makeDocBookFile): fix bug #821
1087 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1089 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1091 2003-06-04 Angus Leeming <leeming@lyx.org>
1093 * buffer.C: bump format to 224.
1095 2003-06-05 André Pönitz <poenitz@gmx.net>
1097 * text2.C (redoParagraphs): remove two const_cast<>
1099 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1101 * ParagraphList.h: remove last remnants of NO_STD_LIST
1103 2003-06-03 Angus Leeming <leeming@lyx.org>
1105 * factory.C (createInset): small change to the way InsetExternal's params
1108 2003-06-04 André Pönitz <poenitz@gmx.net>
1110 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1112 * paragraph_pimpl.h:
1113 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1115 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1117 * undo_funcs.C: make some simple cases of undo work again
1119 2003-06-03 John Levon <levon@movementarian.org>
1121 * ispell.C: HPUX doesn't have sys/select.h
1124 2003-06-03 John Levon <levon@movementarian.org>
1126 * CutAndPaste.C: update tabular and include inset
1131 * paragraph.C: remove owningBuffer(), don't pass Buffer
1134 * factory.C: insetGraphicsParams changed
1136 2003-06-02 John Levon <levon@movementarian.org>
1142 * text3.C: remove insetparent
1144 2003-06-02 John Levon <levon@movementarian.org>
1147 * buffer.C: fix inset_iterator.end(), move out of line
1150 2003-06-01 John Levon <levon@movementarian.org>
1152 * text3.C: use a proper cut/paste when doing inset
1153 insert (from Jürgen Spitzmüller)
1155 2003-06-01 John Levon <levon@movementarian.org>
1157 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1159 2003-05-30 André Pönitz <poenitz@gmx.net>
1161 * rowpainter.C: unify second drawing phase
1163 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1165 * trans_mgr.C: remove one case of current_view
1167 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1169 * paragraph_funcs.h: remove paragraph.h include
1171 * paragraph.h: delete NO_STD_LIST stuff
1173 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1175 * buffer.h: remove paragraph.h include
1177 * ParagraphList.C: delete file
1179 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1181 * toc.C (getTocList): adjust
1183 * paragraph_pimpl.C (validate): adjust
1185 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1187 * paragraph.C (Paragraph): adjust
1188 (getPositionOfInset): use const_iterator, adjust
1189 (bibitem): use const_iterator, adjust
1190 (setInsetOwner): adjust
1192 * iterators.C (operator++): adjust
1194 * InsetList.[Ch]: Replace selfmade iterator with standard
1195 vector::iterator also introduce const_iterator. Remove getPos,
1196 getInset and setInset from InsetTable. Adjust accordingly.
1198 * BufferView.C (lockInset): adjust
1199 (ChangeInsets): adjust
1201 * tabular.[Ch]: delete commented same_id functions
1203 2003-05-28 John Levon <levon@movementarian.org>
1205 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1207 2003-05-28 André Pönitz <poenitz@gmx.net>
1209 * metricsinfo.[Ch]: remove 'fullredraw' member
1211 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1213 * lyxtextclass.C (operator): remove caching.
1215 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1219 * text2.C (cursorBottom): adjust
1220 (setCounter): use ParagraphList::find, adjust
1222 * text.C (workWidth): use ParagraphList::find, adjust
1224 * lyxcursor.C (LyXCursor): adjust
1226 * buffer.C (inset_iterator): adjust
1228 * ParagraphList.h: make iterator(value_type) private, make
1229 ParagraphList a friend of iterator.
1231 * ParagraphList.C (find): new function
1233 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1235 2003-05-27 André Pönitz <poenitz@gmx.net>
1237 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1239 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1241 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1243 2003-05-26 John Levon <levon@movementarian.org>
1245 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1247 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1249 * remove same_id from function signatures, adjust.
1251 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1253 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1255 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1257 * paragraph.C (Paragraph): get rid of same_ids parameter
1259 * ParagraphList.C (insert): adjust
1262 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1264 * paragraph_funcs.C (breakParagraph): adjust
1265 (breakParagraphConservative): adjust
1267 * buffer.C (readParagraph): adjust
1269 * ParagraphList.C (insert): take a reference instead of a pointer
1272 * paragraph.[Ch] (id): new function
1274 * bufferlist.C (newFile): adjust
1276 * ParagraphList.C (ParagraphList): adjust
1278 (push_back): take a reference instead of a pointer.
1280 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1282 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1285 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1286 set else use old code.
1288 * ParagraphList.C: remove all NO_NEXT code and only compile this
1289 code of NO_STD_LIST is set.
1291 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1293 * BufferView_pimpl.C:
1303 * graphics/GraphicsConverter.C:
1304 * graphics/PreviewLoader.C: header adjustment
1306 2003-05-23 Angus Leeming <leeming@lyx.org>
1308 * LaTeXFeatures.[Ch] (useBabel): new method.
1309 * bufferparams.C (writeLaTeX): use it.
1311 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1313 * ParagraphList.h (set): remove unused function.
1315 2003-05-23 André Pönitz <poenitz@gmx.net>
1318 * BufferView_pimpl.C:
1322 * undo_funcs.C: setUndo reworked
1324 * iterators.[Ch]: add access to topmost ParagraphList
1326 * lyxtext.[Ch] (workWidth): add a const
1328 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1330 * texrow.[Ch] (increasePos): remove function
1331 * exporter.C (export): removed unused var and outdated comment
1333 2003-05-23 Angus Leeming <leeming@lyx.org>
1335 * latexrunparams.h: rename fragile as moving_arg.
1336 * paragraph.C (simpleTeXOnePar): ditto.
1337 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1339 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1341 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1343 (textUndoOrRedo): comment out a currently unused var.
1345 * paragraph.h (NO_NEXT): enable NO_NEXT
1347 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1349 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1351 * exporter.C (Export): adjust for removeAutoInsets removal.
1353 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1355 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1357 * BufferView.[Ch] (removeAutoInsets): delete function
1359 2003-05-22 Angus Leeming <leeming@lyx.org>
1361 * latexrunparams.h: add a free_spacing variable.
1363 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1364 to pass moving_arg, as the data is stored in runparams.fragile.
1366 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1367 to Inset::latexOptional or to simpleTeXOnePar.
1369 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1370 free_spacing arg to Inset::latexOptional.
1372 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1375 2003-05-22 Angus Leeming <leeming@lyx.org>
1377 * latexrunparams.h: add fragile and use_babel variables.
1379 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1380 * buffer.C (makeLaTeXFile): store this returned value in
1381 runparams.use_babel, thus passing it to the inset::latex methods.
1383 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1384 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1386 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1387 longer has a fragile arg, as it is stored in runparams.fragile.
1389 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1390 moving_arg parameter as the data is stored in runparams.fragile.
1392 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1393 a fragile parameter as the data is stored in runparams.fragile.
1395 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1397 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1399 2003-05-22 Angus Leeming <leeming@lyx.org>
1401 * latexrunparams.h: add a 'bool nice' which defaults to false.
1403 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1404 now encapsulated within runparams.
1406 * bufferlist.C (updateIncludedTeXfiles):
1407 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1409 2003-05-22 Angus Leeming <leeming@lyx.org>
1411 * latexrunparams.h: new file containing struct LatexRunParams.
1412 * Makefile.am: add new file.
1414 * LaTeX.[Ch] (c-tor, run):
1415 * buffer.[Ch] (makeLaTeXFile):
1416 * bufferlist.[Ch] (updateIncludedTeXfiles):
1417 * converter.C (convert, scanLog):
1418 * converter.[Ch] (runLaTeX):
1419 * exporter.C (Export):
1420 * paragraph.[Ch] (simpleTeXOnePar):
1421 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1422 * paragraph_funcs.[Ch] (latexParagraphs):
1423 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1424 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1425 pass around a LatexRunParams parameter.
1427 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1429 * paragraph.[Ch]: remove unused constructor
1431 * ParagraphList.C (erase): new function, taking two iterators
1433 2003-05-22 André Pönitz <poenitz@gmx.net>
1435 * undo_funcs.C: remove duplicated code
1437 * iterator.[Ch]: operator=
1439 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1441 * tabular.C (SetMultiColumn): ws changes
1443 * rowpainter.C (paintFirst): get rid of a ->previous
1445 * lyx_cb.C (getPossibleLabel): parlist simplification
1447 * BufferView.C (ChangeInsets): simplify slightly.
1449 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1451 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1452 * lfuns.h: new LFUN_SPACE
1453 * lyxfunc.C: protected space has a new lfun
1454 * paragraph_funcs.C: read new space insets
1456 * factory.C: handle new space insets
1458 2003-05-22 André Pönitz <poenitz@gmx.net>
1461 * BufferView_pimpl.C:
1464 * undo_funcs.C: return a ParIterator from getParFromID.
1466 * iterators.[Ch]: add two const's
1468 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1470 * toc.C (getTocList): adjust
1472 * iterators.[Ch]: rework for parlist
1474 * buffer.C (par_iterator_begin): adjust
1475 (par_iterator_end): adjust
1477 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1479 * BufferView.C (removeAutoInsets): adjust
1480 (ChangeInsets): adjust
1482 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1484 * text.C (top_y): fix bug 1110
1486 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1488 * errorlist.[Ch]: added
1491 * BufferView_pimpl.C:
1492 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1495 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1497 * Makefile.am: ensure that lyx is relinked upon changes to the
1498 various "convenience" libs.
1500 2003-05-20 Angus Leeming <leeming@lyx.org>
1502 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1503 files are compiled in alphabetical order again.
1505 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1507 2003-05-19 Angus Leeming <leeming@lyx.org>
1509 * gettext.[Ch]: remove "char const * _(char const *)".
1511 2003-05-19 André Pönitz <poenitz@gmx.net>
1513 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1522 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1524 2003-05-19 André Pönitz <poenitz@gmx.net>
1528 * lyxtextclass.[Ch]:
1530 * paragraph_funcs.[Ch]:
1532 * text3.C: more insetenv work
1534 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1536 * ParagraphParameters.C (params2string): small bug fixed
1538 2003-05-16 André Pönitz <poenitz@gmx.net>
1541 * bufferview_funcs.C: patch from Kornel Benko to prevent
1542 crash when _(...) is called twice in a statement
1544 2003-05-16 André Pönitz <poenitz@gmx.net>
1551 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1553 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1555 * lyx_main.C (init): remove spurious static_cast
1557 2003-05-14 André Pönitz <poenitz@gmx.net>
1559 * BufferView.C: fix format string
1561 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1563 * BufferView.[Ch] (insertErrors): removed
1564 * BufferView.[Ch] (showErrorList): added
1565 * buffer.C (runChkTeX):
1566 * converter.C (scanLog): call showErrorList instead of inserterrors
1568 2003-05-13 André Pönitz <poenitz@gmx.net>
1570 * BufferView_pimpl.C:
1572 * bufferview_func.C:
1579 * tabular_funcs.h: tostr() from its own header
1581 * ParagraphParameters.C:
1586 * text3.C: STRCONV()
1588 2003-05-12 André Pönitz <poenitz@gmx.net>
1591 * BufferView_pimpl.C:
1595 * ParagraphParameters.C:
1599 * bufferview_funcs.C:
1612 * paragraph_funcs.C:
1616 * text3.C: boost::format -> bformat all over the place
1619 2003-05-09 André Pönitz <poenitz@gmx.net>
1621 * LColor.[Ch]: Pimpl the #include <map> away
1623 2003-05-09 John Levon <levon@movementarian.org>
1625 * bufferlist.C: never remove emergency saves
1627 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1629 * Makefile.am: better lib building
1631 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1633 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1635 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1636 (simpleTeXSpecialChars): adjust
1637 (simpleTeXSpecialChars): adjust
1638 * paragraph.C (simpleTeXOnePar): adjust
1639 * buffer.C (makeLaTeXFile): adjust
1641 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1643 * text2.C (changeDepth): parlist cleanup
1644 (getColumnNearX): ditto
1646 * rowpainter.C (getLabelFont): parlist cleanup
1648 * bufferlist.C (newFile): parlist cleanup
1650 * CutAndPaste.C (eraseSelection): parlist cleanup
1652 * BufferView_pimpl.C (trackChanges): parlist cleanup
1655 * BufferView.C (lockInset): parlist cleanup.
1656 (ChangeInsets): ditto
1658 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1660 * CutAndPaste.h: Update file header.
1662 * CutAndPaste.C: Update file header.
1663 Store the parts cut out of the Document in a limited_stack.
1664 (copySelection): adjust
1665 (pasteSelection): new function, takes the index in the limited stack.
1666 (nrOfParagraphs): adjust
1667 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1668 simplify error inset insertion.
1669 (checkPastePossible): adjust
1671 2003-05-06 John Levon <levon@movementarian.org>
1673 * text2.C: don't cast wrap inset to float
1675 2003-05-05 André Pönitz <poenitz@gmx.net>
1678 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1680 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1681 few naked Paragraph *.
1683 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1685 * bufferparams.C: Output warning if a document with missing
1686 TeX document class is loaded
1687 * exporter.C: Disable TeX exports if the document class is missing
1690 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1691 isTeXClassAvailable()
1693 2003-05-03 John Levon <levon@movementarian.org>
1696 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1697 explicit cursor show/hide
1699 * BufferView_pimpl.h:
1700 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1701 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1703 * lyxfunc.C: hide cursor before dispatching.
1708 * text3.C: remove explicit cursor hides
1710 2003-05-02 André Pönitz <poenitz@gmx.net>
1712 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1715 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1718 * text2.C: tiny whitespace
1720 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1722 * undo_funcs.C: almost only ws changes.
1724 * ParagraphList.C (splice): just return if pl is empty.
1726 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1728 * ParagraphList.C (splice): new function.
1730 * CutAndPaste.C (pasteSelection): use it
1732 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1734 * CutAndPaste.C (pasteSelection): remove the last next and
1735 previous from this file.
1737 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1739 * CutAndPaste.C (pasteSelection): more clean up, user proper
1740 ParagraphList functions for pasteing.
1742 * ParagraphList.C (insert): new function, three arg insert
1744 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1746 * ParagraphList.C (insert): new function, three arg insert
1748 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1751 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1753 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1755 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1757 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1759 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1761 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1762 (copySelection): clean up a bit.
1763 (pasteSelection): use make_pair
1765 * ParagraphList.C (ParagraphList): implement copy constructor
1766 (operator=): implement, base on copy constructor.
1769 * paragraph.C (erase): return a bool
1771 * paragraph_pimpl.C (erasePos): remove function, move contents...
1772 (erase): ... here. Return a bool.
1773 (erase): call erase instead of erasePos.
1775 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1777 * ParagraphList.h: define PitPosPair
1778 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1779 ParagraphList, fix a bug on pasting multiple pars
1780 * text2.C: change interface to C&P
1782 2003-04-30 André Pönitz <poenitz@gmx.net>
1784 * undo_func.C: revert part of yesterday's patch 2
1786 2003-04-30 John Levon <levon@movementarian.org>
1788 * LColor.C: s/tabular/table/
1790 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1792 * text3.C (dispatch): do not convert iterator -> pointer
1793 * undo_funcs.C (setCursorParUndo): ditto
1794 * text_funcs.C (transposeChars): ditto
1796 * text2.C (setLayout): ws changes only
1798 * text.C (breakParagraph): do not convert iterator -> pointer
1800 (acceptChange): ditto
1801 (rejectChange): ditto
1806 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1809 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1811 * text3.C (gotoInset): YABG (yet another bad getChar)
1813 2003-04-29 André Pönitz <poenitz@gmx.net>
1815 * paragraph.h: make operator= private unimplemented as long as
1818 * ParagraphList.C: whitespace
1821 * paragraph_pimpl.[Ch]:
1822 * paragraph_funcs.C:
1824 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1827 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1829 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1831 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1832 * paragraph.[Ch] (erase):
1833 * paragraph_pimpl.[Ch] (erase): change return type and value
1834 * text2.C (cutSelection): some rework
1836 2003-04-28 John Levon <levon@movementarian.org>
1838 * bufferlist.C: changes for unsaved changes dialog
1840 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1842 * bufferlist.C (newFile): set language (messages_) for new
1845 * buffer.C (readFile): ws changes only.
1847 2003-04-28 André Pönitz <poenitz@gmx.net>
1852 * BufferView_pimpl.C:
1853 * BufferView.C: getParFromID related ParagraphList::iterator changes
1855 2003-04-28 André Pönitz <poenitz@gmx.net>
1857 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1860 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1862 * messages.C: remove one more localedir class variable.
1864 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1866 * messages.C (getLocaleDir): singleton generation function
1868 (Messages): add a default constructor.
1870 * main.C (main): do not setup localedir here, do not call
1873 * gettext.C (_): use it.
1874 (gettext_init): delete funciton
1876 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1878 * gettext.C (getLyXMessages): new singleton generating function.
1880 * buffer.C (updateDocLang): adjust
1882 * Makefile.am (messages.o): add target
1883 (main.o): remove target
1885 2003-04-27 John Levon <levon@movementarian.org>
1890 * lyxvc.C: specify cancel button in Alert::prompt
1892 2003-04-26 John Levon <levon@movementarian.org>
1897 * LyXAction.C: add LFUN_INSET_SETTINGS
1899 * lyxfunc.C: don't enable tabular-feature when there's
1900 just any locking inset
1902 2003-04-26 John Levon <levon@movementarian.org>
1904 * bufferlist.C: re-add Cancel to buffer close question
1906 * lyxfunc.C: fix import UI a bit
1908 2003-04-25 John Levon <levon@movementarian.org>
1910 * gettext.C: remove the broken asserts for now
1912 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1914 * messages.C: make case where setlocale cannot comply work better.
1916 * buffer.C (updateDocLang): new function
1917 (changeLanguage): use it
1920 * text2.C (setCounter): use B_ a bit.
1922 * lyxlayout.C (Read): be sure to trim the label strings.
1924 * messages.C (Messages): fix typo in comment
1926 * buffer.C (readFile): set message_ after file is loaded.
1927 (makeDocBookFile): remove double return
1928 (changeLanguage): reset message_ upon language change.
1929 (B_): new func, use this to get translated buffer strings.
1931 * main.C: add myself and Jean Marc as authors.
1933 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1935 * messages.[hC]: pimplify Messages, and three different pimpls to be
1936 used in different circumstances.
1938 * gettext.[Ch]: change for use with new message code.
1940 2003-04-24 André Pönitz <poenitz@gmx.net>
1942 * factory.C: support for eqref
1944 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1946 * messages.[Ch]: add missing char
1948 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1950 * messages.[Ch]: New files
1952 2003-04-18 John Levon <levon@movementarian.org>
1956 * BufferView_pimpl.C:
1960 * text2.C: remove layout-copy/paste (bug 778)
1962 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1964 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1966 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1968 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1969 if they succeed. Act accordingly.
1971 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1973 * text2.C (setCharFont): adjust
1974 (setCounter): adjust
1975 (insertStringAsLines): adjust
1977 * text.C (leftMargin): adjust
1978 (setHeightOfRow): adjust
1980 * rowpainter.C (paintFirst): adjust
1983 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1985 (isFirstInSequence): ditto
1986 (getEndLabel): ditto
1989 * paragraph.C (getParLanguage): comment out some hard stuff.
1991 * buffer.C (insertStringAsLines): take a ParagraphList as arg
1993 (simpleDocBookOnePar): ditto
1994 (makeDocBookFile): use ParagraphList::iterator
1996 * CutAndPaste.C (pasteSelection): adjust
1998 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2000 * text2.C (getFont): adjust
2001 (getLayoutFont): adjust
2002 (getLabelFont): adjust
2004 * paragraph_funcs.C (TeXOnePar): adjust
2006 * buffer.C (simpleLinuxDocOnePar): adjust
2007 (simpleDocBookOnePar): adjust
2009 * CutAndPaste.C (pasteSelection): adjust
2011 * BufferView.C (getEncoding): adjust
2013 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2015 2003-04-16 John Levon <levon@movementarian.org>
2017 * lyxfind.C: use parlist stuff for search/changes
2019 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2021 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2023 * text2.C (deleteEmptyParagraphMechanism): adjust
2025 * text2.[Ch] (ownerParagraph): delete func (both of them
2027 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2029 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2031 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2033 * ParagraphList.C: prepare for NO_NEXT
2035 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2037 * text2.C (getFont): adjust
2038 (getLayoutFont): adjust
2039 (getLabelFont): adjust
2041 * paragraph.C (getFont): adjust
2042 (getLabelFont): adjust
2043 (getLayoutFont): adjust
2045 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2047 2003-04-15 John Levon <levon@movementarian.org>
2051 * lyx_main.C: handle Include in .ui files
2053 2003-04-15 John Levon <levon@movementarian.org>
2055 * MenuBackend.C: make the doc files length shorter
2058 * ToolbarBackend.C: handle toolbar placement flags,
2061 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2063 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2066 * paragraph_funcs.C (TeXOnePar): adjust
2068 * paragraph.C (getLabelFont): add outerfont arg, adjust
2069 (getLayoutFont): ditto
2070 (simpleTeXOnePar): adjust
2072 * paragraph_pimpl.C (realizeFont): delete func
2074 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2076 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2077 row argument, constify cur argument.
2079 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2081 * text2.C (getFont): adjust
2082 (getLayoutFont): adjust
2083 (getLabelFont): adjust
2085 * paragraph_funcs.C (TeXOnePar): adjust
2086 (outerFont): new func...
2087 (realizeFont): ...moved out from here, changed this to facilitate
2090 * paragraph.C (getFont): take outerfont as arg, adjust
2091 (simpleTeXOnePar): add outerfont arg, adjust
2093 * buffer.C (simpleLinuxDocOnePar): adjust
2094 (simpleDocBookOnePar): adjust
2096 * CutAndPaste.C (pasteSelection): adjust
2098 * BufferView.C (getEncoding): adjust
2100 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2102 * text2.C (setCharFont): adjust
2103 (setCounter): adjust
2105 * text.C (leftMargin): adjust
2106 (setHeightOfRow): adjust
2108 * rowpainter.C (paintFirst): adjust
2111 * paragraph_pimpl.C (realizeFont): adjust
2113 * paragraph.C (isFirstInSequence): move from here...
2114 * paragraph_funcs.C (isFirstInSequence): ...to here
2116 * paragraph.C (outerHook): move from here...
2117 * paragraph_funcs.C (outerHook): ...to here
2119 * paragraph.C (depthHook): move from here...
2120 * paragraph_funcs.C (depthHook): ...to here
2122 * paragraph.C (getEndLabel): move from here...
2123 * paragraph_funcs.C (getEndLabel): ...to here
2125 * text2.C (realizeFont): move from here...
2126 * paragraph_funcs.C (realizeFont): ...to here
2128 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2130 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2132 2003-04-14 Angus Leeming <leeming@lyx.org>
2134 * LColor.[Ch]: scrap LColor mathcursor.
2136 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2138 * lyxlex.[Ch] (text): delete function
2139 * trans.C (Load): adjust
2140 * paragraph_funcs.C (readParToken): adjust
2142 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2144 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2145 vector<char> instead of a char[].
2147 * lyxlex_pimpl.C (getString): adjust
2149 (lex): use getString
2153 * lyxlex.C (text): use pimpl_->getString()
2157 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2159 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2160 (makeFontEntriesLayoutSpecific): temp var for par.size()
2161 (setLayout): temp var for ownerParagraphs().end()
2162 (fullRebreak): temp var for rows().end()
2163 (selectionAsString): temp var for boost::next(startpit), realize
2164 that the while really is a regular for loop.
2165 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2166 setCursor in one place.
2167 (setParagraph): temp vr for ownerParagraphs().end()
2168 (updateCounters): make the while loop a for loop
2169 (cutSelection): temp var for ownerParagraphs().end()
2170 (updateInset): make the do {} while() a regular for loop
2171 (getCursorX): use temp vars
2172 (setCurrentFont): use temp vars
2173 (getColumnNearX): use temp vars
2175 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2177 * text.C (transformChar): use temp var for getChar
2178 (computeBidiTables): use temp var for row->par()
2179 (fill): move temp vars for row->par() and pit->layout() earlier in
2181 (labelFill): use temp var for row->par()
2182 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2183 asc and desc, realize that pit never changes and that firstpit is
2184 just a duplicate and not needed. Exchange rit->par() with pit in a
2186 (breakAgain): use a temp var for boost::next(rit)
2187 (breakAgainOneRow): ditto
2188 (breakParagraph): use a temp var for rows().begin()
2189 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2190 (cursorRightOneWord): use temp var for cursor.par() and
2191 cursor.pos(), remove usage of tmpcursor.
2192 (cursorLeftOneWord): use temp var for cursor.par() and
2193 cursor.pos() only set cur at end of function.
2195 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2197 * text.C, text2.C: exchange all usage of Paragraph::next with
2198 boost::next(ParagraphList::iterator)
2200 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2202 * text2.C (cursorTop): simplify implementation
2203 (cursorBottom): ditto
2204 (setParagraph): use ParagraphList::iterator
2205 (setCurrentFont): adjust
2206 (getColumnNearX): adjust
2207 (cursorRight): adjust
2208 (cursorLeft): remove usage of Paragraph::previous
2209 (cursorUpParagraph): ditto
2210 (deleteEmptyParagraphMechanism): slight cleanup
2212 * text.C (isBoundary): take a Paragraph const & instead of a
2214 (addressBreakPoint): ditto
2215 (leftMargin): remove usage of Paragraph::previous.
2216 (setHeightOfRow): ditto
2217 (cursorLeftOneWord): ditto
2218 (selectNextWordToSpellcheck): ditto
2221 (breakParagraph): remove one usage of Paragraph::next
2222 (redoParagraph): ditto
2223 (acceptChange): ditto
2224 (insertChar): adjust
2225 (rowBreakPoint): adjust
2227 * bufferview_funcs.C (toggleAndShow): adjust
2229 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2231 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2232 methods to access it.
2234 * text.C: Added updateRowPositions to compute all row positions.
2235 Make top_y and getRowNearY() to use the cached y position
2237 2003-04-11 John Levon <levon@movementarian.org>
2239 * text.C (rowBreakPoint): reintroduce the labelEnd
2240 checks, code copied from the row fill stuff. Deep voodoo.
2242 * text.C (fill): add a comment and debugging for the
2245 2003-04-11 John Levon <levon@movementarian.org>
2247 * text.C: make sure fullrow insets get wrapped to the next line,
2248 even when they're in a manual label
2250 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2252 * text2.C (insertParagraph): make it take ParagraphList::iterator
2254 (setLayout): make it return ParagraphList::iterator
2255 (redoParagraphs): ditto
2257 (checkParagraph): ditto
2259 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2261 * text2.C: adjust several funcs.
2262 (realizeFont): take a ParagraphList::iterator as arg.
2263 (getLayoutFont): ditto
2264 (getLabelFont): ditto
2265 (setCharFont): ditto
2267 * text.C: adjust several funcs.
2269 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2271 * text.C (selectNextWordToSpellcheck): don't accidentally
2274 2003-04-10 John Levon <levon@movementarian.org>
2276 * ToolbarBackend.C (getIcon): special handling for
2279 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2281 * text2.C (cursorRight): a getChar assert fixed
2283 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2285 * text2.C (getFont): change to take a ParagraphList::iterator
2286 instead of Paragraph*
2287 Adjust several functions.
2289 * text.C (transformChar): change to take a ParagraphList::iterator
2290 instead of Paragraph*
2291 (singleWidth): ditto
2292 Adjust several functions.
2294 * rowpainter.C: adjust several functions
2295 * rowpainter.h:store a ParagraphList::iterator and not a
2299 2003-04-09 John Levon <levon@movementarian.org>
2304 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2305 and the "help" bits as well
2307 2003-04-09 John Levon <levon@movementarian.org>
2310 * ToolbarBackend.C: allow multiple toolbars
2312 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2314 * undo_funcs.C (setCursorParUndo): adjust
2316 * text_funcs.C (transposeChars): adjust
2318 * text3.C (gotoNextInset): adjust
2321 * text2.C (setLayout): adjust
2322 (changeDepth): adjust
2324 (redoParagraphs): adjust
2325 (selectionAsString): adjust
2326 (setParagraph): adjust
2327 (insertInset): adjust
2328 (cutSelection): adjust
2329 (copySelection): adjust
2330 (pasteSelection): adjust
2331 (insertStringAsLines): adjust
2332 (updateInset): adjust
2333 (setCursor): change to take a ParagraphList::iterator parameter
2334 (setCursorIntern): change to take a ParagraphList::iterator parameter
2335 (setCurrentFont): adjust
2336 (cursorLeft): adjust
2337 (cursorRight): adjust
2338 (deleteEmptyParagraphMechanism): adjust
2340 * text.C (breakParagraph): adjust
2341 (insertChar): adjust
2342 (acceptChange): adjust
2343 (rejectChange): adjust
2344 (selectNextWordToSpellcheck): adjust
2345 (changeCase): adjust
2349 * lyxfind.C (SearchForward): adjust
2350 (SearchBackward): adjust
2351 (nextChange): adjust
2353 * lyxcursor.C (par): adjust
2355 * lyxcursor.h: store a ParagraphList::iterator instead of a
2358 * lyx_cb.C (getPossibleLabel): adjust
2360 * bufferview_funcs.C (toggleAndShow): adjust
2362 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2365 * BufferView.C (removeAutoInsets): adjust
2366 (lockedInsetStoreUndo): adjust
2368 2003-04-09 John Levon <levon@movementarian.org>
2370 * ToolbarBackend.C: try icon without argument
2371 if with argument fails
2373 2003-04-08 John Levon <levon@movementarian.org>
2376 * ToolbarBackend.C: add getIcon(), handle tooltip,
2377 and change from "Icon" to "Item".
2379 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2381 * BufferView.C (lockInset): another bad getchar crunched
2383 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2385 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2388 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2390 * lyxfind.C (searchForward, searchBackwards): bug 782
2392 2003-04-07 John Levon <levon@movementarian.org>
2394 * paragraph.C: remove dead comment
2396 * text.C: remove troublesome depth-fiddling code
2397 in leftMargin() and rightMargin() (bug 1017)
2399 * text.C: fix breaking of rows in nested lists
2402 * text2.C (updateCounters): fix up depth values
2405 2003-04-07 John Levon <levon@movementarian.org>
2407 * BufferView_pimpl.C: clear message when doc finishes resizing,
2408 and after a mouse event
2410 * lyxfunc.C: clear message after exiting inset
2412 2003-04-07 John Levon <levon@movementarian.org>
2414 * bufferview_funcs.C: show math status not outside
2415 status in the statusbar
2417 2003-04-07 John Levon <levon@movementarian.org>
2419 * lyxfunc.C: note status changed after a depth change
2421 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2423 * LaTeX.h: move AuxInfo operator==, != out of line.
2424 Remove LaTeX virtual destructor; nothing derives from it.
2425 Move operator()() out of public area and rename it startscript().
2426 Change protected for private.
2428 2003-04-04 Angus Leeming <leeming@lyx.org>
2431 * text2.C: remove unneeded #includes.
2433 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2435 * text2.C (dEPM): fix the heigth of the next row
2437 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2439 * text.C: squashed an invalid getChar requester + some ws changes
2441 2003-04-03 John Levon <levon@movementarian.org>
2443 * bufferview_funcs.h:
2444 * bufferview_funcs.C:
2447 * text2.C: make getStatus work for the env depth lfuns
2449 2003-04-03 John Levon <levon@movementarian.org>
2451 * bufferview_funcs.h:
2452 * bufferview_funcs.C:
2455 * text2.C: parlistize decDepth(), by merging it with incDepth()
2457 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2459 * lyxrow.h: store a ParagraphList::iterator instead of a
2460 Paragraph* and adjust other class functions to suit.
2462 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2465 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2467 * text2.C (setCursor): do not anchor to cursor row for the time being
2469 2003-04-02 John Levon <levon@movementarian.org>
2476 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2478 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2480 * paragraph.h: make ParagraphList and ParagraphList::iterator
2481 friends of Paragraph.
2483 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2485 * ParagraphList.C: Use the private next_ and previous_ from
2488 2003-04-01 John Levon <levon@movementarian.org>
2492 * Makefile.am: rename, remove defaults gunk
2495 * MenuBackend.C: remove defaults gunk
2498 * Languages.C: remove defaults gunk
2501 * lyx_main.C: error out if files couldn't be found.
2503 2003-04-02 John Levon <levon@movementarian.org>
2505 * text2.C: make incDepth() use parlist
2507 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2509 * undo_funcs.C (firstUndoParagraph): adjust
2511 * text3.C (gotoInset): adjust
2512 (dispatch): adjust, and rewrite loop.
2514 * text2.C (init): adjust, and rewrite loop.
2515 (redoParagraphs): adjust
2516 (updateInset): adjust, and rewrite loop.
2517 (deleteEmptyParagraphMechanism): adjust
2519 * tabular.C (LyXTabular): adjust
2520 (SetMultiColumn): adjust
2523 * lyxtext.[Ch] (ownerParagraph): delete function
2524 (ownerParagraphs): new function returns a ParagraphList.
2526 * BufferView.C (removeAutoInsets): adjust
2527 (insertErrors): adjust
2528 (setCursorFromRow): adjust
2530 2003-04-01 Angus Leeming <leeming@lyx.org>
2532 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2535 2003-04-02 John Levon <levon@movementarian.org>
2541 * text_funcs.C: make transposeChars a free function
2543 * lyxrow_funcs.C: remove wrong comment
2545 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2548 * rowpainter.C: adjust
2553 * lyxrow_funcs. [Ch]: new files
2555 * lyxrow.[Ch]: remove next and previous pointers
2556 (next,previous): remove accessor functions
2557 (isParEnd): move to lyxrow_funcs
2558 (lastPos): move to lyxrow_funcs
2559 (nextRowIsAllInset): move to lyxrow_funcs
2560 (lastPrintablePos): move to lyxrow_funcs
2561 (numberOfSeparators): move to lyxrow_funcs
2562 (numberOfHfills): move to lyxrow_funcs
2563 (numberOfLabelHfills): move to lyxrow_funcs
2564 (hfillExpansion): move to lyxrow_funcs
2568 * bufferview_funcs.C (toggleAndShow): adjust
2570 * RowList.h: Remove class RowList from file leave just a
2573 * RowList.C: delete file
2575 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2578 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2580 * text3.C (cursorPrevious): adjust
2581 (cursorNext): adjust
2584 * text2.C (redoHeightOfParagraph): adjust
2585 (redoDrawingOfParagraph): adjust
2588 * text.C (breakParagraph): adjust
2589 (insertChar): adjust
2592 * rowpainter.C (RowPainter): adjust
2593 (leftMargin): simplify and adjust
2594 (most rowpainter functions): adjust.
2596 * rowpainter.h: store the row as RowList::iterator not as Row*
2598 * lyxcursor.C (row): taka RowList::iterator as arg
2601 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2604 2003-04-01 Angus Leeming <leeming@lyx.org>
2606 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2607 stuff like bool Bool.
2609 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2611 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2614 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2616 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2619 * lyxtext.h (rows): drop one version and leve a const variant that
2620 returns a RowList::iterator.
2622 2003-03-31 Angus Leeming <leeming@lyx.org>
2624 * text.C (fill): ensure that the signature is the same as that in the
2627 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2629 * text2.C (redoParagraphs): adjust
2630 (updateCounters): adjust
2631 (checkParagraph): adjust
2632 (getColumnNearX): adjust and reformat a bit.
2634 * text.C (top_y): adjust
2636 (leftMargin): adjust
2637 (prepareToPrint): adjust
2639 (getRowNearY): adjust
2641 * lyxtext.h: make rowlist_ mutable.
2643 * RowList.h: add const_iterator
2644 * RowList.C: adjust for RowList::const_iterator.
2646 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2649 2003-03-31 John Levon <levon@movementarian.org>
2652 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2654 * lyx_main.C: set default fonts from using lyx_gui funcs
2656 * exporter.C: pdf_mode moved from lyxrc
2659 * lyxfunc.C: changes from above
2661 2003-03-31 John Levon <levon@movementarian.org>
2663 * lyx_main.C: fix to the last fix
2665 2003-03-31 John Levon <levon@movementarian.org>
2667 * bufferlist.C: "Load original" -> "Load Original"
2673 * format.C: more Alert cleanups
2675 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2677 * text2.C (removeParagraph): make it take a RowList::iterator as
2679 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2680 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2682 * text.C (anchor_row): make it take a RowList::iterator as arg,
2684 (computeBidiTables): make it take a const reference to Row instead
2685 of Row pointer, adjust.
2686 (leftMargin): make it take a RowList::iterator as arg, adjust.
2687 (rowBreakPoint): adjust
2688 (breakAgainOneRow): make it take a RowList::iterator as arg,
2690 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2692 * bufferview_funcs.C (toggleAndShow): adjust
2694 2003-03-30 John Levon <levon@movementarian.org>
2698 * boost-inst.C: moved to support
2700 * several files: changes as a result
2702 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2704 * text2.C (LyXText): adjust.
2706 (removeRow): make it take a RowList::iterator as arg, adjust.
2707 (fullRebreak): adjust
2708 (deleteEmptyParagraphMechanism): adjust
2709 (clearPaint): adjust
2712 * text.C (top_y): adjust
2713 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2714 (breakAgain): make it take a RowList::iterator as arg, adjust.
2715 (breakParagraph): adjust
2716 (insertChar): adjust
2719 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2720 need_break_row, and refresh_row.
2722 * text3.C (dispatch): adjust
2724 * text2.C (checkParagraph): adjust
2726 (setCursorFromCoordinates): adjust
2728 * text.C (top_y): adjust
2730 (getRow): make it return a RowList::iterator, adjust
2731 (getRowNearY): make it return a RowList::iterator, adjust
2733 * text2.C (init): adjust
2734 (insertRow): remove function
2735 (insertParagraph): adjust
2736 (redoParagraphs): adjust
2737 (fullRebreak): adjust
2738 (updateCounters): adjust
2740 * text.C (top_y): rewrite to use RowList iterators.
2742 (setHeightOfRow): rewrite to sue RowList iterators.
2743 (appendParagraph): adjust
2744 (breakAgain): adjust
2745 (breakAgainOneRow): adjust
2746 (breakParagraph): adjust
2748 (getRowNearY): adjust, and remove commented code.
2750 * lyxtext.h (firstRow): delete function
2751 (lastRow): delete function
2752 (rows): new function (const and non-const versions.)
2753 (insertRow): delete function
2755 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2757 2003-03-29 John Levon <levon@movementarian.org>
2759 * BufferView_pimpl.C: always update scrollbar top
2760 because pasting text when we're anchored could mean we
2761 miss an update altogether
2763 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2765 * text2.C (init): use rowlist_.end() and not 0.
2766 (insertRow): change to take a RowList::iterator as arg, adjust
2768 (insertParagraph): change to take a RowList::iterator as arg,
2770 (redoParagraphs): remove some debug msgs.
2772 * text.C (appendParagraph): change to take a RowList::iterator
2773 arg, adjust for this.
2774 (breakAgain): add an assert
2775 (breakAgainOneRow): ditto
2777 2003-03-29 John Levon <levon@movementarian.org>
2779 * text2.C: do not clear selection after inc/decDepth
2782 2003-03-29 John Levon <levon@movementarian.org>
2785 * buffer.C: fix broken strerrors according to Lars
2787 2003-03-29 John Levon <levon@movementarian.org>
2789 * converters.C: more Alert cleanups
2791 2003-03-29 John Levon <levon@movementarian.org>
2793 * bufferview_funcs.C: remove pointless Alert
2795 * buffer.C: fix confusing error message when
2796 a template is chmoded 000
2798 2003-03-29 John Levon <levon@movementarian.org>
2802 * BufferView_pimpl.C: Alert fixes
2806 * tabular-old.C: remove unused table compat reading
2808 2003-03-29 John Levon <levon@movementarian.org>
2813 * lyx_cb.C: more Alert cleanups
2815 * lyxfunc.C: don't allow chktex if not latex document
2817 2003-03-29 John Levon <levon@movementarian.org>
2821 * buffer.C: warnings pushed down from support/,
2824 2003-03-29 John Levon <levon@movementarian.org>
2826 * lyxfunc.C: safety check for C-r (revert)
2828 2003-03-29 John Levon <levon@movementarian.org>
2831 * bufferlist.C: several UI fixes using Alert::prompt.
2832 Fix the pointless looping quit code. Fix stupid revert
2837 * lyx_cb.C: use Alert::prompt
2839 * lyx_main.C: remove a silly question
2841 * lyxfunc.C: remove a couple of silly questions,
2844 2003-03-28 John Levon <levon@movementarian.org>
2846 * text2.C: fix bug 974 (End on empty par)
2848 2003-03-28 John Levon <levon@movementarian.org>
2850 * BufferView_pimpl.C:
2852 * lfuns.h: remove do-nothing math greek lfuns
2854 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2856 * lyxgluelength.h (isValidGlueLength): add default arg on
2857 parameter 2. Remove default arg from friend in class.
2859 * lyxlength.h (isValidLength): add default arg on parameter 2.
2860 Remove default arg from friend in class.
2862 * text2.C (LyXText): adjust, initialize refresh_row.
2866 (insertParagraph): adjst
2867 (redoParagraphs): adjust
2868 (fullRebreak): adjust
2869 (updateCounters): adjust
2870 (deleteEmptyParagraphMechanism): first attempt at fixing a
2873 * text.C (top_y): adjust
2874 (setHeightOfRow): adjust
2876 (getRowNearY): adjust
2878 * lyxtext.h: include RowList.h
2879 (~LyXText): not needed anymore, deleted.
2880 (firstRow): modify for RowList
2881 (lastRow): new function
2882 Delete firstrow and lastrow class variables, add a Rowlist
2883 rowlist_ class variable.
2885 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2888 * RowList.C (insert): fix case where it == begin().
2890 2003-03-26 Angus Leeming <leeming@lyx.org>
2892 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2893 the thesaurus dialog.
2895 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2897 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2899 * RowList.[Ch]: new files
2901 * ParagraphList.C (erase): handle the case where it == begin
2904 2003-03-25 John Levon <levon@movementarian.org>
2908 * aspell.C: add new aspell support
2911 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2914 2003-03-25 Angus Leeming <leeming@lyx.org>
2917 * LyXAction.C (init): new LFUN_INSET_INSERT.
2919 * BufferView_pimpl.C (dispatch): split out part of the
2920 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2922 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2925 2003-03-25 Angus Leeming <leeming@lyx.org>
2927 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2929 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2932 * text3.C: remove useless row->height(0)
2934 2003-03-25 John Levon <levon@movementarian.org>
2938 * text3.C: rename the refreshing stuff to better names
2940 2003-03-24 John Levon <levon@movementarian.org>
2942 * BufferView_pimpl.h:
2943 * BufferView_pimpl.C: update layout choice on a mouse
2946 2003-03-23 John Levon <levon@movementarian.org>
2948 * Makefile.am: fix commandtags.h reference
2950 2003-03-22 John Levon <levon@movementarian.org>
2952 * BufferView_pimpl.C:
2957 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2959 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2962 * text.C: take the rtl methods out of line
2964 2003-03-21 André Pönitz <poenitz@gmx.net>
2966 * metricsinfo.[Ch]: new files containing structures to be passed around
2967 during the two-phase-drawing...
2969 2003-03-21 André Pönitz <poenitz@gmx.net>
2971 * lyxtextclass.C: read 'environment' tag.
2973 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2975 * text2.C (removeRow): fix bug 964
2977 2003-03-20 John Levon <levon@movementarian.org>
2981 * text2.C: paint cleanups. Inset::update() dropped font
2984 2003-03-19 John Levon <levon@movementarian.org>
2986 * lyxfunc.C: only fitcursor/markDirty if available()
2988 2003-03-19 John Levon <levon@movementarian.org>
2990 * commandtags.h: rename to ...
2992 * lfuns.h: ... this, and renumber / cleanup
2994 2003-03-19 John Levon <levon@movementarian.org>
2996 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2997 fit the cursor after an lfun
3001 * BufferView_pimpl.h:
3002 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3004 * LyXAction.C: layout-character should have ReadOnly
3006 * ParagraphParameters.C:
3008 * bufferview_funcs.C:
3015 * undo_funcs.C: changes from above
3017 2003-03-18 John Levon <levon@movementarian.org>
3019 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3020 remove it from update()
3022 * lyxfunc.C: update layout choice after an lfun
3024 * text3.C: remove extra updateLayoutChoice()s
3026 2003-03-18 John Levon <levon@movementarian.org>
3028 * text.C: top_y change means full repaint, fix
3029 a drawing bug with cursor movement
3031 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3035 * text2.C: anchor row on setCursor
3037 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3039 * lyxtext.h: remove almost all mutable keywords
3042 * text3.C: remove const keywords accordingly
3044 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3046 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3048 (TeXEnvironment): ditto
3051 2003-03-17 John Levon <levon@movementarian.org>
3053 * text.C (rowBreakPoint): remove attempt to fix displayed
3054 math insets inside a manual label
3056 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3058 * lyxtext.h: remove BufferView* as first arg from almost all class
3060 * other files: adjust.
3062 2003-03-17 John Levon <levon@movementarian.org>
3066 * text2.C: more paint cleanups
3068 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3071 * rowpainter.C: remove "smart" background painting code
3073 2003-03-16 John Levon <levon@movementarian.org>
3078 * text3.C: add helper functions for setting refresh_row/y
3080 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3082 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3083 newline inset which *can* get inserted in the pass_thru layouts.
3084 This is primarily for literate documents.
3086 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3088 * buffer.C: increment LYX_FORMAT to 223
3090 2003-03-14 André Pönitz <poenitz@gmx.net>
3092 * textclass.h: prepare for environment handling, ws changes
3093 * lyxlayout.C: read latexheader and latexfooter tags
3095 2003-03-14 John Levon <levon@movementarian.org>
3097 * text2.C: rewrite ::status() a bit
3099 2003-03-13 John Levon <levon@movementarian.org>
3101 * lyxtext.h: add some docs
3103 2003-03-13 John Levon <levon@movementarian.org>
3108 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3110 2003-03-13 John Levon <levon@movementarian.org>
3112 * text3.C: fix appendix redrawing
3114 2003-03-13 John Levon <levon@movementarian.org>
3116 * text.C (setHeightOfRow):
3118 * rowpainter.C: make appendix mark have the text
3119 "Appendix" so the user knows what it is
3122 * LColor.C: s/appendixline/appendix/ from above
3124 2003-03-13 John Levon <levon@movementarian.org>
3126 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3128 * text.C: fix a getChar(pos) bug properly
3130 2003-03-13 Angus Leeming <leeming@lyx.org>
3133 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3134 Probably only temporary. Let's see how things pan out.
3136 * BufferView.C (unlockInset):
3137 * BufferView_pimpl.C (fitCursor):
3138 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3140 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3141 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3143 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3144 new functions that convert ParagraphParameters to and from a string.
3146 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3147 BufferView::Pimpl's dispatch.
3148 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3150 2003-03-13 André Pönitz <poenitz@gmx.net>
3154 * factory.C: make it aware of InsetEnv
3156 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3158 * text2.C (setCursor): never ask for one past last
3159 (setCursor): add some debugging messages.
3161 * text.C (singleWidth): never ask for one past last
3162 (singleWidth): ditto
3164 (rightMargin): ditto
3165 (rowBreakPoint): ditto
3166 (setHeightOfRow): ditto
3167 (prepareToPrint): ditto
3169 * rowpainter.C (paintBackground): never ask for one past last
3170 (paintText): never ask for one past last
3172 * paragraph_pimpl.C (getChar): make the assert stricter, never
3173 allow the one past last pos to be taken
3175 * paragraph.C (getChar): ws changes only
3177 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3178 (numberOfSeparators): ditto
3179 (numberOfHfills): ditto
3181 2003-03-12 John Levon <levon@movementarian.org>
3187 * paragraph_funcs.C: fix per-buffer authorlists
3189 2003-03-12 John Levon <levon@movementarian.org>
3191 * text.C: fix newline in right address
3193 2003-03-12 Angus Leeming <leeming@lyx.org>
3195 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3196 duplicate those in LyXFunc::dispatch.
3200 * ToolbarDefaults.C:
3201 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3202 Add LFUN_FONTFREE_UPDATE.
3204 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3205 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3207 * bufferview_func.[Ch]: several new functions to facilliate
3208 transfer of data to and from the character dialog.
3210 2003-03-12 John Levon <levon@movementarian.org>
3215 * paragraph_funcs.C:
3216 * paragraph_pimpl.C:
3220 * text3.C: remove META_NEWLINE in favour of an inset
3223 * rowpainter.C: remove paintNewline (done by inset)
3225 2003-03-12 John Levon <levon@movementarian.org>
3227 * paragraph_pimpl.C: complain about bad getChar()s
3228 for a while at least
3230 2003-03-12 John Levon <levon@movementarian.org>
3233 * buffer.C: move paragraph read into a separate function,
3234 a little renaming to reflect that.
3237 * bufferparams.C: remove the author_ids map, not necessary now
3240 * factory.C: moved Buffer::readInset to here
3242 * paragraph_funcs.h:
3243 * paragraph_funcs.C: readParagraph free function moved from
3246 * tabular.C: name change
3248 2003-03-12 John Levon <levon@movementarian.org>
3251 * ParagraphParameters.C: move par params input to
3254 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3255 behave like a normal read from the stream wrt reading
3256 a line vs. a \\token
3258 2003-03-12 John Levon <levon@movementarian.org>
3261 * ParagraphParameters.h:
3262 * ParagraphParameters.C: move output code to a
3265 2003-03-12 John Levon <levon@movementarian.org>
3267 * BufferView.C (insertLyXFile):
3270 * tabular.C: use a parlist iterator for creating the
3273 2003-03-12 John Levon <levon@movementarian.org>
3275 * buffer.C: make current_change static local not
3278 2003-03-12 John Levon <levon@movementarian.org>
3280 * buffer.C: fix insertStringAsLines for change tracking
3282 2003-03-12 John Levon <levon@movementarian.org>
3289 * bufferparams.C: move author list into params. Rename some
3290 functions. Move the header reading into a separate token
3291 loop. Move the header token reading into BufferParams.
3293 2003-03-12 John Levon <levon@movementarian.org>
3295 * changes.C: put debug inside lyxerr.debugging() checks
3297 2003-03-11 André Pönitz <poenitz@gmx.net>
3299 * factory.C: make it aware of InsetHFill
3301 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3303 * buffer.C (latexParagraphs): move function from here...
3304 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3307 2003-03-10 Angus Leeming <leeming@lyx.org>
3309 * LyXAction.C (init): fix bug in poplating array with multiple entries
3310 with the same LFUN (spotted by JMarc).
3312 2003-03-10 John Levon <levon@movementarian.org>
3315 * text2.C: move getColumnNearX() near its
3318 2003-03-10 John Levon <levon@movementarian.org>
3320 * text.C: fix break before a minipage
3322 2003-03-10 John Levon <levon@movementarian.org>
3324 * text.C: fix the last commit
3326 2003-03-09 John Levon <levon@movementarian.org>
3330 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3331 bug 365 (don't break before insets unless needed). Don't
3332 return a value > last under any circumstances.
3334 2003-03-09 Angus Leeming <leeming@lyx.org>
3336 * BufferView_pimpl.C (trackChanges, dispatch): call
3337 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3339 2003-03-09 Angus Leeming <leeming@lyx.org>
3341 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3342 than Dialogs::showAboutlyx().
3344 2003-03-09 Angus Leeming <leeming@lyx.org>
3346 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3347 than Dialogs::showTabularCreate().
3349 2003-03-09 John Levon <levon@movementarian.org>
3353 * text2.C: 3rd arg to nextBreakPoint was always the same.
3356 2003-03-08 John Levon <levon@movementarian.org>
3363 * text2.C: Remove the "main" bit from the "main body"
3366 2003-03-08 John Levon <levon@movementarian.org>
3368 * text.C (leftMargin): The left margin of an empty
3369 manual label paragraph should not include the label width
3372 * text.C (prepareToPrint): don't attempt to measure hfills
3373 for empty manual label paragraphs - the answer should be 0
3375 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3377 * CutAndPaste.C: remove commented code and reindent.
3379 2003-03-08 John Levon <levon@movementarian.org>
3382 * lyxfunc.C: move reloadBuffer()
3385 * BufferView.C: to here
3387 * lyxvc.C: add comment
3390 * vc-backend.C: call bv->reload() to avoid
3391 getStatus() check on MENURELOAD
3393 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3395 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3396 to an old format .dep file.
3398 2003-03-07 Angus Leeming <leeming@lyx.org>
3400 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3401 when the LFUN_MOUSE_RELEASE should have been handled by
3402 inset->localDispatch.
3404 2003-03-07 Angus Leeming <leeming@lyx.org>
3406 * BufferView_pimpl.C (dispatch):
3407 * LyXAction.C (init):
3408 * ToolbarDefaults.C (init):
3410 * lyxfunc.C (getStatus):
3411 remove LFUN_INSET_GRAPHICS.
3413 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3415 2003-03-07 Angus Leeming <leeming@lyx.org>
3418 * LyXAction.C (init):
3419 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3421 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3424 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3426 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3427 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3429 2003-03-07 Angus Leeming <leeming@lyx.org>
3431 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3434 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3436 * ParagraphList.C (front): new function
3439 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3441 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3442 and top_row_offset_. removed var first_y.
3444 * text2.C (LyXText, removeRow):
3446 * BufferView_pimpl.C:
3447 use these methods instead of using first_y
3449 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3451 * text2.C (pasteSelection): adjust for checkPastePossible
3453 * CutAndPaste.C: remove Paragraph * buf and replace with
3454 ParagraphList paragraphs.
3455 (DeleteBuffer): delete
3456 (cutSelection): change the tc type to textclass_type
3457 (copySelection): change the tc type to textclass_type
3458 (copySelection): adjust for ParagraphList
3459 (pasteSelection): change the tc type to textclass_type
3460 (pasteSelection): adjust for Paragraphlist
3461 (nrOfParagraphs): simplify for ParagraphList
3462 (checkPastePossible): simplify for ParagraphList
3463 (checkPastePossible): remove unused arg
3465 * ParagraphList.C (insert): handle the case where there are no
3468 * CutAndPaste.h: make CutAndPaste a namespace.
3470 * text3.C (dispatch): adjust
3472 * text.C (breakParagraph): add a ParagraphList as arg
3474 * paragraph_funcs.C (breakParagraph): change to take a
3475 BufferParams and a ParagraphList as args.
3476 (breakParagraphConservative): ditto
3477 (mergeParagraph): ditto
3478 (TeXDeeper): add a ParagraphList arg
3479 (TeXEnvironment): ditto
3482 * buffer.C (readLyXformat2): adjust
3483 (insertStringAsLines): adjust
3484 (latexParagraphs): adjust
3486 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3487 (cutSelection): adjust
3488 (pasteSelection): adjust
3490 * BufferView_pimpl.C (insertInset): adjust
3492 2003-03-05 Angus Leeming <leeming@lyx.org>
3495 * LyXAction.C (init):
3496 * BufferView_pimpl.C (dispatch):
3497 * lyxfunc.C (getStatus):
3498 remove LFUN_CHILD_INSERT.
3500 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3502 2003-03-05 Angus Leeming <leeming@lyx.org>
3505 * LyXAction.C (init):
3506 * src/factory.C (createInset):
3507 * lyxfunc.C (getStatus):
3508 * text3.C (dispatch):
3509 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3511 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3513 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3515 * ParagraphList.C (insert): handle insert right before end()
3516 (erase): fix cases where it can be first or last paragraph.
3518 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3520 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3521 Paragraph::next and Paragraph::previous
3524 * text.C (breakParagraph): adjust
3526 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3527 BufferParams& as arg.
3528 (breakParagraph): use ParagraphList::insert
3529 (breakParagraphConservative): take a Buffer* instead of a
3530 BufferParams& as arg.
3531 (breakParagraphConservative): use ParagraphList::insert.
3533 * buffer.C (insertStringAsLines): un-const it
3534 (insertStringAsLines): adjust
3536 * ParagraphList.C (insert): new function
3538 * CutAndPaste.C (pasteSelection): adjust
3540 * text.C (backspace): adjust
3542 * tabular.C (SetMultiColumn): adjust
3544 * CutAndPaste.C (cutSelection): adjust
3545 (pasteSelection): adjust
3547 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3548 Buffer const * as arg
3550 * ParagraphList.C (erase): new function
3551 * paragraph_funcs.C (mergeParagraph): use it
3552 (mergeParagraph): make it take a Buffer* instead of a
3553 BufferParams* as arg
3555 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3557 (breakParagraphConservative): ditto
3559 * paragraph.h: remove the breakParagraph friend
3561 * paragraph.C (eraseIntern): new function
3562 (setChange): new function
3564 * paragraph_funcs.C (mergeParagraph): make it take a
3565 ParagraphList::iterator instead of a Paragraph *, adjust
3568 * paragraph.h: move an #endif so that the change tracking stuff
3569 also works in the NO_NEXT case.
3571 2003-03-04 Angus Leeming <leeming@lyx.org>
3574 * LyXAction.C: new LFUN_INSET_MODIFY.
3576 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3577 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3579 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3581 * several files: ws changes only
3583 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3584 (TeXEnvironment): ditto
3587 * buffer.C (makeLaTeXFile): adjust
3588 (latexParagraphs): make it take ParagraphList::iterator as args
3590 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3592 * buffer.C (latexParagraphs): adjust
3594 * paragraph.C (TeXOnePar): move function...
3595 (optArgInset): move function...
3596 (TeXEnvironment): move function...
3597 * paragraph_pimpl.C (TeXDeeper): move function...
3598 * paragraph_funcs.C: ...here
3600 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3602 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3604 * buffer.C (readInset): remove compability code for old Figure and
3607 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3609 * buffer.C: ws changes
3612 * BufferView_pimpl.C: ditto
3615 * bufferlist.h: ditto
3619 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3621 * converter.[Ch]: split into itself +
3624 * Makefile.am: += graph.[Ch] + format.[Ch]
3631 * lyxrc.C: added #include "format.h"
3633 2003-02-27 Angus Leeming <leeming@lyx.org>
3635 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3638 * factory.C (createInset): add "label" to the factory.
3640 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3641 string and do no more.
3643 2003-02-27 Angus Leeming <leeming@lyx.org>
3646 * LyXAction.C (init):
3647 * factory.C (createInset):
3648 * BufferView_pimpl.C (dispatch):
3649 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3651 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3653 * lyxfunc.C (dispatch):
3654 * text3.C (dispatch): pass name to params2string.
3656 2003-02-26 Angus Leeming <leeming@lyx.org>
3658 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3660 Rearrange the ~includes. Strip out the unnecessary ones.
3662 * factory.C (createInset): reformat.
3663 create new insets for the various LFUN_XYZ_APPLY lfuns.
3665 2003-02-26 John Levon <levon@movementarian.org>
3668 * lyxrow.C: add isParStart,isParEnd helpers
3670 * paragraph.h: make isInserted/DeletedText take refs
3672 * paragraph_funcs.h:
3673 * paragraph_funcs.C: remove #if 0'd code
3678 * text.C: use lyxrow helpers above.
3679 Move draw and paint routines to RowPainter.
3680 Make several methods use refs not pointers.
3681 Make backgroundColor() const.
3682 Add markChangeInDraw(), isInInset().
3683 Merge changeRegionCase into changeCase.
3684 Make workWidth() shouldn't-happen code into an Assert.
3687 * rowpainter.C: new class for painting a row.
3690 * vspace.C: make inPixels take a ref
3692 2003-02-26 Angus Leeming <leeming@lyx.org>
3694 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3697 2003-02-25 John Levon <levon@movementarian.org>
3699 * ispell.C: give the forked command a more accurate name
3701 2003-02-22 John Levon <levon@movementarian.org>
3704 * toc.C: make TocItem store an id not a Paragraph *
3707 2003-02-21 Angus Leeming <leeming@lyx.org>
3709 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3710 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3711 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3712 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3713 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3714 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3716 * BufferView_pimpl.C (dispatch):
3717 * LyXAction.C (init):
3718 * factory.C (createInset):
3719 * lyxfunc.C (getStatus, dispatch):
3720 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3722 2003-02-21 Angus Leeming <leeming@lyx.org>
3724 * BufferView_pimpl.C (MenuInsertLyXFile):
3725 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3726 * lyxfunc.C (menuNew, open, doImport):
3727 no longer pass a LyXView & to fileDlg.
3729 2003-02-21 Angus Leeming <leeming@lyx.org>
3731 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3732 * LyXAction.C: change, BIBKEY to BIBITEM.
3733 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3734 Change InsetBibKey to InsetBibitem.
3735 Change BIBKEY_CODE to BIBITEM_CODE.
3736 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3737 * factory.C: replace insetbib.h with insetbibitem.h.
3738 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3739 * paragraph.C: replace insetbib.h with insetbibitem.h.
3740 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3741 Change bibkey() to bibitem().
3742 * text.C: remove insetbib.h.
3743 * text2.C: replace insetbib.h with insetbibitem.h.
3744 change bibkey() to bibitem().
3745 * text3.C: remove insetbib.h.
3746 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3748 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3750 * lyxrc.C (output): enclose user email in quotes (in case there are
3753 2003-02-18 John Levon <levon@movementarian.org>
3755 * buffer.h: add std::
3757 2003-02-17 John Levon <levon@movementarian.org>
3763 * pspell.C: reworking. Especially in ispell, a large
3764 number of clean ups and bug fixes.
3766 * lyxfunc.C: fix revert to behave sensibly
3768 2003-02-17 André Pönitz <poenitz@gmx.net>
3771 * commandtags.h: new LFUN_INSERT_BIBKEY
3781 * paragraph_func.C: remove special bibkey handling
3783 2003-02-17 John Levon <levon@movementarian.org>
3785 * text.C (Delete): fix case where delete at the end of
3786 the very first paragraph would not merge the pars
3788 2003-02-17 John Levon <levon@movementarian.org>
3790 * lyxrow.C: fix lastPrintablePos()
3792 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3794 * bufferparams.C (writeLaTeX): add a std:here
3796 * buffer.C: and remove a using directive there
3798 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3800 * buffer.C (makeLaTeXFile): move the code that generates the
3803 * bufferparams.C (writeLaTeX): ... in this new method
3805 * LaTeXFeatures.C (getEncodingSet): make const
3806 (getLanguages): make const
3808 * MenuBackend.C (binding): returns the binding associated to this
3810 (add): sets the status of each item by calling getStatus. Adds
3812 (read): add support for OptSubMenu
3813 (expand): remove extra separator at the end of expanded menu
3815 2003-02-15 John Levon <levon@movementarian.org>
3818 * BufferView_pimpl.C:
3820 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3821 inset code that had no actual effect. Remove unneeded status
3824 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3826 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3829 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3831 * text.C (drawLengthMarker): also draw an arrow marker for
3832 symbolic lengths (medskip...)
3834 2003-02-14 John Levon <levon@movementarian.org>
3837 * tabular.C: better method names
3839 2003-02-14 John Levon <levon@movementarian.org>
3841 * BufferView_pimpl.C:
3846 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3847 it's a more accurate name. Remove some pointless uses.
3849 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3851 * text2.C (LyXText): change order of initilizers to shut off
3854 2003-02-14 John Levon <levon@movementarian.org>
3856 * buffer.C: use ParIterator for getParFromID()
3860 * paragraph_pimpl.h:
3861 * paragraph_pimpl.C: remove unused getParFromID()
3863 2003-02-14 John Levon <levon@movementarian.org>
3865 * buffer.C: remove some very old #if 0'd parse code
3867 2003-02-13 John Levon <levon@movementarian.org>
3871 * text2.C: move hfillExpansion(), numberOfSeparators(),
3872 rowLast(), rowLastPrintable(), numberofHfills(),
3873 numberOfLabelHfills() ...
3876 * lyxrow.C: ... to member functions here.
3881 * text.C: remove LyXText::beginningOfMainBody(), and call
3882 p->beginningOfMainBody() directly. Move the check for
3883 LABEL_MANUAL into the latter.
3890 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3896 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3897 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3899 2003-02-13 John Levon <levon@movementarian.org>
3901 * CutAndPaste.C: remove debug
3903 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3905 * paragraph.C (asString): remove two unused variables
3907 * lyxtextclass.C (readTitleType):
3909 (LyXTextClass): handle new members titletype_ and titlename_
3911 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3913 2003-02-09 John Levon <levon@movementarian.org>
3916 * buffer.C: replace hand-coded list with a map for the dep clean
3918 2003-02-08 John Levon <levon@movementarian.org>
3920 * LaTeX.C: consolidate code into showRunMessage() helper
3922 2003-02-08 John Levon <levon@movementarian.org>
3927 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3928 and pass the size in explicitly
3930 * BufferView_pimpl.h:
3931 * BufferView_pimpl.C:
3933 * BufferView.C: add getCurrentChange()
3935 * BufferView_pimpl.h:
3936 * BufferView_pimpl.C: handle change lfuns
3938 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3939 for changes. Mark pasted paragraphs as new.
3941 * support/lyxtime.h:
3942 * support/lyxtime.C:
3943 * DepTable.C: abstract time_t as lyx::time_type
3946 * LColor.C: add colours for new text, deleted text, changebars
3948 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3949 package use "usenames" option.
3953 * LyXAction.C: add change lfuns
3957 * author.C: author handling
3960 * buffer.C: add a per-buffer author list, with first entry as
3961 current author. Handle new .lyx tokens for change tracking. Output
3962 author list to .lyx file. Output dvipost stuff to .tex preamble.
3963 Bump lyx format to 222.
3966 * bufferlist.C: add setCurrentAuthor() to reset current author details
3970 * bufferparams.C: add param for tracking
3972 * bufferview_funcs.C: output change info in minibuffer
3976 * changes.C: add change-tracking structure
3979 * debug.C: add CHANGES debug flag
3982 * lyxfind.C: add code for finding the next change piece
3985 * lyxrc.C: add user_name and user_email
3988 * lyxrow.C: add a metric for the top of the text line
3991 * text.C: implement accept/rejectChange()
3994 * text.C: paint changebars. Paint new/deleted text in the chosen
3995 colours. Strike through deleted text.
3999 * paragraph_pimpl.h:
4000 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4001 in the current change to the insert functions. Rework erase to
4002 mark text as deleted, adding an eraseIntern() and a range-based
4003 erase(). Implement per-paragraph change lookup and
4006 * paragraph_funcs.C: Fixup paste for change tracking.
4008 * tabular.C: mark added row/columns as new.
4010 * text.C: fix rowLast() to never return -1. Don't allow
4011 spellchecking of deleted text. Track transpose changes. Don't
4012 allow paragraph break or merge where appropriate.
4014 * text2.C: leave cursor at end of selection after a cut.
4016 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4018 * text.C (getLengthMarkerHeight):
4019 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4020 visible on screen too.
4022 2003-02-07 John Levon <levon@movementarian.org>
4024 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4026 2003-02-05 Angus Leeming <leeming@lyx.org>
4028 * lyxserver.C (read_ready): revert my patch of 11 September last year
4029 as it sends PC cpu through the roof. Presumably this means that
4030 the lyxserver will no longer run on an Alpha...
4032 2003-01-30 Angus Leeming <leeming@lyx.org>
4034 * factory.C (createInset): create an InsetCommandParam of type "index"
4035 and use it to 'do the right thing'.
4037 * text2.C (getStringToIndex): ensure that cursor position is always
4038 reset to the reset_cursor position.
4040 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4042 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4045 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4049 * lyxfunc.C: Output messages with identical spelling, punctuation,
4052 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4054 * MenuBackend.C (expandFormats): List only viewable export formats
4057 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4060 * lyxfunc.C (getStatus): Make sure that formats other than
4061 "fax" can also be disabled
4063 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4065 * text3.C (dispatch): put the lfuns that insert insets in 3
4066 groups, and call doInsertInset with appropriate arguments.
4067 (doInsertInset): new function, that creates an inset and inserts
4068 it according to some boolean parameters.
4070 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4072 * buffer.C (readFile): remember to pass on 'par' when calling
4073 readFile recursively.
4075 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4077 * MenuBackend.C (expandFormats): add "..." to import formats.
4079 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4081 * paragraph.C (asString): Remove XForms RTL hacks.
4083 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4084 * buffer.C: fix typo
4086 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4088 * Makefile.am (LIBS): delete var
4089 (lyx_LDADD): add @LIBS@ here instead.
4091 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4093 * Clarify the meaning of "wheel mouse jump"
4095 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4097 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4100 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4102 * importer.C (Loaders): do not preallocate 3 elements in the
4103 vector, since one ends up with 6 elements otherwise
4105 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4107 * DepTable.C (write): write the file name as last element of the
4108 .dep file (because it may contain spaces)
4109 (read): read info in the right order
4111 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4113 * paragraph_pimpl.C (simpleTeXBlanks):
4114 (simpleTeXSpecialChars):
4115 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4117 * tabular.C (latex): add some missing case statements. Reindent.
4119 * MenuBackend.C (expandToc): remove unused variable.
4121 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4130 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4133 2003-01-05 John Levon <levon@movementarian.org>
4136 * BufferView.C: add getEncoding()
4139 * kbsequence.C: do not store last keypress
4142 * lyxfunc.C: store last keypress here instead. Pass encoding
4145 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4147 * lyx_main.C (init): remove annoying error message when following
4148 symbolic links (bug #780)
4150 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4152 * text.C (insertChar):
4153 * lyxrc.C (getDescription): remove extra spaces
4155 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4157 * lyxrc.C (getDescription): remove extra spaces
4159 2002-12-20 John Levon <levon@movementarian.org>
4161 * text3.C: hack fix for page up/down across tall rows
4163 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4165 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4168 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4170 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4171 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4172 thesaurus is not compiled in
4174 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4176 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4178 2002-12-16 Angus Leeming <leeming@lyx.org>
4181 * lyx_main.C (init): remove override_x_deadkeys stuff.
4183 2002-12-12 John Levon <levon@movementarian.org>
4185 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4186 insert. Only remove shift modifier under strict
4189 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4191 * MenuBackend.C (expandToc): fix crash.
4193 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4195 * MenuBackend.C (expandToc): gettext on float names.
4197 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4199 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4200 implement bool empty() [bug 490]
4202 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4204 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4206 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4208 * several files: ws changes
4210 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4212 * text2.C (setCounter): clean up a bit, use boost.format.
4213 (updateCounters): initialize par upon declaration.
4215 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4216 if the layout exists. We do not just store the layout any more.
4217 (SwitchLayoutsBetweenClasses): use boost.format
4219 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4221 * converter.C (convert): if from and to files are the same, use a
4222 temporary files as intermediary
4224 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4227 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4229 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4231 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4233 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4235 * tabular.C (asciiPrintCell): use string(size, char) instead of
4238 * sgml.C (openTag): fix order of arguments to string constructor
4241 * lyxfunc.C (dispatch): use boost.format
4243 * lots of files: change "c" -> 'c'
4245 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4247 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4249 2002-11-25 Angus Leeming <leeming@lyx.org>
4251 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4253 * lyx_main.C (init): compile fix.
4255 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4257 * lyx_cb.C (start): boost.formatify
4258 do not include <iostream>
4260 * lengthcommon.C: ws only
4262 * boost-inst.C,BoostFormat.h: add more explict instantations
4264 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4266 * lots of files: handle USE_BOOST_FORMAT
4268 2002-11-21 John Levon <levon@movementarian.org>
4270 * pspell.C: fix compile
4272 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4274 * lyxfunc.C (dispatch): use boost::format
4278 * lyxfont.C (stateText): use boost::format
4280 * lyx_main.C (LyX): use boost::format
4282 (queryUserLyXDir): ditto
4285 (typedef boost::function): use the recommened syntax.
4287 * importer.C (Import): use boost::format
4289 * debug.C (showLevel): use boost::format
4291 * converter.C (view): use boost::format
4296 * bufferview_funcs.C (currentState): use boost::format
4298 * bufferlist.C (emergencyWrite): use boost::format
4300 * buffer.C (readLyXformat2): use boost::format
4301 (parseSingleLyXformat2Token): ditto
4303 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4305 * LaTeX.C (run): use boost::format
4307 * Chktex.C (scanLogFile): use boost::format
4309 * BufferView_pimpl.C (savePosition): use boost::format
4310 (restorePosition): ditto
4311 (MenuInsertLyXFile): ditto
4313 * BoostFormat.h: help file for explicit instation.
4315 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4317 * tabular.C (latex): Support for block alignment in fixed width
4320 2002-11-17 John Levon <levon@movementarian.org>
4322 * BufferView_pimpl.C:
4324 * lyxfunc.C: split filedialog into open/save
4326 2002-11-08 Juergen Vigna <jug@sad.it>
4328 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4329 by my last patch (hopefully).
4331 2002-11-08 John Levon <levon@movementarian.org>
4340 * toc.C: ParConstIterator, and use it (from Lars)
4342 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4344 * lyxtextclass.[Ch]: revise and add doxygen comments
4346 2002-11-07 John Levon <levon@movementarian.org>
4348 * text.C: fix progress value for spellchecker
4350 * toc.C: fix navigate menu for insetwrap inside minipage
4352 * paragraph_funcs.C: added FIXME for suspect code
4354 2002-11-07 John Levon <levon@movementarian.org>
4356 * BufferView_pimpl.C: fix redrawing of insets
4359 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4361 * text2.C (updateCounters): fix bug 668
4363 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4365 * text3.C (dispatch): Do not make the buffer dirty when moving the
4368 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4370 * vc-backend.C: STRCONV
4373 * text2.C (setCounter): STRCONV
4375 * paragraph.C (asString): STRCONV
4377 * lyxlength.C (asString): STRCONV
4378 (asLatexString): ditto
4380 * lyxgluelength.C (asString): STRCONV
4381 (asLatexString): ditto
4383 * lyxfunc.C (dispatch): STRCONV
4386 * lyxfont.C (stateText): STRCONV
4388 * importer.C (Import): STRCONV
4390 * counters.C (labelItem): STRCONV
4391 (numberLabel): ditto
4392 (numberLabel): remove unused ostringstream o
4397 * bufferview_funcs.C (currentState): STRCONV
4399 * buffer.C (readFile): STRCONV
4400 (asciiParagraph): ditto
4401 (makeLaTeXFile): ditto
4403 * Spacing.C (writeEnvirBegin): STRCONV
4405 * LaTeXFeatures.C (getLanguages): STRCONV
4406 (getPackages): ditto
4408 (getBabelOptions): ditto
4409 (getTClassPreamble): ditto
4410 (getLyXSGMLEntities): ditto
4411 (getIncludedFiles): ditto
4415 (scanAuxFile): ditto
4418 * LString.h: add the STRCONV macros
4420 * BufferView_pimpl.C (savePosition): STRCONV
4421 (restorePosition): ditto
4422 (MenuInsertLyXFile): ditto
4424 * vc-backend.C (scanMaster): change from submatch[...] to
4427 * funcrequest.C: include config.h
4429 * factory.C: include config.h
4431 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4433 * box.C: include config.h
4435 * LaTeX.C (scanAuxFile): change from submatch[...] to
4439 2002-10-25 Angus Leeming <leeming@lyx.org>
4441 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4443 * ispell.[Ch] (setError): new method.
4444 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4445 Use setError() insetead of goto END.
4447 * lyx_cb.C (AutoSave): move out child process into new class
4450 2002-10-30 John Levon <levon@movementarian.org>
4452 * text3.C: make start appendix undoable
4454 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4456 * lyxlength.C (inPixels): Fix returned value.
4458 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4461 2002-10-24 Angus Leeming <leeming@lyx.org>
4463 * lyxgluelength.h: no need to forward declare BufferParams
4464 or BufferView, so don't.
4466 2002-10-21 John Levon <levon@movementarian.org>
4468 * BufferView.C: menuUndo ->undo, redo
4470 * BufferView.h: document, remove dead, make some methods private
4472 * paragraph_funcs.h:
4473 * paragraph_funcs.C:
4474 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4479 * sgml.C: move sgml open/close tag into sgml.C
4481 * bufferview_funcs.h: unused prototype
4484 * lyxfunc.C: remove unused
4487 * text.C: remove unused
4489 2002-10-21 John Levon <levon@movementarian.org>
4493 * BufferView_pimpl.h:
4494 * BufferView_pimpl.C: fix mouse wheel handling based on
4495 patch from Darren Freeman
4497 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4499 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4501 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4503 * lyxlength.C (inPixels): Fix hanfling of negative length.
4504 Fix LyXLength::MU case.
4506 2002-10-16 John Levon <levon@movementarian.org>
4508 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4510 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4512 * converter.C (view): add support for $$i (file name) and $$p
4513 (file path) for the viewer command. If $$i is not specified, then
4514 it is appended to the command (for compatibility with old syntax)
4516 2002-10-14 Juergen Vigna <jug@sad.it>
4518 * undo_funcs.C (textHandleUndo): alter the order in which the
4519 new undopar is added to the LyXText, as we have to set first
4520 the right prev/next and then add it as otherwise the rebuild of
4521 LyXText is not correct. Also reset the cursor to the right paragraph,
4522 with this IMO we could remove the hack in "redoParagraphs()".
4524 2002-10-09 Angus Leeming <leeming@lyx.org>
4526 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4527 to turn off an optimisation if a new inset is to be inserted.
4529 2002-10-11 André Pönitz <poenitz@gmx.net>
4531 * lyxtext.h: make some functions public to allow access
4532 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4534 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4536 * text3.C (dispatch): when changing layout, avoid an infinite loop
4539 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4541 * lyxrc.C (read): treat a viewer or converter command of "none" as
4544 * MenuBackend.C (expandFormats): for an update, also allow the
4545 formats that are not viewable
4547 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4548 script if it is newer than the lyxrc.defaults in user directory
4550 2002-10-07 André Pönitz <poenitz@gmx.net>
4552 * text.C: Vitaly Lipatov's small i18n fix
4554 2002-09-25 Angus Leeming <leeming@lyx.org>
4556 * ispell.h: doxygen fix.
4558 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4560 * buffer.h (readFile): Add a new argument to the method, to allow
4561 reading of old-format templates.
4563 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4565 * toc.C (getTocList): Get TOC from InsetWrap.
4567 2002-09-16 John Levon <levon@movementarian.org>
4569 * lyxfunc.C: check tabular for cut/copy too
4571 2002-09-12 John Levon <levon@movementarian.org>
4576 * factory.C: add header
4578 * paragraph_funcs.h:
4579 * paragraph_funcs.C: cleanup
4581 2002-09-11 John Levon <levon@movementarian.org>
4583 * PrinterParams.h: odd/even default to true
4585 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4587 * PrinterParams.h: update printer parameters for new xforms dialog
4589 2002-09-11 Angus Leeming <leeming@lyx.org>
4591 * lyxserver.C (read_ready): re-write to make it more transparent
4592 and to make it work in coherent fashion under Tru64 Unix.
4594 2002-09-11 André Pönitz <poenitz@gmx.net>
4598 * text3.C: implement LFUN_WORDSEL
4600 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4602 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4603 make floatlist_ a boost::shared_ptr<FloatList>
4605 * lyxtextclass.C: include FloatList.h
4606 (LyXTextClass): initialize floatlist_
4607 (TextClassTags): add TC_NOFLOAT
4608 (Read): match "nofloat" to TC_NOFLOAT and use it.
4609 (readFloat): modify call to floatlist_
4613 * FloatList.[Ch] (FloatList): remove commented out float
4615 (erase): new function
4617 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4619 * MenuBackend.C (expandToc): fix crash when there is no document
4622 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4624 * many files: Add insetwrap.
4626 2002-09-09 John Levon <levon@movementarian.org>
4628 * text2.C: remove confusing and awkward depth wraparound
4630 2002-09-09 John Levon <levon@movementarian.org>
4632 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4635 * buffer.C: remove getIncludeonlyList()
4638 * lyxfunc.C: remove headers
4640 2002-09-09 Juergen Vigna <jug@sad.it>
4642 * text.C (getColumnNearX): fix form Michael this is most
4643 probably a cut&paste bug.
4645 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4647 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4649 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4650 references, ws changes.
4652 * text2.C (init): update counters after init
4653 (insertParagraph): no need to set counter on idividual paragraphs.
4654 (setCounter): access the counters object in the textclass object
4655 on in the buffer object.
4656 (updateCounters): ditto
4658 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4659 shared_ptr<Counters> to avoid loading counters.h in all
4661 (LyXTextClass): initialize ctrs_
4662 (TextClassTags): add TC_COUNTER, and ...
4663 (Read): use it here.
4664 (CounterTags): new tags
4665 (readCounter): new function
4666 (counters): new funtion
4667 (defaultLayoutName): return a const reference
4669 * counters.C (Counters): remove contructor
4670 (newCounter): remove a couple of unneeded statements.
4671 (newCounter): simplify a bit.
4672 (numberLabel): some small formatting changes.
4674 * buffer.[Ch]: remove all traces of counters, move the Counters
4675 object to the LyXTextClass.
4677 2002-09-06 Alain Castera <castera@in2p3.fr>
4679 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4680 package to set the horizontal alignment on fixed width columns.
4683 * lyx_sty.h: added tabularnewline macro def.
4685 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4687 2002-09-06 John Levon <levon@movementarian.org>
4689 * LyXAction.C: tooltips for sub/superscript
4691 * MenuBackend.C: a bit more verbose
4693 * lyxfunc.C: tiny clean
4695 * undo_funcs.C: document undo_frozen
4697 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4699 * counters.C (Counters): add missing algorithm counter.
4701 * text2.C (setCounter): lookup the counter with layouts latexname
4702 instead of by section number.
4703 (setCounter): use a hackish way to lookup the correct enum
4705 a float name->type change
4706 reset enum couners with counter name directly instead of depth value.
4708 * counters.C (Counters): remove the push_backs, change to use the
4709 float type not the float name.
4710 (labelItem): remove unused string, float name->type change
4712 * counters.h: don't include vector, loose the enums and sects vectors
4714 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4716 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4717 (Read): add float->TC_FLOAT to textclassTags
4718 (Read): and handle it in the switch
4719 (readFloat): new function
4721 * FloatList.C (FloatList): comment out the hardcoded float
4724 * lyxlayout.h: ws change.
4726 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4728 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4730 2002-09-03 Angus Leeming <leeming@lyx.org>
4732 * BufferView_pimpl.h: qualified name is not allowed in member
4733 declaration: WorkArea & Pimpl::workarea() const;
4735 * factory.C: added using std::endl directive.
4737 * text3.C: added using std::find and std::vector directives.
4739 2002-08-29 André Pönitz <poenitz@gmx.net>
4742 * text2.C: remove unused member number_of_rows
4745 * BufferView2.C: remove file, move contents to...
4746 * BufferView.C: ... here
4748 * BufferView_pimpl.C:
4749 * factory.C: move more inset creation to factory
4751 * vspace.C: avoid direct usage of LyXText, ws changes
4754 don't provide direct access to WorkArea, use two simple
4755 acessors haveSelction() and workHeight() instead
4758 2002-08-29 John Levon <levon@movementarian.org>
4760 * BufferView_pimpl.C (dispatch): do not continue when
4763 2002-08-28 André Pönitz <poenitz@gmx.net>
4765 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4768 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4770 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4772 * buffer.C: increment LYX_FORMAT to 221
4774 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4775 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4777 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4779 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4781 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4783 * factory.C (createInset): use LyXTextClass::floats
4785 * MenuBackend.C (expandFloatListInsert):
4786 (expandFloatInsert):
4789 * text2.C (setCounter):
4791 * LaTeXFeatures.C (useFloat):
4792 (getFloatDefinitions):
4794 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4796 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4797 floatlist_, with accessor floats().
4799 * FloatList.h: remove global FloatList
4801 2002-08-26 André Pönitz <poenitz@gmx.net>
4803 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4807 * BufferView_pimpl.C:
4808 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4810 2002-08-25 John Levon <levon@movementarian.org>
4812 * LyXAction.C: fix margin note description
4814 2002-08-24 John Levon <levon@movementarian.org>
4818 * bufferview_funcs.C:
4820 * undo_funcs.C: cleanups
4822 * lyxfunc.C: disable CUT/COPY when no selection
4824 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4826 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4827 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4829 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4830 Add backward compatibility to "mono", "gray" and "no".
4832 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4834 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4835 (and file_format >= 200).
4837 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4839 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4841 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4843 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4845 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4847 * BufferView_pimpl.C:
4854 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4855 inset and code to make it work with the paragraph code. The inset
4856 can be anywhere in the paragraph, but will only do the expected
4857 thing in LaTeX if the layout file contains the parameter line
4859 (or more generally, a nonzero value) for that layout.
4861 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4863 * paragraph.h: remove the declaration of undefined counters class
4866 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4868 * text2.C (setCounter): fixed enumeration mis-count as reported by
4869 Dr. Richard Hawkins.
4871 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4873 * paragraph_funcs.h: remove some unneeded includes
4875 * text.C (backspace): pasteParagraph now in global scipe
4877 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4878 (pasteSelection): ditto
4880 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4881 * paragraph_funcs.C (pasteParagraph): ... here
4883 2002-08-20 André Pönitz <poenitz@gmx.net>
4885 * commandtags.h: new LFUNs for swapping/copying table row/colums
4888 * lyxfunc.C: support for new lfuns
4890 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4893 * buffer.[Ch]: remove NO_COMPABILITY stuff
4895 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4897 * boost.C (throw_exception): new file, with helper function for
4898 boost compiled without exceptions.
4903 * ParameterStruct.h:
4904 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4906 * bufferlist.C (emergencyWriteAll): use boost bind
4908 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4910 * text.C: include paragraph_funcs.h
4911 (breakParagraph): breakParagraph is now in global scope
4913 * paragraph_funcs.[Ch]: new files
4915 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4918 * buffer.C: include paragraph_funcs.h
4919 (insertStringAsLines): breakParagraph is now in global scope
4921 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4924 * CutAndPaste.C: include paragraph_funcs.h
4925 (cutSelection): breakParagraphConservative is now in global scope
4926 (pasteSelection): ditto
4928 * buffer.h: declare oprator== and operator!= for
4929 Buffer::inset_iterator
4931 * bufferlist.C (emergencyWrite): don't use fmt(...)
4933 * text3.C: add using std::endl
4935 * BufferView.C (moveCursorUpdate): remove default arg
4937 2002-08-20 André Pönitz <poenitz@gmx.net>
4939 * buffer.[Ch]: move inline functions to .C
4942 * BufferView_pimpl.C:
4944 * buffer.[Ch]: use improved inset_iterator
4947 * paragraph.[Ch]: write one paragraph at a time
4949 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4951 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4952 style if style is not specified.
4954 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4956 * text2.C (setCounter): when searching for right label for a
4957 caption, make sure to recurse to parent insets (so that a caption
4958 in a minipage in a figure float works) (bug #568)
4960 2002-08-20 André Pönitz <poenitz@gmx.net>
4962 * text3.C: new file for LyXText::dispatch() and helpers
4964 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4966 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4968 2002-08-19 André Pönitz <poenitz@gmx.net>
4971 * text.C: new LyXText::dispatch()
4973 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4975 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4977 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4979 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4982 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4984 * Makefile.am: use $(variables) instead of @substitutions@
4986 2002-08-15 André Pönitz <poenitz@gmx.net>
4989 * BufferView_pimpl.C: streamlining mathed <-> outer world
4993 * LyXAction.C: remove unused LFUN_MATH
4995 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4997 * paragraph.[Ch]: add some NO_NEXT ifdefs.
4999 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5001 * paragraph.C (Paragraph): reformat a bit
5002 (cutIntoMinibuffer): use builtin InsetList function instad of
5006 * buffer.C: include boost/bind.hpp, add using std::for_each
5007 (writeFileAscii): use ParagraphList iterators
5008 (validate): use for_each for validate traversal of paragraphs
5009 (getBibkeyList): use ParagraphList iterators
5010 (resizeInsets): use for_each to resizeInsetsLyXText for all
5012 (getParFromID): use ParagraphList iterators
5014 * BufferView2.C (lockInset): use paragraph list and iterators
5016 2002-08-14 John Levon <levon@movementarian.org>
5018 * lyxserver.C: remove spurious xforms include
5020 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5022 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5024 2002-08-13 André Pönitz <poenitz@gmx.net>
5027 * lyxfunc.C: further cleaning
5029 2002-08-13 André Pönitz <poenitz@gmx.net>
5031 * funcrequest.h: new constructor
5033 * funcrequest.C: move stuff here from .h
5036 * BufferView_pimpl.C:
5039 * lyxfunc.C: subsequent changes
5041 * lyxfunc.h: new view() member function
5043 * lyxfunc.C: subsequent changes
5045 2002-08-13 Angus Leeming <leeming@lyx.org>
5048 * BufferView_pimpl.C:
5056 changes due to the changed LyXView interface that now returns references
5057 to member variables not pointers.
5059 2002-08-13 Angus Leeming <leeming@lyx.org>
5061 * WordLangTuple (word, lang_code): return references to strings,
5066 * lyxtext.h: forward-declare WordLangTuple.
5071 * text.C: #include "WordLangTuple.h".
5074 * text.C: (selectNextWordToSpellcheck): constify return type.
5076 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5082 * paragraph_pimpl.h:
5085 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5087 Made updateCounter always count from start of buffer, and removed
5088 second argument (par).
5089 Reverted floats number display to '#'. Perhaps I'll try again when the
5090 code base is sanitized a bit.
5092 2002-08-12 Angus Leeming <leeming@lyx.org>
5094 * buffer.[Ch] (getLabelList): constify.
5096 2002-08-07 André Pönitz <poenitz@gmx.net>
5098 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5100 * funcrequest.h: extension to keep mouse (x,y) position
5102 2002-08-12 Juergen Vigna <jug@sad.it>
5104 * BufferView2.C (insertErrors): forbid undo when inserting error
5107 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5109 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5111 * ParagraphList.[Ch]: new files
5113 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5115 * BufferView2.C (lockInset): ParagraphList changes
5118 * bufferlist.C: ditto
5122 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5124 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5125 unused class variable counter_,
5127 * paragraph.[Ch] (getFirstCounter): delete unused function
5129 * counters.C: include LAssert.h
5130 (reset): add a new function with no arg, change other version to
5131 not have def. arg and to not allow empty arg.
5133 * text2.C (setCounter): remove empty arg from call to Counters::reset
5135 2002-08-11 John Levon <levon@movementarian.org>
5137 * Makefile.am: add WordLangTuple.h
5139 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5141 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5142 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5144 * insets/insettext.C: InsetList changes
5146 * graphics/GraphicsSupport.C (operator()): InsetList changes
5148 * toc.C (getTocList): InsetList changes
5150 * paragraph_pimpl.[Ch]: InsetList changes
5152 * paragraph.[Ch]: InsetList changes
5154 * buffer.C (inset_iterator): InsetList changes
5155 (setParagraph): ditto
5156 * buffer.h (inset_iterator): ditto
5157 * iterators.C (operator++): ditto
5158 * iterators.h: ditto
5160 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5162 * InsetList.[Ch]: new files, most InsetList handling moved out of
5165 * BufferView2.C (removeAutoInsets): InsetList changes
5167 (ChangeInsets): ditto
5169 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5171 * paragraph_pimpl.h (empty): new function
5173 * paragraph.[Ch] (empty): new function
5175 * other files: use the new Paragraph::empty function
5177 2002-08-09 John Levon <levon@movementarian.org>
5179 * lyxtext.h: remove unused refresh_height
5181 2002-08-09 John Levon <levon@movementarian.org>
5188 * paragraph.C: move sgml char escaping out of paragraph
5191 * paragraph.C: remove id setter
5195 * paragraph_pimpl.C: remove dead tex_code_break_column
5197 * bufferview_funcs.C: small cleanup
5199 * lyxfunc.C: remove dead proto
5201 * lyxtext.h: make some stuff private. Remove some dead stuff.
5203 * lyxgluelength.C: make as[LyX]String() readable
5205 2002-08-08 John Levon <levon@movementarian.org>
5210 * ToolbarDefaults.C:
5213 * toc.C: lyxaction cleanup
5215 2002-08-08 John Levon <levon@movementarian.org>
5217 * BufferView2.C: small cleanup
5220 * lyxfind.C: move unnecessary header into the .C
5222 2002-08-08 John Levon <levon@movementarian.org>
5224 * funcrequest.h: just tedious nonsense
5227 * lyx_main.C: cleanups
5230 * vspace.C: remove dead header lyx_main.h
5232 2002-08-07 Angus Leeming <leeming@lyx.org>
5235 * paragraph_pimpl.h:
5236 Forward declare class Counters in paragraph.h by moving the ctrs member
5237 variable into Paragraph::Pimpl.
5238 (counters): new method, returning a reference to pimpl_->ctrs.
5240 * text2.C: ensuing changes.
5242 2002-08-07 John Levon <levon@movementarian.org>
5244 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5246 * BufferView_pimpl.C: announce X selection on double/triple
5249 * lyx_main.C: use correct bool in batch dispatch
5251 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5253 2002-08-07 André Pönitz <poenitz@gmx.net>
5255 * funcrequest.h: new class to wrap a kb_action and its argument
5258 * BufferView_pimpl[Ch]:
5262 * lyxrc.C: subsequent changes
5265 2002-08-07 John Levon <levon@movementarian.org>
5267 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5268 document options change.
5270 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5275 * makefile.am: move counters functionality over from
5276 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5278 2002-08-06 John Levon <levon@movementarian.org>
5280 * WordLangTuple.h: new file for word + language code tuple
5291 * BufferView2.C: use WordLangTuple
5294 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5296 2002-08-06 John Levon <levon@movementarian.org>
5298 * lyx_main.C: fix cmdline batch handling
5300 2002-08-06 André Pönitz <poenitz@gmx.net>
5302 * lyxrc.C: set default for show_banner to true
5304 2002-08-06 John Levon <levon@movementarian.org>
5306 * pspell.C: fix a crash, and allow new aspell to work
5308 2002-08-06 John Levon <levon@movementarian.org>
5311 * kbmap.C: small cleanup
5314 * vspace.C: add const
5316 2002-08-05 John Levon <levon@movementarian.org>
5318 * LyXAction.C: back to tabular-insert
5320 2002-08-04 John Levon <levon@movementarian.org>
5323 * BufferView.C: cosmetic change
5325 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5335 * BufferView2.C: purge all "Lyx" not "LyX" strings
5338 * lyxcursor.C: attempt to add some documentation
5343 * ToolbarDefaults.C:
5344 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5345 merge with LFUN_TABULAR_INSERT
5352 * pspell.C: split up i/pspell implementations into separate
5353 files, many cleanups
5355 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5357 * text2.C: some cleanup
5359 * lyxfunc.C: don't check for isp_command == "none" any more, it
5360 didn't make any sense
5362 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5367 * makefile.am: move counters functionality over
5368 from text2.C/paragraph.[Ch] to counters.[Ch], and
5370 2002-08-02 John Levon <levon@movementarian.org>
5372 * buffer.C: s/lyxconvert/lyx2lyx/
5374 2002-08-02 Angus Leeming <leeming@lyx.org>
5376 * lyxlex.C: revert John's change as it breaks reading of the user
5379 2002-08-02 Angus Leeming <leeming@lyx.org>
5381 * importer.C (Import):
5382 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5383 changes due to LyXView::view() now returning a boost::shared_ptr.
5385 2002-08-02 John Levon <levon@movementarian.org>
5387 * lyxlex.C: small cleanup
5389 2002-08-02 John Levon <levon@movementarian.org>
5391 * text2.C (status): small cleanup, no logic change
5393 2002-08-01 John Levon <levon@movementarian.org>
5396 * buffer.C (writeFile): don't output alerts, caller
5400 * lyx_cb.C: from above
5402 * lyxfunc.C: allow to open non-existent files
5404 2002-07-31 John Levon <levon@movementarian.org>
5406 * lyxserver.C: don't let incidental errors get
5409 2002-07-30 John Levon <levon@movementarian.org>
5411 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5413 2002-07-30 John Levon <levon@movementarian.org>
5416 * lyxserver.C: remove I/O callback too
5418 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5420 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5423 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5425 * many files: strip,frontStrip -> trim,ltrim,rtrim
5427 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5429 * PrinterParams.h: remove extern containsOnly, and include
5430 support/lstrings.h instead.
5432 * LaTeX.C (scanAuxFile): modify because of strip changes
5434 * buffer.C (makeLaTeXFile): ditto
5435 * bufferparams.C (writeFile): ditt
5436 * lyxfont.C (stateText): ditto
5437 * lyxserver.C (read_ready): ditto
5438 * vc-backend.C (scanMaster): ditto
5440 * BufferView_pimpl.h: ws changes
5442 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5444 2002-07-26 André Pönitz <poenitz@gmx.net>
5446 * kb_sequence.C: remove unnedred usings
5448 2002-07-26 Juergen Vigna <jug@sad.it>
5450 * lyxfind.C (LyXReplace): we have to check better if the returned
5451 text is not of theLockingInset()->getLockingInset().
5453 2002-07-25 Juergen Vigna <jug@sad.it>
5455 * lyxfind.C (LyXReplace): don't replace if we don't get the
5458 * undo_funcs.C (createUndo): remove debugging code.
5460 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5462 * buffer.C (parseSingleLyXformat2Token): Use default placement
5463 when reading old floats.
5465 * FloatList.C (FloatList): Change the default placement of figure
5466 and tables to "tbp".
5468 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5470 * MenuBackend.C: using std::max
5472 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5474 * MenuBackend.C (expandToc):
5475 (expandToc2): code moved from xforms menu frontend. It is now
5476 generic and TOCs are transparent to menu frontends.
5478 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5480 * toc.C (getTocList): protect against buf=0
5482 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5483 Menu as first parameter. Now, this calls itself recursively to
5484 expand a whole tree (this will be useful for TOC handling)
5485 (expandFloatInsert): remove 'wide' version of floats
5487 * MenuBackend.h (submenuname): returns the name of the submenu.
5488 (submenu): returns the submenu itself, provided it has been
5489 created by MenuBackend::expand
5491 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5493 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5494 insets which have noFontChange == true. (bug #172)
5496 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5498 * BufferView_pimpl.C: add connection objects and use them...
5501 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5503 * MenuBackend.C (expandLastfiles):
5506 (expandFloatListInsert):
5507 (expandFloatInsert):
5508 (expand): split expand in parts
5510 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5512 * lyx_gui.C: use lyx_gui::exit()
5514 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5516 * LyXAction.C: show the failing pseudo action
5518 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5520 * buffer.C (readFile): Run the lyxconvert script in order to read
5523 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5527 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5529 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5533 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5535 2002-07-22 Herbert Voss <voss@lyx.org>
5538 * lyxlength.[Ch]: add support for the vertical lengths
5540 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5542 * toc.[Ch]: std:: fixes
5544 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5546 * lyxrc.C: do not include lyx_main.h
5548 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5554 * BufferView2.C: include "lyxlex.h"
5557 * bufferparams.h: do not #include "lyxlex.h"
5559 * lyxtextclasslist.C (Add): remove method
5560 (classlist): renamed to classlist_
5562 * paragraph_pimpl.C:
5566 * bufferview_funcs.C:
5571 * toc.C (getTocList): use BufferParams::getLyXTextClass
5573 * toc.C (getTocList): use InsetFloat::addToToc
5575 * toc.[Ch]: new files, containing helper functions to handle table
5578 * lyxfunc.C (dispatch): no need to remove spaces around command
5580 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5581 first command of the sequence; it is not very clever, but I do not
5582 have a better idea, actually
5584 * LyXAction.C (LookupFunc): make sure to remove space at the
5585 beginning and end of the command
5587 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5589 * MenuBackend.C (getMenubar): new method: return the menubar of
5591 (read): treat differently reading of menu and menubar (in
5592 particular, the menubar has no name now)
5593 (Menu::menubar): remove
5595 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5598 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5600 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5601 a bibitem inset in a RTL paragraph.
5603 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5605 * paragraph_pimpl.C: constify
5607 * BufferView_pimpl.C:
5609 * lyxfunc.C: fix dispatch in a nicer way
5611 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5613 * lyxfunc.C (dispatch):
5614 * BufferView_pimpl.C:
5615 * BufferView_pimpl.h:
5617 * BufferView.h: rename Dispatch() to dispatch()
5619 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5621 * lyxlayout.C (Read): honor DependsOn tag
5623 * lyxlayout.[Ch] (depends_on): new method
5625 * version.C.in: update lyx_docversion
5627 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5629 * paragraph.C (validate): remove from here...
5630 * paragraph_pimpl.C (validate): ... and move here
5631 (isTextAt): make it const
5633 * buffer.C (getLists): ws cleanup
5635 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5637 * language.C (read): Use iso8859-1 encoding in latex_lang
5638 (this prevents LyX from crashing when using iso10646-1 encoding).
5640 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5642 * text2.C (toggleInset): if cursor is inside an inset, close the
5643 inset and leave cursor _after_ it
5645 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5647 * lyxfunc.C: move minibuffer completion handling out of here
5649 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5651 * BufferView_pimpl.C:
5652 * LaTeX.C: fix dispatch calls
5654 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5656 * text.C (drawChars): Fix Arabic text rendering.
5658 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5662 * lyxfunc.C: remove message-push/pop
5666 * lyxfunc.C: rationalise some code by removing verboseDispatch
5667 in favour of a bool argument to dispatch()
5669 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5671 * lyx_main.C (init): make sure to read symlinks as absolute paths
5673 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5676 * lyxfunc.C: no need for commandshortcut to be a member
5678 2002-07-15 André Pönitz <poenitz@gmx.net>
5680 * converter.C: add support for $$s (scripts from lib/scripts dir)
5681 * lyx_main.C: white space
5683 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5687 * lyxrc.C: remove second exit confirmation
5689 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5694 * BufferView_pimpl.h:
5695 * BufferView_pimpl.C:
5696 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5698 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5700 * MenuBackend.C (expand): add numeric shortcuts to document menu
5702 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5704 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5706 * lyxfont.C (setLyXFamily):
5713 * buffer.C (asciiParagraph): use ascii_lowercase
5715 2002-07-15 Mike Fabian <mfabian@suse.de>
5717 * lyxlex_pimpl.C (search_kw):
5718 * lyxlex.C (getLongString):
5719 * converter.h (operator<):
5720 * converter.C (operator<):
5721 * buffer.C (parseSingleLyXformat2Token):
5723 * ToolbarDefaults.C (read):
5724 * MenuBackend.C (checkShortcuts):
5726 * LColor.C (getFromGUIName):
5727 (getFromLyXName): use the compare_ascii_no_case instead of
5728 compare_no_case, because in turkish, 'i' is not the lowercase
5729 version of 'I', and thus turkish locale breaks parsing of tags.
5731 2002-07-16 Angus Leeming <leeming@lyx.org>
5733 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5734 now takes a Buffer const & argument.
5736 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5738 * BufferView.C (resize): check there's a buffer to resize
5740 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5742 * lyxfunc.C: remove dead code
5745 * lyxserver.C: use lyx_guii::set_read_callback
5747 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5749 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5750 an inset in a RTL paragraph.
5752 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5754 * lyxfunc.C: repaint after a font size update
5756 2002-07-15 André Pönitz <poenitz@gmx.net>
5758 * lyxlength.C: inBP should be able to return negative values
5760 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5762 * lyxfunc.C: use lyx_gui::update_fonts()
5764 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5766 * lyxfunc.C: use lyx_gui::update_color()
5768 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5774 * lyxrc.C: remove file->new asks for name option, and let
5775 buffer-new take an argument
5777 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5779 * BufferView_pimpl.C: remove unneeded extra repaint()
5781 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5783 * LyXAction.C: allow command-sequence with NoBuffer
5785 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5787 2002-07-10 Angus Leeming <leeming@lyx.org>
5789 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5791 2002-07-09 Angus Leeming <leeming@lyx.org>
5793 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5795 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5797 * lengthcommon.h: whitespace
5799 * lyxfunc.C: update scrollbar after goto paragraph
5801 * lyxtext.h: factor out page break drawing, and fix it so
5802 page break/added space paints as selected nicely
5804 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5806 * BufferView_pimpl.C: add FIXMEs, clean up a little
5808 2002-07-09 André Pönitz <poenitz@gmx.net>
5810 * lyxfont.[Ch]: support for wasy symbols
5812 2002-07-08 André Pönitz <poenitz@gmx.net>
5814 * BufferView_pimpl.C: apply John's patch for #93.
5816 2002-07-05 Angus Leeming <leeming@lyx.org>
5818 * BufferView_pimpl.C (buffer): generate previews if desired.
5820 * LColor.h: add "preview" to the color enum.
5822 * LColor.C (LColor): add a corresponding entry to the items array.
5824 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5827 2002-07-05 Angus Leeming <leeming@lyx.org>
5829 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5830 The body of the code is now in the method that is passed an ostream &
5831 rather than a file name.
5832 Pass an additional only_preamble parameter, useful for the forthcoming
5835 2002-07-03 André Pönitz <poenitz@gmx.net>
5837 * lyxfunc.C: simplify getStatus() a bit for math stuff
5839 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5841 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5843 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5845 * text.C (changeRegionCase): do not change case of all the
5846 document when region ends at paragraph end (bug #461)
5848 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5850 * paragraph.C (startTeXParParams):
5851 (endTeXParParams): add \protect when necessary
5853 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5855 * BufferView_pimpl.C (workAreaExpose): remove warning
5857 2002-06-27 Angus Leeming <leeming@lyx.org>
5859 * Makefile.am: add lyxlayout_ptr_fwd.h.
5861 2002-06-26 André Pönitz <poenitz@gmx.net>
5863 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5865 2002-06-25 Angus Leeming <leeming@lyx.org>
5867 * lyxfunc.C (dispatch): Comment out the call to
5868 grfx::GCache::changeDisplay. The method no longer exists now that the
5869 pixmap generation part of the graphics loader has been moved into
5872 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5874 * text2.C: layout as layout
5876 * text.C: layout as layout
5878 * tabular.C (OldFormatRead): layout as layout
5880 * paragraph_pimpl.C (TeXDeeper): layout as layout
5881 (realizeFont): layout as layout
5883 * paragraph.C (writeFile): layout as layout
5884 (validate): layout as layout
5885 (getFont): layout as layout
5886 (getLabelFont): layout as layout
5887 (getLayoutFont): layout as layout
5888 (breakParagraph): layout as layout
5889 (stripLeadingSpaces): layout as layout
5890 (getEndLabel): layout as layout
5891 (getMaxDepthAfter): layout as layout
5892 (applyLayout): layout as layout
5893 (TeXOnePar): layout as layout
5894 (simpleTeXOnePar): layout as layout
5895 (TeXEnvironment): layout as layout
5896 (layout): layout as layout
5897 (layout): layout as layout
5899 * lyxtextclass.C (compare_name): new functor to work with
5900 shared_ptr, layout as layout
5901 (Read): layout as layout
5902 (hasLayout): layout as layout
5903 (operator): layout as layout
5904 (delete_layout): layout as layout
5905 (defaultLayout): layout as layout
5907 * lyxlayout_ptr_fwd.h: new file
5909 * lyxlayout.C (Read): layout as layout
5911 * lyx_cb.C (MenuInsertLabel): layout as layout
5913 * bufferlist.C (newFile): layout as layout
5915 * buffer.C (readLyXformat2): layout as layout
5916 (parseSingleLyXformat2Token): layout as layout
5917 (insertStringAsLines): layout as layout
5918 (asciiParagraph): layout as layout
5919 (latexParagraphs): layout as layout
5920 (makeLinuxDocFile): layout as layout
5921 (simpleLinuxDocOnePar): layout as layout
5922 (makeDocBookFile): layout as layout
5923 (simpleDocBookOnePar): layout as layout
5924 (getLists): layout as layout
5926 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5928 * CutAndPaste.C (cutSelection): layout as layout
5929 (pasteSelection): layout as layout
5930 (SwitchLayoutsBetweenClasses): layout as layout
5932 * BufferView_pimpl.C (Dispatch): layout as layout
5933 (smartQuote): layout as layout
5935 * BufferView2.C (unlockInset): layout as layout
5937 2002-06-24 André Pönitz <poenitz@gmx.net>
5939 * lyxfunc.C: fix #487
5941 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5945 * lyxfunc.C: remove display_shortcuts, show_banner
5947 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5949 * Buffer_pimpl.C: oops, update on resize
5951 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5958 * BufferView.C: use repaint()
5960 * BufferView_pimpl.h:
5961 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5962 as it's a clearer description. Remove superfluous
5965 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5967 * text.C: fix bug 488. Not ideal, but getting
5968 getWord() to work properly for the insets that
5969 matter is more difficult ...
5971 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5973 * BufferView_pimpl.C:
5976 * lyxfunc.C: remove the six million index lyxfuncs to just
5977 one, and DTRT (bug 458)
5979 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5983 * BufferView_pimpl.h:
5984 * BufferView_pimpl.C: clean up resize() stuff,
5985 and unnecessary updateScreen()s
5987 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5991 * BufferView_pimpl.h:
5992 * BufferView_pimpl.C:
5995 * minibuffer.C: remove focus management of workarea,
5996 not needed. Use screen's greyOut()
5998 2002-06-17 Herbert Voss <voss@lyx.org>
6000 * converter.C: (convert) do not post a message, when converting
6001 fails, let the calling function decide what to do in this case
6003 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6005 * lyxfunc.C: tidy up a little
6007 2002-06-16 <alstrup@diku.dk>
6009 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6010 Got rid of FORMS_H_LOCATION include. Now we are
6013 2002-06-15 LyX Development team <lyx@rilke>
6015 * buffer.[Ch] (sgmlOpenTag):
6016 (sgmlCloseTag): Added support for avoiding pernicious mixed
6017 content. Return number of lines written.
6020 (makeDocBookFile): Fixed calls to sgml*Tag.
6021 Simple white space clean.
6023 (simpleDocBookOnePar): Simple white space clean.
6025 * tabular.[Ch] (docBook): Renamed to docbook and got another
6026 argument to related with the pernicious mixed content.
6028 (docbookRow): Fixed calls for docbook inset method.
6030 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6032 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6033 so it's X11 independent.
6037 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6039 2002-06-15 Lyx Development team <lyx@electronia>
6041 * intl.h: Renamed getTrans to getTransManager.
6043 2002-06-14 Angus Leeming <leeming@lyx.org>
6045 * Makefile.am: nuke forgotten stl_string_fwd.h.
6047 2002-06-12 Angus Leeming <leeming@lyx.org>
6049 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6051 2002-06-13 Angus Leeming <leeming@lyx.org>
6054 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6056 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6058 * kbmap.C (getiso): add support for cyrillic and greek
6060 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6064 * BufferView_pimpl.h:
6065 * BufferView_pimpl.C: move bogus scrolling logic
6068 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6071 * BufferView_pimpl.C: view->resize() change
6073 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6075 * BufferView_pimpl.C: topCursorVisible
6078 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6082 * lyx_gui.C: move to frontends/
6086 * lyx_main.C: changes from above
6088 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6095 * lyx_main.C: minor tidy
6097 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6099 * BufferView_pimpl.h:
6100 * BufferView_pimpl.C:
6102 * BufferView.C: make painter() const,
6105 * BufferView2.C: use screen() accessor
6108 * lyx_main.C: some minor cleanup
6110 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6112 * BufferView_pimpl.h:
6113 * BufferView_pimpl.C: remove enter/leaveView,
6116 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6121 * BufferView_pimpl.h:
6122 * BufferView_pimpl.C: only construct screen once,
6125 * lyxrc.C: remove pointless comment
6127 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6130 * BufferView.C: remove active() and belowMouse()
6132 * BufferView_pimpl.h:
6133 * BufferView_pimpl.C: use workarea() not workarea_,
6134 and make it use a scoped_ptr instead
6136 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6138 * lyx_gui.C: add debug message on BadWindow
6140 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6142 * sp_spell.C: fdopen is not part of the C++ standard.
6144 * paragraph.C (InsetIterator): use >= instead of ==
6146 2002-06-07 Angus Leeming <leeming@lyx.org>
6148 Fixes needed to compile with Compaq cxx 6.5.
6149 * BufferView_pimpl.C:
6156 * lyxtextclasslist.C:
6161 all c-library variables have been moved into namespace std. Wrap
6162 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6167 Add a using std::abs declaration.
6169 * kbmap.h (modifier_pair):
6170 * paragraph.h (InsetTable, InsetList):
6171 * lyxfont.h (FontBits):
6172 type definition made public.
6174 * bufferlist.C (emergencyWriteAll): the compiler complains that
6175 there is more than one possible lyx::class_fun template to choose from.
6176 I re-named the void specialisation as lyx::void_class_fun.
6178 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6180 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6181 the compiler is is unable to find tostr in write_attribute.
6183 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6185 * buffer.C (sgmlError): hide #warning
6187 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6189 * xtl/*: get rid of xtl, which is not in use anyway
6191 * LyXAction.C (init):
6192 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6193 were unimplemented xtl experimentation
6195 2002-06-04 André Pönitz <poenitz@gmx.net>
6197 * lyxfunc.C: disable array operation on simple formulae
6199 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6201 * converter.C: constify a bit
6203 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6205 * lyx_gui.C: check xforms version correctly
6207 2002-04-30 Herbert Voss <voss@lyx.org>
6209 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6212 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6214 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6215 attempt to register it with a VCS)
6217 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6219 * lyx_main.C (init): honor variables LYX_DIR_13x and
6222 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6226 * lyx_main.C: fix a crash on bad command line,
6227 and give a useful exit status on error
6229 * lyxfunc.C (doImport): allow -i lyx to work
6231 2002-03-30 André Pönitz <poenitz@gmx.net>
6233 * lyxfunc.C: mathed font changes
6235 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6250 * trans_mgr.h: srcdocs, and some minor cleanups
6252 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6254 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6255 call getFont all the time)
6257 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6259 * switch from SigC signals to boost::signals
6261 2002-05-29 André Pönitz <poenitz@gmx.net>
6263 * paragraph_pimpl.C (getChar): don't call size() too often...
6265 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6267 * paragraph_pimpl.C (insertChar): do not try to update tables when
6268 appending (pos == size())
6270 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6271 in order to reduce drastically the number of comparisons needed to
6272 parse a large document
6274 2002-05-29 André Pönitz <poenitz@gmx.net>
6280 * textclasslist.[Ch]:
6281 * sp_ispell.h: whitespace change
6283 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6285 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6286 lyxaction directly now.
6288 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6292 * lyxvc.C: remove unused headers
6294 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6301 * undo_funcs.C: some cleanups. Use shared_ptr
6302 and a template for the undo stacks.
6304 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6306 * BufferView_pimpl.h:
6307 * BufferView_pimpl.C:
6314 * text2.C: use key_state/mouse_state
6316 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6318 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6321 * chset.C: change include order
6322 (loadFile): use boost regex and get rid of LRegex and LSubstring
6324 * Makefile.am (BOOST_LIBS): new variable
6327 * LaTeX.C: change include order.
6328 (scanAuxFile): use boost regex and get rid of LRegex and
6332 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6337 * FontInfo.C: moved to frontends/xforms/
6340 * FontLoader.C: moved into frontends for GUIIzation
6345 * lyxfunc.C: changes from above
6347 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6349 * LColor.C: remove spurious X include
6351 * BufferView_pimpl.C:
6356 * text2.C: move font metrics to frontends/
6358 2002-05-24 Juergen Vigna <jug@sad.it>
6360 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6361 setting the undo_cursor.
6363 * ParagraphParameters.h: include local includes first.
6365 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6367 * BufferView_pimpl.C:
6368 * BufferView_pimpl.h:
6372 * screen.C: move WorkArea into frontends/
6378 * BufferView2.C: move LyXScreen into frontends/
6382 * lyx_gui.C: move lyxlookup into frontends/xforms/
6384 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6387 * BufferView_pimpl.C:
6397 * bufferview_funcs.C:
6410 * vc-backend.C: move LyX/XFormsView into frontends/
6412 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6424 * text2.C: move Painter to frontends/
6426 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6428 * buffer.C: comment out some some code that depend upon lyx_format
6431 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6432 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6434 * buffer.h (NO_COMPABILITY): turn off compability
6436 * ColorHandler.C: include scoped_array.hpp
6438 * font.C: Use more specific smart_ptr header.
6441 * ShareContainer.h: ditto
6445 * BufferView_pimpl.h: ditto
6446 * ColorHandler.h: ditto
6448 * kbmap.C (defkey): change call to shared_ptr::reset
6450 2002-05-21 Juergen Vigna <jug@sad.it>
6452 * buffer.C (insertErtContents): fix to insert ert asis if it is
6453 non empty. Skip it completely if it contains only whitespaces.
6455 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6457 * BufferView_pimpl.C:
6458 * BufferView2.C: clear selection on paste (bug 393)
6460 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6462 * DepTable.C: include ctime
6464 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6466 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6468 2002-05-14 Juergen Vigna <jug@sad.it>
6470 * text.C (breakParagraph): fixed function to honor the keepempty
6471 layout in the right maner and also to permit the right breaking
6472 algorithm on empty or non empyt keepempty paragraphs.
6474 * paragraph.C (breakParagraph): we have to check also if the par
6475 is really empty (!size()) for isempty otherwise we do the wrong
6478 2002-05-10 Juergen Vigna <jug@sad.it>
6480 * buffer.[Ch] : The following are only changes to the ert
6481 compatibility read reading old LaTeX layout and font stuff and
6482 convert it to ERTInsets.
6484 * buffer.h: added isErtInset().
6486 * buffer.C (struct ErtComp): add a fromlayout bool to check
6487 if we're inside a LaTeX layout.
6488 (isErtInset): new helper function.
6489 (insertErtContents): look for other ert insets before this one
6490 and insert the contents there, so that we don't have subsequent
6491 ERT insets with nothing between them. This way we create only one
6492 inset with multiple paragraphs. Also check if we don't insert only
6493 spaces ' ' as they are ignored anyway afterwards in the .tex file
6494 so if we have only spaces we will ignore this latex part in the
6496 (parseSingleLyXformat2Token \\layout): better compatibility when
6497 reading layout-latex stuff.
6498 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6500 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6501 stuff after reading the inset only get the information back from
6504 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6506 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6508 * LaTeXFeatures.C (getBabelOptions): New method.
6510 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6512 * BufferView_pimpl.C (Dispatch): work around missing argument for
6515 2002-05-08 Juergen Vigna <jug@sad.it>
6517 * text.C (leftMargin): handle paragraph leftindent.
6519 * paragraph.C (writeFile): write the new \\leftindent tag.
6520 (validate): handle leftindent code.
6521 (TeXEnvironment): handle paragraphleftindent code again.
6523 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6525 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6526 for paragrap_extra indent code and new token \\leftindent.
6527 (latexParagraphs): handle the leftindent as environment.
6529 * ParameterStruct.h: added leftindent support.
6531 * ParagraphParameters.C (leftIndent): added support functions for
6532 the paragraph left indent.
6534 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6537 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6539 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6542 * text.C (computeBidiTables): No bidi in insetERT.
6544 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6547 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6549 * version.C.in: pre 5
6551 2002-05-02 José Matos <jamatos@fep.up.pt>
6552 * buffer.C (makeDocBookFile): white space changes, add newline to
6554 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6556 * tabular.C (docBook): fix typo.
6558 2002-05-03 Juergen Vigna <jug@sad.it>
6560 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6561 change in LyXText as we can not be sure it was not freed.
6562 (drawOneRow): remove unused code.
6564 * text.C (drawInset): redo the calculation of the need_break_row as
6565 it could have a row which was already freed.
6566 (draw): look at the return value of drawInset and return false if
6567 it also returned false.
6568 (paintRowText): look at the return value of draw and return false if
6569 it also returned false.
6571 * lyxtext.h: added bool return type to drawInset() and draw() so that
6572 if we have a change in the row so that the rowbreak has to be redone
6573 we abort drawing as it will be called again.
6575 2002-05-02 Juergen Vigna <jug@sad.it>
6577 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6578 a change in the maintext also if we're inside an inset.
6579 (Dispatch): set the cursor again after a break line and after the
6580 screen has been updated as it could be we're in a different row.
6582 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6583 to set the cursor behind the pargraph with > size().
6584 (setCursor): check also for the same paragraph when checking where
6585 to put the cursor if we have a NFR inset.
6587 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6588 parts of layout read further up as it still was in the wrong
6591 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6593 * screen.C (drawFromTo): change sine fullRebreak always return
6596 * buffer.C (parseSingleLyXformat2Token): reindent some
6598 * BufferView_pimpl.C (update): change since fullRebreak always
6600 (Dispatch): git rid of the last hardcoded "Standard"s.
6602 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6604 * text2.[Ch] (fullRebreak): make it return void now that we always
6607 2002-04-30 Juergen Vigna <jug@sad.it>
6609 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6610 ert compatibility check for "latex" layout.
6612 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6614 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6615 minipages: use col% instead of p%, and also use the current font.
6616 (makeLaTeXFile): Fix use babel condition.
6617 (parseSingleLyXformat2Token): Correct font when reading old floats.
6619 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6621 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6622 inserting list of floats.
6624 2002-04-25 Herbert Voss <voss@lyx.org>
6626 * MenuBackend.C (expand): don't add the graphics extensions to the
6629 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6631 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6632 non-existing layout, do not complain if it was the default layout
6633 of the original class (bug #342)
6635 2002-04-24 Juergen Vigna <jug@sad.it>
6637 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6638 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6640 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6642 * buffer.C (getBibkeyList): If using \bibliography, return the
6643 option field with the reference itself. Enables us to provide natbib
6644 support when using \bibliography.
6646 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6648 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6650 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6651 natbib is provided by the LaTeX class.
6653 2002-04-23 Juergen Vigna <jug@sad.it>
6655 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6658 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6660 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6662 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6664 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6665 ensuremath around textordmasculine, textordfeminine and
6668 2002-04-19 Juergen Vigna <jug@sad.it>
6670 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6671 reinitializing the buffer otherwise row-dimensions may be wrong.
6672 (update): reset also the selection cursors if they do exits otherwise
6673 their x/y positions may be wrong.
6675 * text2.C (cursorDown): don't enter the inset if we came from a row
6676 above and are one row over the inset.
6678 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6679 really leaving an inset.
6681 2002-04-18 Juergen Vigna <jug@sad.it>
6683 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6684 of the selected paragraph does not have the selected layout also if
6687 * text2.C (setLayout): fixed bug which did not change last selected
6690 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6691 changed the read and substituted \\end_float with \\end_inset!
6693 * BufferView_pimpl.C (cursorPrevious):
6694 (cursorNext): fixed to make it work with rows heigher than the work
6695 area without moving the cursor only the draw of the row.
6696 (workAreaMotionNotify): fix jumping over high rows.
6698 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6700 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6703 2002-04-16 Juergen Vigna <jug@sad.it>
6705 * text2.C (setCursor): set also the irow().
6706 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6708 (cursorDown): support for locking an inset if the x_fix value goes
6709 inside it. That way I can transverse insets too with cursor up/down.
6711 * lyxrow.h: added irow helper function same as other (i) functions.
6713 * BufferView_pimpl.C (cursorPrevious):
6714 (cursorNext): fixed for insets!
6716 2002-04-15 Juergen Vigna <jug@sad.it>
6718 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6719 position otherwise it is wrong in some cases.
6721 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6722 inside the inset before the call.
6724 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6726 * buffer.[Ch] (getBibkeyList): make it const.
6728 2002-04-12 Juergen Vigna <jug@sad.it>
6730 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6732 * text2.C (getCursorX): new helper function
6733 (setCursor): compute also ix_
6734 (setCursorFromCoordinates): set also ix.
6736 * lyxcursor.h: added ix_ and helper functions.
6738 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6740 * buffer.C (insertStringAsLines): dont break paragraph if the this
6741 paragraph is inside an inset which does not permit it!
6743 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6744 also with no chars on this paragraph.
6745 (paintRowText): only paint stuff if it's inside the workarea!
6747 * paragraph.C (breakParagraph): honor keepempty flag and break the
6748 paragraph always below not above.
6750 * BufferView2.C (unlockInset): update the paragraph layout on inset
6751 unlock as we changed paragraph in such a case.
6753 * lyxfind.C (LyXFind): clear the former selection if not found!
6755 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6756 again called in insertChar().
6758 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6759 an inset which uses the whole row!
6760 (rightMargin): ditto.
6761 (insertChar): force a rebreak if we inserted an inset!
6763 2002-03-28 Herbert Voss <voss@lyx.org>
6765 * lyxlength.[Ch]: add inBP() to get the right PS-point
6766 units (BigPoint). With inPixels we have rounding errors
6768 2002-04-11 Juergen Vigna <jug@sad.it>
6770 * text2.C (setCursorFromCoordinates): set iy to the right value.
6771 (setCursor): add check if row->previous exists!
6773 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6774 an old float_type as this was the case in the old code!
6776 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6778 * BufferView2.C (showLockedInsetCursor): use iy
6779 (fitLockedInsetCursor): ditto
6781 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6782 locked insets as there we have the right value now.
6784 * lyxcursor.C: added iy_ variable and iy functions to set to the
6785 baseline of cursor-y of the locked inset.
6787 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6788 (setCursor): fixed for insets which need a full row.
6790 * text.C (rowLastPrintable): don't ignore the last space when before
6791 an inset which needs a full row.
6792 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6793 as last character of a row when before a inset which needs a full row.
6795 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6797 * version.C.in: update date
6799 * text2.C (fullRebreak): try to always return true and see what
6802 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6804 * MenuBackend.C (expand): use Floating::listName
6806 * FloatList.C (FloatList): add listName argument to the built-in
6809 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6810 text associated with the float.
6812 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6814 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6816 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6818 * ShareContainer.h: add a couple of missing typenames.
6820 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6822 * lyxrc.C (getDescription): use _() correctly rather than N_().
6824 2002-03-28 Herbert Voss <voss@lyx.org>
6826 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6827 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6829 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6831 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6832 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6834 2002-03-29 Juergen Vigna <jug@sad.it>
6836 * lyxfunc.C (dispatch): add a missing fitCursor call.
6838 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6839 it was scrolled by a cursor move, so return the bool status.
6841 * BufferView.C (fitCursor): return the bool flag also to the outside
6842 world as this is needed.
6844 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6846 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6847 call the edit() as it is not needed (and wrong) IMO.
6848 (workAreaButtonPress): set the screen_first variable before evt.
6849 unlock the inset as this may change screen_first and then we have
6850 a wrong y position for the click!
6852 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6854 * MenuBackend.C (expand): another translation that I missed
6856 2002-03-28 Juergen Vigna <jug@sad.it>
6858 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6860 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6862 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6864 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6866 * MenuBackend.C (expand): fix export/view/update when there is no
6869 2002-03-27 Herbert Voss <voss@lyx.org>
6871 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6874 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6876 * bufferview_funcs.C (currentState): only show paragraph number
6877 for is DEVEL_VERSION is set.
6879 * lyxfunc.C (dispatch): put warning in INFO channel
6881 * MenuBackend.C (expand): translate the name of floats
6883 * FloatList.C (FloatList): mark the float names for translation
6885 * converter.C (convert): use LibScriptSearch
6887 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6889 * MenuBackend.C (defaults): fix default menu (we might as well get
6892 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6894 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6897 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6899 * lyxvc.C: reorder includes.
6901 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6903 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6906 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6908 * CutAndPaste.C: change layouts earlier on paste
6909 to avoid crashing when calling getFont()
6911 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6913 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6916 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6918 * WorkArea.C: remove 'Pending' debug message.
6920 * most files: ws cleanup
6922 * buffer.[Ch]: ws changes
6924 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6926 2002-03-21 Juergen Vigna <jug@sad.it>
6928 * tabular.C (SetMultiColumn): collapse also the contents of the
6929 cells and set the last border right. Added a Buffer const * param.
6931 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6933 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6936 2002-03-19 Juergen Vigna <jug@sad.it>
6938 * text2.C (clearSelection): reset also xsel_cache.
6940 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6941 where it needs to be called (John tells us to do so too :)
6942 (selectionLost): reset sel_cache.
6944 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6946 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6948 * text2.C (setCursorIntern): put debuging code in INSETS channel
6950 2002-03-19 André Pönitz <poenitz@gmx.net>
6952 * lyxfunc.C: tiny whitespace change
6954 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6956 * ToolbarDefaults.C (init):
6957 * LyXAction.C (init):
6959 * BufferView_pimpl.C (Dispatch):
6960 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6962 2002-03-19 Allan Rae <rae@lyx.org>
6964 * exporter.C (Export): removeAutoInsets before doing anything else.
6965 While I've just introduced a dependency on BufferView this really is
6966 the best place to clean the buffer otherwise you need to cleanup in
6967 a dozen places before calling export or cleanup in a dozen functions
6970 * converter.C (runLaTeX):
6971 (scanLog): Better handling of removeAutoInsets and screen updates.
6973 * lyxfunc.C (dispatch): small whitespace changes
6975 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6977 * WorkArea.C (C_WorkAreaEvent): return a value.
6978 (event_cb): return 1 if we handled the event, 0 otherwise.
6980 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6982 2002-03-18 Juergen Vigna <jug@sad.it>
6984 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6985 (GetAdditionalWidth): ditto.
6989 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6990 inset if we're there actually (probably not used right now but this
6991 is the direction to go for unifying code).
6992 (paste): disable code to clear the selection.
6994 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6995 inside an InsetText and move the check further up as it is in the
6998 * text2.C (pasteSelection): set a selection over the pasted text.
7000 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7002 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7003 and libgraphics to build on Cygwin.
7005 2002-03-15 Juergen Vigna <jug@sad.it>
7007 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7008 inserting an Inset into the paragraph. I know this is not the best
7009 fix but we already use current_view in CutAndPaste so we will remove
7010 all of it's using at the same time.
7012 * buffer.C (sgmlError): deactivated function till it is rewritten in
7013 the right mode, now it can create problems.
7015 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7016 before accessing it.
7018 2002-03-14 Juergen Vigna <jug@sad.it>
7020 * undo_funcs.C (textHandleUndo): do the right thing when updating
7021 the inset after the undo/redo.
7023 * text2.C (setCursor): just some testcode for #44 not ready yet.
7025 * undo_funcs.C (textHandleUndo): set the next() and previous()
7026 pointers of the paragraph to 0 before deleting otherwise we have
7027 problems with the Paragraph::[destructor].
7029 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7030 on a paragraph insertion.
7032 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7034 * buffer.C (asciiParagraph): use += operator for char append to
7037 * paragraph.C (getFontSettings): compare >= not just >
7038 (highestFontInRange): ditto
7041 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7043 * paragraph.C: change several algorithm to be more appripriate for
7044 the problem domain. This is lookip in FontList and in the InsetList.
7046 2002-03-13 André Pönitz <poenitz@gmx.net>
7049 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7051 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7056 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7058 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7060 * Painter.C (display): anon helper function, adjust code for this
7062 (pixmap): remove function.
7064 * Painter.h: remove private display variable.
7066 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7068 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7070 * WorkArea.[Ch]: remove figinset_canvas cruft.
7072 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7074 * lyxtextclass.C (operator): add one item cache optimization.
7076 * bufferlist.h: doxy changes
7078 * bufferlist.C: ws changes
7080 * DepTable.[Ch] (ext_exist): place const in the right spot.
7082 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7084 (workAreaExpose): call resizeInsets when the with BufferView changes.
7085 (Dispatch): adjust for protectedBlank removal
7086 (specialChar): call updateInset if the insert went ok.
7088 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7089 specialChar instead.
7091 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7093 * BufferView.h: doxy change
7095 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7097 * lyxtextclass.C (operator[]): remove non-const version
7098 (defaultLayout): remove non-const version
7100 2002-03-12 Juergen Vigna <jug@sad.it>
7102 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7103 did resize the LyXText too.
7105 * buffer.C (readLyXformat2): set layout information on newly allocated
7108 * tabular.C (OldFormatRead): set layout information on the paragraph.
7110 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7112 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7114 2002-03-11 Juergen Vigna <jug@sad.it>
7116 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7118 (resizeCurrentBuffer): force also the insets to resize themselfes.
7119 (moveCursorUpdate): fixed up for InsetText.
7121 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7124 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7125 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7126 value of Dialogs::tooltipsEnabled().
7127 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7129 2002-03-08 Juergen Vigna <jug@sad.it>
7131 * BufferView_pimpl.C (updateInset): update inset inside inset also
7132 if it isn't inside theLockingInset().
7134 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7136 * buffer.C (asciiParagraph): redo some of the word and line length
7138 (getLists): look for Caption instead of caption.
7140 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7142 * buffer.C (Buffer): initialize niceFile to true
7145 (makeDocBookFile): make sure niceFile is true on exit
7147 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7149 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7151 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7153 * LyXSendto.C: remove.
7154 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7155 * lyx_gui.C: remove now-redundant comment.
7156 * ColorHandler.h: remove forward declaration of class WorkArea.
7157 * lyxfunc.C: remove #include "WorkArea.h".
7159 2002-03-07 Juergen Vigna <jug@sad.it>
7161 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7162 got moved away with the DEPM and also set the inset_owner always
7163 right which before could have been omitted.
7165 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7167 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7168 wanted layout is not found.
7170 2002-03-07 Juergen Vigna <jug@sad.it>
7172 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7174 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7176 * paragraph.C (breakParagraph): use default layout not layout of
7178 (Paragraph): clear ParagraphParameters.
7180 2002-03-06 Juergen Vigna <jug@sad.it>
7182 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7183 otherwise it would not be a valid lenght. Fixed a special case in
7184 the minipage compatibility read where we end the document with a
7187 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7188 was set as it could be 0 for InsetTexts first entry.
7190 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7192 * paragraph.C (writeFile): if layout is empty write out
7193 defaultLayoutName().
7195 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7196 file without named layout we set layout to defaultLayoutName().
7198 2002-03-06 Juergen Vigna <jug@sad.it>
7200 * CutAndPaste.C (copySelection): set layout for new paragraph.
7202 * text.C (prepareToPrint): leave ERT inset left aligned
7203 (leftMargin): don't indent paragraphs inside ERT insets
7205 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7207 * paragraph.C (breakParagraph): dont call clear do the work manually
7209 * paragraph.[Ch] (clear): remove function
7211 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7213 * paragraph.C (Paragraph): dont call clear, the work has already
7216 * lyxtextclass.C (operator): assert if n is empty
7218 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7219 work manually instead.
7221 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7223 * BufferView_pimpl.C: protect selectionLost against text == 0
7225 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7227 * text.C (breakParagraph): fix a setting layout to '0' problem.
7229 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7231 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7232 final location of file, for the included files, and graphics.
7234 2002-03-05 Juergen Vigna <jug@sad.it>
7236 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7238 2002-03-04 Juergen Vigna <jug@sad.it>
7240 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7242 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7243 last column of multicolumn cells.
7244 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7246 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7248 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7249 file if it doesn't go to a temporary file.
7251 * buffer.C (sgmlOpenTag):
7252 (sgmlCloseTag): remove extra newline insertion.
7254 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7256 * text.C (getRowNearY): comment out debug msg
7258 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7260 * text2.C: first -> first_y
7262 * text.C (getRowNearY): add some attemts at a possible
7263 optimization, not working.
7265 * tabular.[Ch]: add BufferParams to several function so that newly
7266 created paragraph can be initialized to he default layotu for the
7269 * tabular-old.C (ReadOld): add buf->params to call of Init
7271 * screen.C: rename text->first to text->first_y
7273 * paragraph.C (breakParagraph): always set layout in the broken
7276 * lyxtextclass.C (Read): remove lowercase
7279 (delete_layout): ditto
7281 * lyxtext.h: rename first -> first_y
7283 * lyxlayout.C (Read): remove lowercase
7286 (obsoleted_by): ditto
7288 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7290 * buffer.C (insertErtContents): add params are to InsetERT
7291 (parseSingleLyXformat2Token): add code to check if a paragraphs
7292 layout really exist.
7293 (parseSingleLyXformat2Token): add params to several inset
7295 (asciiParagraph): remove lowercase, do the layout comparisons with
7298 * BufferView_pimpl.C (cursorNext): first -> first_y
7299 (resizeCurrentBuffer): first -> first_y
7300 (updateScrollbar): first -> first_y
7301 (scrollCB): first -> first_y
7302 (workAreaMotionNotify): first -> first_y
7303 (workAreaButtonPress): first -> first_y
7304 (checkInsetHit): first -> first_y
7305 (cursorPrevious): first -> first_y
7306 (cursorNext): first -> first_y
7307 (Dispatch): add buffer_->params to severl inset contructors
7309 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7311 * lyxlayout.C (Read): remove some debug info that I forgot.
7313 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7314 clean up the code slightly.
7315 (makeLinuxDocFile): ditto
7316 (makeDocBookFile): ditto
7318 * text2.C: layout as string
7320 * text.C: layout as string
7322 * paragraph_pimpl.C: layout as string
7324 * paragraph.[Ch]: layout as string
7326 * lyxtextclasslist.[Ch]: layout as string
7328 * lyxtextclass.[Ch]: layout as string
7330 * lyxtext.h: layout as string
7332 * lyxlayout.[Ch]: layout as string
7334 * lyx_cb.C: layout as string
7336 * bufferview_funcs.C: layout as string
7338 * bufferparams.C: layout as string
7340 * buffer.C: layout as string
7342 * LyXView.[Ch]: layout as string
7344 * LaTeXFeatures.[Ch]: layout as string
7346 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7348 * BufferView_pimpl.C: change current_layout to string, remove
7353 (workAreaButtonRelease): layout as string
7355 * BufferView2.C (unlockInset): adjust
7357 * vspace.C (asLatexCommand): use an explict temp variable.
7359 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7361 * Makefile.am: use FRONTEND_*
7363 2002-03-01 Juergen Vigna <jug@sad.it>
7365 * tabular.C (SetWidthOfMulticolCell): changed to something better
7366 I hope but still work in progress.
7367 (recalculateMulticolumnsOfColumn): renamed function from
7368 recalculateMulticolCells as it is more appropriate now.
7369 (SetWidthOfCell): calculate multicols better.
7371 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7373 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7375 * lyxfunc.C (processKeySym): print sequence also if it is
7376 `deleted' (complete)
7378 * kbsequence.C (print): print sequence even if it is deleted
7379 (complete would be a better word, actually).
7381 * lyxfunc.C (dispatch): print complete options after a prefix key
7383 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7385 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7387 * text2.C (setCharFont): eliminate setCharFont code duplication.
7389 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7391 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7392 LFUN_TABULAR_FEATURE (bug #177)
7394 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7396 * Makefile.am: remove figure.h
7398 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7400 * Bufferview_pimpl.C:
7412 * text2.C: remove #include "lyx_gui_misc.h".
7414 * LaTeX.C: added #include <cstdio>
7416 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7418 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7419 that the paragraph following this one can have.
7421 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7423 * vspace.C (asLatexCommand): fix bogus gcc warning
7425 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7427 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7429 * text2.C (setLayout): get rid of redundant code
7431 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7433 * text2.C (incDepth): make sure depth cannot be increased beyond
7436 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7438 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7439 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7441 * PainterBase.h (image):
7442 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7445 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7449 * BufferView_pimpl.C:
7450 * BufferView_pimpl.h:
7470 * sp_spell.C: remove fig inset, and the crap house of
7471 cards that follows it
7473 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7479 * nt_defines.h: move .h into support/
7481 * vms_defines.h: remove
7483 * WorkArea.C: add space in debug output
7487 * buffer.C: add WITH_WARNINGS
7491 * bufferlist.C: s/retrive/retrieve/, add docs
7502 * lyxgui.C: add ID to X error handler
7504 * lyxtestclass.c: fix typo
7506 2002-02-26 Juergen Vigna <jug@sad.it>
7508 * tabular_funcs.C (write_attribute): changed so that some default
7509 attributes are not written at all.
7510 (getTokenValue): set default values before trying to read the
7511 value so we have the return value always set as default if we don't
7512 find the token we search for.
7514 * tabular.C (Write): write bools as bools not as strings!
7516 2002-02-22 Juergen Vigna <jug@sad.it>
7518 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7519 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7521 * text.C (leftMargin): don't add an indent for paragraphs inside
7522 tabular cells (fix #208).
7524 2002-02-21 José Matos <jamatos@fep.up.pt>
7526 * tabular.C (docBook): fixed support for long tables.
7528 2002-02-20 Juergen Vigna <jug@sad.it>
7530 * text2.C (getFont): get the drawing font of the Inset if this
7531 paragraph is inside an inset (only important for InsetERT for now).
7533 * buffer.C (insertErtContents): use new lanugage params in ERT
7536 * CutAndPaste.C: commenting out seemingly uneeded code.
7538 2002-02-19 Allan Rae <rae@lyx.org>
7540 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7541 Iterators might be simple to use but they also get invalidated.
7542 (removeAutoInsets): renamed saved cursor tracking variables and added
7543 some comments to clarify what everything does.
7545 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7552 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7553 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7556 * vc-backend.h: remove #include "support/syscall.h"
7560 * converter.C: rearrange #includes in Lars' approved fashion.
7562 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7563 forward declare class Timeout in the header file.
7565 * XFormsView.C: changes due to the above.
7567 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7570 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7571 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7573 2002-02-18 José Matos <jamatos@fep.up.pt>
7575 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7578 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7580 * a lot of small ws changes
7581 * add a lot of using std::XXX
7582 * use std construcs some places where approp.
7583 * use some exisint stuff from lyxfunctional where approp.
7584 * Make file changes to use partial linking (lets test this now...)
7586 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7590 remove #include "support/syscontr.h" as it's redundant. Always has been.
7598 change Systemcalls::System to Systemcalls::Wait and
7599 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7600 No change of functionality, just reflects the stripped down Systemcalls
7603 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7605 * debug.[Ch]: add a GRAPHICS type to the enum.
7607 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7609 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7611 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7614 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7616 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7617 match the changes below.
7619 * text2.C (toggleInset): if there is not editable inset at cursor
7620 position, try to see if cursor is _inside_ a collapsable inset
7623 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7625 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7626 document menu has a nice checkbox
7628 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7630 * lyxlength.C (asLatexString): change PW to output as percent of
7633 * lengthcommon.C: change '%' to 't%'
7635 * lyxfunc.C (dispatch): a few comments from Martin
7637 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7641 * BufferView_pimpl.h:
7642 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7645 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7647 * vspace.C (inPixels): fix compiler warning
7649 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7651 * lyxfunc.C (getStatus): fix status message for disabled commands.
7653 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7655 * BufferView_pimpl.C: fix crash on close buffer
7656 during selection (#227)
7658 2002-01-27 Herbert Voss <voss@lyx.org>
7660 * buffer.C: link old Figure to new graphic inset
7662 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7664 * FontLoader.C (getFontinfo): Change the latex font names in order
7665 to match the names of type1inst.
7667 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7669 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7671 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7674 (remove_files_with_extension): ditto
7675 (remove_file): ditto
7678 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7679 document is smaller than the work area height. Do not initialize
7680 static variables to 0.
7682 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7684 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7686 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7687 LFUN_LAYOUT_PARAGRAPHS.
7689 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7690 tabular. It is possible to provide a possible cell, which will
7691 typically be the actcell from the corresponding insettabular
7693 * lyxfunc.C (getStatus): small cleanup; disable
7694 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7697 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7699 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7701 * paragraph.C (startTeXParParams):
7702 (endTeXParParams): new methods. The LaTeX code to
7703 start/end paragraph formatting
7704 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7705 empty (fixes bug #200)
7707 * vspace.C (inPixels): adapt to the change below
7708 (inPixels): [later] more cleanups (remove unused variables)
7710 * lyxlength.C (inPixels): change to use a width and a height as
7713 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7715 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7716 Replaced with \paperwidth
7718 * DepTable.C (insert): add std:: qualifier
7720 2002-01-18 Allan Rae <rae@lyx.org>
7722 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7725 * text.C (drawInset): Turned out I didn't know enough about how
7726 rebreaking worked. This fixes most of the redraw problems. I see
7727 an occasional cursor trail when a line is broken now and the cursor
7728 placement can seem out by a few pixels also after a rebreak.
7730 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7732 * buffer.C (parseSingleLyXformat2Token): update because minipage
7733 width is now a LyXLength
7735 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7737 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7740 2002-01-17 Juergen Vigna <jug@sad.it>
7742 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7744 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7745 is set correctly and the inset is updated correctly.
7747 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7749 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7750 the beginning of the loop.
7752 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7754 * lyxrc.C: improve help for use_scalable_fonts
7756 2002-01-17 Allan Rae <rae@lyx.org>
7758 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7760 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7762 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7763 make sure to set their inset_owner to the right value (bug #171)
7765 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7768 * DepTable.C: Implement mtime checking to reduce time spent doing
7771 2002-01-16 Juergen Vigna <jug@sad.it>
7773 * tabular.C (GetAdditionalHeight): one of error fixed.
7775 * lyxrc.C (output): small fix in writing use_pspell.
7777 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7779 * sp_base.h: #include LString.h
7781 2002-01-16 Allan Rae <rae@lyx.org>
7783 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7784 Can someone check this please?
7786 * text.C (drawInset): It was possible that p.row would be removed by
7787 breakAgainOneRow upsetting a few other settings. There may be another
7788 small tweak possible by setting need_break_row = 0 when p.row has been
7789 removed but I don't know enough about the logic here.
7791 2002-01-15 Allan Rae <rae@lyx.org>
7793 * text.C (insertChar): removed conditional truism.
7795 * BufferView2.C (removeAutoInsets): More tweaks.
7796 cur_par_prev could be a stray pointer. Check for trailing empty line
7797 in case last line was cur_par and only had an error inset on it.
7799 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7801 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7804 * vc-backend.C (most methods):
7805 * exporter.C (Export):
7806 * converter.C (convert):
7808 * LyXSendto.C (SendtoApplyCB):
7809 * lyxfunc.C (dispatch):
7813 * lyx_cb.C (AutoSave):
7815 * BufferView_pimpl.C (MenuInsertLyXFile):
7816 * buffer.C (runChktex): use Buffer::filePath().
7818 * buffer.h: rename filename to filename_; rename filepath to
7819 filepath_ and make it private
7820 (filePath): new method
7822 * buffer.C (writeFile): use fileName()
7825 * lyx_main.C (init): fix starting of LyX when the binary is a
7826 link from so,ewhere else.
7828 * minibuffer.C: include <cctype> for isprint
7830 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7832 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7833 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7834 name clash with InsetCollapsable's width function.
7836 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7838 * lastfiles.C: include <iterator>
7840 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7842 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7845 * buffer.C (makeLaTeXFile): ditto.
7846 Also make loop operation more transparent.
7848 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7850 * ToolbarDefaults.C: remove trailing comma closing namespace.
7852 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7854 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7857 * trans.C (Load): comment out unused variable, allowed.
7859 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7861 * minibuffer.[Ch] (append_char): new method to recieve input from the
7862 drop-down completion browser. If a key was pressed, then recieve this
7863 char and append it to the existing string.
7864 (peek_event): modify the positioning data passed to the completion
7865 browser so that it can be placed above the minibuffer rather than below.
7866 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7868 * LyXAction.C (init): alloe error-next for readonly documents.
7870 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7873 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7875 * bufferlist.C (readFile): create the buffer _after_ checking that
7878 * lyxfunc.C (verboseDispatch): fix handling of arguments
7880 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7882 * lyxrc.C: use string::erase() instead of initializing to "".
7885 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7887 * BufferView_pimpl.h:
7888 * BufferView_pimpl.C:
7891 * text2.C: tell X when we have made a selection for copying
7893 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7895 * BufferView_pimpl.C (MenuInsertLyXFile):
7896 * lyxfunc.C (menuNew):
7898 (doImport): add shortcuts to directory buttons
7900 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7903 * lyxfunc.C (setStatusMessage):
7904 (getStatusMessage): new methods
7905 (getStatus):use setStatusMessage instead of setErrorMessage
7906 (dispatch): when function is disabled, set error message here
7907 [instead of in getStatus previously]
7909 * BufferView_pimpl.C (workAreaButtonRelease): update
7910 toolbar/menubar here too.
7912 2002-01-13 Allan Rae <rae@lyx.org>
7914 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7915 Now seems indestructible. Remaining task is to audit all other
7916 code affected by deleteEmptyParagraphMechanism. One small quirk
7917 left is that an empty document with an error in the preamble can
7918 be made to report an error but no error box appears. I don't know
7920 (removeAutoInsets): Improved comments.
7922 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7925 * Thesaurus.C: update for Aiksaurus 0.14
7927 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7929 * text2.C (firstParagraph): removed member function, all uses
7930 replaces with ownerParagraph
7931 (redoParagraphs): here
7933 (toggleAppendix): here
7934 * BufferView2.C (insertErrors): here
7935 (setCursorFromRow): here
7937 2002-01-13 Allan Rae <rae@lyx.org>
7939 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7940 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7941 There is still a way to segfault this although you may have to do this
7942 multiple times: Have an InsetERT with an unknown command in it.
7943 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7944 <down-arrow>, <Enter> again, View->DVI, BANG!
7946 * text2.C (setCursor):
7947 (deleteEmptyParagraphMechanism):
7948 * lyxtext.h (setCursor):
7949 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7950 Making use of the return value may help fix other bugs.
7952 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7954 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7956 * LyXView.C (updateMenubar): call MenuBar::update here
7957 (updateToolbar): but not here
7958 (showState): do not update toolbar/menubar
7960 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7961 should need to care about that.
7963 * lyxfunc.C (verboseDispatch): simplify a bit
7964 (getStatus): have a version which takes a pseudoaction, and
7965 another which requires a (kb_action,string).
7967 * LyXAction.C (retrieveActionArg): make it work also when action
7968 is not a pseudo-action.
7969 (getActionName): simplify a bit
7972 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7974 * lyxfunc.C (verboseDispatch): new families of methods with
7975 several ways to specify a command and a bool to indicate whether
7976 the command name and shortcut should be displayed in minibuffer
7977 (eventually, we could extend that to a finer bitmask like
7978 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7979 (dispatch): the pristine dispatch command which just, well,
7980 dispatchs! Note it still sets its result to minibuffer; I'm not
7983 * lyxfunc.h: remove setHintMessage
7985 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7987 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7989 * BufferView_pimpl.C (specialChar): delete new inset if we have
7990 not been able to insert it.
7992 * kbmap.C: revert to using int instead of kb_action, since all we
7993 are dealing with is pseudo-actions.
7995 * LyXAction.C (searchActionArg): change to return int instead of
7996 kb_action, since the result is a pseudoaction.
7998 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8000 * buffer.C (insertErtContents): Fix (partially) the font bug.
8002 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8004 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8005 as the other one is broken on my machine!
8007 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8010 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8012 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8014 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8015 reflect their actual use. Provide compatibility code for older lyxrc
8018 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8020 change names of popup font variables in line with the changes to lyxrc.C
8022 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8024 * buffer.C (asciiParagraph): avoid outputing a word twice after
8027 * lyxrc.C (getDescription): document that document_path and
8028 template_path can be empty.
8030 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8032 * LaTeXFeatures.C (getMacros):
8033 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8035 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8037 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8039 (getPackages): rename feature "floats" to "float". Use an array to
8040 iterate over 'simple' features (i.e. just a \usepackage). Add
8041 handling of "amsmath" (renamed from "amsstyle").
8043 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8045 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8048 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8050 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8051 FuncStaus::FuncStatus & FuncStaus::some_method().
8053 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8055 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8056 of the func_satus stuff. Edited and massaged in various ways by
8059 * lyxfunc.C (getStatus): use FuncStatus
8061 2002-01-08 Juergen Vigna <jug@sad.it>
8063 * text.C (nextBreakPoint): use function Inset::isChar().
8065 * paragraph.C (TeXOnePar): use function
8066 Inset::forceDefaultParagraphs.
8068 * buffer.C (latexParagraphs): use function
8069 Inset::forceDefaultParagraphs.
8071 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8073 * lyx_gui.C (init): set the style of the menu popups to
8074 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8076 2002-01-07 Juergen Vigna <jug@sad.it>
8078 * text.C (setHeightOfRow): small fix
8079 (prepareToPrint): don't look at alignment if we don't have the place
8082 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8084 * box.C: New file. Move the Box methods and functions out of box.h,
8085 following Lars' suggestion.
8087 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8089 * box.h: #include "support/LOstream.h", needed for inlined function.
8092 * lyxtextclasslist.C: added some using std declarations.
8094 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8096 * box.h: make signed dimensions to allow insets wider than
8097 the screen (bug #162)
8099 * BufferView_pimpl.C: add some insetHit debug
8101 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8103 * vc-backend.C: add FIXME
8105 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8107 * lyxfunc.C (getStatus): enable code for showing math font status
8110 2002-01-07 Juergen Vigna <jug@sad.it>
8112 * text.C (nextBreakPoint): removed debug output not needed anymore.
8114 2002-01-06 Juergen Vigna <jug@sad.it>
8116 * text.C (nextBreakPoint): fixed up this function we had this bug
8117 since ever but now hopefully we break row better.
8118 (insertChar): we have to check if an inset is the next char as it
8119 could now happen that a large inset is causing a break.
8121 2002-01-05 Juergen Vigna <jug@sad.it>
8123 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8124 if it doesn't like to be drawed.
8126 2002-01-04 Juergen Vigna <jug@sad.it>
8128 * BufferView2.C (lockInset): forgot to set a cursor.
8130 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8132 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8137 * form_maths_panel.C:
8138 * form_maths_panel.h:
8139 * form_maths_panel.fd: implemented sub- and super- buttons in math
8142 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8143 (or ^ space) to be used as in TeX (req'd by André).
8145 * lyxfunc.C: Allow ^ and _ again to be used both as
8146 super/subscript (mathed) and as themselves (in text).
8148 2002-01-03 Allan Rae <rae@lyx.org>
8150 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8151 "LyX" or the filename of the current buffer if it has one. This is a
8152 modified form of John Levon's patch.
8154 * XFormsView.C (setWindowTitle): also set icon title.
8156 * LyXView.h (setWindowTitle): signature changed.
8157 * XFormsView.h (setWindowTitle): ditto.
8159 2002-01-02 Juergen Vigna <jug@sad.it>
8161 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8163 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8165 * screen.C (topCursorVisible): introduce a temp var for
8166 text->cursor.row(), handle the case where this row is null. (kindo
8169 * text2.C (setCursor): add a couple of asserts.
8171 * paragraph.h (inset_iterator): add -> operator
8173 * paragraph.[Ch] (autoDeleteInsets): remove member function
8175 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8176 cursor pos correctly and handle inset deletion by itself.
8177 (insertErrors): move iterator declaration out of for expression
8179 * lyxtextclass.C: add <algorithm>
8181 * Makefile.am: added the new files to sources, removed layout.C
8183 * layout.C: removed file
8185 * layout.h: remove LYX_DUMMY_LAYOUT
8187 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8191 * lyxtextclass.[Ch]:
8192 * lyxtextclasslist.[Ch]: new files
8194 * include order changes to a lot of files, also changes because of
8197 2001-12-27 Juergen Vigna <jug@sad.it>
8199 * buffer.C (asciiParagraph): more fixes.
8201 * tabular.C (ascii): make ascii export support export of only the
8202 data separated by a column-delimiter.
8203 (ascii): better support for ascii export.
8205 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8207 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8209 * tabular_funcs.C: use a "using std::getline" instead of the
8210 previous fix from Angus (necessary for cxx + lyxstring)
8212 2001-12-24 Juergen Vigna <jug@sad.it>
8214 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8216 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8217 problems. First check a minipage also if we have some ert-contents
8218 (not only on par->size(), second set the right depth of the paragraph
8219 on the relink to the root-paragraph-list!
8221 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8222 which then did not anymore update the main paragraphs on undo/redo!
8224 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8226 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8227 code. Support all font-changing funcs (even those which are not in
8228 menu currently). Support for reporting font settings in
8229 mathed (disabled until Andre provides a function on mathed's side).
8231 * func_status.h (toggle): small helper function to set toggle
8234 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8236 * tabular_funcs.C: getline -> std::getline
8238 2001-12-21 Juergen Vigna <jug@sad.it>
8240 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8241 accessed and could be 0 (I couldn't generate this but it seems
8244 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8246 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8247 * tabular_funcs.h: here and include iosfwd
8249 2001-12-20 Juergen Vigna <jug@sad.it>
8251 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8252 inside inset but undo_par was.
8254 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8256 * Thesaurus.C: always include <config.h> in sources.
8260 * box.h: do not include <config.h> in header files
8262 * text.C (paintLastRow): remove unused variable
8264 * text.C (transformChar):
8266 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8269 * font.C (width): rewrite to use uppercase() instead of
8272 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8274 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8276 * lyxfind.C: clean up of find failure position change
8278 2001-12-20 Juergen Vigna <jug@sad.it>
8280 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8282 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8283 (TeXRow): added to LaTeX a single tabular row.
8284 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8285 (Latex): simplified and finally good LT-h/f support.
8286 (various_functions): just small adaptions for LT-h/f support.
8288 * tabular_funcs.[hC]: added and moved here all not classfunctions
8291 2001-12-19 Juergen Vigna <jug@sad.it>
8293 * tabular.[Ch]: better support for longtabular options (not finished
8296 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8298 * text.C (paintLastRow): use the label font instead of the font of
8299 the last character to compute the size of *_BOX. This makes more
8300 sense and avoids a crash with empty paragraphs.
8301 Use Painter::rectangle to draw EMPTY_BOX.
8303 2001-12-19 Juergen Vigna <jug@sad.it>
8305 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8306 the paragraphs if the replaced paragraph is not the first one!
8307 Tried to delete not used paragraphs but does not work yet so for
8308 now it's inside #ifdef's and by default off!
8310 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8312 * MenuBackend.C: include "lyx_main.h" instead of declaring
8313 lastfiles (actually was declared as LastFiles* instead of a
8316 2001-12-17 Juergen Vigna <jug@sad.it>
8318 * tabular.C (AppendColumn): applied John's fix
8320 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8324 * BufferView_pimpl.h:
8325 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8328 * box.h: new start of class for above
8330 * lyxfunc.C: ignore space-only minibuffer dispatches.
8331 Show the command name when it doesn't exist
8333 * minibuffer.C: don't add empty lines to the history
8335 * minibuffer.C: add a space on dropdown completion
8337 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8339 * text.C: fix line above/below drawing in insets
8341 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8343 * lyxlength.C (LyXLength): Initialize private variables.
8345 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8347 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8348 when inserting error insets.
8350 2001-12-13 Juergen Vigna <jug@sad.it>
8352 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8353 actually sometimes the before-paragraph.
8354 (setUndo): don't clear the redostack if we're not actually undoing!
8356 2001-12-06 Juergen Vigna <jug@sad.it>
8358 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8359 and fixed redoing of main paragraph, so we can use it now ;)
8361 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8363 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8365 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8368 2001-12-13 André Pönitz <poenitz@gmx.net>
8371 * undo_func.C: minor cleanup
8373 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8375 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8376 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8377 font in urw-fonts package which is marked as -urw-fontspecific and
8378 does not work (incidentally, changing the encoding in the
8379 fonts.dir of this package to -adobe-fontspecific fixes the
8382 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8383 is a crash when undoing first paragraph (Juergen, please take a
8384 look). THis does not mean the undo fix is wrong, just that it
8387 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8388 the (Paragraph*) version when needed instead of duplicating the
8391 * text.C (workWidth): use Inset::parOwner to find out where the
8392 inset has been inserted. This is a huge performance gain for large
8393 documents with lots of insets. If Inset::parOwner is not set, fall
8394 back on the brute force method
8396 * paragraph_pimpl.C (insertInset):
8397 * paragraph.C (Paragraph):
8398 (cutIntoMinibuffer): set parOwner of insets when
8399 inserting/removing them
8401 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8403 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8409 * mathed/formulabase.C:
8410 * mathed/math_cursor.[Ch]:
8411 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8414 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8416 * lyxlength.[Ch] (operator!=): new function
8418 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8420 * text.C (workWidth): use Inset::parOwner to find out where the
8421 inset has been inserted. This is a huge performance gain for large
8422 documents with lots of insets. If Inset::parOwner is not set, fall
8423 back on the brute force method
8425 * paragraph_pimpl.C (insertInset):
8426 * paragraph.C (Paragraph):
8427 (cutIntoMinibuffer): set parOwner of insets when
8428 inserting/removing them
8430 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8432 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8434 * tabular-old.C (getTokenValue):
8435 * tabular.C (getTokenValue):
8436 (write_attribute): new versions for LyXLength
8437 (everywhere): adjust the use of widths
8439 * tabular.h: change the type of widths from string to LyXLength
8441 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8443 * paragraph.C: fixed missing line number count when exporting
8444 Environments to LaTeX file
8446 * buffer.C: added informational message for checking line numbers.
8448 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8450 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8451 paragraph, do the 'double space' part, but not the 'empty
8454 * text.C (workWidth): small optimization
8455 (getLengthMarkerHeight): use minimal size for negative lengths.
8457 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8459 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8461 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8463 2001-12-11 André Pönitz <poenitz@gmx.net>
8466 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8468 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8470 * text2.C: keep selection on a setFont()
8472 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8474 * lyx_cb.C: another bv->text misuse, from insert label
8476 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8479 * kbsequence.C: re-instate nmodifier mask
8481 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8483 * lyx_main.h: make lyxGUI private.
8485 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8487 * lyxfind.C: place the cursor correctly on failed search
8489 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8491 * text.C (getLengthMarkerHeight): for small heights, the arrows
8492 are not always on top/bottom of the text
8493 (drawLengthMarker): smaller arrows; take the left margin in
8494 account; draw also vfills.
8496 (paintLastRow): remove special code for vfill and standard spaces,
8497 since everything is handled in drawLengthMarker now.
8499 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8501 * buffer.C (insertErtContents): try to handle font and language
8502 interaction a bit better.g
8504 * ColorHandler.C (updateColor): change the hash to cover the whole
8505 LColor enum, ws cleanup
8506 (getGCLinepars): ditto
8507 (getGCLinepars): only lookup in the linecache once.
8509 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8511 * iterators.C (operator++): Make the iterator more robust
8513 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8515 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8517 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8520 * text.C: better added space drawing
8522 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8525 * BufferView2.C: fix layout combo update on inset unlock
8527 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8529 * Makefile.am: don't compile unused files
8531 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8535 * LyXAction.C: remove old LFUN_LAYOUTNO
8537 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8539 * paragraph_pimpl.h:
8540 * paragraph_pimpl.C: isTextAt() doesn't need font param
8542 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8545 * lyxlex.C: little cleanup
8547 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8549 * BufferView_pimpl.C: fix insertAscii for insets
8551 2001-12-05 Juergen Vigna <jug@sad.it>
8553 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8554 set the right font on the "multi" paragraph paste!
8556 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8562 * lyxlength.C: remove out-commented code.
8578 * vc-backend.C: change "while(" to "while ("
8580 * lyxlength.[Ch]: add zero function to check if length is zero or
8582 * lyxgluelength.C: use it
8584 2001-12-05 Allan Rae <rae@lyx.org>
8586 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8587 Works for 2.95.3, from what I understand of Garst's reports this should
8588 work for other g++ versions. We're screwed if the abs(int) definition
8589 changed between bugfix releases of gcc.
8591 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8593 * text.C: fix chapter label offset !
8595 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8598 * text.C: fix hfill at end of line, clean up
8600 2001-12-04 Juergen Vigna <jug@sad.it>
8602 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8603 that we force an update of the inset and it's owners if neccessary.
8605 2001-12-03 Juergen Vigna <jug@sad.it>
8607 * text.C (rowLast): simplified code
8609 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8611 * lyxfunc.C: fix show options on timeout
8613 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8615 * screen.C (topCursorVisible): scroll half a page when the cursor
8616 reached top of bottom of screen
8618 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8620 * minibuffer.C: deactivate on loss of focus
8622 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8624 * vspace.[Ch] (operator!=): add operator.
8626 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8628 * BufferView_pimpl.C: refuse to open an inset when
8629 there's a selection.
8631 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8633 * BufferView_pimpl.C: allow to click on RHS of full row insets
8635 2001-11-30 Juergen Vigna <jug@sad.it>
8637 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8638 insets for undo reasons.
8640 2001-11-28 André Pönitz <poenitz@gmx.net>
8642 * vspace.[Ch]: cosmetical changes
8644 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8654 * kbsequence.C: part re-write of old kb code
8657 * WorkArea.C: remove Lgb_bug_find_hack
8659 2001-11-30 José Matos <jamatos@fep.up.pt>
8661 * buffer.C (makeDocBookFile): add a comment to point a hack.
8662 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8663 Fixed a double write of labels.
8665 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8668 * LaTeX.h Fixed bug in LaTeX class where it would not
8669 re-run latex if no depfiles were changed, but the .dvi was removed.
8671 2001-11-28 André Pönitz <poenitz@gmx.net>
8673 * all the files from the change on 2001/11/26:
8674 use lyx::layout_type instead of LyXTextClass::size_type
8675 use lyx::textclass_type instead of LyXTextClassList::size_type
8677 2001-11-29 Juergen Vigna <jug@sad.it>
8679 * text.C: added support for paragraph::isFreeSpacing()
8681 * buffer.C: same as above
8683 * paragraph.h: inserted isFreeSpacing() function to enable
8684 FreeSpacing inside InsetERT.
8686 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8687 of the paragraph's in the cut/copy buffer to 0!
8689 * text2.C (removeRow): remove the assert as it can!
8691 * lyxtext.h: added helper function firstRow returning firstrow and
8692 made firstrow private again.
8694 * BufferView2.C (lockInset): don't relock if we're already locked!
8696 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8698 (removeRow): added Assert::(firstrow)
8700 * debug.C: forgot to add INSETTEXT here.
8702 2001-11-28 Juergen Vigna <jug@sad.it>
8704 * sp_spell.C (initialize): changed error text to more general
8705 spellchecker command use (not only ispell!)
8707 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8709 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8711 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8713 * vspace.C: initialise lyxgluelength on failure
8715 2001-11-28 Allan Rae <rae@lyx.org>
8717 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8718 declaration & definition that looks like a function declaration.
8720 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8722 * BufferView2.C (copy):
8723 (copyEnvironment): do not clear the selection when doing a copy.
8725 * text.C (paintFirstRow): compilation fix
8727 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8729 * tabular.C (Latex): correct line count when writing latex.
8731 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8733 * paragraph_pimpl.h:
8734 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8737 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8741 * LColor.C: change vfillline->added_space
8743 * text.C: add markers and text for added space
8745 * vspace.C: fix comment
8747 2001-11-28 André Pönitz <poenitz@gmx.net>
8749 * paragraph.C: whitespace changes
8750 * all the other files from the change on 2001/11/26:
8751 change *::pos_type into lyx::pos_type
8753 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8755 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8756 language of the document when inserting error insets.
8758 2001-11-26 André Pönitz <poenitz@gmx.net>
8760 * BufferView_pimpl.[Ch]:
8768 * paragraph_pimpl.[Ch]:
8771 * text2.C: reduce header dependencies, introduce type for positions
8773 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8775 * <various>: change to use Alert.h
8777 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8779 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8780 when encountering an unknown token.
8781 (readLyXformat2): Show an error message if there were unknown tokens.
8783 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8786 * BufferView_pimpl.C:
8790 * text2.C: use par->isInset()
8792 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8794 * paragraph_pimpl.h:
8795 * paragraph_pimpl.C: cleanup
8797 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8799 * text2.C (removeRow):
8800 * text.C (setHeightOfRow): remove useless (and costly) call to
8803 2001-11-20 Allan Rae <rae@lyx.org>
8805 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8806 Now need Inset*::checkInsertChar() to return true for appropriate
8807 cases so that the characters in the minibuffer will actually be
8810 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8812 * text.C: change the order of the includes.
8813 (workWidth): initialize it at once.
8814 (workWidth): make maxw unsigned
8815 (setHeightOfRow): remove unused variable (inset)
8816 (selectSelectedWord): remove unused variable (inset)
8817 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8819 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8821 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8822 server is not running.
8824 (closeConnection): add debug info when server is disabled.
8826 * ColorHandler.C (getGCForeground): send debug message to GUI
8829 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8831 * kbmap.C (bind): modify because return conventions of
8832 kb_sequence::parse have changed.
8834 * kbsequence.C (parse): only ignore spaces and not any stupid
8835 control character. This avoids tests like s[i] <= ' ', which are
8836 guaranteed to fail with 8bit characters and signed chars.
8837 Change return code to string::npos when there have been no error
8838 (0 was a bad idea when error is at first character)
8840 2001-11-14 José Matos <jamatos@fep.up.pt>
8843 * buffer.C (simpleDocBookOnePar): removed unused argument.
8845 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8847 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8848 insets which are part of a word. Paragraph::isLetter takes care of
8849 that now. Use Paragraph::isInset to identify insets.
8850 (selectSelectedWord): do not test for hyphenation break.
8852 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8853 that protected spaces are considered as spaces.
8855 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8858 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8861 * lyxserver.C: fix it. and small cleanup.
8863 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8865 * BufferView_pimpl.C: use inline helpers
8868 * LaTeXFeatures.C: fix typos
8871 * Spacing.C: move spacing_string into class
8873 * ToolbarDefaults.C: move stuff into namespace anon
8875 * layout.h: update enum
8877 * lyxfunc.C: use better debug
8879 * minibuffer.h: fix typo
8883 * WorkArea.C: add and use Debug::WORKAREA
8887 * text2.C: code re-organisation, inline helpers
8889 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8891 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8892 std::vector.empty().
8894 2001-11-09 Allan Rae <rae@lyx.org>
8896 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8897 '\n's after tables. Tabular and ERT inset work now makes this no
8900 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8903 * minibuffer.C: fix crash, improve drop-down completion
8905 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8908 * lyxserver.C: invalidate fd's when doing endPipe()
8910 2001-11-08 José Matos <jamatos@fep.up.pt>
8912 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8913 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8916 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8918 2001-11-07 José Matos <jamatos@fep.up.pt>
8921 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8924 * buffer.C (sgmlOpenTag):
8925 * buffer.C (sgmlCloseTag): removed debug info.
8927 * buffer.h (sgmlOpenTag):
8928 * buffer.h (sgmlCloseTag): made public.
8930 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8932 * buffer.C (saveParamsAsDefaults):
8933 * lyx_cb.C (MenuLayoutSave): remove
8935 * LyXAction.C (init):
8937 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8939 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8941 * buffer.C (setPaperStuff): removed from here...
8943 * bufferparams.C (setPaperStuff): ... and moved there.
8945 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8949 * XFormsView.C: add support for drop-down completion
8951 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8953 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8956 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8958 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8961 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8963 * lyx_main.C: change ref to known bugs
8965 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8967 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8968 to work around older babel problems.
8970 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8972 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8974 2001-10-24 Juergen Vigna <jug@sad.it>
8976 * tabular-old.C (ReadOld): below variable changes reflected.
8978 * tabular.[Ch]: added ltType struct for longtable header/footer
8979 defines and changed all instances where they are used. Added
8980 future support for double top/bottom rows.
8982 2001-10-24 José Matos <jamatos@fep.up.pt>
8984 * buffer.h (docbookHandleCaption):
8985 * buffer.C (docbookHandleCaption): removed unused function.
8986 (makeDocBookFile): moved docbook supported version to v4.1.
8988 2001-10-24 José Matos <jamatos@fep.up.pt>
8991 * tabular.C (docbookRow): new function to export docbook code of a row.
8992 (DocBook): now honors the longtable flags.
8994 2001-10-23 José Matos <jamatos@fep.up.pt>
8997 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8998 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9000 * buffer.C (makeLinuxDocFile):
9001 (makeDocBookFile): reworked the preamble, more clean, and with
9002 support for lyx defined entities. Changed the document declaration
9003 to be more XML friendly.
9005 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9006 if we need to output XML that should be done with a filter.
9008 2001-10-22 Juergen Vigna <jug@sad.it>
9010 * sp_pspell.h (class PSpell): add alive function needed in the
9011 controller to see if the spellchecker could be started.
9013 2001-10-22 Juergen Vigna <jug@sad.it>
9015 * buffer.C (insertStringAsLines): modify the font for inserting
9016 chars in certain conditions by calling checkInsertChar(font).
9018 2001-10-19 Juergen Vigna <jug@sad.it>
9020 * text.C (workWidth): use getRow instead of wrong algorithm.
9021 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9023 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9028 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9030 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9032 * text.C (workWidth): do not search for the exact row when
9033 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9034 optimization for big documents.
9036 2001-10-18 Juergen Vigna <jug@sad.it>
9038 * text.C (workWidth): new function with added Inset * parameter.
9040 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9042 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9044 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9045 change return type of getColumnNearX.
9048 * text.C (changeRegionCase): use uppercase/lowercase instead of
9051 (rightMargin): simplify code by factoring out the uses of
9056 (appendParagraph): use Paragraph::size_type
9058 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9060 * vspace.C (asLatexString): add a missing break
9062 2001-10-15 Herbert Voss <voss@perce.de>
9064 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9066 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9068 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9071 2001-10-10 André Pönitz <poenitz@gmx.net>
9073 * lyxfunc.C: removed greek_kb_flag.
9075 2001-10-10 Herbert Voss <voss@perce.de>
9077 * lyx_main.C: delete global string help_lyxdir.
9079 2001-10-09 Herbert Voss <voss@perce.de>
9081 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9083 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9085 * lyx_main.C: added global string help_lyxdir.
9087 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9089 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9091 * lyxrc.C (set_font_norm_type): support iso8859-4
9093 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9095 * LaTeX.C (deplog): add another regex for MikTeX
9097 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9099 * lyxrc.C (set_font_norm_type): support iso8859-3
9101 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9103 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9105 * LaTeXFeatures.C: remove special case of french and index
9107 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9108 before \begin{document}). This solves several incompatibilities.
9110 2001-10-03 Garst Reese <reese@isn.net>
9112 * lyx_cb.C: change CheckTex error msg.
9114 2001-10-03 José Matos <jamatos@fep.up.pt>
9116 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9118 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9120 * .cvsignore: update
9122 * lyx_main.C (commandLineVersionInfo): use new style version info.
9124 * buffer.C (writeFile):
9127 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9129 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9131 * version.h: update to use stuff in version.C
9133 * version.C.in: new file. Contains version information determined
9134 at compile time. This is a merging of version.h and
9137 2001-10-03 Juergen Vigna <jug@sad.it>
9139 * BufferView_pimpl.C (update): don't change "dirty" status in
9142 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9144 * WorkArea.C (c-tor): re-position version string slightly.
9146 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9148 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9149 revert to previous code.
9151 WorkArea.[Ch]: (show, destroySplash): methods removed.
9153 WorkArea.C: rework code so that it's an amalgam of the codes before and
9154 after the splash screen was moved to WorkArea.
9156 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9159 * vspace.C (inPixels):
9162 * buffer.C (insertStringAsLines):
9163 (asciiParagraph): fix types to be large enough
9165 * lyxlex_pimpl.h: change member status from short to int
9167 * layout.h: fix type of endlabeltype
9170 * kbsequence.C (parse): change return type to string::size_type
9172 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9175 * Bullet.C (bulletSize):
9176 (bulletEntry): do not use short ints as parameters
9178 * BufferView2.C (insertLyXFile): change a char to an int.
9180 * WorkArea.C (WorkArea): remove unneeded floats in computation
9182 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9184 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9186 * paragraph.C (asString): Do not ignore newline/hfill chars when
9187 copying to the clipboard.
9189 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9191 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9192 after a multi-line inset.
9194 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9196 * paragraph.C (validate): Set NeedLyXFootnoteCode
9198 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9200 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9201 and decrease-error to decrease.
9203 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9205 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9206 it more readable (should be equivalent)
9208 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9210 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9212 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9214 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9215 of a cursor (row, etc.) after a character has been deleted
9216 (deleteEmptyParagraphMechanism): call the method above on _all_
9217 cursors held by the LyXText when a double space has been
9220 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9222 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9224 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9226 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9227 background. Use greyOut() and the new show() methods to toggle between
9228 the foreground and background. Add code to remove the splash after
9229 its initial showing.
9231 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9232 (create_forms): no longer call Dialogs::showSplash.
9234 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9236 * .cvsignore: add version_info.h
9238 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9240 * version_info.h.in: new file
9242 * Makefile.am: add version_info.h.in
9244 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9245 version_info.h instead of VERSION_INFO
9247 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9249 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9250 The ERT inset now returns string().
9252 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9254 * lyxtext.h, text.C (selectNextWord): renamed as
9255 selectNextWordToSpellcheck.
9257 * text.C (selectNextWordToSpellcheck): Modified to not select
9258 words inside an ERT inset.
9260 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9262 * lyx_cb.C (MenuLayoutSave): change a bit the question
9264 * sp_base.h: include <sys/types.h>
9266 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9268 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9270 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9272 * several files: fix typos in user-visible strings
9274 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9276 * text2.C (pasteSelection): do not set the selection, since it
9277 will be cleared later. Actually, the intent was to fix the way the
9278 selection was set, but I figured rmoving the code was just as good.
9280 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9282 * FontLoader.C (available): Check if font is available without
9285 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9287 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9289 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9291 * lyxrc.[Ch]: added display_graphics variable and associated code.
9293 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9295 * bufferparams.C (hasClassDefaults): new method. Returns true if
9296 the buffer parameters correspond to known class defaults
9298 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9300 * XFormsView.C (show): set minimum size to the main window.
9302 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9304 * text2.C (copySelection):
9306 * lyxfind.C (LyXReplace):
9307 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9308 LyXText::selectionAsString.
9310 * paragraph.C (asString): add "label" argument to the second form
9312 * text2.C (selectionAsString): add "label" argument and pass it to
9313 Paragraph::asString.
9315 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9317 * lyx_main.C (commandLineHelp): remove version information
9319 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9321 * lyx_main.C: add -version commandline option
9323 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9325 * paragraph.h: make the optional constructor arg required instead.
9326 some modifications to other files because of this.
9328 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9330 * lyxserver.C (C_LyXComm_callback): make it static
9332 * lyx_main.C (error_handler): make it static
9334 * lyx_gui.C (LyX_XErrHandler): make it static
9336 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9338 * WorkArea.C: make the extern "C" methods static.
9340 * Makefile.am (lyx_LDADD): simplify
9342 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9344 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9345 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9347 * LyXAction.C (init):
9348 * lyxfunc.C (dispatch): associated code removal.
9350 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9352 * lyxfont.h (isSymbolFont): shut off warning
9354 * text.C (setHeightOfRow):
9355 (getVisibleRow): fix crash with empty paragraphs which have a
9358 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9360 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9363 2001-09-04 José Matos <jamatos@fep.up.pt>
9366 * tabular.C (docbook): rename docBook method to docbook.
9368 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9370 * Makefile.am: add dependencies to main.o.
9372 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9374 * FontLoader.C (available): Return false if !lyxrc.use_gui
9376 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9378 * FontInfo.C (query):
9379 * converter.C (view):
9380 * importer.C (Import):
9381 * exporter.C (Export): Can not -> cannot.
9383 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9385 * BufferView_pimpl.C: allow to create index inset even if
9388 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9390 * buffer.C (getLists): replace boost::tie code with an explicit pair
9391 as boost::tie can break some compilers.
9393 * iterators.h: Added a std:: declaration to the return type of
9396 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9398 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9401 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9403 * iterators.[Ch]: New files. Provide paragraph iterators.
9405 * buffer.C (changeLanguage): Use paragraph iterators.
9406 (isMultiLingual): ditto
9408 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9410 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9412 * FontLoader.C: Support for cmr font.
9414 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9416 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9417 (available): New method.
9419 * FontInfo.C (getFontname): Use scalable fonts even when
9420 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9423 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9425 * converter.C (Formats::view): reverted! Incorrect fix.
9427 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9429 * converter.C (Formats::view): only output the -paper option
9430 if the dvi viewer is xdvi, thereby fixing bug #233429.
9432 2001-08-23 Herbert Voss <voss@perce>
9434 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9436 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9438 * Spacing.h (Spacing): Set space to Default on in the default
9441 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9443 * vc-backend.h (RCS::versionString): add RCS to version
9444 (CVS::versionString): add CVS to version
9446 * vc-backend.C (scanMaster): do not add CVS to version.
9447 (scanMaster): do not add RCS to version
9449 * lyxvc.C (versionString): new method
9451 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9453 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9455 * Spacing.C (set): initialize fval
9457 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9459 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9462 2001-08-16 Juergen Vigna <jug@sad.it>
9464 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9466 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9468 * BufferView_pimpl.C:
9471 * text2.C: setParagraph takes linespacing now
9473 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9475 * LyxAction.C: add internal LFUN_CITATION_INSERT
9477 * LyXView.C: actually apply fix
9479 * bufferlist.C: fix open non-existent file
9481 * lyxfind.C: fix indentation
9483 * lyxfunc.C: remove unneeded assert, fix typo
9485 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9487 * MenuBackend.C: use "Floatname List"
9489 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9491 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9492 when converting LaTeX layout to insetERT.
9493 Generate a non-collapsed float when reading old float
9495 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9497 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9500 2001-08-13 Juergen Vigna <jug@sad.it>
9502 * text.C (fill): return 0 instead of 20 as this seems to be the more
9505 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9507 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9510 2001-08-13 Juergen Vigna <jug@sad.it>
9512 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9514 (SearchBackward): comment out the unlocking of the inset_owner this
9515 should not be needed!
9517 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9519 * Many files: Remove inherit_language, and add latex_language
9521 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9524 2001-08-10 Juergen Vigna <jug@sad.it>
9526 * text.C (prepareToPrint): fixed hfill-width in draw!
9528 * BufferView2.C (selectLastWord): save the selection cursor as this
9529 now is cleared in the function LyXText::clearSelection!
9531 2001-08-08 Juergen Vigna <jug@sad.it>
9533 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9534 BACKSPACE type functions.
9536 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9537 is only cutted from the document but not put in the cut-buffer, where
9538 still the old stuff should be.
9540 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9542 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9544 * tabular.C (SetWidthOfCell): fixed special case where the width
9546 (LeftLine): handle '|' in align_special.
9548 (LeftAlreadyDrawed): ditto
9549 (SetWidthOfCell): ditto
9551 2001-08-07 Juergen Vigna <jug@sad.it>
9553 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9555 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9557 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9558 * lyxlex.[hC]: ditto
9560 2001-08-06 Juergen Vigna <jug@sad.it>
9562 * text.C (getVisibleRow): fix up row clearing a bit.
9564 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9566 * minibuffer.C: make sure the X server sees the changes in the input.
9568 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9570 * paragraph.C (getFont): split into...
9571 (getLabelFont): this
9572 (getLayoutFont): and this
9573 * paragraph_pimpl.C (realizeFont): calling this
9575 * text2.C (getFont): split into...
9576 (getLayoutFont): this
9577 (getLabelFont): and this
9578 (realizeFont): all three calling this
9580 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9583 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9585 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9587 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9589 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9590 layouts from the Quote inset insertion.
9592 2001-08-03 Juergen Vigna <jug@sad.it>
9594 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9596 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9597 only if status not is already CHANGED_IN_DRAW (second level).
9599 * text.C (draw): don't set the need_break_row when inside an
9602 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9604 * buffer.C (parseSingleLyXformat2Token): handle more latex
9607 * bufferview_funcs.[hC]: change function names to
9608 begin with small char, adjust other files.
9610 2001-08-02 André Pönitz <poenitz@gmx.net>
9613 BufferView_pimpl.C: remove broken special code for math-greek
9615 2001-08-02 Juergen Vigna <jug@sad.it>
9617 * BufferView_pimpl.C (update): redone this function so that we
9618 update the text again if there was a CHANGE_IN_DRAW.
9620 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9621 (drawFromTo): added a new internal bool which is used by draw() and
9623 (general): some cursor drawing problems fixed.
9625 2001-08-01 Juergen Vigna <jug@sad.it>
9627 * lyxfind.C (LyXFind): fixed
9628 (SearchForward): ditto
9629 (SearchBackward): ditto
9631 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9632 spurius drawing of the cursor in the main area.
9634 * text2.C (status): small fix which could lead to a segfault!
9635 (clearSelection): remove unneeded BufferView param.
9637 2001-08-01 André Pönitz <poenitz@gmx.net>
9639 * lyxfunc.C: small change due to changed mathed interface
9641 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9643 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9645 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9647 * lyxfunc.c: fail gracefully if file doesn't exist
9652 * BufferView_pimpl.C: IsDirWriteable() proto changed
9654 * LyXView.C: fix updateWindowTitle() to store the last title
9656 2001-07-31 Juergen Vigna <jug@sad.it>
9658 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9659 the font (wrong since using of Paragraph::highestFontInRange).
9661 * paragraph.C (highestFontInRange): added a default_size parameter.
9663 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9664 (setHeightOfRow): reformat
9666 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9668 * converter.[hC] + affected files: move to (inital-char)lowercase
9671 * ParagraphParameters.C (ParagraphParameters): remove commented code
9673 * PainterBase.[Ch]: remove commented code
9675 * LaTeXFeatures.h: add "bool floats" for float.sty
9677 * LaTeXFeatures.C (LaTeXFeatures): init floats
9678 (require): handle float
9679 (getPackages): do it with floats
9681 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9683 * BufferView_pimpl.C (Dispatch): improve handling of
9684 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9686 * commandtags.h: #include lyxfont.h here temporarily to avoid
9689 * bufferlist.h: include LString.h here.
9691 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9693 * text2.C (getStringToIndex): new method.
9695 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9697 * *: Reduced header file dependencies all over.
9699 2001-07-30 Baruch Even <baruch@lyx.org>
9701 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9703 2001-07-29 Baruch Even <baruch@lyx.org>
9705 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9707 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9709 * ParameterStruct.h (endif): add a default constructor to make
9710 sure that all variables is initialized.
9712 * ParagraphParameters.C (ParagraphParameters): adjust
9714 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9716 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9717 index; also, check that there is something to index, and that it
9718 does not span over several paragraphs.
9719 (doubleClick): use WHOLE_WORD_STRICT for double click.
9721 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9723 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9726 2001-07-26 Baruch Even <baruch@lyx.org>
9728 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9729 an InsetFig figure, backwards compatible reading of old figure code.
9731 2001-07-27 Juergen Vigna <jug@sad.it>
9733 * text2.C: font.realize function adaption.
9735 * text.C (draw): add a warnings lyxerr text if needed.
9737 * layout.C: font.realize function adaption.
9739 * language.C: add inherit_language and implement it's handlings
9741 * bufferview_funcs.C (StyleReset): remove language parameter from
9742 font creation (should be language_inherit now).
9744 * bufferparams.C (writeFile): handle ignore_language.
9746 * paragraph.C (getFontSettings): the language has to be resolved
9747 otherwise we have problems in LyXFont!
9749 * lyxfont.C (lyxWriteChanges): added document_language parameter
9750 (update): removed unneeded language parameter
9752 * paragraph.C (validate): fixed wrong output of color-package when
9753 using interface colors for certain fonts in certain environments,
9754 which should not seen as that on the final output.
9756 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9758 * BufferView_pimpl.C:
9763 * LyXAction.C: add thesaurus support
9766 * lyxfind.C: add "once" parameter, for thesaurus, to not
9767 move to the next match
9769 2001-07-26 Juergen Vigna <jug@sad.it>
9771 * lyxfont.C (realize): honor ignore_language too!
9774 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9776 * text.C (draw): one place more for ignore_language to not draw
9779 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9781 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9783 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9785 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9786 the minipage conversion problem.
9788 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9790 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9793 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9795 * BufferView.h: don't forward declare WorkArea
9797 * BufferView.C: don't include WorkArea.h
9799 2001-07-25 André Pönitz <poenitz@gmx.net>
9803 * lyxfunc.C: new LFUN 'math-space'
9805 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9807 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9809 * text2.C (toggleInset): call open/close
9811 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9813 * lyxfunc.C (dispatch): add debug for the disabled case
9815 * font.C (buttonText): make similar to rectText
9817 * buffer.C (readInset): comment out parsing of insetlist and
9820 * PainterBase.C (rectText): small correction
9822 * BufferView_pimpl.C: comment out insettheorem and insetlist
9823 * LyXAction.C: ditto
9824 * commandtags.h: ditto
9826 2001-07-24 Juergen Vigna <jug@sad.it>
9828 * text.C (draw): honor the ignore_language.
9830 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9832 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9834 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9837 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9839 * lyxtext.h: remove unused (and unimplemented) methods
9841 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9843 * text.C (getVisibleRow): honor background color
9846 * Painter.h: remove default color argument for fillRectangle
9848 * text.C (backgroundColor): new method
9850 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9852 * text.C (getVisibleRow): adjust
9854 * font.[Ch] (rectText): new method, metrics
9855 (buttonText): new method, metrics
9857 * PainterBase.[hC]: make rectText and buttonText always draw and take
9860 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9862 * ToolbarDefaults.C (read):
9863 * MenuBackend.C (read): allow escaping in all strings
9865 * BufferView_pimpl.C (insertAndEditInset): new method.
9866 (Dispatch): use insertAndEditInset whenever appropriate.
9868 * BufferView_pimpl.C (insertNote): removed
9870 * BufferView_pimpl.C (smartQuote): new method, moved from
9871 BufferView; if an insetquote cannot be inserted, insert a '"'
9874 * BufferView2.C: remove insertCorrectQuote();
9876 * lyxfunc.C (getStatus): Add support for all remaingin
9879 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9881 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9882 command (necessary to pass " as parameter of self-insert.
9884 * text.C (selectWordWhenUnderCursor):
9885 (selectWord): add word_location parameter
9886 (selectWordWhenUnderCursor): same + remove special code for word
9888 (selectNextWord): use kind() to guess type of insetspecialchar,
9891 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9892 (insertErtContents): create ert insets as collapsed.
9893 (readInset): better compatibility code for Info inset.
9895 2001-07-20 Juergen Vigna <jug@sad.it>
9897 * lyxfunc.C (dispatch): use always LyXFind now!
9899 * text2.C (init): add a reinit flag so that the LyXText can be
9900 reinited instead of deleted and reallocated (used in InsetText).
9902 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9908 2001-07-18 Juergen Vigna <jug@sad.it>
9910 * text.C (selectNextWord): handle insets inside inset by calling
9911 always the bv->text functions so that we can go up the_locking_inset!
9913 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9914 in strange locations when inside an inset!
9916 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9917 handling to include insets.
9919 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9921 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9923 * LyXAction.C (init):
9925 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9926 LIGATURE_BREAK, since the name is so stupid.
9928 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9930 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9933 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9935 * sp_form.[Ch]: remove.
9937 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9939 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9942 * src/buffer.C (readInset): ditto.
9944 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9946 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9947 menuSeparator(), endOfSentenceDot(), ldots() and
9948 hyphenationPoint(), which are therefore removed.
9949 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9951 * LyXAction.C (init):
9952 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9954 * paragraph.C (getWord): removed.
9956 * BufferView_pimpl.C (Dispatch): use last word or selection for
9957 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9959 * lyx_main.C (queryUserLyXDir): do not ask before creating
9960 user_dir, except if it has been named explicitely.
9962 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9964 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9965 a document of zero size.
9967 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9969 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9970 approriately in the c-tor and in require().
9971 (getPackages): output the appropriate LaTeX for natbib support.
9973 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9974 variables "use_natbib" and "use_numerical_citations" when reading the
9976 (readInset): read the various natbib cite commands.
9977 (validate): white-space change.
9979 * bufferparams.[Ch]: new variables "bool use_natbib" and
9980 "bool use_numerical_citations".
9981 (writeFile): output them in the LyX file.
9983 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9985 * lyxfunc.C (getStatus): add support for all the inset insertion
9988 * text2.C (insertInset):
9989 * paragraph.C (insetAllowed):
9990 * BufferView_pimpl.C (insertInset): update to take in account the
9991 renaming of insertInsetAllowed
9993 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9995 * text2.C (getInset): new method. returns inset at cursor position.
9997 * BufferView_pimpl.C (Dispatch): changes because of this.
9999 * LyXAction.C (init): rename open-stuff to inset-toggle.
10001 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10003 * text2.C (toggleInset): renamed from openStuff; use
10006 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10008 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10010 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10012 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10014 * buffer.C (readLyXformat2): Add filename to the error dialog
10016 2001-07-18 Juergen Vigna <jug@sad.it>
10018 * tabular.C (GetCellNumber): put an assert here instead of the check!
10020 2001-07-17 Juergen Vigna <jug@sad.it>
10022 * BufferView_pimpl.C (toggleSelection): adapted too.
10024 * text.C (selectNextWord): adapted for use with insets.
10025 (selectSelectedWord): ditto
10027 2001-07-17 Juergen Vigna <jug@sad.it>
10029 * sp_spell.C (PSpell): fix initialitation order.
10031 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10033 * paragraph.C: spacing
10035 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10037 * sp_spell.C: repair language selection for pspell
10039 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10041 * lyxfunc.h: change more methods to begin with lower char.
10043 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10045 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10046 for unknown layouts.
10048 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10050 * buffer.C (readLyXformat2): Generate an error dialog if there are
10053 2001-07-16 Juergen Vigna <jug@sad.it>
10055 * sp_spell.C: always compile ISpell part.
10057 * lyxrc.C: added use_pspell entry and it's handling.
10059 2001-07-13 Juergen Vigna <jug@sad.it>
10061 * sp_spell.C: removed double includes.
10063 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10065 Consistent use of Lsstream.h:
10066 * Lsstream.h: added using std::stringstream for consistencies sake.
10068 * buffer.C: removed using std::stringstream
10070 * lyxfont.C (stateText):
10071 * paragraph.C (asString):
10072 * text.C (selectNextWord, selectSelectedWord):
10073 * text2.C (setCounter):
10074 * vspace.C (asString, asLatexString):
10075 std::ostringstream -> ostringstream.
10077 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10079 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10080 * commandtags.h: add LFUN_HELP_ABOUTLYX
10081 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10083 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10085 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10087 * lyx_gui_misc.C: remove spellchecker
10088 * lyxfunc.C: showSpellchecker
10090 * sp_ispell.h: added
10091 * sp_pspell.h: added
10092 * sp_spell.C: added
10093 * sp_form.[Ch]: removed
10094 * spellchecker.[Ch]: removed
10096 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10098 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10100 (simpleTeXSpecialChars): Simply print the input character without
10101 any special translation if pass_thru is set.
10103 * layout.h: Added bool pass_thru to layout class for being able to
10104 implement pass through of a paragraph for Literate Programming.
10106 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10107 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10108 * layout.C (Read): add "passthru" to list of layout tags and add
10109 code to set the pass_thru boolean when it is read.
10111 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10113 * trans_decl.h: remove allowed from KmodInfo
10115 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10116 remove allowed code
10119 * paragraph_pimpl.C (erase): use boost::prior
10121 * Painter.C (text): use data() instead of c_str() when length is
10123 * WorkArea.C (putClipboard): ditto
10124 * font.h (width): ditto
10126 * BufferView2.C: use it-> instead of (*it). for iterators
10128 * paragraph_pimpl.C: ditto
10129 * paragraph.C: ditto
10130 * minibuffer.C: ditto
10131 * language.C: ditto
10133 * encoding.C: ditto
10134 * counters.C: ditto
10135 * converter.C: ditto
10137 * Variables.C: ditto
10138 * TextCache.C: ditto
10139 * MenuBackend.C: ditto
10140 * LyXAction.C: ditto
10142 * FloatList.C: ditto
10143 * DepTable.C: ditto
10144 * ColorHandler.C (LyXColorHandler): ditto
10146 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10148 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10150 * text2.C (openStuff): reintroduce this method (which had been
10151 nuked in NEW_INSETS frenzy).
10153 * lyxfunc.C (Dispatch): when an action has not been handled, use
10154 its name in the error message, not its number.
10156 * paragraph.C (inInset): change method name to begin with lowercase.
10159 * text2.C: updates because of this.
10161 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10163 * ToolbarDefaults.C (add): add spaces in error message
10165 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10167 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10168 (readLyXformat2): rename return_par to first_par, use lyxlex's
10169 pushToken and remove the manual push handling.
10170 (parseSingleLyXformat2Token): add another ert comp. variable:
10171 in_tabular, rename return_par to first_par. handle newlines better
10173 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10175 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10177 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10179 * text2.C (getParFromID): removed
10181 * buffer.C (getParFromID): new method moved form lyxtext.
10182 * BufferView2.C (insertErrors): adjust
10183 (setCursorFromRow): adjust
10184 * BufferView_pimpl.C (restorePosition): adjust
10185 * lyxfunc.C (Dispatch): adjust
10186 * undo_funcs.C (textUndo): adjust
10188 (textHandleUndo): adjust
10189 (textHandleUndo): adjust
10191 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10193 * buffer.C: up' the LYX_FORMAT
10195 * lyxfont.h: turn NO_LATEX on as default
10197 * buffer.C (insertErtContents): new methods of tex style compability.
10198 (parseSingleLyXformat2Token): use it several places.
10199 * tabular.C (OldFormatRead): and here
10201 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10203 * text2.C: remove some commented code.
10206 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10207 * trans.C: changes because of the above.
10209 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10211 * text2.C (setCounter): Fix counters bug with bibliography layout.
10213 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10215 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10216 own member functions
10217 (simpleTeXSpecialChars): ditto
10219 2001-07-06 Juergen Vigna <jug@sad.it>
10221 * a lot of files: changed the access to LyXText::status and the
10222 call of undo-functions.
10224 * undo.[Ch]: added a inset_id to the undo informations.
10226 * undo_funcs.[Ch]: added and moved here all undo functions.
10228 * lyxtext.h: give the status enum a weight, made status_ a private
10229 variable and made accessor functions for it, removed the whole bunch
10230 of undo-functions as they are now in their own file, make some
10231 functions publically available. Added function ownerParagraph with
10234 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10235 made InInset() a const function, added getParFromID() function.
10237 * buffer.[Ch]: added const version for inset_iterator functions,
10238 added getInsetFromID() function.
10240 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10241 changed undo functions for new version.
10243 2001-07-05 Juergen Vigna <jug@sad.it>
10245 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10246 unknow mechanism does not call the proper constructor but only this
10247 one also if I request the other!?
10249 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10251 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10253 * text2.C (LyXText): use initialization lists.
10255 * lyxtext.h (Selection): initialize set_ and mark_
10256 (init): remove method
10258 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10260 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10262 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10264 * screen.[Ch]: change method names to begin with lowercase
10266 * BufferView_pimpl.C (updateScrollbar): simplify further and
10267 hopefully make it a bit faster.
10269 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10271 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10272 calling directly xforms functions.
10274 * Painter.C (Painter):
10275 * lyx_cb.C (MenuWrite):
10276 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10279 * lyx_gui.C: remove bogus guiruntime extern declaration.
10281 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10283 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10285 (redoDrawingOfParagraph): ditto
10286 (redoParagraphs): ditto
10287 (cutSelection): don't create a object for CutAndPaste use the
10288 static method directly
10289 (pasteSelection): ditto
10291 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10294 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10296 * modifications to some other files because of this.
10298 * Makefile.am (lyx_SOURCES): add XFormsView
10300 * XFormsView.[Ch]: new files
10302 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10303 the main window. Move the gui dependent stuff to XFormsView
10305 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10307 * tabular.C (GetCellInset): update cur_cell also in the row/col
10308 version of this function.
10310 * lyxfunc.C: no need to include figure_form.h here.
10316 * lyxvc.C: no need to include forms.h here.
10318 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10320 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10322 * lyxfunc.C (Dispatch):
10324 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10325 constructor argument.
10327 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10329 * paragraph.C (Paragraph): dont't clear, and just set layout.
10330 (makeSameLayout): use params's copy contructor.
10332 * ParagraphParameters.[Ch] (makeSame): delete method
10334 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10336 * Variables.[Ch]: fix indentation, rename set to isSet
10338 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10340 * lyxfunc.C (Dispatch): fix typo
10342 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10344 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10347 * bufferlist.C: include assert.h for emergencyWrite().
10349 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10351 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10352 give up at last (bug #425202) !
10354 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10360 * spellchecker.C: strip spellchecker options and bring up
10361 preferences tab instead
10363 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10365 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10366 the istringstream constructor
10368 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10370 * paragraph.C (getLayout): fix return value
10372 * paragraph.h: do not declare getLayout as inline.
10374 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10376 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10378 * lyxcursor.h (operator<): new func
10379 (operator>): new func
10380 (operator>=): new func
10381 (operator<=): new func
10383 * text.C (changeCase): use selection.start and selection.end
10384 (changeRegionCase): require from to be <= to. Require par to be a
10387 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10389 2001-06-27 Juergen Vigna <jug@sad.it>
10391 * text.C (cursorLeftOneWord): changed to return the cursor and added
10392 overlay with BufferView * parameter which calls this one.
10394 (selectWord): use new getWord function.
10395 (changeCase): renamed from changeWordCase as and extended to work
10396 also on selections.
10398 * lyxtext.h: added enum word_location
10400 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10401 changeCase as this operates now also on selections.
10403 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10405 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10407 * many files: send debug output to Debug::INFO instead of
10410 * converter.C (View):
10412 (Move): send debug output to Debug::FILES instead of console.
10414 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10416 * lyxfunc.C (getStatus): use func_status
10418 * func_status.h: new header, describing the results of
10419 LyXFunc::getStatus;
10421 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10424 2001-06-25 The LyX Project <jug@sad.it>
10426 * buffer.C (sgmlOpenTag):
10428 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10430 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10432 * text2.C: remove some dead code
10434 * tabular.C (GetCellInset): store the last cell checked (gotten)
10436 * tabular.h: add the helper for the speedup
10438 * lyxtext.h: remove some dead code
10440 2001-06-26 The LyX Project <Asger>
10442 * paragraph.C: Change export to LaTeX of alignment to
10443 \begin{center} and family for better roundtrip work with reLyX.
10445 * Tune the math drawing a bit.
10447 2001-06-25 The LyX Project <Asger>
10449 * LColor.C (LColor): New color for math background. New color
10452 2001-06-25 The LyX Project <jug@sad.it>
10454 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10456 * lyxfunc.C (Open):
10457 * bufferlist.C (newFile): do not restrict to files ending with
10460 * BufferView_pimpl.C (MenuInsertLyXFile):
10462 2001-06-24 The LyX Project <jug@sad.it>
10464 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10467 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10469 * lyxtext.h: rename most methods to begin with a small char.
10470 Lots of changes because of this.
10472 * paragraph.C (Paragraph): do not call fitToSize
10473 (erase): call Pimpl::erase
10474 (insertChar): call Pimpl::insertChar
10475 (insertInset): call Pipl::insertInset
10476 (breakParagraph): do not call fitToSize
10477 (breakParagraphConservative): do not call fitToSize
10478 (fitToSize): remove method
10480 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10482 2001-06-24 The LyX Project <Asger>
10484 * Fix Qt compilation^2
10486 2001-06-24 The LyX Project <jug@sad.it>
10488 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10489 depthHook(getDepth()-1).
10492 * ParagraphParameters.h:
10493 * ParameterStruct.h: change type of depth to unsigned int ==
10494 depth_type. Many adaptations to other files before of that.
10496 2001-06-24 The LyX Project <Asger>
10498 * Fix Qt compilation.
10500 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10502 * paragraph.h: renamed several methods to begin with small letter.
10503 several changes to many parts of the code because of this.
10505 2001-06-23 The LyX Project <jug@sad.it>
10507 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10508 rewritten to discard all double spaces when KeepEmpty is off
10509 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10510 to only handle newlines but not fiddle with spaces and friends.
10512 * lyxfunc.C (MenuNew): when doing 'new from template', use
10513 template_path as default directory
10515 2001-06-23 The LyX Project <Asger>
10517 * Clean-up of header file includes all over
10518 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10520 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10522 * paragraph.h: renamed from lyxparagraph.h
10524 2001-06-23 Asger <lyx@violet.home.sad.it>
10526 * Buffer.h: Removed Buffer::resize
10527 * BufferList.h: Removed BufferList::resize
10528 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10529 the document lazily when we change the width, or the font settings.
10531 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10533 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10535 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10537 * buffer.h: remove out of date comment
10539 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10542 * screen.C: fix "theoretical" GC leak
10544 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10546 * LaTeX.C (scanAuxFile):
10547 (deplog): remove trailing \r when reading stream (useful under
10550 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10552 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10553 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10554 and BufferView::theLockingInset(Inset*), so should use them and not
10555 access bv_->text->the_locking_inset directly.
10557 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10559 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10562 * tex-defs.h: remove old unused file
10564 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10566 * BufferView_pimpl.C: fix typo, remove minibuffer message
10567 when buffer has loaded
10569 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10571 * lyxfunc.C (Dispatch): use stringstream
10572 (MenuNew): use stringstream
10573 (Open): use stringstream
10575 * importer.C (Import): use stringstream
10577 * bufferview_funcs.C (CurrentState): use stringstream
10579 * LaTeX.C (run): use stringstream
10581 * BufferView_pimpl.C (savePosition): use stringstream
10582 (restorePosition): use stringstream
10583 (MenuInsertLyXFile): use stringstream
10585 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10598 * vspace.C: removed // -*- C++ -*- as first line.
10601 * version.h: added // -*- C++ -*- as first line.
10603 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10605 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10607 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10610 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10612 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10615 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10617 * gettext.C: include LString.h even when --disable-nls is on.
10619 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10621 * converter.h (Get): changed argument type from int to
10622 FormatList::size_type to avoid unnecessary conversion.
10624 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10627 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10629 * gettext.h: include LString.h even when --disable-nls is on.
10631 2001-06-07 Juergen Vigna <jug@sad.it>
10633 * text.C (BreakAgain): subst spaces with tabs.
10635 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10636 (resizeInsetsLyXText): set force on resizeLyXText.
10638 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10640 * gettext.h (gettext_init):
10641 (locale_init): use a real definition instead of a macro
10643 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10645 * Bufferview_pimpl.C:
10647 * LColor.C: further lcolor tidies
10649 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10651 * BufferView_pimpl.C (updateScrollbar): simplify.
10653 * BufferView2.C: don't include insets/insetinfo.h, change
10654 prototype for insertInset and call the Pimpl version. let
10655 updateInset call Pimpl version.
10657 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10658 gotoInset to BufferView::Pimpl
10660 2001-06-01 Juergen Vigna <jug@sad.it>
10662 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10663 inside a LockingInset (is the update needed at all?).
10665 2001-05-31 Juergen Vigna <jug@sad.it>
10667 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10668 here not the old one otherwise how should we compare it afterwards
10671 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10676 * FontInfo.C: bring C functions into global namespace when
10679 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10681 * LString.h: make sure config.h has been loaded before LString.h.
10683 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10684 (one for each char read by EatLine!).
10686 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10689 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10691 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10692 to the same as the par we break from
10694 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10696 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10698 * MenuBackend.C (expand): also create menu entries for wide
10699 versions of the floats.
10701 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10703 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10705 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10706 frontends/Makefile.am
10712 * tabular.C (getTokenValue): add std::
10714 * tabular-old.C (getTokenValue): add std::
10715 (getTokenValue): ditto
10716 (getTokenValue): ditto
10718 * screen.C (ToggleSelection): adjust
10720 * lyxtext.h: put selection cursors inside a Selection struct.
10722 * lyxfunc.C (moveCursorUpdate): adjust
10724 * lyxfont.C (latexWriteStartChanges): add std::
10726 * lyxfind.C: adjust
10728 * font.h: delete with(char const *, LyXFont const &)
10730 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10732 * FontInfo.C (getFontname): add std::
10734 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10735 (workAreaButtonPress): adjust
10736 (tripleClick): adjust
10738 (moveCursorUpdate): adjust
10741 * BufferView2.C (gotoInset): adjust
10743 2001-05-30 Juergen Vigna <jug@sad.it>
10745 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10746 to check pspell I add this as default as I now have new pspell
10747 libraries and they seem to use this.
10749 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10751 * text2.C (CutSelection): make the cursor valid before the call to
10754 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10756 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10757 relied on 0 terminated strings and other horrors. Bug found due to
10758 the new assert in lyxstring!
10760 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10763 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10765 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10768 * lyxfunc.C (processKeySym): change method of getting to the
10771 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10772 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10773 * BufferView_pimpl.[Ch]: here as private methods.
10775 2001-05-28 Juergen Vigna <jug@sad.it>
10777 * text.C (SetHeightOfRow): added the update() call again as it is
10778 needed to initialize inset dimensions!
10780 2001-05-16 Juergen Vigna <jug@sad.it>
10782 * text2.C (SetCharFont): Add new function with BufferView * and
10783 bool toggleall parameters for setting insets internal fonts.
10784 (SetFont): Freeze the undo as we may change fonts in Insets and
10785 all this change should be inside only one Undo!
10787 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10788 setting font's in insets as for them we have the SetFont function!
10790 2001-05-15 Juergen Vigna <jug@sad.it>
10792 * text2.C (ClearSelection): to be sure we REALLY don't have any
10795 * tabular.C (TeXCellPreamble): fixed the left border problem for
10798 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10800 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10803 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10805 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10806 LFUN_BREAKPARAGRAPH.
10808 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10809 help test to "internal only", similar for LFUN_INSERT_URL
10811 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10812 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10813 auto_region_delete and deadkeys.
10815 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10818 * LColor.C: remove some dead entries, tidy a little
10820 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10822 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10824 (Dispatch): implement LFUN_ESCAPE
10826 * commandtags.h: add LFUN_ESCAPE
10828 * LyXAction.C (init): add entry for LFUN_ESCAPE
10830 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10831 Remove commented code.
10832 (insertNote): moved here
10833 (open_new_inset): moved here
10835 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10838 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10840 * kbmap.C (findbinding): clean it up and make it work correctly.
10842 * lyx_main.C (init): do not pass argc and argv as parameters
10844 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10846 * buffer.C: fix path for OS/2 & Win32
10850 * lyx_main.C: Added os:: class.
10852 * os2_defines.h: update
10854 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10856 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10857 better by trying again with reduced state.
10859 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10861 * lyxrc.C (read): print error about invalid key sequence only when
10862 debugging (because not all latinX keysyms are known to some X
10865 * kbsequence.C (getiso): add a few std:: qualifiers
10866 (getiso): comment out extra return statement.
10868 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10870 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10872 (Dispatch): enhance the accent inset a bit. (not perfect)
10874 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10876 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10878 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10880 * bufferlist.C (emergencyWrite): fix assert() call
10882 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10884 * text.C (InsertChar): Added trivial patch to only send the "you
10885 can not do multiple spaces this way" message once during a
10888 2001-05-08 Baruch Even <baruch@lyx.org>
10890 * Makefile.am: Changed order of libraries to get LyX to link properly
10891 with the gnome frontend.
10893 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10895 * LaTeXFeatures.h: add a std:: qualifier
10897 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10899 * paragraph.C (String): use stringstream
10901 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10903 * paragraph.C (writeFile): remove footflag arg
10905 * buffer.C (makeLaTeXFile): use stringstream
10906 (latexParagraphs): remove footnot gurba
10908 * LaTeXFeatures.C (getPackages): use stringstream
10909 (getMacros): likewise
10910 (getTClassPreamble): likewise
10911 (getFloatDefinitions): new method
10913 * paragraph.C (writeFile): reindent
10916 * WorkArea.h: revert the xpos + etc changes.
10918 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10920 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10922 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10923 (pasteSelection): likewise
10924 * text2.C (CreateUndo): likewise
10926 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10928 * minibuffer.C (peek_event): temporarily reduce the functionality
10929 of the minibuffer (to allow args on lfuns)
10931 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10932 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10934 * buffer.C (readInset): add compability reading of old float
10935 lists, add reading of new style float list.
10936 (readInset): avoid reevaluation of inscmd.getCmdName()
10937 (getLists): reindent
10939 * MenuBackend.C (MenuItem): implement parsing of
10940 md_floatlistinsert and md_floatinsert.
10941 (expand::LastFiles): move initalizaton of iterators out of loop,
10942 avoid reevaluation.
10943 (expand::Documents): introduce typdedef vector<string> Strings,
10945 (expand::ExportFormats): introduce typedef vector<Format const *>
10946 Formats, and use it.
10947 (expand): implement FloatListInsert and FloatInsert.
10949 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10950 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10951 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10953 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10955 (Dispatch::LFUN_FLOAT_LIST): implement
10957 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10959 * LaTeX.C (run): Fix problem with --export code.
10961 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10963 * BufferView.[Ch] (workarea): removed.
10964 (getClipboard) new method; wrapper for workarea()->getClipboard()
10966 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10969 * WorkArea.h (width, height, xpos, ypos): These methods all
10970 returned the dimensions of the work_area sub-area of WorkArea,
10971 resulting in a position error if the WorkArea were resized. Now
10972 return the dimensions of the entire WorkArea.
10974 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10976 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10978 * LaTeX.C (deplog): correct the syntax of regex reg1
10980 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10982 * undo.C: remove !NEW_INSETS cruft
10984 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10986 * text2.C: remove !NEW_INSETS cruft
10988 * text.C: remove !NEW_INSETS cruft
10990 * tabular.C: remove !NEW_INSETS cruft
10992 * spellchecker.C: remove !NEW_INSETS cruft
10994 * lyxtext.h: remove !NEW_INSETS cruft
10996 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10998 * lyxfunc.C: remove !NEW_INSETS cruft
11000 * lyxfind.C: remove !NEW_INSETS cruft
11002 * lyx_cb.C: remove !NEW_INSETS cruft
11004 * figureForm.C: remove !NEW_INSETS cruft
11006 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11008 * buffer.[Ch]: remove !NEW_INSETS cruft
11010 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11012 * CutAndPaste.C: remove !NEW_INSETS cruft
11014 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11016 * BufferView2.C: remove !NEW_INSETS cruft
11018 * BufferView.h: remove !NEW_INSETS cruft
11020 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11022 * Lsstream.h: include LString.h before the sstream headers to
11023 fix problem with gcc 2.95.3 and lyxstring
11025 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11027 * lyx_main.C: add using directives when needed for C functions
11028 declared in std:: namespace.
11030 2001-04-27 Juergen Vigna <jug@sad.it>
11032 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11033 (SetHeightOfRow): comment out the update call should not be needed!
11035 2001-04-13 Juergen Vigna <jug@sad.it>
11037 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11038 (LyXTabular): tried to minimize operator= operations (and realized
11039 hopfully Lars wish).
11041 2001-04-27 Juergen Vigna <jug@sad.it>
11043 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11045 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11047 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11049 * buffer.C (readInset): hack to make listof algorithm work
11051 * BufferView_pimpl.C: hack to make listof algorithm work
11053 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11055 * LyXAction.C: removed all !NEW_INSETS cruft
11056 (init): moved lfun_item in method
11058 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11060 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11062 * BufferView2.C (theLockingInset): white space.
11064 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11066 * minibuffer.C: include <iostream>
11068 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11070 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11072 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11074 * text.[Ch] (TransposeChars): new method
11076 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11078 * call message directly through LyXView instead of through LyXFunc
11079 * BufferView2.C: adjust
11080 * BufferView_pimpl.C: adjust
11081 * FontLoader.C: adjust
11083 * bufferview_funcs.C: adjust
11084 * converter.C: adjust
11085 * figureForm.C: adjust
11086 * importer.C: adjust
11088 * lyx_gui_misc.C: adjust
11089 * lyxfunc.C: adjust
11092 + more files in subdirs
11094 * lyxparagraph.h (size): move up int file
11097 * adjust all uses of Assert to lyx::Assert.
11099 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11100 lyxfunctional in namespace lyx
11101 * layout.C (hasLayout): ditto
11104 (delete_layout): ditto
11105 (NumberOfClass): ditto
11106 * converter.C (GetFormat): ditto
11111 * bufferlist.C (getFileNames): ditto
11112 (emergencyWriteAll): ditto
11115 * MenuBackend.C (hasSubmenu): ditto
11118 * BufferView_pimpl.C (getInsetByCode): ditto
11120 2001-04-18 Juergen Vigna <jug@sad.it>
11122 * vspace.C (asLatexString): fixed the 100% problem.
11124 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11126 * lyxfunc.C (Dispatch):
11128 * minibuffer.h: add a few std:: qualifiers
11130 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11132 * minibuffer.[Ch]: reimplement so that commands is initiated and
11133 run from lyxfunc, simplified som handling, and made the completion
11134 and history code for complete. wip.
11136 * lyxfunc.C (processKeySym): call message
11137 (miniDispatch): new temporary method
11138 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11139 (LFUN_MESSAGE): implement
11140 (LFUN_MESSAGE_PUSH): implement
11141 (LFUN_MESSAGE_POP): implement
11142 (initMiniBuffer): the initial/defualt minibuffer message.
11144 * lyxfont.[Ch]: inline some more getters
11146 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11148 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11150 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11151 (AutoSave): use LFUN_MESSAGE
11152 (Reconfigure): ditto
11154 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11156 * figureForm.C: use LFUN_MESSAGE
11158 * converter.C (runLaTeX): use LFUN_MESSAGE
11160 * bufferview_funcs.C: use LFUN_MESSAGE
11162 (changeDepth): ditto
11164 * bufferparams.h: use boost::
11166 * bufferlist.h: inherit privately from noncopyable
11168 * bufferlist.C (loadLyXFile): remove some commented code.
11170 * buffer.C (runChktex): use LFUN_MESSAGE
11172 * ShareContainer.h: inherit privately from noncopyable
11174 * ParagraphParameters.[hC] (depth): inline it.
11176 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11178 (message): new method
11179 (messagePush): ditto
11180 (messagePop): ditto
11181 (show): init minibuffer
11182 (showState): direct call
11184 * LaTeX.[Ch]: inherit privately from noncopyable
11185 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11186 instead of WriteStatus.
11188 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11190 * BufferView_pimpl.C (buffer): don't init minibuffer
11191 (workAreaButtonPress): use LFUN_MESSAGE
11192 (workAreaButtonRelease): ditto
11193 (savePosition): ditto
11194 (restorePosition): ditto
11195 (MenuInsertLyXFile): ditto
11196 (workAreaExpose): don't init minibuffer
11197 (update): remove commented code, simplify
11199 * BufferView2.C (openStuff): use LFUN_MESSAGE
11200 (toggleFloat): ditto
11203 (copyEnvironment): ditto
11204 (pasteEnvironment): ditto
11209 (updateInset): remove some commented code
11211 * lastfiles.h: inherit privately from noncopyable
11214 * lyx_main.h: ditto
11216 * lyxlex_pimpl.h: ditto
11218 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11219 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11220 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11222 * LyXAction.h: inherit privately from noncopyable, add methods
11223 func_begin, func_end, returning iterators to the func map.
11225 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11226 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11227 (func_begin): new method
11228 (func_end): new method
11230 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11232 (copySelection): ditto
11233 (pasteSelection): ditto
11235 * BufferView.C: whitespace change
11236 * BufferView.h: inherit privately from noncopyable
11238 2001-04-16 Allan Rae <rae@lyx.org>
11240 * tabular-old.C (l_getline):
11241 * spellchecker.C (sc_check_word):
11242 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11243 an unrecognised preprocessor directive. So ensure they're wrapped.
11245 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11247 * src/exporter.C (Export): Give an error message when path to file
11250 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11252 * LaTeX.C (deplog): Always check that foundfile exists.
11254 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11257 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11259 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11261 * tabular.[Ch] (getLabelList): implement new method
11263 * minibuffer.h: comment ouf setTiimer
11265 * minibuffer.C (ExecutingCB): constify res
11266 (peek_event): constify s
11267 (Set): constify ntext
11268 (Init): constify nicename
11270 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11272 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11273 (savePosition): use two params to Minibuffer::Set
11274 (restorePosition): ditto
11276 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11278 * lyx_main.C: include language.h
11280 * Makefile.am (lyx_main.o): add language.h
11282 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11288 * CutAndPaste.C: include gettext.h
11290 * lyxfont.h: remove old hack with ON and OFF.
11293 * lyxfont.h: do not include language.h...
11298 * bufferview_funcs.C:
11304 * paragraph.C: ... but do it here instead
11306 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11308 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11310 * tabular.C: small reformat
11312 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11315 (BreakParagraph): ditto
11316 (SetOnlyLayout): ditto
11319 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11322 * lastfiles.C: removed most using decl, add std:: where needed
11324 * buffer.C: ws changes
11326 * MenuBackend.C (class compare_format): put into anon namespace
11327 (expand): constify label, names, action, action2
11330 * text.C (SingleWidth): constify font
11331 (IsBoundary): constify rtl2
11332 (GetVisibleRow): constify ww
11334 * LaTeX.C (deplog): constify logfile
11336 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11338 (workAreaExpose): constify widthChange, heightChange
11340 * lyxrow.C (par): moved
11343 * lyxrow.h: as inlines here
11345 * lyxfont.h (shape): moved from lyxfont.C
11346 (emph): moved from lyxfont.C
11348 * lyxfont.C (LyXFont): use initialization list for all
11350 (shape): move to lyxfont.h as inline
11351 (emph): move to lyxfont.h as inline
11354 2001-04-04 Juergen Vigna <jug@sad.it>
11356 * vspace.C: had to include stdio.h for use of sscanf
11358 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11361 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11362 independent of xforms.
11364 2001-04-02 Juergen Vigna <jug@sad.it>
11366 * spellchecker.C: fixed namespace placing!
11368 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11370 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11371 the LyXParagraph * is 0.
11373 2001-03-29 Juergen Vigna <jug@sad.it>
11375 * vspace.C: added support for %, c%, p%, l%.
11376 (stringFromUnit): added helper function.
11377 (asLatexString): changed to give right results for the %-values.
11379 * buffer.C: convert the widthp in a width%.
11381 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11383 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11386 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11387 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11389 * lyx_cb.[Ch]: see above.
11391 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11395 * lyx.[Ch]: replaced by figure_form.[Ch].
11399 * lyxfunc.C: changed headers associated with above changes.
11401 2001-03-27 Juergen Vigna <jug@sad.it>
11403 * BufferView_pimpl.C: set the temporary cursor right!
11405 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11407 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11409 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11411 * LString.h: removed "using std::getline"!
11413 * BufferView_pimpl.C (Dispatch): changes due to changes in
11414 InsetInclude::Params.
11416 * buffer.C (tag_name): removed redundant break statements as they were
11417 producing lots of warnings with my compiler.
11419 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11421 * LString.h: add "using std::getline" when using the real <string>.
11423 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11425 * buffer.C: removed bitset usage.
11426 PAR_TAG moved to an anonymous name space.
11427 (tag_name): new funtion, also in the anonymous namespace.
11428 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11429 (makeDocBookFile): clean code. Completed transition from string arrays
11431 (SimpleDocBookOnePar): code clean.
11433 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11435 * tabular.C: add some comments.
11437 2001-03-22 Juergen Vigna <jug@sad.it>
11439 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11440 compatibility read a bit and fixed bug with minipage in different
11443 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11445 * buffer.C (pop_tag): removed.
11446 (push_tag): removed.
11447 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11448 array replaced with vector. Added support for CDATA sections.
11449 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11451 (makeDocBookFile): XML conformant declaration of CDATA section,
11452 fixed bug related to <emphasis> in the first paragraph char.
11453 (sgmlOpenTag): exclude empty tags.
11454 (sgmlCloseTag): ditto.
11456 * buffer.h (pop_tag): removed.
11457 (push_tag): removed.
11459 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11461 * language.h (Languages): added size_type and size().
11463 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11465 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11466 response on compability reading of minipages. One probliem is that
11467 the old usage of minipages was «flertydig»
11469 * several files here and in subdirs: don't use static at file
11470 scope use anon namespaces instead.
11472 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11474 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11475 LaTeX output. This is necessary for Literate document
11478 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11480 * buffer.C: insert hfill when needed.
11482 * tabular.C (l_getline): use string::erase, small whitespace change.
11484 * BufferView_pimpl.C: try the anon namespace.
11485 * WorkArea.C: ditto
11487 2001-03-16 Juergen Vigna <jug@sad.it>
11489 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11490 otherwise it won't open options-dialogs.
11492 * buffer.C: honor pextraWidth(p) on converting minipages.
11494 * tabular.C (l_getline): changed the functions to strip trailing \r.
11496 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11498 * BufferView_pimpl.C:
11499 * minibuffer..C: added "using SigC::slot" declaration.
11501 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11503 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11509 * paragraph.C: ditto
11511 * lyxtext.h: NO_PEXTRA
11513 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11515 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11516 * ParameterStruct.h: ditto
11517 * ParagraphParameters.h: ditto
11518 * lyxparagraph.h: ditto
11520 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11522 * buffer.C: add compability for minipage alignment.
11523 (latexParagraphs): remove unwanted pextra check.
11525 * several files: remove CXX_WORKING_NAMESPACES
11527 * buffer.C (pop_tag): tie is in namespace boost
11529 * BufferView.h: noncopyable is in namespace boost
11531 * lyx_main.h: ditto
11534 * lastfiles.h: ditto
11535 * bufferlist.h: ditto
11536 * ShareContainer.h: ditto
11538 * LyXAction.h: ditto
11541 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11543 * Merging changes from BRANCH_MVC back into HEAD.
11545 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11547 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11549 * BufferView_pimpl.C: change from intl.C
11553 * Makefile.am: move combox.*
11559 * intl.C: remove dialog (covered by prefs)
11561 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11563 * lyxfunc.C (Dispatch): removed redundant break statement.
11565 2001-03-14 Juergen Vigna <jug@sad.it>
11567 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11569 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11571 * buffer.C: add hack to fix compability reading of minipages.
11573 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11575 * buffer.C (getLists): Cleanup.
11577 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11579 * lyxfont.C (update): don't honor toggleall on font size.
11581 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11585 * Makefile.am: moved to frontends/xforms/
11589 * BufferView_pimpl.C: changes for moved mathpanel
11591 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11593 * gettext.h: fix gettext_init() in --disable-nls
11595 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11597 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11599 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11602 * lyx.h: strip external form
11604 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11606 * BufferView_pimpl.C: add comment, destroySplash()
11608 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11610 * BufferView_pimpl.C:
11614 * lyxfunc.C: use re-worked insetinclude
11616 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11618 * buffer.C: add using std::stringstream.
11620 * lyx_cb.C: readd using std::ios.
11622 * buffer.C: add using std::map.
11624 * BufferView_pimpl.C: add using std::vector.
11626 * ShareContainer.h: add std:: to swap.
11628 * buffer.h: add some typedefs
11629 * buffer.C (getLists): use them
11630 (getLists): renamed from getTocList.
11631 add a counter for the different float types and use it in the
11633 (getLists): use the same counter for the NEW_INSETS and the "non"
11636 * lyx_cb.h: remove unused items, includes, using etc.
11638 * ShareContainer.h: remove some commented code, add more comments
11639 and "documentation".
11641 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11643 * buffer.C (getTocList): make the list also when NEW_INSETS is
11646 * buffer.h: remove TocType
11648 * buffer.C (getTocList): change to return a map<string,
11649 vector<TocItem> >, implement for dynamic number of list.
11651 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11652 * text2.C (PasteSelection): adjust
11653 * CutAndPaste.C (pasteSelection): adjust
11655 * FloatList.C (FloatList): update from the new_insets branch.
11656 * Floating.[Ch]: ditto
11657 * LaTeXFeatures.C: ditto
11659 * lyxlex_pimpl.C: ditto
11661 * paragraph.C (Last): remove when NEW_INSETS is defined.
11663 * other file: changes because of the above.
11665 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11667 * lyxparagraph.h: rename next to next_, previous to previous_,
11668 make them private for NEW_INSETS. Rename Next() to next(),
11669 Previous() to previous().
11671 * other files: changes because of the above.
11673 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11676 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11679 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11681 * main.C (main): pass lyx_localedir to gettext_init().
11683 * gettext.h: remove locale_init and gettext_init macros
11685 * gettext.C (locale_init): new function
11686 (gettext_init): new function
11688 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11691 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11693 * Moved credits to frontends:
11694 * credits.[Ch]: removed
11695 * credits_form.[Ch]: removed
11696 * lyx_gui_misc.C: remove credits stuff
11699 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11701 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11703 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11704 unneeded destructor.
11706 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11707 a standalone pointer again.
11709 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11711 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11717 * ToolbarDefaults.C:
11726 * BufferView_pimpl.C: use new file dialog in GUII
11729 * lyx_cb.C: remove LayoutsCB to Toolbar
11731 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11733 * ShareContainer.h (get): add std:: qualifier
11735 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11737 * ShareContainer.h: define a proper ShareContainer::value_type
11738 type (and use typename to please compaq cxx)
11740 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11742 * lyxparagraph.h: move serveral local vars to
11743 ParameterStruct/ParagraphParameters., use ShareContainer in
11744 FontTable., make vars in FontTable private and add getter and
11747 * paragraph.C: changes because of the above.
11749 * lyxfont.h: remove copy constructor and copy assignment. (the
11750 default ones is ok), move number inside FontBits. move inlines to
11753 * lyxfont.C: add number to initializaton of statics, move several
11754 inlines here. constify several local vars. some whitespace
11755 cleanup. Dont hide outerscope variables.
11757 * Spacing.h: add two new constructors to match the set methods.
11759 * ShareContainer.h: new file, will perhaps be moved to support
11761 * ParameterStruct.h: new file
11763 * ParagraphParameters.h: new file
11765 * ParagraphParameters.C: new file
11767 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11768 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11770 * BufferView_pimpl.C: ParagraphParameter changes.
11771 * buffer.C: Likewise.
11772 * bufferview_funcs.C: Likewise.
11773 * text.C: Likewise.
11774 * text2.C: Likewise.
11776 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11778 * lyxfind.C (LyXReplace): do not redefine default argument in
11780 (IsStringInText): ditto
11781 (SearchForward): ditto
11782 (SearchBackward): ditto
11784 2001-03-06 Juergen Vigna <jug@sad.it>
11786 * lyxfind.C (IsStringInText): put parentes around expressions.
11788 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11790 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11792 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11794 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11796 * stl_string_fwd.h: add comment
11798 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11801 * tabular.C: remove unused DocBook methods
11807 killed DO_USE_DEFAULT_LANGUAGE
11809 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11811 * lyx_gui.C: do not include language.h.
11813 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11814 arguments in function implementation.
11816 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11818 * BufferView_pimpl.C: add <ctime>
11820 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11822 * BufferView_pimpl.C: add using std::find_if
11824 2001-02-27 José Matos <jamatos@fep.up.pt>
11826 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11829 2001-02-11 José Matos <jamatos@fep.up.pt>
11831 * buffer.C (makeDocBookFile): command styles now have a parameter as
11832 "title" by default.
11834 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11836 * layout_forms.[Ch]: removed
11837 * lyx_cb.[Ch]: out character
11838 * lyx_gui.C: out character
11839 * lyx_gui_misc.C: out character
11840 * bufferview_funcs.C: : out character,
11841 added toggleall as parameter in ToggleAndShow
11843 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11845 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11847 * text2.C (SetCurrentFont): Disable number property at boundary.
11849 2001-02-26 Juergen Vigna <jug@sad.it>
11851 * lyxfunc.C (getStatus): added a string argument override function so
11852 that this is correctly called from LyXFunc::Dispatch if it contains a
11853 do_not_use_argument which is used!
11854 (Dispatch): added check for "custom" export and call appropriate func.
11856 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11858 * lyxrc.C: Add language_command_local, language_use_babel and
11859 language_global_options.
11861 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11863 * buffer.C (makeLaTeXFile): Use language_use_babel and
11864 language_global_options.
11866 2001-02-23 Juergen Vigna <jug@sad.it>
11868 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11869 which works with LyXText and putted it inside BufferView. Here now we
11870 only call for that part the BufferView::Dispatch() function.
11872 * BufferView.C (Dispatch): added.
11874 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11875 functions which needs to use a LyXText over from LyXFunc.
11876 (MenuInsertLyXFile): added
11877 (getInsetByCode): added
11878 (moveCursorUpdate): added
11879 (static TEXT): added
11881 2001-02-22 Juergen Vigna <jug@sad.it>
11883 * BufferView_pimpl.C (update): call a status update to see if LyXText
11886 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11888 * vc-backend.C (revert): implement for CVS
11889 (getLog): implement for CVS
11891 2001-02-20 Juergen Vigna <jug@sad.it>
11893 * text2.C (ClearSelection): added BufferView param for inset_owner call
11895 * lyxfunc.C (TEXT): added this function and use it instead of
11896 directly owner->view()-text of getLyXText().
11898 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11900 * src/layout_forms.C: out preamble
11901 * src/layout_forms.h: out preamble
11902 * src/lyx_cb.C: out preamble
11903 * src/lyx_cb.h: out preamble
11904 * src/lyx_gui.C: out preamble
11905 * src/lyx_gui_misc.C: out preamble
11906 * src/lyxfunc.C: connect with guii preamble
11908 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11910 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11912 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11914 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11915 whether to run bibtex.
11917 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11919 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11921 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11923 * Makefile.am (lyx_SOURCES): removed bibforms.h
11925 * vspace.h: doxygen
11927 * text.C (GetVisibleRow): make several local vars const
11929 * tabular.C: small cleanup.
11931 * lyxserver.C (callback): use compare instead of strncmp
11933 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11934 inlines to after class or to paragraph.C
11936 * lyxfont.h: remove friend operator!=
11938 * converter.h: move friend bool operator< to non friend and after
11941 * combox.h: small cleanup
11943 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11944 to inlines after class def.
11946 * buffer.C (pop_tag): use string operations instead of strcmp
11948 * bmtable.c: doxygen, small cleanup
11950 * LaTeX.h: remove friend operator==
11952 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11964 * BufferView_pimpl.C:
11965 * BufferView.[Ch]: remove cruft
11967 2001-02-14 Juergen Vigna <jug@sad.it>
11969 * lyxfunc.C: removed #if 0 unused code
11971 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11973 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11975 * text2.C (SetSelection): added a BufferView * parameter
11977 2001-02-13 Juergen Vigna <jug@sad.it>
11979 * lyxfunc.C (Dispatch): fixed protected blank problem.
11980 * BufferView2.C (protectedBlank): added LyxText * parameter.
11982 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11983 (AppendColumn): same as above for column_info.
11985 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11986 (moveCursorUpdate): use a LyXText param for support of InsetText.
11988 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11989 (tripleClick): ditto
11991 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11993 * BufferView_pimpl.C (update): added LyXText param to honor insets.
11995 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11997 * text2.C (SetSelection): set correct update status if inset_owner
11998 (ToggleFree): ditto
12000 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12002 * tabular.C: remove some commented code.
12004 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12006 * BufferView_pimpl.C: call hideSplash()
12008 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12011 * bibforms.h: remove
12014 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12015 add LFUN_CHILD_CREATE
12017 * counters.h: fix tiny typo
12022 * lyx.C: move splash to frontends/xforms/
12024 * lyx_gui_misc.C: move Include and Bibform to frontends
12026 * lyxvc.h: clarify comment
12028 * vspace.C: tiny housekeeping
12030 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12032 * text.C (PrepareToPrint): RTL Fix.
12034 * paragraph.C (GetUChar): New method.
12035 (String): Use GetUChar.
12037 * buffer.C (asciiParagraph): Use GetUChar.
12039 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12041 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12043 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12046 * buffer.C: rename to getLogName(), handle
12047 build log / latex log nicely
12049 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12052 * MenuBackend.h: remove support for reference menuitem type.
12054 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12056 * BufferView_pimpl.C: housekeeping
12057 * BufferView_pimpl.h:
12062 * minibuffer.h: move Timeout GUI-I
12064 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12066 * lyxrc.C (read): Update converters data-structures.
12068 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12070 * LaTeX.h (operator!=): add operator != for Aux_Info
12072 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12074 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12076 * LaTeXLog.C: deleted, useful code moved to Buffer
12079 * buffer.C: new function getLatexLogName()
12085 * lyxfunc.C: use frontends for LaTeX and VC logs
12087 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12089 * LaTeX.h: yet another std:: that Allan forgot.
12091 * Variables.C (set): renamed from isset(), because this clashes
12092 with some HP-UX macros (grr).
12094 2001-02-06 Allan Rae <rae@lyx.org>
12096 * LaTeX.h: Another bug fix. Missing std:: this time.
12098 2001-02-04 Allan Rae <rae@lyx.org>
12100 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12101 floats problem. I've left it commented out because it's not quite
12102 correct. It should also test that the current object is a table or
12103 figure inset. But I haven't gotten around to figuring out how to do
12104 that. I *think* it'll be something like: "table" == inset.type()
12106 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12109 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12111 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12112 all the citation/databases/styles in the auxilary file.
12113 (run): Rerun latex if there was a babel language error.
12115 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12117 * text.C (Backspace): Preserve the font when changing newline char
12119 (BreakParagraph): If the cursor is before a space, delete the space.
12121 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12123 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12125 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12126 new argument (code).
12127 (ChangeCitationsIfUnique): New method.
12129 * paragraph.C (GetPositionOfInset): Handle bibkey.
12131 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12133 * BufferView_pimpl.h: change type of Position::par_pos to
12134 LyXParagraph::size_type.
12136 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12138 * BufferView_pimpl.C (savePosition, restorePosition): Write
12139 messages to minibuffer.
12141 2001-01-28 José Matos <jamatos@fep.up.pt>
12143 * buffer.C (makeDocBookFile): adds support for document language.
12144 A silly restriction on the name of LatexCommand types where removed.
12145 Added support for CDATA sections, allows to chars unescaped, used
12146 among others in code, to avoid escape < and >.
12148 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12150 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12151 saved positions instrad of a stack. Furthermore, a position is
12152 stored using paragraph id/paragraph position.
12154 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12155 Remove LFUN_REF_BACK.
12157 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12159 * converter.C (dvipdfm_options): New method.
12161 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12163 * vspace.C (isValidLength): Fix for empty input string.
12165 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12167 * LyXAction.C (init): change description of LFUN_FIGURE to
12170 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12172 * LaTeX.C: add using directive
12174 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12176 * MenuBackend.C (expand): Fix the sorting of the formats.
12178 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12180 * lyx_main.C: tiny error message fix
12182 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12184 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12185 calling fl_initialize(). This fixes the problem with ',' as
12186 decimal separator in text files.
12188 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12190 * trans.C (process): Fix the keymap bug.
12192 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12194 * LaTeX.C (scanAuxFiles): New method. Provides support for
12195 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12196 (scanLogFile) Scan for "run BibTeX" messages.
12198 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12199 OT1 font encoding. Also, load the aecompl package if the ae
12202 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12204 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12206 * texrow.C (increasePos): turn two error messages into debug
12209 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12211 * LaTeX.C (scanAux): Handle the \@input macro.
12212 (runBibTeX): Use scanAux().
12214 * language.C (latex_options_): New field.
12216 * LaTeXFeatures.C (getMacros): Add language macros.
12218 * buffer.C (makeLaTeXFile): Small fix.
12220 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12222 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12224 * text2.C: add a using directive.
12226 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12231 * lyxfunc.C: kill LyXBell.
12233 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12235 * text.C (IsBoundary): Remove the error message
12237 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12239 * lyxrc.C (setDefaults): Correct initialization value for
12242 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12244 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12247 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12248 and GotoNextNote().
12250 * src/LyXAction.C: Added reference-next.
12252 * text.C (InsertChar): Use contains instead of strchr.
12254 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12256 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12258 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12259 alignment commands (when needed).
12261 * text.C (InsertChar): Add ':' to number separator chars.