1 2003-08-30 John Levon <levon@movementarian.org>
3 * Makefile.am: fix dist (from Kayvan)
5 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
7 * most files: change to use const Buffer refs
9 2003-08-27 André Pönitz <poenitz@gmx.net>
11 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
14 2003-08-27 John Levon <levon@movementarian.org>
16 * funcrequest.C: properly initialise POD members
18 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
20 * lyxtext.h (top_y): move top_y from here
25 * BufferView_pimpl.[Ch]: to here
27 * insets/insettabular.C:
28 * insets/insettext.C: adjust
29 * rowpainter.[Ch] (paintRows): remove LyXText & argument
31 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
34 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
36 2003-08-26 André Pönitz <poenitz@gmx.net>
38 * paragraph_func.[Ch] (outerPar): new function
44 * text2.C: remove Inset::par_owner
46 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
51 * text2.C: eliminates the needFullRow/display() stuff
52 altogether, putting the logic in metrics/draw in the insets.
54 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
56 * text2.C (redoParagraphInternal, redoParagraphs):
57 * text.C (redoParagraph): add a call to updateRowPositions at the
58 end of each 'metrics-like' call. Remove all others.
59 (getRow): remove the 'y-computing' version.
60 (getRowNearY): do not compute nor return the real y. Solve the
61 'y < 0' problem and simplify.
63 2003-08-22 Angus Leeming <leeming@lyx.org>
65 * *.[Ch]: clean-up of licence and author blurbs.
66 Also move config.h out of a few .h files and into a few .C files.
68 2003-08-22 André Pönitz <poenitz@gmx.net>
70 * lyxrow.[Ch]: add x_ and *fill_ members
75 * text2.C: adjust/remove prepareToPrint() calls
77 2003-08-22 André Pönitz <poenitz@gmx.net>
79 * lyxrow.[Ch]: add end_ member
81 * lyxrow_funcs.C: use LyXRow::end_
83 * lyxtext.h (singleWidth): add LyXFont parameter
86 * text2.C: adjust LyXText::singleWidth() calls
88 * text.C (redoParagraph): simplify row breaking logic
91 2003-08-19 André Pönitz <poenitz@gmx.net>
93 * funcrequest.C: initialize button_ member
96 * rowpainter.[Ch]: interface consolidation
98 2003-08-18 André Pönitz <poenitz@gmx.net>
101 * BufferView_pimpl.C:
105 * text3.C: remove LyXScreen::draw() and fitCursor calls
107 * BranchList.h: remove spurious semicolons
109 * MenuBackend.C: fix branchlist related crash
111 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
123 * text3.C: implements the 'branch inset'
124 idea. This allows the output of various versions of a document
125 from a single source version, selectively outputing or suppressing
126 output of parts of the text.
127 This implementation contains a 'branch list editor' in a separate
128 tab of the document settings dialog. Branches are user definable
129 and have a "display colour" to distinguish them on-screen.
131 ColorHandler was somewhat cleaned up.
132 (1) make possible a dynamically growing LColor list by allowing
133 the graphic context cache to grow along (vector);
134 (2) eliminate an IMHO unnecessary step in colour allocation.
136 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
138 * BufferView_pimpl.C: compile fix
140 2003-08-15 André Pönitz <poenitz@gmx.net>
142 * rowpainter.C: remove extra metrics calls
144 * lyxtext.h: merge the two constructors into a single one,
145 pass reference to owner's par list
147 * BufferView_pimpl.C:
151 2003-08-15 André Pönitz <poenitz@gmx.net>
161 * text_funcs.C: split LyXText::rowlist_ into individual
162 Paragraph::rows_ chunks
165 * BufferView_pimpl.[Ch]:
168 * text3.C: remove toggleSelection()
170 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
172 * bufferlist.C: beautify two alerts (shorter text of buttons)
173 * buffer.C: Remove redundant ' ' from message
175 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
176 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
177 rename VALIGN_CENTER to VALIGN_MIDDLE
179 2003-08-11 André Pönitz <poenitz@gmx.net>
181 * lyxtext.h (getPar):
182 * text.C: new function
184 2003-08-11 André Pönitz <poenitz@gmx.net>
187 * tracer.[Ch]: remove unneeded files
189 * InsetList.[Ch]: remove resizeInsetsLyXText()
194 * text3.C: merge insertParagraphs() and appendParagraph()
195 remove breakAgain(), update()
197 * BufferView_pimpl.[Ch]:
198 * bufferview_funcs.[Ch]:
202 * tabular.C: adjust after text & InsetList changes.
204 2003-08-08 André Pönitz <poenitz@gmx.net>
206 * text.C (insertChar, backspace): replace rowlist fiddling
207 with rebreak of full par
210 * text.C (breakAgainOneRow, redoHeightOfParagraph,
211 checkParagraph, updateInset): removed
213 2003-08-07 André Pönitz <poenitz@gmx.net>
216 * text3.C: merge some LFUN handlers, remove dead code
218 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
220 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
222 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
224 * text2.C (DEPM): fix part of bug 1255 and 1256
226 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
228 * BufferView_pimpl.C (workAreaDispatch): change to use
229 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
230 that are no mouse related.
232 2003-08-05 André Pönitz <poenitz@gmx.net>
235 * BufferView_pimpl.[Ch]:
236 * bufferview_funcs.C:
238 * text3.C: rip out "deep update"
240 * textcursor.[Ch] (last_sel_cursor): remove unused member
242 2003-08-04 André Pönitz <poenitz@gmx.net>
245 * BufferView_pimpl.[Ch]:
246 * ParagraphParameters.C:
247 * bufferview_funcs.C:
253 * text3.C: replace "complicated" BufferView::update(...) calls with
256 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
258 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
260 * Makefile.am (lyx_SOURCES): add paper.h
262 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
264 * Makefile.am: move things around so that both lyx-qt and
265 lyx-xforms can be built (according to --with-frontend). Then lyx
266 is a symbolic link to lyx-[firstfrontend]
268 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
270 * Always use std::endl with lyxerr
272 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
274 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
276 2003-08-01 André Pönitz <poenitz@gmx.net>
279 * BufferView_pimpl.[Ch]:
281 * text3.C: merge BufferView::repaint() and BufferView::update()
283 2003-08-01 José Matos <jamatos@lyx.org>
285 * buffer.[Ch]: file_format is no longer a buffer data element.
287 2003-08-01 André Pönitz <poenitz@gmx.net>
292 * text2.C: make redoParagraph more independent of current cursor
294 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
296 * text2.C: remove unneeded members
298 2003-07-30 André Pönitz <poenitz@gmx.net>
300 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
302 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
303 create a single function...
305 * paragraph_funcs.C (moveItem): ... here.
308 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
310 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
312 * LColor.[Ch]: Add comment and greyedout logical colors.
314 2003-07-30 André Pönitz <poenitz@gmx.net>
316 * tabular.C: don't use Assert too heavily. This crashes where it
319 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
321 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
322 is disabled (bug 1232)
324 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
326 * factory.C: limited 'arg' scope
328 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
330 * factory.C: fixed Note submenu issues
332 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
334 * factory.C: submenu for Note/Comment/Greyedout
336 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
339 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
341 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
344 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
345 greyedout. Patch provided by Jürgen Spitzmüller.
347 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
349 * kbmap.C (read): fix error message when reading bind files
351 2003-07-29 Angus Leeming <leeming@lyx.org>
353 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
354 certainly does not do what it purports to do. I am doing it, and
355 us, a favour by killing it.
357 2003-07-28 José Matos <jamatos@lyx.org>
359 * buffer.C (readBody, do_writeFile):
360 * paragraph.C(readParagraph): \end_document replaces \the_end.
362 2003-07-29 André Pönitz <poenitz@gmx.net>
365 * BufferView_pimpl.[Ch]:
369 * textcursor.[Ch]: remove toggleToggle & Co
371 2003-07-28 José Matos <jamatos@fep.up.pt>
373 * buffer.C (readParagraph):
374 * params_func (readParToken, readParagraph):
375 * paragraph.C (write): \layout -> \begin_layout.
377 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
379 * lyxlex_pimpl.C (setFile): clean up slightly.
381 * bufferparams.h: add compressed var
383 * buffer_funcs.C (readFile): adjust for LyXLex change
384 (newFile): ditto + simplify
386 * buffer.C (writeFile): handle writing of compressed files
388 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
389 Check if the file is compressed and set a bufferparm if so.
391 * Makefile.am (lyx_LDADD): remove explicit -lz
393 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
395 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
396 makeDocBookFile): put the real LyX version in the first line of
400 * version.C.in: remove lyx_docversion
402 * tabular.C (write_attribute): add a template-based version to
405 2003-07-28 André Pönitz <poenitz@gmx.net>
410 * text3.C: use doubles again for x-coordinates. They are needed.
412 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
414 * messages.C (getLocaleDir): use lyx_localedir()
416 * lyxlex_pimpl.C (setFile): compress stuff
418 * buffer.C (writeFile): add some compression stuff
419 (do_writeFile): new func, dont call expliti close... will this
422 * Makefile.am (lyx_LDADD): add -lz
424 2003-07-28 José Matos <jamatos@fep.up.pt>
426 * buffer.C: increment file format.
427 * paragraph_funcs (readParagraph, readParToken):
428 * paragraph.C (readParagraph): add \end_layout.
430 2003-07-27 Angus Leeming <leeming@lyx.org>
432 * Makefile.am: remove special casing for configure-time setting of
433 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
435 * lyx_main.C (init): remove all Jean-Marc's magic setting of
436 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
438 2003-07-26 André Pönitz <poenitz@gmx.net>
440 * paragraph_func.[Ch]:
441 * paragraph.C (realizeFont): inline it whereever it is used
446 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
449 2003-07-26 André Pönitz <poenitz@gmx.net>
453 * text2.C: get rid of LyXText::need_break_row
455 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
457 * toc.[Ch]: put namespace toc inside namespace lyx
459 * MenuBackend.C (expandToc2): adjust for lyx::toc
462 * lyxfunc.C (dispatch): adjust for lyx::find
464 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
465 lyx::find instead. Reorganize a bit.
466 (LyXReplace): rename to replace
467 (LyXFind): rename to find
469 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
472 2003-07-26 André Pönitz <poenitz@gmx.net>
474 * text.C (setHeightOfRow): restrict scope of temporary variable
476 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
477 code (never has been used?)
479 2003-07-27 Asger Alstrup <alstrup@local>
481 * text.C (fill): Optimise algorithm to exploit that we can reuse
482 the LyXFont for many characters.
483 (setHeightOfRow): Same thing.
484 (rowBreakPoint): Same thing.
486 2003-07-26 Asger Alstrup <alstrup@local>
488 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
490 * text.C (singleWidth): Spurious font copying in hot-spot
491 singleWidth avoided. Reorder tests for arabic for efficiency.
493 * text.C (fill): handle empty paragraphs better.
495 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
498 * encoding.h: add includes
500 * lyxrc.C: remove reading of bind files
502 * lyx_main.C (init): setup bindings and menus only if we have a
505 * kbmap.C (read): new method. Do the actual reading of bind
508 * converter.C (dvipdfm_options):
511 (output): adapt PAPER_* enums.
513 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
515 * bufferparams.h: remove paper-related enums from there
517 * paper.h: New file. A trivial header file to hold paper-related
518 enums. It should later expand to contain many paper-related
521 * lyxrc.C: declare extern displayTranslator
523 2003-07-27 José Matos <jamatos@fep.up.pt>
525 * tabular.[Ch] (linuxdoc): add support for tables and figures
528 2003-07-27 José Matos <jamatos@fep.up.pt>
530 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
531 consistency in both functions.
532 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
534 2003-07-26 Asger Alstrup <alstrup@local>
536 * rowpainter.C (paintRows): Change algorithm to work directly on
537 the insets rather than asking every character in the document
538 whether its an inset.
540 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
542 * buffer.C (openFileWrite): factorize some code
544 2003-07-26 Angus Leeming <leeming@lyx.org>
547 * lyx_main.[Ch]: replace occurances of system_tempdir with
550 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
552 * rename Inset to InsetOld
554 2003-07-25 Asger Alstrup <alstrup@diku.dk>
556 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
557 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
558 which I think is a bit clearer. EDIT is gone, since it was
559 premature optimisation, and broken for mathed anyway.
560 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
561 with cursor positioning in insets as well (math insets still do not
562 work, but that's a different story anyway.) It mysteriously
563 crashes sometimes with undo in the first paragraph, but I'm fairly
564 confident that this is a compiler bug.
566 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
568 * paragraph.C (Paragraph): adjust for new clone return type
570 (copyIntoMinibuffer): ditto
572 2003-07-25 Asger Alstrup <alstrup@lyx.org>
574 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
575 by not having a special case, and always doing a full rebreak of
576 the document after undo.
578 2003-07-23 Angus Leeming <leeming@lyx.org>
580 * factory.C (createInset): InsetExternal::setParams now takes a
583 2003-07-23 Angus Leeming <leeming@lyx.org>
585 * factory.C (createInset): changed interface to the external and
586 graphics mailers' string2params functions.
588 2003-07-23 Angus Leeming <leeming@lyx.org>
590 * factory.C (createInset): pass a
591 Buffer const * parameter to InsetExternalMailer's string2params.
593 2003-07-22 John Levon <levon@movementarian.org>
595 * Thesaurus.h: include the right aiksaurus header
597 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
599 * MenuBackend.C (expand): check menu shortcuts unconditionally
601 2003-07-21 Angus Leeming <leeming@lyx.org>
603 * factory.C (createInset): pass a
604 buffer_path parameter to InsetGraphicsMailer's string2params.
606 2003-07-21 Angus Leeming <leeming@lyx.org>
608 * BufferView_pimpl.C (buffer):
611 * lyxfunc.C (dispatch):
612 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
613 rather than the grfx shortcut.
615 2003-07-21 André Pönitz <poenitz@gmx.net>
617 * rowpainter.C: remove unused variables
620 * tabular_funcs.h: move to tabular.C
621 * Makefile.am: adjust
623 * tabular.[Ch]: basic optical cleaning
625 * author.h: pass references, not values
627 2003-07-18 André Pönitz <poenitz@gmx.net>
635 * text3.C: two-phase drawing for InsetText and InsetTabular
636 some float -> int changes.
638 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
640 * lyx_main.C: fix the fix
642 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
644 * lyx_main.C: fix a crash in batch mode if no files specified
647 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
649 * format.[Ch] (papersize): moved to BufferParams
650 * converter.[Ch] (dvips_options): moved to BufferParams
651 (dvipdfm_options): moved to anon namespace
652 * bufferparams.[Ch]: added above functions.
654 2003-07-17 André Pönitz <poenitz@gmx.net>
658 * text2.C: don't call inset->update() anymore
660 * metricsinfo.[Ch]: add convenience constructor
662 2003-07-16 André Pönitz <poenitz@gmx.net>
667 * text2.C: replace the LyXCursor::irow_ member with
668 on-demand computation of the value
670 2003-07-16 John Levon <levon@movementarian.org>
672 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
674 2003-07-15 André Pönitz <poenitz@gmx.net>
677 * text2.C: remove no more needed refresh_row
679 2003-07-15 André Pönitz <poenitz@gmx.net>
684 * text3.C: refresh_status tristate -> need_update bool
686 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
688 * lyxtext.h (init): remove reinit argument (act as if always true)
689 * text2.C: adjust to that
691 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
693 * bufferview_funcs.[Ch]: introduce function replaceSelection()
694 * text3.C: use it to delete selections in some cases
695 (bugs 441, 673, 702, 954).
697 2003-07-14 André Pönitz <poenitz@gmx.net>
699 * rowpainter.[Ch]: reduce interface
701 2003-07-14 André Pönitz <poenitz@gmx.net>
703 * BufferView_pimpl.C:
704 * text2.C: adjust after removing unused BufferView * argument
706 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
708 * text2.C (init): fix a crash fired on resize
710 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
712 * buffer.[Ch]: added new closing signal
713 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
714 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
715 BufferView::Pimpl via the closing the signal
717 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
719 * buffer.[Ch]: take out all bv-related from buffer
721 * BufferView_pimpl.[Ch]: connect to new signals
722 * CutAndPaste.C: removed useless asserts
723 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
726 * lyxfunc.C: moved view-related funciontality from vc here
727 * paragraph.C: removed outdated comments
730 2003-07-10 André Pönitz <poenitz@gmx.net>
732 * BufferView_pimpl.C:
736 * text2.C: remove InsetText::InnerCache, clean up consequences
738 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
740 * ispell.C: fix two typos in error messages
742 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
744 * Extend Note inset to other forms of annotation like Comment
745 and Greyedout. Right button click gives dialog.
747 Files modified or added (+):
753 * Makefile.am in frontends/xforms, frontends/xforms/forms,
754 frontends/controllers
758 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
760 * aspell.C: add missing namespace lyx::support
762 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
764 * BufferView.[Ch] (newFile): Add
765 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
766 * LaTeX.[Ch] (message): added this signal and use it
767 * buffer.[Ch] (busy, message): added these signals and use them
768 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
772 * importer.C: use buffer signals instead of direct bv calling
773 * lyx_cb.[Ch] (ShowMessage): removed
777 * text2.C: use buffer signals
779 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
781 * introduce namespace lyx::graphics
783 2003-07-02 André Pönitz <poenitz@gmx.net>
785 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
787 2003-07-01 André Pönitz <poenitz@gmx.net>
794 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
795 text*.C to text_func.C
797 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
799 * introduce namespace lyx::support
801 2003-06-30 André Pönitz <poenitz@gmx.net>
806 * text.C: re-enable --with-included-string
808 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
810 * textcursor.C: add <config.h>
812 * text.C (getWord): remove const from word_location arg
814 * lyxvc.C (getLogFile): fix const type order
816 * lyxtext.h: remove const from word_location arg, add arg name
818 * lyxlayout.h: currect type on labeltype.
820 * importer.C: correct \file
822 * converter.C (intToFormat): use std:: on ret val, ws changes
824 * bufferlist.h: correct \file
826 * buffer.C (makeLinuxDocFile): fix const type order
827 (makeDocBookFile): ditto
828 (fillWithBibKeys): use std:: on stdlib args.
830 * CutAndPaste.C: fix authors.
831 (availableSelections): use std:: on return vector
833 2003-06-27 André Pönitz <poenitz@gmx.net>
835 * BufferView_pimpl.C:
836 * bufferview_funcs.C:
844 * text3.C: remove LyXCursor::row_ member
847 * text.C: rename fullRebreak() to partialRebreak() and implement
848 a fullRebreak() that really bereks fully
850 * textcursor.h: new struct for cursor-related data
852 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
854 * lyx_main.C (LyX): get full path of document loaded on the
857 2003-06-26 André Pönitz <poenitz@gmx.net>
859 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
860 remove unused/broken operator>,<,>=.
862 * text.C: remove only use of broken operator<= in an Assert().
864 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
866 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
867 moved errorlist_.clear to showErrorList
869 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
871 * converter.C (scanLog, runLaTeX):
872 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
873 move the bv->showErrorList call to the callers
874 * lyxfunc.C: i.e. here...
876 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
877 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
878 namespace, the second to...
879 * buffer_funcs (BufferFormat, parseErrors): added
880 * errorlist.C (ErrorList(TeXErrors const &)): removed
882 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
884 * ToolbarBackend.C (getIcon): complain when icon cannot be found
886 2003-06-24 "Garst R. Reese" <reese@isn.net>
890 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
892 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
894 * version.C.in: change docversion to 1.4
896 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
898 * buffer.C: fix a bug just introduced
900 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
902 * buffer.[Ch]: added the parseError signal and use it, removed
904 * BufferView.[Ch] (addError): moved to ...
905 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
906 to the Buffer::parseError signal to catch (guess what) parse errors
907 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
909 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
911 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
912 ability to create a buffer and to return an existing one from
913 the list. Moved these functions to...
914 * buffer_funcs.[Ch]: added
915 * BufferView.[Ch] (loadLyXFile): added
916 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
917 job removed from bufferlist::loadLyXFile.
918 * buffer.C (setReadOnly): make it work without view
919 (i.e added an if (users))
921 2003-06-19 Angus Leeming <leeming@lyx.org>
924 * LyXAction.C (init):
925 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
926 with LFUN_DIALOG_SHOW <name> <data>.
928 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
930 * CutAndPaste.C (availableSelections): small compilation fix for
931 ancient (gcc 2.9x) compilers
933 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
935 * text3.C (cursorNext): add tmp var
937 * text2.C (updateCounters): for function calling out of for clause
938 (replaceSelectionWithString): ditto
939 (insertStringAsParagraphs): ditto
940 (getColumnNearX): add tmp var
941 (setCursorFromCoordinates): add tmp var
942 (cursorDownParagraph): add tmp var
943 (deleteEmptyParagraphMechanism): add tmp var
945 * text.C (insertChar): add tmp var
947 * rowpainter.C (paintDepthBar): add tmp var
949 * CutAndPaste.C (availableSelections): potentially check all
950 paragraphs in a cut to fill the shown strings.
952 2003-06-18 André Pönitz <poenitz@gmx.net>
954 * kbmap.[Ch]: use vector<> instead of list<>
956 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
958 * text3.C (dispatch): handle arg to LFUN_PASTE, call
959 pasteSelection with index
961 * text2.C (pasteSelection): modify, call pasteSelection with index
963 * paragraph.C (asString): reimplement version with no interval to
964 call the one with interval.
966 * lyxtext.h: add index arg to pasteSelection
968 * MenuBackend.C (MenuItem): handle PasteRecent
969 (Menu::read::Menutags): add md_pasterecent
971 (expandPasteRecent): new function
974 * MenuBackend.h: add PasteRecent to MenuItem::Kind
976 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
978 (availableSelections): new function
980 2003-06-17 Angus Leeming <leeming@lyx.org>
982 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
984 2003-06-17 Angus Leeming <leeming@lyx.org>
987 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
989 * lyxfunc.C (dispatch): invoke it.
991 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
993 * iterators.C (operator++, ParPosition): reintroduce some
994 const_cast for the benefit of older compilers.
996 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
998 * text3.C (dispatch): do not modify clipboard when doing
999 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1000 LFUN_DELETE_SKIP on a selection selection
1002 2003-06-16 André Pönitz <poenitz@gmx.net>
1008 * tabular.[Ch]: IU of clone() and getLabelList();
1010 2003-06-13 André Pönitz <poenitz@gmx.net>
1012 * tabular.h: compactification
1014 2003-06-12 André Pönitz <poenitz@gmx.net>
1018 * tabular_funcs.h: some renaming plus whitespace
1020 2003-06-12 André Pönitz <poenitz@gmx.net>
1023 * BufferView_pimpl.C:
1029 * toc.C: Return a Paragraph & for ParIterator::operator*()
1031 2003-06-11 John Levon <levon@movementarian.org>
1035 * ToolbarBackend.C: add "Toolbars" section and
1038 2003-06-10 Angus Leeming <leeming@lyx.org>
1041 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1043 * lyxfunc.C (dispatch): invoke it.
1045 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
1047 * main.C: protect <ios> with HAVE_IOS
1048 (main): protect sync_with_stdio with HAVE_IOS
1050 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1052 * text2.C (cutSelection): adjust
1053 (pasteSelection): adjust
1055 * messages.C: handle get of empty string
1057 * main.C (main): use sync_with_stdio(false)
1059 * lyxfunc.C (dispatch): adjust
1061 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1062 (WriteAs): remove unneeded BufferView arg.
1064 * bufferparams.h: use correct types on papersize, papersize2 and
1067 * bufferparams.C (readToken): adjust for type
1068 (writeLaTeX): add missing cases to switch.
1070 * bufferlist.C (quitWriteBuffer): adjust
1073 * buffer.C (asciiParagraph): remove some commented code.
1075 * CutAndPaste.C: remove current_view extern variable.
1076 (cutSelection): add BufferParams arg.
1077 (eraseSelection): add BufferParams arg.
1078 (pasteSelection): add Buffer const & arg
1080 2003-06-07 John Levon <levon@movementarian.org>
1083 * paragraph_funcs.C:
1084 * paragraph_pimpl.C:
1088 * paragraph.C: allow InsetERT to freely space lines,
1089 and some consolidation of code
1091 2003-06-06 José Matos <jamatos@fep.up.pt>
1093 * buffer.C (makeDocBookFile): fix bug #821
1095 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1097 * BufferView_pimpl.C (dispatch): use Dialogs::visible
1099 2003-06-04 Angus Leeming <leeming@lyx.org>
1101 * buffer.C: bump format to 224.
1103 2003-06-05 André Pönitz <poenitz@gmx.net>
1105 * text2.C (redoParagraphs): remove two const_cast<>
1107 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
1109 * ParagraphList.h: remove last remnants of NO_STD_LIST
1111 2003-06-03 Angus Leeming <leeming@lyx.org>
1113 * factory.C (createInset): small change to the way InsetExternal's params
1116 2003-06-04 André Pönitz <poenitz@gmx.net>
1118 * buffer.h: use Undo directly instead of shared_ptr<Undo>
1120 * paragraph_pimpl.h:
1121 * paragraph.[Ch]: some Inset -> UpdatableInset changes
1123 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1125 * undo_funcs.C: make some simple cases of undo work again
1127 2003-06-03 John Levon <levon@movementarian.org>
1129 * ispell.C: HPUX doesn't have sys/select.h
1132 2003-06-03 John Levon <levon@movementarian.org>
1134 * CutAndPaste.C: update tabular and include inset
1139 * paragraph.C: remove owningBuffer(), don't pass Buffer
1142 * factory.C: insetGraphicsParams changed
1144 2003-06-02 John Levon <levon@movementarian.org>
1150 * text3.C: remove insetparent
1152 2003-06-02 John Levon <levon@movementarian.org>
1155 * buffer.C: fix inset_iterator.end(), move out of line
1158 2003-06-01 John Levon <levon@movementarian.org>
1160 * text3.C: use a proper cut/paste when doing inset
1161 insert (from Jürgen Spitzmüller)
1163 2003-06-01 John Levon <levon@movementarian.org>
1165 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1167 2003-05-30 André Pönitz <poenitz@gmx.net>
1169 * rowpainter.C: unify second drawing phase
1171 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1173 * trans_mgr.C: remove one case of current_view
1175 * text2.C (cursorBottom): delete NO_STD_LIST stuff
1177 * paragraph_funcs.h: remove paragraph.h include
1179 * paragraph.h: delete NO_STD_LIST stuff
1181 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1183 * buffer.h: remove paragraph.h include
1185 * ParagraphList.C: delete file
1187 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1189 * toc.C (getTocList): adjust
1191 * paragraph_pimpl.C (validate): adjust
1193 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1195 * paragraph.C (Paragraph): adjust
1196 (getPositionOfInset): use const_iterator, adjust
1197 (bibitem): use const_iterator, adjust
1198 (setInsetOwner): adjust
1200 * iterators.C (operator++): adjust
1202 * InsetList.[Ch]: Replace selfmade iterator with standard
1203 vector::iterator also introduce const_iterator. Remove getPos,
1204 getInset and setInset from InsetTable. Adjust accordingly.
1206 * BufferView.C (lockInset): adjust
1207 (ChangeInsets): adjust
1209 * tabular.[Ch]: delete commented same_id functions
1211 2003-05-28 John Levon <levon@movementarian.org>
1213 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1215 2003-05-28 André Pönitz <poenitz@gmx.net>
1217 * metricsinfo.[Ch]: remove 'fullredraw' member
1219 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
1221 * lyxtextclass.C (operator): remove caching.
1223 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1227 * text2.C (cursorBottom): adjust
1228 (setCounter): use ParagraphList::find, adjust
1230 * text.C (workWidth): use ParagraphList::find, adjust
1232 * lyxcursor.C (LyXCursor): adjust
1234 * buffer.C (inset_iterator): adjust
1236 * ParagraphList.h: make iterator(value_type) private, make
1237 ParagraphList a friend of iterator.
1239 * ParagraphList.C (find): new function
1241 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1243 2003-05-27 André Pönitz <poenitz@gmx.net>
1245 * dimension.[Ch]: a -> asc, d -> des, w -> wid
1247 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1249 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1251 2003-05-26 John Levon <levon@movementarian.org>
1253 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1255 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1257 * remove same_id from function signatures, adjust.
1259 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1261 * undo_funcs.C (createUndo): use the id functions directly, adjust.
1263 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1265 * paragraph.C (Paragraph): get rid of same_ids parameter
1267 * ParagraphList.C (insert): adjust
1270 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1272 * paragraph_funcs.C (breakParagraph): adjust
1273 (breakParagraphConservative): adjust
1275 * buffer.C (readParagraph): adjust
1277 * ParagraphList.C (insert): take a reference instead of a pointer
1280 * paragraph.[Ch] (id): new function
1282 * bufferlist.C (newFile): adjust
1284 * ParagraphList.C (ParagraphList): adjust
1286 (push_back): take a reference instead of a pointer.
1288 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1290 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1293 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1294 set else use old code.
1296 * ParagraphList.C: remove all NO_NEXT code and only compile this
1297 code of NO_STD_LIST is set.
1299 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1301 * BufferView_pimpl.C:
1311 * graphics/GraphicsConverter.C:
1312 * graphics/PreviewLoader.C: header adjustment
1314 2003-05-23 Angus Leeming <leeming@lyx.org>
1316 * LaTeXFeatures.[Ch] (useBabel): new method.
1317 * bufferparams.C (writeLaTeX): use it.
1319 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1321 * ParagraphList.h (set): remove unused function.
1323 2003-05-23 André Pönitz <poenitz@gmx.net>
1326 * BufferView_pimpl.C:
1330 * undo_funcs.C: setUndo reworked
1332 * iterators.[Ch]: add access to topmost ParagraphList
1334 * lyxtext.[Ch] (workWidth): add a const
1336 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
1338 * texrow.[Ch] (increasePos): remove function
1339 * exporter.C (export): removed unused var and outdated comment
1341 2003-05-23 Angus Leeming <leeming@lyx.org>
1343 * latexrunparams.h: rename fragile as moving_arg.
1344 * paragraph.C (simpleTeXOnePar): ditto.
1345 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1347 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1349 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1351 (textUndoOrRedo): comment out a currently unused var.
1353 * paragraph.h (NO_NEXT): enable NO_NEXT
1355 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1357 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1359 * exporter.C (Export): adjust for removeAutoInsets removal.
1361 * buffer.C (runChktex): adjust for removeAutoInsets removal.
1363 * LyXAction.C (init): remove LFUN_REMOVEERRORS
1365 * BufferView.[Ch] (removeAutoInsets): delete function
1367 2003-05-22 Angus Leeming <leeming@lyx.org>
1369 * latexrunparams.h: add a free_spacing variable.
1371 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1372 to pass moving_arg, as the data is stored in runparams.fragile.
1374 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1375 to Inset::latexOptional or to simpleTeXOnePar.
1377 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1378 free_spacing arg to Inset::latexOptional.
1380 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1383 2003-05-22 Angus Leeming <leeming@lyx.org>
1385 * latexrunparams.h: add fragile and use_babel variables.
1387 * bufferparams.[Ch] (writeLaTeX): return use_babel.
1388 * buffer.C (makeLaTeXFile): store this returned value in
1389 runparams.use_babel, thus passing it to the inset::latex methods.
1391 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1392 simpleTeXSpecialChars as it is now stored in runparams.fragile.
1394 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1395 longer has a fragile arg, as it is stored in runparams.fragile.
1397 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1398 moving_arg parameter as the data is stored in runparams.fragile.
1400 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1401 a fragile parameter as the data is stored in runparams.fragile.
1403 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1405 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1407 2003-05-22 Angus Leeming <leeming@lyx.org>
1409 * latexrunparams.h: add a 'bool nice' which defaults to false.
1411 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1412 now encapsulated within runparams.
1414 * bufferlist.C (updateIncludedTeXfiles):
1415 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1417 2003-05-22 Angus Leeming <leeming@lyx.org>
1419 * latexrunparams.h: new file containing struct LatexRunParams.
1420 * Makefile.am: add new file.
1422 * LaTeX.[Ch] (c-tor, run):
1423 * buffer.[Ch] (makeLaTeXFile):
1424 * bufferlist.[Ch] (updateIncludedTeXfiles):
1425 * converter.C (convert, scanLog):
1426 * converter.[Ch] (runLaTeX):
1427 * exporter.C (Export):
1428 * paragraph.[Ch] (simpleTeXOnePar):
1429 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1430 * paragraph_funcs.[Ch] (latexParagraphs):
1431 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1432 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1433 pass around a LatexRunParams parameter.
1435 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1437 * paragraph.[Ch]: remove unused constructor
1439 * ParagraphList.C (erase): new function, taking two iterators
1441 2003-05-22 André Pönitz <poenitz@gmx.net>
1443 * undo_funcs.C: remove duplicated code
1445 * iterator.[Ch]: operator=
1447 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1449 * tabular.C (SetMultiColumn): ws changes
1451 * rowpainter.C (paintFirst): get rid of a ->previous
1453 * lyx_cb.C (getPossibleLabel): parlist simplification
1455 * BufferView.C (ChangeInsets): simplify slightly.
1457 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1459 * LyXAction.C: new lfun space-insert, kill protected-space-insert
1460 * lfuns.h: new LFUN_SPACE
1461 * lyxfunc.C: protected space has a new lfun
1462 * paragraph_funcs.C: read new space insets
1464 * factory.C: handle new space insets
1466 2003-05-22 André Pönitz <poenitz@gmx.net>
1469 * BufferView_pimpl.C:
1472 * undo_funcs.C: return a ParIterator from getParFromID.
1474 * iterators.[Ch]: add two const's
1476 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1478 * toc.C (getTocList): adjust
1480 * iterators.[Ch]: rework for parlist
1482 * buffer.C (par_iterator_begin): adjust
1483 (par_iterator_end): adjust
1485 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1487 * BufferView.C (removeAutoInsets): adjust
1488 (ChangeInsets): adjust
1490 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
1492 * text.C (top_y): fix bug 1110
1494 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
1496 * errorlist.[Ch]: added
1499 * BufferView_pimpl.C:
1500 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1503 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1505 * Makefile.am: ensure that lyx is relinked upon changes to the
1506 various "convenience" libs.
1508 2003-05-20 Angus Leeming <leeming@lyx.org>
1510 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1511 files are compiled in alphabetical order again.
1513 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1515 2003-05-19 Angus Leeming <leeming@lyx.org>
1517 * gettext.[Ch]: remove "char const * _(char const *)".
1519 2003-05-19 André Pönitz <poenitz@gmx.net>
1521 * dimension.[Ch]: promote from mathed/dimension.[Ch]
1530 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1532 2003-05-19 André Pönitz <poenitz@gmx.net>
1536 * lyxtextclass.[Ch]:
1538 * paragraph_funcs.[Ch]:
1540 * text3.C: more insetenv work
1542 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
1544 * ParagraphParameters.C (params2string): small bug fixed
1546 2003-05-16 André Pönitz <poenitz@gmx.net>
1549 * bufferview_funcs.C: patch from Kornel Benko to prevent
1550 crash when _(...) is called twice in a statement
1552 2003-05-16 André Pönitz <poenitz@gmx.net>
1559 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
1561 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
1563 * lyx_main.C (init): remove spurious static_cast
1565 2003-05-14 André Pönitz <poenitz@gmx.net>
1567 * BufferView.C: fix format string
1569 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
1571 * BufferView.[Ch] (insertErrors): removed
1572 * BufferView.[Ch] (showErrorList): added
1573 * buffer.C (runChkTeX):
1574 * converter.C (scanLog): call showErrorList instead of inserterrors
1576 2003-05-13 André Pönitz <poenitz@gmx.net>
1578 * BufferView_pimpl.C:
1580 * bufferview_func.C:
1587 * tabular_funcs.h: tostr() from its own header
1589 * ParagraphParameters.C:
1594 * text3.C: STRCONV()
1596 2003-05-12 André Pönitz <poenitz@gmx.net>
1599 * BufferView_pimpl.C:
1603 * ParagraphParameters.C:
1607 * bufferview_funcs.C:
1620 * paragraph_funcs.C:
1624 * text3.C: boost::format -> bformat all over the place
1627 2003-05-09 André Pönitz <poenitz@gmx.net>
1629 * LColor.[Ch]: Pimpl the #include <map> away
1631 2003-05-09 John Levon <levon@movementarian.org>
1633 * bufferlist.C: never remove emergency saves
1635 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1637 * Makefile.am: better lib building
1639 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
1641 * texrow.[Ch]: remove dependency on Paragraph and just store a id
1643 * paragraph_pimpl.C (simpleTeXBlanks): adjust
1644 (simpleTeXSpecialChars): adjust
1645 (simpleTeXSpecialChars): adjust
1646 * paragraph.C (simpleTeXOnePar): adjust
1647 * buffer.C (makeLaTeXFile): adjust
1649 * Makefile.am (BOOST_LIBS): allow boost as system lib.
1651 * text2.C (changeDepth): parlist cleanup
1652 (getColumnNearX): ditto
1654 * rowpainter.C (getLabelFont): parlist cleanup
1656 * bufferlist.C (newFile): parlist cleanup
1658 * CutAndPaste.C (eraseSelection): parlist cleanup
1660 * BufferView_pimpl.C (trackChanges): parlist cleanup
1663 * BufferView.C (lockInset): parlist cleanup.
1664 (ChangeInsets): ditto
1666 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1668 * CutAndPaste.h: Update file header.
1670 * CutAndPaste.C: Update file header.
1671 Store the parts cut out of the Document in a limited_stack.
1672 (copySelection): adjust
1673 (pasteSelection): new function, takes the index in the limited stack.
1674 (nrOfParagraphs): adjust
1675 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
1676 simplify error inset insertion.
1677 (checkPastePossible): adjust
1679 2003-05-06 John Levon <levon@movementarian.org>
1681 * text2.C: don't cast wrap inset to float
1683 2003-05-05 André Pönitz <poenitz@gmx.net>
1686 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
1688 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
1689 few naked Paragraph *.
1691 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
1693 * bufferparams.C: Output warning if a document with missing
1694 TeX document class is loaded
1695 * exporter.C: Disable TeX exports if the document class is missing
1698 * lyxtextclasslist.C: Handle new textclass.lst format; new method
1699 isTeXClassAvailable()
1701 2003-05-03 John Levon <levon@movementarian.org>
1704 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
1705 explicit cursor show/hide
1707 * BufferView_pimpl.h:
1708 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
1709 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
1711 * lyxfunc.C: hide cursor before dispatching.
1716 * text3.C: remove explicit cursor hides
1718 2003-05-02 André Pönitz <poenitz@gmx.net>
1720 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
1723 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
1726 * text2.C: tiny whitespace
1728 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1730 * undo_funcs.C: almost only ws changes.
1732 * ParagraphList.C (splice): just return if pl is empty.
1734 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1736 * ParagraphList.C (splice): new function.
1738 * CutAndPaste.C (pasteSelection): use it
1740 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1742 * CutAndPaste.C (pasteSelection): remove the last next and
1743 previous from this file.
1745 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1747 * CutAndPaste.C (pasteSelection): more clean up, user proper
1748 ParagraphList functions for pasteing.
1750 * ParagraphList.C (insert): new function, three arg insert
1752 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1754 * ParagraphList.C (insert): new function, three arg insert
1756 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
1759 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1761 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
1763 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1765 * CutAndPaste.C (pasteSelection): remove some unneeded code.
1767 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1769 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
1770 (copySelection): clean up a bit.
1771 (pasteSelection): use make_pair
1773 * ParagraphList.C (ParagraphList): implement copy constructor
1774 (operator=): implement, base on copy constructor.
1777 * paragraph.C (erase): return a bool
1779 * paragraph_pimpl.C (erasePos): remove function, move contents...
1780 (erase): ... here. Return a bool.
1781 (erase): call erase instead of erasePos.
1783 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
1785 * ParagraphList.h: define PitPosPair
1786 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
1787 ParagraphList, fix a bug on pasting multiple pars
1788 * text2.C: change interface to C&P
1790 2003-04-30 André Pönitz <poenitz@gmx.net>
1792 * undo_func.C: revert part of yesterday's patch 2
1794 2003-04-30 John Levon <levon@movementarian.org>
1796 * LColor.C: s/tabular/table/
1798 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
1800 * text3.C (dispatch): do not convert iterator -> pointer
1801 * undo_funcs.C (setCursorParUndo): ditto
1802 * text_funcs.C (transposeChars): ditto
1804 * text2.C (setLayout): ws changes only
1806 * text.C (breakParagraph): do not convert iterator -> pointer
1808 (acceptChange): ditto
1809 (rejectChange): ditto
1814 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
1817 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1819 * text3.C (gotoInset): YABG (yet another bad getChar)
1821 2003-04-29 André Pönitz <poenitz@gmx.net>
1823 * paragraph.h: make operator= private unimplemented as long as
1826 * ParagraphList.C: whitespace
1829 * paragraph_pimpl.[Ch]:
1830 * paragraph_funcs.C:
1832 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
1835 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
1837 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
1839 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
1840 * paragraph.[Ch] (erase):
1841 * paragraph_pimpl.[Ch] (erase): change return type and value
1842 * text2.C (cutSelection): some rework
1844 2003-04-28 John Levon <levon@movementarian.org>
1846 * bufferlist.C: changes for unsaved changes dialog
1848 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1850 * bufferlist.C (newFile): set language (messages_) for new
1853 * buffer.C (readFile): ws changes only.
1855 2003-04-28 André Pönitz <poenitz@gmx.net>
1860 * BufferView_pimpl.C:
1861 * BufferView.C: getParFromID related ParagraphList::iterator changes
1863 2003-04-28 André Pönitz <poenitz@gmx.net>
1865 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
1868 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1870 * messages.C: remove one more localedir class variable.
1872 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1874 * messages.C (getLocaleDir): singleton generation function
1876 (Messages): add a default constructor.
1878 * main.C (main): do not setup localedir here, do not call
1881 * gettext.C (_): use it.
1882 (gettext_init): delete funciton
1884 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1886 * gettext.C (getLyXMessages): new singleton generating function.
1888 * buffer.C (updateDocLang): adjust
1890 * Makefile.am (messages.o): add target
1891 (main.o): remove target
1893 2003-04-27 John Levon <levon@movementarian.org>
1898 * lyxvc.C: specify cancel button in Alert::prompt
1900 2003-04-26 John Levon <levon@movementarian.org>
1905 * LyXAction.C: add LFUN_INSET_SETTINGS
1907 * lyxfunc.C: don't enable tabular-feature when there's
1908 just any locking inset
1910 2003-04-26 John Levon <levon@movementarian.org>
1912 * bufferlist.C: re-add Cancel to buffer close question
1914 * lyxfunc.C: fix import UI a bit
1916 2003-04-25 John Levon <levon@movementarian.org>
1918 * gettext.C: remove the broken asserts for now
1920 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1922 * messages.C: make case where setlocale cannot comply work better.
1924 * buffer.C (updateDocLang): new function
1925 (changeLanguage): use it
1928 * text2.C (setCounter): use B_ a bit.
1930 * lyxlayout.C (Read): be sure to trim the label strings.
1932 * messages.C (Messages): fix typo in comment
1934 * buffer.C (readFile): set message_ after file is loaded.
1935 (makeDocBookFile): remove double return
1936 (changeLanguage): reset message_ upon language change.
1937 (B_): new func, use this to get translated buffer strings.
1939 * main.C: add myself and Jean Marc as authors.
1941 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1943 * messages.[hC]: pimplify Messages, and three different pimpls to be
1944 used in different circumstances.
1946 * gettext.[Ch]: change for use with new message code.
1948 2003-04-24 André Pönitz <poenitz@gmx.net>
1950 * factory.C: support for eqref
1952 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1954 * messages.[Ch]: add missing char
1956 * Makefile.am (lyx_SOURCES): add messages.[Ch]
1958 * messages.[Ch]: New files
1960 2003-04-18 John Levon <levon@movementarian.org>
1964 * BufferView_pimpl.C:
1968 * text2.C: remove layout-copy/paste (bug 778)
1970 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1972 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1974 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
1976 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1977 if they succeed. Act accordingly.
1979 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1981 * text2.C (setCharFont): adjust
1982 (setCounter): adjust
1983 (insertStringAsLines): adjust
1985 * text.C (leftMargin): adjust
1986 (setHeightOfRow): adjust
1988 * rowpainter.C (paintFirst): adjust
1991 * paragraph_funcs.C (depthHook): ParagraphList::iterators
1993 (isFirstInSequence): ditto
1994 (getEndLabel): ditto
1997 * paragraph.C (getParLanguage): comment out some hard stuff.
1999 * buffer.C (insertStringAsLines): take a ParagraphList as arg
2001 (simpleDocBookOnePar): ditto
2002 (makeDocBookFile): use ParagraphList::iterator
2004 * CutAndPaste.C (pasteSelection): adjust
2006 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2008 * text2.C (getFont): adjust
2009 (getLayoutFont): adjust
2010 (getLabelFont): adjust
2012 * paragraph_funcs.C (TeXOnePar): adjust
2014 * buffer.C (simpleLinuxDocOnePar): adjust
2015 (simpleDocBookOnePar): adjust
2017 * CutAndPaste.C (pasteSelection): adjust
2019 * BufferView.C (getEncoding): adjust
2021 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2023 2003-04-16 John Levon <levon@movementarian.org>
2025 * lyxfind.C: use parlist stuff for search/changes
2027 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2029 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2031 * text2.C (deleteEmptyParagraphMechanism): adjust
2033 * text2.[Ch] (ownerParagraph): delete func (both of them
2035 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2037 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2039 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2041 * ParagraphList.C: prepare for NO_NEXT
2043 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2045 * text2.C (getFont): adjust
2046 (getLayoutFont): adjust
2047 (getLabelFont): adjust
2049 * paragraph.C (getFont): adjust
2050 (getLabelFont): adjust
2051 (getLayoutFont): adjust
2053 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2055 2003-04-15 John Levon <levon@movementarian.org>
2059 * lyx_main.C: handle Include in .ui files
2061 2003-04-15 John Levon <levon@movementarian.org>
2063 * MenuBackend.C: make the doc files length shorter
2066 * ToolbarBackend.C: handle toolbar placement flags,
2069 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2071 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2074 * paragraph_funcs.C (TeXOnePar): adjust
2076 * paragraph.C (getLabelFont): add outerfont arg, adjust
2077 (getLayoutFont): ditto
2078 (simpleTeXOnePar): adjust
2080 * paragraph_pimpl.C (realizeFont): delete func
2082 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2084 * text2.C (beforeFullRowInset): added a bad getchar check, removed
2085 row argument, constify cur argument.
2087 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2089 * text2.C (getFont): adjust
2090 (getLayoutFont): adjust
2091 (getLabelFont): adjust
2093 * paragraph_funcs.C (TeXOnePar): adjust
2094 (outerFont): new func...
2095 (realizeFont): ...moved out from here, changed this to facilitate
2098 * paragraph.C (getFont): take outerfont as arg, adjust
2099 (simpleTeXOnePar): add outerfont arg, adjust
2101 * buffer.C (simpleLinuxDocOnePar): adjust
2102 (simpleDocBookOnePar): adjust
2104 * CutAndPaste.C (pasteSelection): adjust
2106 * BufferView.C (getEncoding): adjust
2108 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2110 * text2.C (setCharFont): adjust
2111 (setCounter): adjust
2113 * text.C (leftMargin): adjust
2114 (setHeightOfRow): adjust
2116 * rowpainter.C (paintFirst): adjust
2119 * paragraph_pimpl.C (realizeFont): adjust
2121 * paragraph.C (isFirstInSequence): move from here...
2122 * paragraph_funcs.C (isFirstInSequence): ...to here
2124 * paragraph.C (outerHook): move from here...
2125 * paragraph_funcs.C (outerHook): ...to here
2127 * paragraph.C (depthHook): move from here...
2128 * paragraph_funcs.C (depthHook): ...to here
2130 * paragraph.C (getEndLabel): move from here...
2131 * paragraph_funcs.C (getEndLabel): ...to here
2133 * text2.C (realizeFont): move from here...
2134 * paragraph_funcs.C (realizeFont): ...to here
2136 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2138 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2140 2003-04-14 Angus Leeming <leeming@lyx.org>
2142 * LColor.[Ch]: scrap LColor mathcursor.
2144 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2146 * lyxlex.[Ch] (text): delete function
2147 * trans.C (Load): adjust
2148 * paragraph_funcs.C (readParToken): adjust
2150 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2152 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2153 vector<char> instead of a char[].
2155 * lyxlex_pimpl.C (getString): adjust
2157 (lex): use getString
2161 * lyxlex.C (text): use pimpl_->getString()
2165 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
2167 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2168 (makeFontEntriesLayoutSpecific): temp var for par.size()
2169 (setLayout): temp var for ownerParagraphs().end()
2170 (fullRebreak): temp var for rows().end()
2171 (selectionAsString): temp var for boost::next(startpit), realize
2172 that the while really is a regular for loop.
2173 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2174 setCursor in one place.
2175 (setParagraph): temp vr for ownerParagraphs().end()
2176 (updateCounters): make the while loop a for loop
2177 (cutSelection): temp var for ownerParagraphs().end()
2178 (updateInset): make the do {} while() a regular for loop
2179 (getCursorX): use temp vars
2180 (setCurrentFont): use temp vars
2181 (getColumnNearX): use temp vars
2183 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2185 * text.C (transformChar): use temp var for getChar
2186 (computeBidiTables): use temp var for row->par()
2187 (fill): move temp vars for row->par() and pit->layout() earlier in
2189 (labelFill): use temp var for row->par()
2190 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2191 asc and desc, realize that pit never changes and that firstpit is
2192 just a duplicate and not needed. Exchange rit->par() with pit in a
2194 (breakAgain): use a temp var for boost::next(rit)
2195 (breakAgainOneRow): ditto
2196 (breakParagraph): use a temp var for rows().begin()
2197 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2198 (cursorRightOneWord): use temp var for cursor.par() and
2199 cursor.pos(), remove usage of tmpcursor.
2200 (cursorLeftOneWord): use temp var for cursor.par() and
2201 cursor.pos() only set cur at end of function.
2203 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2205 * text.C, text2.C: exchange all usage of Paragraph::next with
2206 boost::next(ParagraphList::iterator)
2208 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2210 * text2.C (cursorTop): simplify implementation
2211 (cursorBottom): ditto
2212 (setParagraph): use ParagraphList::iterator
2213 (setCurrentFont): adjust
2214 (getColumnNearX): adjust
2215 (cursorRight): adjust
2216 (cursorLeft): remove usage of Paragraph::previous
2217 (cursorUpParagraph): ditto
2218 (deleteEmptyParagraphMechanism): slight cleanup
2220 * text.C (isBoundary): take a Paragraph const & instead of a
2222 (addressBreakPoint): ditto
2223 (leftMargin): remove usage of Paragraph::previous.
2224 (setHeightOfRow): ditto
2225 (cursorLeftOneWord): ditto
2226 (selectNextWordToSpellcheck): ditto
2229 (breakParagraph): remove one usage of Paragraph::next
2230 (redoParagraph): ditto
2231 (acceptChange): ditto
2232 (insertChar): adjust
2233 (rowBreakPoint): adjust
2235 * bufferview_funcs.C (toggleAndShow): adjust
2237 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
2239 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2240 methods to access it.
2242 * text.C: Added updateRowPositions to compute all row positions.
2243 Make top_y and getRowNearY() to use the cached y position
2245 2003-04-11 John Levon <levon@movementarian.org>
2247 * text.C (rowBreakPoint): reintroduce the labelEnd
2248 checks, code copied from the row fill stuff. Deep voodoo.
2250 * text.C (fill): add a comment and debugging for the
2253 2003-04-11 John Levon <levon@movementarian.org>
2255 * text.C: make sure fullrow insets get wrapped to the next line,
2256 even when they're in a manual label
2258 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
2260 * text2.C (insertParagraph): make it take ParagraphList::iterator
2262 (setLayout): make it return ParagraphList::iterator
2263 (redoParagraphs): ditto
2265 (checkParagraph): ditto
2267 * text.C (getRow): make getrow take ParagraphList::iterator as arg
2269 * text2.C: adjust several funcs.
2270 (realizeFont): take a ParagraphList::iterator as arg.
2271 (getLayoutFont): ditto
2272 (getLabelFont): ditto
2273 (setCharFont): ditto
2275 * text.C: adjust several funcs.
2277 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2279 * text.C (selectNextWordToSpellcheck): don't accidentally
2282 2003-04-10 John Levon <levon@movementarian.org>
2284 * ToolbarBackend.C (getIcon): special handling for
2287 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
2289 * text2.C (cursorRight): a getChar assert fixed
2291 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2293 * text2.C (getFont): change to take a ParagraphList::iterator
2294 instead of Paragraph*
2295 Adjust several functions.
2297 * text.C (transformChar): change to take a ParagraphList::iterator
2298 instead of Paragraph*
2299 (singleWidth): ditto
2300 Adjust several functions.
2302 * rowpainter.C: adjust several functions
2303 * rowpainter.h:store a ParagraphList::iterator and not a
2307 2003-04-09 John Levon <levon@movementarian.org>
2312 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2313 and the "help" bits as well
2315 2003-04-09 John Levon <levon@movementarian.org>
2318 * ToolbarBackend.C: allow multiple toolbars
2320 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2322 * undo_funcs.C (setCursorParUndo): adjust
2324 * text_funcs.C (transposeChars): adjust
2326 * text3.C (gotoNextInset): adjust
2329 * text2.C (setLayout): adjust
2330 (changeDepth): adjust
2332 (redoParagraphs): adjust
2333 (selectionAsString): adjust
2334 (setParagraph): adjust
2335 (insertInset): adjust
2336 (cutSelection): adjust
2337 (copySelection): adjust
2338 (pasteSelection): adjust
2339 (insertStringAsLines): adjust
2340 (updateInset): adjust
2341 (setCursor): change to take a ParagraphList::iterator parameter
2342 (setCursorIntern): change to take a ParagraphList::iterator parameter
2343 (setCurrentFont): adjust
2344 (cursorLeft): adjust
2345 (cursorRight): adjust
2346 (deleteEmptyParagraphMechanism): adjust
2348 * text.C (breakParagraph): adjust
2349 (insertChar): adjust
2350 (acceptChange): adjust
2351 (rejectChange): adjust
2352 (selectNextWordToSpellcheck): adjust
2353 (changeCase): adjust
2357 * lyxfind.C (SearchForward): adjust
2358 (SearchBackward): adjust
2359 (nextChange): adjust
2361 * lyxcursor.C (par): adjust
2363 * lyxcursor.h: store a ParagraphList::iterator instead of a
2366 * lyx_cb.C (getPossibleLabel): adjust
2368 * bufferview_funcs.C (toggleAndShow): adjust
2370 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2373 * BufferView.C (removeAutoInsets): adjust
2374 (lockedInsetStoreUndo): adjust
2376 2003-04-09 John Levon <levon@movementarian.org>
2378 * ToolbarBackend.C: try icon without argument
2379 if with argument fails
2381 2003-04-08 John Levon <levon@movementarian.org>
2384 * ToolbarBackend.C: add getIcon(), handle tooltip,
2385 and change from "Icon" to "Item".
2387 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2389 * BufferView.C (lockInset): another bad getchar crunched
2391 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
2393 * text2.C (changeDepth): do not setUndo on test_only (make undo work
2396 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2398 * lyxfind.C (searchForward, searchBackwards): bug 782
2400 2003-04-07 John Levon <levon@movementarian.org>
2402 * paragraph.C: remove dead comment
2404 * text.C: remove troublesome depth-fiddling code
2405 in leftMargin() and rightMargin() (bug 1017)
2407 * text.C: fix breaking of rows in nested lists
2410 * text2.C (updateCounters): fix up depth values
2413 2003-04-07 John Levon <levon@movementarian.org>
2415 * BufferView_pimpl.C: clear message when doc finishes resizing,
2416 and after a mouse event
2418 * lyxfunc.C: clear message after exiting inset
2420 2003-04-07 John Levon <levon@movementarian.org>
2422 * bufferview_funcs.C: show math status not outside
2423 status in the statusbar
2425 2003-04-07 John Levon <levon@movementarian.org>
2427 * lyxfunc.C: note status changed after a depth change
2429 2003-04-04 Angus Leeming <angus@localhost.localdomain>
2431 * LaTeX.h: move AuxInfo operator==, != out of line.
2432 Remove LaTeX virtual destructor; nothing derives from it.
2433 Move operator()() out of public area and rename it startscript().
2434 Change protected for private.
2436 2003-04-04 Angus Leeming <leeming@lyx.org>
2439 * text2.C: remove unneeded #includes.
2441 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2443 * text2.C (dEPM): fix the heigth of the next row
2445 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
2447 * text.C: squashed an invalid getChar requester + some ws changes
2449 2003-04-03 John Levon <levon@movementarian.org>
2451 * bufferview_funcs.h:
2452 * bufferview_funcs.C:
2455 * text2.C: make getStatus work for the env depth lfuns
2457 2003-04-03 John Levon <levon@movementarian.org>
2459 * bufferview_funcs.h:
2460 * bufferview_funcs.C:
2463 * text2.C: parlistize decDepth(), by merging it with incDepth()
2465 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2467 * lyxrow.h: store a ParagraphList::iterator instead of a
2468 Paragraph* and adjust other class functions to suit.
2470 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2473 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2475 * text2.C (setCursor): do not anchor to cursor row for the time being
2477 2003-04-02 John Levon <levon@movementarian.org>
2484 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2486 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2488 * paragraph.h: make ParagraphList and ParagraphList::iterator
2489 friends of Paragraph.
2491 * buffer.C (makeLinuxDocFile): move towards ParagraphList
2493 * ParagraphList.C: Use the private next_ and previous_ from
2496 2003-04-01 John Levon <levon@movementarian.org>
2500 * Makefile.am: rename, remove defaults gunk
2503 * MenuBackend.C: remove defaults gunk
2506 * Languages.C: remove defaults gunk
2509 * lyx_main.C: error out if files couldn't be found.
2511 2003-04-02 John Levon <levon@movementarian.org>
2513 * text2.C: make incDepth() use parlist
2515 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2517 * undo_funcs.C (firstUndoParagraph): adjust
2519 * text3.C (gotoInset): adjust
2520 (dispatch): adjust, and rewrite loop.
2522 * text2.C (init): adjust, and rewrite loop.
2523 (redoParagraphs): adjust
2524 (updateInset): adjust, and rewrite loop.
2525 (deleteEmptyParagraphMechanism): adjust
2527 * tabular.C (LyXTabular): adjust
2528 (SetMultiColumn): adjust
2531 * lyxtext.[Ch] (ownerParagraph): delete function
2532 (ownerParagraphs): new function returns a ParagraphList.
2534 * BufferView.C (removeAutoInsets): adjust
2535 (insertErrors): adjust
2536 (setCursorFromRow): adjust
2538 2003-04-01 Angus Leeming <leeming@lyx.org>
2540 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
2543 2003-04-02 John Levon <levon@movementarian.org>
2549 * text_funcs.C: make transposeChars a free function
2551 * lyxrow_funcs.C: remove wrong comment
2553 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2556 * rowpainter.C: adjust
2561 * lyxrow_funcs. [Ch]: new files
2563 * lyxrow.[Ch]: remove next and previous pointers
2564 (next,previous): remove accessor functions
2565 (isParEnd): move to lyxrow_funcs
2566 (lastPos): move to lyxrow_funcs
2567 (nextRowIsAllInset): move to lyxrow_funcs
2568 (lastPrintablePos): move to lyxrow_funcs
2569 (numberOfSeparators): move to lyxrow_funcs
2570 (numberOfHfills): move to lyxrow_funcs
2571 (numberOfLabelHfills): move to lyxrow_funcs
2572 (hfillExpansion): move to lyxrow_funcs
2576 * bufferview_funcs.C (toggleAndShow): adjust
2578 * RowList.h: Remove class RowList from file leave just a
2581 * RowList.C: delete file
2583 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
2586 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2588 * text3.C (cursorPrevious): adjust
2589 (cursorNext): adjust
2592 * text2.C (redoHeightOfParagraph): adjust
2593 (redoDrawingOfParagraph): adjust
2596 * text.C (breakParagraph): adjust
2597 (insertChar): adjust
2600 * rowpainter.C (RowPainter): adjust
2601 (leftMargin): simplify and adjust
2602 (most rowpainter functions): adjust.
2604 * rowpainter.h: store the row as RowList::iterator not as Row*
2606 * lyxcursor.C (row): taka RowList::iterator as arg
2609 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
2612 2003-04-01 Angus Leeming <leeming@lyx.org>
2614 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
2615 stuff like bool Bool.
2617 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
2619 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
2622 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2624 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
2627 * lyxtext.h (rows): drop one version and leve a const variant that
2628 returns a RowList::iterator.
2630 2003-03-31 Angus Leeming <leeming@lyx.org>
2632 * text.C (fill): ensure that the signature is the same as that in the
2635 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
2637 * text2.C (redoParagraphs): adjust
2638 (updateCounters): adjust
2639 (checkParagraph): adjust
2640 (getColumnNearX): adjust and reformat a bit.
2642 * text.C (top_y): adjust
2644 (leftMargin): adjust
2645 (prepareToPrint): adjust
2647 (getRowNearY): adjust
2649 * lyxtext.h: make rowlist_ mutable.
2651 * RowList.h: add const_iterator
2652 * RowList.C: adjust for RowList::const_iterator.
2654 * text2.C (getCursorX): make it take a RowList::iterator as arg,
2657 2003-03-31 John Levon <levon@movementarian.org>
2660 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
2662 * lyx_main.C: set default fonts from using lyx_gui funcs
2664 * exporter.C: pdf_mode moved from lyxrc
2667 * lyxfunc.C: changes from above
2669 2003-03-31 John Levon <levon@movementarian.org>
2671 * lyx_main.C: fix to the last fix
2673 2003-03-31 John Levon <levon@movementarian.org>
2675 * bufferlist.C: "Load original" -> "Load Original"
2681 * format.C: more Alert cleanups
2683 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2685 * text2.C (removeParagraph): make it take a RowList::iterator as
2687 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
2688 (postRowPaint): make it take a RowList::iterator as arg, adjust.
2690 * text.C (anchor_row): make it take a RowList::iterator as arg,
2692 (computeBidiTables): make it take a const reference to Row instead
2693 of Row pointer, adjust.
2694 (leftMargin): make it take a RowList::iterator as arg, adjust.
2695 (rowBreakPoint): adjust
2696 (breakAgainOneRow): make it take a RowList::iterator as arg,
2698 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
2700 * bufferview_funcs.C (toggleAndShow): adjust
2702 2003-03-30 John Levon <levon@movementarian.org>
2706 * boost-inst.C: moved to support
2708 * several files: changes as a result
2710 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2712 * text2.C (LyXText): adjust.
2714 (removeRow): make it take a RowList::iterator as arg, adjust.
2715 (fullRebreak): adjust
2716 (deleteEmptyParagraphMechanism): adjust
2717 (clearPaint): adjust
2720 * text.C (top_y): adjust
2721 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
2722 (breakAgain): make it take a RowList::iterator as arg, adjust.
2723 (breakParagraph): adjust
2724 (insertChar): adjust
2727 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
2728 need_break_row, and refresh_row.
2730 * text3.C (dispatch): adjust
2732 * text2.C (checkParagraph): adjust
2734 (setCursorFromCoordinates): adjust
2736 * text.C (top_y): adjust
2738 (getRow): make it return a RowList::iterator, adjust
2739 (getRowNearY): make it return a RowList::iterator, adjust
2741 * text2.C (init): adjust
2742 (insertRow): remove function
2743 (insertParagraph): adjust
2744 (redoParagraphs): adjust
2745 (fullRebreak): adjust
2746 (updateCounters): adjust
2748 * text.C (top_y): rewrite to use RowList iterators.
2750 (setHeightOfRow): rewrite to sue RowList iterators.
2751 (appendParagraph): adjust
2752 (breakAgain): adjust
2753 (breakAgainOneRow): adjust
2754 (breakParagraph): adjust
2756 (getRowNearY): adjust, and remove commented code.
2758 * lyxtext.h (firstRow): delete function
2759 (lastRow): delete function
2760 (rows): new function (const and non-const versions.)
2761 (insertRow): delete function
2763 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
2765 2003-03-29 John Levon <levon@movementarian.org>
2767 * BufferView_pimpl.C: always update scrollbar top
2768 because pasting text when we're anchored could mean we
2769 miss an update altogether
2771 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2773 * text2.C (init): use rowlist_.end() and not 0.
2774 (insertRow): change to take a RowList::iterator as arg, adjust
2776 (insertParagraph): change to take a RowList::iterator as arg,
2778 (redoParagraphs): remove some debug msgs.
2780 * text.C (appendParagraph): change to take a RowList::iterator
2781 arg, adjust for this.
2782 (breakAgain): add an assert
2783 (breakAgainOneRow): ditto
2785 2003-03-29 John Levon <levon@movementarian.org>
2787 * text2.C: do not clear selection after inc/decDepth
2790 2003-03-29 John Levon <levon@movementarian.org>
2793 * buffer.C: fix broken strerrors according to Lars
2795 2003-03-29 John Levon <levon@movementarian.org>
2797 * converters.C: more Alert cleanups
2799 2003-03-29 John Levon <levon@movementarian.org>
2801 * bufferview_funcs.C: remove pointless Alert
2803 * buffer.C: fix confusing error message when
2804 a template is chmoded 000
2806 2003-03-29 John Levon <levon@movementarian.org>
2810 * BufferView_pimpl.C: Alert fixes
2814 * tabular-old.C: remove unused table compat reading
2816 2003-03-29 John Levon <levon@movementarian.org>
2821 * lyx_cb.C: more Alert cleanups
2823 * lyxfunc.C: don't allow chktex if not latex document
2825 2003-03-29 John Levon <levon@movementarian.org>
2829 * buffer.C: warnings pushed down from support/,
2832 2003-03-29 John Levon <levon@movementarian.org>
2834 * lyxfunc.C: safety check for C-r (revert)
2836 2003-03-29 John Levon <levon@movementarian.org>
2839 * bufferlist.C: several UI fixes using Alert::prompt.
2840 Fix the pointless looping quit code. Fix stupid revert
2845 * lyx_cb.C: use Alert::prompt
2847 * lyx_main.C: remove a silly question
2849 * lyxfunc.C: remove a couple of silly questions,
2852 2003-03-28 John Levon <levon@movementarian.org>
2854 * text2.C: fix bug 974 (End on empty par)
2856 2003-03-28 John Levon <levon@movementarian.org>
2858 * BufferView_pimpl.C:
2860 * lfuns.h: remove do-nothing math greek lfuns
2862 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2864 * lyxgluelength.h (isValidGlueLength): add default arg on
2865 parameter 2. Remove default arg from friend in class.
2867 * lyxlength.h (isValidLength): add default arg on parameter 2.
2868 Remove default arg from friend in class.
2870 * text2.C (LyXText): adjust, initialize refresh_row.
2874 (insertParagraph): adjst
2875 (redoParagraphs): adjust
2876 (fullRebreak): adjust
2877 (updateCounters): adjust
2878 (deleteEmptyParagraphMechanism): first attempt at fixing a
2881 * text.C (top_y): adjust
2882 (setHeightOfRow): adjust
2884 (getRowNearY): adjust
2886 * lyxtext.h: include RowList.h
2887 (~LyXText): not needed anymore, deleted.
2888 (firstRow): modify for RowList
2889 (lastRow): new function
2890 Delete firstrow and lastrow class variables, add a Rowlist
2891 rowlist_ class variable.
2893 * lyxrow.C (lastPos): use empty() and not !size() to check if a
2896 * RowList.C (insert): fix case where it == begin().
2898 2003-03-26 Angus Leeming <leeming@lyx.org>
2900 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2901 the thesaurus dialog.
2903 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2905 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2907 * RowList.[Ch]: new files
2909 * ParagraphList.C (erase): handle the case where it == begin
2912 2003-03-25 John Levon <levon@movementarian.org>
2916 * aspell.C: add new aspell support
2919 * lyxrc.C: Make use_pspell be use_spell_lib. Always
2922 2003-03-25 Angus Leeming <leeming@lyx.org>
2925 * LyXAction.C (init): new LFUN_INSET_INSERT.
2927 * BufferView_pimpl.C (dispatch): split out part of the
2928 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2930 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2933 2003-03-25 Angus Leeming <leeming@lyx.org>
2935 * lyxfunc.C (dispatch): changes to the Dialogs interface.
2937 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
2940 * text3.C: remove useless row->height(0)
2942 2003-03-25 John Levon <levon@movementarian.org>
2946 * text3.C: rename the refreshing stuff to better names
2948 2003-03-24 John Levon <levon@movementarian.org>
2950 * BufferView_pimpl.h:
2951 * BufferView_pimpl.C: update layout choice on a mouse
2954 2003-03-23 John Levon <levon@movementarian.org>
2956 * Makefile.am: fix commandtags.h reference
2958 2003-03-22 John Levon <levon@movementarian.org>
2960 * BufferView_pimpl.C:
2965 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2967 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
2970 * text.C: take the rtl methods out of line
2972 2003-03-21 André Pönitz <poenitz@gmx.net>
2974 * metricsinfo.[Ch]: new files containing structures to be passed around
2975 during the two-phase-drawing...
2977 2003-03-21 André Pönitz <poenitz@gmx.net>
2979 * lyxtextclass.C: read 'environment' tag.
2981 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
2983 * text2.C (removeRow): fix bug 964
2985 2003-03-20 John Levon <levon@movementarian.org>
2989 * text2.C: paint cleanups. Inset::update() dropped font
2992 2003-03-19 John Levon <levon@movementarian.org>
2994 * lyxfunc.C: only fitcursor/markDirty if available()
2996 2003-03-19 John Levon <levon@movementarian.org>
2998 * commandtags.h: rename to ...
3000 * lfuns.h: ... this, and renumber / cleanup
3002 2003-03-19 John Levon <levon@movementarian.org>
3004 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3005 fit the cursor after an lfun
3009 * BufferView_pimpl.h:
3010 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3012 * LyXAction.C: layout-character should have ReadOnly
3014 * ParagraphParameters.C:
3016 * bufferview_funcs.C:
3023 * undo_funcs.C: changes from above
3025 2003-03-18 John Levon <levon@movementarian.org>
3027 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3028 remove it from update()
3030 * lyxfunc.C: update layout choice after an lfun
3032 * text3.C: remove extra updateLayoutChoice()s
3034 2003-03-18 John Levon <levon@movementarian.org>
3036 * text.C: top_y change means full repaint, fix
3037 a drawing bug with cursor movement
3039 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3043 * text2.C: anchor row on setCursor
3045 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
3047 * lyxtext.h: remove almost all mutable keywords
3050 * text3.C: remove const keywords accordingly
3052 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3054 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3056 (TeXEnvironment): ditto
3059 2003-03-17 John Levon <levon@movementarian.org>
3061 * text.C (rowBreakPoint): remove attempt to fix displayed
3062 math insets inside a manual label
3064 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3066 * lyxtext.h: remove BufferView* as first arg from almost all class
3068 * other files: adjust.
3070 2003-03-17 John Levon <levon@movementarian.org>
3074 * text2.C: more paint cleanups
3076 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3079 * rowpainter.C: remove "smart" background painting code
3081 2003-03-16 John Levon <levon@movementarian.org>
3086 * text3.C: add helper functions for setting refresh_row/y
3088 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
3090 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3091 newline inset which *can* get inserted in the pass_thru layouts.
3092 This is primarily for literate documents.
3094 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
3096 * buffer.C: increment LYX_FORMAT to 223
3098 2003-03-14 André Pönitz <poenitz@gmx.net>
3100 * textclass.h: prepare for environment handling, ws changes
3101 * lyxlayout.C: read latexheader and latexfooter tags
3103 2003-03-14 John Levon <levon@movementarian.org>
3105 * text2.C: rewrite ::status() a bit
3107 2003-03-13 John Levon <levon@movementarian.org>
3109 * lyxtext.h: add some docs
3111 2003-03-13 John Levon <levon@movementarian.org>
3116 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3118 2003-03-13 John Levon <levon@movementarian.org>
3120 * text3.C: fix appendix redrawing
3122 2003-03-13 John Levon <levon@movementarian.org>
3124 * text.C (setHeightOfRow):
3126 * rowpainter.C: make appendix mark have the text
3127 "Appendix" so the user knows what it is
3130 * LColor.C: s/appendixline/appendix/ from above
3132 2003-03-13 John Levon <levon@movementarian.org>
3134 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3136 * text.C: fix a getChar(pos) bug properly
3138 2003-03-13 Angus Leeming <leeming@lyx.org>
3141 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3142 Probably only temporary. Let's see how things pan out.
3144 * BufferView.C (unlockInset):
3145 * BufferView_pimpl.C (fitCursor):
3146 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3148 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3149 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3151 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3152 new functions that convert ParagraphParameters to and from a string.
3154 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3155 BufferView::Pimpl's dispatch.
3156 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3158 2003-03-13 André Pönitz <poenitz@gmx.net>
3162 * factory.C: make it aware of InsetEnv
3164 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3166 * text2.C (setCursor): never ask for one past last
3167 (setCursor): add some debugging messages.
3169 * text.C (singleWidth): never ask for one past last
3170 (singleWidth): ditto
3172 (rightMargin): ditto
3173 (rowBreakPoint): ditto
3174 (setHeightOfRow): ditto
3175 (prepareToPrint): ditto
3177 * rowpainter.C (paintBackground): never ask for one past last
3178 (paintText): never ask for one past last
3180 * paragraph_pimpl.C (getChar): make the assert stricter, never
3181 allow the one past last pos to be taken
3183 * paragraph.C (getChar): ws changes only
3185 * lyxrow.C (nextRowIsAllInset): never ask for one past last
3186 (numberOfSeparators): ditto
3187 (numberOfHfills): ditto
3189 2003-03-12 John Levon <levon@movementarian.org>
3195 * paragraph_funcs.C: fix per-buffer authorlists
3197 2003-03-12 John Levon <levon@movementarian.org>
3199 * text.C: fix newline in right address
3201 2003-03-12 Angus Leeming <leeming@lyx.org>
3203 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3204 duplicate those in LyXFunc::dispatch.
3208 * ToolbarDefaults.C:
3209 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3210 Add LFUN_FONTFREE_UPDATE.
3212 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3213 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3215 * bufferview_func.[Ch]: several new functions to facilliate
3216 transfer of data to and from the character dialog.
3218 2003-03-12 John Levon <levon@movementarian.org>
3223 * paragraph_funcs.C:
3224 * paragraph_pimpl.C:
3228 * text3.C: remove META_NEWLINE in favour of an inset
3231 * rowpainter.C: remove paintNewline (done by inset)
3233 2003-03-12 John Levon <levon@movementarian.org>
3235 * paragraph_pimpl.C: complain about bad getChar()s
3236 for a while at least
3238 2003-03-12 John Levon <levon@movementarian.org>
3241 * buffer.C: move paragraph read into a separate function,
3242 a little renaming to reflect that.
3245 * bufferparams.C: remove the author_ids map, not necessary now
3248 * factory.C: moved Buffer::readInset to here
3250 * paragraph_funcs.h:
3251 * paragraph_funcs.C: readParagraph free function moved from
3254 * tabular.C: name change
3256 2003-03-12 John Levon <levon@movementarian.org>
3259 * ParagraphParameters.C: move par params input to
3262 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3263 behave like a normal read from the stream wrt reading
3264 a line vs. a \\token
3266 2003-03-12 John Levon <levon@movementarian.org>
3269 * ParagraphParameters.h:
3270 * ParagraphParameters.C: move output code to a
3273 2003-03-12 John Levon <levon@movementarian.org>
3275 * BufferView.C (insertLyXFile):
3278 * tabular.C: use a parlist iterator for creating the
3281 2003-03-12 John Levon <levon@movementarian.org>
3283 * buffer.C: make current_change static local not
3286 2003-03-12 John Levon <levon@movementarian.org>
3288 * buffer.C: fix insertStringAsLines for change tracking
3290 2003-03-12 John Levon <levon@movementarian.org>
3297 * bufferparams.C: move author list into params. Rename some
3298 functions. Move the header reading into a separate token
3299 loop. Move the header token reading into BufferParams.
3301 2003-03-12 John Levon <levon@movementarian.org>
3303 * changes.C: put debug inside lyxerr.debugging() checks
3305 2003-03-11 André Pönitz <poenitz@gmx.net>
3307 * factory.C: make it aware of InsetHFill
3309 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3311 * buffer.C (latexParagraphs): move function from here...
3312 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3315 2003-03-10 Angus Leeming <leeming@lyx.org>
3317 * LyXAction.C (init): fix bug in poplating array with multiple entries
3318 with the same LFUN (spotted by JMarc).
3320 2003-03-10 John Levon <levon@movementarian.org>
3323 * text2.C: move getColumnNearX() near its
3326 2003-03-10 John Levon <levon@movementarian.org>
3328 * text.C: fix break before a minipage
3330 2003-03-10 John Levon <levon@movementarian.org>
3332 * text.C: fix the last commit
3334 2003-03-09 John Levon <levon@movementarian.org>
3338 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3339 bug 365 (don't break before insets unless needed). Don't
3340 return a value > last under any circumstances.
3342 2003-03-09 Angus Leeming <leeming@lyx.org>
3344 * BufferView_pimpl.C (trackChanges, dispatch): call
3345 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3347 2003-03-09 Angus Leeming <leeming@lyx.org>
3349 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3350 than Dialogs::showAboutlyx().
3352 2003-03-09 Angus Leeming <leeming@lyx.org>
3354 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3355 than Dialogs::showTabularCreate().
3357 2003-03-09 John Levon <levon@movementarian.org>
3361 * text2.C: 3rd arg to nextBreakPoint was always the same.
3364 2003-03-08 John Levon <levon@movementarian.org>
3371 * text2.C: Remove the "main" bit from the "main body"
3374 2003-03-08 John Levon <levon@movementarian.org>
3376 * text.C (leftMargin): The left margin of an empty
3377 manual label paragraph should not include the label width
3380 * text.C (prepareToPrint): don't attempt to measure hfills
3381 for empty manual label paragraphs - the answer should be 0
3383 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3385 * CutAndPaste.C: remove commented code and reindent.
3387 2003-03-08 John Levon <levon@movementarian.org>
3390 * lyxfunc.C: move reloadBuffer()
3393 * BufferView.C: to here
3395 * lyxvc.C: add comment
3398 * vc-backend.C: call bv->reload() to avoid
3399 getStatus() check on MENURELOAD
3401 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
3403 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3404 to an old format .dep file.
3406 2003-03-07 Angus Leeming <leeming@lyx.org>
3408 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3409 when the LFUN_MOUSE_RELEASE should have been handled by
3410 inset->localDispatch.
3412 2003-03-07 Angus Leeming <leeming@lyx.org>
3414 * BufferView_pimpl.C (dispatch):
3415 * LyXAction.C (init):
3416 * ToolbarDefaults.C (init):
3418 * lyxfunc.C (getStatus):
3419 remove LFUN_INSET_GRAPHICS.
3421 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3423 2003-03-07 Angus Leeming <leeming@lyx.org>
3426 * LyXAction.C (init):
3427 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3429 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3432 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3434 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3435 localDispatch method LFUN_INSET_DIALOG_UPDATE.
3437 2003-03-07 Angus Leeming <leeming@lyx.org>
3439 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3442 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3444 * ParagraphList.C (front): new function
3447 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3449 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3450 and top_row_offset_. removed var first_y.
3452 * text2.C (LyXText, removeRow):
3454 * BufferView_pimpl.C:
3455 use these methods instead of using first_y
3457 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3459 * text2.C (pasteSelection): adjust for checkPastePossible
3461 * CutAndPaste.C: remove Paragraph * buf and replace with
3462 ParagraphList paragraphs.
3463 (DeleteBuffer): delete
3464 (cutSelection): change the tc type to textclass_type
3465 (copySelection): change the tc type to textclass_type
3466 (copySelection): adjust for ParagraphList
3467 (pasteSelection): change the tc type to textclass_type
3468 (pasteSelection): adjust for Paragraphlist
3469 (nrOfParagraphs): simplify for ParagraphList
3470 (checkPastePossible): simplify for ParagraphList
3471 (checkPastePossible): remove unused arg
3473 * ParagraphList.C (insert): handle the case where there are no
3476 * CutAndPaste.h: make CutAndPaste a namespace.
3478 * text3.C (dispatch): adjust
3480 * text.C (breakParagraph): add a ParagraphList as arg
3482 * paragraph_funcs.C (breakParagraph): change to take a
3483 BufferParams and a ParagraphList as args.
3484 (breakParagraphConservative): ditto
3485 (mergeParagraph): ditto
3486 (TeXDeeper): add a ParagraphList arg
3487 (TeXEnvironment): ditto
3490 * buffer.C (readLyXformat2): adjust
3491 (insertStringAsLines): adjust
3492 (latexParagraphs): adjust
3494 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3495 (cutSelection): adjust
3496 (pasteSelection): adjust
3498 * BufferView_pimpl.C (insertInset): adjust
3500 2003-03-05 Angus Leeming <leeming@lyx.org>
3503 * LyXAction.C (init):
3504 * BufferView_pimpl.C (dispatch):
3505 * lyxfunc.C (getStatus):
3506 remove LFUN_CHILD_INSERT.
3508 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3510 2003-03-05 Angus Leeming <leeming@lyx.org>
3513 * LyXAction.C (init):
3514 * src/factory.C (createInset):
3515 * lyxfunc.C (getStatus):
3516 * text3.C (dispatch):
3517 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3519 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3521 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
3523 * ParagraphList.C (insert): handle insert right before end()
3524 (erase): fix cases where it can be first or last paragraph.
3526 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3528 * paragraph_funcs.C (TeXEnvironment): remove all usage of
3529 Paragraph::next and Paragraph::previous
3532 * text.C (breakParagraph): adjust
3534 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
3535 BufferParams& as arg.
3536 (breakParagraph): use ParagraphList::insert
3537 (breakParagraphConservative): take a Buffer* instead of a
3538 BufferParams& as arg.
3539 (breakParagraphConservative): use ParagraphList::insert.
3541 * buffer.C (insertStringAsLines): un-const it
3542 (insertStringAsLines): adjust
3544 * ParagraphList.C (insert): new function
3546 * CutAndPaste.C (pasteSelection): adjust
3548 * text.C (backspace): adjust
3550 * tabular.C (SetMultiColumn): adjust
3552 * CutAndPaste.C (cutSelection): adjust
3553 (pasteSelection): adjust
3555 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
3556 Buffer const * as arg
3558 * ParagraphList.C (erase): new function
3559 * paragraph_funcs.C (mergeParagraph): use it
3560 (mergeParagraph): make it take a Buffer* instead of a
3561 BufferParams* as arg
3563 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
3565 (breakParagraphConservative): ditto
3567 * paragraph.h: remove the breakParagraph friend
3569 * paragraph.C (eraseIntern): new function
3570 (setChange): new function
3572 * paragraph_funcs.C (mergeParagraph): make it take a
3573 ParagraphList::iterator instead of a Paragraph *, adjust
3576 * paragraph.h: move an #endif so that the change tracking stuff
3577 also works in the NO_NEXT case.
3579 2003-03-04 Angus Leeming <leeming@lyx.org>
3582 * LyXAction.C: new LFUN_INSET_MODIFY.
3584 * BufferView_pimpl.C (dispatch): if an inset is found to be open
3585 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
3587 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3589 * several files: ws changes only
3591 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
3592 (TeXEnvironment): ditto
3595 * buffer.C (makeLaTeXFile): adjust
3596 (latexParagraphs): make it take ParagraphList::iterator as args
3598 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3600 * buffer.C (latexParagraphs): adjust
3602 * paragraph.C (TeXOnePar): move function...
3603 (optArgInset): move function...
3604 (TeXEnvironment): move function...
3605 * paragraph_pimpl.C (TeXDeeper): move function...
3606 * paragraph_funcs.C: ...here
3608 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
3610 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3612 * buffer.C (readInset): remove compability code for old Figure and
3615 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3617 * buffer.C: ws changes
3620 * BufferView_pimpl.C: ditto
3623 * bufferlist.h: ditto
3627 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3629 * converter.[Ch]: split into itself +
3632 * Makefile.am: += graph.[Ch] + format.[Ch]
3639 * lyxrc.C: added #include "format.h"
3641 2003-02-27 Angus Leeming <leeming@lyx.org>
3643 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
3646 * factory.C (createInset): add "label" to the factory.
3648 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
3649 string and do no more.
3651 2003-02-27 Angus Leeming <leeming@lyx.org>
3654 * LyXAction.C (init):
3655 * factory.C (createInset):
3656 * BufferView_pimpl.C (dispatch):
3657 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3659 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
3661 * lyxfunc.C (dispatch):
3662 * text3.C (dispatch): pass name to params2string.
3664 2003-02-26 Angus Leeming <leeming@lyx.org>
3666 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
3668 Rearrange the ~includes. Strip out the unnecessary ones.
3670 * factory.C (createInset): reformat.
3671 create new insets for the various LFUN_XYZ_APPLY lfuns.
3673 2003-02-26 John Levon <levon@movementarian.org>
3676 * lyxrow.C: add isParStart,isParEnd helpers
3678 * paragraph.h: make isInserted/DeletedText take refs
3680 * paragraph_funcs.h:
3681 * paragraph_funcs.C: remove #if 0'd code
3686 * text.C: use lyxrow helpers above.
3687 Move draw and paint routines to RowPainter.
3688 Make several methods use refs not pointers.
3689 Make backgroundColor() const.
3690 Add markChangeInDraw(), isInInset().
3691 Merge changeRegionCase into changeCase.
3692 Make workWidth() shouldn't-happen code into an Assert.
3695 * rowpainter.C: new class for painting a row.
3698 * vspace.C: make inPixels take a ref
3700 2003-02-26 Angus Leeming <leeming@lyx.org>
3702 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
3705 2003-02-25 John Levon <levon@movementarian.org>
3707 * ispell.C: give the forked command a more accurate name
3709 2003-02-22 John Levon <levon@movementarian.org>
3712 * toc.C: make TocItem store an id not a Paragraph *
3715 2003-02-21 Angus Leeming <leeming@lyx.org>
3717 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
3718 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
3719 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
3720 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
3721 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
3722 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
3724 * BufferView_pimpl.C (dispatch):
3725 * LyXAction.C (init):
3726 * factory.C (createInset):
3727 * lyxfunc.C (getStatus, dispatch):
3728 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
3730 2003-02-21 Angus Leeming <leeming@lyx.org>
3732 * BufferView_pimpl.C (MenuInsertLyXFile):
3733 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
3734 * lyxfunc.C (menuNew, open, doImport):
3735 no longer pass a LyXView & to fileDlg.
3737 2003-02-21 Angus Leeming <leeming@lyx.org>
3739 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
3740 * LyXAction.C: change, BIBKEY to BIBITEM.
3741 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
3742 Change InsetBibKey to InsetBibitem.
3743 Change BIBKEY_CODE to BIBITEM_CODE.
3744 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3745 * factory.C: replace insetbib.h with insetbibitem.h.
3746 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3747 * paragraph.C: replace insetbib.h with insetbibitem.h.
3748 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
3749 Change bibkey() to bibitem().
3750 * text.C: remove insetbib.h.
3751 * text2.C: replace insetbib.h with insetbibitem.h.
3752 change bibkey() to bibitem().
3753 * text3.C: remove insetbib.h.
3754 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
3756 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3758 * lyxrc.C (output): enclose user email in quotes (in case there are
3761 2003-02-18 John Levon <levon@movementarian.org>
3763 * buffer.h: add std::
3765 2003-02-17 John Levon <levon@movementarian.org>
3771 * pspell.C: reworking. Especially in ispell, a large
3772 number of clean ups and bug fixes.
3774 * lyxfunc.C: fix revert to behave sensibly
3776 2003-02-17 André Pönitz <poenitz@gmx.net>
3779 * commandtags.h: new LFUN_INSERT_BIBKEY
3789 * paragraph_func.C: remove special bibkey handling
3791 2003-02-17 John Levon <levon@movementarian.org>
3793 * text.C (Delete): fix case where delete at the end of
3794 the very first paragraph would not merge the pars
3796 2003-02-17 John Levon <levon@movementarian.org>
3798 * lyxrow.C: fix lastPrintablePos()
3800 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3802 * bufferparams.C (writeLaTeX): add a std:here
3804 * buffer.C: and remove a using directive there
3806 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3808 * buffer.C (makeLaTeXFile): move the code that generates the
3811 * bufferparams.C (writeLaTeX): ... in this new method
3813 * LaTeXFeatures.C (getEncodingSet): make const
3814 (getLanguages): make const
3816 * MenuBackend.C (binding): returns the binding associated to this
3818 (add): sets the status of each item by calling getStatus. Adds
3820 (read): add support for OptSubMenu
3821 (expand): remove extra separator at the end of expanded menu
3823 2003-02-15 John Levon <levon@movementarian.org>
3826 * BufferView_pimpl.C:
3828 * bufferlist.C: remove pointless BufferStorage bloat. Remove
3829 inset code that had no actual effect. Remove unneeded status
3832 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3834 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
3837 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
3839 * text.C (drawLengthMarker): also draw an arrow marker for
3840 symbolic lengths (medskip...)
3842 2003-02-14 John Levon <levon@movementarian.org>
3845 * tabular.C: better method names
3847 2003-02-14 John Levon <levon@movementarian.org>
3849 * BufferView_pimpl.C:
3854 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
3855 it's a more accurate name. Remove some pointless uses.
3857 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3859 * text2.C (LyXText): change order of initilizers to shut off
3862 2003-02-14 John Levon <levon@movementarian.org>
3864 * buffer.C: use ParIterator for getParFromID()
3868 * paragraph_pimpl.h:
3869 * paragraph_pimpl.C: remove unused getParFromID()
3871 2003-02-14 John Levon <levon@movementarian.org>
3873 * buffer.C: remove some very old #if 0'd parse code
3875 2003-02-13 John Levon <levon@movementarian.org>
3879 * text2.C: move hfillExpansion(), numberOfSeparators(),
3880 rowLast(), rowLastPrintable(), numberofHfills(),
3881 numberOfLabelHfills() ...
3884 * lyxrow.C: ... to member functions here.
3889 * text.C: remove LyXText::beginningOfMainBody(), and call
3890 p->beginningOfMainBody() directly. Move the check for
3891 LABEL_MANUAL into the latter.
3898 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3904 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3905 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3907 2003-02-13 John Levon <levon@movementarian.org>
3909 * CutAndPaste.C: remove debug
3911 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3913 * paragraph.C (asString): remove two unused variables
3915 * lyxtextclass.C (readTitleType):
3917 (LyXTextClass): handle new members titletype_ and titlename_
3919 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3921 2003-02-09 John Levon <levon@movementarian.org>
3924 * buffer.C: replace hand-coded list with a map for the dep clean
3926 2003-02-08 John Levon <levon@movementarian.org>
3928 * LaTeX.C: consolidate code into showRunMessage() helper
3930 2003-02-08 John Levon <levon@movementarian.org>
3935 * BufferView.C: change setSelectionOverString() to setSelectionRange()
3936 and pass the size in explicitly
3938 * BufferView_pimpl.h:
3939 * BufferView_pimpl.C:
3941 * BufferView.C: add getCurrentChange()
3943 * BufferView_pimpl.h:
3944 * BufferView_pimpl.C: handle change lfuns
3946 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3947 for changes. Mark pasted paragraphs as new.
3949 * support/lyxtime.h:
3950 * support/lyxtime.C:
3951 * DepTable.C: abstract time_t as lyx::time_type
3954 * LColor.C: add colours for new text, deleted text, changebars
3956 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3957 package use "usenames" option.
3961 * LyXAction.C: add change lfuns
3965 * author.C: author handling
3968 * buffer.C: add a per-buffer author list, with first entry as
3969 current author. Handle new .lyx tokens for change tracking. Output
3970 author list to .lyx file. Output dvipost stuff to .tex preamble.
3971 Bump lyx format to 222.
3974 * bufferlist.C: add setCurrentAuthor() to reset current author details
3978 * bufferparams.C: add param for tracking
3980 * bufferview_funcs.C: output change info in minibuffer
3984 * changes.C: add change-tracking structure
3987 * debug.C: add CHANGES debug flag
3990 * lyxfind.C: add code for finding the next change piece
3993 * lyxrc.C: add user_name and user_email
3996 * lyxrow.C: add a metric for the top of the text line
3999 * text.C: implement accept/rejectChange()
4002 * text.C: paint changebars. Paint new/deleted text in the chosen
4003 colours. Strike through deleted text.
4007 * paragraph_pimpl.h:
4008 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4009 in the current change to the insert functions. Rework erase to
4010 mark text as deleted, adding an eraseIntern() and a range-based
4011 erase(). Implement per-paragraph change lookup and
4014 * paragraph_funcs.C: Fixup paste for change tracking.
4016 * tabular.C: mark added row/columns as new.
4018 * text.C: fix rowLast() to never return -1. Don't allow
4019 spellchecking of deleted text. Track transpose changes. Don't
4020 allow paragraph break or merge where appropriate.
4022 * text2.C: leave cursor at end of selection after a cut.
4024 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4026 * text.C (getLengthMarkerHeight):
4027 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4028 visible on screen too.
4030 2003-02-07 John Levon <levon@movementarian.org>
4032 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4034 2003-02-05 Angus Leeming <leeming@lyx.org>
4036 * lyxserver.C (read_ready): revert my patch of 11 September last year
4037 as it sends PC cpu through the roof. Presumably this means that
4038 the lyxserver will no longer run on an Alpha...
4040 2003-01-30 Angus Leeming <leeming@lyx.org>
4042 * factory.C (createInset): create an InsetCommandParam of type "index"
4043 and use it to 'do the right thing'.
4045 * text2.C (getStringToIndex): ensure that cursor position is always
4046 reset to the reset_cursor position.
4048 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4050 * lyxfunc.C (getStatus): "buffer-export custom" should never be
4053 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
4057 * lyxfunc.C: Output messages with identical spelling, punctuation,
4060 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
4062 * MenuBackend.C (expandFormats): List only viewable export formats
4065 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4068 * lyxfunc.C (getStatus): Make sure that formats other than
4069 "fax" can also be disabled
4071 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4073 * text3.C (dispatch): put the lfuns that insert insets in 3
4074 groups, and call doInsertInset with appropriate arguments.
4075 (doInsertInset): new function, that creates an inset and inserts
4076 it according to some boolean parameters.
4078 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4080 * buffer.C (readFile): remember to pass on 'par' when calling
4081 readFile recursively.
4083 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4085 * MenuBackend.C (expandFormats): add "..." to import formats.
4087 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
4089 * paragraph.C (asString): Remove XForms RTL hacks.
4091 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
4092 * buffer.C: fix typo
4094 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
4096 * Makefile.am (LIBS): delete var
4097 (lyx_LDADD): add @LIBS@ here instead.
4099 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
4101 * Clarify the meaning of "wheel mouse jump"
4103 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4105 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4108 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4110 * importer.C (Loaders): do not preallocate 3 elements in the
4111 vector, since one ends up with 6 elements otherwise
4113 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4115 * DepTable.C (write): write the file name as last element of the
4116 .dep file (because it may contain spaces)
4117 (read): read info in the right order
4119 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4121 * paragraph_pimpl.C (simpleTeXBlanks):
4122 (simpleTeXSpecialChars):
4123 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4125 * tabular.C (latex): add some missing case statements. Reindent.
4127 * MenuBackend.C (expandToc): remove unused variable.
4129 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
4138 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4141 2003-01-05 John Levon <levon@movementarian.org>
4144 * BufferView.C: add getEncoding()
4147 * kbsequence.C: do not store last keypress
4150 * lyxfunc.C: store last keypress here instead. Pass encoding
4153 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4155 * lyx_main.C (init): remove annoying error message when following
4156 symbolic links (bug #780)
4158 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4160 * text.C (insertChar):
4161 * lyxrc.C (getDescription): remove extra spaces
4163 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4165 * lyxrc.C (getDescription): remove extra spaces
4167 2002-12-20 John Levon <levon@movementarian.org>
4169 * text3.C: hack fix for page up/down across tall rows
4171 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4173 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4176 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4178 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4179 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4180 thesaurus is not compiled in
4182 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
4184 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
4186 2002-12-16 Angus Leeming <leeming@lyx.org>
4189 * lyx_main.C (init): remove override_x_deadkeys stuff.
4191 2002-12-12 John Levon <levon@movementarian.org>
4193 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4194 insert. Only remove shift modifier under strict
4197 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
4199 * MenuBackend.C (expandToc): fix crash.
4201 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4203 * MenuBackend.C (expandToc): gettext on float names.
4205 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4207 * lyxlength.[Ch]: set default unit to UNIT_NONE,
4208 implement bool empty() [bug 490]
4210 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4212 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4214 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4216 * several files: ws changes
4218 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4220 * text2.C (setCounter): clean up a bit, use boost.format.
4221 (updateCounters): initialize par upon declaration.
4223 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4224 if the layout exists. We do not just store the layout any more.
4225 (SwitchLayoutsBetweenClasses): use boost.format
4227 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4229 * converter.C (convert): if from and to files are the same, use a
4230 temporary files as intermediary
4232 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4235 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4237 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
4239 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4241 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4243 * tabular.C (asciiPrintCell): use string(size, char) instead of
4246 * sgml.C (openTag): fix order of arguments to string constructor
4249 * lyxfunc.C (dispatch): use boost.format
4251 * lots of files: change "c" -> 'c'
4253 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
4255 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4257 2002-11-25 Angus Leeming <leeming@lyx.org>
4259 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4261 * lyx_main.C (init): compile fix.
4263 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4265 * lyx_cb.C (start): boost.formatify
4266 do not include <iostream>
4268 * lengthcommon.C: ws only
4270 * boost-inst.C,BoostFormat.h: add more explict instantations
4272 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
4274 * lots of files: handle USE_BOOST_FORMAT
4276 2002-11-21 John Levon <levon@movementarian.org>
4278 * pspell.C: fix compile
4280 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4282 * lyxfunc.C (dispatch): use boost::format
4286 * lyxfont.C (stateText): use boost::format
4288 * lyx_main.C (LyX): use boost::format
4290 (queryUserLyXDir): ditto
4293 (typedef boost::function): use the recommened syntax.
4295 * importer.C (Import): use boost::format
4297 * debug.C (showLevel): use boost::format
4299 * converter.C (view): use boost::format
4304 * bufferview_funcs.C (currentState): use boost::format
4306 * bufferlist.C (emergencyWrite): use boost::format
4308 * buffer.C (readLyXformat2): use boost::format
4309 (parseSingleLyXformat2Token): ditto
4311 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4313 * LaTeX.C (run): use boost::format
4315 * Chktex.C (scanLogFile): use boost::format
4317 * BufferView_pimpl.C (savePosition): use boost::format
4318 (restorePosition): ditto
4319 (MenuInsertLyXFile): ditto
4321 * BoostFormat.h: help file for explicit instation.
4323 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
4325 * tabular.C (latex): Support for block alignment in fixed width
4328 2002-11-17 John Levon <levon@movementarian.org>
4330 * BufferView_pimpl.C:
4332 * lyxfunc.C: split filedialog into open/save
4334 2002-11-08 Juergen Vigna <jug@sad.it>
4336 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4337 by my last patch (hopefully).
4339 2002-11-08 John Levon <levon@movementarian.org>
4348 * toc.C: ParConstIterator, and use it (from Lars)
4350 2002-11-07 Ben Stanley <bds02@uow.edu.au>
4352 * lyxtextclass.[Ch]: revise and add doxygen comments
4354 2002-11-07 John Levon <levon@movementarian.org>
4356 * text.C: fix progress value for spellchecker
4358 * toc.C: fix navigate menu for insetwrap inside minipage
4360 * paragraph_funcs.C: added FIXME for suspect code
4362 2002-11-07 John Levon <levon@movementarian.org>
4364 * BufferView_pimpl.C: fix redrawing of insets
4367 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4369 * text2.C (updateCounters): fix bug 668
4371 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
4373 * text3.C (dispatch): Do not make the buffer dirty when moving the
4376 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4378 * vc-backend.C: STRCONV
4381 * text2.C (setCounter): STRCONV
4383 * paragraph.C (asString): STRCONV
4385 * lyxlength.C (asString): STRCONV
4386 (asLatexString): ditto
4388 * lyxgluelength.C (asString): STRCONV
4389 (asLatexString): ditto
4391 * lyxfunc.C (dispatch): STRCONV
4394 * lyxfont.C (stateText): STRCONV
4396 * importer.C (Import): STRCONV
4398 * counters.C (labelItem): STRCONV
4399 (numberLabel): ditto
4400 (numberLabel): remove unused ostringstream o
4405 * bufferview_funcs.C (currentState): STRCONV
4407 * buffer.C (readFile): STRCONV
4408 (asciiParagraph): ditto
4409 (makeLaTeXFile): ditto
4411 * Spacing.C (writeEnvirBegin): STRCONV
4413 * LaTeXFeatures.C (getLanguages): STRCONV
4414 (getPackages): ditto
4416 (getBabelOptions): ditto
4417 (getTClassPreamble): ditto
4418 (getLyXSGMLEntities): ditto
4419 (getIncludedFiles): ditto
4423 (scanAuxFile): ditto
4426 * LString.h: add the STRCONV macros
4428 * BufferView_pimpl.C (savePosition): STRCONV
4429 (restorePosition): ditto
4430 (MenuInsertLyXFile): ditto
4432 * vc-backend.C (scanMaster): change from submatch[...] to
4435 * funcrequest.C: include config.h
4437 * factory.C: include config.h
4439 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4441 * box.C: include config.h
4443 * LaTeX.C (scanAuxFile): change from submatch[...] to
4447 2002-10-25 Angus Leeming <leeming@lyx.org>
4449 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4451 * ispell.[Ch] (setError): new method.
4452 * ispell.C (c-tor): move out child process into new class LaunchIspell.
4453 Use setError() insetead of goto END.
4455 * lyx_cb.C (AutoSave): move out child process into new class
4458 2002-10-30 John Levon <levon@movementarian.org>
4460 * text3.C: make start appendix undoable
4462 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
4464 * lyxlength.C (inPixels): Fix returned value.
4466 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4469 2002-10-24 Angus Leeming <leeming@lyx.org>
4471 * lyxgluelength.h: no need to forward declare BufferParams
4472 or BufferView, so don't.
4474 2002-10-21 John Levon <levon@movementarian.org>
4476 * BufferView.C: menuUndo ->undo, redo
4478 * BufferView.h: document, remove dead, make some methods private
4480 * paragraph_funcs.h:
4481 * paragraph_funcs.C:
4482 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4487 * sgml.C: move sgml open/close tag into sgml.C
4489 * bufferview_funcs.h: unused prototype
4492 * lyxfunc.C: remove unused
4495 * text.C: remove unused
4497 2002-10-21 John Levon <levon@movementarian.org>
4501 * BufferView_pimpl.h:
4502 * BufferView_pimpl.C: fix mouse wheel handling based on
4503 patch from Darren Freeman
4505 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
4507 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4509 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
4511 * lyxlength.C (inPixels): Fix hanfling of negative length.
4512 Fix LyXLength::MU case.
4514 2002-10-16 John Levon <levon@movementarian.org>
4516 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4518 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4520 * converter.C (view): add support for $$i (file name) and $$p
4521 (file path) for the viewer command. If $$i is not specified, then
4522 it is appended to the command (for compatibility with old syntax)
4524 2002-10-14 Juergen Vigna <jug@sad.it>
4526 * undo_funcs.C (textHandleUndo): alter the order in which the
4527 new undopar is added to the LyXText, as we have to set first
4528 the right prev/next and then add it as otherwise the rebuild of
4529 LyXText is not correct. Also reset the cursor to the right paragraph,
4530 with this IMO we could remove the hack in "redoParagraphs()".
4532 2002-10-09 Angus Leeming <leeming@lyx.org>
4534 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
4535 to turn off an optimisation if a new inset is to be inserted.
4537 2002-10-11 André Pönitz <poenitz@gmx.net>
4539 * lyxtext.h: make some functions public to allow access
4540 from inset/lyxtext for handling LFUN_PRIOR/NEXT
4542 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4544 * text3.C (dispatch): when changing layout, avoid an infinite loop
4547 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4549 * lyxrc.C (read): treat a viewer or converter command of "none" as
4552 * MenuBackend.C (expandFormats): for an update, also allow the
4553 formats that are not viewable
4555 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
4556 script if it is newer than the lyxrc.defaults in user directory
4558 2002-10-07 André Pönitz <poenitz@gmx.net>
4560 * text.C: Vitaly Lipatov's small i18n fix
4562 2002-09-25 Angus Leeming <leeming@lyx.org>
4564 * ispell.h: doxygen fix.
4566 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
4568 * buffer.h (readFile): Add a new argument to the method, to allow
4569 reading of old-format templates.
4571 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
4573 * toc.C (getTocList): Get TOC from InsetWrap.
4575 2002-09-16 John Levon <levon@movementarian.org>
4577 * lyxfunc.C: check tabular for cut/copy too
4579 2002-09-12 John Levon <levon@movementarian.org>
4584 * factory.C: add header
4586 * paragraph_funcs.h:
4587 * paragraph_funcs.C: cleanup
4589 2002-09-11 John Levon <levon@movementarian.org>
4591 * PrinterParams.h: odd/even default to true
4593 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
4595 * PrinterParams.h: update printer parameters for new xforms dialog
4597 2002-09-11 Angus Leeming <leeming@lyx.org>
4599 * lyxserver.C (read_ready): re-write to make it more transparent
4600 and to make it work in coherent fashion under Tru64 Unix.
4602 2002-09-11 André Pönitz <poenitz@gmx.net>
4606 * text3.C: implement LFUN_WORDSEL
4608 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4610 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
4611 make floatlist_ a boost::shared_ptr<FloatList>
4613 * lyxtextclass.C: include FloatList.h
4614 (LyXTextClass): initialize floatlist_
4615 (TextClassTags): add TC_NOFLOAT
4616 (Read): match "nofloat" to TC_NOFLOAT and use it.
4617 (readFloat): modify call to floatlist_
4621 * FloatList.[Ch] (FloatList): remove commented out float
4623 (erase): new function
4625 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4627 * MenuBackend.C (expandToc): fix crash when there is no document
4630 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
4632 * many files: Add insetwrap.
4634 2002-09-09 John Levon <levon@movementarian.org>
4636 * text2.C: remove confusing and awkward depth wraparound
4638 2002-09-09 John Levon <levon@movementarian.org>
4640 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
4643 * buffer.C: remove getIncludeonlyList()
4646 * lyxfunc.C: remove headers
4648 2002-09-09 Juergen Vigna <jug@sad.it>
4650 * text.C (getColumnNearX): fix form Michael this is most
4651 probably a cut&paste bug.
4653 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4655 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
4657 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
4658 references, ws changes.
4660 * text2.C (init): update counters after init
4661 (insertParagraph): no need to set counter on idividual paragraphs.
4662 (setCounter): access the counters object in the textclass object
4663 on in the buffer object.
4664 (updateCounters): ditto
4666 * lyxtextclass.C: include counters.h, add variable ctrs_ as
4667 shared_ptr<Counters> to avoid loading counters.h in all
4669 (LyXTextClass): initialize ctrs_
4670 (TextClassTags): add TC_COUNTER, and ...
4671 (Read): use it here.
4672 (CounterTags): new tags
4673 (readCounter): new function
4674 (counters): new funtion
4675 (defaultLayoutName): return a const reference
4677 * counters.C (Counters): remove contructor
4678 (newCounter): remove a couple of unneeded statements.
4679 (newCounter): simplify a bit.
4680 (numberLabel): some small formatting changes.
4682 * buffer.[Ch]: remove all traces of counters, move the Counters
4683 object to the LyXTextClass.
4685 2002-09-06 Alain Castera <castera@in2p3.fr>
4687 * tabular.C: uses \tabularnewline; uses >{...} construct from array
4688 package to set the horizontal alignment on fixed width columns.
4691 * lyx_sty.h: added tabularnewline macro def.
4693 * LaTeXFeatures.C: added NeedTabularnewline macro feature
4695 2002-09-06 John Levon <levon@movementarian.org>
4697 * LyXAction.C: tooltips for sub/superscript
4699 * MenuBackend.C: a bit more verbose
4701 * lyxfunc.C: tiny clean
4703 * undo_funcs.C: document undo_frozen
4705 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
4707 * counters.C (Counters): add missing algorithm counter.
4709 * text2.C (setCounter): lookup the counter with layouts latexname
4710 instead of by section number.
4711 (setCounter): use a hackish way to lookup the correct enum
4713 a float name->type change
4714 reset enum couners with counter name directly instead of depth value.
4716 * counters.C (Counters): remove the push_backs, change to use the
4717 float type not the float name.
4718 (labelItem): remove unused string, float name->type change
4720 * counters.h: don't include vector, loose the enums and sects vectors
4722 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4724 * lyxtextclass.C (TextClassTags): add TC_FLOAT
4725 (Read): add float->TC_FLOAT to textclassTags
4726 (Read): and handle it in the switch
4727 (readFloat): new function
4729 * FloatList.C (FloatList): comment out the hardcoded float
4732 * lyxlayout.h: ws change.
4734 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
4736 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
4738 2002-09-03 Angus Leeming <leeming@lyx.org>
4740 * BufferView_pimpl.h: qualified name is not allowed in member
4741 declaration: WorkArea & Pimpl::workarea() const;
4743 * factory.C: added using std::endl directive.
4745 * text3.C: added using std::find and std::vector directives.
4747 2002-08-29 André Pönitz <poenitz@gmx.net>
4750 * text2.C: remove unused member number_of_rows
4753 * BufferView2.C: remove file, move contents to...
4754 * BufferView.C: ... here
4756 * BufferView_pimpl.C:
4757 * factory.C: move more inset creation to factory
4759 * vspace.C: avoid direct usage of LyXText, ws changes
4762 don't provide direct access to WorkArea, use two simple
4763 acessors haveSelction() and workHeight() instead
4766 2002-08-29 John Levon <levon@movementarian.org>
4768 * BufferView_pimpl.C (dispatch): do not continue when
4771 2002-08-28 André Pönitz <poenitz@gmx.net>
4773 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
4776 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
4778 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
4780 * buffer.C: increment LYX_FORMAT to 221
4782 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
4783 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
4785 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
4787 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
4789 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4791 * factory.C (createInset): use LyXTextClass::floats
4793 * MenuBackend.C (expandFloatListInsert):
4794 (expandFloatInsert):
4797 * text2.C (setCounter):
4799 * LaTeXFeatures.C (useFloat):
4800 (getFloatDefinitions):
4802 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
4804 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
4805 floatlist_, with accessor floats().
4807 * FloatList.h: remove global FloatList
4809 2002-08-26 André Pönitz <poenitz@gmx.net>
4811 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
4815 * BufferView_pimpl.C:
4816 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
4818 2002-08-25 John Levon <levon@movementarian.org>
4820 * LyXAction.C: fix margin note description
4822 2002-08-24 John Levon <levon@movementarian.org>
4826 * bufferview_funcs.C:
4828 * undo_funcs.C: cleanups
4830 * lyxfunc.C: disable CUT/COPY when no selection
4832 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4834 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
4835 in "enum UNIT"; e.g. PTW for Percent of TextWidth
4837 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
4838 Add backward compatibility to "mono", "gray" and "no".
4840 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
4842 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
4843 (and file_format >= 200).
4845 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4847 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
4849 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4851 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
4853 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
4855 * BufferView_pimpl.C:
4862 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
4863 inset and code to make it work with the paragraph code. The inset
4864 can be anywhere in the paragraph, but will only do the expected
4865 thing in LaTeX if the layout file contains the parameter line
4867 (or more generally, a nonzero value) for that layout.
4869 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4871 * paragraph.h: remove the declaration of undefined counters class
4874 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
4876 * text2.C (setCounter): fixed enumeration mis-count as reported by
4877 Dr. Richard Hawkins.
4879 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4881 * paragraph_funcs.h: remove some unneeded includes
4883 * text.C (backspace): pasteParagraph now in global scipe
4885 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
4886 (pasteSelection): ditto
4888 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
4889 * paragraph_funcs.C (pasteParagraph): ... here
4891 2002-08-20 André Pönitz <poenitz@gmx.net>
4893 * commandtags.h: new LFUNs for swapping/copying table row/colums
4896 * lyxfunc.C: support for new lfuns
4898 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4901 * buffer.[Ch]: remove NO_COMPABILITY stuff
4903 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
4905 * boost.C (throw_exception): new file, with helper function for
4906 boost compiled without exceptions.
4911 * ParameterStruct.h:
4912 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4914 * bufferlist.C (emergencyWriteAll): use boost bind
4916 * BufferView_pimpl.C (moveCursorUpdate): remove inline
4918 * text.C: include paragraph_funcs.h
4919 (breakParagraph): breakParagraph is now in global scope
4921 * paragraph_funcs.[Ch]: new files
4923 * paragraph.C (breakParagraph,breakParagraphConservative): move to
4926 * buffer.C: include paragraph_funcs.h
4927 (insertStringAsLines): breakParagraph is now in global scope
4929 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4932 * CutAndPaste.C: include paragraph_funcs.h
4933 (cutSelection): breakParagraphConservative is now in global scope
4934 (pasteSelection): ditto
4936 * buffer.h: declare oprator== and operator!= for
4937 Buffer::inset_iterator
4939 * bufferlist.C (emergencyWrite): don't use fmt(...)
4941 * text3.C: add using std::endl
4943 * BufferView.C (moveCursorUpdate): remove default arg
4945 2002-08-20 André Pönitz <poenitz@gmx.net>
4947 * buffer.[Ch]: move inline functions to .C
4950 * BufferView_pimpl.C:
4952 * buffer.[Ch]: use improved inset_iterator
4955 * paragraph.[Ch]: write one paragraph at a time
4957 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
4959 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4960 style if style is not specified.
4962 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4964 * text2.C (setCounter): when searching for right label for a
4965 caption, make sure to recurse to parent insets (so that a caption
4966 in a minipage in a figure float works) (bug #568)
4968 2002-08-20 André Pönitz <poenitz@gmx.net>
4970 * text3.C: new file for LyXText::dispatch() and helpers
4972 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4974 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4976 2002-08-19 André Pönitz <poenitz@gmx.net>
4979 * text.C: new LyXText::dispatch()
4981 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4983 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
4985 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4987 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4990 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4992 * Makefile.am: use $(variables) instead of @substitutions@
4994 2002-08-15 André Pönitz <poenitz@gmx.net>
4997 * BufferView_pimpl.C: streamlining mathed <-> outer world
5001 * LyXAction.C: remove unused LFUN_MATH
5003 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5005 * paragraph.[Ch]: add some NO_NEXT ifdefs.
5007 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5009 * paragraph.C (Paragraph): reformat a bit
5010 (cutIntoMinibuffer): use builtin InsetList function instad of
5014 * buffer.C: include boost/bind.hpp, add using std::for_each
5015 (writeFileAscii): use ParagraphList iterators
5016 (validate): use for_each for validate traversal of paragraphs
5017 (getBibkeyList): use ParagraphList iterators
5018 (resizeInsets): use for_each to resizeInsetsLyXText for all
5020 (getParFromID): use ParagraphList iterators
5022 * BufferView2.C (lockInset): use paragraph list and iterators
5024 2002-08-14 John Levon <levon@movementarian.org>
5026 * lyxserver.C: remove spurious xforms include
5028 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5030 * lyxfunc.C (getStatus): disable math-extern outside of math mode
5032 2002-08-13 André Pönitz <poenitz@gmx.net>
5035 * lyxfunc.C: further cleaning
5037 2002-08-13 André Pönitz <poenitz@gmx.net>
5039 * funcrequest.h: new constructor
5041 * funcrequest.C: move stuff here from .h
5044 * BufferView_pimpl.C:
5047 * lyxfunc.C: subsequent changes
5049 * lyxfunc.h: new view() member function
5051 * lyxfunc.C: subsequent changes
5053 2002-08-13 Angus Leeming <leeming@lyx.org>
5056 * BufferView_pimpl.C:
5064 changes due to the changed LyXView interface that now returns references
5065 to member variables not pointers.
5067 2002-08-13 Angus Leeming <leeming@lyx.org>
5069 * WordLangTuple (word, lang_code): return references to strings,
5074 * lyxtext.h: forward-declare WordLangTuple.
5079 * text.C: #include "WordLangTuple.h".
5082 * text.C: (selectNextWordToSpellcheck): constify return type.
5084 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
5090 * paragraph_pimpl.h:
5093 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5095 Made updateCounter always count from start of buffer, and removed
5096 second argument (par).
5097 Reverted floats number display to '#'. Perhaps I'll try again when the
5098 code base is sanitized a bit.
5100 2002-08-12 Angus Leeming <leeming@lyx.org>
5102 * buffer.[Ch] (getLabelList): constify.
5104 2002-08-07 André Pönitz <poenitz@gmx.net>
5106 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5108 * funcrequest.h: extension to keep mouse (x,y) position
5110 2002-08-12 Juergen Vigna <jug@sad.it>
5112 * BufferView2.C (insertErrors): forbid undo when inserting error
5115 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5117 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
5119 * ParagraphList.[Ch]: new files
5121 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5123 * BufferView2.C (lockInset): ParagraphList changes
5126 * bufferlist.C: ditto
5130 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5132 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5133 unused class variable counter_,
5135 * paragraph.[Ch] (getFirstCounter): delete unused function
5137 * counters.C: include LAssert.h
5138 (reset): add a new function with no arg, change other version to
5139 not have def. arg and to not allow empty arg.
5141 * text2.C (setCounter): remove empty arg from call to Counters::reset
5143 2002-08-11 John Levon <levon@movementarian.org>
5145 * Makefile.am: add WordLangTuple.h
5147 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5149 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5150 lyxfunc.C lyxlex_pimpl.C: ws changes only.
5152 * insets/insettext.C: InsetList changes
5154 * graphics/GraphicsSupport.C (operator()): InsetList changes
5156 * toc.C (getTocList): InsetList changes
5158 * paragraph_pimpl.[Ch]: InsetList changes
5160 * paragraph.[Ch]: InsetList changes
5162 * buffer.C (inset_iterator): InsetList changes
5163 (setParagraph): ditto
5164 * buffer.h (inset_iterator): ditto
5165 * iterators.C (operator++): ditto
5166 * iterators.h: ditto
5168 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5170 * InsetList.[Ch]: new files, most InsetList handling moved out of
5173 * BufferView2.C (removeAutoInsets): InsetList changes
5175 (ChangeInsets): ditto
5177 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
5179 * paragraph_pimpl.h (empty): new function
5181 * paragraph.[Ch] (empty): new function
5183 * other files: use the new Paragraph::empty function
5185 2002-08-09 John Levon <levon@movementarian.org>
5187 * lyxtext.h: remove unused refresh_height
5189 2002-08-09 John Levon <levon@movementarian.org>
5196 * paragraph.C: move sgml char escaping out of paragraph
5199 * paragraph.C: remove id setter
5203 * paragraph_pimpl.C: remove dead tex_code_break_column
5205 * bufferview_funcs.C: small cleanup
5207 * lyxfunc.C: remove dead proto
5209 * lyxtext.h: make some stuff private. Remove some dead stuff.
5211 * lyxgluelength.C: make as[LyX]String() readable
5213 2002-08-08 John Levon <levon@movementarian.org>
5218 * ToolbarDefaults.C:
5221 * toc.C: lyxaction cleanup
5223 2002-08-08 John Levon <levon@movementarian.org>
5225 * BufferView2.C: small cleanup
5228 * lyxfind.C: move unnecessary header into the .C
5230 2002-08-08 John Levon <levon@movementarian.org>
5232 * funcrequest.h: just tedious nonsense
5235 * lyx_main.C: cleanups
5238 * vspace.C: remove dead header lyx_main.h
5240 2002-08-07 Angus Leeming <leeming@lyx.org>
5243 * paragraph_pimpl.h:
5244 Forward declare class Counters in paragraph.h by moving the ctrs member
5245 variable into Paragraph::Pimpl.
5246 (counters): new method, returning a reference to pimpl_->ctrs.
5248 * text2.C: ensuing changes.
5250 2002-08-07 John Levon <levon@movementarian.org>
5252 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5254 * BufferView_pimpl.C: announce X selection on double/triple
5257 * lyx_main.C: use correct bool in batch dispatch
5259 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5261 2002-08-07 André Pönitz <poenitz@gmx.net>
5263 * funcrequest.h: new class to wrap a kb_action and its argument
5266 * BufferView_pimpl[Ch]:
5270 * lyxrc.C: subsequent changes
5273 2002-08-07 John Levon <levon@movementarian.org>
5275 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5276 document options change.
5278 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5283 * makefile.am: move counters functionality over from
5284 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5286 2002-08-06 John Levon <levon@movementarian.org>
5288 * WordLangTuple.h: new file for word + language code tuple
5299 * BufferView2.C: use WordLangTuple
5302 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5304 2002-08-06 John Levon <levon@movementarian.org>
5306 * lyx_main.C: fix cmdline batch handling
5308 2002-08-06 André Pönitz <poenitz@gmx.net>
5310 * lyxrc.C: set default for show_banner to true
5312 2002-08-06 John Levon <levon@movementarian.org>
5314 * pspell.C: fix a crash, and allow new aspell to work
5316 2002-08-06 John Levon <levon@movementarian.org>
5319 * kbmap.C: small cleanup
5322 * vspace.C: add const
5324 2002-08-05 John Levon <levon@movementarian.org>
5326 * LyXAction.C: back to tabular-insert
5328 2002-08-04 John Levon <levon@movementarian.org>
5331 * BufferView.C: cosmetic change
5333 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5343 * BufferView2.C: purge all "Lyx" not "LyX" strings
5346 * lyxcursor.C: attempt to add some documentation
5351 * ToolbarDefaults.C:
5352 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5353 merge with LFUN_TABULAR_INSERT
5360 * pspell.C: split up i/pspell implementations into separate
5361 files, many cleanups
5363 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5365 * text2.C: some cleanup
5367 * lyxfunc.C: don't check for isp_command == "none" any more, it
5368 didn't make any sense
5370 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
5375 * makefile.am: move counters functionality over
5376 from text2.C/paragraph.[Ch] to counters.[Ch], and
5378 2002-08-02 John Levon <levon@movementarian.org>
5380 * buffer.C: s/lyxconvert/lyx2lyx/
5382 2002-08-02 Angus Leeming <leeming@lyx.org>
5384 * lyxlex.C: revert John's change as it breaks reading of the user
5387 2002-08-02 Angus Leeming <leeming@lyx.org>
5389 * importer.C (Import):
5390 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5391 changes due to LyXView::view() now returning a boost::shared_ptr.
5393 2002-08-02 John Levon <levon@movementarian.org>
5395 * lyxlex.C: small cleanup
5397 2002-08-02 John Levon <levon@movementarian.org>
5399 * text2.C (status): small cleanup, no logic change
5401 2002-08-01 John Levon <levon@movementarian.org>
5404 * buffer.C (writeFile): don't output alerts, caller
5408 * lyx_cb.C: from above
5410 * lyxfunc.C: allow to open non-existent files
5412 2002-07-31 John Levon <levon@movementarian.org>
5414 * lyxserver.C: don't let incidental errors get
5417 2002-07-30 John Levon <levon@movementarian.org>
5419 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5421 2002-07-30 John Levon <levon@movementarian.org>
5424 * lyxserver.C: remove I/O callback too
5426 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5428 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5431 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5433 * many files: strip,frontStrip -> trim,ltrim,rtrim
5435 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5437 * PrinterParams.h: remove extern containsOnly, and include
5438 support/lstrings.h instead.
5440 * LaTeX.C (scanAuxFile): modify because of strip changes
5442 * buffer.C (makeLaTeXFile): ditto
5443 * bufferparams.C (writeFile): ditt
5444 * lyxfont.C (stateText): ditto
5445 * lyxserver.C (read_ready): ditto
5446 * vc-backend.C (scanMaster): ditto
5448 * BufferView_pimpl.h: ws changes
5450 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5452 2002-07-26 André Pönitz <poenitz@gmx.net>
5454 * kb_sequence.C: remove unnedred usings
5456 2002-07-26 Juergen Vigna <jug@sad.it>
5458 * lyxfind.C (LyXReplace): we have to check better if the returned
5459 text is not of theLockingInset()->getLockingInset().
5461 2002-07-25 Juergen Vigna <jug@sad.it>
5463 * lyxfind.C (LyXReplace): don't replace if we don't get the
5466 * undo_funcs.C (createUndo): remove debugging code.
5468 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
5470 * buffer.C (parseSingleLyXformat2Token): Use default placement
5471 when reading old floats.
5473 * FloatList.C (FloatList): Change the default placement of figure
5474 and tables to "tbp".
5476 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
5478 * MenuBackend.C: using std::max
5480 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5482 * MenuBackend.C (expandToc):
5483 (expandToc2): code moved from xforms menu frontend. It is now
5484 generic and TOCs are transparent to menu frontends.
5486 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5488 * toc.C (getTocList): protect against buf=0
5490 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5491 Menu as first parameter. Now, this calls itself recursively to
5492 expand a whole tree (this will be useful for TOC handling)
5493 (expandFloatInsert): remove 'wide' version of floats
5495 * MenuBackend.h (submenuname): returns the name of the submenu.
5496 (submenu): returns the submenu itself, provided it has been
5497 created by MenuBackend::expand
5499 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5501 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5502 insets which have noFontChange == true. (bug #172)
5504 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
5506 * BufferView_pimpl.C: add connection objects and use them...
5509 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5511 * MenuBackend.C (expandLastfiles):
5514 (expandFloatListInsert):
5515 (expandFloatInsert):
5516 (expand): split expand in parts
5518 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5520 * lyx_gui.C: use lyx_gui::exit()
5522 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5524 * LyXAction.C: show the failing pseudo action
5526 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
5528 * buffer.C (readFile): Run the lyxconvert script in order to read
5531 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5535 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
5537 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
5541 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
5543 2002-07-22 Herbert Voss <voss@lyx.org>
5546 * lyxlength.[Ch]: add support for the vertical lengths
5548 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
5550 * toc.[Ch]: std:: fixes
5552 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5554 * lyxrc.C: do not include lyx_main.h
5556 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
5562 * BufferView2.C: include "lyxlex.h"
5565 * bufferparams.h: do not #include "lyxlex.h"
5567 * lyxtextclasslist.C (Add): remove method
5568 (classlist): renamed to classlist_
5570 * paragraph_pimpl.C:
5574 * bufferview_funcs.C:
5579 * toc.C (getTocList): use BufferParams::getLyXTextClass
5581 * toc.C (getTocList): use InsetFloat::addToToc
5583 * toc.[Ch]: new files, containing helper functions to handle table
5586 * lyxfunc.C (dispatch): no need to remove spaces around command
5588 (getStatus): handle LFUN_SEQUENCE by returning the status of the
5589 first command of the sequence; it is not very clever, but I do not
5590 have a better idea, actually
5592 * LyXAction.C (LookupFunc): make sure to remove space at the
5593 beginning and end of the command
5595 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5597 * MenuBackend.C (getMenubar): new method: return the menubar of
5599 (read): treat differently reading of menu and menubar (in
5600 particular, the menubar has no name now)
5601 (Menu::menubar): remove
5603 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
5606 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5608 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
5609 a bibitem inset in a RTL paragraph.
5611 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
5613 * paragraph_pimpl.C: constify
5615 * BufferView_pimpl.C:
5617 * lyxfunc.C: fix dispatch in a nicer way
5619 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5621 * lyxfunc.C (dispatch):
5622 * BufferView_pimpl.C:
5623 * BufferView_pimpl.h:
5625 * BufferView.h: rename Dispatch() to dispatch()
5627 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
5629 * lyxlayout.C (Read): honor DependsOn tag
5631 * lyxlayout.[Ch] (depends_on): new method
5633 * version.C.in: update lyx_docversion
5635 * LaTeXFeatures.C (getMacros): only define \LyX when needed
5637 * paragraph.C (validate): remove from here...
5638 * paragraph_pimpl.C (validate): ... and move here
5639 (isTextAt): make it const
5641 * buffer.C (getLists): ws cleanup
5643 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
5645 * language.C (read): Use iso8859-1 encoding in latex_lang
5646 (this prevents LyX from crashing when using iso10646-1 encoding).
5648 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5650 * text2.C (toggleInset): if cursor is inside an inset, close the
5651 inset and leave cursor _after_ it
5653 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5655 * lyxfunc.C: move minibuffer completion handling out of here
5657 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
5659 * BufferView_pimpl.C:
5660 * LaTeX.C: fix dispatch calls
5662 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
5664 * text.C (drawChars): Fix Arabic text rendering.
5666 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
5670 * lyxfunc.C: remove message-push/pop
5674 * lyxfunc.C: rationalise some code by removing verboseDispatch
5675 in favour of a bool argument to dispatch()
5677 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5679 * lyx_main.C (init): make sure to read symlinks as absolute paths
5681 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5684 * lyxfunc.C: no need for commandshortcut to be a member
5686 2002-07-15 André Pönitz <poenitz@gmx.net>
5688 * converter.C: add support for $$s (scripts from lib/scripts dir)
5689 * lyx_main.C: white space
5691 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5695 * lyxrc.C: remove second exit confirmation
5697 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
5702 * BufferView_pimpl.h:
5703 * BufferView_pimpl.C:
5704 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
5706 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5708 * MenuBackend.C (expand): add numeric shortcuts to document menu
5710 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
5712 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5714 * lyxfont.C (setLyXFamily):
5721 * buffer.C (asciiParagraph): use ascii_lowercase
5723 2002-07-15 Mike Fabian <mfabian@suse.de>
5725 * lyxlex_pimpl.C (search_kw):
5726 * lyxlex.C (getLongString):
5727 * converter.h (operator<):
5728 * converter.C (operator<):
5729 * buffer.C (parseSingleLyXformat2Token):
5731 * ToolbarDefaults.C (read):
5732 * MenuBackend.C (checkShortcuts):
5734 * LColor.C (getFromGUIName):
5735 (getFromLyXName): use the compare_ascii_no_case instead of
5736 compare_no_case, because in turkish, 'i' is not the lowercase
5737 version of 'I', and thus turkish locale breaks parsing of tags.
5739 2002-07-16 Angus Leeming <leeming@lyx.org>
5741 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
5742 now takes a Buffer const & argument.
5744 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
5746 * BufferView.C (resize): check there's a buffer to resize
5748 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
5750 * lyxfunc.C: remove dead code
5753 * lyxserver.C: use lyx_guii::set_read_callback
5755 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
5757 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
5758 an inset in a RTL paragraph.
5760 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5762 * lyxfunc.C: repaint after a font size update
5764 2002-07-15 André Pönitz <poenitz@gmx.net>
5766 * lyxlength.C: inBP should be able to return negative values
5768 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5770 * lyxfunc.C: use lyx_gui::update_fonts()
5772 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
5774 * lyxfunc.C: use lyx_gui::update_color()
5776 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5782 * lyxrc.C: remove file->new asks for name option, and let
5783 buffer-new take an argument
5785 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
5787 * BufferView_pimpl.C: remove unneeded extra repaint()
5789 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
5791 * LyXAction.C: allow command-sequence with NoBuffer
5793 * lyxfunc.C: don't insist on trailing ';' for command-sequence
5795 2002-07-10 Angus Leeming <leeming@lyx.org>
5797 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
5799 2002-07-09 Angus Leeming <leeming@lyx.org>
5801 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
5803 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5805 * lengthcommon.h: whitespace
5807 * lyxfunc.C: update scrollbar after goto paragraph
5809 * lyxtext.h: factor out page break drawing, and fix it so
5810 page break/added space paints as selected nicely
5812 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
5814 * BufferView_pimpl.C: add FIXMEs, clean up a little
5816 2002-07-09 André Pönitz <poenitz@gmx.net>
5818 * lyxfont.[Ch]: support for wasy symbols
5820 2002-07-08 André Pönitz <poenitz@gmx.net>
5822 * BufferView_pimpl.C: apply John's patch for #93.
5824 2002-07-05 Angus Leeming <leeming@lyx.org>
5826 * BufferView_pimpl.C (buffer): generate previews if desired.
5828 * LColor.h: add "preview" to the color enum.
5830 * LColor.C (LColor): add a corresponding entry to the items array.
5832 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
5835 2002-07-05 Angus Leeming <leeming@lyx.org>
5837 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
5838 The body of the code is now in the method that is passed an ostream &
5839 rather than a file name.
5840 Pass an additional only_preamble parameter, useful for the forthcoming
5843 2002-07-03 André Pönitz <poenitz@gmx.net>
5845 * lyxfunc.C: simplify getStatus() a bit for math stuff
5847 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
5849 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
5851 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5853 * text.C (changeRegionCase): do not change case of all the
5854 document when region ends at paragraph end (bug #461)
5856 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5858 * paragraph.C (startTeXParParams):
5859 (endTeXParParams): add \protect when necessary
5861 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5863 * BufferView_pimpl.C (workAreaExpose): remove warning
5865 2002-06-27 Angus Leeming <leeming@lyx.org>
5867 * Makefile.am: add lyxlayout_ptr_fwd.h.
5869 2002-06-26 André Pönitz <poenitz@gmx.net>
5871 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
5873 2002-06-25 Angus Leeming <leeming@lyx.org>
5875 * lyxfunc.C (dispatch): Comment out the call to
5876 grfx::GCache::changeDisplay. The method no longer exists now that the
5877 pixmap generation part of the graphics loader has been moved into
5880 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5882 * text2.C: layout as layout
5884 * text.C: layout as layout
5886 * tabular.C (OldFormatRead): layout as layout
5888 * paragraph_pimpl.C (TeXDeeper): layout as layout
5889 (realizeFont): layout as layout
5891 * paragraph.C (writeFile): layout as layout
5892 (validate): layout as layout
5893 (getFont): layout as layout
5894 (getLabelFont): layout as layout
5895 (getLayoutFont): layout as layout
5896 (breakParagraph): layout as layout
5897 (stripLeadingSpaces): layout as layout
5898 (getEndLabel): layout as layout
5899 (getMaxDepthAfter): layout as layout
5900 (applyLayout): layout as layout
5901 (TeXOnePar): layout as layout
5902 (simpleTeXOnePar): layout as layout
5903 (TeXEnvironment): layout as layout
5904 (layout): layout as layout
5905 (layout): layout as layout
5907 * lyxtextclass.C (compare_name): new functor to work with
5908 shared_ptr, layout as layout
5909 (Read): layout as layout
5910 (hasLayout): layout as layout
5911 (operator): layout as layout
5912 (delete_layout): layout as layout
5913 (defaultLayout): layout as layout
5915 * lyxlayout_ptr_fwd.h: new file
5917 * lyxlayout.C (Read): layout as layout
5919 * lyx_cb.C (MenuInsertLabel): layout as layout
5921 * bufferlist.C (newFile): layout as layout
5923 * buffer.C (readLyXformat2): layout as layout
5924 (parseSingleLyXformat2Token): layout as layout
5925 (insertStringAsLines): layout as layout
5926 (asciiParagraph): layout as layout
5927 (latexParagraphs): layout as layout
5928 (makeLinuxDocFile): layout as layout
5929 (simpleLinuxDocOnePar): layout as layout
5930 (makeDocBookFile): layout as layout
5931 (simpleDocBookOnePar): layout as layout
5932 (getLists): layout as layout
5934 * LaTeXFeatures.C (getTClassPreamble): layout as layout
5936 * CutAndPaste.C (cutSelection): layout as layout
5937 (pasteSelection): layout as layout
5938 (SwitchLayoutsBetweenClasses): layout as layout
5940 * BufferView_pimpl.C (Dispatch): layout as layout
5941 (smartQuote): layout as layout
5943 * BufferView2.C (unlockInset): layout as layout
5945 2002-06-24 André Pönitz <poenitz@gmx.net>
5947 * lyxfunc.C: fix #487
5949 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5953 * lyxfunc.C: remove display_shortcuts, show_banner
5955 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5957 * Buffer_pimpl.C: oops, update on resize
5959 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5966 * BufferView.C: use repaint()
5968 * BufferView_pimpl.h:
5969 * BufferView_pimpl.C: s/updateScreen()/repaint()/
5970 as it's a clearer description. Remove superfluous
5973 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
5975 * text.C: fix bug 488. Not ideal, but getting
5976 getWord() to work properly for the insets that
5977 matter is more difficult ...
5979 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5981 * BufferView_pimpl.C:
5984 * lyxfunc.C: remove the six million index lyxfuncs to just
5985 one, and DTRT (bug 458)
5987 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5991 * BufferView_pimpl.h:
5992 * BufferView_pimpl.C: clean up resize() stuff,
5993 and unnecessary updateScreen()s
5995 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
5999 * BufferView_pimpl.h:
6000 * BufferView_pimpl.C:
6003 * minibuffer.C: remove focus management of workarea,
6004 not needed. Use screen's greyOut()
6006 2002-06-17 Herbert Voss <voss@lyx.org>
6008 * converter.C: (convert) do not post a message, when converting
6009 fails, let the calling function decide what to do in this case
6011 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
6013 * lyxfunc.C: tidy up a little
6015 2002-06-16 <alstrup@diku.dk>
6017 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6018 Got rid of FORMS_H_LOCATION include. Now we are
6021 2002-06-15 LyX Development team <lyx@rilke>
6023 * buffer.[Ch] (sgmlOpenTag):
6024 (sgmlCloseTag): Added support for avoiding pernicious mixed
6025 content. Return number of lines written.
6028 (makeDocBookFile): Fixed calls to sgml*Tag.
6029 Simple white space clean.
6031 (simpleDocBookOnePar): Simple white space clean.
6033 * tabular.[Ch] (docBook): Renamed to docbook and got another
6034 argument to related with the pernicious mixed content.
6036 (docbookRow): Fixed calls for docbook inset method.
6038 2002-06-15 Lyx Development team <larsbj@birdstep.com>
6040 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6041 so it's X11 independent.
6045 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6047 2002-06-15 Lyx Development team <lyx@electronia>
6049 * intl.h: Renamed getTrans to getTransManager.
6051 2002-06-14 Angus Leeming <leeming@lyx.org>
6053 * Makefile.am: nuke forgotten stl_string_fwd.h.
6055 2002-06-12 Angus Leeming <leeming@lyx.org>
6057 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6059 2002-06-13 Angus Leeming <leeming@lyx.org>
6062 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6064 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
6066 * kbmap.C (getiso): add support for cyrillic and greek
6068 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6072 * BufferView_pimpl.h:
6073 * BufferView_pimpl.C: move bogus scrolling logic
6076 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6079 * BufferView_pimpl.C: view->resize() change
6081 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6083 * BufferView_pimpl.C: topCursorVisible
6086 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6090 * lyx_gui.C: move to frontends/
6094 * lyx_main.C: changes from above
6096 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6103 * lyx_main.C: minor tidy
6105 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6107 * BufferView_pimpl.h:
6108 * BufferView_pimpl.C:
6110 * BufferView.C: make painter() const,
6113 * BufferView2.C: use screen() accessor
6116 * lyx_main.C: some minor cleanup
6118 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6120 * BufferView_pimpl.h:
6121 * BufferView_pimpl.C: remove enter/leaveView,
6124 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
6129 * BufferView_pimpl.h:
6130 * BufferView_pimpl.C: only construct screen once,
6133 * lyxrc.C: remove pointless comment
6135 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6138 * BufferView.C: remove active() and belowMouse()
6140 * BufferView_pimpl.h:
6141 * BufferView_pimpl.C: use workarea() not workarea_,
6142 and make it use a scoped_ptr instead
6144 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
6146 * lyx_gui.C: add debug message on BadWindow
6148 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6150 * sp_spell.C: fdopen is not part of the C++ standard.
6152 * paragraph.C (InsetIterator): use >= instead of ==
6154 2002-06-07 Angus Leeming <leeming@lyx.org>
6156 Fixes needed to compile with Compaq cxx 6.5.
6157 * BufferView_pimpl.C:
6164 * lyxtextclasslist.C:
6169 all c-library variables have been moved into namespace std. Wrap
6170 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6175 Add a using std::abs declaration.
6177 * kbmap.h (modifier_pair):
6178 * paragraph.h (InsetTable, InsetList):
6179 * lyxfont.h (FontBits):
6180 type definition made public.
6182 * bufferlist.C (emergencyWriteAll): the compiler complains that
6183 there is more than one possible lyx::class_fun template to choose from.
6184 I re-named the void specialisation as lyx::void_class_fun.
6186 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6188 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6189 the compiler is is unable to find tostr in write_attribute.
6191 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6193 * buffer.C (sgmlError): hide #warning
6195 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6197 * xtl/*: get rid of xtl, which is not in use anyway
6199 * LyXAction.C (init):
6200 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6201 were unimplemented xtl experimentation
6203 2002-06-04 André Pönitz <poenitz@gmx.net>
6205 * lyxfunc.C: disable array operation on simple formulae
6207 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
6209 * converter.C: constify a bit
6211 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
6213 * lyx_gui.C: check xforms version correctly
6215 2002-04-30 Herbert Voss <voss@lyx.org>
6217 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6220 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
6222 * lyxvc.C: fix bug 416 (make sure buffer is saved before
6223 attempt to register it with a VCS)
6225 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6227 * lyx_main.C (init): honor variables LYX_DIR_13x and
6230 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6234 * lyx_main.C: fix a crash on bad command line,
6235 and give a useful exit status on error
6237 * lyxfunc.C (doImport): allow -i lyx to work
6239 2002-03-30 André Pönitz <poenitz@gmx.net>
6241 * lyxfunc.C: mathed font changes
6243 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
6258 * trans_mgr.h: srcdocs, and some minor cleanups
6260 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6262 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6263 call getFont all the time)
6265 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6267 * switch from SigC signals to boost::signals
6269 2002-05-29 André Pönitz <poenitz@gmx.net>
6271 * paragraph_pimpl.C (getChar): don't call size() too often...
6273 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6275 * paragraph_pimpl.C (insertChar): do not try to update tables when
6276 appending (pos == size())
6278 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6279 in order to reduce drastically the number of comparisons needed to
6280 parse a large document
6282 2002-05-29 André Pönitz <poenitz@gmx.net>
6288 * textclasslist.[Ch]:
6289 * sp_ispell.h: whitespace change
6291 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6293 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6294 lyxaction directly now.
6296 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
6300 * lyxvc.C: remove unused headers
6302 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6309 * undo_funcs.C: some cleanups. Use shared_ptr
6310 and a template for the undo stacks.
6312 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
6314 * BufferView_pimpl.h:
6315 * BufferView_pimpl.C:
6322 * text2.C: use key_state/mouse_state
6324 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6326 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6329 * chset.C: change include order
6330 (loadFile): use boost regex and get rid of LRegex and LSubstring
6332 * Makefile.am (BOOST_LIBS): new variable
6335 * LaTeX.C: change include order.
6336 (scanAuxFile): use boost regex and get rid of LRegex and
6340 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6345 * FontInfo.C: moved to frontends/xforms/
6348 * FontLoader.C: moved into frontends for GUIIzation
6353 * lyxfunc.C: changes from above
6355 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
6357 * LColor.C: remove spurious X include
6359 * BufferView_pimpl.C:
6364 * text2.C: move font metrics to frontends/
6366 2002-05-24 Juergen Vigna <jug@sad.it>
6368 * undo_funcs.C (textHandleUndo): fix the cursor selection after
6369 setting the undo_cursor.
6371 * ParagraphParameters.h: include local includes first.
6373 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6375 * BufferView_pimpl.C:
6376 * BufferView_pimpl.h:
6380 * screen.C: move WorkArea into frontends/
6386 * BufferView2.C: move LyXScreen into frontends/
6390 * lyx_gui.C: move lyxlookup into frontends/xforms/
6392 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6395 * BufferView_pimpl.C:
6405 * bufferview_funcs.C:
6418 * vc-backend.C: move LyX/XFormsView into frontends/
6420 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
6432 * text2.C: move Painter to frontends/
6434 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
6436 * buffer.C: comment out some some code that depend upon lyx_format
6439 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6440 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6442 * buffer.h (NO_COMPABILITY): turn off compability
6444 * ColorHandler.C: include scoped_array.hpp
6446 * font.C: Use more specific smart_ptr header.
6449 * ShareContainer.h: ditto
6453 * BufferView_pimpl.h: ditto
6454 * ColorHandler.h: ditto
6456 * kbmap.C (defkey): change call to shared_ptr::reset
6458 2002-05-21 Juergen Vigna <jug@sad.it>
6460 * buffer.C (insertErtContents): fix to insert ert asis if it is
6461 non empty. Skip it completely if it contains only whitespaces.
6463 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
6465 * BufferView_pimpl.C:
6466 * BufferView2.C: clear selection on paste (bug 393)
6468 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
6470 * DepTable.C: include ctime
6472 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
6474 * buffer.C (latexParagraphs): Add new argument (moving_arg).
6476 2002-05-14 Juergen Vigna <jug@sad.it>
6478 * text.C (breakParagraph): fixed function to honor the keepempty
6479 layout in the right maner and also to permit the right breaking
6480 algorithm on empty or non empyt keepempty paragraphs.
6482 * paragraph.C (breakParagraph): we have to check also if the par
6483 is really empty (!size()) for isempty otherwise we do the wrong
6486 2002-05-10 Juergen Vigna <jug@sad.it>
6488 * buffer.[Ch] : The following are only changes to the ert
6489 compatibility read reading old LaTeX layout and font stuff and
6490 convert it to ERTInsets.
6492 * buffer.h: added isErtInset().
6494 * buffer.C (struct ErtComp): add a fromlayout bool to check
6495 if we're inside a LaTeX layout.
6496 (isErtInset): new helper function.
6497 (insertErtContents): look for other ert insets before this one
6498 and insert the contents there, so that we don't have subsequent
6499 ERT insets with nothing between them. This way we create only one
6500 inset with multiple paragraphs. Also check if we don't insert only
6501 spaces ' ' as they are ignored anyway afterwards in the .tex file
6502 so if we have only spaces we will ignore this latex part in the
6504 (parseSingleLyXformat2Token \\layout): better compatibility when
6505 reading layout-latex stuff.
6506 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6508 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6509 stuff after reading the inset only get the information back from
6512 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
6514 * buffer.C (makeLaTeXFile): Put language options after loading babel.
6516 * LaTeXFeatures.C (getBabelOptions): New method.
6518 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6520 * BufferView_pimpl.C (Dispatch): work around missing argument for
6523 2002-05-08 Juergen Vigna <jug@sad.it>
6525 * text.C (leftMargin): handle paragraph leftindent.
6527 * paragraph.C (writeFile): write the new \\leftindent tag.
6528 (validate): handle leftindent code.
6529 (TeXEnvironment): handle paragraphleftindent code again.
6531 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6533 * buffer.C (parseSingleLyXformat2Token): added compatibility code
6534 for paragrap_extra indent code and new token \\leftindent.
6535 (latexParagraphs): handle the leftindent as environment.
6537 * ParameterStruct.h: added leftindent support.
6539 * ParagraphParameters.C (leftIndent): added support functions for
6540 the paragraph left indent.
6542 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
6545 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
6547 * paragraph.C (isRightToLeftPar): Return false for a paragraph
6550 * text.C (computeBidiTables): No bidi in insetERT.
6552 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
6555 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6557 * version.C.in: pre 5
6559 2002-05-02 José Matos <jamatos@fep.up.pt>
6560 * buffer.C (makeDocBookFile): white space changes, add newline to
6562 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
6564 * tabular.C (docBook): fix typo.
6566 2002-05-03 Juergen Vigna <jug@sad.it>
6568 * screen.C (drawFromTo): recalculate the rowpointer if we had a
6569 change in LyXText as we can not be sure it was not freed.
6570 (drawOneRow): remove unused code.
6572 * text.C (drawInset): redo the calculation of the need_break_row as
6573 it could have a row which was already freed.
6574 (draw): look at the return value of drawInset and return false if
6575 it also returned false.
6576 (paintRowText): look at the return value of draw and return false if
6577 it also returned false.
6579 * lyxtext.h: added bool return type to drawInset() and draw() so that
6580 if we have a change in the row so that the rowbreak has to be redone
6581 we abort drawing as it will be called again.
6583 2002-05-02 Juergen Vigna <jug@sad.it>
6585 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
6586 a change in the maintext also if we're inside an inset.
6587 (Dispatch): set the cursor again after a break line and after the
6588 screen has been updated as it could be we're in a different row.
6590 * text2.C (fixCursorAfterDelete): check to make sure we don't request
6591 to set the cursor behind the pargraph with > size().
6592 (setCursor): check also for the same paragraph when checking where
6593 to put the cursor if we have a NFR inset.
6595 * buffer.C (parseSingleLyXformat2Token): move the compatibility
6596 parts of layout read further up as it still was in the wrong
6599 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
6601 * screen.C (drawFromTo): change sine fullRebreak always return
6604 * buffer.C (parseSingleLyXformat2Token): reindent some
6606 * BufferView_pimpl.C (update): change since fullRebreak always
6608 (Dispatch): git rid of the last hardcoded "Standard"s.
6610 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6612 * text2.[Ch] (fullRebreak): make it return void now that we always
6615 2002-04-30 Juergen Vigna <jug@sad.it>
6617 * buffer.C (parseSingleLyXformat2Token): reset the font before the
6618 ert compatibility check for "latex" layout.
6620 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
6622 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
6623 minipages: use col% instead of p%, and also use the current font.
6624 (makeLaTeXFile): Fix use babel condition.
6625 (parseSingleLyXformat2Token): Correct font when reading old floats.
6627 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
6629 * BufferView_pimpl.C (Dispatch): Check that float type exists when
6630 inserting list of floats.
6632 2002-04-25 Herbert Voss <voss@lyx.org>
6634 * MenuBackend.C (expand): don't add the graphics extensions to the
6637 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6639 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
6640 non-existing layout, do not complain if it was the default layout
6641 of the original class (bug #342)
6643 2002-04-24 Juergen Vigna <jug@sad.it>
6645 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
6646 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
6648 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
6650 * buffer.C (getBibkeyList): If using \bibliography, return the
6651 option field with the reference itself. Enables us to provide natbib
6652 support when using \bibliography.
6654 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
6656 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
6658 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
6659 natbib is provided by the LaTeX class.
6661 2002-04-23 Juergen Vigna <jug@sad.it>
6663 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
6666 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
6668 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6670 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
6672 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
6673 ensuremath around textordmasculine, textordfeminine and
6676 2002-04-19 Juergen Vigna <jug@sad.it>
6678 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
6679 reinitializing the buffer otherwise row-dimensions may be wrong.
6680 (update): reset also the selection cursors if they do exits otherwise
6681 their x/y positions may be wrong.
6683 * text2.C (cursorDown): don't enter the inset if we came from a row
6684 above and are one row over the inset.
6686 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
6687 really leaving an inset.
6689 2002-04-18 Juergen Vigna <jug@sad.it>
6691 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
6692 of the selected paragraph does not have the selected layout also if
6695 * text2.C (setLayout): fixed bug which did not change last selected
6698 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
6699 changed the read and substituted \\end_float with \\end_inset!
6701 * BufferView_pimpl.C (cursorPrevious):
6702 (cursorNext): fixed to make it work with rows heigher than the work
6703 area without moving the cursor only the draw of the row.
6704 (workAreaMotionNotify): fix jumping over high rows.
6706 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6708 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
6711 2002-04-16 Juergen Vigna <jug@sad.it>
6713 * text2.C (setCursor): set also the irow().
6714 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
6716 (cursorDown): support for locking an inset if the x_fix value goes
6717 inside it. That way I can transverse insets too with cursor up/down.
6719 * lyxrow.h: added irow helper function same as other (i) functions.
6721 * BufferView_pimpl.C (cursorPrevious):
6722 (cursorNext): fixed for insets!
6724 2002-04-15 Juergen Vigna <jug@sad.it>
6726 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
6727 position otherwise it is wrong in some cases.
6729 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
6730 inside the inset before the call.
6732 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
6734 * buffer.[Ch] (getBibkeyList): make it const.
6736 2002-04-12 Juergen Vigna <jug@sad.it>
6738 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
6740 * text2.C (getCursorX): new helper function
6741 (setCursor): compute also ix_
6742 (setCursorFromCoordinates): set also ix.
6744 * lyxcursor.h: added ix_ and helper functions.
6746 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
6748 * buffer.C (insertStringAsLines): dont break paragraph if the this
6749 paragraph is inside an inset which does not permit it!
6751 * text.C (breakParagraph): honor keepempty flag and break the paragraph
6752 also with no chars on this paragraph.
6753 (paintRowText): only paint stuff if it's inside the workarea!
6755 * paragraph.C (breakParagraph): honor keepempty flag and break the
6756 paragraph always below not above.
6758 * BufferView2.C (unlockInset): update the paragraph layout on inset
6759 unlock as we changed paragraph in such a case.
6761 * lyxfind.C (LyXFind): clear the former selection if not found!
6763 * text2.C (insertInset): freeze Undo after setUndo so that it is not
6764 again called in insertChar().
6766 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
6767 an inset which uses the whole row!
6768 (rightMargin): ditto.
6769 (insertChar): force a rebreak if we inserted an inset!
6771 2002-03-28 Herbert Voss <voss@lyx.org>
6773 * lyxlength.[Ch]: add inBP() to get the right PS-point
6774 units (BigPoint). With inPixels we have rounding errors
6776 2002-04-11 Juergen Vigna <jug@sad.it>
6778 * text2.C (setCursorFromCoordinates): set iy to the right value.
6779 (setCursor): add check if row->previous exists!
6781 * buffer.C (parseSingleLyXformat2Token): reset font after read of
6782 an old float_type as this was the case in the old code!
6784 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
6786 * BufferView2.C (showLockedInsetCursor): use iy
6787 (fitLockedInsetCursor): ditto
6789 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
6790 locked insets as there we have the right value now.
6792 * lyxcursor.C: added iy_ variable and iy functions to set to the
6793 baseline of cursor-y of the locked inset.
6795 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
6796 (setCursor): fixed for insets which need a full row.
6798 * text.C (rowLastPrintable): don't ignore the last space when before
6799 an inset which needs a full row.
6800 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
6801 as last character of a row when before a inset which needs a full row.
6803 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6805 * version.C.in: update date
6807 * text2.C (fullRebreak): try to always return true and see what
6810 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6812 * MenuBackend.C (expand): use Floating::listName
6814 * FloatList.C (FloatList): add listName argument to the built-in
6817 * Floating.[Ch]: add listName member, which is the 'List of XXX'
6818 text associated with the float.
6820 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6822 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
6824 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6826 * ShareContainer.h: add a couple of missing typenames.
6828 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
6830 * lyxrc.C (getDescription): use _() correctly rather than N_().
6832 2002-03-28 Herbert Voss <voss@lyx.org>
6834 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
6835 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
6837 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6839 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
6840 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
6842 2002-03-29 Juergen Vigna <jug@sad.it>
6844 * lyxfunc.C (dispatch): add a missing fitCursor call.
6846 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
6847 it was scrolled by a cursor move, so return the bool status.
6849 * BufferView.C (fitCursor): return the bool flag also to the outside
6850 world as this is needed.
6852 * screen.C (toggleToggle): don't subtract the offset if it's positive.
6854 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
6855 call the edit() as it is not needed (and wrong) IMO.
6856 (workAreaButtonPress): set the screen_first variable before evt.
6857 unlock the inset as this may change screen_first and then we have
6858 a wrong y position for the click!
6860 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6862 * MenuBackend.C (expand): another translation that I missed
6864 2002-03-28 Juergen Vigna <jug@sad.it>
6866 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
6868 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
6870 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6872 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
6874 * MenuBackend.C (expand): fix export/view/update when there is no
6877 2002-03-27 Herbert Voss <voss@lyx.org>
6879 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
6882 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6884 * bufferview_funcs.C (currentState): only show paragraph number
6885 for is DEVEL_VERSION is set.
6887 * lyxfunc.C (dispatch): put warning in INFO channel
6889 * MenuBackend.C (expand): translate the name of floats
6891 * FloatList.C (FloatList): mark the float names for translation
6893 * converter.C (convert): use LibScriptSearch
6895 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6897 * MenuBackend.C (defaults): fix default menu (we might as well get
6900 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6902 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6905 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
6907 * lyxvc.C: reorder includes.
6909 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
6911 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6914 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
6916 * CutAndPaste.C: change layouts earlier on paste
6917 to avoid crashing when calling getFont()
6919 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
6921 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6924 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
6926 * WorkArea.C: remove 'Pending' debug message.
6928 * most files: ws cleanup
6930 * buffer.[Ch]: ws changes
6932 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6934 2002-03-21 Juergen Vigna <jug@sad.it>
6936 * tabular.C (SetMultiColumn): collapse also the contents of the
6937 cells and set the last border right. Added a Buffer const * param.
6939 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
6941 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6944 2002-03-19 Juergen Vigna <jug@sad.it>
6946 * text2.C (clearSelection): reset also xsel_cache.
6948 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6949 where it needs to be called (John tells us to do so too :)
6950 (selectionLost): reset sel_cache.
6952 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6954 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6956 * text2.C (setCursorIntern): put debuging code in INSETS channel
6958 2002-03-19 André Pönitz <poenitz@gmx.net>
6960 * lyxfunc.C: tiny whitespace change
6962 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
6964 * ToolbarDefaults.C (init):
6965 * LyXAction.C (init):
6967 * BufferView_pimpl.C (Dispatch):
6968 * lyxfunc.C (dispatch): remove LFUN_DEPTH
6970 2002-03-19 Allan Rae <rae@lyx.org>
6972 * exporter.C (Export): removeAutoInsets before doing anything else.
6973 While I've just introduced a dependency on BufferView this really is
6974 the best place to clean the buffer otherwise you need to cleanup in
6975 a dozen places before calling export or cleanup in a dozen functions
6978 * converter.C (runLaTeX):
6979 (scanLog): Better handling of removeAutoInsets and screen updates.
6981 * lyxfunc.C (dispatch): small whitespace changes
6983 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
6985 * WorkArea.C (C_WorkAreaEvent): return a value.
6986 (event_cb): return 1 if we handled the event, 0 otherwise.
6988 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6990 2002-03-18 Juergen Vigna <jug@sad.it>
6992 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6993 (GetAdditionalWidth): ditto.
6997 * BufferView2.C (copy): use getLyXText() so that we do it inside an
6998 inset if we're there actually (probably not used right now but this
6999 is the direction to go for unifying code).
7000 (paste): disable code to clear the selection.
7002 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7003 inside an InsetText and move the check further up as it is in the
7006 * text2.C (pasteSelection): set a selection over the pasted text.
7008 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
7010 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7011 and libgraphics to build on Cygwin.
7013 2002-03-15 Juergen Vigna <jug@sad.it>
7015 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7016 inserting an Inset into the paragraph. I know this is not the best
7017 fix but we already use current_view in CutAndPaste so we will remove
7018 all of it's using at the same time.
7020 * buffer.C (sgmlError): deactivated function till it is rewritten in
7021 the right mode, now it can create problems.
7023 * paragraph.C (isLineSeparator): check if getInset returns != 0,
7024 before accessing it.
7026 2002-03-14 Juergen Vigna <jug@sad.it>
7028 * undo_funcs.C (textHandleUndo): do the right thing when updating
7029 the inset after the undo/redo.
7031 * text2.C (setCursor): just some testcode for #44 not ready yet.
7033 * undo_funcs.C (textHandleUndo): set the next() and previous()
7034 pointers of the paragraph to 0 before deleting otherwise we have
7035 problems with the Paragraph::[destructor].
7037 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7038 on a paragraph insertion.
7040 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7042 * buffer.C (asciiParagraph): use += operator for char append to
7045 * paragraph.C (getFontSettings): compare >= not just >
7046 (highestFontInRange): ditto
7049 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7051 * paragraph.C: change several algorithm to be more appripriate for
7052 the problem domain. This is lookip in FontList and in the InsetList.
7054 2002-03-13 André Pönitz <poenitz@gmx.net>
7057 * LyXAction.C: remove unused LFUN_MATH_MACROARG
7059 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
7064 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7066 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7068 * Painter.C (display): anon helper function, adjust code for this
7070 (pixmap): remove function.
7072 * Painter.h: remove private display variable.
7074 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7076 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
7078 * WorkArea.[Ch]: remove figinset_canvas cruft.
7080 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
7082 * lyxtextclass.C (operator): add one item cache optimization.
7084 * bufferlist.h: doxy changes
7086 * bufferlist.C: ws changes
7088 * DepTable.[Ch] (ext_exist): place const in the right spot.
7090 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7092 (workAreaExpose): call resizeInsets when the with BufferView changes.
7093 (Dispatch): adjust for protectedBlank removal
7094 (specialChar): call updateInset if the insert went ok.
7096 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7097 specialChar instead.
7099 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7101 * BufferView.h: doxy change
7103 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7105 * lyxtextclass.C (operator[]): remove non-const version
7106 (defaultLayout): remove non-const version
7108 2002-03-12 Juergen Vigna <jug@sad.it>
7110 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7111 did resize the LyXText too.
7113 * buffer.C (readLyXformat2): set layout information on newly allocated
7116 * tabular.C (OldFormatRead): set layout information on the paragraph.
7118 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7120 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7122 2002-03-11 Juergen Vigna <jug@sad.it>
7124 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7126 (resizeCurrentBuffer): force also the insets to resize themselfes.
7127 (moveCursorUpdate): fixed up for InsetText.
7129 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
7132 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7133 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7134 value of Dialogs::tooltipsEnabled().
7135 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7137 2002-03-08 Juergen Vigna <jug@sad.it>
7139 * BufferView_pimpl.C (updateInset): update inset inside inset also
7140 if it isn't inside theLockingInset().
7142 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7144 * buffer.C (asciiParagraph): redo some of the word and line length
7146 (getLists): look for Caption instead of caption.
7148 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7150 * buffer.C (Buffer): initialize niceFile to true
7153 (makeDocBookFile): make sure niceFile is true on exit
7155 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7157 * buffer.C (makeLaTeXFile): escape ~ in \input@path
7159 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
7161 * LyXSendto.C: remove.
7162 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7163 * lyx_gui.C: remove now-redundant comment.
7164 * ColorHandler.h: remove forward declaration of class WorkArea.
7165 * lyxfunc.C: remove #include "WorkArea.h".
7167 2002-03-07 Juergen Vigna <jug@sad.it>
7169 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7170 got moved away with the DEPM and also set the inset_owner always
7171 right which before could have been omitted.
7173 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7175 * buffer.C (parseSingleLyXformat2Token): use default layout is the
7176 wanted layout is not found.
7178 2002-03-07 Juergen Vigna <jug@sad.it>
7180 * CutAndPaste.C (cutSelection): another layout settings forgotten.
7182 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
7184 * paragraph.C (breakParagraph): use default layout not layout of
7186 (Paragraph): clear ParagraphParameters.
7188 2002-03-06 Juergen Vigna <jug@sad.it>
7190 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7191 otherwise it would not be a valid lenght. Fixed a special case in
7192 the minipage compatibility read where we end the document with a
7195 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7196 was set as it could be 0 for InsetTexts first entry.
7198 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7200 * paragraph.C (writeFile): if layout is empty write out
7201 defaultLayoutName().
7203 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7204 file without named layout we set layout to defaultLayoutName().
7206 2002-03-06 Juergen Vigna <jug@sad.it>
7208 * CutAndPaste.C (copySelection): set layout for new paragraph.
7210 * text.C (prepareToPrint): leave ERT inset left aligned
7211 (leftMargin): don't indent paragraphs inside ERT insets
7213 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
7215 * paragraph.C (breakParagraph): dont call clear do the work manually
7217 * paragraph.[Ch] (clear): remove function
7219 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7221 * paragraph.C (Paragraph): dont call clear, the work has already
7224 * lyxtextclass.C (operator): assert if n is empty
7226 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7227 work manually instead.
7229 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7231 * BufferView_pimpl.C: protect selectionLost against text == 0
7233 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
7235 * text.C (breakParagraph): fix a setting layout to '0' problem.
7237 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
7239 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7240 final location of file, for the included files, and graphics.
7242 2002-03-05 Juergen Vigna <jug@sad.it>
7244 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7246 2002-03-04 Juergen Vigna <jug@sad.it>
7248 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7250 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7251 last column of multicolumn cells.
7252 (SetWidthOfMulticolCell): recalculate NMC and real columns.
7254 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
7256 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7257 file if it doesn't go to a temporary file.
7259 * buffer.C (sgmlOpenTag):
7260 (sgmlCloseTag): remove extra newline insertion.
7262 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
7264 * text.C (getRowNearY): comment out debug msg
7266 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
7268 * text2.C: first -> first_y
7270 * text.C (getRowNearY): add some attemts at a possible
7271 optimization, not working.
7273 * tabular.[Ch]: add BufferParams to several function so that newly
7274 created paragraph can be initialized to he default layotu for the
7277 * tabular-old.C (ReadOld): add buf->params to call of Init
7279 * screen.C: rename text->first to text->first_y
7281 * paragraph.C (breakParagraph): always set layout in the broken
7284 * lyxtextclass.C (Read): remove lowercase
7287 (delete_layout): ditto
7289 * lyxtext.h: rename first -> first_y
7291 * lyxlayout.C (Read): remove lowercase
7294 (obsoleted_by): ditto
7296 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7298 * buffer.C (insertErtContents): add params are to InsetERT
7299 (parseSingleLyXformat2Token): add code to check if a paragraphs
7300 layout really exist.
7301 (parseSingleLyXformat2Token): add params to several inset
7303 (asciiParagraph): remove lowercase, do the layout comparisons with
7306 * BufferView_pimpl.C (cursorNext): first -> first_y
7307 (resizeCurrentBuffer): first -> first_y
7308 (updateScrollbar): first -> first_y
7309 (scrollCB): first -> first_y
7310 (workAreaMotionNotify): first -> first_y
7311 (workAreaButtonPress): first -> first_y
7312 (checkInsetHit): first -> first_y
7313 (cursorPrevious): first -> first_y
7314 (cursorNext): first -> first_y
7315 (Dispatch): add buffer_->params to severl inset contructors
7317 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
7319 * lyxlayout.C (Read): remove some debug info that I forgot.
7321 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7322 clean up the code slightly.
7323 (makeLinuxDocFile): ditto
7324 (makeDocBookFile): ditto
7326 * text2.C: layout as string
7328 * text.C: layout as string
7330 * paragraph_pimpl.C: layout as string
7332 * paragraph.[Ch]: layout as string
7334 * lyxtextclasslist.[Ch]: layout as string
7336 * lyxtextclass.[Ch]: layout as string
7338 * lyxtext.h: layout as string
7340 * lyxlayout.[Ch]: layout as string
7342 * lyx_cb.C: layout as string
7344 * bufferview_funcs.C: layout as string
7346 * bufferparams.C: layout as string
7348 * buffer.C: layout as string
7350 * LyXView.[Ch]: layout as string
7352 * LaTeXFeatures.[Ch]: layout as string
7354 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7356 * BufferView_pimpl.C: change current_layout to string, remove
7361 (workAreaButtonRelease): layout as string
7363 * BufferView2.C (unlockInset): adjust
7365 * vspace.C (asLatexCommand): use an explict temp variable.
7367 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
7369 * Makefile.am: use FRONTEND_*
7371 2002-03-01 Juergen Vigna <jug@sad.it>
7373 * tabular.C (SetWidthOfMulticolCell): changed to something better
7374 I hope but still work in progress.
7375 (recalculateMulticolumnsOfColumn): renamed function from
7376 recalculateMulticolCells as it is more appropriate now.
7377 (SetWidthOfCell): calculate multicols better.
7379 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7381 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7383 * lyxfunc.C (processKeySym): print sequence also if it is
7384 `deleted' (complete)
7386 * kbsequence.C (print): print sequence even if it is deleted
7387 (complete would be a better word, actually).
7389 * lyxfunc.C (dispatch): print complete options after a prefix key
7391 * vspace.C (asLatexCommand): rewrite in a slightly different form.
7393 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
7395 * text2.C (setCharFont): eliminate setCharFont code duplication.
7397 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7399 * BufferView_pimpl.C (Dispatch): remove bogus handling of
7400 LFUN_TABULAR_FEATURE (bug #177)
7402 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
7404 * Makefile.am: remove figure.h
7406 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
7408 * Bufferview_pimpl.C:
7420 * text2.C: remove #include "lyx_gui_misc.h".
7422 * LaTeX.C: added #include <cstdio>
7424 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7426 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7427 that the paragraph following this one can have.
7429 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7431 * vspace.C (asLatexCommand): fix bogus gcc warning
7433 * Makefile.am (lyx_SOURCES): remove vms_defines.h
7435 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
7437 * text2.C (setLayout): get rid of redundant code
7439 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
7441 * text2.C (incDepth): make sure depth cannot be increased beyond
7444 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
7446 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7447 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7449 * PainterBase.h (image):
7450 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7453 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7457 * BufferView_pimpl.C:
7458 * BufferView_pimpl.h:
7478 * sp_spell.C: remove fig inset, and the crap house of
7479 cards that follows it
7481 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
7487 * nt_defines.h: move .h into support/
7489 * vms_defines.h: remove
7491 * WorkArea.C: add space in debug output
7495 * buffer.C: add WITH_WARNINGS
7499 * bufferlist.C: s/retrive/retrieve/, add docs
7510 * lyxgui.C: add ID to X error handler
7512 * lyxtestclass.c: fix typo
7514 2002-02-26 Juergen Vigna <jug@sad.it>
7516 * tabular_funcs.C (write_attribute): changed so that some default
7517 attributes are not written at all.
7518 (getTokenValue): set default values before trying to read the
7519 value so we have the return value always set as default if we don't
7520 find the token we search for.
7522 * tabular.C (Write): write bools as bools not as strings!
7524 2002-02-22 Juergen Vigna <jug@sad.it>
7526 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7527 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7529 * text.C (leftMargin): don't add an indent for paragraphs inside
7530 tabular cells (fix #208).
7532 2002-02-21 José Matos <jamatos@fep.up.pt>
7534 * tabular.C (docBook): fixed support for long tables.
7536 2002-02-20 Juergen Vigna <jug@sad.it>
7538 * text2.C (getFont): get the drawing font of the Inset if this
7539 paragraph is inside an inset (only important for InsetERT for now).
7541 * buffer.C (insertErtContents): use new lanugage params in ERT
7544 * CutAndPaste.C: commenting out seemingly uneeded code.
7546 2002-02-19 Allan Rae <rae@lyx.org>
7548 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
7549 Iterators might be simple to use but they also get invalidated.
7550 (removeAutoInsets): renamed saved cursor tracking variables and added
7551 some comments to clarify what everything does.
7553 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
7560 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
7561 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
7564 * vc-backend.h: remove #include "support/syscall.h"
7568 * converter.C: rearrange #includes in Lars' approved fashion.
7570 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
7571 forward declare class Timeout in the header file.
7573 * XFormsView.C: changes due to the above.
7575 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
7578 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
7579 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
7581 2002-02-18 José Matos <jamatos@fep.up.pt>
7583 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
7586 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7588 * a lot of small ws changes
7589 * add a lot of using std::XXX
7590 * use std construcs some places where approp.
7591 * use some exisint stuff from lyxfunctional where approp.
7592 * Make file changes to use partial linking (lets test this now...)
7594 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7598 remove #include "support/syscontr.h" as it's redundant. Always has been.
7606 change Systemcalls::System to Systemcalls::Wait and
7607 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
7608 No change of functionality, just reflects the stripped down Systemcalls
7611 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
7613 * debug.[Ch]: add a GRAPHICS type to the enum.
7615 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7617 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
7619 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
7622 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7624 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
7625 match the changes below.
7627 * text2.C (toggleInset): if there is not editable inset at cursor
7628 position, try to see if cursor is _inside_ a collapsable inset
7631 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7633 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
7634 document menu has a nice checkbox
7636 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7638 * lyxlength.C (asLatexString): change PW to output as percent of
7641 * lengthcommon.C: change '%' to 't%'
7643 * lyxfunc.C (dispatch): a few comments from Martin
7645 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
7649 * BufferView_pimpl.h:
7650 * BufferView_pimpl.C: clear our selection when X tells us we've lost
7653 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7655 * vspace.C (inPixels): fix compiler warning
7657 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7659 * lyxfunc.C (getStatus): fix status message for disabled commands.
7661 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
7663 * BufferView_pimpl.C: fix crash on close buffer
7664 during selection (#227)
7666 2002-01-27 Herbert Voss <voss@lyx.org>
7668 * buffer.C: link old Figure to new graphic inset
7670 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
7672 * FontLoader.C (getFontinfo): Change the latex font names in order
7673 to match the names of type1inst.
7675 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
7677 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
7679 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
7682 (remove_files_with_extension): ditto
7683 (remove_file): ditto
7686 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
7687 document is smaller than the work area height. Do not initialize
7688 static variables to 0.
7690 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7692 * lyx_gui.C (init): give the toolbar tooltips a normal font.
7694 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
7695 LFUN_LAYOUT_PARAGRAPHS.
7697 * tabular.C (GetCellFromInset): new method. Finds an inset in a
7698 tabular. It is possible to provide a possible cell, which will
7699 typically be the actcell from the corresponding insettabular
7701 * lyxfunc.C (getStatus): small cleanup; disable
7702 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
7705 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7707 * tabular.C (Validate): remove broken optimization (fixes bug #201)
7709 * paragraph.C (startTeXParParams):
7710 (endTeXParParams): new methods. The LaTeX code to
7711 start/end paragraph formatting
7712 (simpleTeXOnePar): call startTeXParParams also when paragraph is
7713 empty (fixes bug #200)
7715 * vspace.C (inPixels): adapt to the change below
7716 (inPixels): [later] more cleanups (remove unused variables)
7718 * lyxlength.C (inPixels): change to use a width and a height as
7721 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7723 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
7724 Replaced with \paperwidth
7726 * DepTable.C (insert): add std:: qualifier
7728 2002-01-18 Allan Rae <rae@lyx.org>
7730 * text2.C (removeRow): add comment. Should other refresh_?? vars be
7733 * text.C (drawInset): Turned out I didn't know enough about how
7734 rebreaking worked. This fixes most of the redraw problems. I see
7735 an occasional cursor trail when a line is broken now and the cursor
7736 placement can seem out by a few pixels also after a rebreak.
7738 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7740 * buffer.C (parseSingleLyXformat2Token): update because minipage
7741 width is now a LyXLength
7743 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
7745 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
7748 2002-01-17 Juergen Vigna <jug@sad.it>
7750 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
7752 * BufferView2.C (lockInset): call edit() so that theLockingInset()
7753 is set correctly and the inset is updated correctly.
7755 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7757 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
7758 the beginning of the loop.
7760 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
7762 * lyxrc.C: improve help for use_scalable_fonts
7764 2002-01-17 Allan Rae <rae@lyx.org>
7766 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
7768 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7770 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
7771 make sure to set their inset_owner to the right value (bug #171)
7773 2001-12-12 Ben Stanley <bds02@uow.edu.au>
7776 * DepTable.C: Implement mtime checking to reduce time spent doing
7779 2002-01-16 Juergen Vigna <jug@sad.it>
7781 * tabular.C (GetAdditionalHeight): one of error fixed.
7783 * lyxrc.C (output): small fix in writing use_pspell.
7785 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
7787 * sp_base.h: #include LString.h
7789 2002-01-16 Allan Rae <rae@lyx.org>
7791 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
7792 Can someone check this please?
7794 * text.C (drawInset): It was possible that p.row would be removed by
7795 breakAgainOneRow upsetting a few other settings. There may be another
7796 small tweak possible by setting need_break_row = 0 when p.row has been
7797 removed but I don't know enough about the logic here.
7799 2002-01-15 Allan Rae <rae@lyx.org>
7801 * text.C (insertChar): removed conditional truism.
7803 * BufferView2.C (removeAutoInsets): More tweaks.
7804 cur_par_prev could be a stray pointer. Check for trailing empty line
7805 in case last line was cur_par and only had an error inset on it.
7807 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7809 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
7812 * vc-backend.C (most methods):
7813 * exporter.C (Export):
7814 * converter.C (convert):
7816 * LyXSendto.C (SendtoApplyCB):
7817 * lyxfunc.C (dispatch):
7821 * lyx_cb.C (AutoSave):
7823 * BufferView_pimpl.C (MenuInsertLyXFile):
7824 * buffer.C (runChktex): use Buffer::filePath().
7826 * buffer.h: rename filename to filename_; rename filepath to
7827 filepath_ and make it private
7828 (filePath): new method
7830 * buffer.C (writeFile): use fileName()
7833 * lyx_main.C (init): fix starting of LyX when the binary is a
7834 link from so,ewhere else.
7836 * minibuffer.C: include <cctype> for isprint
7838 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7840 * buffer.C (parseSingleLyXformat2Token): changes associated with the
7841 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
7842 name clash with InsetCollapsable's width function.
7844 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7846 * lastfiles.C: include <iterator>
7848 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7850 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
7853 * buffer.C (makeLaTeXFile): ditto.
7854 Also make loop operation more transparent.
7856 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
7858 * ToolbarDefaults.C: remove trailing comma closing namespace.
7860 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
7862 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
7865 * trans.C (Load): comment out unused variable, allowed.
7867 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
7869 * minibuffer.[Ch] (append_char): new method to recieve input from the
7870 drop-down completion browser. If a key was pressed, then recieve this
7871 char and append it to the existing string.
7872 (peek_event): modify the positioning data passed to the completion
7873 browser so that it can be placed above the minibuffer rather than below.
7874 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
7876 * LyXAction.C (init): alloe error-next for readonly documents.
7878 * BufferView2.C (ChangeRefsIfUnique): use standard version of
7881 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7883 * bufferlist.C (readFile): create the buffer _after_ checking that
7886 * lyxfunc.C (verboseDispatch): fix handling of arguments
7888 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
7890 * lyxrc.C: use string::erase() instead of initializing to "".
7893 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
7895 * BufferView_pimpl.h:
7896 * BufferView_pimpl.C:
7899 * text2.C: tell X when we have made a selection for copying
7901 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7903 * BufferView_pimpl.C (MenuInsertLyXFile):
7904 * lyxfunc.C (menuNew):
7906 (doImport): add shortcuts to directory buttons
7908 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7911 * lyxfunc.C (setStatusMessage):
7912 (getStatusMessage): new methods
7913 (getStatus):use setStatusMessage instead of setErrorMessage
7914 (dispatch): when function is disabled, set error message here
7915 [instead of in getStatus previously]
7917 * BufferView_pimpl.C (workAreaButtonRelease): update
7918 toolbar/menubar here too.
7920 2002-01-13 Allan Rae <rae@lyx.org>
7922 * BufferView2.C (removeAutoInsets): finished off earlier fix.
7923 Now seems indestructible. Remaining task is to audit all other
7924 code affected by deleteEmptyParagraphMechanism. One small quirk
7925 left is that an empty document with an error in the preamble can
7926 be made to report an error but no error box appears. I don't know
7928 (removeAutoInsets): Improved comments.
7930 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
7933 * Thesaurus.C: update for Aiksaurus 0.14
7935 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
7937 * text2.C (firstParagraph): removed member function, all uses
7938 replaces with ownerParagraph
7939 (redoParagraphs): here
7941 (toggleAppendix): here
7942 * BufferView2.C (insertErrors): here
7943 (setCursorFromRow): here
7945 2002-01-13 Allan Rae <rae@lyx.org>
7947 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7948 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7949 There is still a way to segfault this although you may have to do this
7950 multiple times: Have an InsetERT with an unknown command in it.
7951 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7952 <down-arrow>, <Enter> again, View->DVI, BANG!
7954 * text2.C (setCursor):
7955 (deleteEmptyParagraphMechanism):
7956 * lyxtext.h (setCursor):
7957 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7958 Making use of the return value may help fix other bugs.
7960 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7962 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7964 * LyXView.C (updateMenubar): call MenuBar::update here
7965 (updateToolbar): but not here
7966 (showState): do not update toolbar/menubar
7968 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7969 should need to care about that.
7971 * lyxfunc.C (verboseDispatch): simplify a bit
7972 (getStatus): have a version which takes a pseudoaction, and
7973 another which requires a (kb_action,string).
7975 * LyXAction.C (retrieveActionArg): make it work also when action
7976 is not a pseudo-action.
7977 (getActionName): simplify a bit
7980 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7982 * lyxfunc.C (verboseDispatch): new families of methods with
7983 several ways to specify a command and a bool to indicate whether
7984 the command name and shortcut should be displayed in minibuffer
7985 (eventually, we could extend that to a finer bitmask like
7986 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7987 (dispatch): the pristine dispatch command which just, well,
7988 dispatchs! Note it still sets its result to minibuffer; I'm not
7991 * lyxfunc.h: remove setHintMessage
7993 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7995 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7997 * BufferView_pimpl.C (specialChar): delete new inset if we have
7998 not been able to insert it.
8000 * kbmap.C: revert to using int instead of kb_action, since all we
8001 are dealing with is pseudo-actions.
8003 * LyXAction.C (searchActionArg): change to return int instead of
8004 kb_action, since the result is a pseudoaction.
8006 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
8008 * buffer.C (insertErtContents): Fix (partially) the font bug.
8010 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
8012 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8013 as the other one is broken on my machine!
8015 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
8018 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8020 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
8022 * lyxrc.[Ch]: change names and descriptions of popup font variables to
8023 reflect their actual use. Provide compatibility code for older lyxrc
8026 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8028 change names of popup font variables in line with the changes to lyxrc.C
8030 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8032 * buffer.C (asciiParagraph): avoid outputing a word twice after
8035 * lyxrc.C (getDescription): document that document_path and
8036 template_path can be empty.
8038 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8040 * LaTeXFeatures.C (getMacros):
8041 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8043 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8045 * LaTeXFeatures.C (useFloat): require "float" here instead of in
8047 (getPackages): rename feature "floats" to "float". Use an array to
8048 iterate over 'simple' features (i.e. just a \usepackage). Add
8049 handling of "amsmath" (renamed from "amsstyle").
8051 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
8053 * LaTeXFeatures.C (require): Prevent duplicate entries in the
8056 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
8058 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8059 FuncStaus::FuncStatus & FuncStaus::some_method().
8061 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
8063 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8064 of the func_satus stuff. Edited and massaged in various ways by
8067 * lyxfunc.C (getStatus): use FuncStatus
8069 2002-01-08 Juergen Vigna <jug@sad.it>
8071 * text.C (nextBreakPoint): use function Inset::isChar().
8073 * paragraph.C (TeXOnePar): use function
8074 Inset::forceDefaultParagraphs.
8076 * buffer.C (latexParagraphs): use function
8077 Inset::forceDefaultParagraphs.
8079 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8081 * lyx_gui.C (init): set the style of the menu popups to
8082 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8084 2002-01-07 Juergen Vigna <jug@sad.it>
8086 * text.C (setHeightOfRow): small fix
8087 (prepareToPrint): don't look at alignment if we don't have the place
8090 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8092 * box.C: New file. Move the Box methods and functions out of box.h,
8093 following Lars' suggestion.
8095 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
8097 * box.h: #include "support/LOstream.h", needed for inlined function.
8100 * lyxtextclasslist.C: added some using std declarations.
8102 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
8104 * box.h: make signed dimensions to allow insets wider than
8105 the screen (bug #162)
8107 * BufferView_pimpl.C: add some insetHit debug
8109 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
8111 * vc-backend.C: add FIXME
8113 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8115 * lyxfunc.C (getStatus): enable code for showing math font status
8118 2002-01-07 Juergen Vigna <jug@sad.it>
8120 * text.C (nextBreakPoint): removed debug output not needed anymore.
8122 2002-01-06 Juergen Vigna <jug@sad.it>
8124 * text.C (nextBreakPoint): fixed up this function we had this bug
8125 since ever but now hopefully we break row better.
8126 (insertChar): we have to check if an inset is the next char as it
8127 could now happen that a large inset is causing a break.
8129 2002-01-05 Juergen Vigna <jug@sad.it>
8131 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8132 if it doesn't like to be drawed.
8134 2002-01-04 Juergen Vigna <jug@sad.it>
8136 * BufferView2.C (lockInset): forgot to set a cursor.
8138 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8140 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
8145 * form_maths_panel.C:
8146 * form_maths_panel.h:
8147 * form_maths_panel.fd: implemented sub- and super- buttons in math
8150 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8151 (or ^ space) to be used as in TeX (req'd by André).
8153 * lyxfunc.C: Allow ^ and _ again to be used both as
8154 super/subscript (mathed) and as themselves (in text).
8156 2002-01-03 Allan Rae <rae@lyx.org>
8158 * LyXView.C (updateWindowTitle): Setup a short icon title of either
8159 "LyX" or the filename of the current buffer if it has one. This is a
8160 modified form of John Levon's patch.
8162 * XFormsView.C (setWindowTitle): also set icon title.
8164 * LyXView.h (setWindowTitle): signature changed.
8165 * XFormsView.h (setWindowTitle): ditto.
8167 2002-01-02 Juergen Vigna <jug@sad.it>
8169 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8171 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
8173 * screen.C (topCursorVisible): introduce a temp var for
8174 text->cursor.row(), handle the case where this row is null. (kindo
8177 * text2.C (setCursor): add a couple of asserts.
8179 * paragraph.h (inset_iterator): add -> operator
8181 * paragraph.[Ch] (autoDeleteInsets): remove member function
8183 * BufferView2.C (removeAutoInsets): rewrite to handle the old
8184 cursor pos correctly and handle inset deletion by itself.
8185 (insertErrors): move iterator declaration out of for expression
8187 * lyxtextclass.C: add <algorithm>
8189 * Makefile.am: added the new files to sources, removed layout.C
8191 * layout.C: removed file
8193 * layout.h: remove LYX_DUMMY_LAYOUT
8195 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8199 * lyxtextclass.[Ch]:
8200 * lyxtextclasslist.[Ch]: new files
8202 * include order changes to a lot of files, also changes because of
8205 2001-12-27 Juergen Vigna <jug@sad.it>
8207 * buffer.C (asciiParagraph): more fixes.
8209 * tabular.C (ascii): make ascii export support export of only the
8210 data separated by a column-delimiter.
8211 (ascii): better support for ascii export.
8213 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8215 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8217 * tabular_funcs.C: use a "using std::getline" instead of the
8218 previous fix from Angus (necessary for cxx + lyxstring)
8220 2001-12-24 Juergen Vigna <jug@sad.it>
8222 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8224 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8225 problems. First check a minipage also if we have some ert-contents
8226 (not only on par->size(), second set the right depth of the paragraph
8227 on the relink to the root-paragraph-list!
8229 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8230 which then did not anymore update the main paragraphs on undo/redo!
8232 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8234 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8235 code. Support all font-changing funcs (even those which are not in
8236 menu currently). Support for reporting font settings in
8237 mathed (disabled until Andre provides a function on mathed's side).
8239 * func_status.h (toggle): small helper function to set toggle
8242 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
8244 * tabular_funcs.C: getline -> std::getline
8246 2001-12-21 Juergen Vigna <jug@sad.it>
8248 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8249 accessed and could be 0 (I couldn't generate this but it seems
8252 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
8254 * tabular_funcs.C: add LIstream.h, move write_attribute to..
8255 * tabular_funcs.h: here and include iosfwd
8257 2001-12-20 Juergen Vigna <jug@sad.it>
8259 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8260 inside inset but undo_par was.
8262 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8264 * Thesaurus.C: always include <config.h> in sources.
8268 * box.h: do not include <config.h> in header files
8270 * text.C (paintLastRow): remove unused variable
8272 * text.C (transformChar):
8274 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8277 * font.C (width): rewrite to use uppercase() instead of
8280 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8282 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
8284 * lyxfind.C: clean up of find failure position change
8286 2001-12-20 Juergen Vigna <jug@sad.it>
8288 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8290 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8291 (TeXRow): added to LaTeX a single tabular row.
8292 (TeXLongtableHeaderFooter): added to output LT-h/f data.
8293 (Latex): simplified and finally good LT-h/f support.
8294 (various_functions): just small adaptions for LT-h/f support.
8296 * tabular_funcs.[hC]: added and moved here all not classfunctions
8299 2001-12-19 Juergen Vigna <jug@sad.it>
8301 * tabular.[Ch]: better support for longtabular options (not finished
8304 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8306 * text.C (paintLastRow): use the label font instead of the font of
8307 the last character to compute the size of *_BOX. This makes more
8308 sense and avoids a crash with empty paragraphs.
8309 Use Painter::rectangle to draw EMPTY_BOX.
8311 2001-12-19 Juergen Vigna <jug@sad.it>
8313 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8314 the paragraphs if the replaced paragraph is not the first one!
8315 Tried to delete not used paragraphs but does not work yet so for
8316 now it's inside #ifdef's and by default off!
8318 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8320 * MenuBackend.C: include "lyx_main.h" instead of declaring
8321 lastfiles (actually was declared as LastFiles* instead of a
8324 2001-12-17 Juergen Vigna <jug@sad.it>
8326 * tabular.C (AppendColumn): applied John's fix
8328 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
8332 * BufferView_pimpl.h:
8333 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8336 * box.h: new start of class for above
8338 * lyxfunc.C: ignore space-only minibuffer dispatches.
8339 Show the command name when it doesn't exist
8341 * minibuffer.C: don't add empty lines to the history
8343 * minibuffer.C: add a space on dropdown completion
8345 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
8347 * text.C: fix line above/below drawing in insets
8349 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8351 * lyxlength.C (LyXLength): Initialize private variables.
8353 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
8355 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8356 when inserting error insets.
8358 2001-12-13 Juergen Vigna <jug@sad.it>
8360 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8361 actually sometimes the before-paragraph.
8362 (setUndo): don't clear the redostack if we're not actually undoing!
8364 2001-12-06 Juergen Vigna <jug@sad.it>
8366 * undo_funcs.C (textHandleUndo): well after John's hint I got here
8367 and fixed redoing of main paragraph, so we can use it now ;)
8369 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8371 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8373 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8376 2001-12-13 André Pönitz <poenitz@gmx.net>
8379 * undo_func.C: minor cleanup
8381 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8383 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8384 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8385 font in urw-fonts package which is marked as -urw-fontspecific and
8386 does not work (incidentally, changing the encoding in the
8387 fonts.dir of this package to -adobe-fontspecific fixes the
8390 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8391 is a crash when undoing first paragraph (Juergen, please take a
8392 look). THis does not mean the undo fix is wrong, just that it
8395 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8396 the (Paragraph*) version when needed instead of duplicating the
8399 * text.C (workWidth): use Inset::parOwner to find out where the
8400 inset has been inserted. This is a huge performance gain for large
8401 documents with lots of insets. If Inset::parOwner is not set, fall
8402 back on the brute force method
8404 * paragraph_pimpl.C (insertInset):
8405 * paragraph.C (Paragraph):
8406 (cutIntoMinibuffer): set parOwner of insets when
8407 inserting/removing them
8409 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8411 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
8417 * mathed/formulabase.C:
8418 * mathed/math_cursor.[Ch]:
8419 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8422 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
8424 * lyxlength.[Ch] (operator!=): new function
8426 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8428 * text.C (workWidth): use Inset::parOwner to find out where the
8429 inset has been inserted. This is a huge performance gain for large
8430 documents with lots of insets. If Inset::parOwner is not set, fall
8431 back on the brute force method
8433 * paragraph_pimpl.C (insertInset):
8434 * paragraph.C (Paragraph):
8435 (cutIntoMinibuffer): set parOwner of insets when
8436 inserting/removing them
8438 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8440 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8442 * tabular-old.C (getTokenValue):
8443 * tabular.C (getTokenValue):
8444 (write_attribute): new versions for LyXLength
8445 (everywhere): adjust the use of widths
8447 * tabular.h: change the type of widths from string to LyXLength
8449 2001-12-11 Ben Stanley <bds02@uow.edu.au>
8451 * paragraph.C: fixed missing line number count when exporting
8452 Environments to LaTeX file
8454 * buffer.C: added informational message for checking line numbers.
8456 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8458 * text2.C (deleteEmptyParagraphMechanism): if there is only one
8459 paragraph, do the 'double space' part, but not the 'empty
8462 * text.C (workWidth): small optimization
8463 (getLengthMarkerHeight): use minimal size for negative lengths.
8465 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
8467 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8469 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8471 2001-12-11 André Pönitz <poenitz@gmx.net>
8474 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8476 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8478 * text2.C: keep selection on a setFont()
8480 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8482 * lyx_cb.C: another bv->text misuse, from insert label
8484 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8487 * kbsequence.C: re-instate nmodifier mask
8489 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
8491 * lyx_main.h: make lyxGUI private.
8493 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
8495 * lyxfind.C: place the cursor correctly on failed search
8497 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8499 * text.C (getLengthMarkerHeight): for small heights, the arrows
8500 are not always on top/bottom of the text
8501 (drawLengthMarker): smaller arrows; take the left margin in
8502 account; draw also vfills.
8504 (paintLastRow): remove special code for vfill and standard spaces,
8505 since everything is handled in drawLengthMarker now.
8507 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
8509 * buffer.C (insertErtContents): try to handle font and language
8510 interaction a bit better.g
8512 * ColorHandler.C (updateColor): change the hash to cover the whole
8513 LColor enum, ws cleanup
8514 (getGCLinepars): ditto
8515 (getGCLinepars): only lookup in the linecache once.
8517 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
8519 * iterators.C (operator++): Make the iterator more robust
8521 * BufferView2.C (removeAutoInsets): Use paragraph iterators
8523 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8525 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8528 * text.C: better added space drawing
8530 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8533 * BufferView2.C: fix layout combo update on inset unlock
8535 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8537 * Makefile.am: don't compile unused files
8539 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8543 * LyXAction.C: remove old LFUN_LAYOUTNO
8545 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8547 * paragraph_pimpl.h:
8548 * paragraph_pimpl.C: isTextAt() doesn't need font param
8550 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8553 * lyxlex.C: little cleanup
8555 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
8557 * BufferView_pimpl.C: fix insertAscii for insets
8559 2001-12-05 Juergen Vigna <jug@sad.it>
8561 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
8562 set the right font on the "multi" paragraph paste!
8564 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8570 * lyxlength.C: remove out-commented code.
8586 * vc-backend.C: change "while(" to "while ("
8588 * lyxlength.[Ch]: add zero function to check if length is zero or
8590 * lyxgluelength.C: use it
8592 2001-12-05 Allan Rae <rae@lyx.org>
8594 * lyxlength.C: Attempted a fix for the abs(int) header selection.
8595 Works for 2.95.3, from what I understand of Garst's reports this should
8596 work for other g++ versions. We're screwed if the abs(int) definition
8597 changed between bugfix releases of gcc.
8599 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8601 * text.C: fix chapter label offset !
8603 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
8606 * text.C: fix hfill at end of line, clean up
8608 2001-12-04 Juergen Vigna <jug@sad.it>
8610 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
8611 that we force an update of the inset and it's owners if neccessary.
8613 2001-12-03 Juergen Vigna <jug@sad.it>
8615 * text.C (rowLast): simplified code
8617 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
8619 * lyxfunc.C: fix show options on timeout
8621 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
8623 * screen.C (topCursorVisible): scroll half a page when the cursor
8624 reached top of bottom of screen
8626 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
8628 * minibuffer.C: deactivate on loss of focus
8630 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
8632 * vspace.[Ch] (operator!=): add operator.
8634 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
8636 * BufferView_pimpl.C: refuse to open an inset when
8637 there's a selection.
8639 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
8641 * BufferView_pimpl.C: allow to click on RHS of full row insets
8643 2001-11-30 Juergen Vigna <jug@sad.it>
8645 * tabular.C (LyXTabular): add a same_id to set the same id's in the
8646 insets for undo reasons.
8648 2001-11-28 André Pönitz <poenitz@gmx.net>
8650 * vspace.[Ch]: cosmetical changes
8652 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8662 * kbsequence.C: part re-write of old kb code
8665 * WorkArea.C: remove Lgb_bug_find_hack
8667 2001-11-30 José Matos <jamatos@fep.up.pt>
8669 * buffer.C (makeDocBookFile): add a comment to point a hack.
8670 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
8671 Fixed a double write of labels.
8673 2001-11-29 Ben Stanley <bds02@uow.edu.au>
8676 * LaTeX.h Fixed bug in LaTeX class where it would not
8677 re-run latex if no depfiles were changed, but the .dvi was removed.
8679 2001-11-28 André Pönitz <poenitz@gmx.net>
8681 * all the files from the change on 2001/11/26:
8682 use lyx::layout_type instead of LyXTextClass::size_type
8683 use lyx::textclass_type instead of LyXTextClassList::size_type
8685 2001-11-29 Juergen Vigna <jug@sad.it>
8687 * text.C: added support for paragraph::isFreeSpacing()
8689 * buffer.C: same as above
8691 * paragraph.h: inserted isFreeSpacing() function to enable
8692 FreeSpacing inside InsetERT.
8694 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
8695 of the paragraph's in the cut/copy buffer to 0!
8697 * text2.C (removeRow): remove the assert as it can!
8699 * lyxtext.h: added helper function firstRow returning firstrow and
8700 made firstrow private again.
8702 * BufferView2.C (lockInset): don't relock if we're already locked!
8704 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
8706 (removeRow): added Assert::(firstrow)
8708 * debug.C: forgot to add INSETTEXT here.
8710 2001-11-28 Juergen Vigna <jug@sad.it>
8712 * sp_spell.C (initialize): changed error text to more general
8713 spellchecker command use (not only ispell!)
8715 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
8717 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
8719 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8721 * vspace.C: initialise lyxgluelength on failure
8723 2001-11-28 Allan Rae <rae@lyx.org>
8725 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
8726 declaration & definition that looks like a function declaration.
8728 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8730 * BufferView2.C (copy):
8731 (copyEnvironment): do not clear the selection when doing a copy.
8733 * text.C (paintFirstRow): compilation fix
8735 2001-11-27 Ben Stanley <bds02@uow.edu.au>
8737 * tabular.C (Latex): correct line count when writing latex.
8739 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
8741 * paragraph_pimpl.h:
8742 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
8745 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
8749 * LColor.C: change vfillline->added_space
8751 * text.C: add markers and text for added space
8753 * vspace.C: fix comment
8755 2001-11-28 André Pönitz <poenitz@gmx.net>
8757 * paragraph.C: whitespace changes
8758 * all the other files from the change on 2001/11/26:
8759 change *::pos_type into lyx::pos_type
8761 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
8763 * buffer.C (parseSingleLyXformat2Token): Set the language to the
8764 language of the document when inserting error insets.
8766 2001-11-26 André Pönitz <poenitz@gmx.net>
8768 * BufferView_pimpl.[Ch]:
8776 * paragraph_pimpl.[Ch]:
8779 * text2.C: reduce header dependencies, introduce type for positions
8781 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8783 * <various>: change to use Alert.h
8785 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
8787 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
8788 when encountering an unknown token.
8789 (readLyXformat2): Show an error message if there were unknown tokens.
8791 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
8794 * BufferView_pimpl.C:
8798 * text2.C: use par->isInset()
8800 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
8802 * paragraph_pimpl.h:
8803 * paragraph_pimpl.C: cleanup
8805 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8807 * text2.C (removeRow):
8808 * text.C (setHeightOfRow): remove useless (and costly) call to
8811 2001-11-20 Allan Rae <rae@lyx.org>
8813 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
8814 Now need Inset*::checkInsertChar() to return true for appropriate
8815 cases so that the characters in the minibuffer will actually be
8818 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
8820 * text.C: change the order of the includes.
8821 (workWidth): initialize it at once.
8822 (workWidth): make maxw unsigned
8823 (setHeightOfRow): remove unused variable (inset)
8824 (selectSelectedWord): remove unused variable (inset)
8825 (paintRowText): fix drawing of hfill characters, and clean up a bit.
8827 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8829 * lyxserver.C (emergencyCleanup): do not try to close pipes if
8830 server is not running.
8832 (closeConnection): add debug info when server is disabled.
8834 * ColorHandler.C (getGCForeground): send debug message to GUI
8837 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
8839 * kbmap.C (bind): modify because return conventions of
8840 kb_sequence::parse have changed.
8842 * kbsequence.C (parse): only ignore spaces and not any stupid
8843 control character. This avoids tests like s[i] <= ' ', which are
8844 guaranteed to fail with 8bit characters and signed chars.
8845 Change return code to string::npos when there have been no error
8846 (0 was a bad idea when error is at first character)
8848 2001-11-14 José Matos <jamatos@fep.up.pt>
8851 * buffer.C (simpleDocBookOnePar): removed unused argument.
8853 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8855 * text.C (selectNextWordToSpellcheck): do not test explicitely for
8856 insets which are part of a word. Paragraph::isLetter takes care of
8857 that now. Use Paragraph::isInset to identify insets.
8858 (selectSelectedWord): do not test for hyphenation break.
8860 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
8861 that protected spaces are considered as spaces.
8863 * paragraph.C (isLetter): cleanup the code for ispell extras; use
8866 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
8869 * lyxserver.C: fix it. and small cleanup.
8871 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8873 * BufferView_pimpl.C: use inline helpers
8876 * LaTeXFeatures.C: fix typos
8879 * Spacing.C: move spacing_string into class
8881 * ToolbarDefaults.C: move stuff into namespace anon
8883 * layout.h: update enum
8885 * lyxfunc.C: use better debug
8887 * minibuffer.h: fix typo
8891 * WorkArea.C: add and use Debug::WORKAREA
8895 * text2.C: code re-organisation, inline helpers
8897 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
8899 * Layout.C: replaced a few cases of std::vector.size() == 0 with
8900 std::vector.empty().
8902 2001-11-09 Allan Rae <rae@lyx.org>
8904 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8905 '\n's after tables. Tabular and ERT inset work now makes this no
8908 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
8911 * minibuffer.C: fix crash, improve drop-down completion
8913 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
8916 * lyxserver.C: invalidate fd's when doing endPipe()
8918 2001-11-08 José Matos <jamatos@fep.up.pt>
8920 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8921 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8924 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8926 2001-11-07 José Matos <jamatos@fep.up.pt>
8929 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8932 * buffer.C (sgmlOpenTag):
8933 * buffer.C (sgmlCloseTag): removed debug info.
8935 * buffer.h (sgmlOpenTag):
8936 * buffer.h (sgmlCloseTag): made public.
8938 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8940 * buffer.C (saveParamsAsDefaults):
8941 * lyx_cb.C (MenuLayoutSave): remove
8943 * LyXAction.C (init):
8945 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8947 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8949 * buffer.C (setPaperStuff): removed from here...
8951 * bufferparams.C (setPaperStuff): ... and moved there.
8953 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
8957 * XFormsView.C: add support for drop-down completion
8959 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
8961 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8964 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8966 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8969 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
8971 * lyx_main.C: change ref to known bugs
8973 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
8975 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8976 to work around older babel problems.
8978 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
8980 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8982 2001-10-24 Juergen Vigna <jug@sad.it>
8984 * tabular-old.C (ReadOld): below variable changes reflected.
8986 * tabular.[Ch]: added ltType struct for longtable header/footer
8987 defines and changed all instances where they are used. Added
8988 future support for double top/bottom rows.
8990 2001-10-24 José Matos <jamatos@fep.up.pt>
8992 * buffer.h (docbookHandleCaption):
8993 * buffer.C (docbookHandleCaption): removed unused function.
8994 (makeDocBookFile): moved docbook supported version to v4.1.
8996 2001-10-24 José Matos <jamatos@fep.up.pt>
8999 * tabular.C (docbookRow): new function to export docbook code of a row.
9000 (DocBook): now honors the longtable flags.
9002 2001-10-23 José Matos <jamatos@fep.up.pt>
9005 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9006 of the lyx defined sgml entities used in a docbook/linuxdoc document.
9008 * buffer.C (makeLinuxDocFile):
9009 (makeDocBookFile): reworked the preamble, more clean, and with
9010 support for lyx defined entities. Changed the document declaration
9011 to be more XML friendly.
9013 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9014 if we need to output XML that should be done with a filter.
9016 2001-10-22 Juergen Vigna <jug@sad.it>
9018 * sp_pspell.h (class PSpell): add alive function needed in the
9019 controller to see if the spellchecker could be started.
9021 2001-10-22 Juergen Vigna <jug@sad.it>
9023 * buffer.C (insertStringAsLines): modify the font for inserting
9024 chars in certain conditions by calling checkInsertChar(font).
9026 2001-10-19 Juergen Vigna <jug@sad.it>
9028 * text.C (workWidth): use getRow instead of wrong algorithm.
9029 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9031 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
9036 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9038 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9040 * text.C (workWidth): do not search for the exact row when
9041 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9042 optimization for big documents.
9044 2001-10-18 Juergen Vigna <jug@sad.it>
9046 * text.C (workWidth): new function with added Inset * parameter.
9048 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9050 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9052 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9053 change return type of getColumnNearX.
9056 * text.C (changeRegionCase): use uppercase/lowercase instead of
9059 (rightMargin): simplify code by factoring out the uses of
9064 (appendParagraph): use Paragraph::size_type
9066 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9068 * vspace.C (asLatexString): add a missing break
9070 2001-10-15 Herbert Voss <voss@perce.de>
9072 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9074 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9076 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9079 2001-10-10 André Pönitz <poenitz@gmx.net>
9081 * lyxfunc.C: removed greek_kb_flag.
9083 2001-10-10 Herbert Voss <voss@perce.de>
9085 * lyx_main.C: delete global string help_lyxdir.
9087 2001-10-09 Herbert Voss <voss@perce.de>
9089 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9091 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9093 * lyx_main.C: added global string help_lyxdir.
9095 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9097 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
9099 * lyxrc.C (set_font_norm_type): support iso8859-4
9101 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
9103 * LaTeX.C (deplog): add another regex for MikTeX
9105 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
9107 * lyxrc.C (set_font_norm_type): support iso8859-3
9109 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9111 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9113 * LaTeXFeatures.C: remove special case of french and index
9115 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9116 before \begin{document}). This solves several incompatibilities.
9118 2001-10-03 Garst Reese <reese@isn.net>
9120 * lyx_cb.C: change CheckTex error msg.
9122 2001-10-03 José Matos <jamatos@fep.up.pt>
9124 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9126 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9128 * .cvsignore: update
9130 * lyx_main.C (commandLineVersionInfo): use new style version info.
9132 * buffer.C (writeFile):
9135 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9137 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9139 * version.h: update to use stuff in version.C
9141 * version.C.in: new file. Contains version information determined
9142 at compile time. This is a merging of version.h and
9145 2001-10-03 Juergen Vigna <jug@sad.it>
9147 * BufferView_pimpl.C (update): don't change "dirty" status in
9150 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
9152 * WorkArea.C (c-tor): re-position version string slightly.
9154 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
9156 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9157 revert to previous code.
9159 WorkArea.[Ch]: (show, destroySplash): methods removed.
9161 WorkArea.C: rework code so that it's an amalgam of the codes before and
9162 after the splash screen was moved to WorkArea.
9164 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9167 * vspace.C (inPixels):
9170 * buffer.C (insertStringAsLines):
9171 (asciiParagraph): fix types to be large enough
9173 * lyxlex_pimpl.h: change member status from short to int
9175 * layout.h: fix type of endlabeltype
9178 * kbsequence.C (parse): change return type to string::size_type
9180 * LaTeX.C (updateBibtexDependencies): comment out unneeded
9183 * Bullet.C (bulletSize):
9184 (bulletEntry): do not use short ints as parameters
9186 * BufferView2.C (insertLyXFile): change a char to an int.
9188 * WorkArea.C (WorkArea): remove unneeded floats in computation
9190 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
9192 * buffer.C (asciiParagraph): Treat '\\' as other chars.
9194 * paragraph.C (asString): Do not ignore newline/hfill chars when
9195 copying to the clipboard.
9197 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
9199 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9200 after a multi-line inset.
9202 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
9204 * paragraph.C (validate): Set NeedLyXFootnoteCode
9206 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9208 * lyxfont.C (LyXSizeNames): changed increase-error to increase
9209 and decrease-error to decrease.
9211 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9213 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9214 it more readable (should be equivalent)
9216 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
9218 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9220 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9222 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9223 of a cursor (row, etc.) after a character has been deleted
9224 (deleteEmptyParagraphMechanism): call the method above on _all_
9225 cursors held by the LyXText when a double space has been
9228 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
9230 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9232 (resizeCurrentBuff): remove code to destroy the old splash dialog.
9234 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9235 background. Use greyOut() and the new show() methods to toggle between
9236 the foreground and background. Add code to remove the splash after
9237 its initial showing.
9239 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9240 (create_forms): no longer call Dialogs::showSplash.
9242 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9244 * .cvsignore: add version_info.h
9246 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9248 * version_info.h.in: new file
9250 * Makefile.am: add version_info.h.in
9252 * lyx_main.C (commandLineVersionInfo): use version_info defined in
9253 version_info.h instead of VERSION_INFO
9255 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
9257 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9258 The ERT inset now returns string().
9260 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
9262 * lyxtext.h, text.C (selectNextWord): renamed as
9263 selectNextWordToSpellcheck.
9265 * text.C (selectNextWordToSpellcheck): Modified to not select
9266 words inside an ERT inset.
9268 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9270 * lyx_cb.C (MenuLayoutSave): change a bit the question
9272 * sp_base.h: include <sys/types.h>
9274 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
9276 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9278 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
9280 * several files: fix typos in user-visible strings
9282 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9284 * text2.C (pasteSelection): do not set the selection, since it
9285 will be cleared later. Actually, the intent was to fix the way the
9286 selection was set, but I figured rmoving the code was just as good.
9288 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
9290 * FontLoader.C (available): Check if font is available without
9293 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
9295 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9297 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
9299 * lyxrc.[Ch]: added display_graphics variable and associated code.
9301 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9303 * bufferparams.C (hasClassDefaults): new method. Returns true if
9304 the buffer parameters correspond to known class defaults
9306 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
9308 * XFormsView.C (show): set minimum size to the main window.
9310 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9312 * text2.C (copySelection):
9314 * lyxfind.C (LyXReplace):
9315 * BufferView_pimpl.C (Dispatch): pass the correct flag to
9316 LyXText::selectionAsString.
9318 * paragraph.C (asString): add "label" argument to the second form
9320 * text2.C (selectionAsString): add "label" argument and pass it to
9321 Paragraph::asString.
9323 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9325 * lyx_main.C (commandLineHelp): remove version information
9327 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
9329 * lyx_main.C: add -version commandline option
9331 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
9333 * paragraph.h: make the optional constructor arg required instead.
9334 some modifications to other files because of this.
9336 * minibuffer.C (C_MiniBuffer_peek_event): make it static
9338 * lyxserver.C (C_LyXComm_callback): make it static
9340 * lyx_main.C (error_handler): make it static
9342 * lyx_gui.C (LyX_XErrHandler): make it static
9344 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9346 * WorkArea.C: make the extern "C" methods static.
9348 * Makefile.am (lyx_LDADD): simplify
9350 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9352 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9353 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9355 * LyXAction.C (init):
9356 * lyxfunc.C (dispatch): associated code removal.
9358 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9360 * lyxfont.h (isSymbolFont): shut off warning
9362 * text.C (setHeightOfRow):
9363 (getVisibleRow): fix crash with empty paragraphs which have a
9366 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
9368 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9371 2001-09-04 José Matos <jamatos@fep.up.pt>
9374 * tabular.C (docbook): rename docBook method to docbook.
9376 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9378 * Makefile.am: add dependencies to main.o.
9380 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
9382 * FontLoader.C (available): Return false if !lyxrc.use_gui
9384 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
9386 * FontInfo.C (query):
9387 * converter.C (view):
9388 * importer.C (Import):
9389 * exporter.C (Export): Can not -> cannot.
9391 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
9393 * BufferView_pimpl.C: allow to create index inset even if
9396 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
9398 * buffer.C (getLists): replace boost::tie code with an explicit pair
9399 as boost::tie can break some compilers.
9401 * iterators.h: Added a std:: declaration to the return type of
9404 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
9406 * lyxrc.C: add help for view_dvi_paper_option, default to safe
9409 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
9411 * iterators.[Ch]: New files. Provide paragraph iterators.
9413 * buffer.C (changeLanguage): Use paragraph iterators.
9414 (isMultiLingual): ditto
9416 * BufferView2.C (ChangeInsets): Use paragraph iterators.
9418 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
9420 * FontLoader.C: Support for cmr font.
9422 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
9424 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9425 (available): New method.
9427 * FontInfo.C (getFontname): Use scalable fonts even when
9428 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9431 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9433 * converter.C (Formats::view): reverted! Incorrect fix.
9435 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
9437 * converter.C (Formats::view): only output the -paper option
9438 if the dvi viewer is xdvi, thereby fixing bug #233429.
9440 2001-08-23 Herbert Voss <voss@perce>
9442 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9444 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
9446 * Spacing.h (Spacing): Set space to Default on in the default
9449 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
9451 * vc-backend.h (RCS::versionString): add RCS to version
9452 (CVS::versionString): add CVS to version
9454 * vc-backend.C (scanMaster): do not add CVS to version.
9455 (scanMaster): do not add RCS to version
9457 * lyxvc.C (versionString): new method
9459 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9461 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
9463 * Spacing.C (set): initialize fval
9465 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
9467 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9470 2001-08-16 Juergen Vigna <jug@sad.it>
9472 * lyxfunc.C (dispatch): implemented the new FINISHED states.
9474 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9476 * BufferView_pimpl.C:
9479 * text2.C: setParagraph takes linespacing now
9481 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
9483 * LyxAction.C: add internal LFUN_CITATION_INSERT
9485 * LyXView.C: actually apply fix
9487 * bufferlist.C: fix open non-existent file
9489 * lyxfind.C: fix indentation
9491 * lyxfunc.C: remove unneeded assert, fix typo
9493 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
9495 * MenuBackend.C: use "Floatname List"
9497 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
9499 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9500 when converting LaTeX layout to insetERT.
9501 Generate a non-collapsed float when reading old float
9503 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9505 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9508 2001-08-13 Juergen Vigna <jug@sad.it>
9510 * text.C (fill): return 0 instead of 20 as this seems to be the more
9513 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
9515 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9518 2001-08-13 Juergen Vigna <jug@sad.it>
9520 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9522 (SearchBackward): comment out the unlocking of the inset_owner this
9523 should not be needed!
9525 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
9527 * Many files: Remove inherit_language, and add latex_language
9529 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9532 2001-08-10 Juergen Vigna <jug@sad.it>
9534 * text.C (prepareToPrint): fixed hfill-width in draw!
9536 * BufferView2.C (selectLastWord): save the selection cursor as this
9537 now is cleared in the function LyXText::clearSelection!
9539 2001-08-08 Juergen Vigna <jug@sad.it>
9541 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
9542 BACKSPACE type functions.
9544 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
9545 is only cutted from the document but not put in the cut-buffer, where
9546 still the old stuff should be.
9548 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
9550 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
9552 * tabular.C (SetWidthOfCell): fixed special case where the width
9554 (LeftLine): handle '|' in align_special.
9556 (LeftAlreadyDrawed): ditto
9557 (SetWidthOfCell): ditto
9559 2001-08-07 Juergen Vigna <jug@sad.it>
9561 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
9563 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
9565 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
9566 * lyxlex.[hC]: ditto
9568 2001-08-06 Juergen Vigna <jug@sad.it>
9570 * text.C (getVisibleRow): fix up row clearing a bit.
9572 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
9574 * minibuffer.C: make sure the X server sees the changes in the input.
9576 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
9578 * paragraph.C (getFont): split into...
9579 (getLabelFont): this
9580 (getLayoutFont): and this
9581 * paragraph_pimpl.C (realizeFont): calling this
9583 * text2.C (getFont): split into...
9584 (getLayoutFont): this
9585 (getLabelFont): and this
9586 (realizeFont): all three calling this
9588 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
9591 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9593 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
9595 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
9597 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
9598 layouts from the Quote inset insertion.
9600 2001-08-03 Juergen Vigna <jug@sad.it>
9602 * BufferView_pimpl.C (update): do the fitCursor only at the end!
9604 * screen.C (drawFromTo): don't call fitcursor here and do the loop
9605 only if status not is already CHANGED_IN_DRAW (second level).
9607 * text.C (draw): don't set the need_break_row when inside an
9610 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9612 * buffer.C (parseSingleLyXformat2Token): handle more latex
9615 * bufferview_funcs.[hC]: change function names to
9616 begin with small char, adjust other files.
9618 2001-08-02 André Pönitz <poenitz@gmx.net>
9621 BufferView_pimpl.C: remove broken special code for math-greek
9623 2001-08-02 Juergen Vigna <jug@sad.it>
9625 * BufferView_pimpl.C (update): redone this function so that we
9626 update the text again if there was a CHANGE_IN_DRAW.
9628 * screen.C (cursorToggle): removed LyXText parameter and recoded.
9629 (drawFromTo): added a new internal bool which is used by draw() and
9631 (general): some cursor drawing problems fixed.
9633 2001-08-01 Juergen Vigna <jug@sad.it>
9635 * lyxfind.C (LyXFind): fixed
9636 (SearchForward): ditto
9637 (SearchBackward): ditto
9639 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
9640 spurius drawing of the cursor in the main area.
9642 * text2.C (status): small fix which could lead to a segfault!
9643 (clearSelection): remove unneeded BufferView param.
9645 2001-08-01 André Pönitz <poenitz@gmx.net>
9647 * lyxfunc.C: small change due to changed mathed interface
9649 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9651 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
9653 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
9655 * lyxfunc.c: fail gracefully if file doesn't exist
9660 * BufferView_pimpl.C: IsDirWriteable() proto changed
9662 * LyXView.C: fix updateWindowTitle() to store the last title
9664 2001-07-31 Juergen Vigna <jug@sad.it>
9666 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
9667 the font (wrong since using of Paragraph::highestFontInRange).
9669 * paragraph.C (highestFontInRange): added a default_size parameter.
9671 * text.C (getVisibleRow): minor clear row changes (still not perfect).
9672 (setHeightOfRow): reformat
9674 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
9676 * converter.[hC] + affected files: move to (inital-char)lowercase
9679 * ParagraphParameters.C (ParagraphParameters): remove commented code
9681 * PainterBase.[Ch]: remove commented code
9683 * LaTeXFeatures.h: add "bool floats" for float.sty
9685 * LaTeXFeatures.C (LaTeXFeatures): init floats
9686 (require): handle float
9687 (getPackages): do it with floats
9689 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9691 * BufferView_pimpl.C (Dispatch): improve handling of
9692 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
9694 * commandtags.h: #include lyxfont.h here temporarily to avoid
9697 * bufferlist.h: include LString.h here.
9699 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9701 * text2.C (getStringToIndex): new method.
9703 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
9705 * *: Reduced header file dependencies all over.
9707 2001-07-30 Baruch Even <baruch@lyx.org>
9709 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
9711 2001-07-29 Baruch Even <baruch@lyx.org>
9713 * buffer.C (readInset): Changed GRAPHICS to Graphics.
9715 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
9717 * ParameterStruct.h (endif): add a default constructor to make
9718 sure that all variables is initialized.
9720 * ParagraphParameters.C (ParagraphParameters): adjust
9722 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9724 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
9725 index; also, check that there is something to index, and that it
9726 does not span over several paragraphs.
9727 (doubleClick): use WHOLE_WORD_STRICT for double click.
9729 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
9731 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
9734 2001-07-26 Baruch Even <baruch@lyx.org>
9736 * buffer.C (readInset): Changed to call up InsetGraphics when reading
9737 an InsetFig figure, backwards compatible reading of old figure code.
9739 2001-07-27 Juergen Vigna <jug@sad.it>
9741 * text2.C: font.realize function adaption.
9743 * text.C (draw): add a warnings lyxerr text if needed.
9745 * layout.C: font.realize function adaption.
9747 * language.C: add inherit_language and implement it's handlings
9749 * bufferview_funcs.C (StyleReset): remove language parameter from
9750 font creation (should be language_inherit now).
9752 * bufferparams.C (writeFile): handle ignore_language.
9754 * paragraph.C (getFontSettings): the language has to be resolved
9755 otherwise we have problems in LyXFont!
9757 * lyxfont.C (lyxWriteChanges): added document_language parameter
9758 (update): removed unneeded language parameter
9760 * paragraph.C (validate): fixed wrong output of color-package when
9761 using interface colors for certain fonts in certain environments,
9762 which should not seen as that on the final output.
9764 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
9766 * BufferView_pimpl.C:
9771 * LyXAction.C: add thesaurus support
9774 * lyxfind.C: add "once" parameter, for thesaurus, to not
9775 move to the next match
9777 2001-07-26 Juergen Vigna <jug@sad.it>
9779 * lyxfont.C (realize): honor ignore_language too!
9782 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
9784 * text.C (draw): one place more for ignore_language to not draw
9787 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
9789 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
9791 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9793 * buffer.C (parseSingleLyXformat2Token): a more general fix for
9794 the minipage conversion problem.
9796 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
9798 * buffer.C (parseSingleLyXformat2Token): check minipage if we
9801 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9803 * BufferView.h: don't forward declare WorkArea
9805 * BufferView.C: don't include WorkArea.h
9807 2001-07-25 André Pönitz <poenitz@gmx.net>
9811 * lyxfunc.C: new LFUN 'math-space'
9813 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
9815 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
9817 * text2.C (toggleInset): call open/close
9819 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9821 * lyxfunc.C (dispatch): add debug for the disabled case
9823 * font.C (buttonText): make similar to rectText
9825 * buffer.C (readInset): comment out parsing of insetlist and
9828 * PainterBase.C (rectText): small correction
9830 * BufferView_pimpl.C: comment out insettheorem and insetlist
9831 * LyXAction.C: ditto
9832 * commandtags.h: ditto
9834 2001-07-24 Juergen Vigna <jug@sad.it>
9836 * text.C (draw): honor the ignore_language.
9838 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
9840 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9842 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
9845 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9847 * lyxtext.h: remove unused (and unimplemented) methods
9849 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9851 * text.C (getVisibleRow): honor background color
9854 * Painter.h: remove default color argument for fillRectangle
9856 * text.C (backgroundColor): new method
9858 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9860 * text.C (getVisibleRow): adjust
9862 * font.[Ch] (rectText): new method, metrics
9863 (buttonText): new method, metrics
9865 * PainterBase.[hC]: make rectText and buttonText always draw and take
9868 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9870 * ToolbarDefaults.C (read):
9871 * MenuBackend.C (read): allow escaping in all strings
9873 * BufferView_pimpl.C (insertAndEditInset): new method.
9874 (Dispatch): use insertAndEditInset whenever appropriate.
9876 * BufferView_pimpl.C (insertNote): removed
9878 * BufferView_pimpl.C (smartQuote): new method, moved from
9879 BufferView; if an insetquote cannot be inserted, insert a '"'
9882 * BufferView2.C: remove insertCorrectQuote();
9884 * lyxfunc.C (getStatus): Add support for all remaingin
9887 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
9889 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
9890 command (necessary to pass " as parameter of self-insert.
9892 * text.C (selectWordWhenUnderCursor):
9893 (selectWord): add word_location parameter
9894 (selectWordWhenUnderCursor): same + remove special code for word
9896 (selectNextWord): use kind() to guess type of insetspecialchar,
9899 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9900 (insertErtContents): create ert insets as collapsed.
9901 (readInset): better compatibility code for Info inset.
9903 2001-07-20 Juergen Vigna <jug@sad.it>
9905 * lyxfunc.C (dispatch): use always LyXFind now!
9907 * text2.C (init): add a reinit flag so that the LyXText can be
9908 reinited instead of deleted and reallocated (used in InsetText).
9910 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9916 2001-07-18 Juergen Vigna <jug@sad.it>
9918 * text.C (selectNextWord): handle insets inside inset by calling
9919 always the bv->text functions so that we can go up the_locking_inset!
9921 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9922 in strange locations when inside an inset!
9924 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9925 handling to include insets.
9927 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9929 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9931 * LyXAction.C (init):
9933 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9934 LIGATURE_BREAK, since the name is so stupid.
9936 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9938 * buffer.C (readInset): enable reading of new InsetNotes as well as old
9941 * FontLoader.C: remove FORMS_H_LOCATION cruft.
9943 * sp_form.[Ch]: remove.
9945 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9947 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9950 * src/buffer.C (readInset): ditto.
9952 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9954 * BufferView_pimpl.C (specialChar): new method. Obsoletes
9955 menuSeparator(), endOfSentenceDot(), ldots() and
9956 hyphenationPoint(), which are therefore removed.
9957 (Dispatch): handle LFUN_HYPHENATION_BREAK.
9959 * LyXAction.C (init):
9960 * commandtags.h: add LFUN_HYPHENATION_BREAK.
9962 * paragraph.C (getWord): removed.
9964 * BufferView_pimpl.C (Dispatch): use last word or selection for
9965 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9967 * lyx_main.C (queryUserLyXDir): do not ask before creating
9968 user_dir, except if it has been named explicitely.
9970 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
9972 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9973 a document of zero size.
9975 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
9977 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9978 approriately in the c-tor and in require().
9979 (getPackages): output the appropriate LaTeX for natbib support.
9981 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9982 variables "use_natbib" and "use_numerical_citations" when reading the
9984 (readInset): read the various natbib cite commands.
9985 (validate): white-space change.
9987 * bufferparams.[Ch]: new variables "bool use_natbib" and
9988 "bool use_numerical_citations".
9989 (writeFile): output them in the LyX file.
9991 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
9993 * lyxfunc.C (getStatus): add support for all the inset insertion
9996 * text2.C (insertInset):
9997 * paragraph.C (insetAllowed):
9998 * BufferView_pimpl.C (insertInset): update to take in account the
9999 renaming of insertInsetAllowed
10001 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10003 * text2.C (getInset): new method. returns inset at cursor position.
10005 * BufferView_pimpl.C (Dispatch): changes because of this.
10007 * LyXAction.C (init): rename open-stuff to inset-toggle.
10009 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10011 * text2.C (toggleInset): renamed from openStuff; use
10014 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
10016 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10018 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10020 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
10022 * buffer.C (readLyXformat2): Add filename to the error dialog
10024 2001-07-18 Juergen Vigna <jug@sad.it>
10026 * tabular.C (GetCellNumber): put an assert here instead of the check!
10028 2001-07-17 Juergen Vigna <jug@sad.it>
10030 * BufferView_pimpl.C (toggleSelection): adapted too.
10032 * text.C (selectNextWord): adapted for use with insets.
10033 (selectSelectedWord): ditto
10035 2001-07-17 Juergen Vigna <jug@sad.it>
10037 * sp_spell.C (PSpell): fix initialitation order.
10039 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10041 * paragraph.C: spacing
10043 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
10045 * sp_spell.C: repair language selection for pspell
10047 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10049 * lyxfunc.h: change more methods to begin with lower char.
10051 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
10053 * buffer.C (parseSingleLyXformat2Token): Generate error insets
10054 for unknown layouts.
10056 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
10058 * buffer.C (readLyXformat2): Generate an error dialog if there are
10061 2001-07-16 Juergen Vigna <jug@sad.it>
10063 * sp_spell.C: always compile ISpell part.
10065 * lyxrc.C: added use_pspell entry and it's handling.
10067 2001-07-13 Juergen Vigna <jug@sad.it>
10069 * sp_spell.C: removed double includes.
10071 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
10073 Consistent use of Lsstream.h:
10074 * Lsstream.h: added using std::stringstream for consistencies sake.
10076 * buffer.C: removed using std::stringstream
10078 * lyxfont.C (stateText):
10079 * paragraph.C (asString):
10080 * text.C (selectNextWord, selectSelectedWord):
10081 * text2.C (setCounter):
10082 * vspace.C (asString, asLatexString):
10083 std::ostringstream -> ostringstream.
10085 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10087 * LyXAction.C: add LFUN_HELP_ABOUTLYX
10088 * commandtags.h: add LFUN_HELP_ABOUTLYX
10089 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10091 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
10093 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10095 * lyx_gui_misc.C: remove spellchecker
10096 * lyxfunc.C: showSpellchecker
10098 * sp_ispell.h: added
10099 * sp_pspell.h: added
10100 * sp_spell.C: added
10101 * sp_form.[Ch]: removed
10102 * spellchecker.[Ch]: removed
10104 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
10106 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10108 (simpleTeXSpecialChars): Simply print the input character without
10109 any special translation if pass_thru is set.
10111 * layout.h: Added bool pass_thru to layout class for being able to
10112 implement pass through of a paragraph for Literate Programming.
10114 * layout.C: add LT_PASS_THRU to LayoutTags enum.
10115 * layout.C (LyXLayout): set pass_thru to flase in constructor.
10116 * layout.C (Read): add "passthru" to list of layout tags and add
10117 code to set the pass_thru boolean when it is read.
10119 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10121 * trans_decl.h: remove allowed from KmodInfo
10123 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10124 remove allowed code
10127 * paragraph_pimpl.C (erase): use boost::prior
10129 * Painter.C (text): use data() instead of c_str() when length is
10131 * WorkArea.C (putClipboard): ditto
10132 * font.h (width): ditto
10134 * BufferView2.C: use it-> instead of (*it). for iterators
10136 * paragraph_pimpl.C: ditto
10137 * paragraph.C: ditto
10138 * minibuffer.C: ditto
10139 * language.C: ditto
10141 * encoding.C: ditto
10142 * counters.C: ditto
10143 * converter.C: ditto
10145 * Variables.C: ditto
10146 * TextCache.C: ditto
10147 * MenuBackend.C: ditto
10148 * LyXAction.C: ditto
10150 * FloatList.C: ditto
10151 * DepTable.C: ditto
10152 * ColorHandler.C (LyXColorHandler): ditto
10154 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10156 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10158 * text2.C (openStuff): reintroduce this method (which had been
10159 nuked in NEW_INSETS frenzy).
10161 * lyxfunc.C (Dispatch): when an action has not been handled, use
10162 its name in the error message, not its number.
10164 * paragraph.C (inInset): change method name to begin with lowercase.
10167 * text2.C: updates because of this.
10169 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10171 * ToolbarDefaults.C (add): add spaces in error message
10173 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10175 * buffer.C (readLyXformat2): initialize the ert comp. variables.
10176 (readLyXformat2): rename return_par to first_par, use lyxlex's
10177 pushToken and remove the manual push handling.
10178 (parseSingleLyXformat2Token): add another ert comp. variable:
10179 in_tabular, rename return_par to first_par. handle newlines better
10181 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10183 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10185 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10187 * text2.C (getParFromID): removed
10189 * buffer.C (getParFromID): new method moved form lyxtext.
10190 * BufferView2.C (insertErrors): adjust
10191 (setCursorFromRow): adjust
10192 * BufferView_pimpl.C (restorePosition): adjust
10193 * lyxfunc.C (Dispatch): adjust
10194 * undo_funcs.C (textUndo): adjust
10196 (textHandleUndo): adjust
10197 (textHandleUndo): adjust
10199 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10201 * buffer.C: up' the LYX_FORMAT
10203 * lyxfont.h: turn NO_LATEX on as default
10205 * buffer.C (insertErtContents): new methods of tex style compability.
10206 (parseSingleLyXformat2Token): use it several places.
10207 * tabular.C (OldFormatRead): and here
10209 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
10211 * text2.C: remove some commented code.
10214 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10215 * trans.C: changes because of the above.
10217 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
10219 * text2.C (setCounter): Fix counters bug with bibliography layout.
10221 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10223 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10224 own member functions
10225 (simpleTeXSpecialChars): ditto
10227 2001-07-06 Juergen Vigna <jug@sad.it>
10229 * a lot of files: changed the access to LyXText::status and the
10230 call of undo-functions.
10232 * undo.[Ch]: added a inset_id to the undo informations.
10234 * undo_funcs.[Ch]: added and moved here all undo functions.
10236 * lyxtext.h: give the status enum a weight, made status_ a private
10237 variable and made accessor functions for it, removed the whole bunch
10238 of undo-functions as they are now in their own file, make some
10239 functions publically available. Added function ownerParagraph with
10242 * paragraph.[Ch]: added "bool same_ids" to the constructor,
10243 made InInset() a const function, added getParFromID() function.
10245 * buffer.[Ch]: added const version for inset_iterator functions,
10246 added getInsetFromID() function.
10248 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10249 changed undo functions for new version.
10251 2001-07-05 Juergen Vigna <jug@sad.it>
10253 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10254 unknow mechanism does not call the proper constructor but only this
10255 one also if I request the other!?
10257 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10259 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10261 * text2.C (LyXText): use initialization lists.
10263 * lyxtext.h (Selection): initialize set_ and mark_
10264 (init): remove method
10266 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
10268 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10270 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10272 * screen.[Ch]: change method names to begin with lowercase
10274 * BufferView_pimpl.C (updateScrollbar): simplify further and
10275 hopefully make it a bit faster.
10277 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10279 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10280 calling directly xforms functions.
10282 * Painter.C (Painter):
10283 * lyx_cb.C (MenuWrite):
10284 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10287 * lyx_gui.C: remove bogus guiruntime extern declaration.
10289 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10291 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10293 (redoDrawingOfParagraph): ditto
10294 (redoParagraphs): ditto
10295 (cutSelection): don't create a object for CutAndPaste use the
10296 static method directly
10297 (pasteSelection): ditto
10299 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10302 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10304 * modifications to some other files because of this.
10306 * Makefile.am (lyx_SOURCES): add XFormsView
10308 * XFormsView.[Ch]: new files
10310 * LyXView.[Ch]: make LyXView a base class for the gui handling for
10311 the main window. Move the gui dependent stuff to XFormsView
10313 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10315 * tabular.C (GetCellInset): update cur_cell also in the row/col
10316 version of this function.
10318 * lyxfunc.C: no need to include figure_form.h here.
10324 * lyxvc.C: no need to include forms.h here.
10326 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10328 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10330 * lyxfunc.C (Dispatch):
10332 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10333 constructor argument.
10335 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10337 * paragraph.C (Paragraph): dont't clear, and just set layout.
10338 (makeSameLayout): use params's copy contructor.
10340 * ParagraphParameters.[Ch] (makeSame): delete method
10342 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
10344 * Variables.[Ch]: fix indentation, rename set to isSet
10346 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10348 * lyxfunc.C (Dispatch): fix typo
10350 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10352 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10355 * bufferlist.C: include assert.h for emergencyWrite().
10357 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10359 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10360 give up at last (bug #425202) !
10362 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
10368 * spellchecker.C: strip spellchecker options and bring up
10369 preferences tab instead
10371 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10373 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10374 the istringstream constructor
10376 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10378 * paragraph.C (getLayout): fix return value
10380 * paragraph.h: do not declare getLayout as inline.
10382 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10384 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
10386 * lyxcursor.h (operator<): new func
10387 (operator>): new func
10388 (operator>=): new func
10389 (operator<=): new func
10391 * text.C (changeCase): use selection.start and selection.end
10392 (changeRegionCase): require from to be <= to. Require par to be a
10395 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10397 2001-06-27 Juergen Vigna <jug@sad.it>
10399 * text.C (cursorLeftOneWord): changed to return the cursor and added
10400 overlay with BufferView * parameter which calls this one.
10402 (selectWord): use new getWord function.
10403 (changeCase): renamed from changeWordCase as and extended to work
10404 also on selections.
10406 * lyxtext.h: added enum word_location
10408 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10409 changeCase as this operates now also on selections.
10411 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
10413 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10415 * many files: send debug output to Debug::INFO instead of
10418 * converter.C (View):
10420 (Move): send debug output to Debug::FILES instead of console.
10422 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
10424 * lyxfunc.C (getStatus): use func_status
10426 * func_status.h: new header, describing the results of
10427 LyXFunc::getStatus;
10429 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10432 2001-06-25 The LyX Project <jug@sad.it>
10434 * buffer.C (sgmlOpenTag):
10436 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
10438 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10440 * text2.C: remove some dead code
10442 * tabular.C (GetCellInset): store the last cell checked (gotten)
10444 * tabular.h: add the helper for the speedup
10446 * lyxtext.h: remove some dead code
10448 2001-06-26 The LyX Project <Asger>
10450 * paragraph.C: Change export to LaTeX of alignment to
10451 \begin{center} and family for better roundtrip work with reLyX.
10453 * Tune the math drawing a bit.
10455 2001-06-25 The LyX Project <Asger>
10457 * LColor.C (LColor): New color for math background. New color
10460 2001-06-25 The LyX Project <jug@sad.it>
10462 * lyxfunc.C (MenuNew): remove extra check for .lyx file
10464 * lyxfunc.C (Open):
10465 * bufferlist.C (newFile): do not restrict to files ending with
10468 * BufferView_pimpl.C (MenuInsertLyXFile):
10470 2001-06-24 The LyX Project <jug@sad.it>
10472 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10475 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10477 * lyxtext.h: rename most methods to begin with a small char.
10478 Lots of changes because of this.
10480 * paragraph.C (Paragraph): do not call fitToSize
10481 (erase): call Pimpl::erase
10482 (insertChar): call Pimpl::insertChar
10483 (insertInset): call Pipl::insertInset
10484 (breakParagraph): do not call fitToSize
10485 (breakParagraphConservative): do not call fitToSize
10486 (fitToSize): remove method
10488 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10490 2001-06-24 The LyX Project <Asger>
10492 * Fix Qt compilation^2
10494 2001-06-24 The LyX Project <jug@sad.it>
10496 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10497 depthHook(getDepth()-1).
10500 * ParagraphParameters.h:
10501 * ParameterStruct.h: change type of depth to unsigned int ==
10502 depth_type. Many adaptations to other files before of that.
10504 2001-06-24 The LyX Project <Asger>
10506 * Fix Qt compilation.
10508 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10510 * paragraph.h: renamed several methods to begin with small letter.
10511 several changes to many parts of the code because of this.
10513 2001-06-23 The LyX Project <jug@sad.it>
10515 * text2.C (InsertStringAsLines): renamed from InsertStringA;
10516 rewritten to discard all double spaces when KeepEmpty is off
10517 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10518 to only handle newlines but not fiddle with spaces and friends.
10520 * lyxfunc.C (MenuNew): when doing 'new from template', use
10521 template_path as default directory
10523 2001-06-23 The LyX Project <Asger>
10525 * Clean-up of header file includes all over
10526 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10528 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10530 * paragraph.h: renamed from lyxparagraph.h
10532 2001-06-23 Asger <lyx@violet.home.sad.it>
10534 * Buffer.h: Removed Buffer::resize
10535 * BufferList.h: Removed BufferList::resize
10536 * LyXView.h: Added LyXView::resize. This way, we will only reflow
10537 the document lazily when we change the width, or the font settings.
10539 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10541 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
10543 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10545 * buffer.h: remove out of date comment
10547 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
10550 * screen.C: fix "theoretical" GC leak
10552 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10554 * LaTeX.C (scanAuxFile):
10555 (deplog): remove trailing \r when reading stream (useful under
10558 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
10560 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
10561 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
10562 and BufferView::theLockingInset(Inset*), so should use them and not
10563 access bv_->text->the_locking_inset directly.
10565 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
10567 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10570 * tex-defs.h: remove old unused file
10572 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
10574 * BufferView_pimpl.C: fix typo, remove minibuffer message
10575 when buffer has loaded
10577 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10579 * lyxfunc.C (Dispatch): use stringstream
10580 (MenuNew): use stringstream
10581 (Open): use stringstream
10583 * importer.C (Import): use stringstream
10585 * bufferview_funcs.C (CurrentState): use stringstream
10587 * LaTeX.C (run): use stringstream
10589 * BufferView_pimpl.C (savePosition): use stringstream
10590 (restorePosition): use stringstream
10591 (MenuInsertLyXFile): use stringstream
10593 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
10606 * vspace.C: removed // -*- C++ -*- as first line.
10609 * version.h: added // -*- C++ -*- as first line.
10611 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10613 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
10615 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
10618 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10620 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
10623 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10625 * gettext.C: include LString.h even when --disable-nls is on.
10627 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
10629 * converter.h (Get): changed argument type from int to
10630 FormatList::size_type to avoid unnecessary conversion.
10632 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
10635 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10637 * gettext.h: include LString.h even when --disable-nls is on.
10639 2001-06-07 Juergen Vigna <jug@sad.it>
10641 * text.C (BreakAgain): subst spaces with tabs.
10643 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
10644 (resizeInsetsLyXText): set force on resizeLyXText.
10646 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10648 * gettext.h (gettext_init):
10649 (locale_init): use a real definition instead of a macro
10651 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
10653 * Bufferview_pimpl.C:
10655 * LColor.C: further lcolor tidies
10657 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
10659 * BufferView_pimpl.C (updateScrollbar): simplify.
10661 * BufferView2.C: don't include insets/insetinfo.h, change
10662 prototype for insertInset and call the Pimpl version. let
10663 updateInset call Pimpl version.
10665 * BufferView.h: move inset_slept to BufferView::Pimpl, move
10666 gotoInset to BufferView::Pimpl
10668 2001-06-01 Juergen Vigna <jug@sad.it>
10670 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
10671 inside a LockingInset (is the update needed at all?).
10673 2001-05-31 Juergen Vigna <jug@sad.it>
10675 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
10676 here not the old one otherwise how should we compare it afterwards
10679 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10684 * FontInfo.C: bring C functions into global namespace when
10687 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10689 * LString.h: make sure config.h has been loaded before LString.h.
10691 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
10692 (one for each char read by EatLine!).
10694 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
10697 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10699 * paragraph.C (BreakParagraph): set the inset_owner in the new par
10700 to the same as the par we break from
10702 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
10704 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
10706 * MenuBackend.C (expand): also create menu entries for wide
10707 versions of the floats.
10709 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
10711 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
10713 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
10714 frontends/Makefile.am
10720 * tabular.C (getTokenValue): add std::
10722 * tabular-old.C (getTokenValue): add std::
10723 (getTokenValue): ditto
10724 (getTokenValue): ditto
10726 * screen.C (ToggleSelection): adjust
10728 * lyxtext.h: put selection cursors inside a Selection struct.
10730 * lyxfunc.C (moveCursorUpdate): adjust
10732 * lyxfont.C (latexWriteStartChanges): add std::
10734 * lyxfind.C: adjust
10736 * font.h: delete with(char const *, LyXFont const &)
10738 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
10740 * FontInfo.C (getFontname): add std::
10742 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
10743 (workAreaButtonPress): adjust
10744 (tripleClick): adjust
10746 (moveCursorUpdate): adjust
10749 * BufferView2.C (gotoInset): adjust
10751 2001-05-30 Juergen Vigna <jug@sad.it>
10753 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
10754 to check pspell I add this as default as I now have new pspell
10755 libraries and they seem to use this.
10757 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
10759 * text2.C (CutSelection): make the cursor valid before the call to
10762 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10764 * kbsequence.C (parse): de-uglify a bit the parsing code, which
10765 relied on 0 terminated strings and other horrors. Bug found due to
10766 the new assert in lyxstring!
10768 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
10771 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10773 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
10776 * lyxfunc.C (processKeySym): change method of getting to the
10779 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
10780 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
10781 * BufferView_pimpl.[Ch]: here as private methods.
10783 2001-05-28 Juergen Vigna <jug@sad.it>
10785 * text.C (SetHeightOfRow): added the update() call again as it is
10786 needed to initialize inset dimensions!
10788 2001-05-16 Juergen Vigna <jug@sad.it>
10790 * text2.C (SetCharFont): Add new function with BufferView * and
10791 bool toggleall parameters for setting insets internal fonts.
10792 (SetFont): Freeze the undo as we may change fonts in Insets and
10793 all this change should be inside only one Undo!
10795 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
10796 setting font's in insets as for them we have the SetFont function!
10798 2001-05-15 Juergen Vigna <jug@sad.it>
10800 * text2.C (ClearSelection): to be sure we REALLY don't have any
10803 * tabular.C (TeXCellPreamble): fixed the left border problem for
10806 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
10808 * LaTeX.C (deplog): Make sure that the main .tex file is in the
10811 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
10813 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
10814 LFUN_BREAKPARAGRAPH.
10816 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
10817 help test to "internal only", similar for LFUN_INSERT_URL
10819 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
10820 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
10821 auto_region_delete and deadkeys.
10823 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
10826 * LColor.C: remove some dead entries, tidy a little
10828 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10830 * lyxfunc.C (processKeySym): comment the Escape handling, remove
10832 (Dispatch): implement LFUN_ESCAPE
10834 * commandtags.h: add LFUN_ESCAPE
10836 * LyXAction.C (init): add entry for LFUN_ESCAPE
10838 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
10839 Remove commented code.
10840 (insertNote): moved here
10841 (open_new_inset): moved here
10843 * BufferView[2].[Ch]: move insertNote and open_new_inset to
10846 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10848 * kbmap.C (findbinding): clean it up and make it work correctly.
10850 * lyx_main.C (init): do not pass argc and argv as parameters
10852 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
10854 * buffer.C: fix path for OS/2 & Win32
10858 * lyx_main.C: Added os:: class.
10860 * os2_defines.h: update
10862 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10864 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
10865 better by trying again with reduced state.
10867 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10869 * lyxrc.C (read): print error about invalid key sequence only when
10870 debugging (because not all latinX keysyms are known to some X
10873 * kbsequence.C (getiso): add a few std:: qualifiers
10874 (getiso): comment out extra return statement.
10876 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
10878 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
10880 (Dispatch): enhance the accent inset a bit. (not perfect)
10882 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10884 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
10886 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10888 * bufferlist.C (emergencyWrite): fix assert() call
10890 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
10892 * text.C (InsertChar): Added trivial patch to only send the "you
10893 can not do multiple spaces this way" message once during a
10896 2001-05-08 Baruch Even <baruch@lyx.org>
10898 * Makefile.am: Changed order of libraries to get LyX to link properly
10899 with the gnome frontend.
10901 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10903 * LaTeXFeatures.h: add a std:: qualifier
10905 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
10907 * paragraph.C (String): use stringstream
10909 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10911 * paragraph.C (writeFile): remove footflag arg
10913 * buffer.C (makeLaTeXFile): use stringstream
10914 (latexParagraphs): remove footnot gurba
10916 * LaTeXFeatures.C (getPackages): use stringstream
10917 (getMacros): likewise
10918 (getTClassPreamble): likewise
10919 (getFloatDefinitions): new method
10921 * paragraph.C (writeFile): reindent
10924 * WorkArea.h: revert the xpos + etc changes.
10926 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10928 * lyxparagraph.[Ch]: add copy constructor, remove Clone
10930 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10931 (pasteSelection): likewise
10932 * text2.C (CreateUndo): likewise
10934 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
10936 * minibuffer.C (peek_event): temporarily reduce the functionality
10937 of the minibuffer (to allow args on lfuns)
10939 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10940 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10942 * buffer.C (readInset): add compability reading of old float
10943 lists, add reading of new style float list.
10944 (readInset): avoid reevaluation of inscmd.getCmdName()
10945 (getLists): reindent
10947 * MenuBackend.C (MenuItem): implement parsing of
10948 md_floatlistinsert and md_floatinsert.
10949 (expand::LastFiles): move initalizaton of iterators out of loop,
10950 avoid reevaluation.
10951 (expand::Documents): introduce typdedef vector<string> Strings,
10953 (expand::ExportFormats): introduce typedef vector<Format const *>
10954 Formats, and use it.
10955 (expand): implement FloatListInsert and FloatInsert.
10957 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10958 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10959 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10961 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10963 (Dispatch::LFUN_FLOAT_LIST): implement
10965 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
10967 * LaTeX.C (run): Fix problem with --export code.
10969 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
10971 * BufferView.[Ch] (workarea): removed.
10972 (getClipboard) new method; wrapper for workarea()->getClipboard()
10974 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10977 * WorkArea.h (width, height, xpos, ypos): These methods all
10978 returned the dimensions of the work_area sub-area of WorkArea,
10979 resulting in a position error if the WorkArea were resized. Now
10980 return the dimensions of the entire WorkArea.
10982 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10984 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
10986 * LaTeX.C (deplog): correct the syntax of regex reg1
10988 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10990 * undo.C: remove !NEW_INSETS cruft
10992 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
10994 * text2.C: remove !NEW_INSETS cruft
10996 * text.C: remove !NEW_INSETS cruft
10998 * tabular.C: remove !NEW_INSETS cruft
11000 * spellchecker.C: remove !NEW_INSETS cruft
11002 * lyxtext.h: remove !NEW_INSETS cruft
11004 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11006 * lyxfunc.C: remove !NEW_INSETS cruft
11008 * lyxfind.C: remove !NEW_INSETS cruft
11010 * lyx_cb.C: remove !NEW_INSETS cruft
11012 * figureForm.C: remove !NEW_INSETS cruft
11014 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11016 * buffer.[Ch]: remove !NEW_INSETS cruft
11018 * ToolbarDefaults.C: remove !NEW_INSETS cruft
11020 * CutAndPaste.C: remove !NEW_INSETS cruft
11022 * BufferView_pimpl.C: remove !NEW_INSETS cruft
11024 * BufferView2.C: remove !NEW_INSETS cruft
11026 * BufferView.h: remove !NEW_INSETS cruft
11028 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11030 * Lsstream.h: include LString.h before the sstream headers to
11031 fix problem with gcc 2.95.3 and lyxstring
11033 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11035 * lyx_main.C: add using directives when needed for C functions
11036 declared in std:: namespace.
11038 2001-04-27 Juergen Vigna <jug@sad.it>
11040 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11041 (SetHeightOfRow): comment out the update call should not be needed!
11043 2001-04-13 Juergen Vigna <jug@sad.it>
11045 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11046 (LyXTabular): tried to minimize operator= operations (and realized
11047 hopfully Lars wish).
11049 2001-04-27 Juergen Vigna <jug@sad.it>
11051 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11053 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
11055 * lyxfunc.C (Dispatch): hack to make listof algorithm work
11057 * buffer.C (readInset): hack to make listof algorithm work
11059 * BufferView_pimpl.C: hack to make listof algorithm work
11061 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11063 * LyXAction.C: removed all !NEW_INSETS cruft
11064 (init): moved lfun_item in method
11066 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11068 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
11070 * BufferView2.C (theLockingInset): white space.
11072 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11074 * minibuffer.C: include <iostream>
11076 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11078 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11080 * commandtags.h: add LFUN_TRANSPOSE_CHARS
11082 * text.[Ch] (TransposeChars): new method
11084 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
11086 * call message directly through LyXView instead of through LyXFunc
11087 * BufferView2.C: adjust
11088 * BufferView_pimpl.C: adjust
11089 * FontLoader.C: adjust
11091 * bufferview_funcs.C: adjust
11092 * converter.C: adjust
11093 * figureForm.C: adjust
11094 * importer.C: adjust
11096 * lyx_gui_misc.C: adjust
11097 * lyxfunc.C: adjust
11100 + more files in subdirs
11102 * lyxparagraph.h (size): move up int file
11105 * adjust all uses of Assert to lyx::Assert.
11107 * BufferView2.C (ChangeCitationsIfUnique): adjust for
11108 lyxfunctional in namespace lyx
11109 * layout.C (hasLayout): ditto
11112 (delete_layout): ditto
11113 (NumberOfClass): ditto
11114 * converter.C (GetFormat): ditto
11119 * bufferlist.C (getFileNames): ditto
11120 (emergencyWriteAll): ditto
11123 * MenuBackend.C (hasSubmenu): ditto
11126 * BufferView_pimpl.C (getInsetByCode): ditto
11128 2001-04-18 Juergen Vigna <jug@sad.it>
11130 * vspace.C (asLatexString): fixed the 100% problem.
11132 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11134 * lyxfunc.C (Dispatch):
11136 * minibuffer.h: add a few std:: qualifiers
11138 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11140 * minibuffer.[Ch]: reimplement so that commands is initiated and
11141 run from lyxfunc, simplified som handling, and made the completion
11142 and history code for complete. wip.
11144 * lyxfunc.C (processKeySym): call message
11145 (miniDispatch): new temporary method
11146 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11147 (LFUN_MESSAGE): implement
11148 (LFUN_MESSAGE_PUSH): implement
11149 (LFUN_MESSAGE_POP): implement
11150 (initMiniBuffer): the initial/defualt minibuffer message.
11152 * lyxfont.[Ch]: inline some more getters
11154 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11156 * lyx_gui_misc.[Ch] (WriteStatus): remove method
11158 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11159 (AutoSave): use LFUN_MESSAGE
11160 (Reconfigure): ditto
11162 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11164 * figureForm.C: use LFUN_MESSAGE
11166 * converter.C (runLaTeX): use LFUN_MESSAGE
11168 * bufferview_funcs.C: use LFUN_MESSAGE
11170 (changeDepth): ditto
11172 * bufferparams.h: use boost::
11174 * bufferlist.h: inherit privately from noncopyable
11176 * bufferlist.C (loadLyXFile): remove some commented code.
11178 * buffer.C (runChktex): use LFUN_MESSAGE
11180 * ShareContainer.h: inherit privately from noncopyable
11182 * ParagraphParameters.[hC] (depth): inline it.
11184 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11186 (message): new method
11187 (messagePush): ditto
11188 (messagePop): ditto
11189 (show): init minibuffer
11190 (showState): direct call
11192 * LaTeX.[Ch]: inherit privately from noncopyable
11193 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11194 instead of WriteStatus.
11196 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11198 * BufferView_pimpl.C (buffer): don't init minibuffer
11199 (workAreaButtonPress): use LFUN_MESSAGE
11200 (workAreaButtonRelease): ditto
11201 (savePosition): ditto
11202 (restorePosition): ditto
11203 (MenuInsertLyXFile): ditto
11204 (workAreaExpose): don't init minibuffer
11205 (update): remove commented code, simplify
11207 * BufferView2.C (openStuff): use LFUN_MESSAGE
11208 (toggleFloat): ditto
11211 (copyEnvironment): ditto
11212 (pasteEnvironment): ditto
11217 (updateInset): remove some commented code
11219 * lastfiles.h: inherit privately from noncopyable
11222 * lyx_main.h: ditto
11224 * lyxlex_pimpl.h: ditto
11226 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11227 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11228 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11230 * LyXAction.h: inherit privately from noncopyable, add methods
11231 func_begin, func_end, returning iterators to the func map.
11233 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11234 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11235 (func_begin): new method
11236 (func_end): new method
11238 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11240 (copySelection): ditto
11241 (pasteSelection): ditto
11243 * BufferView.C: whitespace change
11244 * BufferView.h: inherit privately from noncopyable
11246 2001-04-16 Allan Rae <rae@lyx.org>
11248 * tabular-old.C (l_getline):
11249 * spellchecker.C (sc_check_word):
11250 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11251 an unrecognised preprocessor directive. So ensure they're wrapped.
11253 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
11255 * src/exporter.C (Export): Give an error message when path to file
11258 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
11260 * LaTeX.C (deplog): Always check that foundfile exists.
11262 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11265 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11267 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11269 * tabular.[Ch] (getLabelList): implement new method
11271 * minibuffer.h: comment ouf setTiimer
11273 * minibuffer.C (ExecutingCB): constify res
11274 (peek_event): constify s
11275 (Set): constify ntext
11276 (Init): constify nicename
11278 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11280 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11281 (savePosition): use two params to Minibuffer::Set
11282 (restorePosition): ditto
11284 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11286 * lyx_main.C: include language.h
11288 * Makefile.am (lyx_main.o): add language.h
11290 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11296 * CutAndPaste.C: include gettext.h
11298 * lyxfont.h: remove old hack with ON and OFF.
11301 * lyxfont.h: do not include language.h...
11306 * bufferview_funcs.C:
11312 * paragraph.C: ... but do it here instead
11314 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11316 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11318 * tabular.C: small reformat
11320 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11323 (BreakParagraph): ditto
11324 (SetOnlyLayout): ditto
11327 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11330 * lastfiles.C: removed most using decl, add std:: where needed
11332 * buffer.C: ws changes
11334 * MenuBackend.C (class compare_format): put into anon namespace
11335 (expand): constify label, names, action, action2
11338 * text.C (SingleWidth): constify font
11339 (IsBoundary): constify rtl2
11340 (GetVisibleRow): constify ww
11342 * LaTeX.C (deplog): constify logfile
11344 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11346 (workAreaExpose): constify widthChange, heightChange
11348 * lyxrow.C (par): moved
11351 * lyxrow.h: as inlines here
11353 * lyxfont.h (shape): moved from lyxfont.C
11354 (emph): moved from lyxfont.C
11356 * lyxfont.C (LyXFont): use initialization list for all
11358 (shape): move to lyxfont.h as inline
11359 (emph): move to lyxfont.h as inline
11362 2001-04-04 Juergen Vigna <jug@sad.it>
11364 * vspace.C: had to include stdio.h for use of sscanf
11366 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
11369 * BufferView_pimpl.h: remove xforms cruft. Both classes are
11370 independent of xforms.
11372 2001-04-02 Juergen Vigna <jug@sad.it>
11374 * spellchecker.C: fixed namespace placing!
11376 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
11378 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11379 the LyXParagraph * is 0.
11381 2001-03-29 Juergen Vigna <jug@sad.it>
11383 * vspace.C: added support for %, c%, p%, l%.
11384 (stringFromUnit): added helper function.
11385 (asLatexString): changed to give right results for the %-values.
11387 * buffer.C: convert the widthp in a width%.
11389 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
11391 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11394 * figureForm.[Ch]: stripped the FD_from_figure manipulation
11395 code out of lux_cb.[Ch], ready for its (imminent?) removal.
11397 * lyx_cb.[Ch]: see above.
11399 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11403 * lyx.[Ch]: replaced by figure_form.[Ch].
11407 * lyxfunc.C: changed headers associated with above changes.
11409 2001-03-27 Juergen Vigna <jug@sad.it>
11411 * BufferView_pimpl.C: set the temporary cursor right!
11413 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
11415 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11417 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
11419 * LString.h: removed "using std::getline"!
11421 * BufferView_pimpl.C (Dispatch): changes due to changes in
11422 InsetInclude::Params.
11424 * buffer.C (tag_name): removed redundant break statements as they were
11425 producing lots of warnings with my compiler.
11427 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11429 * LString.h: add "using std::getline" when using the real <string>.
11431 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
11433 * buffer.C: removed bitset usage.
11434 PAR_TAG moved to an anonymous name space.
11435 (tag_name): new funtion, also in the anonymous namespace.
11436 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11437 (makeDocBookFile): clean code. Completed transition from string arrays
11439 (SimpleDocBookOnePar): code clean.
11441 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11443 * tabular.C: add some comments.
11445 2001-03-22 Juergen Vigna <jug@sad.it>
11447 * buffer.C (parseSingleLyXformat2Token): redone the minipage
11448 compatibility read a bit and fixed bug with minipage in different
11451 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
11453 * buffer.C (pop_tag): removed.
11454 (push_tag): removed.
11455 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11456 array replaced with vector. Added support for CDATA sections.
11457 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11459 (makeDocBookFile): XML conformant declaration of CDATA section,
11460 fixed bug related to <emphasis> in the first paragraph char.
11461 (sgmlOpenTag): exclude empty tags.
11462 (sgmlCloseTag): ditto.
11464 * buffer.h (pop_tag): removed.
11465 (push_tag): removed.
11467 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
11469 * language.h (Languages): added size_type and size().
11471 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11473 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11474 response on compability reading of minipages. One probliem is that
11475 the old usage of minipages was «flertydig»
11477 * several files here and in subdirs: don't use static at file
11478 scope use anon namespaces instead.
11480 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
11482 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11483 LaTeX output. This is necessary for Literate document
11486 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11488 * buffer.C: insert hfill when needed.
11490 * tabular.C (l_getline): use string::erase, small whitespace change.
11492 * BufferView_pimpl.C: try the anon namespace.
11493 * WorkArea.C: ditto
11495 2001-03-16 Juergen Vigna <jug@sad.it>
11497 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11498 otherwise it won't open options-dialogs.
11500 * buffer.C: honor pextraWidth(p) on converting minipages.
11502 * tabular.C (l_getline): changed the functions to strip trailing \r.
11504 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
11506 * BufferView_pimpl.C:
11507 * minibuffer..C: added "using SigC::slot" declaration.
11509 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11511 * lyxlex_pimpl.h: noncopyable is in namespace boost.
11517 * paragraph.C: ditto
11519 * lyxtext.h: NO_PEXTRA
11521 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11523 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11524 * ParameterStruct.h: ditto
11525 * ParagraphParameters.h: ditto
11526 * lyxparagraph.h: ditto
11528 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11530 * buffer.C: add compability for minipage alignment.
11531 (latexParagraphs): remove unwanted pextra check.
11533 * several files: remove CXX_WORKING_NAMESPACES
11535 * buffer.C (pop_tag): tie is in namespace boost
11537 * BufferView.h: noncopyable is in namespace boost
11539 * lyx_main.h: ditto
11542 * lastfiles.h: ditto
11543 * bufferlist.h: ditto
11544 * ShareContainer.h: ditto
11546 * LyXAction.h: ditto
11549 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11551 * Merging changes from BRANCH_MVC back into HEAD.
11553 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
11555 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
11557 * BufferView_pimpl.C: change from intl.C
11561 * Makefile.am: move combox.*
11567 * intl.C: remove dialog (covered by prefs)
11569 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
11571 * lyxfunc.C (Dispatch): removed redundant break statement.
11573 2001-03-14 Juergen Vigna <jug@sad.it>
11575 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
11577 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11579 * buffer.C: add hack to fix compability reading of minipages.
11581 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
11583 * buffer.C (getLists): Cleanup.
11585 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11587 * lyxfont.C (update): don't honor toggleall on font size.
11589 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
11593 * Makefile.am: moved to frontends/xforms/
11597 * BufferView_pimpl.C: changes for moved mathpanel
11599 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11601 * gettext.h: fix gettext_init() in --disable-nls
11603 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11605 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
11607 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
11610 * lyx.h: strip external form
11612 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11614 * BufferView_pimpl.C: add comment, destroySplash()
11616 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
11618 * BufferView_pimpl.C:
11622 * lyxfunc.C: use re-worked insetinclude
11624 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11626 * buffer.C: add using std::stringstream.
11628 * lyx_cb.C: readd using std::ios.
11630 * buffer.C: add using std::map.
11632 * BufferView_pimpl.C: add using std::vector.
11634 * ShareContainer.h: add std:: to swap.
11636 * buffer.h: add some typedefs
11637 * buffer.C (getLists): use them
11638 (getLists): renamed from getTocList.
11639 add a counter for the different float types and use it in the
11641 (getLists): use the same counter for the NEW_INSETS and the "non"
11644 * lyx_cb.h: remove unused items, includes, using etc.
11646 * ShareContainer.h: remove some commented code, add more comments
11647 and "documentation".
11649 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11651 * buffer.C (getTocList): make the list also when NEW_INSETS is
11654 * buffer.h: remove TocType
11656 * buffer.C (getTocList): change to return a map<string,
11657 vector<TocItem> >, implement for dynamic number of list.
11659 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
11660 * text2.C (PasteSelection): adjust
11661 * CutAndPaste.C (pasteSelection): adjust
11663 * FloatList.C (FloatList): update from the new_insets branch.
11664 * Floating.[Ch]: ditto
11665 * LaTeXFeatures.C: ditto
11667 * lyxlex_pimpl.C: ditto
11669 * paragraph.C (Last): remove when NEW_INSETS is defined.
11671 * other file: changes because of the above.
11673 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11675 * lyxparagraph.h: rename next to next_, previous to previous_,
11676 make them private for NEW_INSETS. Rename Next() to next(),
11677 Previous() to previous().
11679 * other files: changes because of the above.
11681 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
11684 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
11687 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11689 * main.C (main): pass lyx_localedir to gettext_init().
11691 * gettext.h: remove locale_init and gettext_init macros
11693 * gettext.C (locale_init): new function
11694 (gettext_init): new function
11696 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
11699 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
11701 * Moved credits to frontends:
11702 * credits.[Ch]: removed
11703 * credits_form.[Ch]: removed
11704 * lyx_gui_misc.C: remove credits stuff
11707 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11709 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
11711 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
11712 unneeded destructor.
11714 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
11715 a standalone pointer again.
11717 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
11719 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
11725 * ToolbarDefaults.C:
11734 * BufferView_pimpl.C: use new file dialog in GUII
11737 * lyx_cb.C: remove LayoutsCB to Toolbar
11739 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11741 * ShareContainer.h (get): add std:: qualifier
11743 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11745 * ShareContainer.h: define a proper ShareContainer::value_type
11746 type (and use typename to please compaq cxx)
11748 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11750 * lyxparagraph.h: move serveral local vars to
11751 ParameterStruct/ParagraphParameters., use ShareContainer in
11752 FontTable., make vars in FontTable private and add getter and
11755 * paragraph.C: changes because of the above.
11757 * lyxfont.h: remove copy constructor and copy assignment. (the
11758 default ones is ok), move number inside FontBits. move inlines to
11761 * lyxfont.C: add number to initializaton of statics, move several
11762 inlines here. constify several local vars. some whitespace
11763 cleanup. Dont hide outerscope variables.
11765 * Spacing.h: add two new constructors to match the set methods.
11767 * ShareContainer.h: new file, will perhaps be moved to support
11769 * ParameterStruct.h: new file
11771 * ParagraphParameters.h: new file
11773 * ParagraphParameters.C: new file
11775 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
11776 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
11778 * BufferView_pimpl.C: ParagraphParameter changes.
11779 * buffer.C: Likewise.
11780 * bufferview_funcs.C: Likewise.
11781 * text.C: Likewise.
11782 * text2.C: Likewise.
11784 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11786 * lyxfind.C (LyXReplace): do not redefine default argument in
11788 (IsStringInText): ditto
11789 (SearchForward): ditto
11790 (SearchBackward): ditto
11792 2001-03-06 Juergen Vigna <jug@sad.it>
11794 * lyxfind.C (IsStringInText): put parentes around expressions.
11796 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
11798 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
11800 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
11802 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
11804 * stl_string_fwd.h: add comment
11806 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
11809 * tabular.C: remove unused DocBook methods
11815 killed DO_USE_DEFAULT_LANGUAGE
11817 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
11819 * lyx_gui.C: do not include language.h.
11821 * bufferview_funcs.C (ToggleAndShow): do not provide optional
11822 arguments in function implementation.
11824 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11826 * BufferView_pimpl.C: add <ctime>
11828 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11830 * BufferView_pimpl.C: add using std::find_if
11832 2001-02-27 José Matos <jamatos@fep.up.pt>
11834 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
11837 2001-02-11 José Matos <jamatos@fep.up.pt>
11839 * buffer.C (makeDocBookFile): command styles now have a parameter as
11840 "title" by default.
11842 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
11844 * layout_forms.[Ch]: removed
11845 * lyx_cb.[Ch]: out character
11846 * lyx_gui.C: out character
11847 * lyx_gui_misc.C: out character
11848 * bufferview_funcs.C: : out character,
11849 added toggleall as parameter in ToggleAndShow
11851 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
11853 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
11855 * text2.C (SetCurrentFont): Disable number property at boundary.
11857 2001-02-26 Juergen Vigna <jug@sad.it>
11859 * lyxfunc.C (getStatus): added a string argument override function so
11860 that this is correctly called from LyXFunc::Dispatch if it contains a
11861 do_not_use_argument which is used!
11862 (Dispatch): added check for "custom" export and call appropriate func.
11864 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
11866 * lyxrc.C: Add language_command_local, language_use_babel and
11867 language_global_options.
11869 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
11871 * buffer.C (makeLaTeXFile): Use language_use_babel and
11872 language_global_options.
11874 2001-02-23 Juergen Vigna <jug@sad.it>
11876 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
11877 which works with LyXText and putted it inside BufferView. Here now we
11878 only call for that part the BufferView::Dispatch() function.
11880 * BufferView.C (Dispatch): added.
11882 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
11883 functions which needs to use a LyXText over from LyXFunc.
11884 (MenuInsertLyXFile): added
11885 (getInsetByCode): added
11886 (moveCursorUpdate): added
11887 (static TEXT): added
11889 2001-02-22 Juergen Vigna <jug@sad.it>
11891 * BufferView_pimpl.C (update): call a status update to see if LyXText
11894 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
11896 * vc-backend.C (revert): implement for CVS
11897 (getLog): implement for CVS
11899 2001-02-20 Juergen Vigna <jug@sad.it>
11901 * text2.C (ClearSelection): added BufferView param for inset_owner call
11903 * lyxfunc.C (TEXT): added this function and use it instead of
11904 directly owner->view()-text of getLyXText().
11906 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
11908 * src/layout_forms.C: out preamble
11909 * src/layout_forms.h: out preamble
11910 * src/lyx_cb.C: out preamble
11911 * src/lyx_cb.h: out preamble
11912 * src/lyx_gui.C: out preamble
11913 * src/lyx_gui_misc.C: out preamble
11914 * src/lyxfunc.C: connect with guii preamble
11916 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
11918 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11920 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
11922 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11923 whether to run bibtex.
11925 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
11927 * Makefile.am (lyx_SOURCES): Remove BackStack.h
11929 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11931 * Makefile.am (lyx_SOURCES): removed bibforms.h
11933 * vspace.h: doxygen
11935 * text.C (GetVisibleRow): make several local vars const
11937 * tabular.C: small cleanup.
11939 * lyxserver.C (callback): use compare instead of strncmp
11941 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11942 inlines to after class or to paragraph.C
11944 * lyxfont.h: remove friend operator!=
11946 * converter.h: move friend bool operator< to non friend and after
11949 * combox.h: small cleanup
11951 * buffer.h: doxygen, remove unused constructor, move inclas inlies
11952 to inlines after class def.
11954 * buffer.C (pop_tag): use string operations instead of strcmp
11956 * bmtable.c: doxygen, small cleanup
11958 * LaTeX.h: remove friend operator==
11960 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
11972 * BufferView_pimpl.C:
11973 * BufferView.[Ch]: remove cruft
11975 2001-02-14 Juergen Vigna <jug@sad.it>
11977 * lyxfunc.C: removed #if 0 unused code
11979 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11981 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11983 * text2.C (SetSelection): added a BufferView * parameter
11985 2001-02-13 Juergen Vigna <jug@sad.it>
11987 * lyxfunc.C (Dispatch): fixed protected blank problem.
11988 * BufferView2.C (protectedBlank): added LyxText * parameter.
11990 * tabular.C (AppendRow): forgot to set row_info of newly added row.
11991 (AppendColumn): same as above for column_info.
11993 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11994 (moveCursorUpdate): use a LyXText param for support of InsetText.
11996 * BufferView_pimpl.C (doubleClick): added support for InsetText.
11997 (tripleClick): ditto
11999 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12001 * BufferView_pimpl.C (update): added LyXText param to honor insets.
12003 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12005 * text2.C (SetSelection): set correct update status if inset_owner
12006 (ToggleFree): ditto
12008 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
12010 * tabular.C: remove some commented code.
12012 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
12014 * BufferView_pimpl.C: call hideSplash()
12016 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12019 * bibforms.h: remove
12022 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12023 add LFUN_CHILD_CREATE
12025 * counters.h: fix tiny typo
12030 * lyx.C: move splash to frontends/xforms/
12032 * lyx_gui_misc.C: move Include and Bibform to frontends
12034 * lyxvc.h: clarify comment
12036 * vspace.C: tiny housekeeping
12038 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
12040 * text.C (PrepareToPrint): RTL Fix.
12042 * paragraph.C (GetUChar): New method.
12043 (String): Use GetUChar.
12045 * buffer.C (asciiParagraph): Use GetUChar.
12047 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
12049 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12051 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
12054 * buffer.C: rename to getLogName(), handle
12055 build log / latex log nicely
12057 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12060 * MenuBackend.h: remove support for reference menuitem type.
12062 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
12064 * BufferView_pimpl.C: housekeeping
12065 * BufferView_pimpl.h:
12070 * minibuffer.h: move Timeout GUI-I
12072 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
12074 * lyxrc.C (read): Update converters data-structures.
12076 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
12078 * LaTeX.h (operator!=): add operator != for Aux_Info
12080 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
12082 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12084 * LaTeXLog.C: deleted, useful code moved to Buffer
12087 * buffer.C: new function getLatexLogName()
12093 * lyxfunc.C: use frontends for LaTeX and VC logs
12095 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12097 * LaTeX.h: yet another std:: that Allan forgot.
12099 * Variables.C (set): renamed from isset(), because this clashes
12100 with some HP-UX macros (grr).
12102 2001-02-06 Allan Rae <rae@lyx.org>
12104 * LaTeX.h: Another bug fix. Missing std:: this time.
12106 2001-02-04 Allan Rae <rae@lyx.org>
12108 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12109 floats problem. I've left it commented out because it's not quite
12110 correct. It should also test that the current object is a table or
12111 figure inset. But I haven't gotten around to figuring out how to do
12112 that. I *think* it'll be something like: "table" == inset.type()
12114 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12117 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
12119 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12120 all the citation/databases/styles in the auxilary file.
12121 (run): Rerun latex if there was a babel language error.
12123 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
12125 * text.C (Backspace): Preserve the font when changing newline char
12127 (BreakParagraph): If the cursor is before a space, delete the space.
12129 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12131 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
12133 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12134 new argument (code).
12135 (ChangeCitationsIfUnique): New method.
12137 * paragraph.C (GetPositionOfInset): Handle bibkey.
12139 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12141 * BufferView_pimpl.h: change type of Position::par_pos to
12142 LyXParagraph::size_type.
12144 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
12146 * BufferView_pimpl.C (savePosition, restorePosition): Write
12147 messages to minibuffer.
12149 2001-01-28 José Matos <jamatos@fep.up.pt>
12151 * buffer.C (makeDocBookFile): adds support for document language.
12152 A silly restriction on the name of LatexCommand types where removed.
12153 Added support for CDATA sections, allows to chars unescaped, used
12154 among others in code, to avoid escape < and >.
12156 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12158 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12159 saved positions instrad of a stack. Furthermore, a position is
12160 stored using paragraph id/paragraph position.
12162 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12163 Remove LFUN_REF_BACK.
12165 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
12167 * converter.C (dvipdfm_options): New method.
12169 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
12171 * vspace.C (isValidLength): Fix for empty input string.
12173 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12175 * LyXAction.C (init): change description of LFUN_FIGURE to
12178 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12180 * LaTeX.C: add using directive
12182 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12184 * MenuBackend.C (expand): Fix the sorting of the formats.
12186 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
12188 * lyx_main.C: tiny error message fix
12190 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12192 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12193 calling fl_initialize(). This fixes the problem with ',' as
12194 decimal separator in text files.
12196 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
12198 * trans.C (process): Fix the keymap bug.
12200 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
12202 * LaTeX.C (scanAuxFiles): New method. Provides support for
12203 multiple bibliographies (when using the bibtopic/bibunits pacakges).
12204 (scanLogFile) Scan for "run BibTeX" messages.
12206 * buffer.C (makeLaTeXFile): Do not load the ae package when using
12207 OT1 font encoding. Also, load the aecompl package if the ae
12210 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12212 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12214 * texrow.C (increasePos): turn two error messages into debug
12217 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
12219 * LaTeX.C (scanAux): Handle the \@input macro.
12220 (runBibTeX): Use scanAux().
12222 * language.C (latex_options_): New field.
12224 * LaTeXFeatures.C (getMacros): Add language macros.
12226 * buffer.C (makeLaTeXFile): Small fix.
12228 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12230 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12232 * text2.C: add a using directive.
12234 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
12239 * lyxfunc.C: kill LyXBell.
12241 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
12243 * text.C (IsBoundary): Remove the error message
12245 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12247 * lyxrc.C (setDefaults): Correct initialization value for
12250 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
12252 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12255 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12256 and GotoNextNote().
12258 * src/LyXAction.C: Added reference-next.
12260 * text.C (InsertChar): Use contains instead of strchr.
12262 * lyx_cb.C (MenuInsertLabel): Enable default value code.
12264 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
12266 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12267 alignment commands (when needed).
12269 * text.C (InsertChar): Add ':' to number separator chars.