1 2005-02-01 Angus Leeming <leeming@lyx.org>
3 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
4 calling fs::is_directory().
6 2005-01-31 Angus Leeming <leeming@lyx.org>
8 * lyx_main.C (priv_exec): specify explicitly the relative location
9 of the top level build directory when run in-place.
11 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
14 LyXText containing the cursor, not the top-level one.
16 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
18 (insertStringAsLines): rename par to pit; use temporary variable
19 par to hold a Paragraph; do not store par.layout() in a variable,
20 since the pointer may die when breaking paragraphs; pass pars to
21 breakParagraph() instead of Buffer::paragraphs().
23 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
25 * lyxlex_pimpl.h: #include <fstream>.
27 * BufferView.[Ch] (getLyXText): add a const version.
29 * BufferView_pimpl.C: add debug aids.
34 * paragraph_funcs.h: add commentary explaining what the class does.
37 * coordcache.[Ch]: add lots of commentary.
38 (startUpdating, doneUpdating): debug aids.
39 (arrays, insets, parPos, getParPos): accessors to private data.
41 * cursor_slice.[Ch] (text): add a const version.
42 * dociterator.[Ch] (text, innerText): add const versions.
44 * lyxtext.h (breakParagraph): change the keep_layout arg to a
47 * paragraph.C (getRow, pos2ros): add asserts.
49 * paragraph.h: add commentary. Lots of.
51 * paragraph.[Ch] (metrucs, draw): removed.
54 * rowpainter.[Ch]: const-correct changes.
56 * text.C: various obvious clean-ups. Removal of ancient cruft.
59 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
61 * vc-backend.C (find_file): rewrite to use boost.filesystem
64 * main.C (main): set default name check for boost.filesystem to
67 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
70 (actOnUpdatedPrefs): ditto
72 * lyx_main.C (init): rewrite to use boost.filesystem
73 (queryUserLyXDir): ditto
75 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
76 (getContentsOfAsciiFile): ditto
78 * lastfiles.C (readFile): rewrite to use boost.filesystem
80 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
82 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
85 * buffer.C (Buffer): adjust for destroydir
86 (getLogName): rewrite to use boost.filesystem
88 (save): use fs::copy_file (from fs_extras)
90 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
92 * LaTeX.C (run): rewrite to use boost.filesystem
94 (handleFoundFile): ditto
96 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
98 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
100 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
102 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
104 * lyxlayout.[Ch]: change some vars from float to double
106 * buffer.C (readFile): make a local var const
108 * Several files: use convert<> instead of atoi,strToXXX and friends
110 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
112 * LaTeXFeatures.[Ch]: Add a static list packages_ that
113 holds the contents of packages.lst. New functions getAvailable
114 and isAvailable to parse and check that list, resp.
118 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
120 * bufferparams.[Ch]: new param output_changes.
122 * Buffer.C: increase file format to 240.
123 Use output_changes and isVailable.
127 * paragraph_pimpl.C: Use output_changes and isVailable.
129 2005-01-23 Angus Leeming <leeming@lyx.org>
131 * output_latex.C: #include "insetbibitem.h", rather than
132 forward declare function bibitemWidest.
134 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
136 * lyx_main.C (init): make it compile on the Mac.
138 2005-01-20 Angus Leeming <leeming@lyx.org>
140 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
141 (setLyXMisc): (char string literal) != (char string literal) is
142 performing a comparison on the addresses. Convert one operand
143 explicitly to string to guarantee expected behaviour.
146 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
149 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
151 * output_plaintext.C: remove unneeded #include gzstream.h.
153 2005-01-20 Angus Leeming <leeming@lyx.org>
155 * SpellBase.h: rename some of the elements of the Result enum.
162 * pspell.C (check): ditto
164 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
166 * buffer.C: add #include <fstream>.
168 * lyx_main.C (init): Compile fix.
170 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
172 2005-01-20 Angus Leeming <leeming@lyx.org>
174 * mover.h: change commentary to reflect the changed meaning of
177 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
179 * output_linuxdoc.C (linuxdocParagraphs): silence warning
181 * lyxfind.C (MatchString::operator()): remove bogus semicolon
183 2005-01-20 Angus Leeming <leeming@lyx.org>
185 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
186 printing diagnostic data by not dereferecing an iterator past the
189 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
191 * buffer.C (readHeader): use "&&" rather than "and".
193 * lyxserver.h (inPipeName, outPipeName): make these const.
195 2005-01-19 Angus Leeming <leeming@lyx.org>
197 * lyx_main.C (error_handler, init): protect SIGHUP with
198 #ifdef SIGHUP guards.
200 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
202 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
204 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
206 * text.C (setHeightOfRow): add a margin at the top and bottom of
207 the document (bug 1761)
209 2005-01-17 Angus Leeming <leeming@lyx.org>
211 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
212 with "python ". Workaround for a brain-dead Windows.
214 2005-01-16 Angus Leeming <leeming@lyx.org>
216 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
217 for MacOSX and Windows to use prependEnvPath.
218 Strip out the hard-coded block to add elements to the PATH for
219 MacOSX and replace it with a call to prependEnvPath using the
220 contents of LyXRC::path_prefix.
221 (queryUserLyXDir): strip out the code to run reconfigure, instead
222 returning a boolean indicating the necessity to do so.
223 (reconfigureUserLyXDir): contains the code to reconfigure the
224 user support directory. Is now called after the various LyXRC data
225 files have been read.
227 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
229 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
231 * converter.[Ch] (convert): take a new parameter try_default. Use
232 a default converter (imagemagick) if try_default is true.
234 2005-01-13 Angus Leeming <leeming@lyx.org>
236 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
238 (write): output LyXRC::cygwin_path_fix as necessary.
240 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
243 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
245 2005-01-12 Angus Leeming <leeming@lyx.org>
247 * lyx_main.C (init): set the PATH variable to include the
248 directory containing the LyX binary when running on Mac or Windows.
250 2005-01-12 Angus Leeming <leeming@lyx.org>
252 * lyx_main.C (init): remove cruft that purports to set the locale
253 dir. It doesn't and is not needed anyway.
255 2005-01-10 Angus Leeming <leeming@lyx.org>
257 * Makefile.am: remove the lyx_main.C special casing.
259 * BufferView_pimpl.C:
265 * messages.C: use support/package.h to provide the paths to the
266 various directories used by LyX.
268 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
270 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
271 layout if pasting into an empty paragraph)
273 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
275 * tex-accent.C: add <string>
277 2005-01-06 José Matos <jamatos@lyx.org>
279 * ParagraphParameters.C (write): put every parameter in its own line.
280 * paragraph.C (write): reduce number of consecutive empty lines exported.
281 * buffer.C (LYX_FORMAT): increase file format to 239.
283 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
285 * everywhere: change support/tostr.h -> support/convert.h
287 * tabular.C: make all write_attributes templates, tostr -> convert
289 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
290 (emptyTag): and -> &&, and fix type for ret from getChar
291 (getFirstWord): fix type for ret from getChar
292 (onlyText): and -> &&
293 (simpleDocBookOnePar): and not -> && !, fix type for ret from
296 * toc.C (goTo, action):
297 * text3.C (dispatch):
298 * text.C (currentState):
299 * tex-accent.C (DoAccent):
302 * lyxfunc.C (menuNew):
303 * lyxfinc.C (replace):
304 * counters.C (laberItem):
305 * bufferview_funcs.C (font2string):
306 * bufferparams.C (writeFile):
307 * buffer.C (readFile):
309 * MenuBackend.C: tostr -> convert
311 * LaTeX.C (runMessage): fix format
312 (scanAuxFiles): tostr -> convert
314 * BufferView_pimpl.C (savePosition): fix format
315 (restorePosition): ditto
318 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
320 * Spacing.[Ch]: New method getValueAsString().
324 * ParagraphParameters.C:
327 * text3.C: store/read spacing value as string.
329 * rowpainter.C: change float value (spacing_val) to double.
331 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
332 broken custom document spacing).
334 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
336 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
337 namespace, also more use of temp references and const
339 * cursor.[Ch] (getStatus): move to lyxfunc.C
341 * bufferparams.C: reformat slightly
343 * bufferview_funcs.C (font2string): constify arg
349 * buffer_funcs.C: (many funcs): constify arg on function
350 definitions, also make more local vars const, also add ASSERTS on
353 * buffer.C (LYX_FORMAT): put const in correct place
354 (many funcs): constify arg on function definitions, also make
355 more local vars const
357 * aspell_local.h: remove "struct" from typdef setup
359 * aspell.C (check): make word_ok const
360 (nextMiss): simplify slightly
363 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
365 * lyxrc.[Ch]: store all float values as strings.
366 use int (not float) for lyxrc.dpi.
368 2005-01-04 Angus Leeming <leeming@lyx.org>
370 * lyx_cb.C (Reconfigure):
371 * lyx_main.C (queryUserLyXDir):
372 to run the <system_lyxdir>/configure correctly on Windows, prefix
373 the path to the script with "sh " when generating the string that
374 is passed to system().
376 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
378 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
380 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
382 * lyxlength.C (asLatexString): get rid of setprecision
384 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
386 * text2.C (setLayout): remove unused variable endpit.
387 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
389 * paragraph.C (onlyText): remove unused variable style.
391 * cursor.C (bruteFind): remove unused variables beg and end.
393 * Makefile.am (dist_noinset_DATA): not needed anymore
395 * cheaders/*: remove.
397 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
399 * text3.C: fix LFUN_MATH_MODE.
401 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
403 * buffer_funcs.C (countWords): new function. Counts words between
406 * BufferView_pimpl.C (getStatus, dispatch): handle
409 * LyXAction.C (init):
410 * lfuns.h: add LFUN_WORDS_COUNT.
412 2004-12-19 Angus Leeming <leeming@lyx.org>
414 * buffer.C (save): s/slashify_path/internal_path/.
416 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
418 * lyxfind.C (findChange): do not search for end of pars, because
419 the change tracker cannot handle this (fixes bug 1719).
421 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
423 * paragraph.[Ch] (autoBreakRows): remove
425 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
427 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
428 avoid using the paragraph one
430 * text2.C (LyXText, insertStringAsLines): adjust
432 2004-12-16 Angus Leeming <leeming@lyx.org>
436 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
438 2004-12-14 Angus Leeming <leeming@lyx.org>
440 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
442 * bufferlist.C (emergencyWrite):
443 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
446 2004-12-14 Angus Leeming <leeming@lyx.org>
448 * main.C: (main): no longer pass pointers to os::init.
450 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
452 * undo.C (textUndoOrRedo): simplify logic, fix a crash
453 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
455 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
458 * text3.C: remove selection_possible global flag
460 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
462 * text2.C (getSelectionSpan): remove
463 (changeDepth, changeDepthAllowed): adjust
465 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
467 * Makefile.am (BOOST_LIBS): use boost variables
469 2004-12-03 José Matos <jamatos@lyx.org>
471 * buffer.C: format up to 238.
473 2004-12-03 José Matos <jamatos@lyx.org>
475 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
477 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
479 * cursor.C (goUpDown): remove call to idxUpDown2
481 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
483 * tabular.[Ch]: use size_t-like types for cell, row and column
486 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
488 * lyxfunc.C (getStatus): do not lose previous information when
489 calling BufferView::getStatus; do not set a default "Command
490 disabled" message at the beginning, but just before returning.
492 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
494 * cursor.h (getStatus): add better comment from src/cursor.C
496 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
498 * text3.C (getStatus): return false when the lfun is not handled
500 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
502 * broken_headers.h: remove
504 * Makefile.am (lyx_SOURCES): remove broken_headers.h
506 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
508 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
511 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
512 top_y_, merge fitcursor with update
513 (updateScrollbar, scrollDocView, fitCursor, center, update): new
516 (workAreaDispatch): adapt to new coord scheme
517 (redoCurrentBuffer): remove
519 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
521 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
524 * coordcache.[Ch]: add paragraph cache and helpers
526 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
529 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
530 (targetX, setTargetX): introduce
532 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
533 baseline -> ascent, as the rest of lyx
535 * lyxtext.h: remove redoParagraphs, updateParPositions,
536 fullRebreak, redoParagraphInternal. move dist to anon namespace in
537 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
538 have ascent/descent (ascent is ascent of first par)
540 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
543 * paragraph.[Ch]: unify dimension handling with the rest of lyx
545 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
547 * pariterator.C: fix infinite loop introduced in par->pit renaming
549 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
550 in insets and LyXText, draw two off-screen paragraphs using
551 NullPainter, and adapt to new coord scheme
555 * text3.C: adapt lfun handlers to the new coord scheme, which
556 means: there's only guaranteed coord information for onscreen pars
557 plus one above and one below. This implies that one can do search
558 from y coordinates in the range [-1,workHeight]
560 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
562 * rename a lot of InsetOld to InsetBase
564 2004-11-25 Angus Leeming <leeming@lyx.org>
566 * BufferView_pimpl.C:
568 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
570 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
572 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
573 call BufferView::getStatus if LCursor::getStatus did nothing
574 (setStatusMessage, getStatusMessage): removed.
576 * FuncStatus.C (message): new methods. Used to provide an error
577 message indicating why a command is disabled.
578 (clear, |=, FuncStatus): update for message.
580 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
582 * lyxfunc.C (dispatch): always call sendDispatchMessage
584 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
587 * BufferView_pimpl.C:
601 * undo.C: par->pit renaming
603 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
605 * tabular.C (cellstruct): use initialization, store a shared_ptr
606 to insettext instead of the insettext directly, adjust to fit.
607 (operator=): new function
609 (rowstruct): use initialization
610 (columnstruct): use initialization
611 (ltType): use initialization
614 * lyxlength.h (swap): new function
616 * LColor.[Ch] (operator=): use the common semantics
618 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
620 * lyxfind.C (findNextChange): update the bufferview after setting
623 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
625 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
626 number of InsetOptArgs has already been inserted.
628 * output_latex.C (latexOptArgInsets): new method. This outputs all
629 the optarg insets, up to the limit defined in the layout file.
630 (optArgInset): removed
631 (TeXOnePar): call latexOptArgInsets; correctly update texrow
633 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
635 * paragraph.C (isLetter): remove special spellchecker-related
636 code; return true also for digits
637 (isWord, isKomma): remove
639 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
640 * lyxfind.C (MatchString()): use isLetter instead of isWord
642 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
644 * pariterator.h (operatir=): comment out un-implemented member
647 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
650 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
652 * lyxfont.h: include LColor.h to satisfy concept checks.
654 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
656 * pariterator.h: add typdefs for value_type, difference_type,
657 pointer and reference to satisfy concept checks. Also add default
658 constructor for same reason.
660 * pariterator.C (operator++): add post-increment operator to
661 satisfy concept checks.
663 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
666 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
668 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
669 checks. Also rename base_type to BaseType to follow naming
672 * FloatList.h: include Floating.h to satisfy concept checks.
674 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
676 * lyxfunc.C (getStatus): when the origin of the request is menu or
677 toolbar, and the LyXView does not have focus, do as if there was
680 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
681 FuncRequest to individual entries of LFUN_SEQUENCE
683 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
685 * output_latex.C (TeXOnePar): override runparams.moving_arg
686 according to the needprotect value of the current paragraph (bug
689 * paragraph.C (simpleTeXOnePar): no need to override
690 runparams.moving_args here
692 2004-11-14 John Spray <spray_john@users.sourceforge.net>
694 * vspace.C: fix off-by-one-error, related to fix #1682
696 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
698 * lengthcommon.C: a more general fix for bug 1682
700 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
702 * text.C (backspace): fix crash
704 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
706 * format.[Ch] (getFormatFromFile): new method
707 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
709 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
711 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
713 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
715 * lyxfunc.C (dispatch): remove the verbose argument
716 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
719 * kbmap.C (defkey): set the origin of func to KEYBOARD
721 * MenuBackend.C (MenuItem):
722 * ToolbarBackend.C (add): set the origin of func to UI
724 * funcrequest.[Ch]: add origin member, which indicates which part
725 of LyX requests an action
727 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
729 * converter.C (move): don't lie in the error message
730 * converter.h (isReachable, move): document
732 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
734 * buffer.C: remove unused using lyx::support::atoi
735 * paragraph_funcs.C: ditto
737 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
739 * bufferlist.C (exists): use bind and equal_to instead of
742 * lyxtextclasslist.C (NumberOfClass): ditto
744 * cursor.C (insert): use for_each instead of explicit for loop
746 * bufferlist.C (getFileNames): use std::transform and
747 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
749 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
752 * buffer.C (changeLanguage): use for_each instead of explicit for
754 (hasParWithID): implement using getParFromID
756 * LaTeXFeatures.C: ws change only
758 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
761 * BufferView_pimpl.C (trackChanges): use for_each instead of
764 2004-11-04 André Pönitz <poenitz@gmx.net>
767 * undo.C (textUndoOrRedo): fix crash when creating undo information.
769 * dociterator.C (asDocIterator): use hard assert again.
771 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
773 * lyxlength.C (asLatexString): rewrite so that it does not use
776 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
778 * text3.C (specialChar, dispatch): make sure cursor moves to the
779 right after inserting an inset
781 2004-11-02 José Matos <jamatos@lyx.org>
783 * output_docbook.C (docbook):
784 * paragraph.C (getID):
785 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
786 garantee that the output is always legal.
788 * tabular.C (docbook):
789 * outputprams.[Ch]: remove mixed contents.
791 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
793 * text2.C (setCounter): prevent endless loop
795 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
797 * exporter.C (copyFile): use the mover instead of support::copy()
798 * exporter.C (Export): pass format and latex name to copyFile()
799 * exporter.h (addExternalFile): document
800 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
802 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
804 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
806 2004-10-30 José Matos <jamatos@lyx.org>
808 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
809 text and no inset or font change. This allows to use CDATA
810 sections just for the whole paragraph.
812 2004-10-30 José Matos <jamatos@lyx.org>
814 * paragraph.C (getFirstWord): remove unused variable.
816 2004-10-30 José Matos <jamatos@lyx.org>
818 * paragraph.C (getFirstWord): the content should always be escaped
820 (simpleDocBookOnePar):
821 * output_docbook.C (makeEnvironment): replace reference to CDATA
824 2004-10-30 José Matos <jamatos@lyx.org>
826 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
828 2004-10-30 José Matos <jamatos@lyx.org>
830 * output_docbook.C (makeParagraphs):
831 * paragraph.[Ch] (emptyTag): for docbook and company, if the
832 standard paragraph has only a given type of content drop the wrapper.
834 2004-10-29 José Matos <jamatos@lyx.org>
836 * output_docbook.C (makeEnvironment):
838 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
840 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
842 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
843 (cleanID): sanitize any id.
845 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
847 * buffer.C, lyxlex_pimpl.C:
848 * lyxlex_pimpl.C (setFile):
849 s/getExtFromContents/getFormatFromContents/
851 2004-10-28 José Matos <jamatos@lyx.org>
853 * output_docbook.C (makeEnvironment): move id to broadest possible
856 * sgml.C (openTag): apply substitution of <> for all attributes.
858 2004-10-28 José Matos <jamatos@lyx.org>
860 * buffer.C (makeLinuxDocFile, makeDocBookFile):
861 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
862 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
864 * sgml.[Ch]: new version for open and closeTag for paragraph and
865 for strings. Now they handle the ids of paragraphs.
867 2004-10-26 Angus Leeming <leeming@lyx.org>
869 * Makefile.am: add mover.[Ch].
871 * converter.C (convert, move): use the new Movers to move external
872 files to the temp directory.
874 * lyx_main.C (init): ensure that the global system_movers data
877 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
880 * mover.[Ch]: new files, defining a Mover as a utility to move an
881 external file between directories and, if necessary, manipulate this
882 file using a helper script.
884 2004-10-25 José Matos <jamatos@lyx.org>
886 * output_docbook.C (makeCommand): merge two if's that tested the
889 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
891 * sgml.C (escapeString): fix warning in a better way
893 2004-10-25 José Matos <jamatos@lyx.org>
895 * sgml.C (escapeString): import the require boosts header file for
896 tie, and avoid a signed unsigned comparison.
898 2004-10-25 José Matos <jamatos@lyx.org>
900 * sgml.h: add #include <string>
902 2004-10-25 José Matos <jamatos@lyx.org>
904 * sgml.[Ch] (escapeString): new function to escape all the string.
906 2004-10-24 José Matos <jamatos@lyx.org>
908 * paragraph.[Ch] (getFirstWord): new function to get the first
909 word. Useful for description.
910 (simpleDocBookOnePar): remove depth argument, add another that
911 says where to start the paragraph.
913 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
914 use the new functions to fix cleanly the support for descriptions.
916 2004-10-24 José Matos <jamatos@lyx.org>
918 * buffer.C (makeLinuxDocFile, makeDocBookFile):
919 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
920 * output_linuxdoc.C (linuxdocParagraphs):
921 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
922 add buffer as argument.
924 2004-10-24 José Matos <jamatos@lyx.org>
926 * output_docbook.C (makeEnvironment, searchEnvironment): place
927 CDATA inside paragraphs and fix scope for listitems.
929 2004-10-24 José Matos <jamatos@lyx.org>
931 * output_docbook.C: remove using statement for stack.
933 2004-10-23 José Matos <jamatos@lyx.org>
935 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
936 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
937 docbook. The new scheme is recursive and makes use of iterators, the
938 same as latex export works.
939 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
940 directly with the paragraph contents. This code was moved up to
941 output_docbook.C (docbookParagraphs).
942 * sgml.C (openTag, closeTag): removed unneeded newlines.
943 (closeEnvTags) removed.
945 2004-10-23 André Pönitz <poenitz@gmx.net>
947 * undo.C (textUndoOrRedo):
948 * dociterator.C (asDocIterator): work around crash
950 * cursor.C (getStatus): replace ASSERT by more verbose error message
951 and manual correction of the problem. Should increase stability
952 while providing more sensible information.
954 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
956 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
958 * bufferlist.C (previous, next): new methods
961 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
963 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
965 * buffer.C (makeDocBookFile): add dsssl stylesheet control
966 entities to preamble.
968 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
970 * messages.C (Pimpl): strip off translation context information
972 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
974 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
975 the cursor is correct (bug 1694)
977 2004-10-13 José Matos <jamatos@lyx.org>
979 * output_docbook.C (docbookParagraphs): fix closing tags in the
982 2004-10-09 José Matos <jamatos@lyx.org>
984 * buffer.C: format up to 237.
985 * bufferparams.C (write): use tostr to convert booleans to strings.
987 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
989 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
991 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
993 * LaTeX.C: implement use of babel language in xindy.
995 2004-10-05 José Matos <jamatos@lyx.org>
997 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
998 Add new translators to help reading and writing the lyx file.
1000 2004-10-05 José Matos <jamatos@lyx.org>
1002 * ParagraphParameters.C (read):
1003 * text.C (readParToken): replace nexToken by more appropriate lex
1006 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1008 * LaTeX.C (runMakeIndex):
1009 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1010 (usually 'makeindex') configurable.
1012 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1013 with a variable rather than with a number.
1015 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1017 * output_latex.C (TeXOnePar): make sure font setting is the first
1018 thing that gets output (and the last at the end). Should fix bug
1021 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1023 * pch.h: use proper signal include
1025 * LaTeX.h: Use preferred calling of Boost.Signal
1028 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1030 * pch.h: dont include <boost/function/function0.hpp>
1032 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1034 * paragraph_pimpl.h: remove usage of ShareContainer
1036 * paragraph_pimpl.C: remove initialization of ShareContainer.
1038 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1042 * BufferView.C (putSelectionAt): change the semantics when
1043 backwards == true: now, this just swaps cursor and anchor wrt the
1046 * BufferView.h (putSelectionAt): add some documentation
1048 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1049 make sure backwardChar is done at least once (to avoid getting
1051 (findNextChange): use putSelectionAt in the forward direction
1052 (operator()): use Paragraph::isWord
1054 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1056 * Spacing.C (set): c_str fix
1058 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1060 * lyx_cb.C (Reconfigure): quote the name of configure script in
1061 case it contains spaces
1063 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1067 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1068 (BOOST_LIBS): use top_buildir when looking for the file
1070 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1072 * pch.h: do not use include boost/format.hpp, multiple symbols
1073 will result (gcc bug)
1076 2004-08-23 José Matos <jamatos@lyx.org>
1078 * bufferparams.C (readToken): fix reading of the author field.
1080 2004-08-20 José Matos <jamatos@lyx.org>
1082 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1084 2004-08-20 José Matos <jamatos@lyx.org>
1086 * lyxlex.[Ch] (findToken): remove function.
1088 * ParagraphParameters.C (findToken):
1089 * bufferparams.C (findToken): replace call for previous function
1090 with local copy. This local function has one more argument, the
1091 read string argument.
1093 2004-08-16 José Matos <jamatos@lyx.org>
1095 * ParagraphParameters.C (write):
1096 * Spacing.C (writeFile):
1097 * bufferparams.C (writeLaTeX):
1098 * lyx_cb.C (Reconfigure):
1099 * paragraph.C (write):
1100 * tabular.C (write): remove unnecessary space at end of line.
1103 2004-08-16 José Matos <jamatos@lyx.org>
1105 * text.C (readParagraph): remove debug message.
1107 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1109 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1112 * output_plaintext.C (asciiParagraph): set depth correctly
1114 * outputparams.h: add member depth
1116 * paragraph_funcs.C (ownerPar): remove.
1118 * text2.C (setCounter): remove first_pit; comment out some
1119 non-working code that uses ownerPar
1121 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1124 2004-08-16 José Matos <jamatos@lyx.org>
1126 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1127 For the same level of importance use the same chanel to report problems.
1128 (read): add code to deal with \begin_body and \end_body.
1131 2004-08-15 José Matos <jamatos@lyx.org>
1133 * lyxlex.C (getString): fix comment, buffer::readBody is now
1134 buffer:readDocument.
1136 * tex-strings.C (string_papersize): Default -> default,
1137 Custom -> custom, for consistency with other options.
1139 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1143 * Makefile.am: support pch
1145 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1147 * text.C (readParToken): remove the static LyXFont variable and
1148 pass it as a parameter instead. This fixes a nasty bug where an
1149 inset will be inserted with a bad font in some situations
1150 (readParagraph): adapt
1152 * text2.C (setCounter): reduce number of calls to pars_[pit]
1154 * text.C (singleWidth): add an assert, fix a test
1156 * rowpainter.C (paintText): reduce number of calls to singleWidth
1158 * paragraph.C (isHfill):
1159 (isNewline): ws only
1161 2004-08-14 André Pönitz <poenitz@gmx.net>
1166 * lyxtext.h (several functions): use a Paragraph & argument
1169 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1171 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1173 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1175 * text.C (singleWidth): remove useless test
1177 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1179 * tabular.h: remove bogus comments
1181 * tabular.C (getDescentOfRow):
1182 (isPartOfMultiColumn): add assertions
1184 * lyxlength.C (inPixels): remove #warning
1186 2004-08-14 André Pönitz <poenitz@gmx.net>
1188 * paragraph.h: inline getChar()
1190 * BufferView.h: remove unused declarations
1192 2004-08-14 José Matos <jamatos@lyx.org>
1194 * Buffer.[Ch] (readDocument): new name for old readBody.
1195 * Buffer.C: new file format, new keywords: \begin_document,
1196 \begin_header, \begin_body, \end_body.
1198 * bufferparams.C (readToken): replace all calls to lex.nextToken
1199 by lex.next(). Do the same to eatLine except where really needed.
1201 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1202 line when writing to the lyx file.
1204 * output_plaintext.C (asciiParagraph): fix Bibliography style
1207 * text.C (read): fix end of file handling.
1209 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1211 * MenuBackend.C (Menu::operator[]): new method to access
1212 individual menu items
1213 (Menu::hasFunc): new method. search for an item that corresponds
1215 (MenuBackend::specialMenu): new method
1216 (MenuBackend::expand): if a special menu has been set, skip
1217 entries whose func() appears in this menu
1219 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1221 * text3.C: use Debug::DEBUG a bit more
1223 * text.C (leftMargin): try to simplify a tiny bit change var x to
1224 l_margin. Dont output the wide margins always.
1225 (rightMargin): no margin in inner texts
1227 * rowpainter.h (nestMargin): new func
1228 (changebarMargin): new func
1229 (rightMargin): new func
1231 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1235 * factory.C (createInset): modify setDrawFrame
1237 * cursor.C: use Debug::DEBUG a bit more
1239 2004-08-14 André Pönitz <poenitz@gmx.net>
1242 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1243 cache for all insets in (at least partially) visible (top-level)
1246 * BufferView_pimpl.C: reset external coord cache before every update.
1247 This means the coord cache only contains valid entries.
1249 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1252 * BufferView_pimpl.C (getInsetByCode): move function out of class
1253 and change in to a template in anon namespace. Also fix to do what
1256 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1259 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1261 (breakParagraph): rename par to par_offset and use a local
1262 reference. Add code to keep the language over a rebreak.
1263 (breakParagraphConservative): rename par to par_offset, use a
1265 (mergeParagraph): ditto
1267 (isFirstInSequence): ditto
1268 (outerFont): rename pit to par_offset
1270 * paragraph.C: ws change
1271 * paragraph.h: ditto
1275 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1277 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1280 * paragraph.C (simpleTeXOnePar): when we have a \item with
1281 optional argument, enclose the argument with curly brackets (in
1282 case it contains a closing square bracket)
1286 * text3.C (checkInsetHit): constify
1288 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1290 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1291 documents (bug 1629)
1293 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1295 Fix toggling of collapsable insets with the mouse (bug 1558)
1297 * lyxfunc.C (dispatch): adapt to LCursor changes
1299 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1300 make sure that dispatch is not invoked twice
1302 * cursor.C (needsUpdate): new method
1303 (dispatch): return void
1304 (result): new method, to access the DispatchResult of the cursor.
1306 2004-08-13 José Matos <jamatos@lyx.org>
1308 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1310 2004-08-13 André Pönitz <poenitz@gmx.net>
1312 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1314 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1317 2004-08-12 André Pönitz <poenitz@gmx.net>
1319 * text3.C: take out the 'cursor right' form insertInset and only
1320 do it in those places when it is really needed. Fixes crash on
1323 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1325 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1327 * BufferView_pimpl.C (setBuffer): initialize the current font of
1328 the underlying LyXText
1330 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1332 * kbsequence.C (print): use UI native formatting for menu
1335 * text.C (insertChar): call Paragraph::insertChar with a font
1338 * paragraph.C (insertInset, insertChar): the version that takes a
1339 LyXFont argument is now a wrapper around the other one (the
1340 opposite used to be true).
1342 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1343 argument. Font setting is done in Paragraph now.
1345 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1347 * outputparams.h: add new members intitle and lang.
1349 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1350 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1352 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1354 * text3.C (dispatch): remove special handling of button 4 and 5,
1355 it is now taken care of in the frontend code.
1357 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1359 * Spacing.h: add <string> (STLPort compile fix)
1361 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1363 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1365 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1367 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1370 * converter.C (showMessage): inherit from unary_function, make
1373 * buffer.C (writeFile): initialize retval
1375 * InsetList.h: rename private variable list to list_
1376 * InsetList.[Ch]: adjust accordingly.
1378 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1380 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1381 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1382 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1383 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1384 * ParagraphParameters.C, LaTeXFeatures.C: replace
1385 "support/std_sstream.h" with <sstream>
1387 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1389 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1390 * lyxsocket.C (LyXServerSocket): ditto
1391 (serverCallback): ditto
1393 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1395 * LaTeXFeatures.C: check release date when loading jurabib.
1397 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1399 * lyxserver.C (startPipe): call register_socket_callback
1400 (endPipe): call unregister_socket_callback
1402 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1404 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1405 (LyXServerSocket): register the callback
1406 (LyXServerSocket): unregister the callback
1407 (fd): delete function
1408 (serverCallback): improve error checking and setup the callbacks.
1409 (dataCallback): change arg to fd.
1410 (writeln): new func (copied fro the client socket) used for server
1412 (LyXDataSocket): simplify
1413 (~LyXDataSocket): close ann unregiser callback
1414 (server): delete function
1415 (fd): delete function
1416 (readln): small changes, improve some std::string usage
1417 (writeln): constify a bit
1419 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1421 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1424 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1426 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1427 after it has been populated
1429 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1431 * text2.C (insertInset): move cursor when inserting inset.
1433 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1435 * kbmap.C (findbindings): a couple of new methods. returns a
1436 container of kb_sequence objects. The real work is done by the
1437 private recursive version
1438 (printbindings): uses findbindings to print out a bracketed list
1439 of bindings (renamed from findbinding).
1441 * MenuBackend.C (binding): use kb_keymap::findbindings
1443 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1445 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1447 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1449 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1451 * paragraph.C (isWord): return true on insets that report
1454 * text.C (getWord): use Paragraph::isWord to decide what is in a
1455 word and what is not; fix bug 1609.
1457 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1459 * tex-strings.C: add "none" to string_paperpackages[], fixes
1460 off-by-one-error in the paperpackage selection.
1463 * tex-strings.[Ch]: char const * string[n]
1464 -> char const * const string[]
1466 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1468 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1469 command, return early.
1471 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1473 * debug.h: add DEBUG to enum and fix size of ANY.
1475 * debug.C: add support for Debug::DEBUG
1476 (showTags): cast errorTags.level to unsigned int
1478 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1479 (redoCurrentBuffer): ditto
1480 (updateScrollbar): ditto
1481 * cursor.C (dispatch): ditto
1482 * text2.C (setLayout): ditto
1484 (updateCounters): ditto
1486 (deleteEmptyParagraphMechanism): ditto
1488 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1490 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1491 annotations to cleanup the Makefile slightly.
1493 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1495 * lyxrc.C: do not set user_email to a default value but use empty
1496 instead. The entry used to be translated, which does not work
1497 since at the point where lyxrc is constructed there is no
1498 translation service available
1500 * messages.C (getLocaleDir): remove and use directly
1501 lyx_localedir() instead
1503 2004-06-02 Angus Leeming <leeming@lyx.org>
1505 Fix crash caused by dereferencing null pointer 'exportdata' in
1506 OutputParams by creating a new ExportData variable on the heap,
1507 storing it in a boost::shared_ptr.
1508 The crash was triggered when generating an Instant Preview
1509 of an external inset.
1511 * Makefile.am: add outputparams.C
1513 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1514 (c-tor): allocate memory to it.
1516 * exporter.C (c-tor): associated changes.
1518 2004-06-01 Angus Leeming <leeming@lyx.org>
1520 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1521 contains data before calling isInset(0). (Bug 1513.)
1523 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1525 * exporter.C (checkOverwrite): new method
1526 * exporter.C (copyFile): new method
1527 * exporter.C (Export): copy referenced files to the document dir
1528 * exporter.[Ch]: new class ExportedFile
1529 * exporter.[Ch]: new class ExportData. Contains currently the
1530 names of referenced external files
1531 * outputparams.h: add exportdata member.
1533 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1535 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1538 2004-05-19 Angus Leeming <leeming@lyx.org>
1543 * lyxfunc.C: small changes due to the introduction of namespace
1544 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1546 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1548 * text3.C (dispatch): supress update when only moving the cursor
1549 * cursor.C (selHandle): remove commented code
1551 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1553 * paragraph.C (startTeXParParams): correct column count
1554 * CutAndPaste.C (pasteSelection): remove const_cast
1555 * output_docbook.C (docbookParagraphs): remove const_cast
1556 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1557 const_cast and return ParagraphList::const_iterator
1558 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1559 * output_plaintext.C (writeFileAscii): remove const_cast
1560 * paragraph.[Ch] (simpleTeXOnePar): make const
1561 * paragraph_funcs.C (outerPar): use const iterators
1562 * paragraph_pimpl.C (validate): use const iterators
1563 * text.C (setHeightOfRow): use const iterators
1565 2004-05-17 Angus Leeming <leeming@lyx.org>
1568 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1570 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1571 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1572 if the citation engine has changed.
1574 2004-05-14 José Matos <jamatos@lyx.org>
1576 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1577 if the textclass does not provide it. Have it different for sgml and
1579 support the language of document.
1580 * output_docbook.C (docbookParagraphs):
1581 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1582 first anchor as the id of the paragraph, remove special case code.
1583 * sgml.C (escapeChar): escape only < & >.
1585 2004-05-14 Angus Leeming <leeming@lyx.org>
1587 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1588 dependencies on src/frontends/controllers/biblio.h. Define a
1589 CiteEngine_enum wrapper class to enable the enum to be forward
1592 2004-05-12 Angus Leeming <leeming@lyx.org>
1594 * buffer.C: up LYX_FORMAT to 234.
1595 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1596 use_numerical_citations with a single biblio::CiteEngine cite_engine
1598 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1600 2004-05-13 José Matos <jamatos@lyx.org>
1603 * converter.C (Converter, readFlags): add xml member.
1604 * outputparams.h: add XML flavor.
1605 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1607 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1609 * lyxfunc.C (dispatch):
1610 (getStatus): fix handling of LFUN_SEQUENCE
1612 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1614 * debug.C (showLevel): do not forget the end-of-line marker
1616 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1618 * kbmap.C (read): do not stop parsing a bind file when an error
1621 2004-04-29 Angus Leeming <leeming@lyx.org>
1626 * text2.C: wrap a bunch of #warning statements
1627 inside #ifdef WITH_WARNINGS blocks.
1629 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1631 * buffer.C: increment format to 233.
1633 2004-04-28 Angus Leeming <leeming@lyx.org>
1635 * BufferView_pimpl.C:
1638 s/updateToolbar()/updateToolbars()/
1639 s/Toolbar.h/Toolbars.h/
1641 2004-04-28 Angus Leeming <leeming@lyx.org>
1643 * BufferView.[Ch] (c-tor):
1644 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1645 No longer passes these data to the WorkArea generator.
1647 2004-04-28 Angus Leeming <leeming@lyx.org>
1649 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1651 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1653 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1655 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1657 * output_latex.C (TeXEnvironment): make sure that there is a line
1658 break before \end{foo} for the last paragraph of a document
1659 (TeXOnePar): if the paragraph is at the end of the document (or
1660 inset) and the language has to be reset, then make sure that the
1661 line break is _before_ the language command, not after (fixes bug
1662 1225); also make sure that the language reset command is the first
1663 thing after the paragraph (to ensure proper nesting of
1664 environments and thus fix bug 1404)
1666 2004-04-21 John Levon <levon@movementarian.org>
1669 * ToolbarBackend.C: make "name" be a programmatic name
1670 and a gui_name field.
1672 * lyxfunc.C: display the minibuffer on M-x
1674 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1676 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1679 2004-04-19 Angus Leeming <leeming@lyx.org>
1681 * BufferView_pimpl.C (setBuffer): changed preview interface.
1683 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1686 2004-04-19 John Levon <levon@movementarian.org>
1688 * BufferView_pimpl.C:
1689 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1691 2004-04-05 Angus Leeming <leeming@lyx.org>
1693 * text.C (redoParagraphs): add call to updateCounters(), thereby
1694 fixing the missing "Figure #:" label from the caption of a
1697 2004-04-13 Angus Leeming <leeming@lyx.org>
1699 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1700 cursor is clicked out of an inset.
1702 2004-04-13 Angus Leeming <leeming@lyx.org>
1704 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1705 than an InsetOld one.
1707 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1709 * format.[Ch]: add editor to Format
1710 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1711 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1713 2004-04-08 André Pönitz <poenitz@gmx.net>
1715 * metricsinfo.h: remove PainterInfo::width member
1717 2004-04-08 Angus Leeming <leeming@lyx.org>
1719 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1720 "\providecommand" rather than "\newcommand", thereby preventing
1721 clashes with packages that define "\boldsymbol" themselves.
1724 2004-04-08 Angus Leeming <leeming@lyx.org>
1726 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1727 thereby squashing an unnecessary warning.
1729 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1731 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1734 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1736 * BufferView.C (setCursor): call redoParagraph (some insets could
1738 (putSelectionAt): remove the 'double update' trick
1740 * BufferView_pimpl.C (fitCursor): call refreshPar
1741 (workAreaDispatch): remove an uneeded update call
1742 (dispatch): remove some manual update calls
1744 * cursor.[Ch]: remove cached_y_, updatePos
1745 (selHandle): set noUpdate when appropriate
1747 * lyxfunc.C (dispatch): track if we need an update
1749 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1751 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1752 (paintSelection): cheap optimization, do not call cursorX when not
1754 (paintPars): change signature
1757 (paintTextInset): adjust
1761 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1763 * lengthcommon.C: compilation fix: remove explicit array size from
1764 unit_name[] and friends
1766 2004-04-05 Angus Leeming <leeming@lyx.org>
1768 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1770 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1771 present only for the preferences dialog.
1772 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1774 2004-04-05 Angus Leeming <leeming@lyx.org>
1776 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1777 to enable the frontends to export changes to lyxrc correctly.
1779 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1781 2004-04-07 André Pönitz <poenitz@gmx.net>
1783 * cursor.[Ch] (selClear, adjust): remove math
1785 * cursor_slice.C: more agressive assert
1788 * BufferView_pimpl.C: rework mouse event dispatch
1795 2004-04-05 André Pönitz <poenitz@gmx.net>
1797 * cursor.[Ch] (valign, halign...): remove unneeded functions
1799 2004-04-05 Angus Leeming <leeming@lyx.org>
1801 * lyxlength.[Ch] (unit_name et al.): const-correct.
1803 2004-04-05 Angus Leeming <leeming@lyx.org>
1805 * BufferView_pimpl.C:
1814 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1816 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1818 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1820 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1822 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1823 * BufferView_pimpl.[Ch] (getStatus)
1824 * BufferView.[Ch] (getStatus): add
1825 * lyxfunc.C (getStatus): move lfuns handled in
1826 BufferView::dispatch to te function above
1827 * Cursor.C (setSelection): set selection() = true
1829 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1831 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1833 2004-03-31 Angus Leeming <leeming@lyx.org>
1835 * lyxfunc.C (dispatch): Fall through to the generic
1836 Dialogs::show("preamble").
1838 2004-03-31 Angus Leeming <leeming@lyx.org>
1840 * lyxfunc.C (dispatch): Fall through to the generic
1841 Dialogs::show("spellchecker").
1843 2004-03-31 Angus Leeming <leeming@lyx.org>
1845 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1848 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1853 * insetiterator.[Ch]:
1858 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1860 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1862 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1863 insets where we are putting the cursor.
1865 2004-03-31 Angus Leeming <leeming@lyx.org>
1868 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1870 * lyxrc.[Ch] (read, write): overloaded member functions taking
1871 a std::[io]stream arguments.
1873 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1875 2004-03-31 Angus Leeming <leeming@lyx.org>
1877 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1878 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1880 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1881 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1883 2004-03-31 Angus Leeming <leeming@lyx.org>
1885 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1886 the LFUN_ALL_INSETS_TOGGLE code.
1888 2004-03-30 Angus Leeming <leeming@lyx.org>
1890 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1891 has died. Fall through to the generic Dialogs::show("document").
1893 2004-03-30 Angus Leeming <leeming@lyx.org>
1896 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1897 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1899 * lyxfunc.C (getStatus, dispatch): define the actions for these
1900 lfuns. Little more than a cut and pste job from ControlDocument.C
1902 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1904 2004-03-30 Angus Leeming <leeming@lyx.org>
1907 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1908 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1910 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1911 open/closed state of ollapsable insets. Usage:
1913 all-inset-toggle <state> <name>, where
1914 <state> == "open" || "closed" || "toggle" and
1915 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1917 * lyxtext.h, text2.C (toggleInset): removed.
1919 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1920 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1921 now passes LFUN_INSET_TOGGLE to the found inset.
1923 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1924 is now invoked as "all-insets-toggle toggle branch".
1926 2004-03-30 Angus Leeming <leeming@lyx.org>
1930 * pariterator.[Ch]: added/corrected header blurb.
1932 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1934 * dociterator.[Ch]: add an inset_ member
1935 (backwardPos): implemented
1936 (backwardPos, forwardPos): use inset_ when the stack is empty.
1937 (doc_iterator_begin, doc_iterator_end): implemented
1938 * pariterator.[Ch]: adjust, add begin, end
1939 * insetiterator.[Ch]: adjust, add begin, end
1943 * BufferView_pimpl.C:
1944 * CutAndPaste.C: adjust
1946 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1948 * buffer.C: increment file format to 232.
1949 * LaTeXFeatures.C: add bibtopic package.
1950 * bufferparams.[Ch]: param \use_bibtopic.
1952 * lyxrc.[Ch]: add lyxrc bibtex_command
1953 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1955 * buffer.C: increment file format to 231.
1957 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1959 * dociterator.C: implement forwardPar
1960 * iterators.[Ch]: remove, replaced by
1961 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1963 * BufferView_pimpl.C:
1966 * bufferview_funcs.C:
1972 * Makefile.am: adjust
1974 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1976 * CutAndPaste.C (pasteSelection): fix 2 crashes
1977 (eraseSelection): fix a crash
1978 * paragraph_funcs.C: remove a warning
1980 2004-03-28 Angus Leeming <leeming@lyx.org>
1983 * LyXAction.C (init): new LFUN_PRINT.
1985 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1987 2004-03-27 Angus Leeming <leeming@lyx.org>
1990 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1992 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1994 2004-03-27 Angus Leeming <leeming@lyx.org>
1996 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1997 insetlist always contains non-null pointers to insets.
1999 2004-03-26 Angus Leeming <leeming@lyx.org>
2001 * src/BufferView_pimpl.C:
2002 * src/CutAndPaste.C:
2005 * src/output_plaintext.C:
2006 * src/outputparams.h:
2007 * src/paragraph_funcs.C:
2011 * src/frontends/controllers/ControlErrorList.C:
2012 * src/frontends/gtk/FileDialogPrivate.C:
2013 * src/frontends/gtk/GPainter.C:
2014 * src/frontends/gtk/GToolbar.C:
2015 * src/frontends/qt2/QRef.C:
2016 * src/mathed/math_scriptinset.C: squash compiler warnings.
2018 2004-03-26 Angus Leeming <leeming@lyx.org>
2020 * ispell.C (LaunchIspell::start):
2021 * lyx_cb.C (AutoSaveBuffer::start):
2022 invoke run(DontWait) rather than runNonBlocking().
2024 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2026 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2028 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2030 * kbsequence.C (print): adjust
2032 * kbmap.C (printKeySym): rename and change signature
2033 (printKey): use LyXKeySym::print()
2035 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2037 * undo.C: add using std::advance to compile for stlport
2039 2004-03-24 Angus Leeming <leeming@lyx.org>
2041 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2042 it leads to a crash when no buffer is present.
2044 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2045 Martin Vermeer <martin.vermeer@hut.fi>
2047 * lyxfunc.C (dispatch):
2048 * bufferparams.C (readToken): use the new LColor::setColor
2050 * LColor.[Ch] (setColor): new version that takes two strings as
2051 argument and creates a new color entry if necessary
2053 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2055 * buffer.C (makeLaTeXFile): if the main latex file that is
2056 processed is usually a subdocument of some master, then pretend
2057 for a while that it is actually the master
2059 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2061 * buffer.C (getLabelList):
2062 (getBibkeyList): use getMasterBuffer()
2063 (getMasterBuffer): new method. Returns the main document in the
2064 case where one is using included documents.
2066 2004-03-25 André Pönitz <poenitz@gmx.net>
2070 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2072 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2074 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2075 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2077 * ParameterStruct.h: merge with ParagraphParameters
2079 * lyxtext.h: remove LyXText::parOffset() and getPar()
2081 * text3.C: Remove all 'manual' update calls. We do now one per user
2082 interaction which is completely sufficient.
2086 * BufferView_pimpl.C:
2087 * FontIterator.[Ch]:
2089 * ParagraphParameters.[Ch]:
2094 * cursor_slice.[Ch]:
2101 * output_docbook.[Ch]:
2102 * output_latex.[Ch]:
2103 * output_linuxdoc.[Ch]:
2104 * output_plaintext.[Ch]:
2106 * paragraph_funcs.[Ch]:
2107 * paragraph_pimpl.[Ch]:
2115 * frontends/controllers/ControlDocument.C:
2116 * frontends/controllers/ControlErrorList.C:
2117 * frontends/controllers/ControlSpellchecker.C:
2120 * insets/insetbase.h:
2121 * insets/insetbibitem.C:
2122 * insets/insetbox.C:
2123 * insets/insetbranch.C:
2124 * insets/insetcaption.C:
2125 * insets/insetcharstyle.C:
2126 * insets/insetcharstyle.h:
2127 * insets/insetcollapsable.C:
2128 * insets/insetcollapsable.h:
2129 * insets/insetert.C:
2130 * insets/insetfloat.C:
2131 * insets/insetfoot.C:
2132 * insets/insetmarginal.C:
2133 * insets/insetnote.C:
2134 * insets/insetoptarg.C:
2135 * insets/insettabular.C:
2136 * insets/insettext.C:
2137 * insets/insettext.h:
2138 * insets/insetwrap.C:
2139 * mathed/math_mboxinset.C:
2140 * mathed/math_nestinset.C:
2141 * mathed/math_scriptinset.C:
2142 * mathed/math_scriptinset.h:
2145 2004-03-24 Angus Leeming <leeming@lyx.org>
2147 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2148 deal with any child processes that have finished but are waiting to
2149 communicate this fact to the rest of LyX.
2151 2004-03-24 Angus Leeming <leeming@lyx.org>
2153 64-bit compile fixes.
2155 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2156 (c-tor): pass lyx::pos_types rather than ints.
2158 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2161 * text.C (Delete): compile fix.
2162 (getPar): ensure that function declaration is the same as that in
2165 2004-03-23 Angus Leeming <leeming@lyx.org>
2167 * ispell.C (LaunchIspell):
2168 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2169 a boost::shred_ptr rather than a std::auto_ptr.
2171 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2173 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2174 handle LFUN_FILE_INSERT_*
2176 * lyxrc.C (setDefaults, getDescription, output, read):
2177 * lyxrc.h: remove ps_command
2179 2004-03-22 Angus Leeming <leeming@lyx.org>
2181 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2182 Ensure that error_handler is processed once only and that all data
2183 is saved before attempting to output any warning messages.
2185 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2187 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2189 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2191 2004-03-19 André Pönitz <poenitz@gmx.net>
2193 * cursor.[Ch] (reset): take main text inset as argument
2195 * BufferView: adjust
2196 * BufferView_pimpl.C: adjust
2198 * paragraph.[Ch]: fix completely broken operator=()
2200 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2202 * LColor.C (getFromLyXName): make sure that the color name is used
2205 2004-03-17 Angus Leeming <leeming@lyx.org>
2208 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2210 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2211 dialog and to kill a forked process.
2213 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2215 * text2.C (setCursorFromCoordinates): fix font problem
2217 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2219 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2220 bogus "rebuild cursor" code
2222 2004-03-11 André Pönitz <poenitz@gmx.net>
2224 * buffer.[Ch]: use InsetText instead of LyXText as container for
2227 * dociterator.[Ch]: drop the BufferView * member which is not needed
2228 anymore after the change to buffer.C
2230 * paragraph_funcs.C:
2234 * BufferView_pimpl.[Ch]:
2236 * cursor_slice.[Ch]: adjust
2238 * text3.C: fix bug in mathDispatch
2240 2004-03-08 André Pönitz <poenitz@gmx.net>
2242 * undo.[Ch]: use 'StableDocumentIterator' as base for
2245 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2248 * bufferparams.[Ch]: add jurabib support and param.
2250 * LaTeX.C: add FIXME/comment.
2252 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2254 * buffer.C: increment file format to 230.
2256 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2258 * cursor.C (dispatch): avoid infinite loops
2260 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2262 * rowpainter.C (paintSelection): fix x coordinates
2264 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2266 * text.C (rowBreakPoint): fix breaking before displayed insets
2268 2004-03-01 André Pönitz <poenitz@gmx.net>
2270 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2272 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2276 * BufferView_pimpl.C:
2284 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2290 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2291 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2293 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2295 * Bidi.[Ch] (computeTables): const correctness
2296 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2297 fill_hfill, fill_label_hfill and x from Row
2298 * lyxtext.h: prepareToPrint returns a RowMetrics
2299 * rowPainter.C: adjust
2300 * text.C (prepareToPrint): use width, not textWidth. adjust
2301 (redoParagraphInternal, cursorX): adjust
2302 * text2.C (getColumnNearX): adjust
2303 (init): put a default value to the top LyXText::width
2305 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2307 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2309 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2311 * lyxtext.h: add FontIterator class
2313 * text.C (FontIterator, operator*, operator->, operator++): add
2314 (rowBreakPoint, setRowWidth): adjust (fixing a
2317 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2319 * BufferView_pimpl.C (workAreaDispatch): allow also
2320 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2322 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2324 * text.C (rowBreakPoint): fix a bug showing with very large insets
2326 2004-02-25 André Pönitz <poenitz@gmx.net>
2329 * cursor.[Ch]: move some mathed specific code to mathed
2331 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2333 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2334 use_tempdir in preferences
2335 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2337 * lyx_main.C: ensure that tempdir is valid
2338 * lyxlex.h: correct typo
2339 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2340 * paragraph.[Ch] (isMultiLingual): make const
2341 * cursor.[Ch] (openable): make const
2343 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2345 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2347 2004-02-20 André Pönitz <poenitz@gmx.net>
2349 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2351 * cursor.[Ch]: prepare for localized getStatus()
2357 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2359 2004-02-20 André Pönitz <poenitz@gmx.net>
2361 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2363 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2365 * text2.C (setCursorFromCoordinates): switch to absolute coords
2367 (cursorDown): adjust
2368 * text3.C (dispatch): adjust
2370 2004-02-16 André Pönitz <poenitz@gmx.net>
2372 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2375 * cursor_slice.[Ch]: remove unneeded acessor function
2377 * lyxtext.h: rename rtl() to isRTL()
2385 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2387 * rowpainter.C (paintSelection): coord fix
2389 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2391 * Spacing.C: compile fix
2393 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2395 * cursor.C (dispatch): restore current_ before returning
2397 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2399 * text2.C (cursorUp, cursorDown): fix coords
2402 2004-02-12 André Pönitz <poenitz@gmx.net>
2407 * text3.C: add LCursor & parameter to most cursor movement functions
2408 remove usage of LyXText::cursorRow() and cursorPar()
2410 * cursor.[Ch]: add textRow() needed members
2413 * BufferView_pimpl.C:
2416 * BufferView_pimpl.C: adjust
2418 2004-02-11 André Pönitz <poenitz@gmx.net>
2422 * BufferView_pimpl.C: shift undo/redo handling
2424 * cursor.[Ch]: fix mathed crash
2427 * lyxtext.h: move selectionAsText to LCursor
2435 * rowpainter.C: fix excessive drawing
2437 2004-02-06 André Pönitz <poenitz@gmx.net>
2440 * BufferView_pimpl.[Ch]:
2441 * text3.C: move some text specific LFUN handling
2443 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2445 * text3.C (checkInsetHit): adjust coords
2446 * text2.C (getColumnNearX): adjust coords
2447 (edit): adjust coords
2448 * text.C (getRowNearY): add two asserts
2450 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2453 * format.C: add using std::distance to compile on gcc 2.95/stlport
2455 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2457 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2459 2004-02-04 André Pönitz <poenitz@gmx.net>
2461 * BufferView.[Ch] (insertInset):
2462 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2467 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2469 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2470 on the default clause of the switch
2471 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2472 wasn't catched by LCursor::dispatch
2474 2004-02-03 André Pönitz <poenitz@gmx.net>
2477 * cursor.[Ch]: some additional asserts
2479 * undo.[Ch]: remove LyXText dependency in interface
2483 * lyxtext.h (firstPar, lastPar): remove dead functions
2488 * paragraph.[Ch]: adjust
2490 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2492 * lyxfind.C (find): fix argument order in call to ::find
2494 2004-02-02 André Pönitz <poenitz@gmx.net>
2496 * cursor.[Ch]: remove direct access to anchor
2498 * text.C: remove findText() hack
2500 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2502 * iterators.[Ch] (lockPath): remove in favour of...
2503 * BufferView.[Ch] (setCursor): this addition
2504 * BufferView.C (putSelectionAt): adjust
2505 * undo.C (performUndoOrRedo): adjust
2506 * lyxfunc.C (dispatch): adjust
2508 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2510 * iterators.C (lockPath): add a missing slice
2511 * undo.C (performUndoOrRedo): remove redundant positioning code
2513 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2515 * vc-backend.C (scanMaster): ";" -> ';'
2517 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2519 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2520 std::binary_function
2522 * lyxtextclass.C (compare_name): rename to...
2523 (LayoutNamesEqual): ...this
2525 * lyxlex_pimpl.C (compare_tags): inherit from
2526 std::binary_function, put back into anon namespace
2528 * lyxfind.C (MatchString): inherig from std::binary_function
2529 (findChange): use empty() istead of !size()
2531 * format.C (FormatNamesEqual): new functor
2538 * converter.C (compare_Converter): rename to...
2539 (ConverterEqual): ...this, and fixup a bit.
2540 (getConverter): use it, and make function const
2541 (getNumber): use it, and make function const
2545 * bufferlist.C: add using boost::bind
2547 * MenuBackend.C (MenuNamesEqual): new functor
2548 (hasMenu): use it, and make function const
2549 (hasSubmenu): use nested bind to get rid of compare_memfun.
2551 2004-01-30 André Pönitz <poenitz@gmx.net>
2553 * BufferView_pimpl.C:
2556 * cursor_slice.[Ch]:
2559 * paragraph_funcs.C:
2560 * paragraph_funcs.h:
2564 * text3.C: move some of the edit(x,y) handling to the insets
2565 some coordinate changes.
2567 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2569 * text.C: add using statements for std::advance and std::distance
2571 * paragraph.C: add using statement for std::distance
2573 * lyxfind.C: add using statement for std::advance
2575 * cursor.C (region): remove std:: from swap
2576 (openable): use nucleus in stead of operator->
2578 * BufferView.C: add using statements for std::distance and std::swap
2580 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2582 * iterators.C: Remove the pimple, move the needed structures to
2583 the header file. Create accessor for the positions stack.
2584 (asPosIterator): remove function
2586 * PosIterator.C (PosIterator): move constructors to top of file
2587 (PosIterator): reimplement the constructor taking a ParIterator in
2589 (setFrom): new function
2590 (operator!=): inline it
2592 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2594 * lyxfind.C (replaceAll): use std::advance
2596 * iterators.h: inherit from std::iterator.
2598 * PosIterator.C (advance, distance): remove
2599 * PosIterator.h: interit from std::iterator.
2601 2004-01-26 André Pönitz <poenitz@gmx.net>
2604 * BufferView_pimpl.[Ch]:
2608 * bufferview_funcs.C:
2618 * output_linuxdoc.C:
2619 * output_plaintext.C:
2621 * paragraph_funcs.[Ch]:
2622 * paragraph_pimpl.[Ch]:
2628 * text3.C: more IU: dumps most of the rest of the mathcursor
2629 implementation into cursor.[Ch]; "globalize" a bit of it.
2631 2004-01-25 Angus Leeming <leeming@lyx.org>
2633 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2635 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2637 * LaTeXFeatures.h: add nice_ and nice() const
2638 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2640 2004-01-20 André Pönitz <poenitz@gmx.net>
2643 * BufferView_pimpl.C:
2645 * bufferview_funcs.C:
2647 * cursor_slice.[Ch]:
2658 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2659 LCursor and mathcursor parts to LCursor and InsetBase.
2661 2004-01-15 André Pönitz <poenitz@gmx.net>
2663 * cursor_slice.[Ch]: add a few covienience functions
2665 * funcrequest.[Ch]: remove BufferView * member
2667 * BufferView_pimpl.C:
2674 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2676 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2678 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2679 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2681 2004-01-13 André Pönitz <poenitz@gmx.net>
2684 * lyxtext.h: hide cursor and selection anchor behind accessor function
2687 * BufferView_pimpl.[Ch]:
2689 * bufferview_funcs.C:
2699 * cursor_slice.[Ch]: some integer type changes for inset unification
2701 * lyxcursor.[hC]: remove, it's CursorSlice now.
2704 * BufferView_pimpl.[Ch]:
2705 * bufferview_funcs.C:
2711 * textcursor.[Ch]: adjust
2713 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2715 * text2.C (undoSpan): add and use
2716 * text.C (breakParagraph): use undoSpan (fix bug 578)
2719 2004-01-08 Angus Leeming <leeming@lyx.org>
2721 * BufferView_pimpl.C (MenuInsertLyXFile):
2722 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2723 * lyxfunc.C (menuNew, open, doImport):
2724 FileFilterList change to the FileDialog open and save functions.
2726 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2728 * ShareContainer.h: make isEqual and isUnique adaptable
2730 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2732 2004-01-07 Angus Leeming <leeming@lyx.org>
2735 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2737 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2739 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2740 functions replacing find, replace and replaceAll.
2742 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2743 LFUN_WORDFIND(FORWARD|BACKWARD).
2745 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2747 * text.C (breakParagraph): remove an outdated #warning
2749 2004-01-07 André Pönitz <poenitz@gmx.net>
2751 * lyxfind.C: somewhat clearer logic
2753 * text.C: prevent crash in cursorX on unitialized row cache
2755 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2757 * lyxcursor.[Ch] (operator>): add
2758 * textcursor.C (selStart, selEnd): use std::min and std::max
2760 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2762 * Chktex.C: include boost/format.hpp
2764 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2766 * InsetList.C: replace functor MathcIt with adaptable functor
2768 (insetIterator): modify accordingly
2770 * BranchList.h: move the BranchNamesEqual functor here from...
2771 * BranchList.C: ... to here
2773 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2775 (add): replace a finding loop with std::find_if.
2777 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2779 * output_docbook.C: moving LatexParam functionality into
2782 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2784 * buffer.C: increment format to 229.
2786 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2789 * lyx_sty.[Ch]: remove minipageindent_def
2795 * text3.C: remove LFUN_INSET_MINIPAGE
2797 2003-12-28 Angus Leeming <leeming@lyx.org>
2799 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2801 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2803 * text2.C (setParagraph): fix off-by-one crash
2805 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2807 * output_docbook.C: header stuff for AGU
2809 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2811 * text2.C (redoCursor): remove
2814 * BufferView_pimpl.C: remove calls to redoCursor and
2815 setCursor(cursor.par(), cursor.pos()) all around
2817 2003-12-15 Angus Leeming <leeming@lyx.org>
2819 * buffer.C: up the format to 228.
2821 2003-12-15 André Pönitz <poenitz@gmx.net>
2823 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2828 * BufferView_pimpl.C:
2837 2003-12-15 Angus Leeming <leeming@lyx.org>
2839 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2840 than getFromGUIName to manipulate the color.
2842 2003-12-14 Angus Leeming <leeming@lyx.org>
2844 * BranchList.[Ch]: minimize the API.
2845 (Branch::getBranch, getColor): now return a 'const &'.
2846 (Branch::setSelected) now returns a bool set to true if the
2847 selection status changes.
2848 (BranchList::clear, size, getColor, setColor, setSelected,
2849 allBranches, allSelected, separator): removed.
2850 (BranchList::find): new functions, returning the Branch with
2852 (BranchList::add, remove): return a bool indicating that
2853 the operation was successful.
2855 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2856 new InsetBranch::isBranchSlected member function.
2858 * LColor.[Ch]: mimimize the API.
2859 (fill): renamed as addColor and made private.
2860 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2861 versions of these functions taking a string arg have been removed.
2863 * bufferparams.C (readToken):
2864 * lyxfunc.C (dispatch):
2865 * lyxrc.C (read): changes due to the altered BranchList and
2868 * factory.C (createInset, readInset): changes due to altered
2871 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2874 * lyxfunc.C: remove insetminipage. "minipage-insert"
2875 now produces a frameless minipage box inset.
2877 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2879 * textcursor.[Ch] (selStart,selEnd): add new methods
2880 remove selection::start, end, use LyXCursor::operator<
2881 * lyxcursor.[Ch] (operator<): add
2882 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2883 * BufferView.[Ch] (unsetXSel): add
2884 * text2.C (clearSelection): use unsetXSel,adjust
2887 * rowpainter.C: adjust
2888 * bufferview_funcs.C (put_selection_at): adjust
2890 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2892 * BufferView_pimpl.C: small coord. correction
2894 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2896 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2897 dragging over the splash screen.
2899 2003-12-11 Angus Leeming <leeming@lyx.org>
2901 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2902 as it is now handled in LyXText::dispatch.
2904 * text3.C (doInsertInset): remove a level of nesting.
2906 2003-12-11 Angus Leeming <leeming@lyx.org>
2908 * factory.C (createInset): changes due to the changed interface to
2909 InsetCommandMailer::string2params.
2911 2003-12-10 Angus Leeming <leeming@lyx.org>
2913 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2914 'dialog-show-new-inset <inset name>'
2916 2003-12-10 Angus Leeming <leeming@lyx.org>
2918 * buffer.C: up the format to 227.
2920 * factory.C: the box inset is now identified simply by 'Box'.
2922 2003-12-10 Angus Leeming <leeming@lyx.org>
2924 * buffer.C: up the format to 226.
2926 * factory.C: the note inset is now identified simply by 'Note'.
2928 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2930 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2931 when a pit is enough. Standarize a couple of loops.
2933 2003-12-05 Angus Leeming <leeming@lyx.org>
2935 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2936 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2937 data to the re-worked "log" dialog.
2939 2003-12-03 André Pönitz <poenitz@gmx.net>
2945 * paragraph_funcs.C:
2947 * text2.C: use Inset::getText instead of Inset::getParagraph
2949 2003-12-03 André Pönitz <poenitz@gmx.net>
2953 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2954 InsetText::read() as LyXText::read()
2956 2003-12-02 Angus Leeming <leeming@lyx.org>
2958 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2959 type. Add a comment in the implementation that the function uses
2960 the stream's bad() function rather than fail() as the std::streams
2963 2003-12-02 André Pönitz <poenitz@gmx.net>
2965 * lyxlex.[Ch]: make interface more similar to std::stream
2967 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2969 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2971 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2973 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2975 * vspace.[Ch]: remove VSpace::NONE
2977 2003-12-01 André Pönitz <poenitz@gmx.net>
2980 * lyxtext.h: move ParagraphList member to LyXText
2981 rename LyXText::ownerParagraphs to LyXText::paragraph
2984 * bufferview_funcs.C:
2994 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2996 * undo.C: fix cursor positioning
2998 2003-12-01 John Levon <levon@movementarian.org>
3000 * BufferView_pimpl.C: fix a crash on exit with
3003 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3005 * BranchList.C: fix setSelected() method.
3007 2003-11-28 André Pönitz <poenitz@gmx.net>
3009 * ParagraphParameters.[Ch]:
3010 * ParameterStruct.h: remove space above/below from Paragraph to
3013 * BufferView_pimpl.C:
3019 * paragraph_funcs.C:
3025 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3027 * factory.C: Syntax change for CharStyles
3029 2003-11-28 André Pönitz <poenitz@gmx.net>
3034 * buffer.[Ch]: move LyXText member
3036 2003-11-28 André Pönitz <poenitz@gmx.net>
3038 * BufferView.[Ch]: make LyXText * text a private member
3040 * BufferView_pimpl.C:
3051 * output_plaintext.C: cleanup
3053 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3056 * lyxtextclass.[Ch]: parametrize SGML document header
3058 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3061 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3064 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3066 * text2.C (setFont): rework using PosIterator (no more recursive)
3067 (setCharFont): no more needed
3068 (setLayout): no more selection cursors fiddling (done by redoCursor)
3069 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3070 destroy remaining ones)
3072 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3074 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3076 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3079 * text3.C: adjust + re-allow multi par depth changes
3080 * textcursor.C: simplify a bit
3082 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3088 * src/output_docbook.C:
3089 * src/output_latex.C:
3094 * src/text2.C: Introducing a number of tags parametrizing various
3095 XML formats that we may want to support
3097 2003-11-25 André Pönitz <poenitz@gmx.net>
3099 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3101 * lyxtext.h (leftMargin/rightMargin): simplify interface
3108 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3110 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3111 master file to any child files. Fixes bug 546.
3113 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3115 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3117 2003-11-24 André Pönitz <poenitz@gmx.net>
3119 * rowpainter.C: simplification
3121 * text2.C (updateCounters): remove call to redoParagraph on
3122 changed labels as this is far too expensive.
3124 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3126 * converter.C (convert): fix a crash: this function gets
3127 called with buffer == 0 from importer code.
3129 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3131 * text3.C (cursorPrevious): make sure that we do not compare
3132 iterators form different containers.
3135 * rowpainter.C (paintSelection): make sure that we do not compare
3136 iterators from different containers.
3138 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3139 iterators from different ParagraphList containers.
3142 * text2.C (LyXText): change order of initialization slightly
3143 (operator=): new function. copy all variables except cache_par_
3144 (moveUp): make sure that we do not compare iterators from
3145 different ParagraphList constainers.
3148 * text.C (firstPar): new function
3149 (lastPar): new function
3150 (endPar): new function
3152 * lyxtext.h: move things around and group public functions, public
3153 variables, private functions, private variables
3155 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3157 * factory.C: change call to InsetERT constructor to avoid
3158 additional invocation of method status
3159 * text2.C (toggleInset): remove redundant update() call
3160 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3161 instead of a Bufferview pointer
3163 2003-11-21 André Pönitz <poenitz@gmx.net>
3165 * rowpainter.C: simplification
3167 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3169 * text3.C (dispatch): make possible to extend a word/row selection
3172 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3174 * lyxtext.h: x0_,y0_ -> xo_,yo_
3175 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3176 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3177 * rowpainter.C (paintRows): paint full paragraphs
3179 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3181 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3184 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3186 * lyxtext.h: add x0_, y0_
3187 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3188 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3190 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3192 * text2.C (setCursorIntern): move the x_target update here *
3193 * text3.C: change some bv() to true/false in calls to
3194 cursorUp/Down/Right/Left
3195 * cursor.C: use helper function.
3197 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3199 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3200 * paragraph_funcs.[Ch]: correct comment
3201 * rowpainter.C: do not paint selections away from bv->cursor()
3202 Fix a long standing selection painting bug.
3203 * text3.C: generalize mouse-selection code to LyXTexts other that
3205 * textcursor.C: do not use y coords if we can use par offsets
3207 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3209 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3210 cursor position after e.g. inset insert)
3212 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3214 * lyxfind.C (replace): adjust to locking removal + some
3217 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3219 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3222 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3225 * output_docbook.C: XML sanitation: new layout
3226 parameters InnerTag and CommandDepth
3228 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3230 * BufferView_pimpl.C:
3232 * text3.C: Fix the insertion and modification of button-style
3235 2003-11-13 André Pönitz <poenitz@gmx.net>
3237 * InsetList.[Ch]: remove deleteLyXText
3239 * paragraph.[Ch]: cache beginOfBody position
3244 * text3.C: remove superfluous update() calls
3248 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3250 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3251 * BufferView.C (fitLockedInsetCursor): remove
3252 * cursor.[Ch] (getDim): add
3253 * text.C (getRowNearY): add faster version
3254 * text3.C: remove some update calls
3256 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3268 * text3.C: The Character Style /XML short element patch.
3270 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3273 * factory.C: Small step to solving 'unable to insert some insets'
3276 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3278 * cursor.[Ch] (updatePos): new function for updating the y
3279 position of the tip inset
3280 * bufferview_funcs.C (put_selection_at):
3281 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3283 2003-11-11 André Pönitz <poenitz@gmx.net>
3285 * text.C: remove big comment on invalid Paragraph pointers as it is
3288 2003-11-11 André Pönitz <poenitz@gmx.net>
3290 * text_funcs.[Ch]: merge with ...
3298 * Makefile.am: remove text_funcs.[Ch]
3300 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3302 * cursor.C (getPos): return absolute cached y coord
3304 * BufferView_pimpl.C (fitCursor): new simplistic code
3305 (workAreaDispatch): add a fitCursor call
3307 2003-11-10 André Pönitz <poenitz@gmx.net>
3310 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3312 2003-11-10 André Pönitz <poenitz@gmx.net>
3314 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3315 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3316 indicate that the cursor needs to leave an inset
3318 * lyxtext.h: remove inset locking
3320 * cursor.[Ch]: re-implement functionality provided by inset locking
3323 * BufferView_pimpl.[Ch]:
3325 * bufferview_funcs.[Ch]:
3337 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3339 * PosIterator.[Ch]: replace the stack with a vector, add inset
3341 * iterators.[C]: adjust
3343 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3345 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3347 * paragraph_funcs.C (readParToken): put the correct id in the
3348 error item, not the id of the top paragraph
3350 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3352 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3353 * bufferview_funcs.C (put_selection_at): use the above
3355 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3357 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3359 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3361 * output_linuxdoc.h:
3362 * output_plaintext.h:
3364 * output_docbook.h: add #include statements
3366 2003-11-05 José Matos <jamatos@lyx.org>
3368 * output_docbook.[Ch]:
3369 * output_latex.[Ch]:
3370 * output_linuxdoc.[Ch]:
3371 * output_plaintext.[Ch]: New files for output formats.
3372 * output.[Ch]: New file for helper functions.
3375 * paragraph_funcs.[Ch]: output functions moved to new files.
3377 * outputparams.h: rename of latexrunparams.h
3385 * paragraph_funcs.[Ch]:
3386 * paragraph_pimpl.[Ch]:
3387 * tabular.[Ch]: rename ascii to plaintext
3388 and LatexRunParams to OutputParams.
3390 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3392 * iterators.[Ch] (text): require bv argument
3393 * undo.C (recordUndo):
3394 * lyxfunc.C (dispatch):
3395 * bufferview_funcs.C (put_selection_at): adjust
3397 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3399 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3401 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3403 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3406 2003-11-04 André Pönitz <poenitz@gmx.net>
3408 * cursor.[Ch]: restructure
3411 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3413 * iterators.[Ch] (asCursor): remove
3415 * lfuns.h: remove LFUN_INSET_EDIT
3421 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3423 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3425 * lyxfind.[Ch]: complete overhaul
3426 * BufferView_pimpl.C:
3428 * paragraph.[Ch] (insert): add
3430 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3434 * text.C: remove dead spellcheck code
3436 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3438 * dispatchresult.h: add a val setter
3440 * cursor.C (dispatch): use a tempvar for data_[i]
3442 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3444 * PosIterator.[Ch]: compile fix
3446 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3448 * text.C (cursorPar): deactivate the cursor cache
3450 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3452 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3454 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3456 * text3.C (dispatch): adjust for new DisptchResult semantics.
3458 * lyxfunc.C (dispatch): handle update when return from
3459 Cursor::dispatch, adjust for new DispatchResult semantics.
3461 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3462 DispatchResult(true) mean to not update. Add class functions for
3463 setting dispatched and update, as well as reading.
3465 * cursor.C (dispatch): don't handle update here
3467 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3469 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3470 * trans_mgr.C: adjust
3472 * paragraph_funcs.C (readParToken): exception safety
3474 * lyxvc.h: store the vcs pointer in a scoped_ptr
3477 * lyxsocket.C (serverCallback): exception safety
3479 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3481 * ispell.C (clone): make it return a auto_ptr
3483 * factory.C (createInset): exception safety
3484 (readInset): exception safety
3486 * bufferlist.C (newBuffer): exception safety
3488 * Thesaurus.C (Thesaurus): use initialization for aik_
3490 * MenuBackend.C (expandToc): exception safety.
3492 2003-11-03 André Pönitz <poenitz@gmx.net>
3496 * bufferview_funcs.C: remove getInsetFromId()
3499 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3505 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3507 * PosIterator.C (distance, advance): new
3508 * bufferview_funcs.[Ch] (put_selection_at): new
3509 * iterators.[Ch] (lockPath): new
3511 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3513 * iterators.[Ch] (asPosIterator): added
3514 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3515 * PosIterator.[Ch]: added
3517 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3521 * cursor.C (dispatch):
3522 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3524 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3525 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3526 contructor, add a class function dispatched. Remove operator>=
3528 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3530 * debug.C: only use the default constructor for debugstream
3533 * main.C (main): include debug.h and setup the lyxerr streambuf
3536 2003-10-31 José Matos <jamatos@lyx.org>
3538 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3540 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3541 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3542 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3543 * paragraph_pimpl.C (simpleTeXSpecialC):
3544 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3545 add LatexRunParams argument.
3547 * exporter.C (Export): change call accordingly.
3549 * latexrunparams.h: add new member to take care of the other backends.
3550 2003-10-30 José Matos <jamatos@lyx.org>
3552 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3553 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3554 factorise code for paragraph output.
3556 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3559 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3561 * text3.C (dispatch):
3562 * lyxfunc.C (dispatch):
3563 * cursor.C (dispatch):
3564 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3566 * dispatchresult.h: make the dispatch_result_t ctor explicit
3568 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3571 * buffer.C: small refactoring of docbook stuff
3573 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3575 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3578 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3580 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3581 operator dispatch_result_t, and operators for == != and >=
3583 * cursor.C (dispatch): adjust for operator dispatch_result_t
3584 removal. comment out call to update
3586 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3588 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3596 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3599 * dispatchresult.h: new file, DispatchResult broken out of
3602 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3604 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3606 * text.C (rowBreakPoint): put a hack inside #if 0
3608 2003-10-28 André Pönitz <poenitz@gmx.net>
3612 * paragraph_funcs.C:
3615 * text2.C: general cleanup (lots of small stuff)
3617 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3619 * text2.C (cursorEnd): simple fix to the "end key goes to one
3620 before the end on last row" bug
3622 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3624 * text.C (backspace): fix the "zombie characters"
3626 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3628 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3630 2003-10-27 André Pönitz <poenitz@gmx.net>
3632 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3634 * factory.C: handle new InsetPagebreak, InsetLine
3636 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3637 and move handling into new InsetPagebreak, InsetLine
3639 * BufferView_pimpl.C:
3641 * ParagraphParameters.C:
3642 * ParameterStruct.h:
3647 * paragraph_funcs.C:
3648 * paragraph_pimpl.C:
3654 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3657 * lyxrow_funcs.[Ch]:
3663 * text3.C: remove lastPos uses in favour of Row::endpos
3665 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3667 * undo.C (performUndoOrRedo): fix two crashes by setting a
3668 cursor by hand and reordering some calls. Use bv->lockInset instead
3669 of inset->edit because the latter loses cursor information
3671 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3673 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3675 (rowBreakPoint): fix width. change point to point + 1.
3676 Add a missing check.
3678 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3681 * lyxfunc.C: fix (at least partly) the problems
3682 with the Nav menu and headers inside branch insets
3685 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3687 * paragraph.C (getChar): add strong asserts
3689 * lyxrow_funcs.C (lastPos): remove hideous hack
3691 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3692 (fill): adjust to that (avoid an infinite loop)
3694 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3696 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3698 2003-10-23 André Pönitz <poenitz@gmx.net>
3700 * RowList_fwd.h: change list<> to vector<> to gain speed
3701 after suggestion from Alfredo
3703 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3705 * lyxtext.h: move the bidi stuff from here...
3708 * Bidi.[Ch]: ... to here
3710 2003-10-23 André Pönitz <poenitz@gmx.net>
3713 * text.C (isLastRow, isFirstRow): new functions
3715 * paragraph.h: new width cache member
3717 * rowpainter.C: replace RowList::iterator with Row & where possible
3719 * lyxfunc.C: replace several view()->text with a single call
3721 * toc.C: fix 'unused' warning
3723 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3725 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3726 when woring with stream::pos_type
3727 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3729 2003-10-22 André Pönitz <poenitz@gmx.net>
3732 * text.C: use Row & instead of RowList::iterator
3734 * lyxrow.h: rename end() to endpos()
3740 2003-10-22 Angus Leeming <leeming@lyx.org>
3742 * buffer.[Ch] (fully_loaded): new member function, returning true
3743 only when the file has been loaded fully.
3744 Used to prevent the premature generation of previews and by the
3745 citation inset to prevent computation of the natbib-style label.
3747 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3748 templates are all set up.
3750 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3752 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3754 * text.C: fixed an "oops" in the "is a bit silly"
3757 2003-10-21 André Pönitz <poenitz@gmx.net>
3759 * FuncStatus.[Ch]: small stuff, whitespace
3761 * lyxfont.[Ch]: operator<<() for debug reasons
3765 * lyxtext.h: whitespace, spelling
3767 * paragraph.C: naming of variables
3770 * text2.C: small stuff
3773 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3775 * text.C: (1) finish off the inset display() work;
3776 (2) fix the "is a bit silly" bug (accessing char
3779 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3781 * text.C: re-introduce display() for insets, fixing the
3782 various bugs (stretch of line above, math inset
3785 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3787 * text.C (rightMargin): remove spurious semicolon
3789 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3792 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3794 * text3.C: fix one crash due to wrong cursor def
3796 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3798 * vc-backend.C (scanMaster): make the regex static
3800 * LaTeX.C (scanAuxFile): make the regexs static
3802 * text3.C (doInsertInset, dispatch, dispatch):
3803 * text2.C (cursorUp, cursorDown):
3804 * text.C (selectNextWordToSpellcheck):
3805 * BufferView_pimpl.C (dispatch):
3806 * lyxfunc.C (dispatch): localDispatch -> dispatch
3808 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3810 * lyxsocket.C: include <cerrno>
3812 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3814 * lyxfunc.C (dispatch): remove textcache stuff
3816 * bufferlist.C (release): remove textcache stuff
3819 * TextCache.C: delete file
3820 * TextCache.h: delete file
3822 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3824 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3825 delete of the bv_->text.
3826 (resizeCurrentBuffer): remove texcache stuff
3827 (workAreaResize): ditto
3829 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3831 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3834 2003-10-16 André Pönitz <poenitz@gmx.net>
3841 * text3.C: speed up by storing y positions per paragraph plus per-row
3842 offset instead of having a 'full' y position in the row.
3844 2003-10-15 André Pönitz <poenitz@gmx.net>
3848 * undo.[Ch]: make undo aware of inner insets
3850 2003-10-14 Angus Leeming <leeming@lyx.org>
3852 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3853 static member functions LyX::ref() and LyX::cref.
3854 (lastfiles): new accessor functions for the new lastfiles_ member var.
3855 (addLyXView, views_): add a new LyXView to the list of views_.
3856 (updateInset): loop over all LyXViews to call their own updateInset
3857 member function, returning a pointer to the Buffer owning the inset.
3859 * BufferView_pimpl.C (loadLyXFile):
3860 * MenuBackend.C (expandLastfiles):
3861 * bufferlist.C (MenuWrite, QuitLyX):
3862 lastfiles is no longer a global variable.
3863 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3865 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3866 static function. Access through LyX::cref().emergencyCleanup().
3868 2003-10-14 André Pönitz <poenitz@gmx.net>
3870 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3872 * undo.[Ch]: restoring part of 'undo in insets'
3875 * undo_funcs.[Ch]: merge with undo.[Ch]
3877 * tabular.C: small cleansing stuff
3879 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3881 * paragraph_funcs.C (readParToken): report unknown insets as error
3882 boxes. Use the outer paragraph as location (also for unknown
3885 * factory.C (readInset): do not abort on reading an unknown inset.
3886 Eat it and return 0.
3888 2003-10-13 Angus Leeming <leeming@lyx.org>
3890 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3892 * lyxrc.C: displayTranslator is now a function,
3893 declared in GraphicsTypes.h.
3895 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3897 * format.C: new placeholder $$a to pass the socket address.
3899 * bufferlist.[Ch]: new function getBufferFromTmp.
3901 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3902 files in the temporary dir.
3904 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3906 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3908 * Makefile.am: add lyxsocket.[Ch].
3910 * lyx_main.C (error_handler): handle SIGPIPE.
3912 2003-10-13 André Pönitz <poenitz@gmx.net>
3914 * BufferView_pimpl.C:
3919 * undo_funcs.[Ch]: use paroffset_type instead of
3920 ParagraphList::iterators to prevent multiple conversion
3921 (and get a more robust interface)
3923 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3925 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3927 * text3.C (dispatch): ditto
3929 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3931 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3932 move the onlyfile, use onlyfile instead of foundfile in a couple
3935 * DepTable.C (update): flush the error stream a bit more
3937 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3939 * lyxserver.C (callback): adjust
3941 * lyxfunc.C (getStatus): add a missing brace in commented code
3942 (ensureBufferClean): reindent
3943 (dispatch): delete version taking a string
3945 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3947 * LaTeX.C (deplog): move found file handlig from here...
3948 (handleFoundFile): .. to new function here.
3949 (deplog): make sure to discover several files mentioned on the
3952 2003-10-10 André Pönitz <poenitz@gmx.net>
3959 * text3.C: fix some of the tabular crashes
3961 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3963 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3965 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3967 2003-10-09 André Pönitz <poenitz@gmx.net>
3969 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3972 * BufferView_pimpl.C:
3973 * bufferview_funcs.C:
3984 * undo_funcs.C: adjust
3986 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3988 * text2.C (incrementItemDepth): new function, use a backtracking
3989 algorithm to discover the correct item depth.
3990 (resetEnumCounterIfNeeded): new function, use a backtracking
3991 algorithm to discover if counter reset is needed.
3992 (setCounter): use them. Simplify a bit. Add different labels for
3993 different item depths for itemize.
3995 * paragraph.C (Paragraph): remove initialization of enumdepth
3998 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3999 enumerate and itemize. Change the type of itemdepth to signed char.
4001 2003-10-08 André Pönitz <poenitz@gmx.net>
4003 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4008 * tabular.[Ch]: fix crash after 'row-insert'
4010 2003-10-08 Angus Leeming <leeming@lyx.org>
4012 Fix doxygen warnings.
4014 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4015 Remove CutAndPaste:: prefix from header file declaration.
4017 * LColor.h (fill): remove LColor:: prefix from declaration.
4019 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4020 use lyx::depth_type rather than Paragraph::depth_type so that
4021 header file and .C file match.
4023 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4025 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4026 * aspell.C: \file aspell_local.C -> \file aspell.C
4027 * gettext.C: \file gettext.C -> \file src/gettext.C
4028 * gettext.h: \file gettext.h -> \file src/gettext.h
4029 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4030 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4031 * text.C: \file text.C -> \file src/text.C
4033 * toc.C: move comment so that doxygen is not confused.
4035 2003-10-07 Angus Leeming <leeming@lyx.org>
4037 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4039 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4042 * aspell_local.h: add forgotten std::string's.
4044 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4051 * text3.C: The Box patch. Fancybox support, minipage, parbox
4053 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4059 * ParagraphParameters.h:
4069 * lyxtextclasslist.h:
4072 * paragraph_pimpl.C:
4073 * textcursor.h: add <string> and other small fixes to make Lars'
4074 std::string patch compile with STLport.
4076 2003-10-06 Angus Leeming <leeming@lyx.org>
4078 * LColor.h: Add missing #include <string>.
4080 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4082 * All most all file in all subdirs: Make <string> be the prefered
4083 way of getting to std::string, add using declarations.
4085 2003-10-06 André Pönitz <poenitz@gmx.net>
4087 * metricsinfo.C: initialize LyXFont before changing attribute.
4088 (fixes the 'math in \emph is upright' bug)
4090 2003-10-06 André Pönitz <poenitz@gmx.net>
4092 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4094 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4097 * paragraph_pimpl.C: Small fixes to build using STLport
4099 2003-10-02 André Pönitz <poenitz@gmx.net>
4102 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4104 2003-10-01 André Pönitz <poenitz@gmx.net>
4106 * factory.C: assert early
4108 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4110 * lyx_main.C: remove the global debug object
4112 * debug.h: adjust for new debugstream
4114 * debug.C: adjust for new debugstream and keep the global debug
4117 2003-09-22 Angus Leeming <leeming@lyx.org>
4119 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4120 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4121 an incomplete class LyXFont.
4123 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4125 * factory.C: bug fix in branches
4127 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4129 * lyxfunc.C (processKeySym): adjust
4131 (dispatch): change arg name from ev to func, adjust
4132 (sendDispatchMessage): ditto
4134 * lyx_main.C (defaultKeyBindings): adjust keybindings
4135 (deadKeyBindings): ditto
4137 * kbsequence.C (addkey): return a FuncRequest
4139 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4141 * kbmap.C (bind): take a FuncRequest as arg, adjust
4144 (defkey): change to take a FuncRequest as arg, adjust
4145 (findbinding): take a FuncRequest as arg, adjust.
4147 * funcrequest.h (operator=): added
4149 * funcrequest.C (FuncRequest): default kb_action changed from
4150 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4152 * buffer.C (dispatch): simplify
4153 (dispatch): adjust to take a FuncRequest as arg, adjust
4155 * boost.C (assertion_failed): change assertion message slightly
4157 * ToolbarBackend.C (read): simplify
4159 * MenuBackend.C (binding): adjust call to findbinding, add a
4160 message if no binding is found.
4162 (expandToc): correct by adding a empty FuncRequest
4164 * LyXAction.C: include <boost/assert.hpp>
4165 (isPseudoAction): delete function
4166 (LookupFunc): change name to...
4167 (lookupFunc): this. change return type to FuncRequest.
4168 (getActionName): take kb_action as arg, simplify
4169 (funcHasFlag): add an assert, simplify.
4171 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4173 * toc.C (action): return a FuncRequest, simplify
4175 * lyxfunc.C (processKeySym): adjust
4176 (getStatus): delete version that takes an int.
4178 (dispatch): delete version that takes action as int
4180 (sendDispatchMessage): simplify and adjust
4182 * funcrequest.C (getArg): take unsigned int as arg
4184 * ToolbarBackend.C (read): adjust
4185 (add): delete version that takes func as a string.
4186 (getIton): take a FuncRequest as arg
4188 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4191 * MenuBackend.C (MenuItem): add a new construct that only takes a
4192 Kind, simplify the constructor use for submenus.
4194 (expandLastfiles): adjust
4195 (expandDocuments): adjust
4196 (expandFormats): adjust
4197 (expandFloatListInsert): adjust
4198 (expandFloatInsert): adjust
4199 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4201 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4202 Remove class variables lyx_pseudo_map and lyx_arg_map
4204 * LyXAction.C (searchActionArg): delete function
4205 (getPseudoAction): delete function
4206 (retrieveActionArg): delete function
4207 (LookupFunc): make it return kb_action, simplify.
4208 (getActionName): simplify
4210 * factory.C (createInset): fix new bug
4212 2003-09-19 Angus Leeming <leeming@lyx.org>
4214 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4215 masterFilename_ parameter in the include inset.
4217 * factory.C (createInset): changes due to the changes to InsetInclude.
4219 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4221 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4223 2003-09-18 Angus Leeming <leeming@lyx.org>
4226 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4227 Inset::fillWithBibKeys.
4228 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4230 2003-09-18 Angus Leeming <leeming@lyx.org>
4232 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4234 (ctor): pass and store a 'Buffer const &'
4235 (buffer): new member function.
4237 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4238 '*this' to the LaTeXFeatures ctor.
4240 2003-09-18 Angus Leeming <leeming@lyx.org>
4246 * text.C: rename EnumLColor as LColor_color.
4248 2003-09-18 Angus Leeming <leeming@lyx.org>
4250 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4251 remove #include "insets/insetbase.h" from cursor.h.
4253 2003-09-18 Angus Leeming <leeming@lyx.org>
4255 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4256 InsetOld_code to remove #include "inset.h".
4258 * iterators.C: add #include "insets/inset.h"
4260 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4262 * BufferView.C: remove more locking stuff that apparently doesn't
4263 do anything sensible.
4265 2003-09-16 André Pönitz <poenitz@gmx.net>
4268 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4271 2003-09-16 Angus Leeming <leeming@lyx.org>
4273 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4275 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4278 * paragraph.h: remove #include "lyxfont.h". Forward declare
4281 2003-09-16 Angus Leeming <leeming@lyx.org>
4283 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4284 of support/textutils.h.
4285 (isWord): move the contents of support/textutils.h's IsWordChar here.
4291 * text2.C: add #include "paragraph.h".
4294 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4296 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4302 * LaTeX.C: use namespace alias for lyx::support::os
4304 2003-09-16 Angus Leeming <leeming@lyx.org>
4307 * bufferview_funcs.C:
4310 * paragraph_pimpl.C:
4312 * text.C: add #include "LColor.h".
4314 2003-09-16 Angus Leeming <leeming@lyx.org>
4316 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4317 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4319 Store the FontBits::color variable as an int rather than as an
4320 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4323 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4324 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4325 string calls together.
4327 * lyxrc.C: add #include "LColor.h".
4329 2003-09-15 Angus Leeming <leeming@lyx.org>
4331 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4334 2003-09-15 Angus Leeming <leeming@lyx.org>
4336 * LColor.h: add an EnumLColor wrapper for LColor::color.
4338 * lyxfont.[Ch] (color, setColor, realColor):
4339 * lyxtext.h, text.C (backgroundColor):
4340 pass EnumLColor args to/from the functions, rather than LColor::color
4344 * lyxtext.h: forward declare EnumLColor.
4346 * lyx_main.C: add #include "LColor.h".
4348 2003-09-15 Angus Leeming <leeming@lyx.org>
4350 * .cvsignore: add lyx-gtk.
4352 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4357 * ParagraphParameters.C
4361 * bufferview_funcs.C
4371 * vc-backend.C: remove usage of STRCONV
4373 2003-09-15 Angus Leeming <leeming@lyx.org>
4375 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4376 explicitly define the color passed to the painter.
4378 2003-09-15 Angus Leeming <leeming@lyx.org>
4380 * bufferparams.C (BufferParams): reorder member initializers to avoid
4383 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4385 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4386 * text.C (updateRowPositions): remove an unusual nop
4388 2003-09-12 André Pönitz <poenitz@gmx.net>
4390 * BufferView_pimpl.C:
4399 * Counters.[Ch]: finish the 'automatic counters' job
4401 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4403 * aspell.C: include <boost/assert.cpp> (compile fix)
4405 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4407 * boost.C (assertion_failed): use lyx::support::abort instead of
4410 2003-09-10 Angus Leeming <leeming@lyx.org>
4412 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4413 with their _fwd progeny.
4415 2003-09-09 Angus Leeming <leeming@lyx.org>
4417 134 files throughtout the source tree: replace 'using namespace abc;'
4418 directives with the appropriate 'using abc::xyz;' declarations.
4420 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4422 * boost.C (emergencyCleanup): moved here from LAssert.c
4423 (assertion_failed): new function, called by BOOST_ASSERT
4425 * several files: change Assert to BOOST_ASSERT
4427 2003-09-09 Angus Leeming <leeming@lyx.org>
4429 * buffer.[Ch]: Add an Impl class and move Buffer's member
4430 variables into it. As a result move several header files out of
4433 Add header files to lots of .C files all over the tree as a result.
4435 2003-09-09 Angus Leeming <leeming@lyx.org>
4437 * buffer.[Ch]: make Buffer's member variables private. Add
4440 Lots of changes all over the tree as a result.
4442 2003-09-08 Angus Leeming <leeming@lyx.org>
4444 * graph.C: #include <config.h>.
4446 2003-09-08 Angus Leeming <leeming@lyx.org>
4450 * BufferView_pimpl.C:
4479 * toc.C: remove redundant using directives.
4481 2003-09-07 Angus Leeming <leeming@lyx.org>
4483 * LaTeXFeatures.h: remove #include "support/types.h".
4484 * ToolbarBackend.h: remove #include <algorithm>.
4485 * changes.h: remove #include <ctime>.
4486 * debug.h: remove #include <iosfwd>.
4487 * graph.h: remove #include "support/std_string.h".
4488 * lyx_main.h: remove #include <csignal>.
4489 * lyxlex_pimpl.h: remove #include <fstream>.
4490 * sgml.h: remove #include <algorithm>, <utility>.
4491 * toc.h: remove #include "support/std_ostream.h".
4492 Add #include <iosfwd>.
4494 2003-09-07 Angus Leeming <leeming@lyx.org>
4496 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4498 * converter.h: forward declare LatexRunParams.
4499 * encoding.h: remove #include "lyxrc.h".
4500 * lyxtext.h: remove #include "LColor.h".
4501 * lyxtextclass.h: remove #include "support/types.h".
4502 * trans.h: remove #include "tex-accent.h".
4503 * trans_mgr.h: remove #include "tex-accent.h".
4504 * insets/inset.h: remove #include "support/types.h", <vector>.
4505 * insets/insetcollapsable.h: remove #include "LColor.h".
4506 * insets/insetinclude.h: remove #include "dimension.h".
4507 * insets/insetlatexaccent.h: remove #include "dimension.h".
4508 * insets/insetoptarg.h:: remove #include "insettext.h".
4509 * insets/insettext.h: remove #include "dimension.h",
4510 <boost/shared_ptr.hpp>
4512 * insets/renderers.h: add #include "dimension.h".
4513 * insets/updatableinset.h: add #include "support/types.h".
4515 * many .C files: Associated changes.
4517 2003-09-06 Angus Leeming <leeming@lyx.org>
4519 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4520 one, inside testInvariant.
4522 * PrinterParams.C: new file.
4523 * PrinterParams.[Ch]: move the function bodies out of line.
4525 2003-09-06 Angus Leeming <leeming@lyx.org>
4527 * ParagraphParameters.h: forward declare ParameterStruct rather than
4528 including its header file.
4529 (depth): moved out-of-line.
4531 2003-09-06 Angus Leeming <leeming@lyx.org>
4533 * BufferView_pimpl.h:
4536 * lyxfunc.h: forward declare LyXKeySym rather than
4537 #include "frontends/LyXKeySym.h".
4539 * BufferView_pimpl.C:
4542 * lyxfunc.C: associated changes.
4544 2003-09-06 Angus Leeming <leeming@lyx.org>
4546 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4547 As a result, can remove the #include "insets/inset.h" from BufferView.h
4549 2003-09-06 Angus Leeming <leeming@lyx.org>
4551 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4552 As a result, can remove the #include "insets/inset.h" from BufferView.h
4554 2003-09-06 Angus Leeming <leeming@lyx.org>
4560 * bufferview_funcs.C:
4561 * BufferView_pimpl.C:
4566 * ParagraphParameters.C:
4571 * frontends/controllers/ControlDocument.C:
4572 * insets/insetcaption.C: rearrange the #includes into some sort of
4575 * buffer.h: remove #includes ErrorList.h, undo.h
4577 2003-09-06 Angus Leeming <leeming@lyx.org>
4579 * support/types.h: add a 'depth_type' typedef, used to store the
4580 nesting depth of a paragraph.
4583 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4584 defining explicitly.
4587 * paragraph_funcs.h:
4588 * ParagraphParameters.h:
4589 * sgml.h: use lyx::depth_type rather than Paragraph or
4590 ParameterStruct's depth_type.
4593 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4596 * BufferView_pimpl.C:
4598 * ParagraphParameters.C:
4601 * bufferview_funcs.C:
4608 * frontends/LyXView.C:
4609 * frontends/controllers/ControlDocument.C:
4610 * frontends/controllers/ControlErrorList.C:
4611 * insets/insetbibitem.C:
4612 * insets/insetbranch.C:
4613 * insets/insetcaption.C:
4614 * insets/insetcollapsable.C:
4615 * insets/insetenv.C:
4616 * insets/insetert.C:
4617 * insets/insetfloat.C:
4618 * insets/insetfoot.C:
4619 * insets/insetfootlike.C:
4620 * insets/insetnewline.C:
4621 * insets/insetquotes.C:
4622 * insets/insettabular.C:
4623 * insets/insettext.C:
4624 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4626 * frontends/controllers/ControlChanges.C: #include "changes.h".
4628 2003-09-06 Angus Leeming <leeming@lyx.org>
4630 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4631 than #including paragraph.h.
4634 * RowList.h: deleted. Superfluous.
4644 * insets/insettext.h: use ParagraphList_fwd.h rather than
4647 * paragraph.h: don't forward declare ParagraphList.
4650 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4651 rather than ParagraphList.h. paragraph.h is still needed for the
4652 Paragraph::depth_type parameters.
4654 * textcursor.h: enable it to compile stand-alone in light of the
4657 * bufferview_funcs.C:
4669 * frontends/controllers/ControlParagraph.C:
4670 * frontends/controllers/ControlTabular.C:
4671 * insets/insetmarginal.C:
4672 * insets/insetminipage.C:
4673 * insets/insetnote.C:
4674 * insets/insetoptarg.C: add header files needed to compile again.
4676 2003-09-06 Angus Leeming <leeming@lyx.org>
4678 * RowList_fwd.h: new file, forward-declaring Row rather than
4679 #including lyxrow.h.
4684 * insets/insettext.h: use it instead of RowList.h
4686 * bufferview_funcs.C:
4693 * text3.C: #include "RowList.h".
4695 2003-09-05 Angus Leeming <leeming@lyx.org>
4697 * factory.C (createInset):
4698 * vspace.C (c-tor): replace sscanf call with an istringstream.
4699 * ispell.C: re-add missing HP/UX headers.
4700 * lyxserver.C: re-add missing os2 headers.
4702 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4711 * text3.C: re-add missing system headers, needed for 2.95.2.
4713 2003-09-05 Angus Leeming <leeming@lyx.org>
4715 Changes most place everywhere due to the removal of using directives
4716 from support/std_sstream.h.
4718 2003-09-05 Angus Leeming <leeming@lyx.org>
4720 Replace LString.h with support/std_string.h,
4721 Lsstream.h with support/std_sstream.h,
4722 support/LIstream.h with support/std_istream.h,
4723 support/LOstream.h with support/std_ostream.h.
4725 Changes resulting throughout the tree.
4727 2003-09-05 Angus Leeming <leeming@lyx.org>
4729 * sgml.h: ensure that the header file can be compiled stand-alone.
4730 * *.C: strip out redundant #includes. (320 in total.)
4732 2003-09-04 Angus Leeming <leeming@lyx.org>
4734 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4735 here (from getPackages).
4737 * debug.[Ch]: add a new EXTERNAL tag.
4739 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4741 * text2.C (cursorEnd): simplify
4743 (getColumnNearX): adjust
4745 * text.C (computeBidiTables): adjust
4748 * rowpainter.C (paintChars): adjust
4749 (paintSelection): adjust
4750 (paintChangeBar): adjust
4753 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4755 (numberOfSeparators): adjust
4757 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4763 * text3.C: Restricts the mouse click functionality
4764 of insets like bibtex, include, toc and floatlist to the visible
4765 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4766 up the dialogs. Cursor has to be in front of the inset (i.e.
4767 start of row) for this to function.
4769 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4771 * bufferview_funcs.C (currentState): output row information
4773 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4775 * bufferview_funcs.C (currentState): output paragraph position
4777 2003-09-04 Angus Leeming <leeming@lyx.org>
4779 * FloatList.h: move out #include "Floating.h".
4780 * LaTeX.h: move out #include "DepTable.h".
4781 * LyXAction.h: move out #include "funcrequest.h".
4782 * buffer.h: move out #include "author.h", "iterators.h".
4783 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4784 * lyx_main.h: move out #include "errorlist.h".
4785 * lyxfunc.h: move out #include "FuncStatus.h".
4786 * lyxtext: move out #include "lyxcursor.h".
4787 * paragraph_pimpl.h: move out #include "counters.h".
4789 2003-09-03 Angus Leeming <leeming@lyx.org>
4791 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4792 preamble_snippets list, enabling us to add snippets to the preamble
4793 only if the snippet was not there already.
4795 2003-09-04 Angus Leeming <leeming@lyx.org>
4797 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4799 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4801 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4804 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4806 * BranchList.C: point fix, earlier forgotten
4808 2003-09-02 Angus Leeming <leeming@lyx.org>
4810 * box.C (contains): renamed from 'contained' after a fantastic
4813 2003-09-02 John Levon <levon@movementarian.org>
4819 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4821 2003-09-02 John Levon <levon@movementarian.org>
4823 * text2.C: simplification of cursorEnd(), including partial
4826 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4828 * buffer.C (readFile): add a space
4830 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4832 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4834 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4836 * buffer.C (readFile): new function, take a filename and a
4837 ParagraphList::iterator
4839 (readFile): adjust, make it private. don't use setStream, make
4840 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4841 always contain the filename.
4843 * BufferView.C (insertLyXFile): simplify and make it work for
4846 2003-08-30 John Levon <levon@movementarian.org>
4848 * Makefile.am: fix dist (from Kayvan)
4850 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4852 * most files: change to use const Buffer refs
4854 2003-08-27 André Pönitz <poenitz@gmx.net>
4856 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4857 on top of ownerPar().
4859 2003-08-27 John Levon <levon@movementarian.org>
4861 * funcrequest.C: properly initialise POD members
4863 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4865 * lyxtext.h (top_y): move top_y from here
4870 * BufferView_pimpl.[Ch]: to here
4871 * frontends/screen.C:
4872 * insets/insettabular.C:
4873 * insets/insettext.C: adjust
4874 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4876 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4879 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4881 2003-08-26 André Pönitz <poenitz@gmx.net>
4883 * paragraph_func.[Ch] (outerPar): new function
4886 * paragraph_funcs.C:
4887 * paragraph_funcs.h:
4888 * paragraph_pimpl.C:
4889 * text2.C: remove Inset::par_owner
4891 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4896 * text2.C: eliminates the needFullRow/display() stuff
4897 altogether, putting the logic in metrics/draw in the insets.
4899 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4901 * text2.C (redoParagraphInternal, redoParagraphs):
4902 * text.C (redoParagraph): add a call to updateRowPositions at the
4903 end of each 'metrics-like' call. Remove all others.
4904 (getRow): remove the 'y-computing' version.
4905 (getRowNearY): do not compute nor return the real y. Solve the
4906 'y < 0' problem and simplify.
4908 2003-08-22 Angus Leeming <leeming@lyx.org>
4910 * *.[Ch]: clean-up of licence and author blurbs.
4911 Also move config.h out of a few .h files and into a few .C files.
4913 2003-08-22 André Pönitz <poenitz@gmx.net>
4915 * lyxrow.[Ch]: add x_ and *fill_ members
4920 * text2.C: adjust/remove prepareToPrint() calls
4922 2003-08-22 André Pönitz <poenitz@gmx.net>
4924 * lyxrow.[Ch]: add end_ member
4926 * lyxrow_funcs.C: use LyXRow::end_
4928 * lyxtext.h (singleWidth): add LyXFont parameter
4931 * text2.C: adjust LyXText::singleWidth() calls
4933 * text.C (redoParagraph): simplify row breaking logic
4936 2003-08-19 André Pönitz <poenitz@gmx.net>
4938 * funcrequest.C: initialize button_ member
4941 * rowpainter.[Ch]: interface consolidation
4943 2003-08-18 André Pönitz <poenitz@gmx.net>
4946 * BufferView_pimpl.C:
4948 * paragraph_funcs.C:
4950 * text3.C: remove LyXScreen::draw() and fitCursor calls
4952 * BranchList.h: remove spurious semicolons
4954 * MenuBackend.C: fix branchlist related crash
4956 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4964 * bufferparams.[Ch]:
4968 * text3.C: implements the 'branch inset'
4969 idea. This allows the output of various versions of a document
4970 from a single source version, selectively outputing or suppressing
4971 output of parts of the text.
4972 This implementation contains a 'branch list editor' in a separate
4973 tab of the document settings dialog. Branches are user definable
4974 and have a "display colour" to distinguish them on-screen.
4976 ColorHandler was somewhat cleaned up.
4977 (1) make possible a dynamically growing LColor list by allowing
4978 the graphic context cache to grow along (vector);
4979 (2) eliminate an IMHO unnecessary step in colour allocation.
4981 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4983 * BufferView_pimpl.C: compile fix
4985 2003-08-15 André Pönitz <poenitz@gmx.net>
4987 * rowpainter.C: remove extra metrics calls
4989 * lyxtext.h: merge the two constructors into a single one,
4990 pass reference to owner's par list
4992 * BufferView_pimpl.C:
4996 2003-08-15 André Pönitz <poenitz@gmx.net>
4998 * lyxrow_funcs.[Ch]:
5001 * paragraph_funcs.C:
5006 * text_funcs.C: split LyXText::rowlist_ into individual
5007 Paragraph::rows_ chunks
5010 * BufferView_pimpl.[Ch]:
5013 * text3.C: remove toggleSelection()
5015 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5017 * bufferlist.C: beautify two alerts (shorter text of buttons)
5018 * buffer.C: Remove redundant ' ' from message
5020 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5021 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5022 rename VALIGN_CENTER to VALIGN_MIDDLE
5024 2003-08-11 André Pönitz <poenitz@gmx.net>
5026 * lyxtext.h (getPar):
5027 * text.C: new function
5029 2003-08-11 André Pönitz <poenitz@gmx.net>
5032 * tracer.[Ch]: remove unneeded files
5034 * InsetList.[Ch]: remove resizeInsetsLyXText()
5039 * text3.C: merge insertParagraphs() and appendParagraph()
5040 remove breakAgain(), update()
5042 * BufferView_pimpl.[Ch]:
5043 * bufferview_funcs.[Ch]:
5047 * tabular.C: adjust after text & InsetList changes.
5049 2003-08-08 André Pönitz <poenitz@gmx.net>
5051 * text.C (insertChar, backspace): replace rowlist fiddling
5052 with rebreak of full par
5055 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5056 checkParagraph, updateInset): removed
5058 2003-08-07 André Pönitz <poenitz@gmx.net>
5061 * text3.C: merge some LFUN handlers, remove dead code
5063 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5065 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5067 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5069 * text2.C (DEPM): fix part of bug 1255 and 1256
5071 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5073 * BufferView_pimpl.C (workAreaDispatch): change to use
5074 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5075 that are no mouse related.
5077 2003-08-05 André Pönitz <poenitz@gmx.net>
5080 * BufferView_pimpl.[Ch]:
5081 * bufferview_funcs.C:
5083 * text3.C: rip out "deep update"
5085 * textcursor.[Ch] (last_sel_cursor): remove unused member
5087 2003-08-04 André Pönitz <poenitz@gmx.net>
5090 * BufferView_pimpl.[Ch]:
5091 * ParagraphParameters.C:
5092 * bufferview_funcs.C:
5098 * text3.C: replace "complicated" BufferView::update(...) calls with
5101 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5103 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5105 * Makefile.am (lyx_SOURCES): add paper.h
5107 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5109 * Makefile.am: move things around so that both lyx-qt and
5110 lyx-xforms can be built (according to --with-frontend). Then lyx
5111 is a symbolic link to lyx-[firstfrontend]
5113 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5115 * Always use std::endl with lyxerr
5117 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5119 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5121 2003-08-01 André Pönitz <poenitz@gmx.net>
5124 * BufferView_pimpl.[Ch]:
5126 * text3.C: merge BufferView::repaint() and BufferView::update()
5128 2003-08-01 José Matos <jamatos@lyx.org>
5130 * buffer.[Ch]: file_format is no longer a buffer data element.
5132 2003-08-01 André Pönitz <poenitz@gmx.net>
5137 * text2.C: make redoParagraph more independent of current cursor
5139 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5141 * text2.C: remove unneeded members
5143 2003-07-30 André Pönitz <poenitz@gmx.net>
5145 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5147 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5148 create a single function...
5150 * paragraph_funcs.C (moveItem): ... here.
5153 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5155 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5157 * LColor.[Ch]: Add comment and greyedout logical colors.
5159 2003-07-30 André Pönitz <poenitz@gmx.net>
5161 * tabular.C: don't use Assert too heavily. This crashes where it
5164 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5166 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5167 is disabled (bug 1232)
5169 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5171 * factory.C: limited 'arg' scope
5173 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5175 * factory.C: fixed Note submenu issues
5177 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5179 * factory.C: submenu for Note/Comment/Greyedout
5181 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5184 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5186 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5189 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5190 greyedout. Patch provided by Jürgen Spitzmüller.
5192 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5194 * kbmap.C (read): fix error message when reading bind files
5196 2003-07-29 Angus Leeming <leeming@lyx.org>
5198 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5199 certainly does not do what it purports to do. I am doing it, and
5200 us, a favour by killing it.
5202 2003-07-28 José Matos <jamatos@lyx.org>
5204 * buffer.C (readBody, do_writeFile):
5205 * paragraph.C(readParagraph): \end_document replaces \the_end.
5207 2003-07-29 André Pönitz <poenitz@gmx.net>
5210 * BufferView_pimpl.[Ch]:
5214 * textcursor.[Ch]: remove toggleToggle & Co
5216 2003-07-28 José Matos <jamatos@fep.up.pt>
5218 * buffer.C (readParagraph):
5219 * params_func (readParToken, readParagraph):
5220 * paragraph.C (write): \layout -> \begin_layout.
5222 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5224 * lyxlex_pimpl.C (setFile): clean up slightly.
5226 * bufferparams.h: add compressed var
5228 * buffer_funcs.C (readFile): adjust for LyXLex change
5229 (newFile): ditto + simplify
5231 * buffer.C (writeFile): handle writing of compressed files
5233 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5234 Check if the file is compressed and set a bufferparm if so.
5236 * Makefile.am (lyx_LDADD): remove explicit -lz
5238 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5240 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5241 makeDocBookFile): put the real LyX version in the first line of
5245 * version.C.in: remove lyx_docversion
5247 * tabular.C (write_attribute): add a template-based version to
5248 write enums properly
5250 2003-07-28 André Pönitz <poenitz@gmx.net>
5255 * text3.C: use doubles again for x-coordinates. They are needed.
5257 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5259 * messages.C (getLocaleDir): use lyx_localedir()
5261 * lyxlex_pimpl.C (setFile): compress stuff
5263 * buffer.C (writeFile): add some compression stuff
5264 (do_writeFile): new func, dont call expliti close... will this
5267 * Makefile.am (lyx_LDADD): add -lz
5269 2003-07-28 José Matos <jamatos@fep.up.pt>
5271 * buffer.C: increment file format.
5272 * paragraph_funcs (readParagraph, readParToken):
5273 * paragraph.C (readParagraph): add \end_layout.
5275 2003-07-27 Angus Leeming <leeming@lyx.org>
5277 * Makefile.am: remove special casing for configure-time setting of
5278 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5280 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5281 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5283 2003-07-26 André Pönitz <poenitz@gmx.net>
5285 * paragraph_func.[Ch]:
5286 * paragraph.C (realizeFont): inline it whereever it is used
5291 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5294 2003-07-26 André Pönitz <poenitz@gmx.net>
5298 * text2.C: get rid of LyXText::need_break_row
5300 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5302 * toc.[Ch]: put namespace toc inside namespace lyx
5304 * MenuBackend.C (expandToc2): adjust for lyx::toc
5307 * lyxfunc.C (dispatch): adjust for lyx::find
5309 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5310 lyx::find instead. Reorganize a bit.
5311 (LyXReplace): rename to replace
5312 (LyXFind): rename to find
5314 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5317 2003-07-26 André Pönitz <poenitz@gmx.net>
5319 * text.C (setHeightOfRow): restrict scope of temporary variable
5321 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5322 code (never has been used?)
5324 2003-07-27 Asger Alstrup <alstrup@local>
5326 * text.C (fill): Optimise algorithm to exploit that we can reuse
5327 the LyXFont for many characters.
5328 (setHeightOfRow): Same thing.
5329 (rowBreakPoint): Same thing.
5331 2003-07-26 Asger Alstrup <alstrup@local>
5333 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5335 * text.C (singleWidth): Spurious font copying in hot-spot
5336 singleWidth avoided. Reorder tests for arabic for efficiency.
5338 * text.C (fill): handle empty paragraphs better.
5340 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5343 * encoding.h: add includes
5345 * lyxrc.C: remove reading of bind files
5347 * lyx_main.C (init): setup bindings and menus only if we have a
5350 * kbmap.C (read): new method. Do the actual reading of bind
5353 * converter.C (dvipdfm_options):
5356 (output): adapt PAPER_* enums.
5358 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5360 * bufferparams.h: remove paper-related enums from there
5362 * paper.h: New file. A trivial header file to hold paper-related
5363 enums. It should later expand to contain many paper-related
5366 * lyxrc.C: declare extern displayTranslator
5368 2003-07-27 José Matos <jamatos@fep.up.pt>
5370 * tabular.[Ch] (linuxdoc): add support for tables and figures
5373 2003-07-27 José Matos <jamatos@fep.up.pt>
5375 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5376 consistency in both functions.
5377 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5379 2003-07-26 Asger Alstrup <alstrup@local>
5381 * rowpainter.C (paintRows): Change algorithm to work directly on
5382 the insets rather than asking every character in the document
5383 whether its an inset.
5385 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5387 * buffer.C (openFileWrite): factorize some code
5389 2003-07-26 Angus Leeming <leeming@lyx.org>
5392 * lyx_main.[Ch]: replace occurances of system_tempdir with
5395 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5397 * rename Inset to InsetOld
5399 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5401 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5402 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5403 which I think is a bit clearer. EDIT is gone, since it was
5404 premature optimisation, and broken for mathed anyway.
5405 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5406 with cursor positioning in insets as well (math insets still do not
5407 work, but that's a different story anyway.) It mysteriously
5408 crashes sometimes with undo in the first paragraph, but I'm fairly
5409 confident that this is a compiler bug.
5411 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5413 * paragraph.C (Paragraph): adjust for new clone return type
5415 (copyIntoMinibuffer): ditto
5417 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5419 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5420 by not having a special case, and always doing a full rebreak of
5421 the document after undo.
5423 2003-07-23 Angus Leeming <leeming@lyx.org>
5425 * factory.C (createInset): InsetExternal::setParams now takes a
5428 2003-07-23 Angus Leeming <leeming@lyx.org>
5430 * factory.C (createInset): changed interface to the external and
5431 graphics mailers' string2params functions.
5433 2003-07-23 Angus Leeming <leeming@lyx.org>
5435 * factory.C (createInset): pass a
5436 Buffer const * parameter to InsetExternalMailer's string2params.
5438 2003-07-22 John Levon <levon@movementarian.org>
5440 * Thesaurus.h: include the right aiksaurus header
5442 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5444 * MenuBackend.C (expand): check menu shortcuts unconditionally
5446 2003-07-21 Angus Leeming <leeming@lyx.org>
5448 * factory.C (createInset): pass a
5449 buffer_path parameter to InsetGraphicsMailer's string2params.
5451 2003-07-21 Angus Leeming <leeming@lyx.org>
5453 * BufferView_pimpl.C (buffer):
5456 * lyxfunc.C (dispatch):
5457 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5458 rather than the grfx shortcut.
5460 2003-07-21 André Pönitz <poenitz@gmx.net>
5462 * rowpainter.C: remove unused variables
5465 * tabular_funcs.h: move to tabular.C
5466 * Makefile.am: adjust
5468 * tabular.[Ch]: basic optical cleaning
5470 * author.h: pass references, not values
5472 2003-07-18 André Pönitz <poenitz@gmx.net>
5480 * text3.C: two-phase drawing for InsetText and InsetTabular
5481 some float -> int changes.
5483 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5485 * lyx_main.C: fix the fix
5487 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5489 * lyx_main.C: fix a crash in batch mode if no files specified
5492 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5494 * format.[Ch] (papersize): moved to BufferParams
5495 * converter.[Ch] (dvips_options): moved to BufferParams
5496 (dvipdfm_options): moved to anon namespace
5497 * bufferparams.[Ch]: added above functions.
5499 2003-07-17 André Pönitz <poenitz@gmx.net>
5503 * text2.C: don't call inset->update() anymore
5505 * metricsinfo.[Ch]: add convenience constructor
5507 2003-07-16 André Pönitz <poenitz@gmx.net>
5512 * text2.C: replace the LyXCursor::irow_ member with
5513 on-demand computation of the value
5515 2003-07-16 John Levon <levon@movementarian.org>
5517 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5519 2003-07-15 André Pönitz <poenitz@gmx.net>
5522 * text2.C: remove no more needed refresh_row
5524 2003-07-15 André Pönitz <poenitz@gmx.net>
5529 * text3.C: refresh_status tristate -> need_update bool
5531 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5533 * lyxtext.h (init): remove reinit argument (act as if always true)
5534 * text2.C: adjust to that
5536 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5538 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5539 * text3.C: use it to delete selections in some cases
5540 (bugs 441, 673, 702, 954).
5542 2003-07-14 André Pönitz <poenitz@gmx.net>
5544 * rowpainter.[Ch]: reduce interface
5546 2003-07-14 André Pönitz <poenitz@gmx.net>
5548 * BufferView_pimpl.C:
5549 * text2.C: adjust after removing unused BufferView * argument
5551 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5553 * text2.C (init): fix a crash fired on resize
5555 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5557 * buffer.[Ch]: added new closing signal
5558 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5559 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5560 BufferView::Pimpl via the closing the signal
5562 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5564 * buffer.[Ch]: take out all bv-related from buffer
5566 * BufferView_pimpl.[Ch]: connect to new signals
5567 * CutAndPaste.C: removed useless asserts
5568 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5571 * lyxfunc.C: moved view-related funciontality from vc here
5572 * paragraph.C: removed outdated comments
5575 2003-07-10 André Pönitz <poenitz@gmx.net>
5577 * BufferView_pimpl.C:
5581 * text2.C: remove InsetText::InnerCache, clean up consequences
5583 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5585 * ispell.C: fix two typos in error messages
5587 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5589 * Extend Note inset to other forms of annotation like Comment
5590 and Greyedout. Right button click gives dialog.
5592 Files modified or added (+):
5596 * ControlNote.[Ch] +
5598 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5599 frontends/controllers
5603 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5605 * aspell.C: add missing namespace lyx::support
5607 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5609 * BufferView.[Ch] (newFile): Add
5610 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5611 * LaTeX.[Ch] (message): added this signal and use it
5612 * buffer.[Ch] (busy, message): added these signals and use them
5613 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5617 * importer.C: use buffer signals instead of direct bv calling
5618 * lyx_cb.[Ch] (ShowMessage): removed
5621 * paragraph_funcs.C:
5622 * text2.C: use buffer signals
5624 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5626 * introduce namespace lyx::graphics
5628 2003-07-02 André Pönitz <poenitz@gmx.net>
5630 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5632 2003-07-01 André Pönitz <poenitz@gmx.net>
5639 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5640 text*.C to text_func.C
5642 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5644 * introduce namespace lyx::support
5646 2003-06-30 André Pönitz <poenitz@gmx.net>
5651 * text.C: re-enable --with-included-string
5653 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5655 * textcursor.C: add <config.h>
5657 * text.C (getWord): remove const from word_location arg
5659 * lyxvc.C (getLogFile): fix const type order
5661 * lyxtext.h: remove const from word_location arg, add arg name
5663 * lyxlayout.h: currect type on labeltype.
5665 * importer.C: correct \file
5667 * converter.C (intToFormat): use std:: on ret val, ws changes
5669 * bufferlist.h: correct \file
5671 * buffer.C (makeLinuxDocFile): fix const type order
5672 (makeDocBookFile): ditto
5673 (fillWithBibKeys): use std:: on stdlib args.
5675 * CutAndPaste.C: fix authors.
5676 (availableSelections): use std:: on return vector
5678 2003-06-27 André Pönitz <poenitz@gmx.net>
5680 * BufferView_pimpl.C:
5681 * bufferview_funcs.C:
5689 * text3.C: remove LyXCursor::row_ member
5692 * text.C: rename fullRebreak() to partialRebreak() and implement
5693 a fullRebreak() that really bereks fully
5695 * textcursor.h: new struct for cursor-related data
5697 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5699 * lyx_main.C (LyX): get full path of document loaded on the
5702 2003-06-26 André Pönitz <poenitz@gmx.net>
5704 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5705 remove unused/broken operator>,<,>=.
5707 * text.C: remove only use of broken operator<= in an Assert().
5709 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5711 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5712 moved errorlist_.clear to showErrorList
5714 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5716 * converter.C (scanLog, runLaTeX):
5717 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5718 move the bv->showErrorList call to the callers
5719 * lyxfunc.C: i.e. here...
5721 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5722 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5723 namespace, the second to...
5724 * buffer_funcs (BufferFormat, parseErrors): added
5725 * errorlist.C (ErrorList(TeXErrors const &)): removed
5727 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5729 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5731 2003-06-24 "Garst R. Reese" <reese@isn.net>
5735 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5737 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5739 * version.C.in: change docversion to 1.4
5741 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5743 * buffer.C: fix a bug just introduced
5745 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5747 * buffer.[Ch]: added the parseError signal and use it, removed
5749 * BufferView.[Ch] (addError): moved to ...
5750 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5751 to the Buffer::parseError signal to catch (guess what) parse errors
5752 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5754 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5756 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5757 ability to create a buffer and to return an existing one from
5758 the list. Moved these functions to...
5759 * buffer_funcs.[Ch]: added
5760 * BufferView.[Ch] (loadLyXFile): added
5761 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5762 job removed from bufferlist::loadLyXFile.
5763 * buffer.C (setReadOnly): make it work without view
5764 (i.e added an if (users))
5766 2003-06-19 Angus Leeming <leeming@lyx.org>
5769 * LyXAction.C (init):
5770 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5771 with LFUN_DIALOG_SHOW <name> <data>.
5773 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5775 * CutAndPaste.C (availableSelections): small compilation fix for
5776 ancient (gcc 2.9x) compilers
5778 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5780 * text3.C (cursorNext): add tmp var
5782 * text2.C (updateCounters): for function calling out of for clause
5783 (replaceSelectionWithString): ditto
5784 (insertStringAsParagraphs): ditto
5785 (getColumnNearX): add tmp var
5786 (setCursorFromCoordinates): add tmp var
5787 (cursorDownParagraph): add tmp var
5788 (deleteEmptyParagraphMechanism): add tmp var
5790 * text.C (insertChar): add tmp var
5792 * rowpainter.C (paintDepthBar): add tmp var
5794 * CutAndPaste.C (availableSelections): potentially check all
5795 paragraphs in a cut to fill the shown strings.
5797 2003-06-18 André Pönitz <poenitz@gmx.net>
5799 * kbmap.[Ch]: use vector<> instead of list<>
5801 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5803 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5804 pasteSelection with index
5806 * text2.C (pasteSelection): modify, call pasteSelection with index
5808 * paragraph.C (asString): reimplement version with no interval to
5809 call the one with interval.
5811 * lyxtext.h: add index arg to pasteSelection
5813 * MenuBackend.C (MenuItem): handle PasteRecent
5814 (Menu::read::Menutags): add md_pasterecent
5816 (expandPasteRecent): new function
5819 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5821 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5823 (availableSelections): new function
5825 2003-06-17 Angus Leeming <leeming@lyx.org>
5827 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5829 2003-06-17 Angus Leeming <leeming@lyx.org>
5832 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5834 * lyxfunc.C (dispatch): invoke it.
5836 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5838 * iterators.C (operator++, ParPosition): reintroduce some
5839 const_cast for the benefit of older compilers.
5841 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5843 * text3.C (dispatch): do not modify clipboard when doing
5844 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5845 LFUN_DELETE_SKIP on a selection selection
5847 2003-06-16 André Pönitz <poenitz@gmx.net>
5853 * tabular.[Ch]: IU of clone() and getLabelList();
5855 2003-06-13 André Pönitz <poenitz@gmx.net>
5857 * tabular.h: compactification
5859 2003-06-12 André Pönitz <poenitz@gmx.net>
5863 * tabular_funcs.h: some renaming plus whitespace
5865 2003-06-12 André Pönitz <poenitz@gmx.net>
5868 * BufferView_pimpl.C:
5874 * toc.C: Return a Paragraph & for ParIterator::operator*()
5876 2003-06-11 John Levon <levon@movementarian.org>
5880 * ToolbarBackend.C: add "Toolbars" section and
5883 2003-06-10 Angus Leeming <leeming@lyx.org>
5886 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5888 * lyxfunc.C (dispatch): invoke it.
5890 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5892 * main.C: protect <ios> with HAVE_IOS
5893 (main): protect sync_with_stdio with HAVE_IOS
5895 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5897 * text2.C (cutSelection): adjust
5898 (pasteSelection): adjust
5900 * messages.C: handle get of empty string
5902 * main.C (main): use sync_with_stdio(false)
5904 * lyxfunc.C (dispatch): adjust
5906 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5907 (WriteAs): remove unneeded BufferView arg.
5909 * bufferparams.h: use correct types on papersize, papersize2 and
5912 * bufferparams.C (readToken): adjust for type
5913 (writeLaTeX): add missing cases to switch.
5915 * bufferlist.C (quitWriteBuffer): adjust
5918 * buffer.C (asciiParagraph): remove some commented code.
5920 * CutAndPaste.C: remove current_view extern variable.
5921 (cutSelection): add BufferParams arg.
5922 (eraseSelection): add BufferParams arg.
5923 (pasteSelection): add Buffer const & arg
5925 2003-06-07 John Levon <levon@movementarian.org>
5928 * paragraph_funcs.C:
5929 * paragraph_pimpl.C:
5933 * paragraph.C: allow InsetERT to freely space lines,
5934 and some consolidation of code
5936 2003-06-06 José Matos <jamatos@fep.up.pt>
5938 * buffer.C (makeDocBookFile): fix bug #821
5940 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5942 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5944 2003-06-04 Angus Leeming <leeming@lyx.org>
5946 * buffer.C: bump format to 224.
5948 2003-06-05 André Pönitz <poenitz@gmx.net>
5950 * text2.C (redoParagraphs): remove two const_cast<>
5952 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5954 * ParagraphList.h: remove last remnants of NO_STD_LIST
5956 2003-06-03 Angus Leeming <leeming@lyx.org>
5958 * factory.C (createInset): small change to the way InsetExternal's params
5961 2003-06-04 André Pönitz <poenitz@gmx.net>
5963 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5965 * paragraph_pimpl.h:
5966 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5968 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5970 * undo_funcs.C: make some simple cases of undo work again
5972 2003-06-03 John Levon <levon@movementarian.org>
5974 * ispell.C: HPUX doesn't have sys/select.h
5977 2003-06-03 John Levon <levon@movementarian.org>
5979 * CutAndPaste.C: update tabular and include inset
5984 * paragraph.C: remove owningBuffer(), don't pass Buffer
5987 * factory.C: insetGraphicsParams changed
5989 2003-06-02 John Levon <levon@movementarian.org>
5995 * text3.C: remove insetparent
5997 2003-06-02 John Levon <levon@movementarian.org>
6000 * buffer.C: fix inset_iterator.end(), move out of line
6003 2003-06-01 John Levon <levon@movementarian.org>
6005 * text3.C: use a proper cut/paste when doing inset
6006 insert (from Jürgen Spitzmüller)
6008 2003-06-01 John Levon <levon@movementarian.org>
6010 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6012 2003-05-30 André Pönitz <poenitz@gmx.net>
6014 * rowpainter.C: unify second drawing phase
6016 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6018 * trans_mgr.C: remove one case of current_view
6020 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6022 * paragraph_funcs.h: remove paragraph.h include
6024 * paragraph.h: delete NO_STD_LIST stuff
6026 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6028 * buffer.h: remove paragraph.h include
6030 * ParagraphList.C: delete file
6032 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6034 * toc.C (getTocList): adjust
6036 * paragraph_pimpl.C (validate): adjust
6038 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6040 * paragraph.C (Paragraph): adjust
6041 (getPositionOfInset): use const_iterator, adjust
6042 (bibitem): use const_iterator, adjust
6043 (setInsetOwner): adjust
6045 * iterators.C (operator++): adjust
6047 * InsetList.[Ch]: Replace selfmade iterator with standard
6048 vector::iterator also introduce const_iterator. Remove getPos,
6049 getInset and setInset from InsetTable. Adjust accordingly.
6051 * BufferView.C (lockInset): adjust
6052 (ChangeInsets): adjust
6054 * tabular.[Ch]: delete commented same_id functions
6056 2003-05-28 John Levon <levon@movementarian.org>
6058 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6060 2003-05-28 André Pönitz <poenitz@gmx.net>
6062 * metricsinfo.[Ch]: remove 'fullredraw' member
6064 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6066 * lyxtextclass.C (operator): remove caching.
6068 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6072 * text2.C (cursorBottom): adjust
6073 (setCounter): use ParagraphList::find, adjust
6075 * text.C (workWidth): use ParagraphList::find, adjust
6077 * lyxcursor.C (LyXCursor): adjust
6079 * buffer.C (inset_iterator): adjust
6081 * ParagraphList.h: make iterator(value_type) private, make
6082 ParagraphList a friend of iterator.
6084 * ParagraphList.C (find): new function
6086 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6088 2003-05-27 André Pönitz <poenitz@gmx.net>
6090 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6092 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6094 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6096 2003-05-26 John Levon <levon@movementarian.org>
6098 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6100 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6102 * remove same_id from function signatures, adjust.
6104 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6106 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6108 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6110 * paragraph.C (Paragraph): get rid of same_ids parameter
6112 * ParagraphList.C (insert): adjust
6115 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6117 * paragraph_funcs.C (breakParagraph): adjust
6118 (breakParagraphConservative): adjust
6120 * buffer.C (readParagraph): adjust
6122 * ParagraphList.C (insert): take a reference instead of a pointer
6125 * paragraph.[Ch] (id): new function
6127 * bufferlist.C (newFile): adjust
6129 * ParagraphList.C (ParagraphList): adjust
6131 (push_back): take a reference instead of a pointer.
6133 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6135 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6138 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6139 set else use old code.
6141 * ParagraphList.C: remove all NO_NEXT code and only compile this
6142 code of NO_STD_LIST is set.
6144 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6146 * BufferView_pimpl.C:
6156 * graphics/GraphicsConverter.C:
6157 * graphics/PreviewLoader.C: header adjustment
6159 2003-05-23 Angus Leeming <leeming@lyx.org>
6161 * LaTeXFeatures.[Ch] (useBabel): new method.
6162 * bufferparams.C (writeLaTeX): use it.
6164 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6166 * ParagraphList.h (set): remove unused function.
6168 2003-05-23 André Pönitz <poenitz@gmx.net>
6171 * BufferView_pimpl.C:
6175 * undo_funcs.C: setUndo reworked
6177 * iterators.[Ch]: add access to topmost ParagraphList
6179 * lyxtext.[Ch] (workWidth): add a const
6181 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6183 * texrow.[Ch] (increasePos): remove function
6184 * exporter.C (export): removed unused var and outdated comment
6186 2003-05-23 Angus Leeming <leeming@lyx.org>
6188 * latexrunparams.h: rename fragile as moving_arg.
6189 * paragraph.C (simpleTeXOnePar): ditto.
6190 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6192 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6194 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6196 (textUndoOrRedo): comment out a currently unused var.
6198 * paragraph.h (NO_NEXT): enable NO_NEXT
6200 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6202 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6204 * exporter.C (Export): adjust for removeAutoInsets removal.
6206 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6208 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6210 * BufferView.[Ch] (removeAutoInsets): delete function
6212 2003-05-22 Angus Leeming <leeming@lyx.org>
6214 * latexrunparams.h: add a free_spacing variable.
6216 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6217 to pass moving_arg, as the data is stored in runparams.fragile.
6219 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6220 to Inset::latexOptional or to simpleTeXOnePar.
6222 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6223 free_spacing arg to Inset::latexOptional.
6225 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6228 2003-05-22 Angus Leeming <leeming@lyx.org>
6230 * latexrunparams.h: add fragile and use_babel variables.
6232 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6233 * buffer.C (makeLaTeXFile): store this returned value in
6234 runparams.use_babel, thus passing it to the inset::latex methods.
6236 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6237 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6239 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6240 longer has a fragile arg, as it is stored in runparams.fragile.
6242 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6243 moving_arg parameter as the data is stored in runparams.fragile.
6245 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6246 a fragile parameter as the data is stored in runparams.fragile.
6248 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6250 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6252 2003-05-22 Angus Leeming <leeming@lyx.org>
6254 * latexrunparams.h: add a 'bool nice' which defaults to false.
6256 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6257 now encapsulated within runparams.
6259 * bufferlist.C (updateIncludedTeXfiles):
6260 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6262 2003-05-22 Angus Leeming <leeming@lyx.org>
6264 * latexrunparams.h: new file containing struct LatexRunParams.
6265 * Makefile.am: add new file.
6267 * LaTeX.[Ch] (c-tor, run):
6268 * buffer.[Ch] (makeLaTeXFile):
6269 * bufferlist.[Ch] (updateIncludedTeXfiles):
6270 * converter.C (convert, scanLog):
6271 * converter.[Ch] (runLaTeX):
6272 * exporter.C (Export):
6273 * paragraph.[Ch] (simpleTeXOnePar):
6274 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6275 * paragraph_funcs.[Ch] (latexParagraphs):
6276 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6277 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6278 pass around a LatexRunParams parameter.
6280 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6282 * paragraph.[Ch]: remove unused constructor
6284 * ParagraphList.C (erase): new function, taking two iterators
6286 2003-05-22 André Pönitz <poenitz@gmx.net>
6288 * undo_funcs.C: remove duplicated code
6290 * iterator.[Ch]: operator=
6292 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6294 * tabular.C (SetMultiColumn): ws changes
6296 * rowpainter.C (paintFirst): get rid of a ->previous
6298 * lyx_cb.C (getPossibleLabel): parlist simplification
6300 * BufferView.C (ChangeInsets): simplify slightly.
6302 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6304 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6305 * lfuns.h: new LFUN_SPACE
6306 * lyxfunc.C: protected space has a new lfun
6307 * paragraph_funcs.C: read new space insets
6309 * factory.C: handle new space insets
6311 2003-05-22 André Pönitz <poenitz@gmx.net>
6314 * BufferView_pimpl.C:
6317 * undo_funcs.C: return a ParIterator from getParFromID.
6319 * iterators.[Ch]: add two const's
6321 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6323 * toc.C (getTocList): adjust
6325 * iterators.[Ch]: rework for parlist
6327 * buffer.C (par_iterator_begin): adjust
6328 (par_iterator_end): adjust
6330 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6332 * BufferView.C (removeAutoInsets): adjust
6333 (ChangeInsets): adjust
6335 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6337 * text.C (top_y): fix bug 1110
6339 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6341 * errorlist.[Ch]: added
6344 * BufferView_pimpl.C:
6345 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6348 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6350 * Makefile.am: ensure that lyx is relinked upon changes to the
6351 various "convenience" libs.
6353 2003-05-20 Angus Leeming <leeming@lyx.org>
6355 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6356 files are compiled in alphabetical order again.
6358 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6360 2003-05-19 Angus Leeming <leeming@lyx.org>
6362 * gettext.[Ch]: remove "char const * _(char const *)".
6364 2003-05-19 André Pönitz <poenitz@gmx.net>
6366 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6375 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6377 2003-05-19 André Pönitz <poenitz@gmx.net>
6381 * lyxtextclass.[Ch]:
6383 * paragraph_funcs.[Ch]:
6385 * text3.C: more insetenv work
6387 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6389 * ParagraphParameters.C (params2string): small bug fixed
6391 2003-05-16 André Pönitz <poenitz@gmx.net>
6394 * bufferview_funcs.C: patch from Kornel Benko to prevent
6395 crash when _(...) is called twice in a statement
6397 2003-05-16 André Pönitz <poenitz@gmx.net>
6404 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6406 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6408 * lyx_main.C (init): remove spurious static_cast
6410 2003-05-14 André Pönitz <poenitz@gmx.net>
6412 * BufferView.C: fix format string
6414 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6416 * BufferView.[Ch] (insertErrors): removed
6417 * BufferView.[Ch] (showErrorList): added
6418 * buffer.C (runChkTeX):
6419 * converter.C (scanLog): call showErrorList instead of inserterrors
6421 2003-05-13 André Pönitz <poenitz@gmx.net>
6423 * BufferView_pimpl.C:
6425 * bufferview_func.C:
6432 * tabular_funcs.h: tostr() from its own header
6434 * ParagraphParameters.C:
6439 * text3.C: STRCONV()
6441 2003-05-12 André Pönitz <poenitz@gmx.net>
6444 * BufferView_pimpl.C:
6448 * ParagraphParameters.C:
6452 * bufferview_funcs.C:
6465 * paragraph_funcs.C:
6469 * text3.C: boost::format -> bformat all over the place
6472 2003-05-09 André Pönitz <poenitz@gmx.net>
6474 * LColor.[Ch]: Pimpl the #include <map> away
6476 2003-05-09 John Levon <levon@movementarian.org>
6478 * bufferlist.C: never remove emergency saves
6480 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6482 * Makefile.am: better lib building
6484 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6486 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6488 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6489 (simpleTeXSpecialChars): adjust
6490 (simpleTeXSpecialChars): adjust
6491 * paragraph.C (simpleTeXOnePar): adjust
6492 * buffer.C (makeLaTeXFile): adjust
6494 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6496 * text2.C (changeDepth): parlist cleanup
6497 (getColumnNearX): ditto
6499 * rowpainter.C (getLabelFont): parlist cleanup
6501 * bufferlist.C (newFile): parlist cleanup
6503 * CutAndPaste.C (eraseSelection): parlist cleanup
6505 * BufferView_pimpl.C (trackChanges): parlist cleanup
6508 * BufferView.C (lockInset): parlist cleanup.
6509 (ChangeInsets): ditto
6511 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6513 * CutAndPaste.h: Update file header.
6515 * CutAndPaste.C: Update file header.
6516 Store the parts cut out of the Document in a limited_stack.
6517 (copySelection): adjust
6518 (pasteSelection): new function, takes the index in the limited stack.
6519 (nrOfParagraphs): adjust
6520 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6521 simplify error inset insertion.
6522 (checkPastePossible): adjust
6524 2003-05-06 John Levon <levon@movementarian.org>
6526 * text2.C: don't cast wrap inset to float
6528 2003-05-05 André Pönitz <poenitz@gmx.net>
6531 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6533 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6534 few naked Paragraph *.
6536 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6538 * bufferparams.C: Output warning if a document with missing
6539 TeX document class is loaded
6540 * exporter.C: Disable TeX exports if the document class is missing
6543 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6544 isTeXClassAvailable()
6546 2003-05-03 John Levon <levon@movementarian.org>
6549 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6550 explicit cursor show/hide
6552 * BufferView_pimpl.h:
6553 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6554 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6556 * lyxfunc.C: hide cursor before dispatching.
6561 * text3.C: remove explicit cursor hides
6563 2003-05-02 André Pönitz <poenitz@gmx.net>
6565 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6568 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6571 * text2.C: tiny whitespace
6573 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6575 * undo_funcs.C: almost only ws changes.
6577 * ParagraphList.C (splice): just return if pl is empty.
6579 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6581 * ParagraphList.C (splice): new function.
6583 * CutAndPaste.C (pasteSelection): use it
6585 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6587 * CutAndPaste.C (pasteSelection): remove the last next and
6588 previous from this file.
6590 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6592 * CutAndPaste.C (pasteSelection): more clean up, user proper
6593 ParagraphList functions for pasteing.
6595 * ParagraphList.C (insert): new function, three arg insert
6597 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6599 * ParagraphList.C (insert): new function, three arg insert
6601 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6604 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6606 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6608 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6610 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6612 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6614 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6615 (copySelection): clean up a bit.
6616 (pasteSelection): use make_pair
6618 * ParagraphList.C (ParagraphList): implement copy constructor
6619 (operator=): implement, base on copy constructor.
6622 * paragraph.C (erase): return a bool
6624 * paragraph_pimpl.C (erasePos): remove function, move contents...
6625 (erase): ... here. Return a bool.
6626 (erase): call erase instead of erasePos.
6628 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6630 * ParagraphList.h: define PitPosPair
6631 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6632 ParagraphList, fix a bug on pasting multiple pars
6633 * text2.C: change interface to C&P
6635 2003-04-30 André Pönitz <poenitz@gmx.net>
6637 * undo_func.C: revert part of yesterday's patch 2
6639 2003-04-30 John Levon <levon@movementarian.org>
6641 * LColor.C: s/tabular/table/
6643 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6645 * text3.C (dispatch): do not convert iterator -> pointer
6646 * undo_funcs.C (setCursorParUndo): ditto
6647 * text_funcs.C (transposeChars): ditto
6649 * text2.C (setLayout): ws changes only
6651 * text.C (breakParagraph): do not convert iterator -> pointer
6653 (acceptChange): ditto
6654 (rejectChange): ditto
6659 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6662 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6664 * text3.C (gotoInset): YABG (yet another bad getChar)
6666 2003-04-29 André Pönitz <poenitz@gmx.net>
6668 * paragraph.h: make operator= private unimplemented as long as
6671 * ParagraphList.C: whitespace
6674 * paragraph_pimpl.[Ch]:
6675 * paragraph_funcs.C:
6677 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6680 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6682 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6684 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6685 * paragraph.[Ch] (erase):
6686 * paragraph_pimpl.[Ch] (erase): change return type and value
6687 * text2.C (cutSelection): some rework
6689 2003-04-28 John Levon <levon@movementarian.org>
6691 * bufferlist.C: changes for unsaved changes dialog
6693 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6695 * bufferlist.C (newFile): set language (messages_) for new
6698 * buffer.C (readFile): ws changes only.
6700 2003-04-28 André Pönitz <poenitz@gmx.net>
6705 * BufferView_pimpl.C:
6706 * BufferView.C: getParFromID related ParagraphList::iterator changes
6708 2003-04-28 André Pönitz <poenitz@gmx.net>
6710 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6713 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6715 * messages.C: remove one more localedir class variable.
6717 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6719 * messages.C (getLocaleDir): singleton generation function
6721 (Messages): add a default constructor.
6723 * main.C (main): do not setup localedir here, do not call
6726 * gettext.C (_): use it.
6727 (gettext_init): delete funciton
6729 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6731 * gettext.C (getLyXMessages): new singleton generating function.
6733 * buffer.C (updateDocLang): adjust
6735 * Makefile.am (messages.o): add target
6736 (main.o): remove target
6738 2003-04-27 John Levon <levon@movementarian.org>
6743 * lyxvc.C: specify cancel button in Alert::prompt
6745 2003-04-26 John Levon <levon@movementarian.org>
6750 * LyXAction.C: add LFUN_INSET_SETTINGS
6752 * lyxfunc.C: don't enable tabular-feature when there's
6753 just any locking inset
6755 2003-04-26 John Levon <levon@movementarian.org>
6757 * bufferlist.C: re-add Cancel to buffer close question
6759 * lyxfunc.C: fix import UI a bit
6761 2003-04-25 John Levon <levon@movementarian.org>
6763 * gettext.C: remove the broken asserts for now
6765 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6767 * messages.C: make case where setlocale cannot comply work better.
6769 * buffer.C (updateDocLang): new function
6770 (changeLanguage): use it
6773 * text2.C (setCounter): use B_ a bit.
6775 * lyxlayout.C (Read): be sure to trim the label strings.
6777 * messages.C (Messages): fix typo in comment
6779 * buffer.C (readFile): set message_ after file is loaded.
6780 (makeDocBookFile): remove double return
6781 (changeLanguage): reset message_ upon language change.
6782 (B_): new func, use this to get translated buffer strings.
6784 * main.C: add myself and Jean Marc as authors.
6786 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6788 * messages.[hC]: pimplify Messages, and three different pimpls to be
6789 used in different circumstances.
6791 * gettext.[Ch]: change for use with new message code.
6793 2003-04-24 André Pönitz <poenitz@gmx.net>
6795 * factory.C: support for eqref
6797 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6799 * messages.[Ch]: add missing char
6801 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6803 * messages.[Ch]: New files
6805 2003-04-18 John Levon <levon@movementarian.org>
6809 * BufferView_pimpl.C:
6813 * text2.C: remove layout-copy/paste (bug 778)
6815 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6817 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6819 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6821 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6822 if they succeed. Act accordingly.
6824 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6826 * text2.C (setCharFont): adjust
6827 (setCounter): adjust
6828 (insertStringAsLines): adjust
6830 * text.C (leftMargin): adjust
6831 (setHeightOfRow): adjust
6833 * rowpainter.C (paintFirst): adjust
6836 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6838 (isFirstInSequence): ditto
6839 (getEndLabel): ditto
6842 * paragraph.C (getParLanguage): comment out some hard stuff.
6844 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6846 (simpleDocBookOnePar): ditto
6847 (makeDocBookFile): use ParagraphList::iterator
6849 * CutAndPaste.C (pasteSelection): adjust
6851 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6853 * text2.C (getFont): adjust
6854 (getLayoutFont): adjust
6855 (getLabelFont): adjust
6857 * paragraph_funcs.C (TeXOnePar): adjust
6859 * buffer.C (simpleLinuxDocOnePar): adjust
6860 (simpleDocBookOnePar): adjust
6862 * CutAndPaste.C (pasteSelection): adjust
6864 * BufferView.C (getEncoding): adjust
6866 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6868 2003-04-16 John Levon <levon@movementarian.org>
6870 * lyxfind.C: use parlist stuff for search/changes
6872 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6874 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6876 * text2.C (deleteEmptyParagraphMechanism): adjust
6878 * text2.[Ch] (ownerParagraph): delete func (both of them
6880 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6882 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6884 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6886 * ParagraphList.C: prepare for NO_NEXT
6888 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6890 * text2.C (getFont): adjust
6891 (getLayoutFont): adjust
6892 (getLabelFont): adjust
6894 * paragraph.C (getFont): adjust
6895 (getLabelFont): adjust
6896 (getLayoutFont): adjust
6898 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6900 2003-04-15 John Levon <levon@movementarian.org>
6904 * lyx_main.C: handle Include in .ui files
6906 2003-04-15 John Levon <levon@movementarian.org>
6908 * MenuBackend.C: make the doc files length shorter
6911 * ToolbarBackend.C: handle toolbar placement flags,
6914 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6916 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6919 * paragraph_funcs.C (TeXOnePar): adjust
6921 * paragraph.C (getLabelFont): add outerfont arg, adjust
6922 (getLayoutFont): ditto
6923 (simpleTeXOnePar): adjust
6925 * paragraph_pimpl.C (realizeFont): delete func
6927 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6929 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6930 row argument, constify cur argument.
6932 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6934 * text2.C (getFont): adjust
6935 (getLayoutFont): adjust
6936 (getLabelFont): adjust
6938 * paragraph_funcs.C (TeXOnePar): adjust
6939 (outerFont): new func...
6940 (realizeFont): ...moved out from here, changed this to facilitate
6943 * paragraph.C (getFont): take outerfont as arg, adjust
6944 (simpleTeXOnePar): add outerfont arg, adjust
6946 * buffer.C (simpleLinuxDocOnePar): adjust
6947 (simpleDocBookOnePar): adjust
6949 * CutAndPaste.C (pasteSelection): adjust
6951 * BufferView.C (getEncoding): adjust
6953 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6955 * text2.C (setCharFont): adjust
6956 (setCounter): adjust
6958 * text.C (leftMargin): adjust
6959 (setHeightOfRow): adjust
6961 * rowpainter.C (paintFirst): adjust
6964 * paragraph_pimpl.C (realizeFont): adjust
6966 * paragraph.C (isFirstInSequence): move from here...
6967 * paragraph_funcs.C (isFirstInSequence): ...to here
6969 * paragraph.C (outerHook): move from here...
6970 * paragraph_funcs.C (outerHook): ...to here
6972 * paragraph.C (depthHook): move from here...
6973 * paragraph_funcs.C (depthHook): ...to here
6975 * paragraph.C (getEndLabel): move from here...
6976 * paragraph_funcs.C (getEndLabel): ...to here
6978 * text2.C (realizeFont): move from here...
6979 * paragraph_funcs.C (realizeFont): ...to here
6981 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6983 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6985 2003-04-14 Angus Leeming <leeming@lyx.org>
6987 * LColor.[Ch]: scrap LColor mathcursor.
6989 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6991 * lyxlex.[Ch] (text): delete function
6992 * trans.C (Load): adjust
6993 * paragraph_funcs.C (readParToken): adjust
6995 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6997 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6998 vector<char> instead of a char[].
7000 * lyxlex_pimpl.C (getString): adjust
7002 (lex): use getString
7006 * lyxlex.C (text): use pimpl_->getString()
7010 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7012 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7013 (makeFontEntriesLayoutSpecific): temp var for par.size()
7014 (setLayout): temp var for ownerParagraphs().end()
7015 (fullRebreak): temp var for rows().end()
7016 (selectionAsString): temp var for boost::next(startpit), realize
7017 that the while really is a regular for loop.
7018 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7019 setCursor in one place.
7020 (setParagraph): temp vr for ownerParagraphs().end()
7021 (updateCounters): make the while loop a for loop
7022 (cutSelection): temp var for ownerParagraphs().end()
7023 (updateInset): make the do {} while() a regular for loop
7024 (getCursorX): use temp vars
7025 (setCurrentFont): use temp vars
7026 (getColumnNearX): use temp vars
7028 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7030 * text.C (transformChar): use temp var for getChar
7031 (computeBidiTables): use temp var for row->par()
7032 (fill): move temp vars for row->par() and pit->layout() earlier in
7034 (labelFill): use temp var for row->par()
7035 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7036 asc and desc, realize that pit never changes and that firstpit is
7037 just a duplicate and not needed. Exchange rit->par() with pit in a
7039 (breakAgain): use a temp var for boost::next(rit)
7040 (breakAgainOneRow): ditto
7041 (breakParagraph): use a temp var for rows().begin()
7042 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7043 (cursorRightOneWord): use temp var for cursor.par() and
7044 cursor.pos(), remove usage of tmpcursor.
7045 (cursorLeftOneWord): use temp var for cursor.par() and
7046 cursor.pos() only set cur at end of function.
7048 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7050 * text.C, text2.C: exchange all usage of Paragraph::next with
7051 boost::next(ParagraphList::iterator)
7053 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7055 * text2.C (cursorTop): simplify implementation
7056 (cursorBottom): ditto
7057 (setParagraph): use ParagraphList::iterator
7058 (setCurrentFont): adjust
7059 (getColumnNearX): adjust
7060 (cursorRight): adjust
7061 (cursorLeft): remove usage of Paragraph::previous
7062 (cursorUpParagraph): ditto
7063 (deleteEmptyParagraphMechanism): slight cleanup
7065 * text.C (isBoundary): take a Paragraph const & instead of a
7067 (addressBreakPoint): ditto
7068 (leftMargin): remove usage of Paragraph::previous.
7069 (setHeightOfRow): ditto
7070 (cursorLeftOneWord): ditto
7071 (selectNextWordToSpellcheck): ditto
7074 (breakParagraph): remove one usage of Paragraph::next
7075 (redoParagraph): ditto
7076 (acceptChange): ditto
7077 (insertChar): adjust
7078 (rowBreakPoint): adjust
7080 * bufferview_funcs.C (toggleAndShow): adjust
7082 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7084 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7085 methods to access it.
7087 * text.C: Added updateRowPositions to compute all row positions.
7088 Make top_y and getRowNearY() to use the cached y position
7090 2003-04-11 John Levon <levon@movementarian.org>
7092 * text.C (rowBreakPoint): reintroduce the labelEnd
7093 checks, code copied from the row fill stuff. Deep voodoo.
7095 * text.C (fill): add a comment and debugging for the
7098 2003-04-11 John Levon <levon@movementarian.org>
7100 * text.C: make sure fullrow insets get wrapped to the next line,
7101 even when they're in a manual label
7103 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7105 * text2.C (insertParagraph): make it take ParagraphList::iterator
7107 (setLayout): make it return ParagraphList::iterator
7108 (redoParagraphs): ditto
7110 (checkParagraph): ditto
7112 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7114 * text2.C: adjust several funcs.
7115 (realizeFont): take a ParagraphList::iterator as arg.
7116 (getLayoutFont): ditto
7117 (getLabelFont): ditto
7118 (setCharFont): ditto
7120 * text.C: adjust several funcs.
7122 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7124 * text.C (selectNextWordToSpellcheck): don't accidentally
7127 2003-04-10 John Levon <levon@movementarian.org>
7129 * ToolbarBackend.C (getIcon): special handling for
7132 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7134 * text2.C (cursorRight): a getChar assert fixed
7136 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7138 * text2.C (getFont): change to take a ParagraphList::iterator
7139 instead of Paragraph*
7140 Adjust several functions.
7142 * text.C (transformChar): change to take a ParagraphList::iterator
7143 instead of Paragraph*
7144 (singleWidth): ditto
7145 Adjust several functions.
7147 * rowpainter.C: adjust several functions
7148 * rowpainter.h:store a ParagraphList::iterator and not a
7152 2003-04-09 John Levon <levon@movementarian.org>
7157 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7158 and the "help" bits as well
7160 2003-04-09 John Levon <levon@movementarian.org>
7163 * ToolbarBackend.C: allow multiple toolbars
7165 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7167 * undo_funcs.C (setCursorParUndo): adjust
7169 * text_funcs.C (transposeChars): adjust
7171 * text3.C (gotoNextInset): adjust
7174 * text2.C (setLayout): adjust
7175 (changeDepth): adjust
7177 (redoParagraphs): adjust
7178 (selectionAsString): adjust
7179 (setParagraph): adjust
7180 (insertInset): adjust
7181 (cutSelection): adjust
7182 (copySelection): adjust
7183 (pasteSelection): adjust
7184 (insertStringAsLines): adjust
7185 (updateInset): adjust
7186 (setCursor): change to take a ParagraphList::iterator parameter
7187 (setCursorIntern): change to take a ParagraphList::iterator parameter
7188 (setCurrentFont): adjust
7189 (cursorLeft): adjust
7190 (cursorRight): adjust
7191 (deleteEmptyParagraphMechanism): adjust
7193 * text.C (breakParagraph): adjust
7194 (insertChar): adjust
7195 (acceptChange): adjust
7196 (rejectChange): adjust
7197 (selectNextWordToSpellcheck): adjust
7198 (changeCase): adjust
7202 * lyxfind.C (SearchForward): adjust
7203 (SearchBackward): adjust
7204 (nextChange): adjust
7206 * lyxcursor.C (par): adjust
7208 * lyxcursor.h: store a ParagraphList::iterator instead of a
7211 * lyx_cb.C (getPossibleLabel): adjust
7213 * bufferview_funcs.C (toggleAndShow): adjust
7215 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7218 * BufferView.C (removeAutoInsets): adjust
7219 (lockedInsetStoreUndo): adjust
7221 2003-04-09 John Levon <levon@movementarian.org>
7223 * ToolbarBackend.C: try icon without argument
7224 if with argument fails
7226 2003-04-08 John Levon <levon@movementarian.org>
7229 * ToolbarBackend.C: add getIcon(), handle tooltip,
7230 and change from "Icon" to "Item".
7232 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7234 * BufferView.C (lockInset): another bad getchar crunched
7236 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7238 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7241 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7243 * lyxfind.C (searchForward, searchBackwards): bug 782
7245 2003-04-07 John Levon <levon@movementarian.org>
7247 * paragraph.C: remove dead comment
7249 * text.C: remove troublesome depth-fiddling code
7250 in leftMargin() and rightMargin() (bug 1017)
7252 * text.C: fix breaking of rows in nested lists
7255 * text2.C (updateCounters): fix up depth values
7258 2003-04-07 John Levon <levon@movementarian.org>
7260 * BufferView_pimpl.C: clear message when doc finishes resizing,
7261 and after a mouse event
7263 * lyxfunc.C: clear message after exiting inset
7265 2003-04-07 John Levon <levon@movementarian.org>
7267 * bufferview_funcs.C: show math status not outside
7268 status in the statusbar
7270 2003-04-07 John Levon <levon@movementarian.org>
7272 * lyxfunc.C: note status changed after a depth change
7274 2003-04-04 Angus Leeming <leeming@lyx.org>
7276 * LaTeX.h: move AuxInfo operator==, != out of line.
7277 Remove LaTeX virtual destructor; nothing derives from it.
7278 Move operator()() out of public area and rename it startscript().
7279 Change protected for private.
7281 2003-04-04 Angus Leeming <leeming@lyx.org>
7284 * text2.C: remove unneeded #includes.
7286 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7288 * text2.C (dEPM): fix the heigth of the next row
7290 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7292 * text.C: squashed an invalid getChar requester + some ws changes
7294 2003-04-03 John Levon <levon@movementarian.org>
7296 * bufferview_funcs.h:
7297 * bufferview_funcs.C:
7300 * text2.C: make getStatus work for the env depth lfuns
7302 2003-04-03 John Levon <levon@movementarian.org>
7304 * bufferview_funcs.h:
7305 * bufferview_funcs.C:
7308 * text2.C: parlistize decDepth(), by merging it with incDepth()
7310 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7312 * lyxrow.h: store a ParagraphList::iterator instead of a
7313 Paragraph* and adjust other class functions to suit.
7315 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7318 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7320 * text2.C (setCursor): do not anchor to cursor row for the time being
7322 2003-04-02 John Levon <levon@movementarian.org>
7329 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7331 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7333 * paragraph.h: make ParagraphList and ParagraphList::iterator
7334 friends of Paragraph.
7336 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7338 * ParagraphList.C: Use the private next_ and previous_ from
7341 2003-04-01 John Levon <levon@movementarian.org>
7345 * Makefile.am: rename, remove defaults gunk
7348 * MenuBackend.C: remove defaults gunk
7351 * Languages.C: remove defaults gunk
7354 * lyx_main.C: error out if files couldn't be found.
7356 2003-04-02 John Levon <levon@movementarian.org>
7358 * text2.C: make incDepth() use parlist
7360 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7362 * undo_funcs.C (firstUndoParagraph): adjust
7364 * text3.C (gotoInset): adjust
7365 (dispatch): adjust, and rewrite loop.
7367 * text2.C (init): adjust, and rewrite loop.
7368 (redoParagraphs): adjust
7369 (updateInset): adjust, and rewrite loop.
7370 (deleteEmptyParagraphMechanism): adjust
7372 * tabular.C (LyXTabular): adjust
7373 (SetMultiColumn): adjust
7376 * lyxtext.[Ch] (ownerParagraph): delete function
7377 (ownerParagraphs): new function returns a ParagraphList.
7379 * BufferView.C (removeAutoInsets): adjust
7380 (insertErrors): adjust
7381 (setCursorFromRow): adjust
7383 2003-04-01 Angus Leeming <leeming@lyx.org>
7385 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7388 2003-04-02 John Levon <levon@movementarian.org>
7394 * text_funcs.C: make transposeChars a free function
7396 * lyxrow_funcs.C: remove wrong comment
7398 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7401 * rowpainter.C: adjust
7406 * lyxrow_funcs. [Ch]: new files
7408 * lyxrow.[Ch]: remove next and previous pointers
7409 (next,previous): remove accessor functions
7410 (isParEnd): move to lyxrow_funcs
7411 (lastPos): move to lyxrow_funcs
7412 (nextRowIsAllInset): move to lyxrow_funcs
7413 (lastPrintablePos): move to lyxrow_funcs
7414 (numberOfSeparators): move to lyxrow_funcs
7415 (numberOfHfills): move to lyxrow_funcs
7416 (numberOfLabelHfills): move to lyxrow_funcs
7417 (hfillExpansion): move to lyxrow_funcs
7421 * bufferview_funcs.C (toggleAndShow): adjust
7423 * RowList.h: Remove class RowList from file leave just a
7426 * RowList.C: delete file
7428 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7431 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7433 * text3.C (cursorPrevious): adjust
7434 (cursorNext): adjust
7437 * text2.C (redoHeightOfParagraph): adjust
7438 (redoDrawingOfParagraph): adjust
7441 * text.C (breakParagraph): adjust
7442 (insertChar): adjust
7445 * rowpainter.C (RowPainter): adjust
7446 (leftMargin): simplify and adjust
7447 (most rowpainter functions): adjust.
7449 * rowpainter.h: store the row as RowList::iterator not as Row*
7451 * lyxcursor.C (row): taka RowList::iterator as arg
7454 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7457 2003-04-01 Angus Leeming <leeming@lyx.org>
7459 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7460 stuff like bool Bool.
7462 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7464 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7467 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7469 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7472 * lyxtext.h (rows): drop one version and leve a const variant that
7473 returns a RowList::iterator.
7475 2003-03-31 Angus Leeming <leeming@lyx.org>
7477 * text.C (fill): ensure that the signature is the same as that in the
7480 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7482 * text2.C (redoParagraphs): adjust
7483 (updateCounters): adjust
7484 (checkParagraph): adjust
7485 (getColumnNearX): adjust and reformat a bit.
7487 * text.C (top_y): adjust
7489 (leftMargin): adjust
7490 (prepareToPrint): adjust
7492 (getRowNearY): adjust
7494 * lyxtext.h: make rowlist_ mutable.
7496 * RowList.h: add const_iterator
7497 * RowList.C: adjust for RowList::const_iterator.
7499 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7502 2003-03-31 John Levon <levon@movementarian.org>
7505 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7507 * lyx_main.C: set default fonts from using lyx_gui funcs
7509 * exporter.C: pdf_mode moved from lyxrc
7512 * lyxfunc.C: changes from above
7514 2003-03-31 John Levon <levon@movementarian.org>
7516 * lyx_main.C: fix to the last fix
7518 2003-03-31 John Levon <levon@movementarian.org>
7520 * bufferlist.C: "Load original" -> "Load Original"
7526 * format.C: more Alert cleanups
7528 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7530 * text2.C (removeParagraph): make it take a RowList::iterator as
7532 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7533 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7535 * text.C (anchor_row): make it take a RowList::iterator as arg,
7537 (computeBidiTables): make it take a const reference to Row instead
7538 of Row pointer, adjust.
7539 (leftMargin): make it take a RowList::iterator as arg, adjust.
7540 (rowBreakPoint): adjust
7541 (breakAgainOneRow): make it take a RowList::iterator as arg,
7543 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7545 * bufferview_funcs.C (toggleAndShow): adjust
7547 2003-03-30 John Levon <levon@movementarian.org>
7551 * boost-inst.C: moved to support
7553 * several files: changes as a result
7555 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7557 * text2.C (LyXText): adjust.
7559 (removeRow): make it take a RowList::iterator as arg, adjust.
7560 (fullRebreak): adjust
7561 (deleteEmptyParagraphMechanism): adjust
7562 (clearPaint): adjust
7565 * text.C (top_y): adjust
7566 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7567 (breakAgain): make it take a RowList::iterator as arg, adjust.
7568 (breakParagraph): adjust
7569 (insertChar): adjust
7572 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7573 need_break_row, and refresh_row.
7575 * text3.C (dispatch): adjust
7577 * text2.C (checkParagraph): adjust
7579 (setCursorFromCoordinates): adjust
7581 * text.C (top_y): adjust
7583 (getRow): make it return a RowList::iterator, adjust
7584 (getRowNearY): make it return a RowList::iterator, adjust
7586 * text2.C (init): adjust
7587 (insertRow): remove function
7588 (insertParagraph): adjust
7589 (redoParagraphs): adjust
7590 (fullRebreak): adjust
7591 (updateCounters): adjust
7593 * text.C (top_y): rewrite to use RowList iterators.
7595 (setHeightOfRow): rewrite to sue RowList iterators.
7596 (appendParagraph): adjust
7597 (breakAgain): adjust
7598 (breakAgainOneRow): adjust
7599 (breakParagraph): adjust
7601 (getRowNearY): adjust, and remove commented code.
7603 * lyxtext.h (firstRow): delete function
7604 (lastRow): delete function
7605 (rows): new function (const and non-const versions.)
7606 (insertRow): delete function
7608 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7610 2003-03-29 John Levon <levon@movementarian.org>
7612 * BufferView_pimpl.C: always update scrollbar top
7613 because pasting text when we're anchored could mean we
7614 miss an update altogether
7616 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7618 * text2.C (init): use rowlist_.end() and not 0.
7619 (insertRow): change to take a RowList::iterator as arg, adjust
7621 (insertParagraph): change to take a RowList::iterator as arg,
7623 (redoParagraphs): remove some debug msgs.
7625 * text.C (appendParagraph): change to take a RowList::iterator
7626 arg, adjust for this.
7627 (breakAgain): add an assert
7628 (breakAgainOneRow): ditto
7630 2003-03-29 John Levon <levon@movementarian.org>
7632 * text2.C: do not clear selection after inc/decDepth
7635 2003-03-29 John Levon <levon@movementarian.org>
7638 * buffer.C: fix broken strerrors according to Lars
7640 2003-03-29 John Levon <levon@movementarian.org>
7642 * converters.C: more Alert cleanups
7644 2003-03-29 John Levon <levon@movementarian.org>
7646 * bufferview_funcs.C: remove pointless Alert
7648 * buffer.C: fix confusing error message when
7649 a template is chmoded 000
7651 2003-03-29 John Levon <levon@movementarian.org>
7655 * BufferView_pimpl.C: Alert fixes
7659 * tabular-old.C: remove unused table compat reading
7661 2003-03-29 John Levon <levon@movementarian.org>
7666 * lyx_cb.C: more Alert cleanups
7668 * lyxfunc.C: don't allow chktex if not latex document
7670 2003-03-29 John Levon <levon@movementarian.org>
7674 * buffer.C: warnings pushed down from support/,
7677 2003-03-29 John Levon <levon@movementarian.org>
7679 * lyxfunc.C: safety check for C-r (revert)
7681 2003-03-29 John Levon <levon@movementarian.org>
7684 * bufferlist.C: several UI fixes using Alert::prompt.
7685 Fix the pointless looping quit code. Fix stupid revert
7690 * lyx_cb.C: use Alert::prompt
7692 * lyx_main.C: remove a silly question
7694 * lyxfunc.C: remove a couple of silly questions,
7697 2003-03-28 John Levon <levon@movementarian.org>
7699 * text2.C: fix bug 974 (End on empty par)
7701 2003-03-28 John Levon <levon@movementarian.org>
7703 * BufferView_pimpl.C:
7705 * lfuns.h: remove do-nothing math greek lfuns
7707 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7709 * lyxgluelength.h (isValidGlueLength): add default arg on
7710 parameter 2. Remove default arg from friend in class.
7712 * lyxlength.h (isValidLength): add default arg on parameter 2.
7713 Remove default arg from friend in class.
7715 * text2.C (LyXText): adjust, initialize refresh_row.
7719 (insertParagraph): adjst
7720 (redoParagraphs): adjust
7721 (fullRebreak): adjust
7722 (updateCounters): adjust
7723 (deleteEmptyParagraphMechanism): first attempt at fixing a
7726 * text.C (top_y): adjust
7727 (setHeightOfRow): adjust
7729 (getRowNearY): adjust
7731 * lyxtext.h: include RowList.h
7732 (~LyXText): not needed anymore, deleted.
7733 (firstRow): modify for RowList
7734 (lastRow): new function
7735 Delete firstrow and lastrow class variables, add a Rowlist
7736 rowlist_ class variable.
7738 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7741 * RowList.C (insert): fix case where it == begin().
7743 2003-03-26 Angus Leeming <leeming@lyx.org>
7745 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7746 the thesaurus dialog.
7748 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7750 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7752 * RowList.[Ch]: new files
7754 * ParagraphList.C (erase): handle the case where it == begin
7757 2003-03-25 John Levon <levon@movementarian.org>
7761 * aspell.C: add new aspell support
7764 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7767 2003-03-25 Angus Leeming <leeming@lyx.org>
7770 * LyXAction.C (init): new LFUN_INSET_INSERT.
7772 * BufferView_pimpl.C (dispatch): split out part of the
7773 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7775 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7778 2003-03-25 Angus Leeming <leeming@lyx.org>
7780 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7782 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7785 * text3.C: remove useless row->height(0)
7787 2003-03-25 John Levon <levon@movementarian.org>
7791 * text3.C: rename the refreshing stuff to better names
7793 2003-03-24 John Levon <levon@movementarian.org>
7795 * BufferView_pimpl.h:
7796 * BufferView_pimpl.C: update layout choice on a mouse
7799 2003-03-23 John Levon <levon@movementarian.org>
7801 * Makefile.am: fix commandtags.h reference
7803 2003-03-22 John Levon <levon@movementarian.org>
7805 * BufferView_pimpl.C:
7810 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7812 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7815 * text.C: take the rtl methods out of line
7817 2003-03-21 André Pönitz <poenitz@gmx.net>
7819 * metricsinfo.[Ch]: new files containing structures to be passed around
7820 during the two-phase-drawing...
7822 2003-03-21 André Pönitz <poenitz@gmx.net>
7824 * lyxtextclass.C: read 'environment' tag.
7826 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7828 * text2.C (removeRow): fix bug 964
7830 2003-03-20 John Levon <levon@movementarian.org>
7834 * text2.C: paint cleanups. Inset::update() dropped font
7837 2003-03-19 John Levon <levon@movementarian.org>
7839 * lyxfunc.C: only fitcursor/markDirty if available()
7841 2003-03-19 John Levon <levon@movementarian.org>
7843 * commandtags.h: rename to ...
7845 * lfuns.h: ... this, and renumber / cleanup
7847 2003-03-19 John Levon <levon@movementarian.org>
7849 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7850 fit the cursor after an lfun
7854 * BufferView_pimpl.h:
7855 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7857 * LyXAction.C: layout-character should have ReadOnly
7859 * ParagraphParameters.C:
7861 * bufferview_funcs.C:
7868 * undo_funcs.C: changes from above
7870 2003-03-18 John Levon <levon@movementarian.org>
7872 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7873 remove it from update()
7875 * lyxfunc.C: update layout choice after an lfun
7877 * text3.C: remove extra updateLayoutChoice()s
7879 2003-03-18 John Levon <levon@movementarian.org>
7881 * text.C: top_y change means full repaint, fix
7882 a drawing bug with cursor movement
7884 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7888 * text2.C: anchor row on setCursor
7890 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7892 * lyxtext.h: remove almost all mutable keywords
7895 * text3.C: remove const keywords accordingly
7897 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7899 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7901 (TeXEnvironment): ditto
7904 2003-03-17 John Levon <levon@movementarian.org>
7906 * text.C (rowBreakPoint): remove attempt to fix displayed
7907 math insets inside a manual label
7909 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7911 * lyxtext.h: remove BufferView* as first arg from almost all class
7913 * other files: adjust.
7915 2003-03-17 John Levon <levon@movementarian.org>
7919 * text2.C: more paint cleanups
7921 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7924 * rowpainter.C: remove "smart" background painting code
7926 2003-03-16 John Levon <levon@movementarian.org>
7931 * text3.C: add helper functions for setting refresh_row/y
7933 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7935 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7936 newline inset which *can* get inserted in the pass_thru layouts.
7937 This is primarily for literate documents.
7939 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7941 * buffer.C: increment LYX_FORMAT to 223
7943 2003-03-14 André Pönitz <poenitz@gmx.net>
7945 * textclass.h: prepare for environment handling, ws changes
7946 * lyxlayout.C: read latexheader and latexfooter tags
7948 2003-03-14 John Levon <levon@movementarian.org>
7950 * text2.C: rewrite ::status() a bit
7952 2003-03-13 John Levon <levon@movementarian.org>
7954 * lyxtext.h: add some docs
7956 2003-03-13 John Levon <levon@movementarian.org>
7961 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7963 2003-03-13 John Levon <levon@movementarian.org>
7965 * text3.C: fix appendix redrawing
7967 2003-03-13 John Levon <levon@movementarian.org>
7969 * text.C (setHeightOfRow):
7971 * rowpainter.C: make appendix mark have the text
7972 "Appendix" so the user knows what it is
7975 * LColor.C: s/appendixline/appendix/ from above
7977 2003-03-13 John Levon <levon@movementarian.org>
7979 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7981 * text.C: fix a getChar(pos) bug properly
7983 2003-03-13 Angus Leeming <leeming@lyx.org>
7986 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7987 Probably only temporary. Let's see how things pan out.
7989 * BufferView.C (unlockInset):
7990 * BufferView_pimpl.C (fitCursor):
7991 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7993 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7994 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7996 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7997 new functions that convert ParagraphParameters to and from a string.
7999 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8000 BufferView::Pimpl's dispatch.
8001 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8003 2003-03-13 André Pönitz <poenitz@gmx.net>
8007 * factory.C: make it aware of InsetEnv
8009 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8011 * text2.C (setCursor): never ask for one past last
8012 (setCursor): add some debugging messages.
8014 * text.C (singleWidth): never ask for one past last
8015 (singleWidth): ditto
8017 (rightMargin): ditto
8018 (rowBreakPoint): ditto
8019 (setHeightOfRow): ditto
8020 (prepareToPrint): ditto
8022 * rowpainter.C (paintBackground): never ask for one past last
8023 (paintText): never ask for one past last
8025 * paragraph_pimpl.C (getChar): make the assert stricter, never
8026 allow the one past last pos to be taken
8028 * paragraph.C (getChar): ws changes only
8030 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8031 (numberOfSeparators): ditto
8032 (numberOfHfills): ditto
8034 2003-03-12 John Levon <levon@movementarian.org>
8040 * paragraph_funcs.C: fix per-buffer authorlists
8042 2003-03-12 John Levon <levon@movementarian.org>
8044 * text.C: fix newline in right address
8046 2003-03-12 Angus Leeming <leeming@lyx.org>
8048 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8049 duplicate those in LyXFunc::dispatch.
8053 * ToolbarDefaults.C:
8054 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8055 Add LFUN_FONTFREE_UPDATE.
8057 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8058 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8060 * bufferview_func.[Ch]: several new functions to facilliate
8061 transfer of data to and from the character dialog.
8063 2003-03-12 John Levon <levon@movementarian.org>
8068 * paragraph_funcs.C:
8069 * paragraph_pimpl.C:
8073 * text3.C: remove META_NEWLINE in favour of an inset
8076 * rowpainter.C: remove paintNewline (done by inset)
8078 2003-03-12 John Levon <levon@movementarian.org>
8080 * paragraph_pimpl.C: complain about bad getChar()s
8081 for a while at least
8083 2003-03-12 John Levon <levon@movementarian.org>
8086 * buffer.C: move paragraph read into a separate function,
8087 a little renaming to reflect that.
8090 * bufferparams.C: remove the author_ids map, not necessary now
8093 * factory.C: moved Buffer::readInset to here
8095 * paragraph_funcs.h:
8096 * paragraph_funcs.C: readParagraph free function moved from
8099 * tabular.C: name change
8101 2003-03-12 John Levon <levon@movementarian.org>
8104 * ParagraphParameters.C: move par params input to
8107 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8108 behave like a normal read from the stream wrt reading
8109 a line vs. a \\token
8111 2003-03-12 John Levon <levon@movementarian.org>
8114 * ParagraphParameters.h:
8115 * ParagraphParameters.C: move output code to a
8118 2003-03-12 John Levon <levon@movementarian.org>
8120 * BufferView.C (insertLyXFile):
8123 * tabular.C: use a parlist iterator for creating the
8126 2003-03-12 John Levon <levon@movementarian.org>
8128 * buffer.C: make current_change static local not
8131 2003-03-12 John Levon <levon@movementarian.org>
8133 * buffer.C: fix insertStringAsLines for change tracking
8135 2003-03-12 John Levon <levon@movementarian.org>
8142 * bufferparams.C: move author list into params. Rename some
8143 functions. Move the header reading into a separate token
8144 loop. Move the header token reading into BufferParams.
8146 2003-03-12 John Levon <levon@movementarian.org>
8148 * changes.C: put debug inside lyxerr.debugging() checks
8150 2003-03-11 André Pönitz <poenitz@gmx.net>
8152 * factory.C: make it aware of InsetHFill
8154 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8156 * buffer.C (latexParagraphs): move function from here...
8157 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8160 2003-03-10 Angus Leeming <leeming@lyx.org>
8162 * LyXAction.C (init): fix bug in poplating array with multiple entries
8163 with the same LFUN (spotted by JMarc).
8165 2003-03-10 John Levon <levon@movementarian.org>
8168 * text2.C: move getColumnNearX() near its
8171 2003-03-10 John Levon <levon@movementarian.org>
8173 * text.C: fix break before a minipage
8175 2003-03-10 John Levon <levon@movementarian.org>
8177 * text.C: fix the last commit
8179 2003-03-09 John Levon <levon@movementarian.org>
8183 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8184 bug 365 (don't break before insets unless needed). Don't
8185 return a value > last under any circumstances.
8187 2003-03-09 Angus Leeming <leeming@lyx.org>
8189 * BufferView_pimpl.C (trackChanges, dispatch): call
8190 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8192 2003-03-09 Angus Leeming <leeming@lyx.org>
8194 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8195 than Dialogs::showAboutlyx().
8197 2003-03-09 Angus Leeming <leeming@lyx.org>
8199 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8200 than Dialogs::showTabularCreate().
8202 2003-03-09 John Levon <levon@movementarian.org>
8206 * text2.C: 3rd arg to nextBreakPoint was always the same.
8209 2003-03-08 John Levon <levon@movementarian.org>
8216 * text2.C: Remove the "main" bit from the "main body"
8219 2003-03-08 John Levon <levon@movementarian.org>
8221 * text.C (leftMargin): The left margin of an empty
8222 manual label paragraph should not include the label width
8225 * text.C (prepareToPrint): don't attempt to measure hfills
8226 for empty manual label paragraphs - the answer should be 0
8228 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8230 * CutAndPaste.C: remove commented code and reindent.
8232 2003-03-08 John Levon <levon@movementarian.org>
8235 * lyxfunc.C: move reloadBuffer()
8238 * BufferView.C: to here
8240 * lyxvc.C: add comment
8243 * vc-backend.C: call bv->reload() to avoid
8244 getStatus() check on MENURELOAD
8246 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8248 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8249 to an old format .dep file.
8251 2003-03-07 Angus Leeming <leeming@lyx.org>
8253 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8254 when the LFUN_MOUSE_RELEASE should have been handled by
8255 inset->localDispatch.
8257 2003-03-07 Angus Leeming <leeming@lyx.org>
8259 * BufferView_pimpl.C (dispatch):
8260 * LyXAction.C (init):
8261 * ToolbarDefaults.C (init):
8263 * lyxfunc.C (getStatus):
8264 remove LFUN_INSET_GRAPHICS.
8266 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8268 2003-03-07 Angus Leeming <leeming@lyx.org>
8271 * LyXAction.C (init):
8272 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8274 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8277 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8279 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8280 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8282 2003-03-07 Angus Leeming <leeming@lyx.org>
8284 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8287 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8289 * ParagraphList.C (front): new function
8292 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8294 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8295 and top_row_offset_. removed var first_y.
8297 * text2.C (LyXText, removeRow):
8299 * BufferView_pimpl.C:
8300 use these methods instead of using first_y
8302 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8304 * text2.C (pasteSelection): adjust for checkPastePossible
8306 * CutAndPaste.C: remove Paragraph * buf and replace with
8307 ParagraphList paragraphs.
8308 (DeleteBuffer): delete
8309 (cutSelection): change the tc type to textclass_type
8310 (copySelection): change the tc type to textclass_type
8311 (copySelection): adjust for ParagraphList
8312 (pasteSelection): change the tc type to textclass_type
8313 (pasteSelection): adjust for Paragraphlist
8314 (nrOfParagraphs): simplify for ParagraphList
8315 (checkPastePossible): simplify for ParagraphList
8316 (checkPastePossible): remove unused arg
8318 * ParagraphList.C (insert): handle the case where there are no
8321 * CutAndPaste.h: make CutAndPaste a namespace.
8323 * text3.C (dispatch): adjust
8325 * text.C (breakParagraph): add a ParagraphList as arg
8327 * paragraph_funcs.C (breakParagraph): change to take a
8328 BufferParams and a ParagraphList as args.
8329 (breakParagraphConservative): ditto
8330 (mergeParagraph): ditto
8331 (TeXDeeper): add a ParagraphList arg
8332 (TeXEnvironment): ditto
8335 * buffer.C (readLyXformat2): adjust
8336 (insertStringAsLines): adjust
8337 (latexParagraphs): adjust
8339 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8340 (cutSelection): adjust
8341 (pasteSelection): adjust
8343 * BufferView_pimpl.C (insertInset): adjust
8345 2003-03-05 Angus Leeming <leeming@lyx.org>
8348 * LyXAction.C (init):
8349 * BufferView_pimpl.C (dispatch):
8350 * lyxfunc.C (getStatus):
8351 remove LFUN_CHILD_INSERT.
8353 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8355 2003-03-05 Angus Leeming <leeming@lyx.org>
8358 * LyXAction.C (init):
8359 * src/factory.C (createInset):
8360 * lyxfunc.C (getStatus):
8361 * text3.C (dispatch):
8362 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8364 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8366 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8368 * ParagraphList.C (insert): handle insert right before end()
8369 (erase): fix cases where it can be first or last paragraph.
8371 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8373 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8374 Paragraph::next and Paragraph::previous
8377 * text.C (breakParagraph): adjust
8379 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8380 BufferParams& as arg.
8381 (breakParagraph): use ParagraphList::insert
8382 (breakParagraphConservative): take a Buffer* instead of a
8383 BufferParams& as arg.
8384 (breakParagraphConservative): use ParagraphList::insert.
8386 * buffer.C (insertStringAsLines): un-const it
8387 (insertStringAsLines): adjust
8389 * ParagraphList.C (insert): new function
8391 * CutAndPaste.C (pasteSelection): adjust
8393 * text.C (backspace): adjust
8395 * tabular.C (SetMultiColumn): adjust
8397 * CutAndPaste.C (cutSelection): adjust
8398 (pasteSelection): adjust
8400 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8401 Buffer const * as arg
8403 * ParagraphList.C (erase): new function
8404 * paragraph_funcs.C (mergeParagraph): use it
8405 (mergeParagraph): make it take a Buffer* instead of a
8406 BufferParams* as arg
8408 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8410 (breakParagraphConservative): ditto
8412 * paragraph.h: remove the breakParagraph friend
8414 * paragraph.C (eraseIntern): new function
8415 (setChange): new function
8417 * paragraph_funcs.C (mergeParagraph): make it take a
8418 ParagraphList::iterator instead of a Paragraph *, adjust
8421 * paragraph.h: move an #endif so that the change tracking stuff
8422 also works in the NO_NEXT case.
8424 2003-03-04 Angus Leeming <leeming@lyx.org>
8427 * LyXAction.C: new LFUN_INSET_MODIFY.
8429 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8430 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8432 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8434 * several files: ws changes only
8436 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8437 (TeXEnvironment): ditto
8440 * buffer.C (makeLaTeXFile): adjust
8441 (latexParagraphs): make it take ParagraphList::iterator as args
8443 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8445 * buffer.C (latexParagraphs): adjust
8447 * paragraph.C (TeXOnePar): move function...
8448 (optArgInset): move function...
8449 (TeXEnvironment): move function...
8450 * paragraph_pimpl.C (TeXDeeper): move function...
8451 * paragraph_funcs.C: ...here
8453 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8455 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8457 * buffer.C (readInset): remove compability code for old Figure and
8460 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8462 * buffer.C: ws changes
8465 * BufferView_pimpl.C: ditto
8468 * bufferlist.h: ditto
8472 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8474 * converter.[Ch]: split into itself +
8477 * Makefile.am: += graph.[Ch] + format.[Ch]
8484 * lyxrc.C: added #include "format.h"
8486 2003-02-27 Angus Leeming <leeming@lyx.org>
8488 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8491 * factory.C (createInset): add "label" to the factory.
8493 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8494 string and do no more.
8496 2003-02-27 Angus Leeming <leeming@lyx.org>
8499 * LyXAction.C (init):
8500 * factory.C (createInset):
8501 * BufferView_pimpl.C (dispatch):
8502 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8504 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8506 * lyxfunc.C (dispatch):
8507 * text3.C (dispatch): pass name to params2string.
8509 2003-02-26 Angus Leeming <leeming@lyx.org>
8511 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8513 Rearrange the ~includes. Strip out the unnecessary ones.
8515 * factory.C (createInset): reformat.
8516 create new insets for the various LFUN_XYZ_APPLY lfuns.
8518 2003-02-26 John Levon <levon@movementarian.org>
8521 * lyxrow.C: add isParStart,isParEnd helpers
8523 * paragraph.h: make isInserted/DeletedText take refs
8525 * paragraph_funcs.h:
8526 * paragraph_funcs.C: remove #if 0'd code
8531 * text.C: use lyxrow helpers above.
8532 Move draw and paint routines to RowPainter.
8533 Make several methods use refs not pointers.
8534 Make backgroundColor() const.
8535 Add markChangeInDraw(), isInInset().
8536 Merge changeRegionCase into changeCase.
8537 Make workWidth() shouldn't-happen code into an Assert.
8540 * rowpainter.C: new class for painting a row.
8543 * vspace.C: make inPixels take a ref
8545 2003-02-26 Angus Leeming <leeming@lyx.org>
8547 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8550 2003-02-25 John Levon <levon@movementarian.org>
8552 * ispell.C: give the forked command a more accurate name
8554 2003-02-22 John Levon <levon@movementarian.org>
8557 * toc.C: make TocItem store an id not a Paragraph *
8560 2003-02-21 Angus Leeming <leeming@lyx.org>
8562 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8563 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8564 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8565 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8566 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8567 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8569 * BufferView_pimpl.C (dispatch):
8570 * LyXAction.C (init):
8571 * factory.C (createInset):
8572 * lyxfunc.C (getStatus, dispatch):
8573 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8575 2003-02-21 Angus Leeming <leeming@lyx.org>
8577 * BufferView_pimpl.C (MenuInsertLyXFile):
8578 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8579 * lyxfunc.C (menuNew, open, doImport):
8580 no longer pass a LyXView & to fileDlg.
8582 2003-02-21 Angus Leeming <leeming@lyx.org>
8584 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8585 * LyXAction.C: change, BIBKEY to BIBITEM.
8586 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8587 Change InsetBibKey to InsetBibitem.
8588 Change BIBKEY_CODE to BIBITEM_CODE.
8589 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8590 * factory.C: replace insetbib.h with insetbibitem.h.
8591 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8592 * paragraph.C: replace insetbib.h with insetbibitem.h.
8593 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8594 Change bibkey() to bibitem().
8595 * text.C: remove insetbib.h.
8596 * text2.C: replace insetbib.h with insetbibitem.h.
8597 change bibkey() to bibitem().
8598 * text3.C: remove insetbib.h.
8599 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8601 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8603 * lyxrc.C (output): enclose user email in quotes (in case there are
8606 2003-02-18 John Levon <levon@movementarian.org>
8608 * buffer.h: add std::
8610 2003-02-17 John Levon <levon@movementarian.org>
8616 * pspell.C: reworking. Especially in ispell, a large
8617 number of clean ups and bug fixes.
8619 * lyxfunc.C: fix revert to behave sensibly
8621 2003-02-17 André Pönitz <poenitz@gmx.net>
8624 * commandtags.h: new LFUN_INSERT_BIBKEY
8634 * paragraph_func.C: remove special bibkey handling
8636 2003-02-17 John Levon <levon@movementarian.org>
8638 * text.C (Delete): fix case where delete at the end of
8639 the very first paragraph would not merge the pars
8641 2003-02-17 John Levon <levon@movementarian.org>
8643 * lyxrow.C: fix lastPrintablePos()
8645 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8647 * bufferparams.C (writeLaTeX): add a std:here
8649 * buffer.C: and remove a using directive there
8651 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8653 * buffer.C (makeLaTeXFile): move the code that generates the
8656 * bufferparams.C (writeLaTeX): ... in this new method
8658 * LaTeXFeatures.C (getEncodingSet): make const
8659 (getLanguages): make const
8661 * MenuBackend.C (binding): returns the binding associated to this
8663 (add): sets the status of each item by calling getStatus. Adds
8665 (read): add support for OptSubMenu
8666 (expand): remove extra separator at the end of expanded menu
8668 2003-02-15 John Levon <levon@movementarian.org>
8671 * BufferView_pimpl.C:
8673 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8674 inset code that had no actual effect. Remove unneeded status
8677 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8679 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8682 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8684 * text.C (drawLengthMarker): also draw an arrow marker for
8685 symbolic lengths (medskip...)
8687 2003-02-14 John Levon <levon@movementarian.org>
8690 * tabular.C: better method names
8692 2003-02-14 John Levon <levon@movementarian.org>
8694 * BufferView_pimpl.C:
8699 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8700 it's a more accurate name. Remove some pointless uses.
8702 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8704 * text2.C (LyXText): change order of initilizers to shut off
8707 2003-02-14 John Levon <levon@movementarian.org>
8709 * buffer.C: use ParIterator for getParFromID()
8713 * paragraph_pimpl.h:
8714 * paragraph_pimpl.C: remove unused getParFromID()
8716 2003-02-14 John Levon <levon@movementarian.org>
8718 * buffer.C: remove some very old #if 0'd parse code
8720 2003-02-13 John Levon <levon@movementarian.org>
8724 * text2.C: move hfillExpansion(), numberOfSeparators(),
8725 rowLast(), rowLastPrintable(), numberofHfills(),
8726 numberOfLabelHfills() ...
8729 * lyxrow.C: ... to member functions here.
8734 * text.C: remove LyXText::beginningOfMainBody(), and call
8735 p->beginningOfMainBody() directly. Move the check for
8736 LABEL_MANUAL into the latter.
8743 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8749 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8750 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8752 2003-02-13 John Levon <levon@movementarian.org>
8754 * CutAndPaste.C: remove debug
8756 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8758 * paragraph.C (asString): remove two unused variables
8760 * lyxtextclass.C (readTitleType):
8762 (LyXTextClass): handle new members titletype_ and titlename_
8764 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8766 2003-02-09 John Levon <levon@movementarian.org>
8769 * buffer.C: replace hand-coded list with a map for the dep clean
8771 2003-02-08 John Levon <levon@movementarian.org>
8773 * LaTeX.C: consolidate code into showRunMessage() helper
8775 2003-02-08 John Levon <levon@movementarian.org>
8780 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8781 and pass the size in explicitly
8783 * BufferView_pimpl.h:
8784 * BufferView_pimpl.C:
8786 * BufferView.C: add getCurrentChange()
8788 * BufferView_pimpl.h:
8789 * BufferView_pimpl.C: handle change lfuns
8791 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8792 for changes. Mark pasted paragraphs as new.
8794 * support/lyxtime.h:
8795 * support/lyxtime.C:
8796 * DepTable.C: abstract time_t as lyx::time_type
8799 * LColor.C: add colours for new text, deleted text, changebars
8801 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8802 package use "usenames" option.
8806 * LyXAction.C: add change lfuns
8810 * author.C: author handling
8813 * buffer.C: add a per-buffer author list, with first entry as
8814 current author. Handle new .lyx tokens for change tracking. Output
8815 author list to .lyx file. Output dvipost stuff to .tex preamble.
8816 Bump lyx format to 222.
8819 * bufferlist.C: add setCurrentAuthor() to reset current author details
8823 * bufferparams.C: add param for tracking
8825 * bufferview_funcs.C: output change info in minibuffer
8829 * changes.C: add change-tracking structure
8832 * debug.C: add CHANGES debug flag
8835 * lyxfind.C: add code for finding the next change piece
8838 * lyxrc.C: add user_name and user_email
8841 * lyxrow.C: add a metric for the top of the text line
8844 * text.C: implement accept/rejectChange()
8847 * text.C: paint changebars. Paint new/deleted text in the chosen
8848 colours. Strike through deleted text.
8852 * paragraph_pimpl.h:
8853 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8854 in the current change to the insert functions. Rework erase to
8855 mark text as deleted, adding an eraseIntern() and a range-based
8856 erase(). Implement per-paragraph change lookup and
8859 * paragraph_funcs.C: Fixup paste for change tracking.
8861 * tabular.C: mark added row/columns as new.
8863 * text.C: fix rowLast() to never return -1. Don't allow
8864 spellchecking of deleted text. Track transpose changes. Don't
8865 allow paragraph break or merge where appropriate.
8867 * text2.C: leave cursor at end of selection after a cut.
8869 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8871 * text.C (getLengthMarkerHeight):
8872 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8873 visible on screen too.
8875 2003-02-07 John Levon <levon@movementarian.org>
8877 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8879 2003-02-05 Angus Leeming <leeming@lyx.org>
8881 * lyxserver.C (read_ready): revert my patch of 11 September last year
8882 as it sends PC cpu through the roof. Presumably this means that
8883 the lyxserver will no longer run on an Alpha...
8885 2003-01-30 Angus Leeming <leeming@lyx.org>
8887 * factory.C (createInset): create an InsetCommandParam of type "index"
8888 and use it to 'do the right thing'.
8890 * text2.C (getStringToIndex): ensure that cursor position is always
8891 reset to the reset_cursor position.
8893 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8895 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8898 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8902 * lyxfunc.C: Output messages with identical spelling, punctuation,
8905 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8907 * MenuBackend.C (expandFormats): List only viewable export formats
8910 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8913 * lyxfunc.C (getStatus): Make sure that formats other than
8914 "fax" can also be disabled
8916 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8918 * text3.C (dispatch): put the lfuns that insert insets in 3
8919 groups, and call doInsertInset with appropriate arguments.
8920 (doInsertInset): new function, that creates an inset and inserts
8921 it according to some boolean parameters.
8923 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8925 * buffer.C (readFile): remember to pass on 'par' when calling
8926 readFile recursively.
8928 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8930 * MenuBackend.C (expandFormats): add "..." to import formats.
8932 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8934 * paragraph.C (asString): Remove XForms RTL hacks.
8936 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8937 * buffer.C: fix typo
8939 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8941 * Makefile.am (LIBS): delete var
8942 (lyx_LDADD): add @LIBS@ here instead.
8944 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8946 * Clarify the meaning of "wheel mouse jump"
8948 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8950 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8953 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8955 * importer.C (Loaders): do not preallocate 3 elements in the
8956 vector, since one ends up with 6 elements otherwise
8958 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8960 * DepTable.C (write): write the file name as last element of the
8961 .dep file (because it may contain spaces)
8962 (read): read info in the right order
8964 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8966 * paragraph_pimpl.C (simpleTeXBlanks):
8967 (simpleTeXSpecialChars):
8968 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8970 * tabular.C (latex): add some missing case statements. Reindent.
8972 * MenuBackend.C (expandToc): remove unused variable.
8974 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8983 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8986 2003-01-05 John Levon <levon@movementarian.org>
8989 * BufferView.C: add getEncoding()
8992 * kbsequence.C: do not store last keypress
8995 * lyxfunc.C: store last keypress here instead. Pass encoding
8998 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9000 * lyx_main.C (init): remove annoying error message when following
9001 symbolic links (bug #780)
9003 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9005 * text.C (insertChar):
9006 * lyxrc.C (getDescription): remove extra spaces
9008 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9010 * lyxrc.C (getDescription): remove extra spaces
9012 2002-12-20 John Levon <levon@movementarian.org>
9014 * text3.C: hack fix for page up/down across tall rows
9016 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9018 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9021 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9023 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9024 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9025 thesaurus is not compiled in
9027 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9029 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9031 2002-12-16 Angus Leeming <leeming@lyx.org>
9034 * lyx_main.C (init): remove override_x_deadkeys stuff.
9036 2002-12-12 John Levon <levon@movementarian.org>
9038 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9039 insert. Only remove shift modifier under strict
9042 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9044 * MenuBackend.C (expandToc): fix crash.
9046 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9048 * MenuBackend.C (expandToc): gettext on float names.
9050 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9052 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9053 implement bool empty() [bug 490]
9055 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9057 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9059 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9061 * several files: ws changes
9063 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9065 * text2.C (setCounter): clean up a bit, use boost.format.
9066 (updateCounters): initialize par upon declaration.
9068 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9069 if the layout exists. We do not just store the layout any more.
9070 (SwitchLayoutsBetweenClasses): use boost.format
9072 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9074 * converter.C (convert): if from and to files are the same, use a
9075 temporary files as intermediary
9077 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9080 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9082 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9084 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9086 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9088 * tabular.C (asciiPrintCell): use string(size, char) instead of
9091 * sgml.C (openTag): fix order of arguments to string constructor
9094 * lyxfunc.C (dispatch): use boost.format
9096 * lots of files: change "c" -> 'c'
9098 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9100 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9102 2002-11-25 Angus Leeming <leeming@lyx.org>
9104 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9106 * lyx_main.C (init): compile fix.
9108 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9110 * lyx_cb.C (start): boost.formatify
9111 do not include <iostream>
9113 * lengthcommon.C: ws only
9115 * boost-inst.C,BoostFormat.h: add more explict instantations
9117 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9119 * lots of files: handle USE_BOOST_FORMAT
9121 2002-11-21 John Levon <levon@movementarian.org>
9123 * pspell.C: fix compile
9125 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9127 * lyxfunc.C (dispatch): use boost::format
9131 * lyxfont.C (stateText): use boost::format
9133 * lyx_main.C (LyX): use boost::format
9135 (queryUserLyXDir): ditto
9138 (typedef boost::function): use the recommened syntax.
9140 * importer.C (Import): use boost::format
9142 * debug.C (showLevel): use boost::format
9144 * converter.C (view): use boost::format
9149 * bufferview_funcs.C (currentState): use boost::format
9151 * bufferlist.C (emergencyWrite): use boost::format
9153 * buffer.C (readLyXformat2): use boost::format
9154 (parseSingleLyXformat2Token): ditto
9156 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9158 * LaTeX.C (run): use boost::format
9160 * Chktex.C (scanLogFile): use boost::format
9162 * BufferView_pimpl.C (savePosition): use boost::format
9163 (restorePosition): ditto
9164 (MenuInsertLyXFile): ditto
9166 * BoostFormat.h: help file for explicit instation.
9168 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9170 * tabular.C (latex): Support for block alignment in fixed width
9173 2002-11-17 John Levon <levon@movementarian.org>
9175 * BufferView_pimpl.C:
9177 * lyxfunc.C: split filedialog into open/save
9179 2002-11-08 Juergen Vigna <jug@sad.it>
9181 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9182 by my last patch (hopefully).
9184 2002-11-08 John Levon <levon@movementarian.org>
9193 * toc.C: ParConstIterator, and use it (from Lars)
9195 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9197 * lyxtextclass.[Ch]: revise and add doxygen comments
9199 2002-11-07 John Levon <levon@movementarian.org>
9201 * text.C: fix progress value for spellchecker
9203 * toc.C: fix navigate menu for insetwrap inside minipage
9205 * paragraph_funcs.C: added FIXME for suspect code
9207 2002-11-07 John Levon <levon@movementarian.org>
9209 * BufferView_pimpl.C: fix redrawing of insets
9212 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9214 * text2.C (updateCounters): fix bug 668
9216 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9218 * text3.C (dispatch): Do not make the buffer dirty when moving the
9221 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9223 * vc-backend.C: STRCONV
9226 * text2.C (setCounter): STRCONV
9228 * paragraph.C (asString): STRCONV
9230 * lyxlength.C (asString): STRCONV
9231 (asLatexString): ditto
9233 * lyxgluelength.C (asString): STRCONV
9234 (asLatexString): ditto
9236 * lyxfunc.C (dispatch): STRCONV
9239 * lyxfont.C (stateText): STRCONV
9241 * importer.C (Import): STRCONV
9243 * counters.C (labelItem): STRCONV
9244 (numberLabel): ditto
9245 (numberLabel): remove unused ostringstream o
9250 * bufferview_funcs.C (currentState): STRCONV
9252 * buffer.C (readFile): STRCONV
9253 (asciiParagraph): ditto
9254 (makeLaTeXFile): ditto
9256 * Spacing.C (writeEnvirBegin): STRCONV
9258 * LaTeXFeatures.C (getLanguages): STRCONV
9259 (getPackages): ditto
9261 (getBabelOptions): ditto
9262 (getTClassPreamble): ditto
9263 (getLyXSGMLEntities): ditto
9264 (getIncludedFiles): ditto
9268 (scanAuxFile): ditto
9271 * LString.h: add the STRCONV macros
9273 * BufferView_pimpl.C (savePosition): STRCONV
9274 (restorePosition): ditto
9275 (MenuInsertLyXFile): ditto
9277 * vc-backend.C (scanMaster): change from submatch[...] to
9280 * funcrequest.C: include config.h
9282 * factory.C: include config.h
9284 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9286 * box.C: include config.h
9288 * LaTeX.C (scanAuxFile): change from submatch[...] to
9292 2002-10-25 Angus Leeming <leeming@lyx.org>
9294 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9296 * ispell.[Ch] (setError): new method.
9297 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9298 Use setError() insetead of goto END.
9300 * lyx_cb.C (AutoSave): move out child process into new class
9303 2002-10-30 John Levon <levon@movementarian.org>
9305 * text3.C: make start appendix undoable
9307 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9309 * lyxlength.C (inPixels): Fix returned value.
9311 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9314 2002-10-24 Angus Leeming <leeming@lyx.org>
9316 * lyxgluelength.h: no need to forward declare BufferParams
9317 or BufferView, so don't.
9319 2002-10-21 John Levon <levon@movementarian.org>
9321 * BufferView.C: menuUndo ->undo, redo
9323 * BufferView.h: document, remove dead, make some methods private
9325 * paragraph_funcs.h:
9326 * paragraph_funcs.C:
9327 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9332 * sgml.C: move sgml open/close tag into sgml.C
9334 * bufferview_funcs.h: unused prototype
9337 * lyxfunc.C: remove unused
9340 * text.C: remove unused
9342 2002-10-21 John Levon <levon@movementarian.org>
9346 * BufferView_pimpl.h:
9347 * BufferView_pimpl.C: fix mouse wheel handling based on
9348 patch from Darren Freeman
9350 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9352 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9354 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9356 * lyxlength.C (inPixels): Fix hanfling of negative length.
9357 Fix LyXLength::MU case.
9359 2002-10-16 John Levon <levon@movementarian.org>
9361 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9363 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9365 * converter.C (view): add support for $$i (file name) and $$p
9366 (file path) for the viewer command. If $$i is not specified, then
9367 it is appended to the command (for compatibility with old syntax)
9369 2002-10-14 Juergen Vigna <jug@sad.it>
9371 * undo_funcs.C (textHandleUndo): alter the order in which the
9372 new undopar is added to the LyXText, as we have to set first
9373 the right prev/next and then add it as otherwise the rebuild of
9374 LyXText is not correct. Also reset the cursor to the right paragraph,
9375 with this IMO we could remove the hack in "redoParagraphs()".
9377 2002-10-09 Angus Leeming <leeming@lyx.org>
9379 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9380 to turn off an optimisation if a new inset is to be inserted.
9382 2002-10-11 André Pönitz <poenitz@gmx.net>
9384 * lyxtext.h: make some functions public to allow access
9385 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9387 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9389 * text3.C (dispatch): when changing layout, avoid an infinite loop
9392 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9394 * lyxrc.C (read): treat a viewer or converter command of "none" as
9397 * MenuBackend.C (expandFormats): for an update, also allow the
9398 formats that are not viewable
9400 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9401 script if it is newer than the lyxrc.defaults in user directory
9403 2002-10-07 André Pönitz <poenitz@gmx.net>
9405 * text.C: Vitaly Lipatov's small i18n fix
9407 2002-09-25 Angus Leeming <leeming@lyx.org>
9409 * ispell.h: doxygen fix.
9411 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9413 * buffer.h (readFile): Add a new argument to the method, to allow
9414 reading of old-format templates.
9416 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9418 * toc.C (getTocList): Get TOC from InsetWrap.
9420 2002-09-16 John Levon <levon@movementarian.org>
9422 * lyxfunc.C: check tabular for cut/copy too
9424 2002-09-12 John Levon <levon@movementarian.org>
9429 * factory.C: add header
9431 * paragraph_funcs.h:
9432 * paragraph_funcs.C: cleanup
9434 2002-09-11 John Levon <levon@movementarian.org>
9436 * PrinterParams.h: odd/even default to true
9438 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9440 * PrinterParams.h: update printer parameters for new xforms dialog
9442 2002-09-11 Angus Leeming <leeming@lyx.org>
9444 * lyxserver.C (read_ready): re-write to make it more transparent
9445 and to make it work in coherent fashion under Tru64 Unix.
9447 2002-09-11 André Pönitz <poenitz@gmx.net>
9451 * text3.C: implement LFUN_WORDSEL
9453 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9455 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9456 make floatlist_ a boost::shared_ptr<FloatList>
9458 * lyxtextclass.C: include FloatList.h
9459 (LyXTextClass): initialize floatlist_
9460 (TextClassTags): add TC_NOFLOAT
9461 (Read): match "nofloat" to TC_NOFLOAT and use it.
9462 (readFloat): modify call to floatlist_
9466 * FloatList.[Ch] (FloatList): remove commented out float
9468 (erase): new function
9470 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9472 * MenuBackend.C (expandToc): fix crash when there is no document
9475 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9477 * many files: Add insetwrap.
9479 2002-09-09 John Levon <levon@movementarian.org>
9481 * text2.C: remove confusing and awkward depth wraparound
9483 2002-09-09 John Levon <levon@movementarian.org>
9485 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9488 * buffer.C: remove getIncludeonlyList()
9491 * lyxfunc.C: remove headers
9493 2002-09-09 Juergen Vigna <jug@sad.it>
9495 * text.C (getColumnNearX): fix form Michael this is most
9496 probably a cut&paste bug.
9498 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9500 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9502 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9503 references, ws changes.
9505 * text2.C (init): update counters after init
9506 (insertParagraph): no need to set counter on idividual paragraphs.
9507 (setCounter): access the counters object in the textclass object
9508 on in the buffer object.
9509 (updateCounters): ditto
9511 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9512 shared_ptr<Counters> to avoid loading counters.h in all
9514 (LyXTextClass): initialize ctrs_
9515 (TextClassTags): add TC_COUNTER, and ...
9516 (Read): use it here.
9517 (CounterTags): new tags
9518 (readCounter): new function
9519 (counters): new funtion
9520 (defaultLayoutName): return a const reference
9522 * counters.C (Counters): remove contructor
9523 (newCounter): remove a couple of unneeded statements.
9524 (newCounter): simplify a bit.
9525 (numberLabel): some small formatting changes.
9527 * buffer.[Ch]: remove all traces of counters, move the Counters
9528 object to the LyXTextClass.
9530 2002-09-06 Alain Castera <castera@in2p3.fr>
9532 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9533 package to set the horizontal alignment on fixed width columns.
9536 * lyx_sty.h: added tabularnewline macro def.
9538 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9540 2002-09-06 John Levon <levon@movementarian.org>
9542 * LyXAction.C: tooltips for sub/superscript
9544 * MenuBackend.C: a bit more verbose
9546 * lyxfunc.C: tiny clean
9548 * undo_funcs.C: document undo_frozen
9550 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9552 * counters.C (Counters): add missing algorithm counter.
9554 * text2.C (setCounter): lookup the counter with layouts latexname
9555 instead of by section number.
9556 (setCounter): use a hackish way to lookup the correct enum
9558 a float name->type change
9559 reset enum couners with counter name directly instead of depth value.
9561 * counters.C (Counters): remove the push_backs, change to use the
9562 float type not the float name.
9563 (labelItem): remove unused string, float name->type change
9565 * counters.h: don't include vector, loose the enums and sects vectors
9567 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9569 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9570 (Read): add float->TC_FLOAT to textclassTags
9571 (Read): and handle it in the switch
9572 (readFloat): new function
9574 * FloatList.C (FloatList): comment out the hardcoded float
9577 * lyxlayout.h: ws change.
9579 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9581 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9583 2002-09-03 Angus Leeming <leeming@lyx.org>
9585 * BufferView_pimpl.h: qualified name is not allowed in member
9586 declaration: WorkArea & Pimpl::workarea() const;
9588 * factory.C: added using std::endl directive.
9590 * text3.C: added using std::find and std::vector directives.
9592 2002-08-29 André Pönitz <poenitz@gmx.net>
9595 * text2.C: remove unused member number_of_rows
9598 * BufferView2.C: remove file, move contents to...
9599 * BufferView.C: ... here
9601 * BufferView_pimpl.C:
9602 * factory.C: move more inset creation to factory
9604 * vspace.C: avoid direct usage of LyXText, ws changes
9607 don't provide direct access to WorkArea, use two simple
9608 acessors haveSelction() and workHeight() instead
9611 2002-08-29 John Levon <levon@movementarian.org>
9613 * BufferView_pimpl.C (dispatch): do not continue when
9616 2002-08-28 André Pönitz <poenitz@gmx.net>
9618 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9621 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9623 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9625 * buffer.C: increment LYX_FORMAT to 221
9627 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9628 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9630 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9632 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9634 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9636 * factory.C (createInset): use LyXTextClass::floats
9638 * MenuBackend.C (expandFloatListInsert):
9639 (expandFloatInsert):
9642 * text2.C (setCounter):
9644 * LaTeXFeatures.C (useFloat):
9645 (getFloatDefinitions):
9647 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9649 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9650 floatlist_, with accessor floats().
9652 * FloatList.h: remove global FloatList
9654 2002-08-26 André Pönitz <poenitz@gmx.net>
9656 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9660 * BufferView_pimpl.C:
9661 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9663 2002-08-25 John Levon <levon@movementarian.org>
9665 * LyXAction.C: fix margin note description
9667 2002-08-24 John Levon <levon@movementarian.org>
9671 * bufferview_funcs.C:
9673 * undo_funcs.C: cleanups
9675 * lyxfunc.C: disable CUT/COPY when no selection
9677 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9679 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9680 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9682 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9683 Add backward compatibility to "mono", "gray" and "no".
9685 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9687 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9688 (and file_format >= 200).
9690 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9692 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9694 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9696 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9698 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9700 * BufferView_pimpl.C:
9707 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9708 inset and code to make it work with the paragraph code. The inset
9709 can be anywhere in the paragraph, but will only do the expected
9710 thing in LaTeX if the layout file contains the parameter line
9712 (or more generally, a nonzero value) for that layout.
9714 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9716 * paragraph.h: remove the declaration of undefined counters class
9719 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9721 * text2.C (setCounter): fixed enumeration mis-count as reported by
9722 Dr. Richard Hawkins.
9724 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9726 * paragraph_funcs.h: remove some unneeded includes
9728 * text.C (backspace): pasteParagraph now in global scipe
9730 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9731 (pasteSelection): ditto
9733 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9734 * paragraph_funcs.C (pasteParagraph): ... here
9736 2002-08-20 André Pönitz <poenitz@gmx.net>
9738 * commandtags.h: new LFUNs for swapping/copying table row/colums
9741 * lyxfunc.C: support for new lfuns
9743 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9746 * buffer.[Ch]: remove NO_COMPABILITY stuff
9748 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9750 * boost.C (throw_exception): new file, with helper function for
9751 boost compiled without exceptions.
9756 * ParameterStruct.h:
9757 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9759 * bufferlist.C (emergencyWriteAll): use boost bind
9761 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9763 * text.C: include paragraph_funcs.h
9764 (breakParagraph): breakParagraph is now in global scope
9766 * paragraph_funcs.[Ch]: new files
9768 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9771 * buffer.C: include paragraph_funcs.h
9772 (insertStringAsLines): breakParagraph is now in global scope
9774 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9777 * CutAndPaste.C: include paragraph_funcs.h
9778 (cutSelection): breakParagraphConservative is now in global scope
9779 (pasteSelection): ditto
9781 * buffer.h: declare oprator== and operator!= for
9782 Buffer::inset_iterator
9784 * bufferlist.C (emergencyWrite): don't use fmt(...)
9786 * text3.C: add using std::endl
9788 * BufferView.C (moveCursorUpdate): remove default arg
9790 2002-08-20 André Pönitz <poenitz@gmx.net>
9792 * buffer.[Ch]: move inline functions to .C
9795 * BufferView_pimpl.C:
9797 * buffer.[Ch]: use improved inset_iterator
9800 * paragraph.[Ch]: write one paragraph at a time
9802 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9804 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9805 style if style is not specified.
9807 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9809 * text2.C (setCounter): when searching for right label for a
9810 caption, make sure to recurse to parent insets (so that a caption
9811 in a minipage in a figure float works) (bug #568)
9813 2002-08-20 André Pönitz <poenitz@gmx.net>
9815 * text3.C: new file for LyXText::dispatch() and helpers
9817 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9819 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9821 2002-08-19 André Pönitz <poenitz@gmx.net>
9824 * text.C: new LyXText::dispatch()
9826 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9828 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9830 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9832 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9835 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9837 * Makefile.am: use $(variables) instead of @substitutions@
9839 2002-08-15 André Pönitz <poenitz@gmx.net>
9842 * BufferView_pimpl.C: streamlining mathed <-> outer world
9846 * LyXAction.C: remove unused LFUN_MATH
9848 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9850 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9852 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9854 * paragraph.C (Paragraph): reformat a bit
9855 (cutIntoMinibuffer): use builtin InsetList function instad of
9859 * buffer.C: include boost/bind.hpp, add using std::for_each
9860 (writeFileAscii): use ParagraphList iterators
9861 (validate): use for_each for validate traversal of paragraphs
9862 (getBibkeyList): use ParagraphList iterators
9863 (resizeInsets): use for_each to resizeInsetsLyXText for all
9865 (getParFromID): use ParagraphList iterators
9867 * BufferView2.C (lockInset): use paragraph list and iterators
9869 2002-08-14 John Levon <levon@movementarian.org>
9871 * lyxserver.C: remove spurious xforms include
9873 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9875 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9877 2002-08-13 André Pönitz <poenitz@gmx.net>
9880 * lyxfunc.C: further cleaning
9882 2002-08-13 André Pönitz <poenitz@gmx.net>
9884 * funcrequest.h: new constructor
9886 * funcrequest.C: move stuff here from .h
9889 * BufferView_pimpl.C:
9892 * lyxfunc.C: subsequent changes
9894 * lyxfunc.h: new view() member function
9896 * lyxfunc.C: subsequent changes
9898 2002-08-13 Angus Leeming <leeming@lyx.org>
9901 * BufferView_pimpl.C:
9909 changes due to the changed LyXView interface that now returns references
9910 to member variables not pointers.
9912 2002-08-13 Angus Leeming <leeming@lyx.org>
9914 * WordLangTuple (word, lang_code): return references to strings,
9919 * lyxtext.h: forward-declare WordLangTuple.
9924 * text.C: #include "WordLangTuple.h".
9927 * text.C: (selectNextWordToSpellcheck): constify return type.
9929 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9935 * paragraph_pimpl.h:
9938 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9940 Made updateCounter always count from start of buffer, and removed
9941 second argument (par).
9942 Reverted floats number display to '#'. Perhaps I'll try again when the
9943 code base is sanitized a bit.
9945 2002-08-12 Angus Leeming <leeming@lyx.org>
9947 * buffer.[Ch] (getLabelList): constify.
9949 2002-08-07 André Pönitz <poenitz@gmx.net>
9951 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9953 * funcrequest.h: extension to keep mouse (x,y) position
9955 2002-08-12 Juergen Vigna <jug@sad.it>
9957 * BufferView2.C (insertErrors): forbid undo when inserting error
9960 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9962 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9964 * ParagraphList.[Ch]: new files
9966 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9968 * BufferView2.C (lockInset): ParagraphList changes
9971 * bufferlist.C: ditto
9975 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9977 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9978 unused class variable counter_,
9980 * paragraph.[Ch] (getFirstCounter): delete unused function
9982 * counters.C: include LAssert.h
9983 (reset): add a new function with no arg, change other version to
9984 not have def. arg and to not allow empty arg.
9986 * text2.C (setCounter): remove empty arg from call to Counters::reset
9988 2002-08-11 John Levon <levon@movementarian.org>
9990 * Makefile.am: add WordLangTuple.h
9992 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9994 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9995 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9997 * insets/insettext.C: InsetList changes
9999 * graphics/GraphicsSupport.C (operator()): InsetList changes
10001 * toc.C (getTocList): InsetList changes
10003 * paragraph_pimpl.[Ch]: InsetList changes
10005 * paragraph.[Ch]: InsetList changes
10007 * buffer.C (inset_iterator): InsetList changes
10008 (setParagraph): ditto
10009 * buffer.h (inset_iterator): ditto
10010 * iterators.C (operator++): ditto
10011 * iterators.h: ditto
10013 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10015 * InsetList.[Ch]: new files, most InsetList handling moved out of
10018 * BufferView2.C (removeAutoInsets): InsetList changes
10020 (ChangeInsets): ditto
10022 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10024 * paragraph_pimpl.h (empty): new function
10026 * paragraph.[Ch] (empty): new function
10028 * other files: use the new Paragraph::empty function
10030 2002-08-09 John Levon <levon@movementarian.org>
10032 * lyxtext.h: remove unused refresh_height
10034 2002-08-09 John Levon <levon@movementarian.org>
10041 * paragraph.C: move sgml char escaping out of paragraph
10044 * paragraph.C: remove id setter
10048 * paragraph_pimpl.C: remove dead tex_code_break_column
10050 * bufferview_funcs.C: small cleanup
10052 * lyxfunc.C: remove dead proto
10054 * lyxtext.h: make some stuff private. Remove some dead stuff.
10056 * lyxgluelength.C: make as[LyX]String() readable
10058 2002-08-08 John Levon <levon@movementarian.org>
10063 * ToolbarDefaults.C:
10066 * toc.C: lyxaction cleanup
10068 2002-08-08 John Levon <levon@movementarian.org>
10070 * BufferView2.C: small cleanup
10073 * lyxfind.C: move unnecessary header into the .C
10075 2002-08-08 John Levon <levon@movementarian.org>
10077 * funcrequest.h: just tedious nonsense
10080 * lyx_main.C: cleanups
10083 * vspace.C: remove dead header lyx_main.h
10085 2002-08-07 Angus Leeming <leeming@lyx.org>
10088 * paragraph_pimpl.h:
10089 Forward declare class Counters in paragraph.h by moving the ctrs member
10090 variable into Paragraph::Pimpl.
10091 (counters): new method, returning a reference to pimpl_->ctrs.
10093 * text2.C: ensuing changes.
10095 2002-08-07 John Levon <levon@movementarian.org>
10097 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10099 * BufferView_pimpl.C: announce X selection on double/triple
10102 * lyx_main.C: use correct bool in batch dispatch
10104 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10106 2002-08-07 André Pönitz <poenitz@gmx.net>
10108 * funcrequest.h: new class to wrap a kb_action and its argument
10111 * BufferView_pimpl[Ch]:
10115 * lyxrc.C: subsequent changes
10118 2002-08-07 John Levon <levon@movementarian.org>
10120 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10121 document options change.
10123 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10128 * makefile.am: move counters functionality over from
10129 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10131 2002-08-06 John Levon <levon@movementarian.org>
10133 * WordLangTuple.h: new file for word + language code tuple
10144 * BufferView2.C: use WordLangTuple
10147 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10149 2002-08-06 John Levon <levon@movementarian.org>
10151 * lyx_main.C: fix cmdline batch handling
10153 2002-08-06 André Pönitz <poenitz@gmx.net>
10155 * lyxrc.C: set default for show_banner to true
10157 2002-08-06 John Levon <levon@movementarian.org>
10159 * pspell.C: fix a crash, and allow new aspell to work
10161 2002-08-06 John Levon <levon@movementarian.org>
10164 * kbmap.C: small cleanup
10167 * vspace.C: add const
10169 2002-08-05 John Levon <levon@movementarian.org>
10171 * LyXAction.C: back to tabular-insert
10173 2002-08-04 John Levon <levon@movementarian.org>
10176 * BufferView.C: cosmetic change
10178 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10188 * BufferView2.C: purge all "Lyx" not "LyX" strings
10191 * lyxcursor.C: attempt to add some documentation
10196 * ToolbarDefaults.C:
10197 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10198 merge with LFUN_TABULAR_INSERT
10205 * pspell.C: split up i/pspell implementations into separate
10206 files, many cleanups
10208 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10210 * text2.C: some cleanup
10212 * lyxfunc.C: don't check for isp_command == "none" any more, it
10213 didn't make any sense
10215 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10220 * makefile.am: move counters functionality over
10221 from text2.C/paragraph.[Ch] to counters.[Ch], and
10223 2002-08-02 John Levon <levon@movementarian.org>
10225 * buffer.C: s/lyxconvert/lyx2lyx/
10227 2002-08-02 Angus Leeming <leeming@lyx.org>
10229 * lyxlex.C: revert John's change as it breaks reading of the user
10232 2002-08-02 Angus Leeming <leeming@lyx.org>
10234 * importer.C (Import):
10235 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10236 changes due to LyXView::view() now returning a boost::shared_ptr.
10238 2002-08-02 John Levon <levon@movementarian.org>
10240 * lyxlex.C: small cleanup
10242 2002-08-02 John Levon <levon@movementarian.org>
10244 * text2.C (status): small cleanup, no logic change
10246 2002-08-01 John Levon <levon@movementarian.org>
10249 * buffer.C (writeFile): don't output alerts, caller
10253 * lyx_cb.C: from above
10255 * lyxfunc.C: allow to open non-existent files
10257 2002-07-31 John Levon <levon@movementarian.org>
10259 * lyxserver.C: don't let incidental errors get
10262 2002-07-30 John Levon <levon@movementarian.org>
10264 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10266 2002-07-30 John Levon <levon@movementarian.org>
10269 * lyxserver.C: remove I/O callback too
10271 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10273 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10276 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10278 * many files: strip,frontStrip -> trim,ltrim,rtrim
10280 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10282 * PrinterParams.h: remove extern containsOnly, and include
10283 support/lstrings.h instead.
10285 * LaTeX.C (scanAuxFile): modify because of strip changes
10287 * buffer.C (makeLaTeXFile): ditto
10288 * bufferparams.C (writeFile): ditt
10289 * lyxfont.C (stateText): ditto
10290 * lyxserver.C (read_ready): ditto
10291 * vc-backend.C (scanMaster): ditto
10293 * BufferView_pimpl.h: ws changes
10295 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10297 2002-07-26 André Pönitz <poenitz@gmx.net>
10299 * kb_sequence.C: remove unnedred usings
10301 2002-07-26 Juergen Vigna <jug@sad.it>
10303 * lyxfind.C (LyXReplace): we have to check better if the returned
10304 text is not of theLockingInset()->getLockingInset().
10306 2002-07-25 Juergen Vigna <jug@sad.it>
10308 * lyxfind.C (LyXReplace): don't replace if we don't get the
10311 * undo_funcs.C (createUndo): remove debugging code.
10313 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10315 * buffer.C (parseSingleLyXformat2Token): Use default placement
10316 when reading old floats.
10318 * FloatList.C (FloatList): Change the default placement of figure
10319 and tables to "tbp".
10321 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10323 * MenuBackend.C: using std::max
10325 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10327 * MenuBackend.C (expandToc):
10328 (expandToc2): code moved from xforms menu frontend. It is now
10329 generic and TOCs are transparent to menu frontends.
10331 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10333 * toc.C (getTocList): protect against buf=0
10335 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10336 Menu as first parameter. Now, this calls itself recursively to
10337 expand a whole tree (this will be useful for TOC handling)
10338 (expandFloatInsert): remove 'wide' version of floats
10340 * MenuBackend.h (submenuname): returns the name of the submenu.
10341 (submenu): returns the submenu itself, provided it has been
10342 created by MenuBackend::expand
10344 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10346 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10347 insets which have noFontChange == true. (bug #172)
10349 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10351 * BufferView_pimpl.C: add connection objects and use them...
10354 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10356 * MenuBackend.C (expandLastfiles):
10359 (expandFloatListInsert):
10360 (expandFloatInsert):
10361 (expand): split expand in parts
10363 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10365 * lyx_gui.C: use lyx_gui::exit()
10367 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10369 * LyXAction.C: show the failing pseudo action
10371 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10373 * buffer.C (readFile): Run the lyxconvert script in order to read
10376 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10380 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10382 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10386 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10388 2002-07-22 Herbert Voss <voss@lyx.org>
10391 * lyxlength.[Ch]: add support for the vertical lengths
10393 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10395 * toc.[Ch]: std:: fixes
10397 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10399 * lyxrc.C: do not include lyx_main.h
10401 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10407 * BufferView2.C: include "lyxlex.h"
10410 * bufferparams.h: do not #include "lyxlex.h"
10412 * lyxtextclasslist.C (Add): remove method
10413 (classlist): renamed to classlist_
10415 * paragraph_pimpl.C:
10419 * bufferview_funcs.C:
10424 * toc.C (getTocList): use BufferParams::getLyXTextClass
10426 * toc.C (getTocList): use InsetFloat::addToToc
10428 * toc.[Ch]: new files, containing helper functions to handle table
10431 * lyxfunc.C (dispatch): no need to remove spaces around command
10433 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10434 first command of the sequence; it is not very clever, but I do not
10435 have a better idea, actually
10437 * LyXAction.C (LookupFunc): make sure to remove space at the
10438 beginning and end of the command
10440 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10442 * MenuBackend.C (getMenubar): new method: return the menubar of
10444 (read): treat differently reading of menu and menubar (in
10445 particular, the menubar has no name now)
10446 (Menu::menubar): remove
10448 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10451 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10453 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10454 a bibitem inset in a RTL paragraph.
10456 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10458 * paragraph_pimpl.C: constify
10460 * BufferView_pimpl.C:
10462 * lyxfunc.C: fix dispatch in a nicer way
10464 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10466 * lyxfunc.C (dispatch):
10467 * BufferView_pimpl.C:
10468 * BufferView_pimpl.h:
10470 * BufferView.h: rename Dispatch() to dispatch()
10472 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10474 * lyxlayout.C (Read): honor DependsOn tag
10476 * lyxlayout.[Ch] (depends_on): new method
10478 * version.C.in: update lyx_docversion
10480 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10482 * paragraph.C (validate): remove from here...
10483 * paragraph_pimpl.C (validate): ... and move here
10484 (isTextAt): make it const
10486 * buffer.C (getLists): ws cleanup
10488 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10490 * language.C (read): Use iso8859-1 encoding in latex_lang
10491 (this prevents LyX from crashing when using iso10646-1 encoding).
10493 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10495 * text2.C (toggleInset): if cursor is inside an inset, close the
10496 inset and leave cursor _after_ it
10498 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10500 * lyxfunc.C: move minibuffer completion handling out of here
10502 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10504 * BufferView_pimpl.C:
10505 * LaTeX.C: fix dispatch calls
10507 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10509 * text.C (drawChars): Fix Arabic text rendering.
10511 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10515 * lyxfunc.C: remove message-push/pop
10519 * lyxfunc.C: rationalise some code by removing verboseDispatch
10520 in favour of a bool argument to dispatch()
10522 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10524 * lyx_main.C (init): make sure to read symlinks as absolute paths
10526 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10529 * lyxfunc.C: no need for commandshortcut to be a member
10531 2002-07-15 André Pönitz <poenitz@gmx.net>
10533 * converter.C: add support for $$s (scripts from lib/scripts dir)
10534 * lyx_main.C: white space
10536 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10540 * lyxrc.C: remove second exit confirmation
10542 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10547 * BufferView_pimpl.h:
10548 * BufferView_pimpl.C:
10549 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10551 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10553 * MenuBackend.C (expand): add numeric shortcuts to document menu
10555 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10557 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10559 * lyxfont.C (setLyXFamily):
10566 * buffer.C (asciiParagraph): use ascii_lowercase
10568 2002-07-15 Mike Fabian <mfabian@suse.de>
10570 * lyxlex_pimpl.C (search_kw):
10571 * lyxlex.C (getLongString):
10572 * converter.h (operator<):
10573 * converter.C (operator<):
10574 * buffer.C (parseSingleLyXformat2Token):
10576 * ToolbarDefaults.C (read):
10577 * MenuBackend.C (checkShortcuts):
10579 * LColor.C (getFromGUIName):
10580 (getFromLyXName): use the compare_ascii_no_case instead of
10581 compare_no_case, because in turkish, 'i' is not the lowercase
10582 version of 'I', and thus turkish locale breaks parsing of tags.
10584 2002-07-16 Angus Leeming <leeming@lyx.org>
10586 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10587 now takes a Buffer const & argument.
10589 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10591 * BufferView.C (resize): check there's a buffer to resize
10593 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10595 * lyxfunc.C: remove dead code
10598 * lyxserver.C: use lyx_guii::set_read_callback
10600 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10602 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10603 an inset in a RTL paragraph.
10605 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10607 * lyxfunc.C: repaint after a font size update
10609 2002-07-15 André Pönitz <poenitz@gmx.net>
10611 * lyxlength.C: inBP should be able to return negative values
10613 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10615 * lyxfunc.C: use lyx_gui::update_fonts()
10617 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10619 * lyxfunc.C: use lyx_gui::update_color()
10621 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10627 * lyxrc.C: remove file->new asks for name option, and let
10628 buffer-new take an argument
10630 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10632 * BufferView_pimpl.C: remove unneeded extra repaint()
10634 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10636 * LyXAction.C: allow command-sequence with NoBuffer
10638 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10640 2002-07-10 Angus Leeming <leeming@lyx.org>
10642 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10644 2002-07-09 Angus Leeming <leeming@lyx.org>
10646 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10648 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10650 * lengthcommon.h: whitespace
10652 * lyxfunc.C: update scrollbar after goto paragraph
10654 * lyxtext.h: factor out page break drawing, and fix it so
10655 page break/added space paints as selected nicely
10657 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10659 * BufferView_pimpl.C: add FIXMEs, clean up a little
10661 2002-07-09 André Pönitz <poenitz@gmx.net>
10663 * lyxfont.[Ch]: support for wasy symbols
10665 2002-07-08 André Pönitz <poenitz@gmx.net>
10667 * BufferView_pimpl.C: apply John's patch for #93.
10669 2002-07-05 Angus Leeming <leeming@lyx.org>
10671 * BufferView_pimpl.C (buffer): generate previews if desired.
10673 * LColor.h: add "preview" to the color enum.
10675 * LColor.C (LColor): add a corresponding entry to the items array.
10677 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10680 2002-07-05 Angus Leeming <leeming@lyx.org>
10682 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10683 The body of the code is now in the method that is passed an ostream &
10684 rather than a file name.
10685 Pass an additional only_preamble parameter, useful for the forthcoming
10688 2002-07-03 André Pönitz <poenitz@gmx.net>
10690 * lyxfunc.C: simplify getStatus() a bit for math stuff
10692 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10694 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10696 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10698 * text.C (changeRegionCase): do not change case of all the
10699 document when region ends at paragraph end (bug #461)
10701 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10703 * paragraph.C (startTeXParParams):
10704 (endTeXParParams): add \protect when necessary
10706 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10708 * BufferView_pimpl.C (workAreaExpose): remove warning
10710 2002-06-27 Angus Leeming <leeming@lyx.org>
10712 * Makefile.am: add lyxlayout_ptr_fwd.h.
10714 2002-06-26 André Pönitz <poenitz@gmx.net>
10716 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10718 2002-06-25 Angus Leeming <leeming@lyx.org>
10720 * lyxfunc.C (dispatch): Comment out the call to
10721 grfx::GCache::changeDisplay. The method no longer exists now that the
10722 pixmap generation part of the graphics loader has been moved into
10725 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10727 * text2.C: layout as layout
10729 * text.C: layout as layout
10731 * tabular.C (OldFormatRead): layout as layout
10733 * paragraph_pimpl.C (TeXDeeper): layout as layout
10734 (realizeFont): layout as layout
10736 * paragraph.C (writeFile): layout as layout
10737 (validate): layout as layout
10738 (getFont): layout as layout
10739 (getLabelFont): layout as layout
10740 (getLayoutFont): layout as layout
10741 (breakParagraph): layout as layout
10742 (stripLeadingSpaces): layout as layout
10743 (getEndLabel): layout as layout
10744 (getMaxDepthAfter): layout as layout
10745 (applyLayout): layout as layout
10746 (TeXOnePar): layout as layout
10747 (simpleTeXOnePar): layout as layout
10748 (TeXEnvironment): layout as layout
10749 (layout): layout as layout
10750 (layout): layout as layout
10752 * lyxtextclass.C (compare_name): new functor to work with
10753 shared_ptr, layout as layout
10754 (Read): layout as layout
10755 (hasLayout): layout as layout
10756 (operator): layout as layout
10757 (delete_layout): layout as layout
10758 (defaultLayout): layout as layout
10760 * lyxlayout_ptr_fwd.h: new file
10762 * lyxlayout.C (Read): layout as layout
10764 * lyx_cb.C (MenuInsertLabel): layout as layout
10766 * bufferlist.C (newFile): layout as layout
10768 * buffer.C (readLyXformat2): layout as layout
10769 (parseSingleLyXformat2Token): layout as layout
10770 (insertStringAsLines): layout as layout
10771 (asciiParagraph): layout as layout
10772 (latexParagraphs): layout as layout
10773 (makeLinuxDocFile): layout as layout
10774 (simpleLinuxDocOnePar): layout as layout
10775 (makeDocBookFile): layout as layout
10776 (simpleDocBookOnePar): layout as layout
10777 (getLists): layout as layout
10779 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10781 * CutAndPaste.C (cutSelection): layout as layout
10782 (pasteSelection): layout as layout
10783 (SwitchLayoutsBetweenClasses): layout as layout
10785 * BufferView_pimpl.C (Dispatch): layout as layout
10786 (smartQuote): layout as layout
10788 * BufferView2.C (unlockInset): layout as layout
10790 2002-06-24 André Pönitz <poenitz@gmx.net>
10792 * lyxfunc.C: fix #487
10794 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10798 * lyxfunc.C: remove display_shortcuts, show_banner
10800 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10802 * Buffer_pimpl.C: oops, update on resize
10804 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10811 * BufferView.C: use repaint()
10813 * BufferView_pimpl.h:
10814 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10815 as it's a clearer description. Remove superfluous
10818 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10820 * text.C: fix bug 488. Not ideal, but getting
10821 getWord() to work properly for the insets that
10822 matter is more difficult ...
10824 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10826 * BufferView_pimpl.C:
10829 * lyxfunc.C: remove the six million index lyxfuncs to just
10830 one, and DTRT (bug 458)
10832 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10836 * BufferView_pimpl.h:
10837 * BufferView_pimpl.C: clean up resize() stuff,
10838 and unnecessary updateScreen()s
10840 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10844 * BufferView_pimpl.h:
10845 * BufferView_pimpl.C:
10848 * minibuffer.C: remove focus management of workarea,
10849 not needed. Use screen's greyOut()
10851 2002-06-17 Herbert Voss <voss@lyx.org>
10853 * converter.C: (convert) do not post a message, when converting
10854 fails, let the calling function decide what to do in this case
10856 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10858 * lyxfunc.C: tidy up a little
10860 2002-06-16 <alstrup@diku.dk>
10862 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10863 Got rid of FORMS_H_LOCATION include. Now we are
10866 2002-06-15 LyX Development team <lyx@rilke>
10868 * buffer.[Ch] (sgmlOpenTag):
10869 (sgmlCloseTag): Added support for avoiding pernicious mixed
10870 content. Return number of lines written.
10872 (makeLinuxDocFile):
10873 (makeDocBookFile): Fixed calls to sgml*Tag.
10874 Simple white space clean.
10876 (simpleDocBookOnePar): Simple white space clean.
10878 * tabular.[Ch] (docBook): Renamed to docbook and got another
10879 argument to related with the pernicious mixed content.
10881 (docbookRow): Fixed calls for docbook inset method.
10883 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10885 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10886 so it's X11 independent.
10890 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10892 2002-06-15 Lyx Development team <lyx@electronia>
10894 * intl.h: Renamed getTrans to getTransManager.
10896 2002-06-14 Angus Leeming <leeming@lyx.org>
10898 * Makefile.am: nuke forgotten stl_string_fwd.h.
10900 2002-06-12 Angus Leeming <leeming@lyx.org>
10902 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10904 2002-06-13 Angus Leeming <leeming@lyx.org>
10907 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10909 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10911 * kbmap.C (getiso): add support for cyrillic and greek
10913 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10917 * BufferView_pimpl.h:
10918 * BufferView_pimpl.C: move bogus scrolling logic
10921 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10924 * BufferView_pimpl.C: view->resize() change
10926 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10928 * BufferView_pimpl.C: topCursorVisible
10931 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10935 * lyx_gui.C: move to frontends/
10939 * lyx_main.C: changes from above
10941 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10948 * lyx_main.C: minor tidy
10950 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10952 * BufferView_pimpl.h:
10953 * BufferView_pimpl.C:
10955 * BufferView.C: make painter() const,
10958 * BufferView2.C: use screen() accessor
10961 * lyx_main.C: some minor cleanup
10963 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10965 * BufferView_pimpl.h:
10966 * BufferView_pimpl.C: remove enter/leaveView,
10969 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10974 * BufferView_pimpl.h:
10975 * BufferView_pimpl.C: only construct screen once,
10978 * lyxrc.C: remove pointless comment
10980 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10983 * BufferView.C: remove active() and belowMouse()
10985 * BufferView_pimpl.h:
10986 * BufferView_pimpl.C: use workarea() not workarea_,
10987 and make it use a scoped_ptr instead
10989 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10991 * lyx_gui.C: add debug message on BadWindow
10993 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10995 * sp_spell.C: fdopen is not part of the C++ standard.
10997 * paragraph.C (InsetIterator): use >= instead of ==
10999 2002-06-07 Angus Leeming <leeming@lyx.org>
11001 Fixes needed to compile with Compaq cxx 6.5.
11002 * BufferView_pimpl.C:
11009 * lyxtextclasslist.C:
11014 all c-library variables have been moved into namespace std. Wrap
11015 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11020 Add a using std::abs declaration.
11022 * kbmap.h (modifier_pair):
11023 * paragraph.h (InsetTable, InsetList):
11024 * lyxfont.h (FontBits):
11025 type definition made public.
11027 * bufferlist.C (emergencyWriteAll): the compiler complains that
11028 there is more than one possible lyx::class_fun template to choose from.
11029 I re-named the void specialisation as lyx::void_class_fun.
11031 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11033 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11034 the compiler is is unable to find tostr in write_attribute.
11036 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11038 * buffer.C (sgmlError): hide #warning
11040 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11042 * xtl/*: get rid of xtl, which is not in use anyway
11044 * LyXAction.C (init):
11045 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11046 were unimplemented xtl experimentation
11048 2002-06-04 André Pönitz <poenitz@gmx.net>
11050 * lyxfunc.C: disable array operation on simple formulae
11052 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11054 * converter.C: constify a bit
11056 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11058 * lyx_gui.C: check xforms version correctly
11060 2002-04-30 Herbert Voss <voss@lyx.org>
11062 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11065 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11067 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11068 attempt to register it with a VCS)
11070 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11072 * lyx_main.C (init): honor variables LYX_DIR_13x and
11075 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11079 * lyx_main.C: fix a crash on bad command line,
11080 and give a useful exit status on error
11082 * lyxfunc.C (doImport): allow -i lyx to work
11084 2002-03-30 André Pönitz <poenitz@gmx.net>
11086 * lyxfunc.C: mathed font changes
11088 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11103 * trans_mgr.h: srcdocs, and some minor cleanups
11105 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11107 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11108 call getFont all the time)
11110 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11112 * switch from SigC signals to boost::signals
11114 2002-05-29 André Pönitz <poenitz@gmx.net>
11116 * paragraph_pimpl.C (getChar): don't call size() too often...
11118 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11120 * paragraph_pimpl.C (insertChar): do not try to update tables when
11121 appending (pos == size())
11123 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11124 in order to reduce drastically the number of comparisons needed to
11125 parse a large document
11127 2002-05-29 André Pönitz <poenitz@gmx.net>
11133 * textclasslist.[Ch]:
11134 * sp_ispell.h: whitespace change
11136 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11138 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11139 lyxaction directly now.
11141 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11145 * lyxvc.C: remove unused headers
11147 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11154 * undo_funcs.C: some cleanups. Use shared_ptr
11155 and a template for the undo stacks.
11157 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11159 * BufferView_pimpl.h:
11160 * BufferView_pimpl.C:
11167 * text2.C: use key_state/mouse_state
11169 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11171 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11174 * chset.C: change include order
11175 (loadFile): use boost regex and get rid of LRegex and LSubstring
11177 * Makefile.am (BOOST_LIBS): new variable
11178 (lyx_LDADD): use it
11180 * LaTeX.C: change include order.
11181 (scanAuxFile): use boost regex and get rid of LRegex and
11185 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11190 * FontInfo.C: moved to frontends/xforms/
11193 * FontLoader.C: moved into frontends for GUIIzation
11198 * lyxfunc.C: changes from above
11200 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11202 * LColor.C: remove spurious X include
11204 * BufferView_pimpl.C:
11209 * text2.C: move font metrics to frontends/
11211 2002-05-24 Juergen Vigna <jug@sad.it>
11213 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11214 setting the undo_cursor.
11216 * ParagraphParameters.h: include local includes first.
11218 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11220 * BufferView_pimpl.C:
11221 * BufferView_pimpl.h:
11225 * screen.C: move WorkArea into frontends/
11231 * BufferView2.C: move LyXScreen into frontends/
11235 * lyx_gui.C: move lyxlookup into frontends/xforms/
11237 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11240 * BufferView_pimpl.C:
11250 * bufferview_funcs.C:
11263 * vc-backend.C: move LyX/XFormsView into frontends/
11265 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11277 * text2.C: move Painter to frontends/
11279 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11281 * buffer.C: comment out some some code that depend upon lyx_format
11284 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11285 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11287 * buffer.h (NO_COMPABILITY): turn off compability
11289 * ColorHandler.C: include scoped_array.hpp
11291 * font.C: Use more specific smart_ptr header.
11294 * ShareContainer.h: ditto
11295 * lyx_main.h: ditto
11297 * FontInfo.h: ditto
11298 * BufferView_pimpl.h: ditto
11299 * ColorHandler.h: ditto
11301 * kbmap.C (defkey): change call to shared_ptr::reset
11303 2002-05-21 Juergen Vigna <jug@sad.it>
11305 * buffer.C (insertErtContents): fix to insert ert asis if it is
11306 non empty. Skip it completely if it contains only whitespaces.
11308 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11310 * BufferView_pimpl.C:
11311 * BufferView2.C: clear selection on paste (bug 393)
11313 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11315 * DepTable.C: include ctime
11317 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11319 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11321 2002-05-14 Juergen Vigna <jug@sad.it>
11323 * text.C (breakParagraph): fixed function to honor the keepempty
11324 layout in the right maner and also to permit the right breaking
11325 algorithm on empty or non empyt keepempty paragraphs.
11327 * paragraph.C (breakParagraph): we have to check also if the par
11328 is really empty (!size()) for isempty otherwise we do the wrong
11331 2002-05-10 Juergen Vigna <jug@sad.it>
11333 * buffer.[Ch] : The following are only changes to the ert
11334 compatibility read reading old LaTeX layout and font stuff and
11335 convert it to ERTInsets.
11337 * buffer.h: added isErtInset().
11339 * buffer.C (struct ErtComp): add a fromlayout bool to check
11340 if we're inside a LaTeX layout.
11341 (isErtInset): new helper function.
11342 (insertErtContents): look for other ert insets before this one
11343 and insert the contents there, so that we don't have subsequent
11344 ERT insets with nothing between them. This way we create only one
11345 inset with multiple paragraphs. Also check if we don't insert only
11346 spaces ' ' as they are ignored anyway afterwards in the .tex file
11347 so if we have only spaces we will ignore this latex part in the
11349 (parseSingleLyXformat2Token \\layout): better compatibility when
11350 reading layout-latex stuff.
11351 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11353 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11354 stuff after reading the inset only get the information back from
11357 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11359 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11361 * LaTeXFeatures.C (getBabelOptions): New method.
11363 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11365 * BufferView_pimpl.C (Dispatch): work around missing argument for
11368 2002-05-08 Juergen Vigna <jug@sad.it>
11370 * text.C (leftMargin): handle paragraph leftindent.
11372 * paragraph.C (writeFile): write the new \\leftindent tag.
11373 (validate): handle leftindent code.
11374 (TeXEnvironment): handle paragraphleftindent code again.
11376 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11378 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11379 for paragrap_extra indent code and new token \\leftindent.
11380 (latexParagraphs): handle the leftindent as environment.
11382 * ParameterStruct.h: added leftindent support.
11384 * ParagraphParameters.C (leftIndent): added support functions for
11385 the paragraph left indent.
11387 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11390 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11392 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11395 * text.C (computeBidiTables): No bidi in insetERT.
11397 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11400 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11402 * version.C.in: pre 5
11404 2002-05-02 José Matos <jamatos@fep.up.pt>
11405 * buffer.C (makeDocBookFile): white space changes, add newline to
11407 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11409 * tabular.C (docBook): fix typo.
11411 2002-05-03 Juergen Vigna <jug@sad.it>
11413 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11414 change in LyXText as we can not be sure it was not freed.
11415 (drawOneRow): remove unused code.
11417 * text.C (drawInset): redo the calculation of the need_break_row as
11418 it could have a row which was already freed.
11419 (draw): look at the return value of drawInset and return false if
11420 it also returned false.
11421 (paintRowText): look at the return value of draw and return false if
11422 it also returned false.
11424 * lyxtext.h: added bool return type to drawInset() and draw() so that
11425 if we have a change in the row so that the rowbreak has to be redone
11426 we abort drawing as it will be called again.
11428 2002-05-02 Juergen Vigna <jug@sad.it>
11430 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11431 a change in the maintext also if we're inside an inset.
11432 (Dispatch): set the cursor again after a break line and after the
11433 screen has been updated as it could be we're in a different row.
11435 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11436 to set the cursor behind the pargraph with > size().
11437 (setCursor): check also for the same paragraph when checking where
11438 to put the cursor if we have a NFR inset.
11440 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11441 parts of layout read further up as it still was in the wrong
11444 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11446 * screen.C (drawFromTo): change sine fullRebreak always return
11449 * buffer.C (parseSingleLyXformat2Token): reindent some
11451 * BufferView_pimpl.C (update): change since fullRebreak always
11453 (Dispatch): git rid of the last hardcoded "Standard"s.
11455 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11457 * text2.[Ch] (fullRebreak): make it return void now that we always
11460 2002-04-30 Juergen Vigna <jug@sad.it>
11462 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11463 ert compatibility check for "latex" layout.
11465 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11467 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11468 minipages: use col% instead of p%, and also use the current font.
11469 (makeLaTeXFile): Fix use babel condition.
11470 (parseSingleLyXformat2Token): Correct font when reading old floats.
11472 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11474 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11475 inserting list of floats.
11477 2002-04-25 Herbert Voss <voss@lyx.org>
11479 * MenuBackend.C (expand): don't add the graphics extensions to the
11482 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11484 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11485 non-existing layout, do not complain if it was the default layout
11486 of the original class (bug #342)
11488 2002-04-24 Juergen Vigna <jug@sad.it>
11490 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11491 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11493 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11495 * buffer.C (getBibkeyList): If using \bibliography, return the
11496 option field with the reference itself. Enables us to provide natbib
11497 support when using \bibliography.
11499 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11501 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11503 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11504 natbib is provided by the LaTeX class.
11506 2002-04-23 Juergen Vigna <jug@sad.it>
11508 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11511 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11513 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11515 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11517 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11518 ensuremath around textordmasculine, textordfeminine and
11521 2002-04-19 Juergen Vigna <jug@sad.it>
11523 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11524 reinitializing the buffer otherwise row-dimensions may be wrong.
11525 (update): reset also the selection cursors if they do exits otherwise
11526 their x/y positions may be wrong.
11528 * text2.C (cursorDown): don't enter the inset if we came from a row
11529 above and are one row over the inset.
11531 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11532 really leaving an inset.
11534 2002-04-18 Juergen Vigna <jug@sad.it>
11536 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11537 of the selected paragraph does not have the selected layout also if
11540 * text2.C (setLayout): fixed bug which did not change last selected
11543 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11544 changed the read and substituted \\end_float with \\end_inset!
11546 * BufferView_pimpl.C (cursorPrevious):
11547 (cursorNext): fixed to make it work with rows heigher than the work
11548 area without moving the cursor only the draw of the row.
11549 (workAreaMotionNotify): fix jumping over high rows.
11551 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11553 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11556 2002-04-16 Juergen Vigna <jug@sad.it>
11558 * text2.C (setCursor): set also the irow().
11559 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11561 (cursorDown): support for locking an inset if the x_fix value goes
11562 inside it. That way I can transverse insets too with cursor up/down.
11564 * lyxrow.h: added irow helper function same as other (i) functions.
11566 * BufferView_pimpl.C (cursorPrevious):
11567 (cursorNext): fixed for insets!
11569 2002-04-15 Juergen Vigna <jug@sad.it>
11571 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11572 position otherwise it is wrong in some cases.
11574 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11575 inside the inset before the call.
11577 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11579 * buffer.[Ch] (getBibkeyList): make it const.
11581 2002-04-12 Juergen Vigna <jug@sad.it>
11583 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11585 * text2.C (getCursorX): new helper function
11586 (setCursor): compute also ix_
11587 (setCursorFromCoordinates): set also ix.
11589 * lyxcursor.h: added ix_ and helper functions.
11591 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11593 * buffer.C (insertStringAsLines): dont break paragraph if the this
11594 paragraph is inside an inset which does not permit it!
11596 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11597 also with no chars on this paragraph.
11598 (paintRowText): only paint stuff if it's inside the workarea!
11600 * paragraph.C (breakParagraph): honor keepempty flag and break the
11601 paragraph always below not above.
11603 * BufferView2.C (unlockInset): update the paragraph layout on inset
11604 unlock as we changed paragraph in such a case.
11606 * lyxfind.C (LyXFind): clear the former selection if not found!
11608 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11609 again called in insertChar().
11611 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11612 an inset which uses the whole row!
11613 (rightMargin): ditto.
11614 (insertChar): force a rebreak if we inserted an inset!
11616 2002-03-28 Herbert Voss <voss@lyx.org>
11618 * lyxlength.[Ch]: add inBP() to get the right PS-point
11619 units (BigPoint). With inPixels we have rounding errors
11621 2002-04-11 Juergen Vigna <jug@sad.it>
11623 * text2.C (setCursorFromCoordinates): set iy to the right value.
11624 (setCursor): add check if row->previous exists!
11626 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11627 an old float_type as this was the case in the old code!
11629 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11631 * BufferView2.C (showLockedInsetCursor): use iy
11632 (fitLockedInsetCursor): ditto
11634 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11635 locked insets as there we have the right value now.
11637 * lyxcursor.C: added iy_ variable and iy functions to set to the
11638 baseline of cursor-y of the locked inset.
11640 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11641 (setCursor): fixed for insets which need a full row.
11643 * text.C (rowLastPrintable): don't ignore the last space when before
11644 an inset which needs a full row.
11645 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11646 as last character of a row when before a inset which needs a full row.
11648 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11650 * version.C.in: update date
11652 * text2.C (fullRebreak): try to always return true and see what
11655 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11657 * MenuBackend.C (expand): use Floating::listName
11659 * FloatList.C (FloatList): add listName argument to the built-in
11662 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11663 text associated with the float.
11665 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11667 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11669 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11671 * ShareContainer.h: add a couple of missing typenames.
11673 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11675 * lyxrc.C (getDescription): use _() correctly rather than N_().
11677 2002-03-28 Herbert Voss <voss@lyx.org>
11679 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11680 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11682 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11684 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11685 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11687 2002-03-29 Juergen Vigna <jug@sad.it>
11689 * lyxfunc.C (dispatch): add a missing fitCursor call.
11691 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11692 it was scrolled by a cursor move, so return the bool status.
11694 * BufferView.C (fitCursor): return the bool flag also to the outside
11695 world as this is needed.
11697 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11699 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11700 call the edit() as it is not needed (and wrong) IMO.
11701 (workAreaButtonPress): set the screen_first variable before evt.
11702 unlock the inset as this may change screen_first and then we have
11703 a wrong y position for the click!
11705 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11707 * MenuBackend.C (expand): another translation that I missed
11709 2002-03-28 Juergen Vigna <jug@sad.it>
11711 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11713 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11715 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11717 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11719 * MenuBackend.C (expand): fix export/view/update when there is no
11722 2002-03-27 Herbert Voss <voss@lyx.org>
11724 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11727 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11729 * bufferview_funcs.C (currentState): only show paragraph number
11730 for is DEVEL_VERSION is set.
11732 * lyxfunc.C (dispatch): put warning in INFO channel
11734 * MenuBackend.C (expand): translate the name of floats
11736 * FloatList.C (FloatList): mark the float names for translation
11738 * converter.C (convert): use LibScriptSearch
11740 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11742 * MenuBackend.C (defaults): fix default menu (we might as well get
11745 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11747 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11750 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11752 * lyxvc.C: reorder includes.
11754 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11756 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11759 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11761 * CutAndPaste.C: change layouts earlier on paste
11762 to avoid crashing when calling getFont()
11764 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11766 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11769 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11771 * WorkArea.C: remove 'Pending' debug message.
11773 * most files: ws cleanup
11775 * buffer.[Ch]: ws changes
11777 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11779 2002-03-21 Juergen Vigna <jug@sad.it>
11781 * tabular.C (SetMultiColumn): collapse also the contents of the
11782 cells and set the last border right. Added a Buffer const * param.
11784 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11786 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11789 2002-03-19 Juergen Vigna <jug@sad.it>
11791 * text2.C (clearSelection): reset also xsel_cache.
11793 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11794 where it needs to be called (John tells us to do so too :)
11795 (selectionLost): reset sel_cache.
11797 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11799 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11801 * text2.C (setCursorIntern): put debuging code in INSETS channel
11803 2002-03-19 André Pönitz <poenitz@gmx.net>
11805 * lyxfunc.C: tiny whitespace change
11807 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11809 * ToolbarDefaults.C (init):
11810 * LyXAction.C (init):
11812 * BufferView_pimpl.C (Dispatch):
11813 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11815 2002-03-19 Allan Rae <rae@lyx.org>
11817 * exporter.C (Export): removeAutoInsets before doing anything else.
11818 While I've just introduced a dependency on BufferView this really is
11819 the best place to clean the buffer otherwise you need to cleanup in
11820 a dozen places before calling export or cleanup in a dozen functions
11823 * converter.C (runLaTeX):
11824 (scanLog): Better handling of removeAutoInsets and screen updates.
11826 * lyxfunc.C (dispatch): small whitespace changes
11828 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11830 * WorkArea.C (C_WorkAreaEvent): return a value.
11831 (event_cb): return 1 if we handled the event, 0 otherwise.
11833 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11835 2002-03-18 Juergen Vigna <jug@sad.it>
11837 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11838 (GetAdditionalWidth): ditto.
11839 (RightLine): ditto.
11842 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11843 inset if we're there actually (probably not used right now but this
11844 is the direction to go for unifying code).
11845 (paste): disable code to clear the selection.
11847 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11848 inside an InsetText and move the check further up as it is in the
11851 * text2.C (pasteSelection): set a selection over the pasted text.
11853 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11855 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11856 and libgraphics to build on Cygwin.
11858 2002-03-15 Juergen Vigna <jug@sad.it>
11860 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11861 inserting an Inset into the paragraph. I know this is not the best
11862 fix but we already use current_view in CutAndPaste so we will remove
11863 all of it's using at the same time.
11865 * buffer.C (sgmlError): deactivated function till it is rewritten in
11866 the right mode, now it can create problems.
11868 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11869 before accessing it.
11871 2002-03-14 Juergen Vigna <jug@sad.it>
11873 * undo_funcs.C (textHandleUndo): do the right thing when updating
11874 the inset after the undo/redo.
11876 * text2.C (setCursor): just some testcode for #44 not ready yet.
11878 * undo_funcs.C (textHandleUndo): set the next() and previous()
11879 pointers of the paragraph to 0 before deleting otherwise we have
11880 problems with the Paragraph::[destructor].
11882 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11883 on a paragraph insertion.
11885 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11887 * buffer.C (asciiParagraph): use += operator for char append to
11890 * paragraph.C (getFontSettings): compare >= not just >
11891 (highestFontInRange): ditto
11894 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11896 * paragraph.C: change several algorithm to be more appripriate for
11897 the problem domain. This is lookip in FontList and in the InsetList.
11899 2002-03-13 André Pönitz <poenitz@gmx.net>
11902 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11904 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11909 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11911 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11913 * Painter.C (display): anon helper function, adjust code for this
11915 (pixmap): remove function.
11917 * Painter.h: remove private display variable.
11919 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11921 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11923 * WorkArea.[Ch]: remove figinset_canvas cruft.
11925 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11927 * lyxtextclass.C (operator): add one item cache optimization.
11929 * bufferlist.h: doxy changes
11931 * bufferlist.C: ws changes
11933 * DepTable.[Ch] (ext_exist): place const in the right spot.
11935 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11937 (workAreaExpose): call resizeInsets when the with BufferView changes.
11938 (Dispatch): adjust for protectedBlank removal
11939 (specialChar): call updateInset if the insert went ok.
11941 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11942 specialChar instead.
11944 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11946 * BufferView.h: doxy change
11948 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11950 * lyxtextclass.C (operator[]): remove non-const version
11951 (defaultLayout): remove non-const version
11953 2002-03-12 Juergen Vigna <jug@sad.it>
11955 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11956 did resize the LyXText too.
11958 * buffer.C (readLyXformat2): set layout information on newly allocated
11961 * tabular.C (OldFormatRead): set layout information on the paragraph.
11963 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11965 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11967 2002-03-11 Juergen Vigna <jug@sad.it>
11969 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11971 (resizeCurrentBuffer): force also the insets to resize themselfes.
11972 (moveCursorUpdate): fixed up for InsetText.
11974 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11977 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11978 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11979 value of Dialogs::tooltipsEnabled().
11980 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11982 2002-03-08 Juergen Vigna <jug@sad.it>
11984 * BufferView_pimpl.C (updateInset): update inset inside inset also
11985 if it isn't inside theLockingInset().
11987 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11989 * buffer.C (asciiParagraph): redo some of the word and line length
11991 (getLists): look for Caption instead of caption.
11993 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11995 * buffer.C (Buffer): initialize niceFile to true
11997 (makeLinuxDocFile):
11998 (makeDocBookFile): make sure niceFile is true on exit
12000 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12002 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12004 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12006 * LyXSendto.C: remove.
12007 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12008 * lyx_gui.C: remove now-redundant comment.
12009 * ColorHandler.h: remove forward declaration of class WorkArea.
12010 * lyxfunc.C: remove #include "WorkArea.h".
12012 2002-03-07 Juergen Vigna <jug@sad.it>
12014 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12015 got moved away with the DEPM and also set the inset_owner always
12016 right which before could have been omitted.
12018 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12020 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12021 wanted layout is not found.
12023 2002-03-07 Juergen Vigna <jug@sad.it>
12025 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12027 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12029 * paragraph.C (breakParagraph): use default layout not layout of
12031 (Paragraph): clear ParagraphParameters.
12033 2002-03-06 Juergen Vigna <jug@sad.it>
12035 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12036 otherwise it would not be a valid lenght. Fixed a special case in
12037 the minipage compatibility read where we end the document with a
12040 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12041 was set as it could be 0 for InsetTexts first entry.
12043 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12045 * paragraph.C (writeFile): if layout is empty write out
12046 defaultLayoutName().
12048 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12049 file without named layout we set layout to defaultLayoutName().
12051 2002-03-06 Juergen Vigna <jug@sad.it>
12053 * CutAndPaste.C (copySelection): set layout for new paragraph.
12055 * text.C (prepareToPrint): leave ERT inset left aligned
12056 (leftMargin): don't indent paragraphs inside ERT insets
12058 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12060 * paragraph.C (breakParagraph): dont call clear do the work manually
12062 * paragraph.[Ch] (clear): remove function
12064 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12066 * paragraph.C (Paragraph): dont call clear, the work has already
12069 * lyxtextclass.C (operator): assert if n is empty
12071 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12072 work manually instead.
12074 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12076 * BufferView_pimpl.C: protect selectionLost against text == 0
12078 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12080 * text.C (breakParagraph): fix a setting layout to '0' problem.
12082 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12084 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12085 final location of file, for the included files, and graphics.
12087 2002-03-05 Juergen Vigna <jug@sad.it>
12089 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12091 2002-03-04 Juergen Vigna <jug@sad.it>
12093 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12095 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12096 last column of multicolumn cells.
12097 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12099 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12101 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12102 file if it doesn't go to a temporary file.
12104 * buffer.C (sgmlOpenTag):
12105 (sgmlCloseTag): remove extra newline insertion.
12107 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12109 * text.C (getRowNearY): comment out debug msg
12111 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12113 * text2.C: first -> first_y
12115 * text.C (getRowNearY): add some attemts at a possible
12116 optimization, not working.
12118 * tabular.[Ch]: add BufferParams to several function so that newly
12119 created paragraph can be initialized to he default layotu for the
12122 * tabular-old.C (ReadOld): add buf->params to call of Init
12124 * screen.C: rename text->first to text->first_y
12126 * paragraph.C (breakParagraph): always set layout in the broken
12129 * lyxtextclass.C (Read): remove lowercase
12132 (delete_layout): ditto
12134 * lyxtext.h: rename first -> first_y
12136 * lyxlayout.C (Read): remove lowercase
12139 (obsoleted_by): ditto
12141 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12143 * buffer.C (insertErtContents): add params are to InsetERT
12144 (parseSingleLyXformat2Token): add code to check if a paragraphs
12145 layout really exist.
12146 (parseSingleLyXformat2Token): add params to several inset
12148 (asciiParagraph): remove lowercase, do the layout comparisons with
12151 * BufferView_pimpl.C (cursorNext): first -> first_y
12152 (resizeCurrentBuffer): first -> first_y
12153 (updateScrollbar): first -> first_y
12154 (scrollCB): first -> first_y
12155 (workAreaMotionNotify): first -> first_y
12156 (workAreaButtonPress): first -> first_y
12157 (checkInsetHit): first -> first_y
12158 (cursorPrevious): first -> first_y
12159 (cursorNext): first -> first_y
12160 (Dispatch): add buffer_->params to severl inset contructors
12162 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12164 * lyxlayout.C (Read): remove some debug info that I forgot.
12166 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12167 clean up the code slightly.
12168 (makeLinuxDocFile): ditto
12169 (makeDocBookFile): ditto
12171 * text2.C: layout as string
12173 * text.C: layout as string
12175 * paragraph_pimpl.C: layout as string
12177 * paragraph.[Ch]: layout as string
12179 * lyxtextclasslist.[Ch]: layout as string
12181 * lyxtextclass.[Ch]: layout as string
12183 * lyxtext.h: layout as string
12185 * lyxlayout.[Ch]: layout as string
12187 * lyx_cb.C: layout as string
12189 * bufferview_funcs.C: layout as string
12191 * bufferparams.C: layout as string
12193 * buffer.C: layout as string
12195 * LyXView.[Ch]: layout as string
12197 * LaTeXFeatures.[Ch]: layout as string
12199 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12201 * BufferView_pimpl.C: change current_layout to string, remove
12206 (workAreaButtonRelease): layout as string
12208 * BufferView2.C (unlockInset): adjust
12210 * vspace.C (asLatexCommand): use an explict temp variable.
12212 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12214 * Makefile.am: use FRONTEND_*
12216 2002-03-01 Juergen Vigna <jug@sad.it>
12218 * tabular.C (SetWidthOfMulticolCell): changed to something better
12219 I hope but still work in progress.
12220 (recalculateMulticolumnsOfColumn): renamed function from
12221 recalculateMulticolCells as it is more appropriate now.
12222 (SetWidthOfCell): calculate multicols better.
12224 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12226 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12228 * lyxfunc.C (processKeySym): print sequence also if it is
12229 `deleted' (complete)
12231 * kbsequence.C (print): print sequence even if it is deleted
12232 (complete would be a better word, actually).
12234 * lyxfunc.C (dispatch): print complete options after a prefix key
12236 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12238 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12240 * text2.C (setCharFont): eliminate setCharFont code duplication.
12242 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12244 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12245 LFUN_TABULAR_FEATURE (bug #177)
12247 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12249 * Makefile.am: remove figure.h
12251 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12253 * Bufferview_pimpl.C:
12265 * text2.C: remove #include "lyx_gui_misc.h".
12267 * LaTeX.C: added #include <cstdio>
12269 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12271 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12272 that the paragraph following this one can have.
12274 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12276 * vspace.C (asLatexCommand): fix bogus gcc warning
12278 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12280 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12282 * text2.C (setLayout): get rid of redundant code
12284 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12286 * text2.C (incDepth): make sure depth cannot be increased beyond
12289 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12291 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12292 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12294 * PainterBase.h (image):
12295 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12296 a LyXImage const *.
12298 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12302 * BufferView_pimpl.C:
12303 * BufferView_pimpl.h:
12323 * sp_spell.C: remove fig inset, and the crap house of
12324 cards that follows it
12326 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12331 * os2_errortable.h:
12332 * nt_defines.h: move .h into support/
12334 * vms_defines.h: remove
12336 * WorkArea.C: add space in debug output
12340 * buffer.C: add WITH_WARNINGS
12344 * bufferlist.C: s/retrive/retrieve/, add docs
12353 * chset.C: add docs
12355 * lyxgui.C: add ID to X error handler
12357 * lyxtestclass.c: fix typo
12359 2002-02-26 Juergen Vigna <jug@sad.it>
12361 * tabular_funcs.C (write_attribute): changed so that some default
12362 attributes are not written at all.
12363 (getTokenValue): set default values before trying to read the
12364 value so we have the return value always set as default if we don't
12365 find the token we search for.
12367 * tabular.C (Write): write bools as bools not as strings!
12369 2002-02-22 Juergen Vigna <jug@sad.it>
12371 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12372 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12374 * text.C (leftMargin): don't add an indent for paragraphs inside
12375 tabular cells (fix #208).
12377 2002-02-21 José Matos <jamatos@fep.up.pt>
12379 * tabular.C (docBook): fixed support for long tables.
12381 2002-02-20 Juergen Vigna <jug@sad.it>
12383 * text2.C (getFont): get the drawing font of the Inset if this
12384 paragraph is inside an inset (only important for InsetERT for now).
12386 * buffer.C (insertErtContents): use new lanugage params in ERT
12389 * CutAndPaste.C: commenting out seemingly uneeded code.
12391 2002-02-19 Allan Rae <rae@lyx.org>
12393 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12394 Iterators might be simple to use but they also get invalidated.
12395 (removeAutoInsets): renamed saved cursor tracking variables and added
12396 some comments to clarify what everything does.
12398 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12405 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12406 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12409 * vc-backend.h: remove #include "support/syscall.h"
12413 * converter.C: rearrange #includes in Lars' approved fashion.
12415 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12416 forward declare class Timeout in the header file.
12418 * XFormsView.C: changes due to the above.
12420 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12421 similar to LyXView.
12423 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12424 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12426 2002-02-18 José Matos <jamatos@fep.up.pt>
12428 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12431 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12433 * a lot of small ws changes
12434 * add a lot of using std::XXX
12435 * use std construcs some places where approp.
12436 * use some exisint stuff from lyxfunctional where approp.
12437 * Make file changes to use partial linking (lets test this now...)
12439 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12443 remove #include "support/syscontr.h" as it's redundant. Always has been.
12451 change Systemcalls::System to Systemcalls::Wait and
12452 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12453 No change of functionality, just reflects the stripped down Systemcalls
12456 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12458 * debug.[Ch]: add a GRAPHICS type to the enum.
12460 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12462 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12464 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12467 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12469 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12470 match the changes below.
12472 * text2.C (toggleInset): if there is not editable inset at cursor
12473 position, try to see if cursor is _inside_ a collapsable inset
12476 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12478 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12479 document menu has a nice checkbox
12481 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12483 * lyxlength.C (asLatexString): change PW to output as percent of
12486 * lengthcommon.C: change '%' to 't%'
12488 * lyxfunc.C (dispatch): a few comments from Martin
12490 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12494 * BufferView_pimpl.h:
12495 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12498 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12500 * vspace.C (inPixels): fix compiler warning
12502 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12504 * lyxfunc.C (getStatus): fix status message for disabled commands.
12506 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12508 * BufferView_pimpl.C: fix crash on close buffer
12509 during selection (#227)
12511 2002-01-27 Herbert Voss <voss@lyx.org>
12513 * buffer.C: link old Figure to new graphic inset
12515 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12517 * FontLoader.C (getFontinfo): Change the latex font names in order
12518 to match the names of type1inst.
12520 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12522 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12524 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12525 (extchanged): ditto
12527 (remove_files_with_extension): ditto
12528 (remove_file): ditto
12531 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12532 document is smaller than the work area height. Do not initialize
12533 static variables to 0.
12535 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12537 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12539 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12540 LFUN_LAYOUT_PARAGRAPHS.
12542 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12543 tabular. It is possible to provide a possible cell, which will
12544 typically be the actcell from the corresponding insettabular
12546 * lyxfunc.C (getStatus): small cleanup; disable
12547 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12550 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12552 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12554 * paragraph.C (startTeXParParams):
12555 (endTeXParParams): new methods. The LaTeX code to
12556 start/end paragraph formatting
12557 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12558 empty (fixes bug #200)
12560 * vspace.C (inPixels): adapt to the change below
12561 (inPixels): [later] more cleanups (remove unused variables)
12563 * lyxlength.C (inPixels): change to use a width and a height as
12566 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12568 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12569 Replaced with \paperwidth
12571 * DepTable.C (insert): add std:: qualifier
12573 2002-01-18 Allan Rae <rae@lyx.org>
12575 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12578 * text.C (drawInset): Turned out I didn't know enough about how
12579 rebreaking worked. This fixes most of the redraw problems. I see
12580 an occasional cursor trail when a line is broken now and the cursor
12581 placement can seem out by a few pixels also after a rebreak.
12583 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12585 * buffer.C (parseSingleLyXformat2Token): update because minipage
12586 width is now a LyXLength
12588 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12590 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12593 2002-01-17 Juergen Vigna <jug@sad.it>
12595 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12597 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12598 is set correctly and the inset is updated correctly.
12600 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12602 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12603 the beginning of the loop.
12605 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12607 * lyxrc.C: improve help for use_scalable_fonts
12609 2002-01-17 Allan Rae <rae@lyx.org>
12611 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12613 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12615 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12616 make sure to set their inset_owner to the right value (bug #171)
12618 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12621 * DepTable.C: Implement mtime checking to reduce time spent doing
12624 2002-01-16 Juergen Vigna <jug@sad.it>
12626 * tabular.C (GetAdditionalHeight): one of error fixed.
12628 * lyxrc.C (output): small fix in writing use_pspell.
12630 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12632 * sp_base.h: #include LString.h
12634 2002-01-16 Allan Rae <rae@lyx.org>
12636 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12637 Can someone check this please?
12639 * text.C (drawInset): It was possible that p.row would be removed by
12640 breakAgainOneRow upsetting a few other settings. There may be another
12641 small tweak possible by setting need_break_row = 0 when p.row has been
12642 removed but I don't know enough about the logic here.
12644 2002-01-15 Allan Rae <rae@lyx.org>
12646 * text.C (insertChar): removed conditional truism.
12648 * BufferView2.C (removeAutoInsets): More tweaks.
12649 cur_par_prev could be a stray pointer. Check for trailing empty line
12650 in case last line was cur_par and only had an error inset on it.
12652 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12654 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12657 * vc-backend.C (most methods):
12658 * exporter.C (Export):
12659 * converter.C (convert):
12661 * LyXSendto.C (SendtoApplyCB):
12662 * lyxfunc.C (dispatch):
12666 * lyx_cb.C (AutoSave):
12668 * BufferView_pimpl.C (MenuInsertLyXFile):
12669 * buffer.C (runChktex): use Buffer::filePath().
12671 * buffer.h: rename filename to filename_; rename filepath to
12672 filepath_ and make it private
12673 (filePath): new method
12675 * buffer.C (writeFile): use fileName()
12678 * lyx_main.C (init): fix starting of LyX when the binary is a
12679 link from so,ewhere else.
12681 * minibuffer.C: include <cctype> for isprint
12683 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12685 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12686 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12687 name clash with InsetCollapsable's width function.
12689 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12691 * lastfiles.C: include <iterator>
12693 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12695 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12698 * buffer.C (makeLaTeXFile): ditto.
12699 Also make loop operation more transparent.
12701 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12703 * ToolbarDefaults.C: remove trailing comma closing namespace.
12705 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12707 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12710 * trans.C (Load): comment out unused variable, allowed.
12712 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12714 * minibuffer.[Ch] (append_char): new method to recieve input from the
12715 drop-down completion browser. If a key was pressed, then recieve this
12716 char and append it to the existing string.
12717 (peek_event): modify the positioning data passed to the completion
12718 browser so that it can be placed above the minibuffer rather than below.
12719 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12721 * LyXAction.C (init): alloe error-next for readonly documents.
12723 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12726 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12728 * bufferlist.C (readFile): create the buffer _after_ checking that
12731 * lyxfunc.C (verboseDispatch): fix handling of arguments
12733 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12735 * lyxrc.C: use string::erase() instead of initializing to "".
12738 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12740 * BufferView_pimpl.h:
12741 * BufferView_pimpl.C:
12744 * text2.C: tell X when we have made a selection for copying
12746 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12748 * BufferView_pimpl.C (MenuInsertLyXFile):
12749 * lyxfunc.C (menuNew):
12751 (doImport): add shortcuts to directory buttons
12753 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12756 * lyxfunc.C (setStatusMessage):
12757 (getStatusMessage): new methods
12758 (getStatus):use setStatusMessage instead of setErrorMessage
12759 (dispatch): when function is disabled, set error message here
12760 [instead of in getStatus previously]
12762 * BufferView_pimpl.C (workAreaButtonRelease): update
12763 toolbar/menubar here too.
12765 2002-01-13 Allan Rae <rae@lyx.org>
12767 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12768 Now seems indestructible. Remaining task is to audit all other
12769 code affected by deleteEmptyParagraphMechanism. One small quirk
12770 left is that an empty document with an error in the preamble can
12771 be made to report an error but no error box appears. I don't know
12773 (removeAutoInsets): Improved comments.
12775 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12778 * Thesaurus.C: update for Aiksaurus 0.14
12780 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12782 * text2.C (firstParagraph): removed member function, all uses
12783 replaces with ownerParagraph
12784 (redoParagraphs): here
12785 (updateInset): here
12786 (toggleAppendix): here
12787 * BufferView2.C (insertErrors): here
12788 (setCursorFromRow): here
12790 2002-01-13 Allan Rae <rae@lyx.org>
12792 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12793 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12794 There is still a way to segfault this although you may have to do this
12795 multiple times: Have an InsetERT with an unknown command in it.
12796 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12797 <down-arrow>, <Enter> again, View->DVI, BANG!
12799 * text2.C (setCursor):
12800 (deleteEmptyParagraphMechanism):
12801 * lyxtext.h (setCursor):
12802 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12803 Making use of the return value may help fix other bugs.
12805 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12807 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12809 * LyXView.C (updateMenubar): call MenuBar::update here
12810 (updateToolbar): but not here
12811 (showState): do not update toolbar/menubar
12813 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12814 should need to care about that.
12816 * lyxfunc.C (verboseDispatch): simplify a bit
12817 (getStatus): have a version which takes a pseudoaction, and
12818 another which requires a (kb_action,string).
12820 * LyXAction.C (retrieveActionArg): make it work also when action
12821 is not a pseudo-action.
12822 (getActionName): simplify a bit
12825 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12827 * lyxfunc.C (verboseDispatch): new families of methods with
12828 several ways to specify a command and a bool to indicate whether
12829 the command name and shortcut should be displayed in minibuffer
12830 (eventually, we could extend that to a finer bitmask like
12831 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12832 (dispatch): the pristine dispatch command which just, well,
12833 dispatchs! Note it still sets its result to minibuffer; I'm not
12836 * lyxfunc.h: remove setHintMessage
12838 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12840 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12842 * BufferView_pimpl.C (specialChar): delete new inset if we have
12843 not been able to insert it.
12845 * kbmap.C: revert to using int instead of kb_action, since all we
12846 are dealing with is pseudo-actions.
12848 * LyXAction.C (searchActionArg): change to return int instead of
12849 kb_action, since the result is a pseudoaction.
12851 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12853 * buffer.C (insertErtContents): Fix (partially) the font bug.
12855 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12857 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12858 as the other one is broken on my machine!
12860 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12863 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12865 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12867 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12868 reflect their actual use. Provide compatibility code for older lyxrc
12871 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12873 change names of popup font variables in line with the changes to lyxrc.C
12875 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12877 * buffer.C (asciiParagraph): avoid outputing a word twice after
12880 * lyxrc.C (getDescription): document that document_path and
12881 template_path can be empty.
12883 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12885 * LaTeXFeatures.C (getMacros):
12886 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12888 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12890 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12892 (getPackages): rename feature "floats" to "float". Use an array to
12893 iterate over 'simple' features (i.e. just a \usepackage). Add
12894 handling of "amsmath" (renamed from "amsstyle").
12896 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12898 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12901 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12903 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12904 FuncStaus::FuncStatus & FuncStaus::some_method().
12906 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12908 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12909 of the func_satus stuff. Edited and massaged in various ways by
12912 * lyxfunc.C (getStatus): use FuncStatus
12914 2002-01-08 Juergen Vigna <jug@sad.it>
12916 * text.C (nextBreakPoint): use function Inset::isChar().
12918 * paragraph.C (TeXOnePar): use function
12919 Inset::forceDefaultParagraphs.
12921 * buffer.C (latexParagraphs): use function
12922 Inset::forceDefaultParagraphs.
12924 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12926 * lyx_gui.C (init): set the style of the menu popups to
12927 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12929 2002-01-07 Juergen Vigna <jug@sad.it>
12931 * text.C (setHeightOfRow): small fix
12932 (prepareToPrint): don't look at alignment if we don't have the place
12935 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12937 * box.C: New file. Move the Box methods and functions out of box.h,
12938 following Lars' suggestion.
12940 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12942 * box.h: #include "support/LOstream.h", needed for inlined function.
12945 * lyxtextclasslist.C: added some using std declarations.
12947 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12949 * box.h: make signed dimensions to allow insets wider than
12950 the screen (bug #162)
12952 * BufferView_pimpl.C: add some insetHit debug
12954 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12956 * vc-backend.C: add FIXME
12958 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12960 * lyxfunc.C (getStatus): enable code for showing math font status
12963 2002-01-07 Juergen Vigna <jug@sad.it>
12965 * text.C (nextBreakPoint): removed debug output not needed anymore.
12967 2002-01-06 Juergen Vigna <jug@sad.it>
12969 * text.C (nextBreakPoint): fixed up this function we had this bug
12970 since ever but now hopefully we break row better.
12971 (insertChar): we have to check if an inset is the next char as it
12972 could now happen that a large inset is causing a break.
12974 2002-01-05 Juergen Vigna <jug@sad.it>
12976 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12977 if it doesn't like to be drawed.
12979 2002-01-04 Juergen Vigna <jug@sad.it>
12981 * BufferView2.C (lockInset): forgot to set a cursor.
12983 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12985 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12987 * FormMathsPanel.C:
12990 * form_maths_panel.C:
12991 * form_maths_panel.h:
12992 * form_maths_panel.fd: implemented sub- and super- buttons in math
12995 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12996 (or ^ space) to be used as in TeX (req'd by André).
12998 * lyxfunc.C: Allow ^ and _ again to be used both as
12999 super/subscript (mathed) and as themselves (in text).
13001 2002-01-03 Allan Rae <rae@lyx.org>
13003 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13004 "LyX" or the filename of the current buffer if it has one. This is a
13005 modified form of John Levon's patch.
13007 * XFormsView.C (setWindowTitle): also set icon title.
13009 * LyXView.h (setWindowTitle): signature changed.
13010 * XFormsView.h (setWindowTitle): ditto.
13012 2002-01-02 Juergen Vigna <jug@sad.it>
13014 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13016 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13018 * screen.C (topCursorVisible): introduce a temp var for
13019 text->cursor.row(), handle the case where this row is null. (kindo
13022 * text2.C (setCursor): add a couple of asserts.
13024 * paragraph.h (inset_iterator): add -> operator
13026 * paragraph.[Ch] (autoDeleteInsets): remove member function
13028 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13029 cursor pos correctly and handle inset deletion by itself.
13030 (insertErrors): move iterator declaration out of for expression
13032 * lyxtextclass.C: add <algorithm>
13034 * Makefile.am: added the new files to sources, removed layout.C
13036 * layout.C: removed file
13038 * layout.h: remove LYX_DUMMY_LAYOUT
13040 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13044 * lyxtextclass.[Ch]:
13045 * lyxtextclasslist.[Ch]: new files
13047 * include order changes to a lot of files, also changes because of
13050 2001-12-27 Juergen Vigna <jug@sad.it>
13052 * buffer.C (asciiParagraph): more fixes.
13054 * tabular.C (ascii): make ascii export support export of only the
13055 data separated by a column-delimiter.
13056 (ascii): better support for ascii export.
13058 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13060 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13062 * tabular_funcs.C: use a "using std::getline" instead of the
13063 previous fix from Angus (necessary for cxx + lyxstring)
13065 2001-12-24 Juergen Vigna <jug@sad.it>
13067 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13069 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13070 problems. First check a minipage also if we have some ert-contents
13071 (not only on par->size(), second set the right depth of the paragraph
13072 on the relink to the root-paragraph-list!
13074 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13075 which then did not anymore update the main paragraphs on undo/redo!
13077 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13079 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13080 code. Support all font-changing funcs (even those which are not in
13081 menu currently). Support for reporting font settings in
13082 mathed (disabled until Andre provides a function on mathed's side).
13084 * func_status.h (toggle): small helper function to set toggle
13087 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13089 * tabular_funcs.C: getline -> std::getline
13091 2001-12-21 Juergen Vigna <jug@sad.it>
13093 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13094 accessed and could be 0 (I couldn't generate this but it seems
13097 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13099 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13100 * tabular_funcs.h: here and include iosfwd
13102 2001-12-20 Juergen Vigna <jug@sad.it>
13104 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13105 inside inset but undo_par was.
13107 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13109 * Thesaurus.C: always include <config.h> in sources.
13113 * box.h: do not include <config.h> in header files
13115 * text.C (paintLastRow): remove unused variable
13117 * text.C (transformChar):
13119 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13121 * Painter.C (text):
13122 * font.C (width): rewrite to use uppercase() instead of
13125 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13127 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13129 * lyxfind.C: clean up of find failure position change
13131 2001-12-20 Juergen Vigna <jug@sad.it>
13133 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13135 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13136 (TeXRow): added to LaTeX a single tabular row.
13137 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13138 (Latex): simplified and finally good LT-h/f support.
13139 (various_functions): just small adaptions for LT-h/f support.
13141 * tabular_funcs.[hC]: added and moved here all not classfunctions
13144 2001-12-19 Juergen Vigna <jug@sad.it>
13146 * tabular.[Ch]: better support for longtabular options (not finished
13149 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13151 * text.C (paintLastRow): use the label font instead of the font of
13152 the last character to compute the size of *_BOX. This makes more
13153 sense and avoids a crash with empty paragraphs.
13154 Use Painter::rectangle to draw EMPTY_BOX.
13156 2001-12-19 Juergen Vigna <jug@sad.it>
13158 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13159 the paragraphs if the replaced paragraph is not the first one!
13160 Tried to delete not used paragraphs but does not work yet so for
13161 now it's inside #ifdef's and by default off!
13163 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13165 * MenuBackend.C: include "lyx_main.h" instead of declaring
13166 lastfiles (actually was declared as LastFiles* instead of a
13169 2001-12-17 Juergen Vigna <jug@sad.it>
13171 * tabular.C (AppendColumn): applied John's fix
13173 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13177 * BufferView_pimpl.h:
13178 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13181 * box.h: new start of class for above
13183 * lyxfunc.C: ignore space-only minibuffer dispatches.
13184 Show the command name when it doesn't exist
13186 * minibuffer.C: don't add empty lines to the history
13188 * minibuffer.C: add a space on dropdown completion
13190 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13192 * text.C: fix line above/below drawing in insets
13194 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13196 * lyxlength.C (LyXLength): Initialize private variables.
13198 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13200 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13201 when inserting error insets.
13203 2001-12-13 Juergen Vigna <jug@sad.it>
13205 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13206 actually sometimes the before-paragraph.
13207 (setUndo): don't clear the redostack if we're not actually undoing!
13209 2001-12-06 Juergen Vigna <jug@sad.it>
13211 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13212 and fixed redoing of main paragraph, so we can use it now ;)
13214 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13216 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13218 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13221 2001-12-13 André Pönitz <poenitz@gmx.net>
13224 * undo_func.C: minor cleanup
13226 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13228 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13229 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13230 font in urw-fonts package which is marked as -urw-fontspecific and
13231 does not work (incidentally, changing the encoding in the
13232 fonts.dir of this package to -adobe-fontspecific fixes the
13235 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13236 is a crash when undoing first paragraph (Juergen, please take a
13237 look). THis does not mean the undo fix is wrong, just that it
13240 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13241 the (Paragraph*) version when needed instead of duplicating the
13244 * text.C (workWidth): use Inset::parOwner to find out where the
13245 inset has been inserted. This is a huge performance gain for large
13246 documents with lots of insets. If Inset::parOwner is not set, fall
13247 back on the brute force method
13249 * paragraph_pimpl.C (insertInset):
13250 * paragraph.C (Paragraph):
13251 (cutIntoMinibuffer): set parOwner of insets when
13252 inserting/removing them
13254 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13256 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13262 * mathed/formulabase.C:
13263 * mathed/math_cursor.[Ch]:
13264 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13267 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13269 * lyxlength.[Ch] (operator!=): new function
13271 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13273 * text.C (workWidth): use Inset::parOwner to find out where the
13274 inset has been inserted. This is a huge performance gain for large
13275 documents with lots of insets. If Inset::parOwner is not set, fall
13276 back on the brute force method
13278 * paragraph_pimpl.C (insertInset):
13279 * paragraph.C (Paragraph):
13280 (cutIntoMinibuffer): set parOwner of insets when
13281 inserting/removing them
13283 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13285 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13287 * tabular-old.C (getTokenValue):
13288 * tabular.C (getTokenValue):
13289 (write_attribute): new versions for LyXLength
13290 (everywhere): adjust the use of widths
13292 * tabular.h: change the type of widths from string to LyXLength
13294 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13296 * paragraph.C: fixed missing line number count when exporting
13297 Environments to LaTeX file
13299 * buffer.C: added informational message for checking line numbers.
13301 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13303 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13304 paragraph, do the 'double space' part, but not the 'empty
13307 * text.C (workWidth): small optimization
13308 (getLengthMarkerHeight): use minimal size for negative lengths.
13310 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13312 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13314 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13316 2001-12-11 André Pönitz <poenitz@gmx.net>
13319 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13321 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13323 * text2.C: keep selection on a setFont()
13325 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13327 * lyx_cb.C: another bv->text misuse, from insert label
13329 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13332 * kbsequence.C: re-instate nmodifier mask
13334 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13336 * lyx_main.h: make lyxGUI private.
13338 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13340 * lyxfind.C: place the cursor correctly on failed search
13342 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13344 * text.C (getLengthMarkerHeight): for small heights, the arrows
13345 are not always on top/bottom of the text
13346 (drawLengthMarker): smaller arrows; take the left margin in
13347 account; draw also vfills.
13349 (paintLastRow): remove special code for vfill and standard spaces,
13350 since everything is handled in drawLengthMarker now.
13352 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13354 * buffer.C (insertErtContents): try to handle font and language
13355 interaction a bit better.g
13357 * ColorHandler.C (updateColor): change the hash to cover the whole
13358 LColor enum, ws cleanup
13359 (getGCLinepars): ditto
13360 (getGCLinepars): only lookup in the linecache once.
13362 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13364 * iterators.C (operator++): Make the iterator more robust
13366 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13368 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13370 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13373 * text.C: better added space drawing
13375 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13378 * BufferView2.C: fix layout combo update on inset unlock
13380 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13382 * Makefile.am: don't compile unused files
13384 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13388 * LyXAction.C: remove old LFUN_LAYOUTNO
13390 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13392 * paragraph_pimpl.h:
13393 * paragraph_pimpl.C: isTextAt() doesn't need font param
13395 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13398 * lyxlex.C: little cleanup
13400 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13402 * BufferView_pimpl.C: fix insertAscii for insets
13404 2001-12-05 Juergen Vigna <jug@sad.it>
13406 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13407 set the right font on the "multi" paragraph paste!
13409 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13415 * lyxlength.C: remove out-commented code.
13417 * BufferView_pimpl:
13431 * vc-backend.C: change "while(" to "while ("
13433 * lyxlength.[Ch]: add zero function to check if length is zero or
13435 * lyxgluelength.C: use it
13437 2001-12-05 Allan Rae <rae@lyx.org>
13439 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13440 Works for 2.95.3, from what I understand of Garst's reports this should
13441 work for other g++ versions. We're screwed if the abs(int) definition
13442 changed between bugfix releases of gcc.
13444 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13446 * text.C: fix chapter label offset !
13448 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13451 * text.C: fix hfill at end of line, clean up
13453 2001-12-04 Juergen Vigna <jug@sad.it>
13455 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13456 that we force an update of the inset and it's owners if neccessary.
13458 2001-12-03 Juergen Vigna <jug@sad.it>
13460 * text.C (rowLast): simplified code
13462 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13464 * lyxfunc.C: fix show options on timeout
13466 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13468 * screen.C (topCursorVisible): scroll half a page when the cursor
13469 reached top of bottom of screen
13471 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13473 * minibuffer.C: deactivate on loss of focus
13475 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13477 * vspace.[Ch] (operator!=): add operator.
13479 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13481 * BufferView_pimpl.C: refuse to open an inset when
13482 there's a selection.
13484 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13486 * BufferView_pimpl.C: allow to click on RHS of full row insets
13488 2001-11-30 Juergen Vigna <jug@sad.it>
13490 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13491 insets for undo reasons.
13493 2001-11-28 André Pönitz <poenitz@gmx.net>
13495 * vspace.[Ch]: cosmetical changes
13497 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13507 * kbsequence.C: part re-write of old kb code
13510 * WorkArea.C: remove Lgb_bug_find_hack
13512 2001-11-30 José Matos <jamatos@fep.up.pt>
13514 * buffer.C (makeDocBookFile): add a comment to point a hack.
13515 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13516 Fixed a double write of labels.
13518 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13521 * LaTeX.h Fixed bug in LaTeX class where it would not
13522 re-run latex if no depfiles were changed, but the .dvi was removed.
13524 2001-11-28 André Pönitz <poenitz@gmx.net>
13526 * all the files from the change on 2001/11/26:
13527 use lyx::layout_type instead of LyXTextClass::size_type
13528 use lyx::textclass_type instead of LyXTextClassList::size_type
13530 2001-11-29 Juergen Vigna <jug@sad.it>
13532 * text.C: added support for paragraph::isFreeSpacing()
13534 * buffer.C: same as above
13536 * paragraph.h: inserted isFreeSpacing() function to enable
13537 FreeSpacing inside InsetERT.
13539 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13540 of the paragraph's in the cut/copy buffer to 0!
13542 * text2.C (removeRow): remove the assert as it can!
13544 * lyxtext.h: added helper function firstRow returning firstrow and
13545 made firstrow private again.
13547 * BufferView2.C (lockInset): don't relock if we're already locked!
13549 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13550 the only paragraph.
13551 (removeRow): added Assert::(firstrow)
13553 * debug.C: forgot to add INSETTEXT here.
13555 2001-11-28 Juergen Vigna <jug@sad.it>
13557 * sp_spell.C (initialize): changed error text to more general
13558 spellchecker command use (not only ispell!)
13560 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13562 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13564 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13566 * vspace.C: initialise lyxgluelength on failure
13568 2001-11-28 Allan Rae <rae@lyx.org>
13570 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13571 declaration & definition that looks like a function declaration.
13573 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13575 * BufferView2.C (copy):
13576 (copyEnvironment): do not clear the selection when doing a copy.
13578 * text.C (paintFirstRow): compilation fix
13580 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13582 * tabular.C (Latex): correct line count when writing latex.
13584 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13586 * paragraph_pimpl.h:
13587 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13590 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13594 * LColor.C: change vfillline->added_space
13596 * text.C: add markers and text for added space
13598 * vspace.C: fix comment
13600 2001-11-28 André Pönitz <poenitz@gmx.net>
13602 * paragraph.C: whitespace changes
13603 * all the other files from the change on 2001/11/26:
13604 change *::pos_type into lyx::pos_type
13606 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13608 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13609 language of the document when inserting error insets.
13611 2001-11-26 André Pönitz <poenitz@gmx.net>
13613 * BufferView_pimpl.[Ch]:
13621 * paragraph_pimpl.[Ch]:
13624 * text2.C: reduce header dependencies, introduce type for positions
13626 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13628 * <various>: change to use Alert.h
13630 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13632 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13633 when encountering an unknown token.
13634 (readLyXformat2): Show an error message if there were unknown tokens.
13636 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13639 * BufferView_pimpl.C:
13643 * text2.C: use par->isInset()
13645 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13647 * paragraph_pimpl.h:
13648 * paragraph_pimpl.C: cleanup
13650 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13652 * text2.C (removeRow):
13653 * text.C (setHeightOfRow): remove useless (and costly) call to
13656 2001-11-20 Allan Rae <rae@lyx.org>
13658 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13659 Now need Inset*::checkInsertChar() to return true for appropriate
13660 cases so that the characters in the minibuffer will actually be
13663 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13665 * text.C: change the order of the includes.
13666 (workWidth): initialize it at once.
13667 (workWidth): make maxw unsigned
13668 (setHeightOfRow): remove unused variable (inset)
13669 (selectSelectedWord): remove unused variable (inset)
13670 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13672 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13674 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13675 server is not running.
13677 (closeConnection): add debug info when server is disabled.
13679 * ColorHandler.C (getGCForeground): send debug message to GUI
13682 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13684 * kbmap.C (bind): modify because return conventions of
13685 kb_sequence::parse have changed.
13687 * kbsequence.C (parse): only ignore spaces and not any stupid
13688 control character. This avoids tests like s[i] <= ' ', which are
13689 guaranteed to fail with 8bit characters and signed chars.
13690 Change return code to string::npos when there have been no error
13691 (0 was a bad idea when error is at first character)
13693 2001-11-14 José Matos <jamatos@fep.up.pt>
13696 * buffer.C (simpleDocBookOnePar): removed unused argument.
13698 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13700 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13701 insets which are part of a word. Paragraph::isLetter takes care of
13702 that now. Use Paragraph::isInset to identify insets.
13703 (selectSelectedWord): do not test for hyphenation break.
13705 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13706 that protected spaces are considered as spaces.
13708 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13711 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13714 * lyxserver.C: fix it. and small cleanup.
13716 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13718 * BufferView_pimpl.C: use inline helpers
13721 * LaTeXFeatures.C: fix typos
13724 * Spacing.C: move spacing_string into class
13726 * ToolbarDefaults.C: move stuff into namespace anon
13728 * layout.h: update enum
13730 * lyxfunc.C: use better debug
13732 * minibuffer.h: fix typo
13736 * WorkArea.C: add and use Debug::WORKAREA
13740 * text2.C: code re-organisation, inline helpers
13742 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13744 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13745 std::vector.empty().
13747 2001-11-09 Allan Rae <rae@lyx.org>
13749 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13750 '\n's after tables. Tabular and ERT inset work now makes this no
13753 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13756 * minibuffer.C: fix crash, improve drop-down completion
13758 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13761 * lyxserver.C: invalidate fd's when doing endPipe()
13763 2001-11-08 José Matos <jamatos@fep.up.pt>
13765 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13766 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13769 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13771 2001-11-07 José Matos <jamatos@fep.up.pt>
13774 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13777 * buffer.C (sgmlOpenTag):
13778 * buffer.C (sgmlCloseTag): removed debug info.
13780 * buffer.h (sgmlOpenTag):
13781 * buffer.h (sgmlCloseTag): made public.
13783 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13785 * buffer.C (saveParamsAsDefaults):
13786 * lyx_cb.C (MenuLayoutSave): remove
13788 * LyXAction.C (init):
13790 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13792 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13794 * buffer.C (setPaperStuff): removed from here...
13796 * bufferparams.C (setPaperStuff): ... and moved there.
13798 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13802 * XFormsView.C: add support for drop-down completion
13804 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13806 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13809 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13811 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13814 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13816 * lyx_main.C: change ref to known bugs
13818 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13820 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13821 to work around older babel problems.
13823 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13825 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13827 2001-10-24 Juergen Vigna <jug@sad.it>
13829 * tabular-old.C (ReadOld): below variable changes reflected.
13831 * tabular.[Ch]: added ltType struct for longtable header/footer
13832 defines and changed all instances where they are used. Added
13833 future support for double top/bottom rows.
13835 2001-10-24 José Matos <jamatos@fep.up.pt>
13837 * buffer.h (docbookHandleCaption):
13838 * buffer.C (docbookHandleCaption): removed unused function.
13839 (makeDocBookFile): moved docbook supported version to v4.1.
13841 2001-10-24 José Matos <jamatos@fep.up.pt>
13844 * tabular.C (docbookRow): new function to export docbook code of a row.
13845 (DocBook): now honors the longtable flags.
13847 2001-10-23 José Matos <jamatos@fep.up.pt>
13850 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13851 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13853 * buffer.C (makeLinuxDocFile):
13854 (makeDocBookFile): reworked the preamble, more clean, and with
13855 support for lyx defined entities. Changed the document declaration
13856 to be more XML friendly.
13858 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13859 if we need to output XML that should be done with a filter.
13861 2001-10-22 Juergen Vigna <jug@sad.it>
13863 * sp_pspell.h (class PSpell): add alive function needed in the
13864 controller to see if the spellchecker could be started.
13866 2001-10-22 Juergen Vigna <jug@sad.it>
13868 * buffer.C (insertStringAsLines): modify the font for inserting
13869 chars in certain conditions by calling checkInsertChar(font).
13871 2001-10-19 Juergen Vigna <jug@sad.it>
13873 * text.C (workWidth): use getRow instead of wrong algorithm.
13874 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13876 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13881 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13883 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13885 * text.C (workWidth): do not search for the exact row when
13886 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13887 optimization for big documents.
13889 2001-10-18 Juergen Vigna <jug@sad.it>
13891 * text.C (workWidth): new function with added Inset * parameter.
13893 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13895 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13897 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13898 change return type of getColumnNearX.
13901 * text.C (changeRegionCase): use uppercase/lowercase instead of
13904 (rightMargin): simplify code by factoring out the uses of
13909 (appendParagraph): use Paragraph::size_type
13911 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13913 * vspace.C (asLatexString): add a missing break
13915 2001-10-15 Herbert Voss <voss@perce.de>
13917 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13919 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13921 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13924 2001-10-10 André Pönitz <poenitz@gmx.net>
13926 * lyxfunc.C: removed greek_kb_flag.
13928 2001-10-10 Herbert Voss <voss@perce.de>
13930 * lyx_main.C: delete global string help_lyxdir.
13932 2001-10-09 Herbert Voss <voss@perce.de>
13934 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13936 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13938 * lyx_main.C: added global string help_lyxdir.
13940 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13942 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13944 * lyxrc.C (set_font_norm_type): support iso8859-4
13946 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13948 * LaTeX.C (deplog): add another regex for MikTeX
13950 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13952 * lyxrc.C (set_font_norm_type): support iso8859-3
13954 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13956 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13958 * LaTeXFeatures.C: remove special case of french and index
13960 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13961 before \begin{document}). This solves several incompatibilities.
13963 2001-10-03 Garst Reese <reese@isn.net>
13965 * lyx_cb.C: change CheckTex error msg.
13967 2001-10-03 José Matos <jamatos@fep.up.pt>
13969 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13971 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13973 * .cvsignore: update
13975 * lyx_main.C (commandLineVersionInfo): use new style version info.
13977 * buffer.C (writeFile):
13979 (makeLinuxDocFile):
13980 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13982 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13984 * version.h: update to use stuff in version.C
13986 * version.C.in: new file. Contains version information determined
13987 at compile time. This is a merging of version.h and
13990 2001-10-03 Juergen Vigna <jug@sad.it>
13992 * BufferView_pimpl.C (update): don't change "dirty" status in
13995 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13997 * WorkArea.C (c-tor): re-position version string slightly.
13999 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14001 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14002 revert to previous code.
14004 WorkArea.[Ch]: (show, destroySplash): methods removed.
14006 WorkArea.C: rework code so that it's an amalgam of the codes before and
14007 after the splash screen was moved to WorkArea.
14009 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14012 * vspace.C (inPixels):
14015 * buffer.C (insertStringAsLines):
14016 (asciiParagraph): fix types to be large enough
14018 * lyxlex_pimpl.h: change member status from short to int
14020 * layout.h: fix type of endlabeltype
14023 * kbsequence.C (parse): change return type to string::size_type
14025 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14028 * Bullet.C (bulletSize):
14029 (bulletEntry): do not use short ints as parameters
14031 * BufferView2.C (insertLyXFile): change a char to an int.
14033 * WorkArea.C (WorkArea): remove unneeded floats in computation
14035 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14037 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14039 * paragraph.C (asString): Do not ignore newline/hfill chars when
14040 copying to the clipboard.
14042 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14044 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14045 after a multi-line inset.
14047 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14049 * paragraph.C (validate): Set NeedLyXFootnoteCode
14051 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14053 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14054 and decrease-error to decrease.
14056 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14058 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14059 it more readable (should be equivalent)
14061 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14063 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14065 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14067 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14068 of a cursor (row, etc.) after a character has been deleted
14069 (deleteEmptyParagraphMechanism): call the method above on _all_
14070 cursors held by the LyXText when a double space has been
14073 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14075 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14077 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14079 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14080 background. Use greyOut() and the new show() methods to toggle between
14081 the foreground and background. Add code to remove the splash after
14082 its initial showing.
14084 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14085 (create_forms): no longer call Dialogs::showSplash.
14087 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14089 * .cvsignore: add version_info.h
14091 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14093 * version_info.h.in: new file
14095 * Makefile.am: add version_info.h.in
14097 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14098 version_info.h instead of VERSION_INFO
14100 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14102 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14103 The ERT inset now returns string().
14105 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14107 * lyxtext.h, text.C (selectNextWord): renamed as
14108 selectNextWordToSpellcheck.
14110 * text.C (selectNextWordToSpellcheck): Modified to not select
14111 words inside an ERT inset.
14113 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14115 * lyx_cb.C (MenuLayoutSave): change a bit the question
14117 * sp_base.h: include <sys/types.h>
14119 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14121 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14123 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14125 * several files: fix typos in user-visible strings
14127 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14129 * text2.C (pasteSelection): do not set the selection, since it
14130 will be cleared later. Actually, the intent was to fix the way the
14131 selection was set, but I figured rmoving the code was just as good.
14133 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14135 * FontLoader.C (available): Check if font is available without
14138 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14140 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14142 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14144 * lyxrc.[Ch]: added display_graphics variable and associated code.
14146 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14148 * bufferparams.C (hasClassDefaults): new method. Returns true if
14149 the buffer parameters correspond to known class defaults
14151 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14153 * XFormsView.C (show): set minimum size to the main window.
14155 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14157 * text2.C (copySelection):
14159 * lyxfind.C (LyXReplace):
14160 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14161 LyXText::selectionAsString.
14163 * paragraph.C (asString): add "label" argument to the second form
14165 * text2.C (selectionAsString): add "label" argument and pass it to
14166 Paragraph::asString.
14168 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14170 * lyx_main.C (commandLineHelp): remove version information
14172 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14174 * lyx_main.C: add -version commandline option
14176 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14178 * paragraph.h: make the optional constructor arg required instead.
14179 some modifications to other files because of this.
14181 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14183 * lyxserver.C (C_LyXComm_callback): make it static
14185 * lyx_main.C (error_handler): make it static
14187 * lyx_gui.C (LyX_XErrHandler): make it static
14189 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14191 * WorkArea.C: make the extern "C" methods static.
14193 * Makefile.am (lyx_LDADD): simplify
14195 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14197 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14198 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14200 * LyXAction.C (init):
14201 * lyxfunc.C (dispatch): associated code removal.
14203 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14205 * lyxfont.h (isSymbolFont): shut off warning
14207 * text.C (setHeightOfRow):
14208 (getVisibleRow): fix crash with empty paragraphs which have a
14211 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14213 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14216 2001-09-04 José Matos <jamatos@fep.up.pt>
14219 * tabular.C (docbook): rename docBook method to docbook.
14221 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14223 * Makefile.am: add dependencies to main.o.
14225 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14227 * FontLoader.C (available): Return false if !lyxrc.use_gui
14229 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14231 * FontInfo.C (query):
14232 * converter.C (view):
14233 * importer.C (Import):
14234 * exporter.C (Export): Can not -> cannot.
14236 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14238 * BufferView_pimpl.C: allow to create index inset even if
14241 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14243 * buffer.C (getLists): replace boost::tie code with an explicit pair
14244 as boost::tie can break some compilers.
14246 * iterators.h: Added a std:: declaration to the return type of
14249 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14251 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14254 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14256 * iterators.[Ch]: New files. Provide paragraph iterators.
14258 * buffer.C (changeLanguage): Use paragraph iterators.
14259 (isMultiLingual): ditto
14261 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14263 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14265 * FontLoader.C: Support for cmr font.
14267 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14269 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14270 (available): New method.
14272 * FontInfo.C (getFontname): Use scalable fonts even when
14273 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14276 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14278 * converter.C (Formats::view): reverted! Incorrect fix.
14280 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14282 * converter.C (Formats::view): only output the -paper option
14283 if the dvi viewer is xdvi, thereby fixing bug #233429.
14285 2001-08-23 Herbert Voss <voss@perce>
14287 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14289 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14291 * Spacing.h (Spacing): Set space to Default on in the default
14294 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14296 * vc-backend.h (RCS::versionString): add RCS to version
14297 (CVS::versionString): add CVS to version
14299 * vc-backend.C (scanMaster): do not add CVS to version.
14300 (scanMaster): do not add RCS to version
14302 * lyxvc.C (versionString): new method
14304 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14306 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14308 * Spacing.C (set): initialize fval
14310 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14312 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14315 2001-08-16 Juergen Vigna <jug@sad.it>
14317 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14319 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14321 * BufferView_pimpl.C:
14324 * text2.C: setParagraph takes linespacing now
14326 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14328 * LyxAction.C: add internal LFUN_CITATION_INSERT
14330 * LyXView.C: actually apply fix
14332 * bufferlist.C: fix open non-existent file
14334 * lyxfind.C: fix indentation
14336 * lyxfunc.C: remove unneeded assert, fix typo
14338 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14340 * MenuBackend.C: use "Floatname List"
14342 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14344 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14345 when converting LaTeX layout to insetERT.
14346 Generate a non-collapsed float when reading old float
14348 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14350 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14353 2001-08-13 Juergen Vigna <jug@sad.it>
14355 * text.C (fill): return 0 instead of 20 as this seems to be the more
14358 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14360 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14363 2001-08-13 Juergen Vigna <jug@sad.it>
14365 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14367 (SearchBackward): comment out the unlocking of the inset_owner this
14368 should not be needed!
14370 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14372 * Many files: Remove inherit_language, and add latex_language
14374 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14375 collapsible insets.
14377 2001-08-10 Juergen Vigna <jug@sad.it>
14379 * text.C (prepareToPrint): fixed hfill-width in draw!
14381 * BufferView2.C (selectLastWord): save the selection cursor as this
14382 now is cleared in the function LyXText::clearSelection!
14384 2001-08-08 Juergen Vigna <jug@sad.it>
14386 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14387 BACKSPACE type functions.
14389 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14390 is only cutted from the document but not put in the cut-buffer, where
14391 still the old stuff should be.
14393 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14395 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14397 * tabular.C (SetWidthOfCell): fixed special case where the width
14399 (LeftLine): handle '|' in align_special.
14401 (LeftAlreadyDrawed): ditto
14402 (SetWidthOfCell): ditto
14404 2001-08-07 Juergen Vigna <jug@sad.it>
14406 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14408 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14410 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14411 * lyxlex.[hC]: ditto
14413 2001-08-06 Juergen Vigna <jug@sad.it>
14415 * text.C (getVisibleRow): fix up row clearing a bit.
14417 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14419 * minibuffer.C: make sure the X server sees the changes in the input.
14421 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14423 * paragraph.C (getFont): split into...
14424 (getLabelFont): this
14425 (getLayoutFont): and this
14426 * paragraph_pimpl.C (realizeFont): calling this
14428 * text2.C (getFont): split into...
14429 (getLayoutFont): this
14430 (getLabelFont): and this
14431 (realizeFont): all three calling this
14433 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14436 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14438 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14440 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14442 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14443 layouts from the Quote inset insertion.
14445 2001-08-03 Juergen Vigna <jug@sad.it>
14447 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14449 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14450 only if status not is already CHANGED_IN_DRAW (second level).
14452 * text.C (draw): don't set the need_break_row when inside an
14455 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14457 * buffer.C (parseSingleLyXformat2Token): handle more latex
14460 * bufferview_funcs.[hC]: change function names to
14461 begin with small char, adjust other files.
14463 2001-08-02 André Pönitz <poenitz@gmx.net>
14466 BufferView_pimpl.C: remove broken special code for math-greek
14468 2001-08-02 Juergen Vigna <jug@sad.it>
14470 * BufferView_pimpl.C (update): redone this function so that we
14471 update the text again if there was a CHANGE_IN_DRAW.
14473 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14474 (drawFromTo): added a new internal bool which is used by draw() and
14476 (general): some cursor drawing problems fixed.
14478 2001-08-01 Juergen Vigna <jug@sad.it>
14480 * lyxfind.C (LyXFind): fixed
14481 (SearchForward): ditto
14482 (SearchBackward): ditto
14484 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14485 spurius drawing of the cursor in the main area.
14487 * text2.C (status): small fix which could lead to a segfault!
14488 (clearSelection): remove unneeded BufferView param.
14490 2001-08-01 André Pönitz <poenitz@gmx.net>
14492 * lyxfunc.C: small change due to changed mathed interface
14494 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14496 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14498 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14500 * lyxfunc.c: fail gracefully if file doesn't exist
14505 * BufferView_pimpl.C: IsDirWriteable() proto changed
14507 * LyXView.C: fix updateWindowTitle() to store the last title
14509 2001-07-31 Juergen Vigna <jug@sad.it>
14511 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14512 the font (wrong since using of Paragraph::highestFontInRange).
14514 * paragraph.C (highestFontInRange): added a default_size parameter.
14516 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14517 (setHeightOfRow): reformat
14519 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14521 * converter.[hC] + affected files: move to (inital-char)lowercase
14524 * ParagraphParameters.C (ParagraphParameters): remove commented code
14526 * PainterBase.[Ch]: remove commented code
14528 * LaTeXFeatures.h: add "bool floats" for float.sty
14530 * LaTeXFeatures.C (LaTeXFeatures): init floats
14531 (require): handle float
14532 (getPackages): do it with floats
14534 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14536 * BufferView_pimpl.C (Dispatch): improve handling of
14537 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14539 * commandtags.h: #include lyxfont.h here temporarily to avoid
14542 * bufferlist.h: include LString.h here.
14544 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14546 * text2.C (getStringToIndex): new method.
14548 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14550 * *: Reduced header file dependencies all over.
14552 2001-07-30 Baruch Even <baruch@lyx.org>
14554 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14556 2001-07-29 Baruch Even <baruch@lyx.org>
14558 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14560 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14562 * ParameterStruct.h (endif): add a default constructor to make
14563 sure that all variables is initialized.
14565 * ParagraphParameters.C (ParagraphParameters): adjust
14567 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14569 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14570 index; also, check that there is something to index, and that it
14571 does not span over several paragraphs.
14572 (doubleClick): use WHOLE_WORD_STRICT for double click.
14574 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14576 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14579 2001-07-26 Baruch Even <baruch@lyx.org>
14581 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14582 an InsetFig figure, backwards compatible reading of old figure code.
14584 2001-07-27 Juergen Vigna <jug@sad.it>
14586 * text2.C: font.realize function adaption.
14588 * text.C (draw): add a warnings lyxerr text if needed.
14590 * layout.C: font.realize function adaption.
14592 * language.C: add inherit_language and implement it's handlings
14594 * bufferview_funcs.C (StyleReset): remove language parameter from
14595 font creation (should be language_inherit now).
14597 * bufferparams.C (writeFile): handle ignore_language.
14599 * paragraph.C (getFontSettings): the language has to be resolved
14600 otherwise we have problems in LyXFont!
14602 * lyxfont.C (lyxWriteChanges): added document_language parameter
14603 (update): removed unneeded language parameter
14605 * paragraph.C (validate): fixed wrong output of color-package when
14606 using interface colors for certain fonts in certain environments,
14607 which should not seen as that on the final output.
14609 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14611 * BufferView_pimpl.C:
14616 * LyXAction.C: add thesaurus support
14619 * lyxfind.C: add "once" parameter, for thesaurus, to not
14620 move to the next match
14622 2001-07-26 Juergen Vigna <jug@sad.it>
14624 * lyxfont.C (realize): honor ignore_language too!
14627 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14629 * text.C (draw): one place more for ignore_language to not draw
14632 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14634 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14636 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14638 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14639 the minipage conversion problem.
14641 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14643 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14646 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14648 * BufferView.h: don't forward declare WorkArea
14650 * BufferView.C: don't include WorkArea.h
14652 2001-07-25 André Pönitz <poenitz@gmx.net>
14656 * lyxfunc.C: new LFUN 'math-space'
14658 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14660 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14662 * text2.C (toggleInset): call open/close
14664 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14666 * lyxfunc.C (dispatch): add debug for the disabled case
14668 * font.C (buttonText): make similar to rectText
14670 * buffer.C (readInset): comment out parsing of insetlist and
14673 * PainterBase.C (rectText): small correction
14675 * BufferView_pimpl.C: comment out insettheorem and insetlist
14676 * LyXAction.C: ditto
14677 * commandtags.h: ditto
14679 2001-07-24 Juergen Vigna <jug@sad.it>
14681 * text.C (draw): honor the ignore_language.
14683 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14685 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14687 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14690 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14692 * lyxtext.h: remove unused (and unimplemented) methods
14694 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14696 * text.C (getVisibleRow): honor background color
14699 * Painter.h: remove default color argument for fillRectangle
14701 * text.C (backgroundColor): new method
14703 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14705 * text.C (getVisibleRow): adjust
14707 * font.[Ch] (rectText): new method, metrics
14708 (buttonText): new method, metrics
14710 * PainterBase.[hC]: make rectText and buttonText always draw and take
14713 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14715 * ToolbarDefaults.C (read):
14716 * MenuBackend.C (read): allow escaping in all strings
14718 * BufferView_pimpl.C (insertAndEditInset): new method.
14719 (Dispatch): use insertAndEditInset whenever appropriate.
14721 * BufferView_pimpl.C (insertNote): removed
14723 * BufferView_pimpl.C (smartQuote): new method, moved from
14724 BufferView; if an insetquote cannot be inserted, insert a '"'
14727 * BufferView2.C: remove insertCorrectQuote();
14729 * lyxfunc.C (getStatus): Add support for all remaingin
14730 inset-insert lfuns.
14732 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14734 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14735 command (necessary to pass " as parameter of self-insert.
14737 * text.C (selectWordWhenUnderCursor):
14738 (selectWord): add word_location parameter
14739 (selectWordWhenUnderCursor): same + remove special code for word
14741 (selectNextWord): use kind() to guess type of insetspecialchar,
14744 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14745 (insertErtContents): create ert insets as collapsed.
14746 (readInset): better compatibility code for Info inset.
14748 2001-07-20 Juergen Vigna <jug@sad.it>
14750 * lyxfunc.C (dispatch): use always LyXFind now!
14752 * text2.C (init): add a reinit flag so that the LyXText can be
14753 reinited instead of deleted and reallocated (used in InsetText).
14755 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14761 2001-07-18 Juergen Vigna <jug@sad.it>
14763 * text.C (selectNextWord): handle insets inside inset by calling
14764 always the bv->text functions so that we can go up the_locking_inset!
14766 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14767 in strange locations when inside an inset!
14769 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14770 handling to include insets.
14772 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14774 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14776 * LyXAction.C (init):
14778 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14779 LIGATURE_BREAK, since the name is so stupid.
14781 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14783 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14786 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14788 * sp_form.[Ch]: remove.
14790 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14792 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14795 * src/buffer.C (readInset): ditto.
14797 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14799 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14800 menuSeparator(), endOfSentenceDot(), ldots() and
14801 hyphenationPoint(), which are therefore removed.
14802 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14804 * LyXAction.C (init):
14805 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14807 * paragraph.C (getWord): removed.
14809 * BufferView_pimpl.C (Dispatch): use last word or selection for
14810 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14812 * lyx_main.C (queryUserLyXDir): do not ask before creating
14813 user_dir, except if it has been named explicitely.
14815 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14817 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14818 a document of zero size.
14820 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14822 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14823 approriately in the c-tor and in require().
14824 (getPackages): output the appropriate LaTeX for natbib support.
14826 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14827 variables "use_natbib" and "use_numerical_citations" when reading the
14829 (readInset): read the various natbib cite commands.
14830 (validate): white-space change.
14832 * bufferparams.[Ch]: new variables "bool use_natbib" and
14833 "bool use_numerical_citations".
14834 (writeFile): output them in the LyX file.
14836 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14838 * lyxfunc.C (getStatus): add support for all the inset insertion
14841 * text2.C (insertInset):
14842 * paragraph.C (insetAllowed):
14843 * BufferView_pimpl.C (insertInset): update to take in account the
14844 renaming of insertInsetAllowed
14846 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14848 * text2.C (getInset): new method. returns inset at cursor position.
14850 * BufferView_pimpl.C (Dispatch): changes because of this.
14852 * LyXAction.C (init): rename open-stuff to inset-toggle.
14854 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14856 * text2.C (toggleInset): renamed from openStuff; use
14859 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14861 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14863 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14865 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14867 * buffer.C (readLyXformat2): Add filename to the error dialog
14869 2001-07-18 Juergen Vigna <jug@sad.it>
14871 * tabular.C (GetCellNumber): put an assert here instead of the check!
14873 2001-07-17 Juergen Vigna <jug@sad.it>
14875 * BufferView_pimpl.C (toggleSelection): adapted too.
14877 * text.C (selectNextWord): adapted for use with insets.
14878 (selectSelectedWord): ditto
14880 2001-07-17 Juergen Vigna <jug@sad.it>
14882 * sp_spell.C (PSpell): fix initialitation order.
14884 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14886 * paragraph.C: spacing
14888 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14890 * sp_spell.C: repair language selection for pspell
14892 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14894 * lyxfunc.h: change more methods to begin with lower char.
14896 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14898 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14899 for unknown layouts.
14901 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14903 * buffer.C (readLyXformat2): Generate an error dialog if there are
14906 2001-07-16 Juergen Vigna <jug@sad.it>
14908 * sp_spell.C: always compile ISpell part.
14910 * lyxrc.C: added use_pspell entry and it's handling.
14912 2001-07-13 Juergen Vigna <jug@sad.it>
14914 * sp_spell.C: removed double includes.
14916 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14918 Consistent use of Lsstream.h:
14919 * Lsstream.h: added using std::stringstream for consistencies sake.
14921 * buffer.C: removed using std::stringstream
14923 * lyxfont.C (stateText):
14924 * paragraph.C (asString):
14925 * text.C (selectNextWord, selectSelectedWord):
14926 * text2.C (setCounter):
14927 * vspace.C (asString, asLatexString):
14928 std::ostringstream -> ostringstream.
14930 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14932 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14933 * commandtags.h: add LFUN_HELP_ABOUTLYX
14934 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14936 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14938 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14940 * lyx_gui_misc.C: remove spellchecker
14941 * lyxfunc.C: showSpellchecker
14943 * sp_ispell.h: added
14944 * sp_pspell.h: added
14945 * sp_spell.C: added
14946 * sp_form.[Ch]: removed
14947 * spellchecker.[Ch]: removed
14949 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14951 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14953 (simpleTeXSpecialChars): Simply print the input character without
14954 any special translation if pass_thru is set.
14956 * layout.h: Added bool pass_thru to layout class for being able to
14957 implement pass through of a paragraph for Literate Programming.
14959 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14960 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14961 * layout.C (Read): add "passthru" to list of layout tags and add
14962 code to set the pass_thru boolean when it is read.
14964 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14966 * trans_decl.h: remove allowed from KmodInfo
14968 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14969 remove allowed code
14972 * paragraph_pimpl.C (erase): use boost::prior
14974 * Painter.C (text): use data() instead of c_str() when length is
14976 * WorkArea.C (putClipboard): ditto
14977 * font.h (width): ditto
14979 * BufferView2.C: use it-> instead of (*it). for iterators
14981 * paragraph_pimpl.C: ditto
14982 * paragraph.C: ditto
14983 * minibuffer.C: ditto
14984 * language.C: ditto
14986 * encoding.C: ditto
14987 * counters.C: ditto
14988 * converter.C: ditto
14990 * Variables.C: ditto
14991 * TextCache.C: ditto
14992 * MenuBackend.C: ditto
14993 * LyXAction.C: ditto
14995 * FloatList.C: ditto
14996 * DepTable.C: ditto
14997 * ColorHandler.C (LyXColorHandler): ditto
14999 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15001 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15003 * text2.C (openStuff): reintroduce this method (which had been
15004 nuked in NEW_INSETS frenzy).
15006 * lyxfunc.C (Dispatch): when an action has not been handled, use
15007 its name in the error message, not its number.
15009 * paragraph.C (inInset): change method name to begin with lowercase.
15012 * text2.C: updates because of this.
15014 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15016 * ToolbarDefaults.C (add): add spaces in error message
15018 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15020 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15021 (readLyXformat2): rename return_par to first_par, use lyxlex's
15022 pushToken and remove the manual push handling.
15023 (parseSingleLyXformat2Token): add another ert comp. variable:
15024 in_tabular, rename return_par to first_par. handle newlines better
15026 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15028 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15030 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15032 * text2.C (getParFromID): removed
15034 * buffer.C (getParFromID): new method moved form lyxtext.
15035 * BufferView2.C (insertErrors): adjust
15036 (setCursorFromRow): adjust
15037 * BufferView_pimpl.C (restorePosition): adjust
15038 * lyxfunc.C (Dispatch): adjust
15039 * undo_funcs.C (textUndo): adjust
15041 (textHandleUndo): adjust
15042 (textHandleUndo): adjust
15044 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15046 * buffer.C: up' the LYX_FORMAT
15048 * lyxfont.h: turn NO_LATEX on as default
15050 * buffer.C (insertErtContents): new methods of tex style compability.
15051 (parseSingleLyXformat2Token): use it several places.
15052 * tabular.C (OldFormatRead): and here
15054 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15056 * text2.C: remove some commented code.
15059 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15060 * trans.C: changes because of the above.
15062 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15064 * text2.C (setCounter): Fix counters bug with bibliography layout.
15066 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15068 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15069 own member functions
15070 (simpleTeXSpecialChars): ditto
15072 2001-07-06 Juergen Vigna <jug@sad.it>
15074 * a lot of files: changed the access to LyXText::status and the
15075 call of undo-functions.
15077 * undo.[Ch]: added a inset_id to the undo informations.
15079 * undo_funcs.[Ch]: added and moved here all undo functions.
15081 * lyxtext.h: give the status enum a weight, made status_ a private
15082 variable and made accessor functions for it, removed the whole bunch
15083 of undo-functions as they are now in their own file, make some
15084 functions publically available. Added function ownerParagraph with
15087 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15088 made InInset() a const function, added getParFromID() function.
15090 * buffer.[Ch]: added const version for inset_iterator functions,
15091 added getInsetFromID() function.
15093 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15094 changed undo functions for new version.
15096 2001-07-05 Juergen Vigna <jug@sad.it>
15098 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15099 unknow mechanism does not call the proper constructor but only this
15100 one also if I request the other!?
15102 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15104 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15106 * text2.C (LyXText): use initialization lists.
15108 * lyxtext.h (Selection): initialize set_ and mark_
15109 (init): remove method
15111 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15113 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15115 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15117 * screen.[Ch]: change method names to begin with lowercase
15119 * BufferView_pimpl.C (updateScrollbar): simplify further and
15120 hopefully make it a bit faster.
15122 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15124 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15125 calling directly xforms functions.
15127 * Painter.C (Painter):
15128 * lyx_cb.C (MenuWrite):
15129 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15132 * lyx_gui.C: remove bogus guiruntime extern declaration.
15134 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15136 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15138 (redoDrawingOfParagraph): ditto
15139 (redoParagraphs): ditto
15140 (cutSelection): don't create a object for CutAndPaste use the
15141 static method directly
15142 (pasteSelection): ditto
15144 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15147 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15149 * modifications to some other files because of this.
15151 * Makefile.am (lyx_SOURCES): add XFormsView
15153 * XFormsView.[Ch]: new files
15155 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15156 the main window. Move the gui dependent stuff to XFormsView
15158 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15160 * tabular.C (GetCellInset): update cur_cell also in the row/col
15161 version of this function.
15163 * lyxfunc.C: no need to include figure_form.h here.
15169 * lyxvc.C: no need to include forms.h here.
15171 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15173 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15175 * lyxfunc.C (Dispatch):
15177 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15178 constructor argument.
15180 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15182 * paragraph.C (Paragraph): dont't clear, and just set layout.
15183 (makeSameLayout): use params's copy contructor.
15185 * ParagraphParameters.[Ch] (makeSame): delete method
15187 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15189 * Variables.[Ch]: fix indentation, rename set to isSet
15191 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15193 * lyxfunc.C (Dispatch): fix typo
15195 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15197 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15200 * bufferlist.C: include assert.h for emergencyWrite().
15202 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15204 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15205 give up at last (bug #425202) !
15207 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15213 * spellchecker.C: strip spellchecker options and bring up
15214 preferences tab instead
15216 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15218 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15219 the istringstream constructor
15221 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15223 * paragraph.C (getLayout): fix return value
15225 * paragraph.h: do not declare getLayout as inline.
15227 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15229 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15231 * lyxcursor.h (operator<): new func
15232 (operator>): new func
15233 (operator>=): new func
15234 (operator<=): new func
15236 * text.C (changeCase): use selection.start and selection.end
15237 (changeRegionCase): require from to be <= to. Require par to be a
15240 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15242 2001-06-27 Juergen Vigna <jug@sad.it>
15244 * text.C (cursorLeftOneWord): changed to return the cursor and added
15245 overlay with BufferView * parameter which calls this one.
15247 (selectWord): use new getWord function.
15248 (changeCase): renamed from changeWordCase as and extended to work
15249 also on selections.
15251 * lyxtext.h: added enum word_location
15253 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15254 changeCase as this operates now also on selections.
15256 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15258 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15260 * many files: send debug output to Debug::INFO instead of
15263 * converter.C (View):
15265 (Move): send debug output to Debug::FILES instead of console.
15267 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15269 * lyxfunc.C (getStatus): use func_status
15271 * func_status.h: new header, describing the results of
15272 LyXFunc::getStatus;
15274 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15277 2001-06-25 The LyX Project <jug@sad.it>
15279 * buffer.C (sgmlOpenTag):
15281 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15283 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15285 * text2.C: remove some dead code
15287 * tabular.C (GetCellInset): store the last cell checked (gotten)
15289 * tabular.h: add the helper for the speedup
15291 * lyxtext.h: remove some dead code
15293 2001-06-26 The LyX Project <Asger>
15295 * paragraph.C: Change export to LaTeX of alignment to
15296 \begin{center} and family for better roundtrip work with reLyX.
15298 * Tune the math drawing a bit.
15300 2001-06-25 The LyX Project <Asger>
15302 * LColor.C (LColor): New color for math background. New color
15305 2001-06-25 The LyX Project <jug@sad.it>
15307 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15309 * lyxfunc.C (Open):
15310 * bufferlist.C (newFile): do not restrict to files ending with
15313 * BufferView_pimpl.C (MenuInsertLyXFile):
15315 2001-06-24 The LyX Project <jug@sad.it>
15317 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15320 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15322 * lyxtext.h: rename most methods to begin with a small char.
15323 Lots of changes because of this.
15325 * paragraph.C (Paragraph): do not call fitToSize
15326 (erase): call Pimpl::erase
15327 (insertChar): call Pimpl::insertChar
15328 (insertInset): call Pipl::insertInset
15329 (breakParagraph): do not call fitToSize
15330 (breakParagraphConservative): do not call fitToSize
15331 (fitToSize): remove method
15333 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15335 2001-06-24 The LyX Project <Asger>
15337 * Fix Qt compilation^2
15339 2001-06-24 The LyX Project <jug@sad.it>
15341 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15342 depthHook(getDepth()-1).
15345 * ParagraphParameters.h:
15346 * ParameterStruct.h: change type of depth to unsigned int ==
15347 depth_type. Many adaptations to other files before of that.
15349 2001-06-24 The LyX Project <Asger>
15351 * Fix Qt compilation.
15353 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15355 * paragraph.h: renamed several methods to begin with small letter.
15356 several changes to many parts of the code because of this.
15358 2001-06-23 The LyX Project <jug@sad.it>
15360 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15361 rewritten to discard all double spaces when KeepEmpty is off
15362 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15363 to only handle newlines but not fiddle with spaces and friends.
15365 * lyxfunc.C (MenuNew): when doing 'new from template', use
15366 template_path as default directory
15368 2001-06-23 The LyX Project <Asger>
15370 * Clean-up of header file includes all over
15371 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15373 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15375 * paragraph.h: renamed from lyxparagraph.h
15377 2001-06-23 Asger <lyx@violet.home.sad.it>
15379 * Buffer.h: Removed Buffer::resize
15380 * BufferList.h: Removed BufferList::resize
15381 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15382 the document lazily when we change the width, or the font settings.
15384 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15386 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15388 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15390 * buffer.h: remove out of date comment
15392 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15395 * screen.C: fix "theoretical" GC leak
15397 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15399 * LaTeX.C (scanAuxFile):
15400 (deplog): remove trailing \r when reading stream (useful under
15403 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15405 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15406 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15407 and BufferView::theLockingInset(Inset*), so should use them and not
15408 access bv_->text->the_locking_inset directly.
15410 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15412 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15415 * tex-defs.h: remove old unused file
15417 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15419 * BufferView_pimpl.C: fix typo, remove minibuffer message
15420 when buffer has loaded
15422 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15424 * lyxfunc.C (Dispatch): use stringstream
15425 (MenuNew): use stringstream
15426 (Open): use stringstream
15428 * importer.C (Import): use stringstream
15430 * bufferview_funcs.C (CurrentState): use stringstream
15432 * LaTeX.C (run): use stringstream
15434 * BufferView_pimpl.C (savePosition): use stringstream
15435 (restorePosition): use stringstream
15436 (MenuInsertLyXFile): use stringstream
15438 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15451 * vspace.C: removed // -*- C++ -*- as first line.
15454 * version.h: added // -*- C++ -*- as first line.
15456 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15458 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15460 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15463 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15465 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15468 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15470 * gettext.C: include LString.h even when --disable-nls is on.
15472 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15474 * converter.h (Get): changed argument type from int to
15475 FormatList::size_type to avoid unnecessary conversion.
15477 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15480 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15482 * gettext.h: include LString.h even when --disable-nls is on.
15484 2001-06-07 Juergen Vigna <jug@sad.it>
15486 * text.C (BreakAgain): subst spaces with tabs.
15488 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15489 (resizeInsetsLyXText): set force on resizeLyXText.
15491 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15493 * gettext.h (gettext_init):
15494 (locale_init): use a real definition instead of a macro
15496 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15498 * Bufferview_pimpl.C:
15500 * LColor.C: further lcolor tidies
15502 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15504 * BufferView_pimpl.C (updateScrollbar): simplify.
15506 * BufferView2.C: don't include insets/insetinfo.h, change
15507 prototype for insertInset and call the Pimpl version. let
15508 updateInset call Pimpl version.
15510 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15511 gotoInset to BufferView::Pimpl
15513 2001-06-01 Juergen Vigna <jug@sad.it>
15515 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15516 inside a LockingInset (is the update needed at all?).
15518 2001-05-31 Juergen Vigna <jug@sad.it>
15520 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15521 here not the old one otherwise how should we compare it afterwards
15524 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15529 * FontInfo.C: bring C functions into global namespace when
15532 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15534 * LString.h: make sure config.h has been loaded before LString.h.
15536 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15537 (one for each char read by EatLine!).
15539 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15542 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15544 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15545 to the same as the par we break from
15547 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15549 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15551 * MenuBackend.C (expand): also create menu entries for wide
15552 versions of the floats.
15554 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15556 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15558 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15559 frontends/Makefile.am
15565 * tabular.C (getTokenValue): add std::
15567 * tabular-old.C (getTokenValue): add std::
15568 (getTokenValue): ditto
15569 (getTokenValue): ditto
15571 * screen.C (ToggleSelection): adjust
15573 * lyxtext.h: put selection cursors inside a Selection struct.
15575 * lyxfunc.C (moveCursorUpdate): adjust
15577 * lyxfont.C (latexWriteStartChanges): add std::
15579 * lyxfind.C: adjust
15581 * font.h: delete with(char const *, LyXFont const &)
15583 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15585 * FontInfo.C (getFontname): add std::
15587 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15588 (workAreaButtonPress): adjust
15589 (tripleClick): adjust
15591 (moveCursorUpdate): adjust
15594 * BufferView2.C (gotoInset): adjust
15596 2001-05-30 Juergen Vigna <jug@sad.it>
15598 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15599 to check pspell I add this as default as I now have new pspell
15600 libraries and they seem to use this.
15602 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15604 * text2.C (CutSelection): make the cursor valid before the call to
15607 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15609 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15610 relied on 0 terminated strings and other horrors. Bug found due to
15611 the new assert in lyxstring!
15613 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15616 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15618 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15621 * lyxfunc.C (processKeySym): change method of getting to the
15624 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15625 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15626 * BufferView_pimpl.[Ch]: here as private methods.
15628 2001-05-28 Juergen Vigna <jug@sad.it>
15630 * text.C (SetHeightOfRow): added the update() call again as it is
15631 needed to initialize inset dimensions!
15633 2001-05-16 Juergen Vigna <jug@sad.it>
15635 * text2.C (SetCharFont): Add new function with BufferView * and
15636 bool toggleall parameters for setting insets internal fonts.
15637 (SetFont): Freeze the undo as we may change fonts in Insets and
15638 all this change should be inside only one Undo!
15640 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15641 setting font's in insets as for them we have the SetFont function!
15643 2001-05-15 Juergen Vigna <jug@sad.it>
15645 * text2.C (ClearSelection): to be sure we REALLY don't have any
15648 * tabular.C (TeXCellPreamble): fixed the left border problem for
15651 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15653 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15656 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15658 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15659 LFUN_BREAKPARAGRAPH.
15661 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15662 help test to "internal only", similar for LFUN_INSERT_URL
15664 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15665 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15666 auto_region_delete and deadkeys.
15668 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15671 * LColor.C: remove some dead entries, tidy a little
15673 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15675 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15677 (Dispatch): implement LFUN_ESCAPE
15679 * commandtags.h: add LFUN_ESCAPE
15681 * LyXAction.C (init): add entry for LFUN_ESCAPE
15683 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15684 Remove commented code.
15685 (insertNote): moved here
15686 (open_new_inset): moved here
15688 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15691 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15693 * kbmap.C (findbinding): clean it up and make it work correctly.
15695 * lyx_main.C (init): do not pass argc and argv as parameters
15697 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15699 * buffer.C: fix path for OS/2 & Win32
15703 * lyx_main.C: Added os:: class.
15705 * os2_defines.h: update
15707 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15709 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15710 better by trying again with reduced state.
15712 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15714 * lyxrc.C (read): print error about invalid key sequence only when
15715 debugging (because not all latinX keysyms are known to some X
15718 * kbsequence.C (getiso): add a few std:: qualifiers
15719 (getiso): comment out extra return statement.
15721 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15723 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15725 (Dispatch): enhance the accent inset a bit. (not perfect)
15727 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15729 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15731 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15733 * bufferlist.C (emergencyWrite): fix assert() call
15735 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15737 * text.C (InsertChar): Added trivial patch to only send the "you
15738 can not do multiple spaces this way" message once during a
15741 2001-05-08 Baruch Even <baruch@lyx.org>
15743 * Makefile.am: Changed order of libraries to get LyX to link properly
15744 with the gnome frontend.
15746 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15748 * LaTeXFeatures.h: add a std:: qualifier
15750 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15752 * paragraph.C (String): use stringstream
15754 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15756 * paragraph.C (writeFile): remove footflag arg
15758 * buffer.C (makeLaTeXFile): use stringstream
15759 (latexParagraphs): remove footnot gurba
15761 * LaTeXFeatures.C (getPackages): use stringstream
15762 (getMacros): likewise
15763 (getTClassPreamble): likewise
15764 (getFloatDefinitions): new method
15766 * paragraph.C (writeFile): reindent
15769 * WorkArea.h: revert the xpos + etc changes.
15771 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15773 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15775 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15776 (pasteSelection): likewise
15777 * text2.C (CreateUndo): likewise
15779 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15781 * minibuffer.C (peek_event): temporarily reduce the functionality
15782 of the minibuffer (to allow args on lfuns)
15784 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15785 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15787 * buffer.C (readInset): add compability reading of old float
15788 lists, add reading of new style float list.
15789 (readInset): avoid reevaluation of inscmd.getCmdName()
15790 (getLists): reindent
15792 * MenuBackend.C (MenuItem): implement parsing of
15793 md_floatlistinsert and md_floatinsert.
15794 (expand::LastFiles): move initalizaton of iterators out of loop,
15795 avoid reevaluation.
15796 (expand::Documents): introduce typdedef vector<string> Strings,
15798 (expand::ExportFormats): introduce typedef vector<Format const *>
15799 Formats, and use it.
15800 (expand): implement FloatListInsert and FloatInsert.
15802 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15803 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15804 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15806 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15808 (Dispatch::LFUN_FLOAT_LIST): implement
15810 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15812 * LaTeX.C (run): Fix problem with --export code.
15814 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15816 * BufferView.[Ch] (workarea): removed.
15817 (getClipboard) new method; wrapper for workarea()->getClipboard()
15819 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15822 * WorkArea.h (width, height, xpos, ypos): These methods all
15823 returned the dimensions of the work_area sub-area of WorkArea,
15824 resulting in a position error if the WorkArea were resized. Now
15825 return the dimensions of the entire WorkArea.
15827 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15829 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15831 * LaTeX.C (deplog): correct the syntax of regex reg1
15833 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15835 * undo.C: remove !NEW_INSETS cruft
15837 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15839 * text2.C: remove !NEW_INSETS cruft
15841 * text.C: remove !NEW_INSETS cruft
15843 * tabular.C: remove !NEW_INSETS cruft
15845 * spellchecker.C: remove !NEW_INSETS cruft
15847 * lyxtext.h: remove !NEW_INSETS cruft
15849 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15851 * lyxfunc.C: remove !NEW_INSETS cruft
15853 * lyxfind.C: remove !NEW_INSETS cruft
15855 * lyx_cb.C: remove !NEW_INSETS cruft
15857 * figureForm.C: remove !NEW_INSETS cruft
15859 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15861 * buffer.[Ch]: remove !NEW_INSETS cruft
15863 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15865 * CutAndPaste.C: remove !NEW_INSETS cruft
15867 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15869 * BufferView2.C: remove !NEW_INSETS cruft
15871 * BufferView.h: remove !NEW_INSETS cruft
15873 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15875 * Lsstream.h: include LString.h before the sstream headers to
15876 fix problem with gcc 2.95.3 and lyxstring
15878 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15880 * lyx_main.C: add using directives when needed for C functions
15881 declared in std:: namespace.
15883 2001-04-27 Juergen Vigna <jug@sad.it>
15885 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15886 (SetHeightOfRow): comment out the update call should not be needed!
15888 2001-04-13 Juergen Vigna <jug@sad.it>
15890 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15891 (LyXTabular): tried to minimize operator= operations (and realized
15892 hopfully Lars wish).
15894 2001-04-27 Juergen Vigna <jug@sad.it>
15896 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15898 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15900 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15902 * buffer.C (readInset): hack to make listof algorithm work
15904 * BufferView_pimpl.C: hack to make listof algorithm work
15906 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15908 * LyXAction.C: removed all !NEW_INSETS cruft
15909 (init): moved lfun_item in method
15911 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15913 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15915 * BufferView2.C (theLockingInset): white space.
15917 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15919 * minibuffer.C: include <iostream>
15921 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15923 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15925 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15927 * text.[Ch] (TransposeChars): new method
15929 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15931 * call message directly through LyXView instead of through LyXFunc
15932 * BufferView2.C: adjust
15933 * BufferView_pimpl.C: adjust
15934 * FontLoader.C: adjust
15936 * bufferview_funcs.C: adjust
15937 * converter.C: adjust
15938 * figureForm.C: adjust
15939 * importer.C: adjust
15941 * lyx_gui_misc.C: adjust
15942 * lyxfunc.C: adjust
15945 + more files in subdirs
15947 * lyxparagraph.h (size): move up int file
15950 * adjust all uses of Assert to lyx::Assert.
15952 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15953 lyxfunctional in namespace lyx
15954 * layout.C (hasLayout): ditto
15957 (delete_layout): ditto
15958 (NumberOfClass): ditto
15959 * converter.C (GetFormat): ditto
15964 * bufferlist.C (getFileNames): ditto
15965 (emergencyWriteAll): ditto
15968 * MenuBackend.C (hasSubmenu): ditto
15971 * BufferView_pimpl.C (getInsetByCode): ditto
15973 2001-04-18 Juergen Vigna <jug@sad.it>
15975 * vspace.C (asLatexString): fixed the 100% problem.
15977 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15979 * lyxfunc.C (Dispatch):
15981 * minibuffer.h: add a few std:: qualifiers
15983 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15985 * minibuffer.[Ch]: reimplement so that commands is initiated and
15986 run from lyxfunc, simplified som handling, and made the completion
15987 and history code for complete. wip.
15989 * lyxfunc.C (processKeySym): call message
15990 (miniDispatch): new temporary method
15991 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15992 (LFUN_MESSAGE): implement
15993 (LFUN_MESSAGE_PUSH): implement
15994 (LFUN_MESSAGE_POP): implement
15995 (initMiniBuffer): the initial/defualt minibuffer message.
15997 * lyxfont.[Ch]: inline some more getters
15999 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16001 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16003 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16004 (AutoSave): use LFUN_MESSAGE
16005 (Reconfigure): ditto
16007 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16009 * figureForm.C: use LFUN_MESSAGE
16011 * converter.C (runLaTeX): use LFUN_MESSAGE
16013 * bufferview_funcs.C: use LFUN_MESSAGE
16015 (changeDepth): ditto
16017 * bufferparams.h: use boost::
16019 * bufferlist.h: inherit privately from noncopyable
16021 * bufferlist.C (loadLyXFile): remove some commented code.
16023 * buffer.C (runChktex): use LFUN_MESSAGE
16025 * ShareContainer.h: inherit privately from noncopyable
16027 * ParagraphParameters.[hC] (depth): inline it.
16029 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16031 (message): new method
16032 (messagePush): ditto
16033 (messagePop): ditto
16034 (show): init minibuffer
16035 (showState): direct call
16037 * LaTeX.[Ch]: inherit privately from noncopyable
16038 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16039 instead of WriteStatus.
16041 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16043 * BufferView_pimpl.C (buffer): don't init minibuffer
16044 (workAreaButtonPress): use LFUN_MESSAGE
16045 (workAreaButtonRelease): ditto
16046 (savePosition): ditto
16047 (restorePosition): ditto
16048 (MenuInsertLyXFile): ditto
16049 (workAreaExpose): don't init minibuffer
16050 (update): remove commented code, simplify
16052 * BufferView2.C (openStuff): use LFUN_MESSAGE
16053 (toggleFloat): ditto
16056 (copyEnvironment): ditto
16057 (pasteEnvironment): ditto
16062 (updateInset): remove some commented code
16064 * lastfiles.h: inherit privately from noncopyable
16067 * lyx_main.h: ditto
16069 * lyxlex_pimpl.h: ditto
16071 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16072 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16073 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16075 * LyXAction.h: inherit privately from noncopyable, add methods
16076 func_begin, func_end, returning iterators to the func map.
16078 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16079 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16080 (func_begin): new method
16081 (func_end): new method
16083 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16085 (copySelection): ditto
16086 (pasteSelection): ditto
16088 * BufferView.C: whitespace change
16089 * BufferView.h: inherit privately from noncopyable
16091 2001-04-16 Allan Rae <rae@lyx.org>
16093 * tabular-old.C (l_getline):
16094 * spellchecker.C (sc_check_word):
16095 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16096 an unrecognised preprocessor directive. So ensure they're wrapped.
16098 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16100 * src/exporter.C (Export): Give an error message when path to file
16103 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16105 * LaTeX.C (deplog): Always check that foundfile exists.
16107 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16110 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16112 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16114 * tabular.[Ch] (getLabelList): implement new method
16116 * minibuffer.h: comment ouf setTiimer
16118 * minibuffer.C (ExecutingCB): constify res
16119 (peek_event): constify s
16120 (Set): constify ntext
16121 (Init): constify nicename
16123 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16125 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16126 (savePosition): use two params to Minibuffer::Set
16127 (restorePosition): ditto
16129 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16131 * lyx_main.C: include language.h
16133 * Makefile.am (lyx_main.o): add language.h
16135 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16141 * CutAndPaste.C: include gettext.h
16143 * lyxfont.h: remove old hack with ON and OFF.
16146 * lyxfont.h: do not include language.h...
16151 * bufferview_funcs.C:
16157 * paragraph.C: ... but do it here instead
16159 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16161 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16163 * tabular.C: small reformat
16165 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16168 (BreakParagraph): ditto
16169 (SetOnlyLayout): ditto
16172 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16175 * lastfiles.C: removed most using decl, add std:: where needed
16177 * buffer.C: ws changes
16179 * MenuBackend.C (class compare_format): put into anon namespace
16180 (expand): constify label, names, action, action2
16183 * text.C (SingleWidth): constify font
16184 (IsBoundary): constify rtl2
16185 (GetVisibleRow): constify ww
16187 * LaTeX.C (deplog): constify logfile
16189 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16191 (workAreaExpose): constify widthChange, heightChange
16193 * lyxrow.C (par): moved
16196 * lyxrow.h: as inlines here
16198 * lyxfont.h (shape): moved from lyxfont.C
16199 (emph): moved from lyxfont.C
16201 * lyxfont.C (LyXFont): use initialization list for all
16203 (shape): move to lyxfont.h as inline
16204 (emph): move to lyxfont.h as inline
16207 2001-04-04 Juergen Vigna <jug@sad.it>
16209 * vspace.C: had to include stdio.h for use of sscanf
16211 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16214 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16215 independent of xforms.
16217 2001-04-02 Juergen Vigna <jug@sad.it>
16219 * spellchecker.C: fixed namespace placing!
16221 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16223 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16224 the LyXParagraph * is 0.
16226 2001-03-29 Juergen Vigna <jug@sad.it>
16228 * vspace.C: added support for %, c%, p%, l%.
16229 (stringFromUnit): added helper function.
16230 (asLatexString): changed to give right results for the %-values.
16232 * buffer.C: convert the widthp in a width%.
16234 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16236 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16239 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16240 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16242 * lyx_cb.[Ch]: see above.
16244 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16248 * lyx.[Ch]: replaced by figure_form.[Ch].
16252 * lyxfunc.C: changed headers associated with above changes.
16254 2001-03-27 Juergen Vigna <jug@sad.it>
16256 * BufferView_pimpl.C: set the temporary cursor right!
16258 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16260 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16262 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16264 * LString.h: removed "using std::getline"!
16266 * BufferView_pimpl.C (Dispatch): changes due to changes in
16267 InsetInclude::Params.
16269 * buffer.C (tag_name): removed redundant break statements as they were
16270 producing lots of warnings with my compiler.
16272 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16274 * LString.h: add "using std::getline" when using the real <string>.
16276 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16278 * buffer.C: removed bitset usage.
16279 PAR_TAG moved to an anonymous name space.
16280 (tag_name): new funtion, also in the anonymous namespace.
16281 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16282 (makeDocBookFile): clean code. Completed transition from string arrays
16284 (SimpleDocBookOnePar): code clean.
16286 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16288 * tabular.C: add some comments.
16290 2001-03-22 Juergen Vigna <jug@sad.it>
16292 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16293 compatibility read a bit and fixed bug with minipage in different
16296 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16298 * buffer.C (pop_tag): removed.
16299 (push_tag): removed.
16300 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16301 array replaced with vector. Added support for CDATA sections.
16302 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16304 (makeDocBookFile): XML conformant declaration of CDATA section,
16305 fixed bug related to <emphasis> in the first paragraph char.
16306 (sgmlOpenTag): exclude empty tags.
16307 (sgmlCloseTag): ditto.
16309 * buffer.h (pop_tag): removed.
16310 (push_tag): removed.
16312 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16314 * language.h (Languages): added size_type and size().
16316 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16318 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16319 response on compability reading of minipages. One probliem is that
16320 the old usage of minipages was «flertydig»
16322 * several files here and in subdirs: don't use static at file
16323 scope use anon namespaces instead.
16325 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16327 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16328 LaTeX output. This is necessary for Literate document
16331 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16333 * buffer.C: insert hfill when needed.
16335 * tabular.C (l_getline): use string::erase, small whitespace change.
16337 * BufferView_pimpl.C: try the anon namespace.
16338 * WorkArea.C: ditto
16340 2001-03-16 Juergen Vigna <jug@sad.it>
16342 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16343 otherwise it won't open options-dialogs.
16345 * buffer.C: honor pextraWidth(p) on converting minipages.
16347 * tabular.C (l_getline): changed the functions to strip trailing \r.
16349 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16351 * BufferView_pimpl.C:
16352 * minibuffer..C: added "using SigC::slot" declaration.
16354 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16356 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16362 * paragraph.C: ditto
16364 * lyxtext.h: NO_PEXTRA
16366 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16368 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16369 * ParameterStruct.h: ditto
16370 * ParagraphParameters.h: ditto
16371 * lyxparagraph.h: ditto
16373 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16375 * buffer.C: add compability for minipage alignment.
16376 (latexParagraphs): remove unwanted pextra check.
16378 * several files: remove CXX_WORKING_NAMESPACES
16380 * buffer.C (pop_tag): tie is in namespace boost
16382 * BufferView.h: noncopyable is in namespace boost
16384 * lyx_main.h: ditto
16387 * lastfiles.h: ditto
16388 * bufferlist.h: ditto
16389 * ShareContainer.h: ditto
16391 * LyXAction.h: ditto
16394 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16396 * Merging changes from BRANCH_MVC back into HEAD.
16398 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16400 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16402 * BufferView_pimpl.C: change from intl.C
16406 * Makefile.am: move combox.*
16412 * intl.C: remove dialog (covered by prefs)
16414 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16416 * lyxfunc.C (Dispatch): removed redundant break statement.
16418 2001-03-14 Juergen Vigna <jug@sad.it>
16420 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16422 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16424 * buffer.C: add hack to fix compability reading of minipages.
16426 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16428 * buffer.C (getLists): Cleanup.
16430 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16432 * lyxfont.C (update): don't honor toggleall on font size.
16434 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16438 * Makefile.am: moved to frontends/xforms/
16442 * BufferView_pimpl.C: changes for moved mathpanel
16444 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16446 * gettext.h: fix gettext_init() in --disable-nls
16448 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16450 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16452 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16455 * lyx.h: strip external form
16457 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16459 * BufferView_pimpl.C: add comment, destroySplash()
16461 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16463 * BufferView_pimpl.C:
16467 * lyxfunc.C: use re-worked insetinclude
16469 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16471 * buffer.C: add using std::stringstream.
16473 * lyx_cb.C: readd using std::ios.
16475 * buffer.C: add using std::map.
16477 * BufferView_pimpl.C: add using std::vector.
16479 * ShareContainer.h: add std:: to swap.
16481 * buffer.h: add some typedefs
16482 * buffer.C (getLists): use them
16483 (getLists): renamed from getTocList.
16484 add a counter for the different float types and use it in the
16486 (getLists): use the same counter for the NEW_INSETS and the "non"
16489 * lyx_cb.h: remove unused items, includes, using etc.
16491 * ShareContainer.h: remove some commented code, add more comments
16492 and "documentation".
16494 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16496 * buffer.C (getTocList): make the list also when NEW_INSETS is
16499 * buffer.h: remove TocType
16501 * buffer.C (getTocList): change to return a map<string,
16502 vector<TocItem> >, implement for dynamic number of list.
16504 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16505 * text2.C (PasteSelection): adjust
16506 * CutAndPaste.C (pasteSelection): adjust
16508 * FloatList.C (FloatList): update from the new_insets branch.
16509 * Floating.[Ch]: ditto
16510 * LaTeXFeatures.C: ditto
16512 * lyxlex_pimpl.C: ditto
16514 * paragraph.C (Last): remove when NEW_INSETS is defined.
16516 * other file: changes because of the above.
16518 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16520 * lyxparagraph.h: rename next to next_, previous to previous_,
16521 make them private for NEW_INSETS. Rename Next() to next(),
16522 Previous() to previous().
16524 * other files: changes because of the above.
16526 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16529 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16532 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16534 * main.C (main): pass lyx_localedir to gettext_init().
16536 * gettext.h: remove locale_init and gettext_init macros
16538 * gettext.C (locale_init): new function
16539 (gettext_init): new function
16541 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16544 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16546 * Moved credits to frontends:
16547 * credits.[Ch]: removed
16548 * credits_form.[Ch]: removed
16549 * lyx_gui_misc.C: remove credits stuff
16552 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16554 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16556 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16557 unneeded destructor.
16559 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16560 a standalone pointer again.
16562 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16564 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16570 * ToolbarDefaults.C:
16579 * BufferView_pimpl.C: use new file dialog in GUII
16582 * lyx_cb.C: remove LayoutsCB to Toolbar
16584 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16586 * ShareContainer.h (get): add std:: qualifier
16588 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16590 * ShareContainer.h: define a proper ShareContainer::value_type
16591 type (and use typename to please compaq cxx)
16593 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16595 * lyxparagraph.h: move serveral local vars to
16596 ParameterStruct/ParagraphParameters., use ShareContainer in
16597 FontTable., make vars in FontTable private and add getter and
16600 * paragraph.C: changes because of the above.
16602 * lyxfont.h: remove copy constructor and copy assignment. (the
16603 default ones is ok), move number inside FontBits. move inlines to
16606 * lyxfont.C: add number to initializaton of statics, move several
16607 inlines here. constify several local vars. some whitespace
16608 cleanup. Dont hide outerscope variables.
16610 * Spacing.h: add two new constructors to match the set methods.
16612 * ShareContainer.h: new file, will perhaps be moved to support
16614 * ParameterStruct.h: new file
16616 * ParagraphParameters.h: new file
16618 * ParagraphParameters.C: new file
16620 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16621 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16623 * BufferView_pimpl.C: ParagraphParameter changes.
16624 * buffer.C: Likewise.
16625 * bufferview_funcs.C: Likewise.
16626 * text.C: Likewise.
16627 * text2.C: Likewise.
16629 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16631 * lyxfind.C (LyXReplace): do not redefine default argument in
16633 (IsStringInText): ditto
16634 (SearchForward): ditto
16635 (SearchBackward): ditto
16637 2001-03-06 Juergen Vigna <jug@sad.it>
16639 * lyxfind.C (IsStringInText): put parentes around expressions.
16641 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16643 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16645 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16647 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16649 * stl_string_fwd.h: add comment
16651 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16654 * tabular.C: remove unused DocBook methods
16660 killed DO_USE_DEFAULT_LANGUAGE
16662 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16664 * lyx_gui.C: do not include language.h.
16666 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16667 arguments in function implementation.
16669 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16671 * BufferView_pimpl.C: add <ctime>
16673 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16675 * BufferView_pimpl.C: add using std::find_if
16677 2001-02-27 José Matos <jamatos@fep.up.pt>
16679 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16682 2001-02-11 José Matos <jamatos@fep.up.pt>
16684 * buffer.C (makeDocBookFile): command styles now have a parameter as
16685 "title" by default.
16687 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16689 * layout_forms.[Ch]: removed
16690 * lyx_cb.[Ch]: out character
16691 * lyx_gui.C: out character
16692 * lyx_gui_misc.C: out character
16693 * bufferview_funcs.C: : out character,
16694 added toggleall as parameter in ToggleAndShow
16696 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16698 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16700 * text2.C (SetCurrentFont): Disable number property at boundary.
16702 2001-02-26 Juergen Vigna <jug@sad.it>
16704 * lyxfunc.C (getStatus): added a string argument override function so
16705 that this is correctly called from LyXFunc::Dispatch if it contains a
16706 do_not_use_argument which is used!
16707 (Dispatch): added check for "custom" export and call appropriate func.
16709 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16711 * lyxrc.C: Add language_command_local, language_use_babel and
16712 language_global_options.
16714 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16716 * buffer.C (makeLaTeXFile): Use language_use_babel and
16717 language_global_options.
16719 2001-02-23 Juergen Vigna <jug@sad.it>
16721 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16722 which works with LyXText and putted it inside BufferView. Here now we
16723 only call for that part the BufferView::Dispatch() function.
16725 * BufferView.C (Dispatch): added.
16727 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16728 functions which needs to use a LyXText over from LyXFunc.
16729 (MenuInsertLyXFile): added
16730 (getInsetByCode): added
16731 (moveCursorUpdate): added
16732 (static TEXT): added
16734 2001-02-22 Juergen Vigna <jug@sad.it>
16736 * BufferView_pimpl.C (update): call a status update to see if LyXText
16739 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16741 * vc-backend.C (revert): implement for CVS
16742 (getLog): implement for CVS
16744 2001-02-20 Juergen Vigna <jug@sad.it>
16746 * text2.C (ClearSelection): added BufferView param for inset_owner call
16748 * lyxfunc.C (TEXT): added this function and use it instead of
16749 directly owner->view()-text of getLyXText().
16751 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16753 * src/layout_forms.C: out preamble
16754 * src/layout_forms.h: out preamble
16755 * src/lyx_cb.C: out preamble
16756 * src/lyx_cb.h: out preamble
16757 * src/lyx_gui.C: out preamble
16758 * src/lyx_gui_misc.C: out preamble
16759 * src/lyxfunc.C: connect with guii preamble
16761 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16763 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16765 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16767 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16768 whether to run bibtex.
16770 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16772 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16774 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16776 * Makefile.am (lyx_SOURCES): removed bibforms.h
16778 * vspace.h: doxygen
16780 * text.C (GetVisibleRow): make several local vars const
16782 * tabular.C: small cleanup.
16784 * lyxserver.C (callback): use compare instead of strncmp
16786 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16787 inlines to after class or to paragraph.C
16789 * lyxfont.h: remove friend operator!=
16791 * converter.h: move friend bool operator< to non friend and after
16794 * combox.h: small cleanup
16796 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16797 to inlines after class def.
16799 * buffer.C (pop_tag): use string operations instead of strcmp
16801 * bmtable.c: doxygen, small cleanup
16803 * LaTeX.h: remove friend operator==
16805 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16817 * BufferView_pimpl.C:
16818 * BufferView.[Ch]: remove cruft
16820 2001-02-14 Juergen Vigna <jug@sad.it>
16822 * lyxfunc.C: removed #if 0 unused code
16824 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16826 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16828 * text2.C (SetSelection): added a BufferView * parameter
16830 2001-02-13 Juergen Vigna <jug@sad.it>
16832 * lyxfunc.C (Dispatch): fixed protected blank problem.
16833 * BufferView2.C (protectedBlank): added LyxText * parameter.
16835 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16836 (AppendColumn): same as above for column_info.
16838 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16839 (moveCursorUpdate): use a LyXText param for support of InsetText.
16841 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16842 (tripleClick): ditto
16844 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16846 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16848 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16850 * text2.C (SetSelection): set correct update status if inset_owner
16851 (ToggleFree): ditto
16853 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16855 * tabular.C: remove some commented code.
16857 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16859 * BufferView_pimpl.C: call hideSplash()
16861 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16864 * bibforms.h: remove
16867 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16868 add LFUN_CHILD_CREATE
16870 * counters.h: fix tiny typo
16875 * lyx.C: move splash to frontends/xforms/
16877 * lyx_gui_misc.C: move Include and Bibform to frontends
16879 * lyxvc.h: clarify comment
16881 * vspace.C: tiny housekeeping
16883 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16885 * text.C (PrepareToPrint): RTL Fix.
16887 * paragraph.C (GetUChar): New method.
16888 (String): Use GetUChar.
16890 * buffer.C (asciiParagraph): Use GetUChar.
16892 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16894 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16896 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16899 * buffer.C: rename to getLogName(), handle
16900 build log / latex log nicely
16902 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16905 * MenuBackend.h: remove support for reference menuitem type.
16907 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16909 * BufferView_pimpl.C: housekeeping
16910 * BufferView_pimpl.h:
16915 * minibuffer.h: move Timeout GUI-I
16917 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16919 * lyxrc.C (read): Update converters data-structures.
16921 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16923 * LaTeX.h (operator!=): add operator != for Aux_Info
16925 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16927 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16929 * LaTeXLog.C: deleted, useful code moved to Buffer
16932 * buffer.C: new function getLatexLogName()
16938 * lyxfunc.C: use frontends for LaTeX and VC logs
16940 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16942 * LaTeX.h: yet another std:: that Allan forgot.
16944 * Variables.C (set): renamed from isset(), because this clashes
16945 with some HP-UX macros (grr).
16947 2001-02-06 Allan Rae <rae@lyx.org>
16949 * LaTeX.h: Another bug fix. Missing std:: this time.
16951 2001-02-04 Allan Rae <rae@lyx.org>
16953 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16954 floats problem. I've left it commented out because it's not quite
16955 correct. It should also test that the current object is a table or
16956 figure inset. But I haven't gotten around to figuring out how to do
16957 that. I *think* it'll be something like: "table" == inset.type()
16959 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16962 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16964 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16965 all the citation/databases/styles in the auxilary file.
16966 (run): Rerun latex if there was a babel language error.
16968 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16970 * text.C (Backspace): Preserve the font when changing newline char
16972 (BreakParagraph): If the cursor is before a space, delete the space.
16974 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16976 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16978 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16979 new argument (code).
16980 (ChangeCitationsIfUnique): New method.
16982 * paragraph.C (GetPositionOfInset): Handle bibkey.
16984 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16986 * BufferView_pimpl.h: change type of Position::par_pos to
16987 LyXParagraph::size_type.
16989 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16991 * BufferView_pimpl.C (savePosition, restorePosition): Write
16992 messages to minibuffer.
16994 2001-01-28 José Matos <jamatos@fep.up.pt>
16996 * buffer.C (makeDocBookFile): adds support for document language.
16997 A silly restriction on the name of LatexCommand types where removed.
16998 Added support for CDATA sections, allows to chars unescaped, used
16999 among others in code, to avoid escape < and >.
17001 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17003 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17004 saved positions instrad of a stack. Furthermore, a position is
17005 stored using paragraph id/paragraph position.
17007 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17008 Remove LFUN_REF_BACK.
17010 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17012 * converter.C (dvipdfm_options): New method.
17014 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17016 * vspace.C (isValidLength): Fix for empty input string.
17018 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17020 * LyXAction.C (init): change description of LFUN_FIGURE to
17023 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17025 * LaTeX.C: add using directive
17027 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17029 * MenuBackend.C (expand): Fix the sorting of the formats.
17031 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17033 * lyx_main.C: tiny error message fix
17035 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17037 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17038 calling fl_initialize(). This fixes the problem with ',' as
17039 decimal separator in text files.
17041 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17043 * trans.C (process): Fix the keymap bug.
17045 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17047 * LaTeX.C (scanAuxFiles): New method. Provides support for
17048 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17049 (scanLogFile) Scan for "run BibTeX" messages.
17051 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17052 OT1 font encoding. Also, load the aecompl package if the ae
17055 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17057 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17059 * texrow.C (increasePos): turn two error messages into debug
17062 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17064 * LaTeX.C (scanAux): Handle the \@input macro.
17065 (runBibTeX): Use scanAux().
17067 * language.C (latex_options_): New field.
17069 * LaTeXFeatures.C (getMacros): Add language macros.
17071 * buffer.C (makeLaTeXFile): Small fix.
17073 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17075 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17077 * text2.C: add a using directive.
17079 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17084 * lyxfunc.C: kill LyXBell.
17086 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17088 * text.C (IsBoundary): Remove the error message
17090 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17092 * lyxrc.C (setDefaults): Correct initialization value for
17095 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17097 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17100 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17101 and GotoNextNote().
17103 * src/LyXAction.C: Added reference-next.
17105 * text.C (InsertChar): Use contains instead of strchr.
17107 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17109 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17111 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17112 alignment commands (when needed).
17114 * text.C (InsertChar): Add ':' to number separator chars.