1 2005-02-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * LaTeX.C (scanLogFile): recognize pdfTeX warnings
5 2005-02-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
7 * BufferView.C (setCursor): change to use a DocIterator.
8 (gotoLabel): use BufferView::setCursor (other part of bug 781).
9 (putSelectionAt): adapt to BufferView::setCursor change.
11 * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
12 moved here from LyXText and rewritten to use proper cursor
13 methods. Fixes bug 1787, 616 and 835.
15 * BufferView_pimpl.C (restorePosition): set the cursor correctly
16 when inside an inset (part of bug 781).
17 (dispatch): adapt to change of BufferView::setCursor.
18 (getStatus, dispatch): handle LFUN_GOTOERROR,
19 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
21 * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
22 LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
23 * text3.C (gotoNextInset, gotoInset): removed.
25 2005-02-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
27 * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
29 2005-02-15 Angus Leeming <leeming@lyx.org>
31 * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
32 can be used meaningfully in a comparison.
34 2005-02-13 André Pönitz <poenitz@gmx.net>
36 * bufferview_funcs.C (coordOffset): improve cursor drawing
38 2005-02-13 André Pönitz <poenitz@gmx.net>
40 * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
41 * Cursor.C (dispatch): use fixIfBroken
42 * lyxfunc.C (getStatus): use fixIfBroken
44 2005-02-15 Angus Leeming <leeming@lyx.org>
46 * lyx_main.C (error_handler):
48 * lyxrc.C (setDefaults):
50 #include "environment.h".
52 * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
54 2005-02-15 Angus Leeming <leeming@lyx.org>
56 * lyxserver.C (startPipe): squash MSVC warning "local variable
57 'fd' used without having been initialized".
59 2005-02-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
61 * BufferView_pimpl.C: revert accidental commit.
63 2005-02-14 André Pönitz <poenitz@gmx.net>
65 * dociterator.[Ch]: new member forwardPosNoDescent(),
66 which doesn't enter nested insets.
67 * text2.C (setFont): use forwardPosNoDescent() instead
68 of ForwardPos() (fixes crash on font change).
70 2005-02-13 Angus Leeming <leeming@lyx.org>
72 * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
73 only if lyxrc.path_prefix is not empty.
75 2005-02-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
77 * bufferparams.C (readGraphicsDriver): prevent crash
79 2005-02-10 Georg Baum <Georg.Baum@post.rwth-aachen.de>
81 * text2.C (setCounter): check for inInset() == 0
83 2005-02-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
85 * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
86 but use update() to get correct screen display; use convert
87 instead of istringstream.
88 (getStatus): handle LFUN_GOTO_PARAGRAPH
90 * lyxfunc.C (dispatch, getStatus): do not handle
91 LFUN_GOTO_PARAGRAPH here.
93 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
95 * text3.C (dispatch): size() -> depth()
97 * text2.C: remove some debug output
99 * paragraph.C: ws changes only
101 * lyxfunc.C (getStatus): size() -> depth()
103 * dociterator.h (clear, push_back, pop_back, internalData,
104 operator[], resize, empty): new functions
105 Make StableDocIterator and operator== be friends. Don't inherit
106 from std::vector use a privat class variable slices_ instead.
109 * dociterator.C: update because of not inheriting from std::vector
110 anymore. Call explictly to slices_ instead. Use depth() instead of
111 size() and top() instead of back()
113 * cursor.C: chagne size() -> depth and back() -> top(). Also
114 remove some direct operator[](i) calls in favour of foo[i]
115 (getFont): remove some dead code
117 * bufferview_funcs.C (coordOffset): size() -> depth()
119 * buffer.C: ws changes only
121 * CutAndPaste.C (eraseSelection): back() -> top()
123 * BufferView_pimpl.C (selectionRequested): back() -> top()
125 * BufferView.C (setCursor): size() -> depth()
127 2005-02-08 Lars Gullik Bjonnes <larsbj@gullik.net>
129 * text3.C (cursorPrevious): return true if depm changed something
131 (dispatch): rename sl to oldTopSlice, remove moving use the new
132 NoUpdate func attrib instead. Make sure that needsUpdate is set
133 for function that have NoUpdate, but where depm might have changed
136 * text2.C (cursorLeft): make us return true if depm changed
139 (cursorUpParagraph): ditto
140 (curosrDownParagraph): ditto
141 (cursorUp, cursorDown): ditto, make sure to read comments in code
142 (deleteEmptyParagraphMechanism): remove an assert, also return
143 true if just a single char was deleted.
145 * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
146 cursor that we modify, to avoid modifying an active cursor before
147 we call setCursor. This allows depm to run. Also return true if
148 depm deleted something.
150 * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
151 cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
152 cursorDownParagraph, cursorPrevious and cursorNext, return true if
153 something was changed in the buffer because of them (ie. depm run)
155 * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
156 debug messages. Make update by default be false. Make sure that
157 the result of update is retained throught several calls down to
160 * LyXAction.h: add a new func_attrib: NoUpdate
162 * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
163 LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
164 LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
166 (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
168 2005-02-07 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
170 * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
171 bv_->owner(), bv_->buffer() by direct references to the private
173 (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
174 (getStatus): isSavedPosition() is in BufferView::Pimpl.
175 (fitCursor): center() is in BufferView::Pimpl.
176 (getStatus, trackChanges, dispatch): no need for a temporary buf
178 (fitCursor, workAreaDispatch): use workarea().workheight()
180 2005-02-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
182 * CutAndPaste.C (pasteSelectionHelper): fix a crash
184 2005-02-03 Georg Baum <Georg.Baum@post.rwth-aachen.de>
186 * buffer.C: format up to 241.
187 * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
188 break if pasting into ERT
189 * lyxfunc.C (getStatus): suppress mathpanel and
190 LFUN_DIALOG_SHOW_NEW_INSET in ERT
192 2005-02-01 Angus Leeming <leeming@lyx.org>
194 * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
196 2005-02-01 Angus Leeming <leeming@lyx.org>
198 * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
199 calling fs::is_directory().
201 2005-01-31 Angus Leeming <leeming@lyx.org>
203 * lyx_main.C (priv_exec): specify explicitly the relative location
204 of the top level build directory when run in-place.
206 2005-01-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
208 * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
209 LyXText containing the cursor, not the top-level one.
211 * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
213 (insertStringAsLines): rename par to pit; use temporary variable
214 par to hold a Paragraph; do not store par.layout() in a variable,
215 since the pointer may die when breaking paragraphs; pass pars to
216 breakParagraph() instead of Buffer::paragraphs().
218 2005-01-31 Asger Ottar Alstrup <aalstrup@laerdal.dk>
220 * lyxlex_pimpl.h: #include <fstream>.
222 * BufferView.[Ch] (getLyXText): add a const version.
224 * BufferView_pimpl.C: add debug aids.
229 * paragraph_funcs.h: add commentary explaining what the class does.
232 * coordcache.[Ch]: add lots of commentary.
233 (startUpdating, doneUpdating): debug aids.
234 (arrays, insets, parPos, getParPos): accessors to private data.
236 * cursor_slice.[Ch] (text): add a const version.
237 * dociterator.[Ch] (text, innerText): add const versions.
239 * lyxtext.h (breakParagraph): change the keep_layout arg to a
242 * paragraph.C (getRow, pos2ros): add asserts.
244 * paragraph.h: add commentary. Lots of.
246 * paragraph.[Ch] (metrucs, draw): removed.
249 * rowpainter.[Ch]: const-correct changes.
251 * text.C: various obvious clean-ups. Removal of ancient cruft.
254 2005-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
256 * vc-backend.C (find_file): rewrite to use boost.filesystem
259 * main.C (main): set default name check for boost.filesystem to
262 * lyxfunc.C (menuNew): rewrite to use boost.filesystem
265 (actOnUpdatedPrefs): ditto
267 * lyx_main.C (init): rewrite to use boost.filesystem
268 (queryUserLyXDir): ditto
270 * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
271 (getContentsOfAsciiFile): ditto
273 * lastfiles.C (readFile): rewrite to use boost.filesystem
275 * exporter.C (checkOverwrite): rewrite to use boost.filesystem
277 * buffer_funcs.C (readFile): rewrite to use boost.filesystem
280 * buffer.C (Buffer): adjust for destroydir
281 (getLogName): rewrite to use boost.filesystem
283 (save): use fs::copy_file (from fs_extras)
285 * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
287 * LaTeX.C (run): rewrite to use boost.filesystem
288 (scanAuxFiles): ditto
289 (handleFoundFile): ditto
291 2005-01-28 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
293 * LaTeXFeatures.C (getAvailable): always clear packages_ list.
295 * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
297 2005-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
299 * lyxlayout.[Ch]: change some vars from float to double
301 * buffer.C (readFile): make a local var const
303 * Several files: use convert<> instead of atoi,strToXXX and friends
305 2005-01-24 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
307 * LaTeXFeatures.[Ch]: Add a static list packages_ that
308 holds the contents of packages.lst. New functions getAvailable
309 and isAvailable to parse and check that list, resp.
313 * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
315 * bufferparams.[Ch]: new param output_changes.
317 * Buffer.C: increase file format to 240.
318 Use output_changes and isVailable.
322 * paragraph_pimpl.C: Use output_changes and isVailable.
324 2005-01-23 Angus Leeming <leeming@lyx.org>
326 * output_latex.C: #include "insetbibitem.h", rather than
327 forward declare function bibitemWidest.
329 2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
331 * lyx_main.C (init): make it compile on the Mac.
333 2005-01-20 Angus Leeming <leeming@lyx.org>
335 * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
336 (setLyXMisc): (char string literal) != (char string literal) is
337 performing a comparison on the addresses. Convert one operand
338 explicitly to string to guarantee expected behaviour.
341 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
344 * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
346 * output_plaintext.C: remove unneeded #include gzstream.h.
348 2005-01-20 Angus Leeming <leeming@lyx.org>
350 * SpellBase.h: rename some of the elements of the Result enum.
357 * pspell.C (check): ditto
359 2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
361 * buffer.C: add #include <fstream>.
363 * lyx_main.C (init): Compile fix.
365 * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
367 2005-01-20 Angus Leeming <leeming@lyx.org>
369 * mover.h: change commentary to reflect the changed meaning of
372 2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
374 * output_linuxdoc.C (linuxdocParagraphs): silence warning
376 * lyxfind.C (MatchString::operator()): remove bogus semicolon
378 2005-01-20 Angus Leeming <leeming@lyx.org>
380 * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
381 printing diagnostic data by not dereferecing an iterator past the
384 2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
386 * buffer.C (readHeader): use "&&" rather than "and".
388 * lyxserver.h (inPipeName, outPipeName): make these const.
390 2005-01-19 Angus Leeming <leeming@lyx.org>
392 * lyx_main.C (error_handler, init): protect SIGHUP with
393 #ifdef SIGHUP guards.
395 2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
397 * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
399 2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
401 * text.C (setHeightOfRow): add a margin at the top and bottom of
402 the document (bug 1761)
404 2005-01-17 Angus Leeming <leeming@lyx.org>
406 * buffer.C (readFile): prepend the name of the "lyx2lyx" script
407 with "python ". Workaround for a brain-dead Windows.
409 2005-01-16 Angus Leeming <leeming@lyx.org>
411 * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
412 for MacOSX and Windows to use prependEnvPath.
413 Strip out the hard-coded block to add elements to the PATH for
414 MacOSX and replace it with a call to prependEnvPath using the
415 contents of LyXRC::path_prefix.
416 (queryUserLyXDir): strip out the code to run reconfigure, instead
417 returning a boolean indicating the necessity to do so.
418 (reconfigureUserLyXDir): contains the code to reconfigure the
419 user support directory. Is now called after the various LyXRC data
420 files have been read.
422 * lyxrc.[Ch]: add path_prefix var and code to read/write it.
424 2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
426 * converter.[Ch] (convert): take a new parameter try_default. Use
427 a default converter (imagemagick) if try_default is true.
429 2005-01-13 Angus Leeming <leeming@lyx.org>
431 * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
433 (write): output LyXRC::cygwin_path_fix as necessary.
435 2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
438 * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
440 2005-01-12 Angus Leeming <leeming@lyx.org>
442 * lyx_main.C (init): set the PATH variable to include the
443 directory containing the LyX binary when running on Mac or Windows.
445 2005-01-12 Angus Leeming <leeming@lyx.org>
447 * lyx_main.C (init): remove cruft that purports to set the locale
448 dir. It doesn't and is not needed anyway.
450 2005-01-10 Angus Leeming <leeming@lyx.org>
452 * Makefile.am: remove the lyx_main.C special casing.
454 * BufferView_pimpl.C:
460 * messages.C: use support/package.h to provide the paths to the
461 various directories used by LyX.
463 2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
465 * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
466 layout if pasting into an empty paragraph)
468 2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
470 * tex-accent.C: add <string>
472 2005-01-06 José Matos <jamatos@lyx.org>
474 * ParagraphParameters.C (write): put every parameter in its own line.
475 * paragraph.C (write): reduce number of consecutive empty lines exported.
476 * buffer.C (LYX_FORMAT): increase file format to 239.
478 2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
480 * everywhere: change support/tostr.h -> support/convert.h
482 * tabular.C: make all write_attributes templates, tostr -> convert
484 * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
485 (emptyTag): and -> &&, and fix type for ret from getChar
486 (getFirstWord): fix type for ret from getChar
487 (onlyText): and -> &&
488 (simpleDocBookOnePar): and not -> && !, fix type for ret from
491 * toc.C (goTo, action):
492 * text3.C (dispatch):
493 * text.C (currentState):
494 * tex-accent.C (DoAccent):
497 * lyxfunc.C (menuNew):
498 * lyxfinc.C (replace):
499 * counters.C (laberItem):
500 * bufferview_funcs.C (font2string):
501 * bufferparams.C (writeFile):
502 * buffer.C (readFile):
504 * MenuBackend.C: tostr -> convert
506 * LaTeX.C (runMessage): fix format
507 (scanAuxFiles): tostr -> convert
509 * BufferView_pimpl.C (savePosition): fix format
510 (restorePosition): ditto
513 2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
515 * Spacing.[Ch]: New method getValueAsString().
519 * ParagraphParameters.C:
522 * text3.C: store/read spacing value as string.
524 * rowpainter.C: change float value (spacing_val) to double.
526 * bufferparams.C: add Spacing::Other to spacetranslator (fixes
527 broken custom document spacing).
529 2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
531 * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
532 namespace, also more use of temp references and const
534 * cursor.[Ch] (getStatus): move to lyxfunc.C
536 * bufferparams.C: reformat slightly
538 * bufferview_funcs.C (font2string): constify arg
544 * buffer_funcs.C: (many funcs): constify arg on function
545 definitions, also make more local vars const, also add ASSERTS on
548 * buffer.C (LYX_FORMAT): put const in correct place
549 (many funcs): constify arg on function definitions, also make
550 more local vars const
552 * aspell_local.h: remove "struct" from typdef setup
554 * aspell.C (check): make word_ok const
555 (nextMiss): simplify slightly
558 2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
560 * lyxrc.[Ch]: store all float values as strings.
561 use int (not float) for lyxrc.dpi.
563 2005-01-04 Angus Leeming <leeming@lyx.org>
565 * lyx_cb.C (Reconfigure):
566 * lyx_main.C (queryUserLyXDir):
567 to run the <system_lyxdir>/configure correctly on Windows, prefix
568 the path to the script with "sh " when generating the string that
569 is passed to system().
571 2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
573 * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
575 2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
577 * lyxlength.C (asLatexString): get rid of setprecision
579 2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
581 * text2.C (setLayout): remove unused variable endpit.
582 (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
584 * paragraph.C (onlyText): remove unused variable style.
586 * cursor.C (bruteFind): remove unused variables beg and end.
588 * Makefile.am (dist_noinset_DATA): not needed anymore
590 * cheaders/*: remove.
592 2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
594 * text3.C: fix LFUN_MATH_MODE.
596 2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
598 * buffer_funcs.C (countWords): new function. Counts words between
601 * BufferView_pimpl.C (getStatus, dispatch): handle
604 * LyXAction.C (init):
605 * lfuns.h: add LFUN_WORDS_COUNT.
607 2004-12-19 Angus Leeming <leeming@lyx.org>
609 * buffer.C (save): s/slashify_path/internal_path/.
611 2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
613 * lyxfind.C (findChange): do not search for end of pars, because
614 the change tracker cannot handle this (fixes bug 1719).
616 2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
618 * paragraph.[Ch] (autoBreakRows): remove
620 * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
622 * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
623 avoid using the paragraph one
625 * text2.C (LyXText, insertStringAsLines): adjust
627 2004-12-16 Angus Leeming <leeming@lyx.org>
631 * messages.C: remove redundant "using lyx::support::GetEnvPath;"
633 2004-12-14 Angus Leeming <leeming@lyx.org>
635 * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
637 * bufferlist.C (emergencyWrite):
638 * lyx_main.C (queryUserLyXDir): use os::homepath(), not
641 2004-12-14 Angus Leeming <leeming@lyx.org>
643 * main.C: (main): no longer pass pointers to os::init.
645 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
647 * undo.C (textUndoOrRedo): simplify logic, fix a crash
648 (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
650 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
653 * text3.C: remove selection_possible global flag
655 2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
657 * text2.C (getSelectionSpan): remove
658 (changeDepth, changeDepthAllowed): adjust
660 2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
662 * Makefile.am (BOOST_LIBS): use boost variables
664 2004-12-03 José Matos <jamatos@lyx.org>
666 * buffer.C: format up to 238.
668 2004-12-03 José Matos <jamatos@lyx.org>
670 * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
672 2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
674 * cursor.C (goUpDown): remove call to idxUpDown2
676 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
678 * tabular.[Ch]: use size_t-like types for cell, row and column
681 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
683 * lyxfunc.C (getStatus): do not lose previous information when
684 calling BufferView::getStatus; do not set a default "Command
685 disabled" message at the beginning, but just before returning.
687 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
689 * cursor.h (getStatus): add better comment from src/cursor.C
691 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
693 * text3.C (getStatus): return false when the lfun is not handled
695 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
697 * broken_headers.h: remove
699 * Makefile.am (lyx_SOURCES): remove broken_headers.h
701 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
703 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
706 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
707 top_y_, merge fitcursor with update
708 (updateScrollbar, scrollDocView, fitCursor, center, update): new
711 (workAreaDispatch): adapt to new coord scheme
712 (redoCurrentBuffer): remove
714 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
716 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
719 * coordcache.[Ch]: add paragraph cache and helpers
721 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
724 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
725 (targetX, setTargetX): introduce
727 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
728 baseline -> ascent, as the rest of lyx
730 * lyxtext.h: remove redoParagraphs, updateParPositions,
731 fullRebreak, redoParagraphInternal. move dist to anon namespace in
732 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
733 have ascent/descent (ascent is ascent of first par)
735 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
738 * paragraph.[Ch]: unify dimension handling with the rest of lyx
740 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
742 * pariterator.C: fix infinite loop introduced in par->pit renaming
744 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
745 in insets and LyXText, draw two off-screen paragraphs using
746 NullPainter, and adapt to new coord scheme
750 * text3.C: adapt lfun handlers to the new coord scheme, which
751 means: there's only guaranteed coord information for onscreen pars
752 plus one above and one below. This implies that one can do search
753 from y coordinates in the range [-1,workHeight]
755 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
757 * rename a lot of InsetOld to InsetBase
759 2004-11-25 Angus Leeming <leeming@lyx.org>
761 * BufferView_pimpl.C:
763 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
765 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
767 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
768 call BufferView::getStatus if LCursor::getStatus did nothing
769 (setStatusMessage, getStatusMessage): removed.
771 * FuncStatus.C (message): new methods. Used to provide an error
772 message indicating why a command is disabled.
773 (clear, |=, FuncStatus): update for message.
775 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
777 * lyxfunc.C (dispatch): always call sendDispatchMessage
779 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
782 * BufferView_pimpl.C:
796 * undo.C: par->pit renaming
798 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
800 * tabular.C (cellstruct): use initialization, store a shared_ptr
801 to insettext instead of the insettext directly, adjust to fit.
802 (operator=): new function
804 (rowstruct): use initialization
805 (columnstruct): use initialization
806 (ltType): use initialization
809 * lyxlength.h (swap): new function
811 * LColor.[Ch] (operator=): use the common semantics
813 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
815 * lyxfind.C (findNextChange): update the bufferview after setting
818 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
820 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
821 number of InsetOptArgs has already been inserted.
823 * output_latex.C (latexOptArgInsets): new method. This outputs all
824 the optarg insets, up to the limit defined in the layout file.
825 (optArgInset): removed
826 (TeXOnePar): call latexOptArgInsets; correctly update texrow
828 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
830 * paragraph.C (isLetter): remove special spellchecker-related
831 code; return true also for digits
832 (isWord, isKomma): remove
834 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
835 * lyxfind.C (MatchString()): use isLetter instead of isWord
837 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
839 * pariterator.h (operatir=): comment out un-implemented member
842 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
845 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
847 * lyxfont.h: include LColor.h to satisfy concept checks.
849 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
851 * pariterator.h: add typdefs for value_type, difference_type,
852 pointer and reference to satisfy concept checks. Also add default
853 constructor for same reason.
855 * pariterator.C (operator++): add post-increment operator to
856 satisfy concept checks.
858 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
861 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
863 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
864 checks. Also rename base_type to BaseType to follow naming
867 * FloatList.h: include Floating.h to satisfy concept checks.
869 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
871 * lyxfunc.C (getStatus): when the origin of the request is menu or
872 toolbar, and the LyXView does not have focus, do as if there was
875 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
876 FuncRequest to individual entries of LFUN_SEQUENCE
878 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
880 * output_latex.C (TeXOnePar): override runparams.moving_arg
881 according to the needprotect value of the current paragraph (bug
884 * paragraph.C (simpleTeXOnePar): no need to override
885 runparams.moving_args here
887 2004-11-14 John Spray <spray_john@users.sourceforge.net>
889 * vspace.C: fix off-by-one-error, related to fix #1682
891 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
893 * lengthcommon.C: a more general fix for bug 1682
895 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
897 * text.C (backspace): fix crash
899 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
901 * format.[Ch] (getFormatFromFile): new method
902 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
904 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
906 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
908 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
910 * lyxfunc.C (dispatch): remove the verbose argument
911 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
914 * kbmap.C (defkey): set the origin of func to KEYBOARD
916 * MenuBackend.C (MenuItem):
917 * ToolbarBackend.C (add): set the origin of func to UI
919 * funcrequest.[Ch]: add origin member, which indicates which part
920 of LyX requests an action
922 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
924 * converter.C (move): don't lie in the error message
925 * converter.h (isReachable, move): document
927 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
929 * buffer.C: remove unused using lyx::support::atoi
930 * paragraph_funcs.C: ditto
932 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
934 * bufferlist.C (exists): use bind and equal_to instead of
937 * lyxtextclasslist.C (NumberOfClass): ditto
939 * cursor.C (insert): use for_each instead of explicit for loop
941 * bufferlist.C (getFileNames): use std::transform and
942 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
944 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
947 * buffer.C (changeLanguage): use for_each instead of explicit for
949 (hasParWithID): implement using getParFromID
951 * LaTeXFeatures.C: ws change only
953 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
956 * BufferView_pimpl.C (trackChanges): use for_each instead of
959 2004-11-04 André Pönitz <poenitz@gmx.net>
962 * undo.C (textUndoOrRedo): fix crash when creating undo information.
964 * dociterator.C (asDocIterator): use hard assert again.
966 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
968 * lyxlength.C (asLatexString): rewrite so that it does not use
971 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
973 * text3.C (specialChar, dispatch): make sure cursor moves to the
974 right after inserting an inset
976 2004-11-02 José Matos <jamatos@lyx.org>
978 * output_docbook.C (docbook):
979 * paragraph.C (getID):
980 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
981 garantee that the output is always legal.
983 * tabular.C (docbook):
984 * outputprams.[Ch]: remove mixed contents.
986 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
988 * text2.C (setCounter): prevent endless loop
990 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
992 * exporter.C (copyFile): use the mover instead of support::copy()
993 * exporter.C (Export): pass format and latex name to copyFile()
994 * exporter.h (addExternalFile): document
995 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
997 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
999 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
1001 2004-10-30 José Matos <jamatos@lyx.org>
1003 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
1004 text and no inset or font change. This allows to use CDATA
1005 sections just for the whole paragraph.
1007 2004-10-30 José Matos <jamatos@lyx.org>
1009 * paragraph.C (getFirstWord): remove unused variable.
1011 2004-10-30 José Matos <jamatos@lyx.org>
1013 * paragraph.C (getFirstWord): the content should always be escaped
1015 (simpleDocBookOnePar):
1016 * output_docbook.C (makeEnvironment): replace reference to CDATA
1019 2004-10-30 José Matos <jamatos@lyx.org>
1021 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
1023 2004-10-30 José Matos <jamatos@lyx.org>
1025 * output_docbook.C (makeParagraphs):
1026 * paragraph.[Ch] (emptyTag): for docbook and company, if the
1027 standard paragraph has only a given type of content drop the wrapper.
1029 2004-10-29 José Matos <jamatos@lyx.org>
1031 * output_docbook.C (makeEnvironment):
1033 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
1035 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
1037 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
1038 (cleanID): sanitize any id.
1040 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1042 * buffer.C, lyxlex_pimpl.C:
1043 * lyxlex_pimpl.C (setFile):
1044 s/getExtFromContents/getFormatFromContents/
1046 2004-10-28 José Matos <jamatos@lyx.org>
1048 * output_docbook.C (makeEnvironment): move id to broadest possible
1051 * sgml.C (openTag): apply substitution of <> for all attributes.
1053 2004-10-28 José Matos <jamatos@lyx.org>
1055 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1056 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1057 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
1059 * sgml.[Ch]: new version for open and closeTag for paragraph and
1060 for strings. Now they handle the ids of paragraphs.
1062 2004-10-26 Angus Leeming <leeming@lyx.org>
1064 * Makefile.am: add mover.[Ch].
1066 * converter.C (convert, move): use the new Movers to move external
1067 files to the temp directory.
1069 * lyx_main.C (init): ensure that the global system_movers data
1072 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
1075 * mover.[Ch]: new files, defining a Mover as a utility to move an
1076 external file between directories and, if necessary, manipulate this
1077 file using a helper script.
1079 2004-10-25 José Matos <jamatos@lyx.org>
1081 * output_docbook.C (makeCommand): merge two if's that tested the
1084 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1086 * sgml.C (escapeString): fix warning in a better way
1088 2004-10-25 José Matos <jamatos@lyx.org>
1090 * sgml.C (escapeString): import the require boosts header file for
1091 tie, and avoid a signed unsigned comparison.
1093 2004-10-25 José Matos <jamatos@lyx.org>
1095 * sgml.h: add #include <string>
1097 2004-10-25 José Matos <jamatos@lyx.org>
1099 * sgml.[Ch] (escapeString): new function to escape all the string.
1101 2004-10-24 José Matos <jamatos@lyx.org>
1103 * paragraph.[Ch] (getFirstWord): new function to get the first
1104 word. Useful for description.
1105 (simpleDocBookOnePar): remove depth argument, add another that
1106 says where to start the paragraph.
1108 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1109 use the new functions to fix cleanly the support for descriptions.
1111 2004-10-24 José Matos <jamatos@lyx.org>
1113 * buffer.C (makeLinuxDocFile, makeDocBookFile):
1114 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
1115 * output_linuxdoc.C (linuxdocParagraphs):
1116 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
1117 add buffer as argument.
1119 2004-10-24 José Matos <jamatos@lyx.org>
1121 * output_docbook.C (makeEnvironment, searchEnvironment): place
1122 CDATA inside paragraphs and fix scope for listitems.
1124 2004-10-24 José Matos <jamatos@lyx.org>
1126 * output_docbook.C: remove using statement for stack.
1128 2004-10-23 José Matos <jamatos@lyx.org>
1130 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
1131 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
1132 docbook. The new scheme is recursive and makes use of iterators, the
1133 same as latex export works.
1134 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
1135 directly with the paragraph contents. This code was moved up to
1136 output_docbook.C (docbookParagraphs).
1137 * sgml.C (openTag, closeTag): removed unneeded newlines.
1138 (closeEnvTags) removed.
1140 2004-10-23 André Pönitz <poenitz@gmx.net>
1142 * undo.C (textUndoOrRedo):
1143 * dociterator.C (asDocIterator): work around crash
1145 * cursor.C (getStatus): replace ASSERT by more verbose error message
1146 and manual correction of the problem. Should increase stability
1147 while providing more sensible information.
1149 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1151 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
1153 * bufferlist.C (previous, next): new methods
1156 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
1158 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
1160 * buffer.C (makeDocBookFile): add dsssl stylesheet control
1161 entities to preamble.
1163 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1165 * messages.C (Pimpl): strip off translation context information
1167 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1169 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
1170 the cursor is correct (bug 1694)
1172 2004-10-13 José Matos <jamatos@lyx.org>
1174 * output_docbook.C (docbookParagraphs): fix closing tags in the
1175 end of the document.
1177 2004-10-09 José Matos <jamatos@lyx.org>
1179 * buffer.C: format up to 237.
1180 * bufferparams.C (write): use tostr to convert booleans to strings.
1182 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
1184 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
1186 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1188 * LaTeX.C: implement use of babel language in xindy.
1190 2004-10-05 José Matos <jamatos@lyx.org>
1192 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
1193 Add new translators to help reading and writing the lyx file.
1195 2004-10-05 José Matos <jamatos@lyx.org>
1197 * ParagraphParameters.C (read):
1198 * text.C (readParToken): replace nexToken by more appropriate lex
1201 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
1203 * LaTeX.C (runMakeIndex):
1204 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
1205 (usually 'makeindex') configurable.
1207 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
1208 with a variable rather than with a number.
1210 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1212 * output_latex.C (TeXOnePar): make sure font setting is the first
1213 thing that gets output (and the last at the end). Should fix bug
1216 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1218 * pch.h: use proper signal include
1220 * LaTeX.h: Use preferred calling of Boost.Signal
1223 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1225 * pch.h: dont include <boost/function/function0.hpp>
1227 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
1229 * paragraph_pimpl.h: remove usage of ShareContainer
1231 * paragraph_pimpl.C: remove initialization of ShareContainer.
1233 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1237 * BufferView.C (putSelectionAt): change the semantics when
1238 backwards == true: now, this just swaps cursor and anchor wrt the
1241 * BufferView.h (putSelectionAt): add some documentation
1243 * lyxfind.C (findBackwards): rewrite using while(). In particular,
1244 make sure backwardChar is done at least once (to avoid getting
1246 (findNextChange): use putSelectionAt in the forward direction
1247 (operator()): use Paragraph::isWord
1249 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
1251 * Spacing.C (set): c_str fix
1253 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1255 * lyx_cb.C (Reconfigure): quote the name of configure script in
1256 case it contains spaces
1258 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
1262 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
1263 (BOOST_LIBS): use top_buildir when looking for the file
1265 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
1267 * pch.h: do not use include boost/format.hpp, multiple symbols
1268 will result (gcc bug)
1271 2004-08-23 José Matos <jamatos@lyx.org>
1273 * bufferparams.C (readToken): fix reading of the author field.
1275 2004-08-20 José Matos <jamatos@lyx.org>
1277 * lyxrc.C: remove support/translator.h inclusion since it is not used.
1279 2004-08-20 José Matos <jamatos@lyx.org>
1281 * lyxlex.[Ch] (findToken): remove function.
1283 * ParagraphParameters.C (findToken):
1284 * bufferparams.C (findToken): replace call for previous function
1285 with local copy. This local function has one more argument, the
1286 read string argument.
1288 2004-08-16 José Matos <jamatos@lyx.org>
1290 * ParagraphParameters.C (write):
1291 * Spacing.C (writeFile):
1292 * bufferparams.C (writeLaTeX):
1293 * lyx_cb.C (Reconfigure):
1294 * paragraph.C (write):
1295 * tabular.C (write): remove unnecessary space at end of line.
1298 2004-08-16 José Matos <jamatos@lyx.org>
1300 * text.C (readParagraph): remove debug message.
1302 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1304 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
1307 * output_plaintext.C (asciiParagraph): set depth correctly
1309 * outputparams.h: add member depth
1311 * paragraph_funcs.C (ownerPar): remove.
1313 * text2.C (setCounter): remove first_pit; comment out some
1314 non-working code that uses ownerPar
1316 * BufferView.C (getParentLanguage): remove. Not used anymore, and
1319 2004-08-16 José Matos <jamatos@lyx.org>
1321 * text.C (readParToken, readParagraph, read): report all unknown tokens.
1322 For the same level of importance use the same chanel to report problems.
1323 (read): add code to deal with \begin_body and \end_body.
1326 2004-08-15 José Matos <jamatos@lyx.org>
1328 * lyxlex.C (getString): fix comment, buffer::readBody is now
1329 buffer:readDocument.
1331 * tex-strings.C (string_papersize): Default -> default,
1332 Custom -> custom, for consistency with other options.
1334 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
1338 * Makefile.am: support pch
1340 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1342 * text.C (readParToken): remove the static LyXFont variable and
1343 pass it as a parameter instead. This fixes a nasty bug where an
1344 inset will be inserted with a bad font in some situations
1345 (readParagraph): adapt
1347 * text2.C (setCounter): reduce number of calls to pars_[pit]
1349 * text.C (singleWidth): add an assert, fix a test
1351 * rowpainter.C (paintText): reduce number of calls to singleWidth
1353 * paragraph.C (isHfill):
1354 (isNewline): ws only
1356 2004-08-14 André Pönitz <poenitz@gmx.net>
1361 * lyxtext.h (several functions): use a Paragraph & argument
1364 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1366 * metricsinfo.h: add a new field ltr_pos to PainterInfo
1368 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
1370 * text.C (singleWidth): remove useless test
1372 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1374 * tabular.h: remove bogus comments
1376 * tabular.C (getDescentOfRow):
1377 (isPartOfMultiColumn): add assertions
1379 * lyxlength.C (inPixels): remove #warning
1381 2004-08-14 André Pönitz <poenitz@gmx.net>
1383 * paragraph.h: inline getChar()
1385 * BufferView.h: remove unused declarations
1387 2004-08-14 José Matos <jamatos@lyx.org>
1389 * Buffer.[Ch] (readDocument): new name for old readBody.
1390 * Buffer.C: new file format, new keywords: \begin_document,
1391 \begin_header, \begin_body, \end_body.
1393 * bufferparams.C (readToken): replace all calls to lex.nextToken
1394 by lex.next(). Do the same to eatLine except where really needed.
1396 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
1397 line when writing to the lyx file.
1399 * output_plaintext.C (asciiParagraph): fix Bibliography style
1402 * text.C (read): fix end of file handling.
1404 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1406 * MenuBackend.C (Menu::operator[]): new method to access
1407 individual menu items
1408 (Menu::hasFunc): new method. search for an item that corresponds
1410 (MenuBackend::specialMenu): new method
1411 (MenuBackend::expand): if a special menu has been set, skip
1412 entries whose func() appears in this menu
1414 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1416 * text3.C: use Debug::DEBUG a bit more
1418 * text.C (leftMargin): try to simplify a tiny bit change var x to
1419 l_margin. Dont output the wide margins always.
1420 (rightMargin): no margin in inner texts
1422 * rowpainter.h (nestMargin): new func
1423 (changebarMargin): new func
1424 (rightMargin): new func
1426 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1430 * factory.C (createInset): modify setDrawFrame
1432 * cursor.C: use Debug::DEBUG a bit more
1434 2004-08-14 André Pönitz <poenitz@gmx.net>
1437 * Makefile.am: new files to accomodate an 'external' (x,y)-position
1438 cache for all insets in (at least partially) visible (top-level)
1441 * BufferView_pimpl.C: reset external coord cache before every update.
1442 This means the coord cache only contains valid entries.
1444 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
1447 * BufferView_pimpl.C (getInsetByCode): move function out of class
1448 and change in to a template in anon namespace. Also fix to do what
1451 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
1454 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1456 (breakParagraph): rename par to par_offset and use a local
1457 reference. Add code to keep the language over a rebreak.
1458 (breakParagraphConservative): rename par to par_offset, use a
1460 (mergeParagraph): ditto
1462 (isFirstInSequence): ditto
1463 (outerFont): rename pit to par_offset
1465 * paragraph.C: ws change
1466 * paragraph.h: ditto
1470 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1472 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1475 * paragraph.C (simpleTeXOnePar): when we have a \item with
1476 optional argument, enclose the argument with curly brackets (in
1477 case it contains a closing square bracket)
1481 * text3.C (checkInsetHit): constify
1483 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1485 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1486 documents (bug 1629)
1488 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1490 Fix toggling of collapsable insets with the mouse (bug 1558)
1492 * lyxfunc.C (dispatch): adapt to LCursor changes
1494 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1495 make sure that dispatch is not invoked twice
1497 * cursor.C (needsUpdate): new method
1498 (dispatch): return void
1499 (result): new method, to access the DispatchResult of the cursor.
1501 2004-08-13 José Matos <jamatos@lyx.org>
1503 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1505 2004-08-13 André Pönitz <poenitz@gmx.net>
1507 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1509 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1512 2004-08-12 André Pönitz <poenitz@gmx.net>
1514 * text3.C: take out the 'cursor right' form insertInset and only
1515 do it in those places when it is really needed. Fixes crash on
1518 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1520 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1522 * BufferView_pimpl.C (setBuffer): initialize the current font of
1523 the underlying LyXText
1525 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1527 * kbsequence.C (print): use UI native formatting for menu
1530 * text.C (insertChar): call Paragraph::insertChar with a font
1533 * paragraph.C (insertInset, insertChar): the version that takes a
1534 LyXFont argument is now a wrapper around the other one (the
1535 opposite used to be true).
1537 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1538 argument. Font setting is done in Paragraph now.
1540 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1542 * outputparams.h: add new members intitle and lang.
1544 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1545 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1547 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1549 * text3.C (dispatch): remove special handling of button 4 and 5,
1550 it is now taken care of in the frontend code.
1552 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1554 * Spacing.h: add <string> (STLPort compile fix)
1556 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1558 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1560 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
1562 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1565 * converter.C (showMessage): inherit from unary_function, make
1568 * buffer.C (writeFile): initialize retval
1570 * InsetList.h: rename private variable list to list_
1571 * InsetList.[Ch]: adjust accordingly.
1573 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
1575 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1576 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1577 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1578 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1579 * ParagraphParameters.C, LaTeXFeatures.C: replace
1580 "support/std_sstream.h" with <sstream>
1582 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
1584 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1585 * lyxsocket.C (LyXServerSocket): ditto
1586 (serverCallback): ditto
1588 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1590 * LaTeXFeatures.C: check release date when loading jurabib.
1592 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
1594 * lyxserver.C (startPipe): call register_socket_callback
1595 (endPipe): call unregister_socket_callback
1597 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
1599 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1600 (LyXServerSocket): register the callback
1601 (LyXServerSocket): unregister the callback
1602 (fd): delete function
1603 (serverCallback): improve error checking and setup the callbacks.
1604 (dataCallback): change arg to fd.
1605 (writeln): new func (copied fro the client socket) used for server
1607 (LyXDataSocket): simplify
1608 (~LyXDataSocket): close ann unregiser callback
1609 (server): delete function
1610 (fd): delete function
1611 (readln): small changes, improve some std::string usage
1612 (writeln): constify a bit
1614 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1616 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1619 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1621 * BufferView_pimpl.C (setBuffer): set the layout combox value only
1622 after it has been populated
1624 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1626 * text2.C (insertInset): move cursor when inserting inset.
1628 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1630 * kbmap.C (findbindings): a couple of new methods. returns a
1631 container of kb_sequence objects. The real work is done by the
1632 private recursive version
1633 (printbindings): uses findbindings to print out a bracketed list
1634 of bindings (renamed from findbinding).
1636 * MenuBackend.C (binding): use kb_keymap::findbindings
1638 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1640 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1642 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1644 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1646 * paragraph.C (isWord): return true on insets that report
1649 * text.C (getWord): use Paragraph::isWord to decide what is in a
1650 word and what is not; fix bug 1609.
1652 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1654 * tex-strings.C: add "none" to string_paperpackages[], fixes
1655 off-by-one-error in the paperpackage selection.
1658 * tex-strings.[Ch]: char const * string[n]
1659 -> char const * const string[]
1661 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1663 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1664 command, return early.
1666 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
1668 * debug.h: add DEBUG to enum and fix size of ANY.
1670 * debug.C: add support for Debug::DEBUG
1671 (showTags): cast errorTags.level to unsigned int
1673 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1674 (redoCurrentBuffer): ditto
1675 (updateScrollbar): ditto
1676 * cursor.C (dispatch): ditto
1677 * text2.C (setLayout): ditto
1679 (updateCounters): ditto
1681 (deleteEmptyParagraphMechanism): ditto
1683 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1685 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1686 annotations to cleanup the Makefile slightly.
1688 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1690 * lyxrc.C: do not set user_email to a default value but use empty
1691 instead. The entry used to be translated, which does not work
1692 since at the point where lyxrc is constructed there is no
1693 translation service available
1695 * messages.C (getLocaleDir): remove and use directly
1696 lyx_localedir() instead
1698 2004-06-02 Angus Leeming <leeming@lyx.org>
1700 Fix crash caused by dereferencing null pointer 'exportdata' in
1701 OutputParams by creating a new ExportData variable on the heap,
1702 storing it in a boost::shared_ptr.
1703 The crash was triggered when generating an Instant Preview
1704 of an external inset.
1706 * Makefile.am: add outputparams.C
1708 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1709 (c-tor): allocate memory to it.
1711 * exporter.C (c-tor): associated changes.
1713 2004-06-01 Angus Leeming <leeming@lyx.org>
1715 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1716 contains data before calling isInset(0). (Bug 1513.)
1718 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1720 * exporter.C (checkOverwrite): new method
1721 * exporter.C (copyFile): new method
1722 * exporter.C (Export): copy referenced files to the document dir
1723 * exporter.[Ch]: new class ExportedFile
1724 * exporter.[Ch]: new class ExportData. Contains currently the
1725 names of referenced external files
1726 * outputparams.h: add exportdata member.
1728 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1730 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1733 2004-05-19 Angus Leeming <leeming@lyx.org>
1738 * lyxfunc.C: small changes due to the introduction of namespace
1739 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1741 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1743 * text3.C (dispatch): supress update when only moving the cursor
1744 * cursor.C (selHandle): remove commented code
1746 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1748 * paragraph.C (startTeXParParams): correct column count
1749 * CutAndPaste.C (pasteSelection): remove const_cast
1750 * output_docbook.C (docbookParagraphs): remove const_cast
1751 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1752 const_cast and return ParagraphList::const_iterator
1753 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1754 * output_plaintext.C (writeFileAscii): remove const_cast
1755 * paragraph.[Ch] (simpleTeXOnePar): make const
1756 * paragraph_funcs.C (outerPar): use const iterators
1757 * paragraph_pimpl.C (validate): use const iterators
1758 * text.C (setHeightOfRow): use const iterators
1760 2004-05-17 Angus Leeming <leeming@lyx.org>
1763 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1765 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1766 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1767 if the citation engine has changed.
1769 2004-05-14 José Matos <jamatos@lyx.org>
1771 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1772 if the textclass does not provide it. Have it different for sgml and
1774 support the language of document.
1775 * output_docbook.C (docbookParagraphs):
1776 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1777 first anchor as the id of the paragraph, remove special case code.
1778 * sgml.C (escapeChar): escape only < & >.
1780 2004-05-14 Angus Leeming <leeming@lyx.org>
1782 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1783 dependencies on src/frontends/controllers/biblio.h. Define a
1784 CiteEngine_enum wrapper class to enable the enum to be forward
1787 2004-05-12 Angus Leeming <leeming@lyx.org>
1789 * buffer.C: up LYX_FORMAT to 234.
1790 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1791 use_numerical_citations with a single biblio::CiteEngine cite_engine
1793 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1795 2004-05-13 José Matos <jamatos@lyx.org>
1798 * converter.C (Converter, readFlags): add xml member.
1799 * outputparams.h: add XML flavor.
1800 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1802 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1804 * lyxfunc.C (dispatch):
1805 (getStatus): fix handling of LFUN_SEQUENCE
1807 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1809 * debug.C (showLevel): do not forget the end-of-line marker
1811 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1813 * kbmap.C (read): do not stop parsing a bind file when an error
1816 2004-04-29 Angus Leeming <leeming@lyx.org>
1821 * text2.C: wrap a bunch of #warning statements
1822 inside #ifdef WITH_WARNINGS blocks.
1824 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1826 * buffer.C: increment format to 233.
1828 2004-04-28 Angus Leeming <leeming@lyx.org>
1830 * BufferView_pimpl.C:
1833 s/updateToolbar()/updateToolbars()/
1834 s/Toolbar.h/Toolbars.h/
1836 2004-04-28 Angus Leeming <leeming@lyx.org>
1838 * BufferView.[Ch] (c-tor):
1839 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1840 No longer passes these data to the WorkArea generator.
1842 2004-04-28 Angus Leeming <leeming@lyx.org>
1844 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1846 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1848 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1850 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1852 * output_latex.C (TeXEnvironment): make sure that there is a line
1853 break before \end{foo} for the last paragraph of a document
1854 (TeXOnePar): if the paragraph is at the end of the document (or
1855 inset) and the language has to be reset, then make sure that the
1856 line break is _before_ the language command, not after (fixes bug
1857 1225); also make sure that the language reset command is the first
1858 thing after the paragraph (to ensure proper nesting of
1859 environments and thus fix bug 1404)
1861 2004-04-21 John Levon <levon@movementarian.org>
1864 * ToolbarBackend.C: make "name" be a programmatic name
1865 and a gui_name field.
1867 * lyxfunc.C: display the minibuffer on M-x
1869 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1871 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1874 2004-04-19 Angus Leeming <leeming@lyx.org>
1876 * BufferView_pimpl.C (setBuffer): changed preview interface.
1878 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1881 2004-04-19 John Levon <levon@movementarian.org>
1883 * BufferView_pimpl.C:
1884 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1886 2004-04-05 Angus Leeming <leeming@lyx.org>
1888 * text.C (redoParagraphs): add call to updateCounters(), thereby
1889 fixing the missing "Figure #:" label from the caption of a
1892 2004-04-13 Angus Leeming <leeming@lyx.org>
1894 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1895 cursor is clicked out of an inset.
1897 2004-04-13 Angus Leeming <leeming@lyx.org>
1899 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1900 than an InsetOld one.
1902 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1904 * format.[Ch]: add editor to Format
1905 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1906 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1908 2004-04-08 André Pönitz <poenitz@gmx.net>
1910 * metricsinfo.h: remove PainterInfo::width member
1912 2004-04-08 Angus Leeming <leeming@lyx.org>
1914 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1915 "\providecommand" rather than "\newcommand", thereby preventing
1916 clashes with packages that define "\boldsymbol" themselves.
1919 2004-04-08 Angus Leeming <leeming@lyx.org>
1921 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1922 thereby squashing an unnecessary warning.
1924 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1926 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1929 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1931 * BufferView.C (setCursor): call redoParagraph (some insets could
1933 (putSelectionAt): remove the 'double update' trick
1935 * BufferView_pimpl.C (fitCursor): call refreshPar
1936 (workAreaDispatch): remove an uneeded update call
1937 (dispatch): remove some manual update calls
1939 * cursor.[Ch]: remove cached_y_, updatePos
1940 (selHandle): set noUpdate when appropriate
1942 * lyxfunc.C (dispatch): track if we need an update
1944 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1946 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1947 (paintSelection): cheap optimization, do not call cursorX when not
1949 (paintPars): change signature
1952 (paintTextInset): adjust
1956 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1958 * lengthcommon.C: compilation fix: remove explicit array size from
1959 unit_name[] and friends
1961 2004-04-05 Angus Leeming <leeming@lyx.org>
1963 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1965 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1966 present only for the preferences dialog.
1967 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1969 2004-04-05 Angus Leeming <leeming@lyx.org>
1971 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1972 to enable the frontends to export changes to lyxrc correctly.
1974 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1976 2004-04-07 André Pönitz <poenitz@gmx.net>
1978 * cursor.[Ch] (selClear, adjust): remove math
1980 * cursor_slice.C: more agressive assert
1983 * BufferView_pimpl.C: rework mouse event dispatch
1990 2004-04-05 André Pönitz <poenitz@gmx.net>
1992 * cursor.[Ch] (valign, halign...): remove unneeded functions
1994 2004-04-05 Angus Leeming <leeming@lyx.org>
1996 * lyxlength.[Ch] (unit_name et al.): const-correct.
1998 2004-04-05 Angus Leeming <leeming@lyx.org>
2000 * BufferView_pimpl.C:
2009 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
2011 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2013 * text3.C (getStatus): add LFUN_BEGINNINGBUF
2015 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2017 * lyxfind.C: add a couple of inTexted() tests + other small fixes
2018 * BufferView_pimpl.[Ch] (getStatus)
2019 * BufferView.[Ch] (getStatus): add
2020 * lyxfunc.C (getStatus): move lfuns handled in
2021 BufferView::dispatch to te function above
2022 * Cursor.C (setSelection): set selection() = true
2024 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
2026 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
2028 2004-03-31 Angus Leeming <leeming@lyx.org>
2030 * lyxfunc.C (dispatch): Fall through to the generic
2031 Dialogs::show("preamble").
2033 2004-03-31 Angus Leeming <leeming@lyx.org>
2035 * lyxfunc.C (dispatch): Fall through to the generic
2036 Dialogs::show("spellchecker").
2038 2004-03-31 Angus Leeming <leeming@lyx.org>
2040 * lyxfunc.C (getStatus, dispatch): changed invocation of the
2043 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2048 * insetiterator.[Ch]:
2053 * undo.[Ch]: s/DocumentIterator/DocIterator/g
2055 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
2057 * BufferView.C (setCursor, putSelectionAt): call edit to open the
2058 insets where we are putting the cursor.
2060 2004-03-31 Angus Leeming <leeming@lyx.org>
2063 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
2065 * lyxrc.[Ch] (read, write): overloaded member functions taking
2066 a std::[io]stream arguments.
2068 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
2070 2004-03-31 Angus Leeming <leeming@lyx.org>
2072 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
2073 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
2075 * lyxtextclass.C (load): if the text class couldn't be loaded, then
2076 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
2078 2004-03-31 Angus Leeming <leeming@lyx.org>
2080 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
2081 the LFUN_ALL_INSETS_TOGGLE code.
2083 2004-03-30 Angus Leeming <leeming@lyx.org>
2085 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
2086 has died. Fall through to the generic Dialogs::show("document").
2088 2004-03-30 Angus Leeming <leeming@lyx.org>
2091 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
2092 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
2094 * lyxfunc.C (getStatus, dispatch): define the actions for these
2095 lfuns. Little more than a cut and pste job from ControlDocument.C
2097 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
2099 2004-03-30 Angus Leeming <leeming@lyx.org>
2102 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
2103 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
2105 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
2106 open/closed state of ollapsable insets. Usage:
2108 all-inset-toggle <state> <name>, where
2109 <state> == "open" || "closed" || "toggle" and
2110 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
2112 * lyxtext.h, text2.C (toggleInset): removed.
2114 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
2115 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
2116 now passes LFUN_INSET_TOGGLE to the found inset.
2118 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
2119 is now invoked as "all-insets-toggle toggle branch".
2121 2004-03-30 Angus Leeming <leeming@lyx.org>
2125 * pariterator.[Ch]: added/corrected header blurb.
2127 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
2129 * dociterator.[Ch]: add an inset_ member
2130 (backwardPos): implemented
2131 (backwardPos, forwardPos): use inset_ when the stack is empty.
2132 (doc_iterator_begin, doc_iterator_end): implemented
2133 * pariterator.[Ch]: adjust, add begin, end
2134 * insetiterator.[Ch]: adjust, add begin, end
2138 * BufferView_pimpl.C:
2139 * CutAndPaste.C: adjust
2141 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2143 * buffer.C: increment file format to 232.
2144 * LaTeXFeatures.C: add bibtopic package.
2145 * bufferparams.[Ch]: param \use_bibtopic.
2147 * lyxrc.[Ch]: add lyxrc bibtex_command
2148 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
2150 * buffer.C: increment file format to 231.
2152 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2154 * dociterator.C: implement forwardPar
2155 * iterators.[Ch]: remove, replaced by
2156 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
2158 * BufferView_pimpl.C:
2161 * bufferview_funcs.C:
2167 * Makefile.am: adjust
2169 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
2171 * CutAndPaste.C (pasteSelection): fix 2 crashes
2172 (eraseSelection): fix a crash
2173 * paragraph_funcs.C: remove a warning
2175 2004-03-28 Angus Leeming <leeming@lyx.org>
2178 * LyXAction.C (init): new LFUN_PRINT.
2180 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
2182 2004-03-27 Angus Leeming <leeming@lyx.org>
2185 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
2187 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
2189 2004-03-27 Angus Leeming <leeming@lyx.org>
2191 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
2192 insetlist always contains non-null pointers to insets.
2194 2004-03-26 Angus Leeming <leeming@lyx.org>
2196 * src/BufferView_pimpl.C:
2197 * src/CutAndPaste.C:
2200 * src/output_plaintext.C:
2201 * src/outputparams.h:
2202 * src/paragraph_funcs.C:
2206 * src/frontends/controllers/ControlErrorList.C:
2207 * src/frontends/gtk/FileDialogPrivate.C:
2208 * src/frontends/gtk/GPainter.C:
2209 * src/frontends/gtk/GToolbar.C:
2210 * src/frontends/qt2/QRef.C:
2211 * src/mathed/math_scriptinset.C: squash compiler warnings.
2213 2004-03-26 Angus Leeming <leeming@lyx.org>
2215 * ispell.C (LaunchIspell::start):
2216 * lyx_cb.C (AutoSaveBuffer::start):
2217 invoke run(DontWait) rather than runNonBlocking().
2219 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
2221 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
2223 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2225 * kbsequence.C (print): adjust
2227 * kbmap.C (printKeySym): rename and change signature
2228 (printKey): use LyXKeySym::print()
2230 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
2232 * undo.C: add using std::advance to compile for stlport
2234 2004-03-24 Angus Leeming <leeming@lyx.org>
2236 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
2237 it leads to a crash when no buffer is present.
2239 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2240 Martin Vermeer <martin.vermeer@hut.fi>
2242 * lyxfunc.C (dispatch):
2243 * bufferparams.C (readToken): use the new LColor::setColor
2245 * LColor.[Ch] (setColor): new version that takes two strings as
2246 argument and creates a new color entry if necessary
2248 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2250 * buffer.C (makeLaTeXFile): if the main latex file that is
2251 processed is usually a subdocument of some master, then pretend
2252 for a while that it is actually the master
2254 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2256 * buffer.C (getLabelList):
2257 (getBibkeyList): use getMasterBuffer()
2258 (getMasterBuffer): new method. Returns the main document in the
2259 case where one is using included documents.
2261 2004-03-25 André Pönitz <poenitz@gmx.net>
2265 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
2267 * ParagraphList_fwd.h: change ParagraphList to a std::vector
2269 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
2270 text*.C over here. Rename namespace CutAndPaste to lyx::cap
2272 * ParameterStruct.h: merge with ParagraphParameters
2274 * lyxtext.h: remove LyXText::parOffset() and getPar()
2276 * text3.C: Remove all 'manual' update calls. We do now one per user
2277 interaction which is completely sufficient.
2281 * BufferView_pimpl.C:
2282 * FontIterator.[Ch]:
2284 * ParagraphParameters.[Ch]:
2289 * cursor_slice.[Ch]:
2296 * output_docbook.[Ch]:
2297 * output_latex.[Ch]:
2298 * output_linuxdoc.[Ch]:
2299 * output_plaintext.[Ch]:
2301 * paragraph_funcs.[Ch]:
2302 * paragraph_pimpl.[Ch]:
2310 * frontends/controllers/ControlDocument.C:
2311 * frontends/controllers/ControlErrorList.C:
2312 * frontends/controllers/ControlSpellchecker.C:
2315 * insets/insetbase.h:
2316 * insets/insetbibitem.C:
2317 * insets/insetbox.C:
2318 * insets/insetbranch.C:
2319 * insets/insetcaption.C:
2320 * insets/insetcharstyle.C:
2321 * insets/insetcharstyle.h:
2322 * insets/insetcollapsable.C:
2323 * insets/insetcollapsable.h:
2324 * insets/insetert.C:
2325 * insets/insetfloat.C:
2326 * insets/insetfoot.C:
2327 * insets/insetmarginal.C:
2328 * insets/insetnote.C:
2329 * insets/insetoptarg.C:
2330 * insets/insettabular.C:
2331 * insets/insettext.C:
2332 * insets/insettext.h:
2333 * insets/insetwrap.C:
2334 * mathed/math_mboxinset.C:
2335 * mathed/math_nestinset.C:
2336 * mathed/math_scriptinset.C:
2337 * mathed/math_scriptinset.h:
2340 2004-03-24 Angus Leeming <leeming@lyx.org>
2342 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
2343 deal with any child processes that have finished but are waiting to
2344 communicate this fact to the rest of LyX.
2346 2004-03-24 Angus Leeming <leeming@lyx.org>
2348 64-bit compile fixes.
2350 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
2351 (c-tor): pass lyx::pos_types rather than ints.
2353 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
2356 * text.C (Delete): compile fix.
2357 (getPar): ensure that function declaration is the same as that in
2360 2004-03-23 Angus Leeming <leeming@lyx.org>
2362 * ispell.C (LaunchIspell):
2363 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
2364 a boost::shred_ptr rather than a std::auto_ptr.
2366 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2368 * lyxfunc.C (getStatus): handle read-only buffers correctly;
2369 handle LFUN_FILE_INSERT_*
2371 * lyxrc.C (setDefaults, getDescription, output, read):
2372 * lyxrc.h: remove ps_command
2374 2004-03-22 Angus Leeming <leeming@lyx.org>
2376 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
2377 Ensure that error_handler is processed once only and that all data
2378 is saved before attempting to output any warning messages.
2380 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
2382 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
2384 * tabular.C (TeXRow): crash fix (from Kayvan and André)
2386 2004-03-19 André Pönitz <poenitz@gmx.net>
2388 * cursor.[Ch] (reset): take main text inset as argument
2390 * BufferView: adjust
2391 * BufferView_pimpl.C: adjust
2393 * paragraph.[Ch]: fix completely broken operator=()
2395 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2397 * LColor.C (getFromLyXName): make sure that the color name is used
2400 2004-03-17 Angus Leeming <leeming@lyx.org>
2403 * LyXAction.C (init): remove LFUN_FORKS_KILL.
2405 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
2406 dialog and to kill a forked process.
2408 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2410 * text2.C (setCursorFromCoordinates): fix font problem
2412 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
2414 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
2415 bogus "rebuild cursor" code
2417 2004-03-11 André Pönitz <poenitz@gmx.net>
2419 * buffer.[Ch]: use InsetText instead of LyXText as container for
2422 * dociterator.[Ch]: drop the BufferView * member which is not needed
2423 anymore after the change to buffer.C
2425 * paragraph_funcs.C:
2429 * BufferView_pimpl.[Ch]:
2431 * cursor_slice.[Ch]: adjust
2433 * text3.C: fix bug in mathDispatch
2435 2004-03-08 André Pönitz <poenitz@gmx.net>
2437 * undo.[Ch]: use 'StableDocumentIterator' as base for
2440 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2443 * bufferparams.[Ch]: add jurabib support and param.
2445 * LaTeX.C: add FIXME/comment.
2447 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2449 * buffer.C: increment file format to 230.
2451 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
2453 * cursor.C (dispatch): avoid infinite loops
2455 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2457 * rowpainter.C (paintSelection): fix x coordinates
2459 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2461 * text.C (rowBreakPoint): fix breaking before displayed insets
2463 2004-03-01 André Pönitz <poenitz@gmx.net>
2465 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2467 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2471 * BufferView_pimpl.C:
2479 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2485 * BufferView_pimpl.C: rename textwidth -> maxwidth,
2486 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2488 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2490 * Bidi.[Ch] (computeTables): const correctness
2491 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2492 fill_hfill, fill_label_hfill and x from Row
2493 * lyxtext.h: prepareToPrint returns a RowMetrics
2494 * rowPainter.C: adjust
2495 * text.C (prepareToPrint): use width, not textWidth. adjust
2496 (redoParagraphInternal, cursorX): adjust
2497 * text2.C (getColumnNearX): adjust
2498 (init): put a default value to the top LyXText::width
2500 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2502 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2504 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
2506 * lyxtext.h: add FontIterator class
2508 * text.C (FontIterator, operator*, operator->, operator++): add
2509 (rowBreakPoint, setRowWidth): adjust (fixing a
2512 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2514 * BufferView_pimpl.C (workAreaDispatch): allow also
2515 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2517 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
2519 * text.C (rowBreakPoint): fix a bug showing with very large insets
2521 2004-02-25 André Pönitz <poenitz@gmx.net>
2524 * cursor.[Ch]: move some mathed specific code to mathed
2526 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2528 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2529 use_tempdir in preferences
2530 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2532 * lyx_main.C: ensure that tempdir is valid
2533 * lyxlex.h: correct typo
2534 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2535 * paragraph.[Ch] (isMultiLingual): make const
2536 * cursor.[Ch] (openable): make const
2538 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2540 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2542 2004-02-20 André Pönitz <poenitz@gmx.net>
2544 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2546 * cursor.[Ch]: prepare for localized getStatus()
2552 * text3.C: streamlines the LyXText cursor movement handlers a bit.
2554 2004-02-20 André Pönitz <poenitz@gmx.net>
2556 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2558 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2560 * text2.C (setCursorFromCoordinates): switch to absolute coords
2562 (cursorDown): adjust
2563 * text3.C (dispatch): adjust
2565 2004-02-16 André Pönitz <poenitz@gmx.net>
2567 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2570 * cursor_slice.[Ch]: remove unneeded acessor function
2572 * lyxtext.h: rename rtl() to isRTL()
2580 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
2582 * rowpainter.C (paintSelection): coord fix
2584 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2586 * Spacing.C: compile fix
2588 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2590 * cursor.C (dispatch): restore current_ before returning
2592 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
2594 * text2.C (cursorUp, cursorDown): fix coords
2597 2004-02-12 André Pönitz <poenitz@gmx.net>
2602 * text3.C: add LCursor & parameter to most cursor movement functions
2603 remove usage of LyXText::cursorRow() and cursorPar()
2605 * cursor.[Ch]: add textRow() needed members
2608 * BufferView_pimpl.C:
2611 * BufferView_pimpl.C: adjust
2613 2004-02-11 André Pönitz <poenitz@gmx.net>
2617 * BufferView_pimpl.C: shift undo/redo handling
2619 * cursor.[Ch]: fix mathed crash
2622 * lyxtext.h: move selectionAsText to LCursor
2630 * rowpainter.C: fix excessive drawing
2632 2004-02-06 André Pönitz <poenitz@gmx.net>
2635 * BufferView_pimpl.[Ch]:
2636 * text3.C: move some text specific LFUN handling
2638 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
2640 * text3.C (checkInsetHit): adjust coords
2641 * text2.C (getColumnNearX): adjust coords
2642 (edit): adjust coords
2643 * text.C (getRowNearY): add two asserts
2645 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
2648 * format.C: add using std::distance to compile on gcc 2.95/stlport
2650 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
2652 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2654 2004-02-04 André Pönitz <poenitz@gmx.net>
2656 * BufferView.[Ch] (insertInset):
2657 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2662 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2664 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2665 on the default clause of the switch
2666 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2667 wasn't catched by LCursor::dispatch
2669 2004-02-03 André Pönitz <poenitz@gmx.net>
2672 * cursor.[Ch]: some additional asserts
2674 * undo.[Ch]: remove LyXText dependency in interface
2678 * lyxtext.h (firstPar, lastPar): remove dead functions
2683 * paragraph.[Ch]: adjust
2685 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2687 * lyxfind.C (find): fix argument order in call to ::find
2689 2004-02-02 André Pönitz <poenitz@gmx.net>
2691 * cursor.[Ch]: remove direct access to anchor
2693 * text.C: remove findText() hack
2695 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2697 * iterators.[Ch] (lockPath): remove in favour of...
2698 * BufferView.[Ch] (setCursor): this addition
2699 * BufferView.C (putSelectionAt): adjust
2700 * undo.C (performUndoOrRedo): adjust
2701 * lyxfunc.C (dispatch): adjust
2703 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2705 * iterators.C (lockPath): add a missing slice
2706 * undo.C (performUndoOrRedo): remove redundant positioning code
2708 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2710 * vc-backend.C (scanMaster): ";" -> ';'
2712 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2714 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2715 std::binary_function
2717 * lyxtextclass.C (compare_name): rename to...
2718 (LayoutNamesEqual): ...this
2720 * lyxlex_pimpl.C (compare_tags): inherit from
2721 std::binary_function, put back into anon namespace
2723 * lyxfind.C (MatchString): inherig from std::binary_function
2724 (findChange): use empty() istead of !size()
2726 * format.C (FormatNamesEqual): new functor
2733 * converter.C (compare_Converter): rename to...
2734 (ConverterEqual): ...this, and fixup a bit.
2735 (getConverter): use it, and make function const
2736 (getNumber): use it, and make function const
2740 * bufferlist.C: add using boost::bind
2742 * MenuBackend.C (MenuNamesEqual): new functor
2743 (hasMenu): use it, and make function const
2744 (hasSubmenu): use nested bind to get rid of compare_memfun.
2746 2004-01-30 André Pönitz <poenitz@gmx.net>
2748 * BufferView_pimpl.C:
2751 * cursor_slice.[Ch]:
2754 * paragraph_funcs.C:
2755 * paragraph_funcs.h:
2759 * text3.C: move some of the edit(x,y) handling to the insets
2760 some coordinate changes.
2762 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2764 * text.C: add using statements for std::advance and std::distance
2766 * paragraph.C: add using statement for std::distance
2768 * lyxfind.C: add using statement for std::advance
2770 * cursor.C (region): remove std:: from swap
2771 (openable): use nucleus in stead of operator->
2773 * BufferView.C: add using statements for std::distance and std::swap
2775 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2777 * iterators.C: Remove the pimple, move the needed structures to
2778 the header file. Create accessor for the positions stack.
2779 (asPosIterator): remove function
2781 * PosIterator.C (PosIterator): move constructors to top of file
2782 (PosIterator): reimplement the constructor taking a ParIterator in
2784 (setFrom): new function
2785 (operator!=): inline it
2787 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2789 * lyxfind.C (replaceAll): use std::advance
2791 * iterators.h: inherit from std::iterator.
2793 * PosIterator.C (advance, distance): remove
2794 * PosIterator.h: interit from std::iterator.
2796 2004-01-26 André Pönitz <poenitz@gmx.net>
2799 * BufferView_pimpl.[Ch]:
2803 * bufferview_funcs.C:
2813 * output_linuxdoc.C:
2814 * output_plaintext.C:
2816 * paragraph_funcs.[Ch]:
2817 * paragraph_pimpl.[Ch]:
2823 * text3.C: more IU: dumps most of the rest of the mathcursor
2824 implementation into cursor.[Ch]; "globalize" a bit of it.
2826 2004-01-25 Angus Leeming <leeming@lyx.org>
2828 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2830 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2832 * LaTeXFeatures.h: add nice_ and nice() const
2833 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2835 2004-01-20 André Pönitz <poenitz@gmx.net>
2838 * BufferView_pimpl.C:
2840 * bufferview_funcs.C:
2842 * cursor_slice.[Ch]:
2853 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2854 LCursor and mathcursor parts to LCursor and InsetBase.
2856 2004-01-15 André Pönitz <poenitz@gmx.net>
2858 * cursor_slice.[Ch]: add a few covienience functions
2860 * funcrequest.[Ch]: remove BufferView * member
2862 * BufferView_pimpl.C:
2869 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2871 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2873 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2874 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2876 2004-01-13 André Pönitz <poenitz@gmx.net>
2879 * lyxtext.h: hide cursor and selection anchor behind accessor function
2882 * BufferView_pimpl.[Ch]:
2884 * bufferview_funcs.C:
2894 * cursor_slice.[Ch]: some integer type changes for inset unification
2896 * lyxcursor.[hC]: remove, it's CursorSlice now.
2899 * BufferView_pimpl.[Ch]:
2900 * bufferview_funcs.C:
2906 * textcursor.[Ch]: adjust
2908 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2910 * text2.C (undoSpan): add and use
2911 * text.C (breakParagraph): use undoSpan (fix bug 578)
2914 2004-01-08 Angus Leeming <leeming@lyx.org>
2916 * BufferView_pimpl.C (MenuInsertLyXFile):
2917 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2918 * lyxfunc.C (menuNew, open, doImport):
2919 FileFilterList change to the FileDialog open and save functions.
2921 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2923 * ShareContainer.h: make isEqual and isUnique adaptable
2925 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2927 2004-01-07 Angus Leeming <leeming@lyx.org>
2930 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2932 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2934 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2935 functions replacing find, replace and replaceAll.
2937 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2938 LFUN_WORDFIND(FORWARD|BACKWARD).
2940 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2942 * text.C (breakParagraph): remove an outdated #warning
2944 2004-01-07 André Pönitz <poenitz@gmx.net>
2946 * lyxfind.C: somewhat clearer logic
2948 * text.C: prevent crash in cursorX on unitialized row cache
2950 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2952 * lyxcursor.[Ch] (operator>): add
2953 * textcursor.C (selStart, selEnd): use std::min and std::max
2955 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2957 * Chktex.C: include boost/format.hpp
2959 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2961 * InsetList.C: replace functor MathcIt with adaptable functor
2963 (insetIterator): modify accordingly
2965 * BranchList.h: move the BranchNamesEqual functor here from...
2966 * BranchList.C: ... to here
2968 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2970 (add): replace a finding loop with std::find_if.
2972 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2974 * output_docbook.C: moving LatexParam functionality into
2977 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2979 * buffer.C: increment format to 229.
2981 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2984 * lyx_sty.[Ch]: remove minipageindent_def
2990 * text3.C: remove LFUN_INSET_MINIPAGE
2992 2003-12-28 Angus Leeming <leeming@lyx.org>
2994 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2996 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2998 * text2.C (setParagraph): fix off-by-one crash
3000 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
3002 * output_docbook.C: header stuff for AGU
3004 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
3006 * text2.C (redoCursor): remove
3009 * BufferView_pimpl.C: remove calls to redoCursor and
3010 setCursor(cursor.par(), cursor.pos()) all around
3012 2003-12-15 Angus Leeming <leeming@lyx.org>
3014 * buffer.C: up the format to 228.
3016 2003-12-15 André Pönitz <poenitz@gmx.net>
3018 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
3023 * BufferView_pimpl.C:
3032 2003-12-15 Angus Leeming <leeming@lyx.org>
3034 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
3035 than getFromGUIName to manipulate the color.
3037 2003-12-14 Angus Leeming <leeming@lyx.org>
3039 * BranchList.[Ch]: minimize the API.
3040 (Branch::getBranch, getColor): now return a 'const &'.
3041 (Branch::setSelected) now returns a bool set to true if the
3042 selection status changes.
3043 (BranchList::clear, size, getColor, setColor, setSelected,
3044 allBranches, allSelected, separator): removed.
3045 (BranchList::find): new functions, returning the Branch with
3047 (BranchList::add, remove): return a bool indicating that
3048 the operation was successful.
3050 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
3051 new InsetBranch::isBranchSlected member function.
3053 * LColor.[Ch]: mimimize the API.
3054 (fill): renamed as addColor and made private.
3055 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
3056 versions of these functions taking a string arg have been removed.
3058 * bufferparams.C (readToken):
3059 * lyxfunc.C (dispatch):
3060 * lyxrc.C (read): changes due to the altered BranchList and
3063 * factory.C (createInset, readInset): changes due to altered
3066 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3069 * lyxfunc.C: remove insetminipage. "minipage-insert"
3070 now produces a frameless minipage box inset.
3072 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3074 * textcursor.[Ch] (selStart,selEnd): add new methods
3075 remove selection::start, end, use LyXCursor::operator<
3076 * lyxcursor.[Ch] (operator<): add
3077 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
3078 * BufferView.[Ch] (unsetXSel): add
3079 * text2.C (clearSelection): use unsetXSel,adjust
3082 * rowpainter.C: adjust
3083 * bufferview_funcs.C (put_selection_at): adjust
3085 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3087 * BufferView_pimpl.C: small coord. correction
3089 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
3091 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
3092 dragging over the splash screen.
3094 2003-12-11 Angus Leeming <leeming@lyx.org>
3096 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
3097 as it is now handled in LyXText::dispatch.
3099 * text3.C (doInsertInset): remove a level of nesting.
3101 2003-12-11 Angus Leeming <leeming@lyx.org>
3103 * factory.C (createInset): changes due to the changed interface to
3104 InsetCommandMailer::string2params.
3106 2003-12-10 Angus Leeming <leeming@lyx.org>
3108 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
3109 'dialog-show-new-inset <inset name>'
3111 2003-12-10 Angus Leeming <leeming@lyx.org>
3113 * buffer.C: up the format to 227.
3115 * factory.C: the box inset is now identified simply by 'Box'.
3117 2003-12-10 Angus Leeming <leeming@lyx.org>
3119 * buffer.C: up the format to 226.
3121 * factory.C: the note inset is now identified simply by 'Note'.
3123 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
3125 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
3126 when a pit is enough. Standarize a couple of loops.
3128 2003-12-05 Angus Leeming <leeming@lyx.org>
3130 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
3131 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
3132 data to the re-worked "log" dialog.
3134 2003-12-03 André Pönitz <poenitz@gmx.net>
3140 * paragraph_funcs.C:
3142 * text2.C: use Inset::getText instead of Inset::getParagraph
3144 2003-12-03 André Pönitz <poenitz@gmx.net>
3148 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
3149 InsetText::read() as LyXText::read()
3151 2003-12-02 Angus Leeming <leeming@lyx.org>
3153 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
3154 type. Add a comment in the implementation that the function uses
3155 the stream's bad() function rather than fail() as the std::streams
3158 2003-12-02 André Pönitz <poenitz@gmx.net>
3160 * lyxlex.[Ch]: make interface more similar to std::stream
3162 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
3164 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
3166 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
3168 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
3170 * vspace.[Ch]: remove VSpace::NONE
3172 2003-12-01 André Pönitz <poenitz@gmx.net>
3175 * lyxtext.h: move ParagraphList member to LyXText
3176 rename LyXText::ownerParagraphs to LyXText::paragraph
3179 * bufferview_funcs.C:
3189 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
3191 * undo.C: fix cursor positioning
3193 2003-12-01 John Levon <levon@movementarian.org>
3195 * BufferView_pimpl.C: fix a crash on exit with
3198 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
3200 * BranchList.C: fix setSelected() method.
3202 2003-11-28 André Pönitz <poenitz@gmx.net>
3204 * ParagraphParameters.[Ch]:
3205 * ParameterStruct.h: remove space above/below from Paragraph to
3208 * BufferView_pimpl.C:
3214 * paragraph_funcs.C:
3220 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
3222 * factory.C: Syntax change for CharStyles
3224 2003-11-28 André Pönitz <poenitz@gmx.net>
3229 * buffer.[Ch]: move LyXText member
3231 2003-11-28 André Pönitz <poenitz@gmx.net>
3233 * BufferView.[Ch]: make LyXText * text a private member
3235 * BufferView_pimpl.C:
3246 * output_plaintext.C: cleanup
3248 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3251 * lyxtextclass.[Ch]: parametrize SGML document header
3253 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
3256 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
3259 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
3261 * text2.C (setFont): rework using PosIterator (no more recursive)
3262 (setCharFont): no more needed
3263 (setLayout): no more selection cursors fiddling (done by redoCursor)
3264 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
3265 destroy remaining ones)
3267 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
3269 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
3271 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
3274 * text3.C: adjust + re-allow multi par depth changes
3275 * textcursor.C: simplify a bit
3277 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
3283 * src/output_docbook.C:
3284 * src/output_latex.C:
3289 * src/text2.C: Introducing a number of tags parametrizing various
3290 XML formats that we may want to support
3292 2003-11-25 André Pönitz <poenitz@gmx.net>
3294 * InsetList.[Ch] (begein, end): inline as suggested by profiler
3296 * lyxtext.h (leftMargin/rightMargin): simplify interface
3303 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3305 * lyxfunc.C (dispatch): propogate the bibtex databases from the
3306 master file to any child files. Fixes bug 546.
3308 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3310 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
3312 2003-11-24 André Pönitz <poenitz@gmx.net>
3314 * rowpainter.C: simplification
3316 * text2.C (updateCounters): remove call to redoParagraph on
3317 changed labels as this is far too expensive.
3319 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
3321 * converter.C (convert): fix a crash: this function gets
3322 called with buffer == 0 from importer code.
3324 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
3326 * text3.C (cursorPrevious): make sure that we do not compare
3327 iterators form different containers.
3330 * rowpainter.C (paintSelection): make sure that we do not compare
3331 iterators from different containers.
3333 * text3.C (dispatch): [PRIOR] make sure that we do not compare
3334 iterators from different ParagraphList containers.
3337 * text2.C (LyXText): change order of initialization slightly
3338 (operator=): new function. copy all variables except cache_par_
3339 (moveUp): make sure that we do not compare iterators from
3340 different ParagraphList constainers.
3343 * text.C (firstPar): new function
3344 (lastPar): new function
3345 (endPar): new function
3347 * lyxtext.h: move things around and group public functions, public
3348 variables, private functions, private variables
3350 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
3352 * factory.C: change call to InsetERT constructor to avoid
3353 additional invocation of method status
3354 * text2.C (toggleInset): remove redundant update() call
3355 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
3356 instead of a Bufferview pointer
3358 2003-11-21 André Pönitz <poenitz@gmx.net>
3360 * rowpainter.C: simplification
3362 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3364 * text3.C (dispatch): make possible to extend a word/row selection
3367 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
3369 * lyxtext.h: x0_,y0_ -> xo_,yo_
3370 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
3371 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
3372 * rowpainter.C (paintRows): paint full paragraphs
3374 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3376 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
3379 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
3381 * lyxtext.h: add x0_, y0_
3382 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
3383 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
3385 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
3387 * text2.C (setCursorIntern): move the x_target update here *
3388 * text3.C: change some bv() to true/false in calls to
3389 cursorUp/Down/Right/Left
3390 * cursor.C: use helper function.
3392 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3394 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
3395 * paragraph_funcs.[Ch]: correct comment
3396 * rowpainter.C: do not paint selections away from bv->cursor()
3397 Fix a long standing selection painting bug.
3398 * text3.C: generalize mouse-selection code to LyXTexts other that
3400 * textcursor.C: do not use y coords if we can use par offsets
3402 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
3404 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
3405 cursor position after e.g. inset insert)
3407 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
3409 * lyxfind.C (replace): adjust to locking removal + some
3412 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
3414 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
3417 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
3420 * output_docbook.C: XML sanitation: new layout
3421 parameters InnerTag and CommandDepth
3423 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
3425 * BufferView_pimpl.C:
3427 * text3.C: Fix the insertion and modification of button-style
3430 2003-11-13 André Pönitz <poenitz@gmx.net>
3432 * InsetList.[Ch]: remove deleteLyXText
3434 * paragraph.[Ch]: cache beginOfBody position
3439 * text3.C: remove superfluous update() calls
3443 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
3445 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3446 * BufferView.C (fitLockedInsetCursor): remove
3447 * cursor.[Ch] (getDim): add
3448 * text.C (getRowNearY): add faster version
3449 * text3.C: remove some update calls
3451 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
3463 * text3.C: The Character Style /XML short element patch.
3465 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
3468 * factory.C: Small step to solving 'unable to insert some insets'
3471 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
3473 * cursor.[Ch] (updatePos): new function for updating the y
3474 position of the tip inset
3475 * bufferview_funcs.C (put_selection_at):
3476 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3478 2003-11-11 André Pönitz <poenitz@gmx.net>
3480 * text.C: remove big comment on invalid Paragraph pointers as it is
3483 2003-11-11 André Pönitz <poenitz@gmx.net>
3485 * text_funcs.[Ch]: merge with ...
3493 * Makefile.am: remove text_funcs.[Ch]
3495 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
3497 * cursor.C (getPos): return absolute cached y coord
3499 * BufferView_pimpl.C (fitCursor): new simplistic code
3500 (workAreaDispatch): add a fitCursor call
3502 2003-11-10 André Pönitz <poenitz@gmx.net>
3505 * BufferView_pimpl.[Ch]: merge update() and updateInset()
3507 2003-11-10 André Pönitz <poenitz@gmx.net>
3509 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3510 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3511 indicate that the cursor needs to leave an inset
3513 * lyxtext.h: remove inset locking
3515 * cursor.[Ch]: re-implement functionality provided by inset locking
3518 * BufferView_pimpl.[Ch]:
3520 * bufferview_funcs.[Ch]:
3532 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
3534 * PosIterator.[Ch]: replace the stack with a vector, add inset
3536 * iterators.[C]: adjust
3538 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3540 * lyxfind.C (replaceAll): mark the buffer dirty if something was
3542 * paragraph_funcs.C (readParToken): put the correct id in the
3543 error item, not the id of the top paragraph
3545 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
3547 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3548 * bufferview_funcs.C (put_selection_at): use the above
3550 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3552 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3554 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3556 * output_linuxdoc.h:
3557 * output_plaintext.h:
3559 * output_docbook.h: add #include statements
3561 2003-11-05 José Matos <jamatos@lyx.org>
3563 * output_docbook.[Ch]:
3564 * output_latex.[Ch]:
3565 * output_linuxdoc.[Ch]:
3566 * output_plaintext.[Ch]: New files for output formats.
3567 * output.[Ch]: New file for helper functions.
3570 * paragraph_funcs.[Ch]: output functions moved to new files.
3572 * outputparams.h: rename of latexrunparams.h
3580 * paragraph_funcs.[Ch]:
3581 * paragraph_pimpl.[Ch]:
3582 * tabular.[Ch]: rename ascii to plaintext
3583 and LatexRunParams to OutputParams.
3585 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3587 * iterators.[Ch] (text): require bv argument
3588 * undo.C (recordUndo):
3589 * lyxfunc.C (dispatch):
3590 * bufferview_funcs.C (put_selection_at): adjust
3592 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
3594 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3596 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
3598 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3601 2003-11-04 André Pönitz <poenitz@gmx.net>
3603 * cursor.[Ch]: restructure
3606 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3608 * iterators.[Ch] (asCursor): remove
3610 * lfuns.h: remove LFUN_INSET_EDIT
3616 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3618 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3620 * lyxfind.[Ch]: complete overhaul
3621 * BufferView_pimpl.C:
3623 * paragraph.[Ch] (insert): add
3625 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3629 * text.C: remove dead spellcheck code
3631 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3633 * dispatchresult.h: add a val setter
3635 * cursor.C (dispatch): use a tempvar for data_[i]
3637 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3639 * PosIterator.[Ch]: compile fix
3641 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
3643 * text.C (cursorPar): deactivate the cursor cache
3645 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3647 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3649 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3651 * text3.C (dispatch): adjust for new DisptchResult semantics.
3653 * lyxfunc.C (dispatch): handle update when return from
3654 Cursor::dispatch, adjust for new DispatchResult semantics.
3656 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3657 DispatchResult(true) mean to not update. Add class functions for
3658 setting dispatched and update, as well as reading.
3660 * cursor.C (dispatch): don't handle update here
3662 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3664 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3665 * trans_mgr.C: adjust
3667 * paragraph_funcs.C (readParToken): exception safety
3669 * lyxvc.h: store the vcs pointer in a scoped_ptr
3672 * lyxsocket.C (serverCallback): exception safety
3674 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3676 * ispell.C (clone): make it return a auto_ptr
3678 * factory.C (createInset): exception safety
3679 (readInset): exception safety
3681 * bufferlist.C (newBuffer): exception safety
3683 * Thesaurus.C (Thesaurus): use initialization for aik_
3685 * MenuBackend.C (expandToc): exception safety.
3687 2003-11-03 André Pönitz <poenitz@gmx.net>
3691 * bufferview_funcs.C: remove getInsetFromId()
3694 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3700 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3702 * PosIterator.C (distance, advance): new
3703 * bufferview_funcs.[Ch] (put_selection_at): new
3704 * iterators.[Ch] (lockPath): new
3706 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3708 * iterators.[Ch] (asPosIterator): added
3709 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3710 * PosIterator.[Ch]: added
3712 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3716 * cursor.C (dispatch):
3717 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3719 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3720 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3721 contructor, add a class function dispatched. Remove operator>=
3723 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3725 * debug.C: only use the default constructor for debugstream
3728 * main.C (main): include debug.h and setup the lyxerr streambuf
3731 2003-10-31 José Matos <jamatos@lyx.org>
3733 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3735 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3736 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3737 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3738 * paragraph_pimpl.C (simpleTeXSpecialC):
3739 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3740 add LatexRunParams argument.
3742 * exporter.C (Export): change call accordingly.
3744 * latexrunparams.h: add new member to take care of the other backends.
3745 2003-10-30 José Matos <jamatos@lyx.org>
3747 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3748 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3749 factorise code for paragraph output.
3751 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3754 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3756 * text3.C (dispatch):
3757 * lyxfunc.C (dispatch):
3758 * cursor.C (dispatch):
3759 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3761 * dispatchresult.h: make the dispatch_result_t ctor explicit
3763 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3766 * buffer.C: small refactoring of docbook stuff
3768 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3770 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3773 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3775 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3776 operator dispatch_result_t, and operators for == != and >=
3778 * cursor.C (dispatch): adjust for operator dispatch_result_t
3779 removal. comment out call to update
3781 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3783 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3791 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3794 * dispatchresult.h: new file, DispatchResult broken out of
3797 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3799 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3801 * text.C (rowBreakPoint): put a hack inside #if 0
3803 2003-10-28 André Pönitz <poenitz@gmx.net>
3807 * paragraph_funcs.C:
3810 * text2.C: general cleanup (lots of small stuff)
3812 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3814 * text2.C (cursorEnd): simple fix to the "end key goes to one
3815 before the end on last row" bug
3817 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3819 * text.C (backspace): fix the "zombie characters"
3821 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3823 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3825 2003-10-27 André Pönitz <poenitz@gmx.net>
3827 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3829 * factory.C: handle new InsetPagebreak, InsetLine
3831 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3832 and move handling into new InsetPagebreak, InsetLine
3834 * BufferView_pimpl.C:
3836 * ParagraphParameters.C:
3837 * ParameterStruct.h:
3842 * paragraph_funcs.C:
3843 * paragraph_pimpl.C:
3849 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3852 * lyxrow_funcs.[Ch]:
3858 * text3.C: remove lastPos uses in favour of Row::endpos
3860 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3862 * undo.C (performUndoOrRedo): fix two crashes by setting a
3863 cursor by hand and reordering some calls. Use bv->lockInset instead
3864 of inset->edit because the latter loses cursor information
3866 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3868 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3870 (rowBreakPoint): fix width. change point to point + 1.
3871 Add a missing check.
3873 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3876 * lyxfunc.C: fix (at least partly) the problems
3877 with the Nav menu and headers inside branch insets
3880 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3882 * paragraph.C (getChar): add strong asserts
3884 * lyxrow_funcs.C (lastPos): remove hideous hack
3886 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3887 (fill): adjust to that (avoid an infinite loop)
3889 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3891 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3893 2003-10-23 André Pönitz <poenitz@gmx.net>
3895 * RowList_fwd.h: change list<> to vector<> to gain speed
3896 after suggestion from Alfredo
3898 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3900 * lyxtext.h: move the bidi stuff from here...
3903 * Bidi.[Ch]: ... to here
3905 2003-10-23 André Pönitz <poenitz@gmx.net>
3908 * text.C (isLastRow, isFirstRow): new functions
3910 * paragraph.h: new width cache member
3912 * rowpainter.C: replace RowList::iterator with Row & where possible
3914 * lyxfunc.C: replace several view()->text with a single call
3916 * toc.C: fix 'unused' warning
3918 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3920 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3921 when woring with stream::pos_type
3922 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3924 2003-10-22 André Pönitz <poenitz@gmx.net>
3927 * text.C: use Row & instead of RowList::iterator
3929 * lyxrow.h: rename end() to endpos()
3935 2003-10-22 Angus Leeming <leeming@lyx.org>
3937 * buffer.[Ch] (fully_loaded): new member function, returning true
3938 only when the file has been loaded fully.
3939 Used to prevent the premature generation of previews and by the
3940 citation inset to prevent computation of the natbib-style label.
3942 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3943 templates are all set up.
3945 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3947 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3949 * text.C: fixed an "oops" in the "is a bit silly"
3952 2003-10-21 André Pönitz <poenitz@gmx.net>
3954 * FuncStatus.[Ch]: small stuff, whitespace
3956 * lyxfont.[Ch]: operator<<() for debug reasons
3960 * lyxtext.h: whitespace, spelling
3962 * paragraph.C: naming of variables
3965 * text2.C: small stuff
3968 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3970 * text.C: (1) finish off the inset display() work;
3971 (2) fix the "is a bit silly" bug (accessing char
3974 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3976 * text.C: re-introduce display() for insets, fixing the
3977 various bugs (stretch of line above, math inset
3980 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3982 * text.C (rightMargin): remove spurious semicolon
3984 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3987 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3989 * text3.C: fix one crash due to wrong cursor def
3991 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3993 * vc-backend.C (scanMaster): make the regex static
3995 * LaTeX.C (scanAuxFile): make the regexs static
3997 * text3.C (doInsertInset, dispatch, dispatch):
3998 * text2.C (cursorUp, cursorDown):
3999 * text.C (selectNextWordToSpellcheck):
4000 * BufferView_pimpl.C (dispatch):
4001 * lyxfunc.C (dispatch): localDispatch -> dispatch
4003 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4005 * lyxsocket.C: include <cerrno>
4007 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
4009 * lyxfunc.C (dispatch): remove textcache stuff
4011 * bufferlist.C (release): remove textcache stuff
4014 * TextCache.C: delete file
4015 * TextCache.h: delete file
4017 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
4019 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
4020 delete of the bv_->text.
4021 (resizeCurrentBuffer): remove texcache stuff
4022 (workAreaResize): ditto
4024 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4026 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4029 2003-10-16 André Pönitz <poenitz@gmx.net>
4036 * text3.C: speed up by storing y positions per paragraph plus per-row
4037 offset instead of having a 'full' y position in the row.
4039 2003-10-15 André Pönitz <poenitz@gmx.net>
4043 * undo.[Ch]: make undo aware of inner insets
4045 2003-10-14 Angus Leeming <leeming@lyx.org>
4047 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
4048 static member functions LyX::ref() and LyX::cref.
4049 (lastfiles): new accessor functions for the new lastfiles_ member var.
4050 (addLyXView, views_): add a new LyXView to the list of views_.
4051 (updateInset): loop over all LyXViews to call their own updateInset
4052 member function, returning a pointer to the Buffer owning the inset.
4054 * BufferView_pimpl.C (loadLyXFile):
4055 * MenuBackend.C (expandLastfiles):
4056 * bufferlist.C (MenuWrite, QuitLyX):
4057 lastfiles is no longer a global variable.
4058 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
4060 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
4061 static function. Access through LyX::cref().emergencyCleanup().
4063 2003-10-14 André Pönitz <poenitz@gmx.net>
4065 * iterators.[Ch]: new direct access to innermost LyXText and Inset
4067 * undo.[Ch]: restoring part of 'undo in insets'
4070 * undo_funcs.[Ch]: merge with undo.[Ch]
4072 * tabular.C: small cleansing stuff
4074 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
4076 * paragraph_funcs.C (readParToken): report unknown insets as error
4077 boxes. Use the outer paragraph as location (also for unknown
4080 * factory.C (readInset): do not abort on reading an unknown inset.
4081 Eat it and return 0.
4083 2003-10-13 Angus Leeming <leeming@lyx.org>
4085 * lyx_main.C (LyX): remove call to setDisplayTranslator().
4087 * lyxrc.C: displayTranslator is now a function,
4088 declared in GraphicsTypes.h.
4090 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4092 * format.C: new placeholder $$a to pass the socket address.
4094 * bufferlist.[Ch]: new function getBufferFromTmp.
4096 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
4097 files in the temporary dir.
4099 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
4101 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4103 * Makefile.am: add lyxsocket.[Ch].
4105 * lyx_main.C (error_handler): handle SIGPIPE.
4107 2003-10-13 André Pönitz <poenitz@gmx.net>
4109 * BufferView_pimpl.C:
4114 * undo_funcs.[Ch]: use paroffset_type instead of
4115 ParagraphList::iterators to prevent multiple conversion
4116 (and get a more robust interface)
4118 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4120 * lyxfunc.C (dispatch): RESULT -> dispatch_result
4122 * text3.C (dispatch): ditto
4124 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4126 * LaTeX.C (handleFoundFile): move the static to smaller scope,
4127 move the onlyfile, use onlyfile instead of foundfile in a couple
4130 * DepTable.C (update): flush the error stream a bit more
4132 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
4134 * lyxserver.C (callback): adjust
4136 * lyxfunc.C (getStatus): add a missing brace in commented code
4137 (ensureBufferClean): reindent
4138 (dispatch): delete version taking a string
4140 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4142 * LaTeX.C (deplog): move found file handlig from here...
4143 (handleFoundFile): .. to new function here.
4144 (deplog): make sure to discover several files mentioned on the
4147 2003-10-10 André Pönitz <poenitz@gmx.net>
4154 * text3.C: fix some of the tabular crashes
4156 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4158 * MenuBackend.C (binding): put debug message into Debug::KBMAP
4160 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
4162 2003-10-09 André Pönitz <poenitz@gmx.net>
4164 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
4167 * BufferView_pimpl.C:
4168 * bufferview_funcs.C:
4179 * undo_funcs.C: adjust
4181 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
4183 * text2.C (incrementItemDepth): new function, use a backtracking
4184 algorithm to discover the correct item depth.
4185 (resetEnumCounterIfNeeded): new function, use a backtracking
4186 algorithm to discover if counter reset is needed.
4187 (setCounter): use them. Simplify a bit. Add different labels for
4188 different item depths for itemize.
4190 * paragraph.C (Paragraph): remove initialization of enumdepth
4193 * paragraph.h: get rid of enumdepth, and use itemdepth both for
4194 enumerate and itemize. Change the type of itemdepth to signed char.
4196 2003-10-08 André Pönitz <poenitz@gmx.net>
4198 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
4203 * tabular.[Ch]: fix crash after 'row-insert'
4205 2003-10-08 Angus Leeming <leeming@lyx.org>
4207 Fix doxygen warnings.
4209 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
4210 Remove CutAndPaste:: prefix from header file declaration.
4212 * LColor.h (fill): remove LColor:: prefix from declaration.
4214 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
4215 use lyx::depth_type rather than Paragraph::depth_type so that
4216 header file and .C file match.
4218 * converter.h (intToFormat): remove Converters:: prefix from declaration.
4220 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
4221 * aspell.C: \file aspell_local.C -> \file aspell.C
4222 * gettext.C: \file gettext.C -> \file src/gettext.C
4223 * gettext.h: \file gettext.h -> \file src/gettext.h
4224 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
4225 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
4226 * text.C: \file text.C -> \file src/text.C
4228 * toc.C: move comment so that doxygen is not confused.
4230 2003-10-07 Angus Leeming <leeming@lyx.org>
4232 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
4234 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
4237 * aspell_local.h: add forgotten std::string's.
4239 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4246 * text3.C: The Box patch. Fancybox support, minipage, parbox
4248 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
4254 * ParagraphParameters.h:
4264 * lyxtextclasslist.h:
4267 * paragraph_pimpl.C:
4268 * textcursor.h: add <string> and other small fixes to make Lars'
4269 std::string patch compile with STLport.
4271 2003-10-06 Angus Leeming <leeming@lyx.org>
4273 * LColor.h: Add missing #include <string>.
4275 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
4277 * All most all file in all subdirs: Make <string> be the prefered
4278 way of getting to std::string, add using declarations.
4280 2003-10-06 André Pönitz <poenitz@gmx.net>
4282 * metricsinfo.C: initialize LyXFont before changing attribute.
4283 (fixes the 'math in \emph is upright' bug)
4285 2003-10-06 André Pönitz <poenitz@gmx.net>
4287 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
4289 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
4292 * paragraph_pimpl.C: Small fixes to build using STLport
4294 2003-10-02 André Pönitz <poenitz@gmx.net>
4297 * text3.C: move handling of LFUN_DEPTH *; fix #1360
4299 2003-10-01 André Pönitz <poenitz@gmx.net>
4301 * factory.C: assert early
4303 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
4305 * lyx_main.C: remove the global debug object
4307 * debug.h: adjust for new debugstream
4309 * debug.C: adjust for new debugstream and keep the global debug
4312 2003-09-22 Angus Leeming <leeming@lyx.org>
4314 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
4315 of g++ which otherwise complain that the scoped_ptr destructor can't delete
4316 an incomplete class LyXFont.
4318 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
4320 * factory.C: bug fix in branches
4322 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
4324 * lyxfunc.C (processKeySym): adjust
4326 (dispatch): change arg name from ev to func, adjust
4327 (sendDispatchMessage): ditto
4329 * lyx_main.C (defaultKeyBindings): adjust keybindings
4330 (deadKeyBindings): ditto
4332 * kbsequence.C (addkey): return a FuncRequest
4334 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
4336 * kbmap.C (bind): take a FuncRequest as arg, adjust
4339 (defkey): change to take a FuncRequest as arg, adjust
4340 (findbinding): take a FuncRequest as arg, adjust.
4342 * funcrequest.h (operator=): added
4344 * funcrequest.C (FuncRequest): default kb_action changed from
4345 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
4347 * buffer.C (dispatch): simplify
4348 (dispatch): adjust to take a FuncRequest as arg, adjust
4350 * boost.C (assertion_failed): change assertion message slightly
4352 * ToolbarBackend.C (read): simplify
4354 * MenuBackend.C (binding): adjust call to findbinding, add a
4355 message if no binding is found.
4357 (expandToc): correct by adding a empty FuncRequest
4359 * LyXAction.C: include <boost/assert.hpp>
4360 (isPseudoAction): delete function
4361 (LookupFunc): change name to...
4362 (lookupFunc): this. change return type to FuncRequest.
4363 (getActionName): take kb_action as arg, simplify
4364 (funcHasFlag): add an assert, simplify.
4366 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
4368 * toc.C (action): return a FuncRequest, simplify
4370 * lyxfunc.C (processKeySym): adjust
4371 (getStatus): delete version that takes an int.
4373 (dispatch): delete version that takes action as int
4375 (sendDispatchMessage): simplify and adjust
4377 * funcrequest.C (getArg): take unsigned int as arg
4379 * ToolbarBackend.C (read): adjust
4380 (add): delete version that takes func as a string.
4381 (getIton): take a FuncRequest as arg
4383 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
4386 * MenuBackend.C (MenuItem): add a new construct that only takes a
4387 Kind, simplify the constructor use for submenus.
4389 (expandLastfiles): adjust
4390 (expandDocuments): adjust
4391 (expandFormats): adjust
4392 (expandFloatListInsert): adjust
4393 (expandFloatInsert): adjust
4394 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
4396 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
4397 Remove class variables lyx_pseudo_map and lyx_arg_map
4399 * LyXAction.C (searchActionArg): delete function
4400 (getPseudoAction): delete function
4401 (retrieveActionArg): delete function
4402 (LookupFunc): make it return kb_action, simplify.
4403 (getActionName): simplify
4405 * factory.C (createInset): fix new bug
4407 2003-09-19 Angus Leeming <leeming@lyx.org>
4409 * CutAndPaste.C (pasteSelection): remove fudge used to set the
4410 masterFilename_ parameter in the include inset.
4412 * factory.C (createInset): changes due to the changes to InsetInclude.
4414 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4416 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4418 2003-09-18 Angus Leeming <leeming@lyx.org>
4421 * BufferView.C: pass the buffer when calling Inset::getLabelList,
4422 Inset::fillWithBibKeys.
4423 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4425 2003-09-18 Angus Leeming <leeming@lyx.org>
4427 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4429 (ctor): pass and store a 'Buffer const &'
4430 (buffer): new member function.
4432 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4433 '*this' to the LaTeXFeatures ctor.
4435 2003-09-18 Angus Leeming <leeming@lyx.org>
4441 * text.C: rename EnumLColor as LColor_color.
4443 2003-09-18 Angus Leeming <leeming@lyx.org>
4445 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4446 remove #include "insets/insetbase.h" from cursor.h.
4448 2003-09-18 Angus Leeming <leeming@lyx.org>
4450 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4451 InsetOld_code to remove #include "inset.h".
4453 * iterators.C: add #include "insets/inset.h"
4455 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
4457 * BufferView.C: remove more locking stuff that apparently doesn't
4458 do anything sensible.
4460 2003-09-16 André Pönitz <poenitz@gmx.net>
4463 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4466 2003-09-16 Angus Leeming <leeming@lyx.org>
4468 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4470 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4473 * paragraph.h: remove #include "lyxfont.h". Forward declare
4476 2003-09-16 Angus Leeming <leeming@lyx.org>
4478 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4479 of support/textutils.h.
4480 (isWord): move the contents of support/textutils.h's IsWordChar here.
4486 * text2.C: add #include "paragraph.h".
4489 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4491 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
4497 * LaTeX.C: use namespace alias for lyx::support::os
4499 2003-09-16 Angus Leeming <leeming@lyx.org>
4502 * bufferview_funcs.C:
4505 * paragraph_pimpl.C:
4507 * text.C: add #include "LColor.h".
4509 2003-09-16 Angus Leeming <leeming@lyx.org>
4511 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4512 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4514 Store the FontBits::color variable as an int rather than as an
4515 LColor::colorso that we can move LColor.h out of the lyxfont.h header
4518 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4519 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4520 string calls together.
4522 * lyxrc.C: add #include "LColor.h".
4524 2003-09-15 Angus Leeming <leeming@lyx.org>
4526 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4529 2003-09-15 Angus Leeming <leeming@lyx.org>
4531 * LColor.h: add an EnumLColor wrapper for LColor::color.
4533 * lyxfont.[Ch] (color, setColor, realColor):
4534 * lyxtext.h, text.C (backgroundColor):
4535 pass EnumLColor args to/from the functions, rather than LColor::color
4539 * lyxtext.h: forward declare EnumLColor.
4541 * lyx_main.C: add #include "LColor.h".
4543 2003-09-15 Angus Leeming <leeming@lyx.org>
4545 * .cvsignore: add lyx-gtk.
4547 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
4552 * ParagraphParameters.C
4556 * bufferview_funcs.C
4566 * vc-backend.C: remove usage of STRCONV
4568 2003-09-15 Angus Leeming <leeming@lyx.org>
4570 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4571 explicitly define the color passed to the painter.
4573 2003-09-15 Angus Leeming <leeming@lyx.org>
4575 * bufferparams.C (BufferParams): reorder member initializers to avoid
4578 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
4580 * CutAndPaste.C (pasteSelection): remove an outdated #warning
4581 * text.C (updateRowPositions): remove an unusual nop
4583 2003-09-12 André Pönitz <poenitz@gmx.net>
4585 * BufferView_pimpl.C:
4594 * Counters.[Ch]: finish the 'automatic counters' job
4596 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4598 * aspell.C: include <boost/assert.cpp> (compile fix)
4600 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
4602 * boost.C (assertion_failed): use lyx::support::abort instead of
4605 2003-09-10 Angus Leeming <leeming@lyx.org>
4607 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4608 with their _fwd progeny.
4610 2003-09-09 Angus Leeming <leeming@lyx.org>
4612 134 files throughtout the source tree: replace 'using namespace abc;'
4613 directives with the appropriate 'using abc::xyz;' declarations.
4615 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
4617 * boost.C (emergencyCleanup): moved here from LAssert.c
4618 (assertion_failed): new function, called by BOOST_ASSERT
4620 * several files: change Assert to BOOST_ASSERT
4622 2003-09-09 Angus Leeming <leeming@lyx.org>
4624 * buffer.[Ch]: Add an Impl class and move Buffer's member
4625 variables into it. As a result move several header files out of
4628 Add header files to lots of .C files all over the tree as a result.
4630 2003-09-09 Angus Leeming <leeming@lyx.org>
4632 * buffer.[Ch]: make Buffer's member variables private. Add
4635 Lots of changes all over the tree as a result.
4637 2003-09-08 Angus Leeming <leeming@lyx.org>
4639 * graph.C: #include <config.h>.
4641 2003-09-08 Angus Leeming <leeming@lyx.org>
4645 * BufferView_pimpl.C:
4674 * toc.C: remove redundant using directives.
4676 2003-09-07 Angus Leeming <leeming@lyx.org>
4678 * LaTeXFeatures.h: remove #include "support/types.h".
4679 * ToolbarBackend.h: remove #include <algorithm>.
4680 * changes.h: remove #include <ctime>.
4681 * debug.h: remove #include <iosfwd>.
4682 * graph.h: remove #include "support/std_string.h".
4683 * lyx_main.h: remove #include <csignal>.
4684 * lyxlex_pimpl.h: remove #include <fstream>.
4685 * sgml.h: remove #include <algorithm>, <utility>.
4686 * toc.h: remove #include "support/std_ostream.h".
4687 Add #include <iosfwd>.
4689 2003-09-07 Angus Leeming <leeming@lyx.org>
4691 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4693 * converter.h: forward declare LatexRunParams.
4694 * encoding.h: remove #include "lyxrc.h".
4695 * lyxtext.h: remove #include "LColor.h".
4696 * lyxtextclass.h: remove #include "support/types.h".
4697 * trans.h: remove #include "tex-accent.h".
4698 * trans_mgr.h: remove #include "tex-accent.h".
4699 * insets/inset.h: remove #include "support/types.h", <vector>.
4700 * insets/insetcollapsable.h: remove #include "LColor.h".
4701 * insets/insetinclude.h: remove #include "dimension.h".
4702 * insets/insetlatexaccent.h: remove #include "dimension.h".
4703 * insets/insetoptarg.h:: remove #include "insettext.h".
4704 * insets/insettext.h: remove #include "dimension.h",
4705 <boost/shared_ptr.hpp>
4707 * insets/renderers.h: add #include "dimension.h".
4708 * insets/updatableinset.h: add #include "support/types.h".
4710 * many .C files: Associated changes.
4712 2003-09-06 Angus Leeming <leeming@lyx.org>
4714 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4715 one, inside testInvariant.
4717 * PrinterParams.C: new file.
4718 * PrinterParams.[Ch]: move the function bodies out of line.
4720 2003-09-06 Angus Leeming <leeming@lyx.org>
4722 * ParagraphParameters.h: forward declare ParameterStruct rather than
4723 including its header file.
4724 (depth): moved out-of-line.
4726 2003-09-06 Angus Leeming <leeming@lyx.org>
4728 * BufferView_pimpl.h:
4731 * lyxfunc.h: forward declare LyXKeySym rather than
4732 #include "frontends/LyXKeySym.h".
4734 * BufferView_pimpl.C:
4737 * lyxfunc.C: associated changes.
4739 2003-09-06 Angus Leeming <leeming@lyx.org>
4741 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4742 As a result, can remove the #include "insets/inset.h" from BufferView.h
4744 2003-09-06 Angus Leeming <leeming@lyx.org>
4746 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4747 As a result, can remove the #include "insets/inset.h" from BufferView.h
4749 2003-09-06 Angus Leeming <leeming@lyx.org>
4755 * bufferview_funcs.C:
4756 * BufferView_pimpl.C:
4761 * ParagraphParameters.C:
4766 * frontends/controllers/ControlDocument.C:
4767 * insets/insetcaption.C: rearrange the #includes into some sort of
4770 * buffer.h: remove #includes ErrorList.h, undo.h
4772 2003-09-06 Angus Leeming <leeming@lyx.org>
4774 * support/types.h: add a 'depth_type' typedef, used to store the
4775 nesting depth of a paragraph.
4778 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4779 defining explicitly.
4782 * paragraph_funcs.h:
4783 * ParagraphParameters.h:
4784 * sgml.h: use lyx::depth_type rather than Paragraph or
4785 ParameterStruct's depth_type.
4788 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4791 * BufferView_pimpl.C:
4793 * ParagraphParameters.C:
4796 * bufferview_funcs.C:
4803 * frontends/LyXView.C:
4804 * frontends/controllers/ControlDocument.C:
4805 * frontends/controllers/ControlErrorList.C:
4806 * insets/insetbibitem.C:
4807 * insets/insetbranch.C:
4808 * insets/insetcaption.C:
4809 * insets/insetcollapsable.C:
4810 * insets/insetenv.C:
4811 * insets/insetert.C:
4812 * insets/insetfloat.C:
4813 * insets/insetfoot.C:
4814 * insets/insetfootlike.C:
4815 * insets/insetnewline.C:
4816 * insets/insetquotes.C:
4817 * insets/insettabular.C:
4818 * insets/insettext.C:
4819 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4821 * frontends/controllers/ControlChanges.C: #include "changes.h".
4823 2003-09-06 Angus Leeming <leeming@lyx.org>
4825 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4826 than #including paragraph.h.
4829 * RowList.h: deleted. Superfluous.
4839 * insets/insettext.h: use ParagraphList_fwd.h rather than
4842 * paragraph.h: don't forward declare ParagraphList.
4845 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4846 rather than ParagraphList.h. paragraph.h is still needed for the
4847 Paragraph::depth_type parameters.
4849 * textcursor.h: enable it to compile stand-alone in light of the
4852 * bufferview_funcs.C:
4864 * frontends/controllers/ControlParagraph.C:
4865 * frontends/controllers/ControlTabular.C:
4866 * insets/insetmarginal.C:
4867 * insets/insetminipage.C:
4868 * insets/insetnote.C:
4869 * insets/insetoptarg.C: add header files needed to compile again.
4871 2003-09-06 Angus Leeming <leeming@lyx.org>
4873 * RowList_fwd.h: new file, forward-declaring Row rather than
4874 #including lyxrow.h.
4879 * insets/insettext.h: use it instead of RowList.h
4881 * bufferview_funcs.C:
4888 * text3.C: #include "RowList.h".
4890 2003-09-05 Angus Leeming <leeming@lyx.org>
4892 * factory.C (createInset):
4893 * vspace.C (c-tor): replace sscanf call with an istringstream.
4894 * ispell.C: re-add missing HP/UX headers.
4895 * lyxserver.C: re-add missing os2 headers.
4897 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4906 * text3.C: re-add missing system headers, needed for 2.95.2.
4908 2003-09-05 Angus Leeming <leeming@lyx.org>
4910 Changes most place everywhere due to the removal of using directives
4911 from support/std_sstream.h.
4913 2003-09-05 Angus Leeming <leeming@lyx.org>
4915 Replace LString.h with support/std_string.h,
4916 Lsstream.h with support/std_sstream.h,
4917 support/LIstream.h with support/std_istream.h,
4918 support/LOstream.h with support/std_ostream.h.
4920 Changes resulting throughout the tree.
4922 2003-09-05 Angus Leeming <leeming@lyx.org>
4924 * sgml.h: ensure that the header file can be compiled stand-alone.
4925 * *.C: strip out redundant #includes. (320 in total.)
4927 2003-09-04 Angus Leeming <leeming@lyx.org>
4929 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4930 here (from getPackages).
4932 * debug.[Ch]: add a new EXTERNAL tag.
4934 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4936 * text2.C (cursorEnd): simplify
4938 (getColumnNearX): adjust
4940 * text.C (computeBidiTables): adjust
4943 * rowpainter.C (paintChars): adjust
4944 (paintSelection): adjust
4945 (paintChangeBar): adjust
4948 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4950 (numberOfSeparators): adjust
4952 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4958 * text3.C: Restricts the mouse click functionality
4959 of insets like bibtex, include, toc and floatlist to the visible
4960 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4961 up the dialogs. Cursor has to be in front of the inset (i.e.
4962 start of row) for this to function.
4964 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4966 * bufferview_funcs.C (currentState): output row information
4968 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4970 * bufferview_funcs.C (currentState): output paragraph position
4972 2003-09-04 Angus Leeming <leeming@lyx.org>
4974 * FloatList.h: move out #include "Floating.h".
4975 * LaTeX.h: move out #include "DepTable.h".
4976 * LyXAction.h: move out #include "funcrequest.h".
4977 * buffer.h: move out #include "author.h", "iterators.h".
4978 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4979 * lyx_main.h: move out #include "errorlist.h".
4980 * lyxfunc.h: move out #include "FuncStatus.h".
4981 * lyxtext: move out #include "lyxcursor.h".
4982 * paragraph_pimpl.h: move out #include "counters.h".
4984 2003-09-03 Angus Leeming <leeming@lyx.org>
4986 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4987 preamble_snippets list, enabling us to add snippets to the preamble
4988 only if the snippet was not there already.
4990 2003-09-04 Angus Leeming <leeming@lyx.org>
4992 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4994 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4996 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4999 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
5001 * BranchList.C: point fix, earlier forgotten
5003 2003-09-02 Angus Leeming <leeming@lyx.org>
5005 * box.C (contains): renamed from 'contained' after a fantastic
5008 2003-09-02 John Levon <levon@movementarian.org>
5014 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
5016 2003-09-02 John Levon <levon@movementarian.org>
5018 * text2.C: simplification of cursorEnd(), including partial
5021 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5023 * buffer.C (readFile): add a space
5025 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
5027 * BufferView_pimpl.C (update): remove bogus fitCursor() call
5029 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5031 * buffer.C (readFile): new function, take a filename and a
5032 ParagraphList::iterator
5034 (readFile): adjust, make it private. don't use setStream, make
5035 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
5036 always contain the filename.
5038 * BufferView.C (insertLyXFile): simplify and make it work for
5041 2003-08-30 John Levon <levon@movementarian.org>
5043 * Makefile.am: fix dist (from Kayvan)
5045 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5047 * most files: change to use const Buffer refs
5049 2003-08-27 André Pönitz <poenitz@gmx.net>
5051 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
5052 on top of ownerPar().
5054 2003-08-27 John Levon <levon@movementarian.org>
5056 * funcrequest.C: properly initialise POD members
5058 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5060 * lyxtext.h (top_y): move top_y from here
5065 * BufferView_pimpl.[Ch]: to here
5066 * frontends/screen.C:
5067 * insets/insettabular.C:
5068 * insets/insettext.C: adjust
5069 * rowpainter.[Ch] (paintRows): remove LyXText & argument
5071 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
5074 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
5076 2003-08-26 André Pönitz <poenitz@gmx.net>
5078 * paragraph_func.[Ch] (outerPar): new function
5081 * paragraph_funcs.C:
5082 * paragraph_funcs.h:
5083 * paragraph_pimpl.C:
5084 * text2.C: remove Inset::par_owner
5086 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
5091 * text2.C: eliminates the needFullRow/display() stuff
5092 altogether, putting the logic in metrics/draw in the insets.
5094 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
5096 * text2.C (redoParagraphInternal, redoParagraphs):
5097 * text.C (redoParagraph): add a call to updateRowPositions at the
5098 end of each 'metrics-like' call. Remove all others.
5099 (getRow): remove the 'y-computing' version.
5100 (getRowNearY): do not compute nor return the real y. Solve the
5101 'y < 0' problem and simplify.
5103 2003-08-22 Angus Leeming <leeming@lyx.org>
5105 * *.[Ch]: clean-up of licence and author blurbs.
5106 Also move config.h out of a few .h files and into a few .C files.
5108 2003-08-22 André Pönitz <poenitz@gmx.net>
5110 * lyxrow.[Ch]: add x_ and *fill_ members
5115 * text2.C: adjust/remove prepareToPrint() calls
5117 2003-08-22 André Pönitz <poenitz@gmx.net>
5119 * lyxrow.[Ch]: add end_ member
5121 * lyxrow_funcs.C: use LyXRow::end_
5123 * lyxtext.h (singleWidth): add LyXFont parameter
5126 * text2.C: adjust LyXText::singleWidth() calls
5128 * text.C (redoParagraph): simplify row breaking logic
5131 2003-08-19 André Pönitz <poenitz@gmx.net>
5133 * funcrequest.C: initialize button_ member
5136 * rowpainter.[Ch]: interface consolidation
5138 2003-08-18 André Pönitz <poenitz@gmx.net>
5141 * BufferView_pimpl.C:
5143 * paragraph_funcs.C:
5145 * text3.C: remove LyXScreen::draw() and fitCursor calls
5147 * BranchList.h: remove spurious semicolons
5149 * MenuBackend.C: fix branchlist related crash
5151 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
5159 * bufferparams.[Ch]:
5163 * text3.C: implements the 'branch inset'
5164 idea. This allows the output of various versions of a document
5165 from a single source version, selectively outputing or suppressing
5166 output of parts of the text.
5167 This implementation contains a 'branch list editor' in a separate
5168 tab of the document settings dialog. Branches are user definable
5169 and have a "display colour" to distinguish them on-screen.
5171 ColorHandler was somewhat cleaned up.
5172 (1) make possible a dynamically growing LColor list by allowing
5173 the graphic context cache to grow along (vector);
5174 (2) eliminate an IMHO unnecessary step in colour allocation.
5176 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
5178 * BufferView_pimpl.C: compile fix
5180 2003-08-15 André Pönitz <poenitz@gmx.net>
5182 * rowpainter.C: remove extra metrics calls
5184 * lyxtext.h: merge the two constructors into a single one,
5185 pass reference to owner's par list
5187 * BufferView_pimpl.C:
5191 2003-08-15 André Pönitz <poenitz@gmx.net>
5193 * lyxrow_funcs.[Ch]:
5196 * paragraph_funcs.C:
5201 * text_funcs.C: split LyXText::rowlist_ into individual
5202 Paragraph::rows_ chunks
5205 * BufferView_pimpl.[Ch]:
5208 * text3.C: remove toggleSelection()
5210 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
5212 * bufferlist.C: beautify two alerts (shorter text of buttons)
5213 * buffer.C: Remove redundant ' ' from message
5215 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
5216 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
5217 rename VALIGN_CENTER to VALIGN_MIDDLE
5219 2003-08-11 André Pönitz <poenitz@gmx.net>
5221 * lyxtext.h (getPar):
5222 * text.C: new function
5224 2003-08-11 André Pönitz <poenitz@gmx.net>
5227 * tracer.[Ch]: remove unneeded files
5229 * InsetList.[Ch]: remove resizeInsetsLyXText()
5234 * text3.C: merge insertParagraphs() and appendParagraph()
5235 remove breakAgain(), update()
5237 * BufferView_pimpl.[Ch]:
5238 * bufferview_funcs.[Ch]:
5242 * tabular.C: adjust after text & InsetList changes.
5244 2003-08-08 André Pönitz <poenitz@gmx.net>
5246 * text.C (insertChar, backspace): replace rowlist fiddling
5247 with rebreak of full par
5250 * text.C (breakAgainOneRow, redoHeightOfParagraph,
5251 checkParagraph, updateInset): removed
5253 2003-08-07 André Pönitz <poenitz@gmx.net>
5256 * text3.C: merge some LFUN handlers, remove dead code
5258 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5260 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
5262 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
5264 * text2.C (DEPM): fix part of bug 1255 and 1256
5266 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5268 * BufferView_pimpl.C (workAreaDispatch): change to use
5269 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
5270 that are no mouse related.
5272 2003-08-05 André Pönitz <poenitz@gmx.net>
5275 * BufferView_pimpl.[Ch]:
5276 * bufferview_funcs.C:
5278 * text3.C: rip out "deep update"
5280 * textcursor.[Ch] (last_sel_cursor): remove unused member
5282 2003-08-04 André Pönitz <poenitz@gmx.net>
5285 * BufferView_pimpl.[Ch]:
5286 * ParagraphParameters.C:
5287 * bufferview_funcs.C:
5293 * text3.C: replace "complicated" BufferView::update(...) calls with
5296 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
5298 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
5300 * Makefile.am (lyx_SOURCES): add paper.h
5302 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5304 * Makefile.am: move things around so that both lyx-qt and
5305 lyx-xforms can be built (according to --with-frontend). Then lyx
5306 is a symbolic link to lyx-[firstfrontend]
5308 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
5310 * Always use std::endl with lyxerr
5312 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
5314 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
5316 2003-08-01 André Pönitz <poenitz@gmx.net>
5319 * BufferView_pimpl.[Ch]:
5321 * text3.C: merge BufferView::repaint() and BufferView::update()
5323 2003-08-01 José Matos <jamatos@lyx.org>
5325 * buffer.[Ch]: file_format is no longer a buffer data element.
5327 2003-08-01 André Pönitz <poenitz@gmx.net>
5332 * text2.C: make redoParagraph more independent of current cursor
5334 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
5336 * text2.C: remove unneeded members
5338 2003-07-30 André Pönitz <poenitz@gmx.net>
5340 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
5342 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
5343 create a single function...
5345 * paragraph_funcs.C (moveItem): ... here.
5348 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
5350 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5352 * LColor.[Ch]: Add comment and greyedout logical colors.
5354 2003-07-30 André Pönitz <poenitz@gmx.net>
5356 * tabular.C: don't use Assert too heavily. This crashes where it
5359 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
5361 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
5362 is disabled (bug 1232)
5364 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5366 * factory.C: limited 'arg' scope
5368 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5370 * factory.C: fixed Note submenu issues
5372 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
5374 * factory.C: submenu for Note/Comment/Greyedout
5376 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
5379 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
5381 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
5384 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
5385 greyedout. Patch provided by Jürgen Spitzmüller.
5387 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5389 * kbmap.C (read): fix error message when reading bind files
5391 2003-07-29 Angus Leeming <leeming@lyx.org>
5393 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
5394 certainly does not do what it purports to do. I am doing it, and
5395 us, a favour by killing it.
5397 2003-07-28 José Matos <jamatos@lyx.org>
5399 * buffer.C (readBody, do_writeFile):
5400 * paragraph.C(readParagraph): \end_document replaces \the_end.
5402 2003-07-29 André Pönitz <poenitz@gmx.net>
5405 * BufferView_pimpl.[Ch]:
5409 * textcursor.[Ch]: remove toggleToggle & Co
5411 2003-07-28 José Matos <jamatos@fep.up.pt>
5413 * buffer.C (readParagraph):
5414 * params_func (readParToken, readParagraph):
5415 * paragraph.C (write): \layout -> \begin_layout.
5417 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5419 * lyxlex_pimpl.C (setFile): clean up slightly.
5421 * bufferparams.h: add compressed var
5423 * buffer_funcs.C (readFile): adjust for LyXLex change
5424 (newFile): ditto + simplify
5426 * buffer.C (writeFile): handle writing of compressed files
5428 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5429 Check if the file is compressed and set a bufferparm if so.
5431 * Makefile.am (lyx_LDADD): remove explicit -lz
5433 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5435 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5436 makeDocBookFile): put the real LyX version in the first line of
5440 * version.C.in: remove lyx_docversion
5442 * tabular.C (write_attribute): add a template-based version to
5443 write enums properly
5445 2003-07-28 André Pönitz <poenitz@gmx.net>
5450 * text3.C: use doubles again for x-coordinates. They are needed.
5452 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5454 * messages.C (getLocaleDir): use lyx_localedir()
5456 * lyxlex_pimpl.C (setFile): compress stuff
5458 * buffer.C (writeFile): add some compression stuff
5459 (do_writeFile): new func, dont call expliti close... will this
5462 * Makefile.am (lyx_LDADD): add -lz
5464 2003-07-28 José Matos <jamatos@fep.up.pt>
5466 * buffer.C: increment file format.
5467 * paragraph_funcs (readParagraph, readParToken):
5468 * paragraph.C (readParagraph): add \end_layout.
5470 2003-07-27 Angus Leeming <leeming@lyx.org>
5472 * Makefile.am: remove special casing for configure-time setting of
5473 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5475 * lyx_main.C (init): remove all Jean-Marc's magic setting of
5476 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5478 2003-07-26 André Pönitz <poenitz@gmx.net>
5480 * paragraph_func.[Ch]:
5481 * paragraph.C (realizeFont): inline it whereever it is used
5486 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5489 2003-07-26 André Pönitz <poenitz@gmx.net>
5493 * text2.C: get rid of LyXText::need_break_row
5495 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5497 * toc.[Ch]: put namespace toc inside namespace lyx
5499 * MenuBackend.C (expandToc2): adjust for lyx::toc
5502 * lyxfunc.C (dispatch): adjust for lyx::find
5504 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5505 lyx::find instead. Reorganize a bit.
5506 (LyXReplace): rename to replace
5507 (LyXFind): rename to find
5509 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5512 2003-07-26 André Pönitz <poenitz@gmx.net>
5514 * text.C (setHeightOfRow): restrict scope of temporary variable
5516 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
5517 code (never has been used?)
5519 2003-07-27 Asger Alstrup <alstrup@local>
5521 * text.C (fill): Optimise algorithm to exploit that we can reuse
5522 the LyXFont for many characters.
5523 (setHeightOfRow): Same thing.
5524 (rowBreakPoint): Same thing.
5526 2003-07-26 Asger Alstrup <alstrup@local>
5528 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5530 * text.C (singleWidth): Spurious font copying in hot-spot
5531 singleWidth avoided. Reorder tests for arabic for efficiency.
5533 * text.C (fill): handle empty paragraphs better.
5535 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5538 * encoding.h: add includes
5540 * lyxrc.C: remove reading of bind files
5542 * lyx_main.C (init): setup bindings and menus only if we have a
5545 * kbmap.C (read): new method. Do the actual reading of bind
5548 * converter.C (dvipdfm_options):
5551 (output): adapt PAPER_* enums.
5553 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5555 * bufferparams.h: remove paper-related enums from there
5557 * paper.h: New file. A trivial header file to hold paper-related
5558 enums. It should later expand to contain many paper-related
5561 * lyxrc.C: declare extern displayTranslator
5563 2003-07-27 José Matos <jamatos@fep.up.pt>
5565 * tabular.[Ch] (linuxdoc): add support for tables and figures
5568 2003-07-27 José Matos <jamatos@fep.up.pt>
5570 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5571 consistency in both functions.
5572 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5574 2003-07-26 Asger Alstrup <alstrup@local>
5576 * rowpainter.C (paintRows): Change algorithm to work directly on
5577 the insets rather than asking every character in the document
5578 whether its an inset.
5580 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
5582 * buffer.C (openFileWrite): factorize some code
5584 2003-07-26 Angus Leeming <leeming@lyx.org>
5587 * lyx_main.[Ch]: replace occurances of system_tempdir with
5590 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5592 * rename Inset to InsetOld
5594 2003-07-25 Asger Alstrup <alstrup@diku.dk>
5596 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5597 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5598 which I think is a bit clearer. EDIT is gone, since it was
5599 premature optimisation, and broken for mathed anyway.
5600 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5601 with cursor positioning in insets as well (math insets still do not
5602 work, but that's a different story anyway.) It mysteriously
5603 crashes sometimes with undo in the first paragraph, but I'm fairly
5604 confident that this is a compiler bug.
5606 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5608 * paragraph.C (Paragraph): adjust for new clone return type
5610 (copyIntoMinibuffer): ditto
5612 2003-07-25 Asger Alstrup <alstrup@lyx.org>
5614 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5615 by not having a special case, and always doing a full rebreak of
5616 the document after undo.
5618 2003-07-23 Angus Leeming <leeming@lyx.org>
5620 * factory.C (createInset): InsetExternal::setParams now takes a
5623 2003-07-23 Angus Leeming <leeming@lyx.org>
5625 * factory.C (createInset): changed interface to the external and
5626 graphics mailers' string2params functions.
5628 2003-07-23 Angus Leeming <leeming@lyx.org>
5630 * factory.C (createInset): pass a
5631 Buffer const * parameter to InsetExternalMailer's string2params.
5633 2003-07-22 John Levon <levon@movementarian.org>
5635 * Thesaurus.h: include the right aiksaurus header
5637 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5639 * MenuBackend.C (expand): check menu shortcuts unconditionally
5641 2003-07-21 Angus Leeming <leeming@lyx.org>
5643 * factory.C (createInset): pass a
5644 buffer_path parameter to InsetGraphicsMailer's string2params.
5646 2003-07-21 Angus Leeming <leeming@lyx.org>
5648 * BufferView_pimpl.C (buffer):
5651 * lyxfunc.C (dispatch):
5652 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5653 rather than the grfx shortcut.
5655 2003-07-21 André Pönitz <poenitz@gmx.net>
5657 * rowpainter.C: remove unused variables
5660 * tabular_funcs.h: move to tabular.C
5661 * Makefile.am: adjust
5663 * tabular.[Ch]: basic optical cleaning
5665 * author.h: pass references, not values
5667 2003-07-18 André Pönitz <poenitz@gmx.net>
5675 * text3.C: two-phase drawing for InsetText and InsetTabular
5676 some float -> int changes.
5678 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5680 * lyx_main.C: fix the fix
5682 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5684 * lyx_main.C: fix a crash in batch mode if no files specified
5687 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5689 * format.[Ch] (papersize): moved to BufferParams
5690 * converter.[Ch] (dvips_options): moved to BufferParams
5691 (dvipdfm_options): moved to anon namespace
5692 * bufferparams.[Ch]: added above functions.
5694 2003-07-17 André Pönitz <poenitz@gmx.net>
5698 * text2.C: don't call inset->update() anymore
5700 * metricsinfo.[Ch]: add convenience constructor
5702 2003-07-16 André Pönitz <poenitz@gmx.net>
5707 * text2.C: replace the LyXCursor::irow_ member with
5708 on-demand computation of the value
5710 2003-07-16 John Levon <levon@movementarian.org>
5712 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5714 2003-07-15 André Pönitz <poenitz@gmx.net>
5717 * text2.C: remove no more needed refresh_row
5719 2003-07-15 André Pönitz <poenitz@gmx.net>
5724 * text3.C: refresh_status tristate -> need_update bool
5726 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5728 * lyxtext.h (init): remove reinit argument (act as if always true)
5729 * text2.C: adjust to that
5731 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5733 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5734 * text3.C: use it to delete selections in some cases
5735 (bugs 441, 673, 702, 954).
5737 2003-07-14 André Pönitz <poenitz@gmx.net>
5739 * rowpainter.[Ch]: reduce interface
5741 2003-07-14 André Pönitz <poenitz@gmx.net>
5743 * BufferView_pimpl.C:
5744 * text2.C: adjust after removing unused BufferView * argument
5746 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5748 * text2.C (init): fix a crash fired on resize
5750 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5752 * buffer.[Ch]: added new closing signal
5753 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5754 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5755 BufferView::Pimpl via the closing the signal
5757 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5759 * buffer.[Ch]: take out all bv-related from buffer
5761 * BufferView_pimpl.[Ch]: connect to new signals
5762 * CutAndPaste.C: removed useless asserts
5763 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5766 * lyxfunc.C: moved view-related funciontality from vc here
5767 * paragraph.C: removed outdated comments
5770 2003-07-10 André Pönitz <poenitz@gmx.net>
5772 * BufferView_pimpl.C:
5776 * text2.C: remove InsetText::InnerCache, clean up consequences
5778 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5780 * ispell.C: fix two typos in error messages
5782 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5784 * Extend Note inset to other forms of annotation like Comment
5785 and Greyedout. Right button click gives dialog.
5787 Files modified or added (+):
5791 * ControlNote.[Ch] +
5793 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5794 frontends/controllers
5798 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5800 * aspell.C: add missing namespace lyx::support
5802 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5804 * BufferView.[Ch] (newFile): Add
5805 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5806 * LaTeX.[Ch] (message): added this signal and use it
5807 * buffer.[Ch] (busy, message): added these signals and use them
5808 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5812 * importer.C: use buffer signals instead of direct bv calling
5813 * lyx_cb.[Ch] (ShowMessage): removed
5816 * paragraph_funcs.C:
5817 * text2.C: use buffer signals
5819 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5821 * introduce namespace lyx::graphics
5823 2003-07-02 André Pönitz <poenitz@gmx.net>
5825 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5827 2003-07-01 André Pönitz <poenitz@gmx.net>
5834 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5835 text*.C to text_func.C
5837 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5839 * introduce namespace lyx::support
5841 2003-06-30 André Pönitz <poenitz@gmx.net>
5846 * text.C: re-enable --with-included-string
5848 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5850 * textcursor.C: add <config.h>
5852 * text.C (getWord): remove const from word_location arg
5854 * lyxvc.C (getLogFile): fix const type order
5856 * lyxtext.h: remove const from word_location arg, add arg name
5858 * lyxlayout.h: currect type on labeltype.
5860 * importer.C: correct \file
5862 * converter.C (intToFormat): use std:: on ret val, ws changes
5864 * bufferlist.h: correct \file
5866 * buffer.C (makeLinuxDocFile): fix const type order
5867 (makeDocBookFile): ditto
5868 (fillWithBibKeys): use std:: on stdlib args.
5870 * CutAndPaste.C: fix authors.
5871 (availableSelections): use std:: on return vector
5873 2003-06-27 André Pönitz <poenitz@gmx.net>
5875 * BufferView_pimpl.C:
5876 * bufferview_funcs.C:
5884 * text3.C: remove LyXCursor::row_ member
5887 * text.C: rename fullRebreak() to partialRebreak() and implement
5888 a fullRebreak() that really bereks fully
5890 * textcursor.h: new struct for cursor-related data
5892 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5894 * lyx_main.C (LyX): get full path of document loaded on the
5897 2003-06-26 André Pönitz <poenitz@gmx.net>
5899 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5900 remove unused/broken operator>,<,>=.
5902 * text.C: remove only use of broken operator<= in an Assert().
5904 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5906 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5907 moved errorlist_.clear to showErrorList
5909 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5911 * converter.C (scanLog, runLaTeX):
5912 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5913 move the bv->showErrorList call to the callers
5914 * lyxfunc.C: i.e. here...
5916 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5917 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5918 namespace, the second to...
5919 * buffer_funcs (BufferFormat, parseErrors): added
5920 * errorlist.C (ErrorList(TeXErrors const &)): removed
5922 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5924 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5926 2003-06-24 "Garst R. Reese" <reese@isn.net>
5930 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5932 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5934 * version.C.in: change docversion to 1.4
5936 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5938 * buffer.C: fix a bug just introduced
5940 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5942 * buffer.[Ch]: added the parseError signal and use it, removed
5944 * BufferView.[Ch] (addError): moved to ...
5945 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5946 to the Buffer::parseError signal to catch (guess what) parse errors
5947 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5949 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5951 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5952 ability to create a buffer and to return an existing one from
5953 the list. Moved these functions to...
5954 * buffer_funcs.[Ch]: added
5955 * BufferView.[Ch] (loadLyXFile): added
5956 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5957 job removed from bufferlist::loadLyXFile.
5958 * buffer.C (setReadOnly): make it work without view
5959 (i.e added an if (users))
5961 2003-06-19 Angus Leeming <leeming@lyx.org>
5964 * LyXAction.C (init):
5965 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5966 with LFUN_DIALOG_SHOW <name> <data>.
5968 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5970 * CutAndPaste.C (availableSelections): small compilation fix for
5971 ancient (gcc 2.9x) compilers
5973 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5975 * text3.C (cursorNext): add tmp var
5977 * text2.C (updateCounters): for function calling out of for clause
5978 (replaceSelectionWithString): ditto
5979 (insertStringAsParagraphs): ditto
5980 (getColumnNearX): add tmp var
5981 (setCursorFromCoordinates): add tmp var
5982 (cursorDownParagraph): add tmp var
5983 (deleteEmptyParagraphMechanism): add tmp var
5985 * text.C (insertChar): add tmp var
5987 * rowpainter.C (paintDepthBar): add tmp var
5989 * CutAndPaste.C (availableSelections): potentially check all
5990 paragraphs in a cut to fill the shown strings.
5992 2003-06-18 André Pönitz <poenitz@gmx.net>
5994 * kbmap.[Ch]: use vector<> instead of list<>
5996 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5998 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5999 pasteSelection with index
6001 * text2.C (pasteSelection): modify, call pasteSelection with index
6003 * paragraph.C (asString): reimplement version with no interval to
6004 call the one with interval.
6006 * lyxtext.h: add index arg to pasteSelection
6008 * MenuBackend.C (MenuItem): handle PasteRecent
6009 (Menu::read::Menutags): add md_pasterecent
6011 (expandPasteRecent): new function
6014 * MenuBackend.h: add PasteRecent to MenuItem::Kind
6016 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
6018 (availableSelections): new function
6020 2003-06-17 Angus Leeming <leeming@lyx.org>
6022 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
6024 2003-06-17 Angus Leeming <leeming@lyx.org>
6027 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
6029 * lyxfunc.C (dispatch): invoke it.
6031 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6033 * iterators.C (operator++, ParPosition): reintroduce some
6034 const_cast for the benefit of older compilers.
6036 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6038 * text3.C (dispatch): do not modify clipboard when doing
6039 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
6040 LFUN_DELETE_SKIP on a selection selection
6042 2003-06-16 André Pönitz <poenitz@gmx.net>
6048 * tabular.[Ch]: IU of clone() and getLabelList();
6050 2003-06-13 André Pönitz <poenitz@gmx.net>
6052 * tabular.h: compactification
6054 2003-06-12 André Pönitz <poenitz@gmx.net>
6058 * tabular_funcs.h: some renaming plus whitespace
6060 2003-06-12 André Pönitz <poenitz@gmx.net>
6063 * BufferView_pimpl.C:
6069 * toc.C: Return a Paragraph & for ParIterator::operator*()
6071 2003-06-11 John Levon <levon@movementarian.org>
6075 * ToolbarBackend.C: add "Toolbars" section and
6078 2003-06-10 Angus Leeming <leeming@lyx.org>
6081 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
6083 * lyxfunc.C (dispatch): invoke it.
6085 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
6087 * main.C: protect <ios> with HAVE_IOS
6088 (main): protect sync_with_stdio with HAVE_IOS
6090 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
6092 * text2.C (cutSelection): adjust
6093 (pasteSelection): adjust
6095 * messages.C: handle get of empty string
6097 * main.C (main): use sync_with_stdio(false)
6099 * lyxfunc.C (dispatch): adjust
6101 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
6102 (WriteAs): remove unneeded BufferView arg.
6104 * bufferparams.h: use correct types on papersize, papersize2 and
6107 * bufferparams.C (readToken): adjust for type
6108 (writeLaTeX): add missing cases to switch.
6110 * bufferlist.C (quitWriteBuffer): adjust
6113 * buffer.C (asciiParagraph): remove some commented code.
6115 * CutAndPaste.C: remove current_view extern variable.
6116 (cutSelection): add BufferParams arg.
6117 (eraseSelection): add BufferParams arg.
6118 (pasteSelection): add Buffer const & arg
6120 2003-06-07 John Levon <levon@movementarian.org>
6123 * paragraph_funcs.C:
6124 * paragraph_pimpl.C:
6128 * paragraph.C: allow InsetERT to freely space lines,
6129 and some consolidation of code
6131 2003-06-06 José Matos <jamatos@fep.up.pt>
6133 * buffer.C (makeDocBookFile): fix bug #821
6135 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
6137 * BufferView_pimpl.C (dispatch): use Dialogs::visible
6139 2003-06-04 Angus Leeming <leeming@lyx.org>
6141 * buffer.C: bump format to 224.
6143 2003-06-05 André Pönitz <poenitz@gmx.net>
6145 * text2.C (redoParagraphs): remove two const_cast<>
6147 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
6149 * ParagraphList.h: remove last remnants of NO_STD_LIST
6151 2003-06-03 Angus Leeming <leeming@lyx.org>
6153 * factory.C (createInset): small change to the way InsetExternal's params
6156 2003-06-04 André Pönitz <poenitz@gmx.net>
6158 * buffer.h: use Undo directly instead of shared_ptr<Undo>
6160 * paragraph_pimpl.h:
6161 * paragraph.[Ch]: some Inset -> UpdatableInset changes
6163 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
6165 * undo_funcs.C: make some simple cases of undo work again
6167 2003-06-03 John Levon <levon@movementarian.org>
6169 * ispell.C: HPUX doesn't have sys/select.h
6172 2003-06-03 John Levon <levon@movementarian.org>
6174 * CutAndPaste.C: update tabular and include inset
6179 * paragraph.C: remove owningBuffer(), don't pass Buffer
6182 * factory.C: insetGraphicsParams changed
6184 2003-06-02 John Levon <levon@movementarian.org>
6190 * text3.C: remove insetparent
6192 2003-06-02 John Levon <levon@movementarian.org>
6195 * buffer.C: fix inset_iterator.end(), move out of line
6198 2003-06-01 John Levon <levon@movementarian.org>
6200 * text3.C: use a proper cut/paste when doing inset
6201 insert (from Jürgen Spitzmüller)
6203 2003-06-01 John Levon <levon@movementarian.org>
6205 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
6207 2003-05-30 André Pönitz <poenitz@gmx.net>
6209 * rowpainter.C: unify second drawing phase
6211 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6213 * trans_mgr.C: remove one case of current_view
6215 * text2.C (cursorBottom): delete NO_STD_LIST stuff
6217 * paragraph_funcs.h: remove paragraph.h include
6219 * paragraph.h: delete NO_STD_LIST stuff
6221 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
6223 * buffer.h: remove paragraph.h include
6225 * ParagraphList.C: delete file
6227 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
6229 * toc.C (getTocList): adjust
6231 * paragraph_pimpl.C (validate): adjust
6233 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
6235 * paragraph.C (Paragraph): adjust
6236 (getPositionOfInset): use const_iterator, adjust
6237 (bibitem): use const_iterator, adjust
6238 (setInsetOwner): adjust
6240 * iterators.C (operator++): adjust
6242 * InsetList.[Ch]: Replace selfmade iterator with standard
6243 vector::iterator also introduce const_iterator. Remove getPos,
6244 getInset and setInset from InsetTable. Adjust accordingly.
6246 * BufferView.C (lockInset): adjust
6247 (ChangeInsets): adjust
6249 * tabular.[Ch]: delete commented same_id functions
6251 2003-05-28 John Levon <levon@movementarian.org>
6253 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
6255 2003-05-28 André Pönitz <poenitz@gmx.net>
6257 * metricsinfo.[Ch]: remove 'fullredraw' member
6259 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
6261 * lyxtextclass.C (operator): remove caching.
6263 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6267 * text2.C (cursorBottom): adjust
6268 (setCounter): use ParagraphList::find, adjust
6270 * text.C (workWidth): use ParagraphList::find, adjust
6272 * lyxcursor.C (LyXCursor): adjust
6274 * buffer.C (inset_iterator): adjust
6276 * ParagraphList.h: make iterator(value_type) private, make
6277 ParagraphList a friend of iterator.
6279 * ParagraphList.C (find): new function
6281 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6283 2003-05-27 André Pönitz <poenitz@gmx.net>
6285 * dimension.[Ch]: a -> asc, d -> des, w -> wid
6287 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6289 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
6291 2003-05-26 John Levon <levon@movementarian.org>
6293 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
6295 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6297 * remove same_id from function signatures, adjust.
6299 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6301 * undo_funcs.C (createUndo): use the id functions directly, adjust.
6303 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
6305 * paragraph.C (Paragraph): get rid of same_ids parameter
6307 * ParagraphList.C (insert): adjust
6310 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6312 * paragraph_funcs.C (breakParagraph): adjust
6313 (breakParagraphConservative): adjust
6315 * buffer.C (readParagraph): adjust
6317 * ParagraphList.C (insert): take a reference instead of a pointer
6320 * paragraph.[Ch] (id): new function
6322 * bufferlist.C (newFile): adjust
6324 * ParagraphList.C (ParagraphList): adjust
6326 (push_back): take a reference instead of a pointer.
6328 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
6330 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
6333 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
6334 set else use old code.
6336 * ParagraphList.C: remove all NO_NEXT code and only compile this
6337 code of NO_STD_LIST is set.
6339 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6341 * BufferView_pimpl.C:
6351 * graphics/GraphicsConverter.C:
6352 * graphics/PreviewLoader.C: header adjustment
6354 2003-05-23 Angus Leeming <leeming@lyx.org>
6356 * LaTeXFeatures.[Ch] (useBabel): new method.
6357 * bufferparams.C (writeLaTeX): use it.
6359 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6361 * ParagraphList.h (set): remove unused function.
6363 2003-05-23 André Pönitz <poenitz@gmx.net>
6366 * BufferView_pimpl.C:
6370 * undo_funcs.C: setUndo reworked
6372 * iterators.[Ch]: add access to topmost ParagraphList
6374 * lyxtext.[Ch] (workWidth): add a const
6376 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
6378 * texrow.[Ch] (increasePos): remove function
6379 * exporter.C (export): removed unused var and outdated comment
6381 2003-05-23 Angus Leeming <leeming@lyx.org>
6383 * latexrunparams.h: rename fragile as moving_arg.
6384 * paragraph.C (simpleTeXOnePar): ditto.
6385 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
6387 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6389 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
6391 (textUndoOrRedo): comment out a currently unused var.
6393 * paragraph.h (NO_NEXT): enable NO_NEXT
6395 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
6397 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
6399 * exporter.C (Export): adjust for removeAutoInsets removal.
6401 * buffer.C (runChktex): adjust for removeAutoInsets removal.
6403 * LyXAction.C (init): remove LFUN_REMOVEERRORS
6405 * BufferView.[Ch] (removeAutoInsets): delete function
6407 2003-05-22 Angus Leeming <leeming@lyx.org>
6409 * latexrunparams.h: add a free_spacing variable.
6411 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
6412 to pass moving_arg, as the data is stored in runparams.fragile.
6414 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
6415 to Inset::latexOptional or to simpleTeXOnePar.
6417 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
6418 free_spacing arg to Inset::latexOptional.
6420 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6423 2003-05-22 Angus Leeming <leeming@lyx.org>
6425 * latexrunparams.h: add fragile and use_babel variables.
6427 * bufferparams.[Ch] (writeLaTeX): return use_babel.
6428 * buffer.C (makeLaTeXFile): store this returned value in
6429 runparams.use_babel, thus passing it to the inset::latex methods.
6431 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6432 simpleTeXSpecialChars as it is now stored in runparams.fragile.
6434 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6435 longer has a fragile arg, as it is stored in runparams.fragile.
6437 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6438 moving_arg parameter as the data is stored in runparams.fragile.
6440 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6441 a fragile parameter as the data is stored in runparams.fragile.
6443 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6445 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6447 2003-05-22 Angus Leeming <leeming@lyx.org>
6449 * latexrunparams.h: add a 'bool nice' which defaults to false.
6451 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6452 now encapsulated within runparams.
6454 * bufferlist.C (updateIncludedTeXfiles):
6455 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6457 2003-05-22 Angus Leeming <leeming@lyx.org>
6459 * latexrunparams.h: new file containing struct LatexRunParams.
6460 * Makefile.am: add new file.
6462 * LaTeX.[Ch] (c-tor, run):
6463 * buffer.[Ch] (makeLaTeXFile):
6464 * bufferlist.[Ch] (updateIncludedTeXfiles):
6465 * converter.C (convert, scanLog):
6466 * converter.[Ch] (runLaTeX):
6467 * exporter.C (Export):
6468 * paragraph.[Ch] (simpleTeXOnePar):
6469 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6470 * paragraph_funcs.[Ch] (latexParagraphs):
6471 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6472 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6473 pass around a LatexRunParams parameter.
6475 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6477 * paragraph.[Ch]: remove unused constructor
6479 * ParagraphList.C (erase): new function, taking two iterators
6481 2003-05-22 André Pönitz <poenitz@gmx.net>
6483 * undo_funcs.C: remove duplicated code
6485 * iterator.[Ch]: operator=
6487 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
6489 * tabular.C (SetMultiColumn): ws changes
6491 * rowpainter.C (paintFirst): get rid of a ->previous
6493 * lyx_cb.C (getPossibleLabel): parlist simplification
6495 * BufferView.C (ChangeInsets): simplify slightly.
6497 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
6499 * LyXAction.C: new lfun space-insert, kill protected-space-insert
6500 * lfuns.h: new LFUN_SPACE
6501 * lyxfunc.C: protected space has a new lfun
6502 * paragraph_funcs.C: read new space insets
6504 * factory.C: handle new space insets
6506 2003-05-22 André Pönitz <poenitz@gmx.net>
6509 * BufferView_pimpl.C:
6512 * undo_funcs.C: return a ParIterator from getParFromID.
6514 * iterators.[Ch]: add two const's
6516 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
6518 * toc.C (getTocList): adjust
6520 * iterators.[Ch]: rework for parlist
6522 * buffer.C (par_iterator_begin): adjust
6523 (par_iterator_end): adjust
6525 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6527 * BufferView.C (removeAutoInsets): adjust
6528 (ChangeInsets): adjust
6530 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
6532 * text.C (top_y): fix bug 1110
6534 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
6536 * errorlist.[Ch]: added
6539 * BufferView_pimpl.C:
6540 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6543 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6545 * Makefile.am: ensure that lyx is relinked upon changes to the
6546 various "convenience" libs.
6548 2003-05-20 Angus Leeming <leeming@lyx.org>
6550 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6551 files are compiled in alphabetical order again.
6553 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6555 2003-05-19 Angus Leeming <leeming@lyx.org>
6557 * gettext.[Ch]: remove "char const * _(char const *)".
6559 2003-05-19 André Pönitz <poenitz@gmx.net>
6561 * dimension.[Ch]: promote from mathed/dimension.[Ch]
6570 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6572 2003-05-19 André Pönitz <poenitz@gmx.net>
6576 * lyxtextclass.[Ch]:
6578 * paragraph_funcs.[Ch]:
6580 * text3.C: more insetenv work
6582 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
6584 * ParagraphParameters.C (params2string): small bug fixed
6586 2003-05-16 André Pönitz <poenitz@gmx.net>
6589 * bufferview_funcs.C: patch from Kornel Benko to prevent
6590 crash when _(...) is called twice in a statement
6592 2003-05-16 André Pönitz <poenitz@gmx.net>
6599 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6601 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
6603 * lyx_main.C (init): remove spurious static_cast
6605 2003-05-14 André Pönitz <poenitz@gmx.net>
6607 * BufferView.C: fix format string
6609 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
6611 * BufferView.[Ch] (insertErrors): removed
6612 * BufferView.[Ch] (showErrorList): added
6613 * buffer.C (runChkTeX):
6614 * converter.C (scanLog): call showErrorList instead of inserterrors
6616 2003-05-13 André Pönitz <poenitz@gmx.net>
6618 * BufferView_pimpl.C:
6620 * bufferview_func.C:
6627 * tabular_funcs.h: tostr() from its own header
6629 * ParagraphParameters.C:
6634 * text3.C: STRCONV()
6636 2003-05-12 André Pönitz <poenitz@gmx.net>
6639 * BufferView_pimpl.C:
6643 * ParagraphParameters.C:
6647 * bufferview_funcs.C:
6660 * paragraph_funcs.C:
6664 * text3.C: boost::format -> bformat all over the place
6667 2003-05-09 André Pönitz <poenitz@gmx.net>
6669 * LColor.[Ch]: Pimpl the #include <map> away
6671 2003-05-09 John Levon <levon@movementarian.org>
6673 * bufferlist.C: never remove emergency saves
6675 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6677 * Makefile.am: better lib building
6679 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6681 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6683 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6684 (simpleTeXSpecialChars): adjust
6685 (simpleTeXSpecialChars): adjust
6686 * paragraph.C (simpleTeXOnePar): adjust
6687 * buffer.C (makeLaTeXFile): adjust
6689 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6691 * text2.C (changeDepth): parlist cleanup
6692 (getColumnNearX): ditto
6694 * rowpainter.C (getLabelFont): parlist cleanup
6696 * bufferlist.C (newFile): parlist cleanup
6698 * CutAndPaste.C (eraseSelection): parlist cleanup
6700 * BufferView_pimpl.C (trackChanges): parlist cleanup
6703 * BufferView.C (lockInset): parlist cleanup.
6704 (ChangeInsets): ditto
6706 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6708 * CutAndPaste.h: Update file header.
6710 * CutAndPaste.C: Update file header.
6711 Store the parts cut out of the Document in a limited_stack.
6712 (copySelection): adjust
6713 (pasteSelection): new function, takes the index in the limited stack.
6714 (nrOfParagraphs): adjust
6715 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6716 simplify error inset insertion.
6717 (checkPastePossible): adjust
6719 2003-05-06 John Levon <levon@movementarian.org>
6721 * text2.C: don't cast wrap inset to float
6723 2003-05-05 André Pönitz <poenitz@gmx.net>
6726 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6728 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6729 few naked Paragraph *.
6731 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6733 * bufferparams.C: Output warning if a document with missing
6734 TeX document class is loaded
6735 * exporter.C: Disable TeX exports if the document class is missing
6738 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6739 isTeXClassAvailable()
6741 2003-05-03 John Levon <levon@movementarian.org>
6744 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6745 explicit cursor show/hide
6747 * BufferView_pimpl.h:
6748 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6749 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6751 * lyxfunc.C: hide cursor before dispatching.
6756 * text3.C: remove explicit cursor hides
6758 2003-05-02 André Pönitz <poenitz@gmx.net>
6760 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6763 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6766 * text2.C: tiny whitespace
6768 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6770 * undo_funcs.C: almost only ws changes.
6772 * ParagraphList.C (splice): just return if pl is empty.
6774 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6776 * ParagraphList.C (splice): new function.
6778 * CutAndPaste.C (pasteSelection): use it
6780 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6782 * CutAndPaste.C (pasteSelection): remove the last next and
6783 previous from this file.
6785 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6787 * CutAndPaste.C (pasteSelection): more clean up, user proper
6788 ParagraphList functions for pasteing.
6790 * ParagraphList.C (insert): new function, three arg insert
6792 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6794 * ParagraphList.C (insert): new function, three arg insert
6796 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6799 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6801 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6803 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6805 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6807 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6809 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6810 (copySelection): clean up a bit.
6811 (pasteSelection): use make_pair
6813 * ParagraphList.C (ParagraphList): implement copy constructor
6814 (operator=): implement, base on copy constructor.
6817 * paragraph.C (erase): return a bool
6819 * paragraph_pimpl.C (erasePos): remove function, move contents...
6820 (erase): ... here. Return a bool.
6821 (erase): call erase instead of erasePos.
6823 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6825 * ParagraphList.h: define PitPosPair
6826 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6827 ParagraphList, fix a bug on pasting multiple pars
6828 * text2.C: change interface to C&P
6830 2003-04-30 André Pönitz <poenitz@gmx.net>
6832 * undo_func.C: revert part of yesterday's patch 2
6834 2003-04-30 John Levon <levon@movementarian.org>
6836 * LColor.C: s/tabular/table/
6838 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6840 * text3.C (dispatch): do not convert iterator -> pointer
6841 * undo_funcs.C (setCursorParUndo): ditto
6842 * text_funcs.C (transposeChars): ditto
6844 * text2.C (setLayout): ws changes only
6846 * text.C (breakParagraph): do not convert iterator -> pointer
6848 (acceptChange): ditto
6849 (rejectChange): ditto
6854 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6857 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6859 * text3.C (gotoInset): YABG (yet another bad getChar)
6861 2003-04-29 André Pönitz <poenitz@gmx.net>
6863 * paragraph.h: make operator= private unimplemented as long as
6866 * ParagraphList.C: whitespace
6869 * paragraph_pimpl.[Ch]:
6870 * paragraph_funcs.C:
6872 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6875 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6877 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6879 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6880 * paragraph.[Ch] (erase):
6881 * paragraph_pimpl.[Ch] (erase): change return type and value
6882 * text2.C (cutSelection): some rework
6884 2003-04-28 John Levon <levon@movementarian.org>
6886 * bufferlist.C: changes for unsaved changes dialog
6888 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6890 * bufferlist.C (newFile): set language (messages_) for new
6893 * buffer.C (readFile): ws changes only.
6895 2003-04-28 André Pönitz <poenitz@gmx.net>
6900 * BufferView_pimpl.C:
6901 * BufferView.C: getParFromID related ParagraphList::iterator changes
6903 2003-04-28 André Pönitz <poenitz@gmx.net>
6905 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6908 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6910 * messages.C: remove one more localedir class variable.
6912 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6914 * messages.C (getLocaleDir): singleton generation function
6916 (Messages): add a default constructor.
6918 * main.C (main): do not setup localedir here, do not call
6921 * gettext.C (_): use it.
6922 (gettext_init): delete funciton
6924 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6926 * gettext.C (getLyXMessages): new singleton generating function.
6928 * buffer.C (updateDocLang): adjust
6930 * Makefile.am (messages.o): add target
6931 (main.o): remove target
6933 2003-04-27 John Levon <levon@movementarian.org>
6938 * lyxvc.C: specify cancel button in Alert::prompt
6940 2003-04-26 John Levon <levon@movementarian.org>
6945 * LyXAction.C: add LFUN_INSET_SETTINGS
6947 * lyxfunc.C: don't enable tabular-feature when there's
6948 just any locking inset
6950 2003-04-26 John Levon <levon@movementarian.org>
6952 * bufferlist.C: re-add Cancel to buffer close question
6954 * lyxfunc.C: fix import UI a bit
6956 2003-04-25 John Levon <levon@movementarian.org>
6958 * gettext.C: remove the broken asserts for now
6960 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6962 * messages.C: make case where setlocale cannot comply work better.
6964 * buffer.C (updateDocLang): new function
6965 (changeLanguage): use it
6968 * text2.C (setCounter): use B_ a bit.
6970 * lyxlayout.C (Read): be sure to trim the label strings.
6972 * messages.C (Messages): fix typo in comment
6974 * buffer.C (readFile): set message_ after file is loaded.
6975 (makeDocBookFile): remove double return
6976 (changeLanguage): reset message_ upon language change.
6977 (B_): new func, use this to get translated buffer strings.
6979 * main.C: add myself and Jean Marc as authors.
6981 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6983 * messages.[hC]: pimplify Messages, and three different pimpls to be
6984 used in different circumstances.
6986 * gettext.[Ch]: change for use with new message code.
6988 2003-04-24 André Pönitz <poenitz@gmx.net>
6990 * factory.C: support for eqref
6992 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6994 * messages.[Ch]: add missing char
6996 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6998 * messages.[Ch]: New files
7000 2003-04-18 John Levon <levon@movementarian.org>
7004 * BufferView_pimpl.C:
7008 * text2.C: remove layout-copy/paste (bug 778)
7010 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7012 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
7014 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
7016 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
7017 if they succeed. Act accordingly.
7019 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7021 * text2.C (setCharFont): adjust
7022 (setCounter): adjust
7023 (insertStringAsLines): adjust
7025 * text.C (leftMargin): adjust
7026 (setHeightOfRow): adjust
7028 * rowpainter.C (paintFirst): adjust
7031 * paragraph_funcs.C (depthHook): ParagraphList::iterators
7033 (isFirstInSequence): ditto
7034 (getEndLabel): ditto
7037 * paragraph.C (getParLanguage): comment out some hard stuff.
7039 * buffer.C (insertStringAsLines): take a ParagraphList as arg
7041 (simpleDocBookOnePar): ditto
7042 (makeDocBookFile): use ParagraphList::iterator
7044 * CutAndPaste.C (pasteSelection): adjust
7046 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7048 * text2.C (getFont): adjust
7049 (getLayoutFont): adjust
7050 (getLabelFont): adjust
7052 * paragraph_funcs.C (TeXOnePar): adjust
7054 * buffer.C (simpleLinuxDocOnePar): adjust
7055 (simpleDocBookOnePar): adjust
7057 * CutAndPaste.C (pasteSelection): adjust
7059 * BufferView.C (getEncoding): adjust
7061 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
7063 2003-04-16 John Levon <levon@movementarian.org>
7065 * lyxfind.C: use parlist stuff for search/changes
7067 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7069 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
7071 * text2.C (deleteEmptyParagraphMechanism): adjust
7073 * text2.[Ch] (ownerParagraph): delete func (both of them
7075 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7077 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
7079 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7081 * ParagraphList.C: prepare for NO_NEXT
7083 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7085 * text2.C (getFont): adjust
7086 (getLayoutFont): adjust
7087 (getLabelFont): adjust
7089 * paragraph.C (getFont): adjust
7090 (getLabelFont): adjust
7091 (getLayoutFont): adjust
7093 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
7095 2003-04-15 John Levon <levon@movementarian.org>
7099 * lyx_main.C: handle Include in .ui files
7101 2003-04-15 John Levon <levon@movementarian.org>
7103 * MenuBackend.C: make the doc files length shorter
7106 * ToolbarBackend.C: handle toolbar placement flags,
7109 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7111 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
7114 * paragraph_funcs.C (TeXOnePar): adjust
7116 * paragraph.C (getLabelFont): add outerfont arg, adjust
7117 (getLayoutFont): ditto
7118 (simpleTeXOnePar): adjust
7120 * paragraph_pimpl.C (realizeFont): delete func
7122 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
7124 * text2.C (beforeFullRowInset): added a bad getchar check, removed
7125 row argument, constify cur argument.
7127 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
7129 * text2.C (getFont): adjust
7130 (getLayoutFont): adjust
7131 (getLabelFont): adjust
7133 * paragraph_funcs.C (TeXOnePar): adjust
7134 (outerFont): new func...
7135 (realizeFont): ...moved out from here, changed this to facilitate
7138 * paragraph.C (getFont): take outerfont as arg, adjust
7139 (simpleTeXOnePar): add outerfont arg, adjust
7141 * buffer.C (simpleLinuxDocOnePar): adjust
7142 (simpleDocBookOnePar): adjust
7144 * CutAndPaste.C (pasteSelection): adjust
7146 * BufferView.C (getEncoding): adjust
7148 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7150 * text2.C (setCharFont): adjust
7151 (setCounter): adjust
7153 * text.C (leftMargin): adjust
7154 (setHeightOfRow): adjust
7156 * rowpainter.C (paintFirst): adjust
7159 * paragraph_pimpl.C (realizeFont): adjust
7161 * paragraph.C (isFirstInSequence): move from here...
7162 * paragraph_funcs.C (isFirstInSequence): ...to here
7164 * paragraph.C (outerHook): move from here...
7165 * paragraph_funcs.C (outerHook): ...to here
7167 * paragraph.C (depthHook): move from here...
7168 * paragraph_funcs.C (depthHook): ...to here
7170 * paragraph.C (getEndLabel): move from here...
7171 * paragraph_funcs.C (getEndLabel): ...to here
7173 * text2.C (realizeFont): move from here...
7174 * paragraph_funcs.C (realizeFont): ...to here
7176 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7178 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
7180 2003-04-14 Angus Leeming <leeming@lyx.org>
7182 * LColor.[Ch]: scrap LColor mathcursor.
7184 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7186 * lyxlex.[Ch] (text): delete function
7187 * trans.C (Load): adjust
7188 * paragraph_funcs.C (readParToken): adjust
7190 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7192 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
7193 vector<char> instead of a char[].
7195 * lyxlex_pimpl.C (getString): adjust
7197 (lex): use getString
7201 * lyxlex.C (text): use pimpl_->getString()
7205 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
7207 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
7208 (makeFontEntriesLayoutSpecific): temp var for par.size()
7209 (setLayout): temp var for ownerParagraphs().end()
7210 (fullRebreak): temp var for rows().end()
7211 (selectionAsString): temp var for boost::next(startpit), realize
7212 that the while really is a regular for loop.
7213 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
7214 setCursor in one place.
7215 (setParagraph): temp vr for ownerParagraphs().end()
7216 (updateCounters): make the while loop a for loop
7217 (cutSelection): temp var for ownerParagraphs().end()
7218 (updateInset): make the do {} while() a regular for loop
7219 (getCursorX): use temp vars
7220 (setCurrentFont): use temp vars
7221 (getColumnNearX): use temp vars
7223 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7225 * text.C (transformChar): use temp var for getChar
7226 (computeBidiTables): use temp var for row->par()
7227 (fill): move temp vars for row->par() and pit->layout() earlier in
7229 (labelFill): use temp var for row->par()
7230 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
7231 asc and desc, realize that pit never changes and that firstpit is
7232 just a duplicate and not needed. Exchange rit->par() with pit in a
7234 (breakAgain): use a temp var for boost::next(rit)
7235 (breakAgainOneRow): ditto
7236 (breakParagraph): use a temp var for rows().begin()
7237 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
7238 (cursorRightOneWord): use temp var for cursor.par() and
7239 cursor.pos(), remove usage of tmpcursor.
7240 (cursorLeftOneWord): use temp var for cursor.par() and
7241 cursor.pos() only set cur at end of function.
7243 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7245 * text.C, text2.C: exchange all usage of Paragraph::next with
7246 boost::next(ParagraphList::iterator)
7248 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
7250 * text2.C (cursorTop): simplify implementation
7251 (cursorBottom): ditto
7252 (setParagraph): use ParagraphList::iterator
7253 (setCurrentFont): adjust
7254 (getColumnNearX): adjust
7255 (cursorRight): adjust
7256 (cursorLeft): remove usage of Paragraph::previous
7257 (cursorUpParagraph): ditto
7258 (deleteEmptyParagraphMechanism): slight cleanup
7260 * text.C (isBoundary): take a Paragraph const & instead of a
7262 (addressBreakPoint): ditto
7263 (leftMargin): remove usage of Paragraph::previous.
7264 (setHeightOfRow): ditto
7265 (cursorLeftOneWord): ditto
7266 (selectNextWordToSpellcheck): ditto
7269 (breakParagraph): remove one usage of Paragraph::next
7270 (redoParagraph): ditto
7271 (acceptChange): ditto
7272 (insertChar): adjust
7273 (rowBreakPoint): adjust
7275 * bufferview_funcs.C (toggleAndShow): adjust
7277 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
7279 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
7280 methods to access it.
7282 * text.C: Added updateRowPositions to compute all row positions.
7283 Make top_y and getRowNearY() to use the cached y position
7285 2003-04-11 John Levon <levon@movementarian.org>
7287 * text.C (rowBreakPoint): reintroduce the labelEnd
7288 checks, code copied from the row fill stuff. Deep voodoo.
7290 * text.C (fill): add a comment and debugging for the
7293 2003-04-11 John Levon <levon@movementarian.org>
7295 * text.C: make sure fullrow insets get wrapped to the next line,
7296 even when they're in a manual label
7298 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
7300 * text2.C (insertParagraph): make it take ParagraphList::iterator
7302 (setLayout): make it return ParagraphList::iterator
7303 (redoParagraphs): ditto
7305 (checkParagraph): ditto
7307 * text.C (getRow): make getrow take ParagraphList::iterator as arg
7309 * text2.C: adjust several funcs.
7310 (realizeFont): take a ParagraphList::iterator as arg.
7311 (getLayoutFont): ditto
7312 (getLabelFont): ditto
7313 (setCharFont): ditto
7315 * text.C: adjust several funcs.
7317 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7319 * text.C (selectNextWordToSpellcheck): don't accidentally
7322 2003-04-10 John Levon <levon@movementarian.org>
7324 * ToolbarBackend.C (getIcon): special handling for
7327 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
7329 * text2.C (cursorRight): a getChar assert fixed
7331 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7333 * text2.C (getFont): change to take a ParagraphList::iterator
7334 instead of Paragraph*
7335 Adjust several functions.
7337 * text.C (transformChar): change to take a ParagraphList::iterator
7338 instead of Paragraph*
7339 (singleWidth): ditto
7340 Adjust several functions.
7342 * rowpainter.C: adjust several functions
7343 * rowpainter.h:store a ParagraphList::iterator and not a
7347 2003-04-09 John Levon <levon@movementarian.org>
7352 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
7353 and the "help" bits as well
7355 2003-04-09 John Levon <levon@movementarian.org>
7358 * ToolbarBackend.C: allow multiple toolbars
7360 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
7362 * undo_funcs.C (setCursorParUndo): adjust
7364 * text_funcs.C (transposeChars): adjust
7366 * text3.C (gotoNextInset): adjust
7369 * text2.C (setLayout): adjust
7370 (changeDepth): adjust
7372 (redoParagraphs): adjust
7373 (selectionAsString): adjust
7374 (setParagraph): adjust
7375 (insertInset): adjust
7376 (cutSelection): adjust
7377 (copySelection): adjust
7378 (pasteSelection): adjust
7379 (insertStringAsLines): adjust
7380 (updateInset): adjust
7381 (setCursor): change to take a ParagraphList::iterator parameter
7382 (setCursorIntern): change to take a ParagraphList::iterator parameter
7383 (setCurrentFont): adjust
7384 (cursorLeft): adjust
7385 (cursorRight): adjust
7386 (deleteEmptyParagraphMechanism): adjust
7388 * text.C (breakParagraph): adjust
7389 (insertChar): adjust
7390 (acceptChange): adjust
7391 (rejectChange): adjust
7392 (selectNextWordToSpellcheck): adjust
7393 (changeCase): adjust
7397 * lyxfind.C (SearchForward): adjust
7398 (SearchBackward): adjust
7399 (nextChange): adjust
7401 * lyxcursor.C (par): adjust
7403 * lyxcursor.h: store a ParagraphList::iterator instead of a
7406 * lyx_cb.C (getPossibleLabel): adjust
7408 * bufferview_funcs.C (toggleAndShow): adjust
7410 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7413 * BufferView.C (removeAutoInsets): adjust
7414 (lockedInsetStoreUndo): adjust
7416 2003-04-09 John Levon <levon@movementarian.org>
7418 * ToolbarBackend.C: try icon without argument
7419 if with argument fails
7421 2003-04-08 John Levon <levon@movementarian.org>
7424 * ToolbarBackend.C: add getIcon(), handle tooltip,
7425 and change from "Icon" to "Item".
7427 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7429 * BufferView.C (lockInset): another bad getchar crunched
7431 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
7433 * text2.C (changeDepth): do not setUndo on test_only (make undo work
7436 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
7438 * lyxfind.C (searchForward, searchBackwards): bug 782
7440 2003-04-07 John Levon <levon@movementarian.org>
7442 * paragraph.C: remove dead comment
7444 * text.C: remove troublesome depth-fiddling code
7445 in leftMargin() and rightMargin() (bug 1017)
7447 * text.C: fix breaking of rows in nested lists
7450 * text2.C (updateCounters): fix up depth values
7453 2003-04-07 John Levon <levon@movementarian.org>
7455 * BufferView_pimpl.C: clear message when doc finishes resizing,
7456 and after a mouse event
7458 * lyxfunc.C: clear message after exiting inset
7460 2003-04-07 John Levon <levon@movementarian.org>
7462 * bufferview_funcs.C: show math status not outside
7463 status in the statusbar
7465 2003-04-07 John Levon <levon@movementarian.org>
7467 * lyxfunc.C: note status changed after a depth change
7469 2003-04-04 Angus Leeming <leeming@lyx.org>
7471 * LaTeX.h: move AuxInfo operator==, != out of line.
7472 Remove LaTeX virtual destructor; nothing derives from it.
7473 Move operator()() out of public area and rename it startscript().
7474 Change protected for private.
7476 2003-04-04 Angus Leeming <leeming@lyx.org>
7479 * text2.C: remove unneeded #includes.
7481 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7483 * text2.C (dEPM): fix the heigth of the next row
7485 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
7487 * text.C: squashed an invalid getChar requester + some ws changes
7489 2003-04-03 John Levon <levon@movementarian.org>
7491 * bufferview_funcs.h:
7492 * bufferview_funcs.C:
7495 * text2.C: make getStatus work for the env depth lfuns
7497 2003-04-03 John Levon <levon@movementarian.org>
7499 * bufferview_funcs.h:
7500 * bufferview_funcs.C:
7503 * text2.C: parlistize decDepth(), by merging it with incDepth()
7505 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7507 * lyxrow.h: store a ParagraphList::iterator instead of a
7508 Paragraph* and adjust other class functions to suit.
7510 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7513 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7515 * text2.C (setCursor): do not anchor to cursor row for the time being
7517 2003-04-02 John Levon <levon@movementarian.org>
7524 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7526 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7528 * paragraph.h: make ParagraphList and ParagraphList::iterator
7529 friends of Paragraph.
7531 * buffer.C (makeLinuxDocFile): move towards ParagraphList
7533 * ParagraphList.C: Use the private next_ and previous_ from
7536 2003-04-01 John Levon <levon@movementarian.org>
7540 * Makefile.am: rename, remove defaults gunk
7543 * MenuBackend.C: remove defaults gunk
7546 * Languages.C: remove defaults gunk
7549 * lyx_main.C: error out if files couldn't be found.
7551 2003-04-02 John Levon <levon@movementarian.org>
7553 * text2.C: make incDepth() use parlist
7555 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7557 * undo_funcs.C (firstUndoParagraph): adjust
7559 * text3.C (gotoInset): adjust
7560 (dispatch): adjust, and rewrite loop.
7562 * text2.C (init): adjust, and rewrite loop.
7563 (redoParagraphs): adjust
7564 (updateInset): adjust, and rewrite loop.
7565 (deleteEmptyParagraphMechanism): adjust
7567 * tabular.C (LyXTabular): adjust
7568 (SetMultiColumn): adjust
7571 * lyxtext.[Ch] (ownerParagraph): delete function
7572 (ownerParagraphs): new function returns a ParagraphList.
7574 * BufferView.C (removeAutoInsets): adjust
7575 (insertErrors): adjust
7576 (setCursorFromRow): adjust
7578 2003-04-01 Angus Leeming <leeming@lyx.org>
7580 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7583 2003-04-02 John Levon <levon@movementarian.org>
7589 * text_funcs.C: make transposeChars a free function
7591 * lyxrow_funcs.C: remove wrong comment
7593 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7596 * rowpainter.C: adjust
7601 * lyxrow_funcs. [Ch]: new files
7603 * lyxrow.[Ch]: remove next and previous pointers
7604 (next,previous): remove accessor functions
7605 (isParEnd): move to lyxrow_funcs
7606 (lastPos): move to lyxrow_funcs
7607 (nextRowIsAllInset): move to lyxrow_funcs
7608 (lastPrintablePos): move to lyxrow_funcs
7609 (numberOfSeparators): move to lyxrow_funcs
7610 (numberOfHfills): move to lyxrow_funcs
7611 (numberOfLabelHfills): move to lyxrow_funcs
7612 (hfillExpansion): move to lyxrow_funcs
7616 * bufferview_funcs.C (toggleAndShow): adjust
7618 * RowList.h: Remove class RowList from file leave just a
7621 * RowList.C: delete file
7623 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7626 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7628 * text3.C (cursorPrevious): adjust
7629 (cursorNext): adjust
7632 * text2.C (redoHeightOfParagraph): adjust
7633 (redoDrawingOfParagraph): adjust
7636 * text.C (breakParagraph): adjust
7637 (insertChar): adjust
7640 * rowpainter.C (RowPainter): adjust
7641 (leftMargin): simplify and adjust
7642 (most rowpainter functions): adjust.
7644 * rowpainter.h: store the row as RowList::iterator not as Row*
7646 * lyxcursor.C (row): taka RowList::iterator as arg
7649 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7652 2003-04-01 Angus Leeming <leeming@lyx.org>
7654 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7655 stuff like bool Bool.
7657 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
7659 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7662 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
7664 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7667 * lyxtext.h (rows): drop one version and leve a const variant that
7668 returns a RowList::iterator.
7670 2003-03-31 Angus Leeming <leeming@lyx.org>
7672 * text.C (fill): ensure that the signature is the same as that in the
7675 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7677 * text2.C (redoParagraphs): adjust
7678 (updateCounters): adjust
7679 (checkParagraph): adjust
7680 (getColumnNearX): adjust and reformat a bit.
7682 * text.C (top_y): adjust
7684 (leftMargin): adjust
7685 (prepareToPrint): adjust
7687 (getRowNearY): adjust
7689 * lyxtext.h: make rowlist_ mutable.
7691 * RowList.h: add const_iterator
7692 * RowList.C: adjust for RowList::const_iterator.
7694 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7697 2003-03-31 John Levon <levon@movementarian.org>
7700 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7702 * lyx_main.C: set default fonts from using lyx_gui funcs
7704 * exporter.C: pdf_mode moved from lyxrc
7707 * lyxfunc.C: changes from above
7709 2003-03-31 John Levon <levon@movementarian.org>
7711 * lyx_main.C: fix to the last fix
7713 2003-03-31 John Levon <levon@movementarian.org>
7715 * bufferlist.C: "Load original" -> "Load Original"
7721 * format.C: more Alert cleanups
7723 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7725 * text2.C (removeParagraph): make it take a RowList::iterator as
7727 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7728 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7730 * text.C (anchor_row): make it take a RowList::iterator as arg,
7732 (computeBidiTables): make it take a const reference to Row instead
7733 of Row pointer, adjust.
7734 (leftMargin): make it take a RowList::iterator as arg, adjust.
7735 (rowBreakPoint): adjust
7736 (breakAgainOneRow): make it take a RowList::iterator as arg,
7738 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7740 * bufferview_funcs.C (toggleAndShow): adjust
7742 2003-03-30 John Levon <levon@movementarian.org>
7746 * boost-inst.C: moved to support
7748 * several files: changes as a result
7750 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7752 * text2.C (LyXText): adjust.
7754 (removeRow): make it take a RowList::iterator as arg, adjust.
7755 (fullRebreak): adjust
7756 (deleteEmptyParagraphMechanism): adjust
7757 (clearPaint): adjust
7760 * text.C (top_y): adjust
7761 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7762 (breakAgain): make it take a RowList::iterator as arg, adjust.
7763 (breakParagraph): adjust
7764 (insertChar): adjust
7767 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7768 need_break_row, and refresh_row.
7770 * text3.C (dispatch): adjust
7772 * text2.C (checkParagraph): adjust
7774 (setCursorFromCoordinates): adjust
7776 * text.C (top_y): adjust
7778 (getRow): make it return a RowList::iterator, adjust
7779 (getRowNearY): make it return a RowList::iterator, adjust
7781 * text2.C (init): adjust
7782 (insertRow): remove function
7783 (insertParagraph): adjust
7784 (redoParagraphs): adjust
7785 (fullRebreak): adjust
7786 (updateCounters): adjust
7788 * text.C (top_y): rewrite to use RowList iterators.
7790 (setHeightOfRow): rewrite to sue RowList iterators.
7791 (appendParagraph): adjust
7792 (breakAgain): adjust
7793 (breakAgainOneRow): adjust
7794 (breakParagraph): adjust
7796 (getRowNearY): adjust, and remove commented code.
7798 * lyxtext.h (firstRow): delete function
7799 (lastRow): delete function
7800 (rows): new function (const and non-const versions.)
7801 (insertRow): delete function
7803 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7805 2003-03-29 John Levon <levon@movementarian.org>
7807 * BufferView_pimpl.C: always update scrollbar top
7808 because pasting text when we're anchored could mean we
7809 miss an update altogether
7811 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7813 * text2.C (init): use rowlist_.end() and not 0.
7814 (insertRow): change to take a RowList::iterator as arg, adjust
7816 (insertParagraph): change to take a RowList::iterator as arg,
7818 (redoParagraphs): remove some debug msgs.
7820 * text.C (appendParagraph): change to take a RowList::iterator
7821 arg, adjust for this.
7822 (breakAgain): add an assert
7823 (breakAgainOneRow): ditto
7825 2003-03-29 John Levon <levon@movementarian.org>
7827 * text2.C: do not clear selection after inc/decDepth
7830 2003-03-29 John Levon <levon@movementarian.org>
7833 * buffer.C: fix broken strerrors according to Lars
7835 2003-03-29 John Levon <levon@movementarian.org>
7837 * converters.C: more Alert cleanups
7839 2003-03-29 John Levon <levon@movementarian.org>
7841 * bufferview_funcs.C: remove pointless Alert
7843 * buffer.C: fix confusing error message when
7844 a template is chmoded 000
7846 2003-03-29 John Levon <levon@movementarian.org>
7850 * BufferView_pimpl.C: Alert fixes
7854 * tabular-old.C: remove unused table compat reading
7856 2003-03-29 John Levon <levon@movementarian.org>
7861 * lyx_cb.C: more Alert cleanups
7863 * lyxfunc.C: don't allow chktex if not latex document
7865 2003-03-29 John Levon <levon@movementarian.org>
7869 * buffer.C: warnings pushed down from support/,
7872 2003-03-29 John Levon <levon@movementarian.org>
7874 * lyxfunc.C: safety check for C-r (revert)
7876 2003-03-29 John Levon <levon@movementarian.org>
7879 * bufferlist.C: several UI fixes using Alert::prompt.
7880 Fix the pointless looping quit code. Fix stupid revert
7885 * lyx_cb.C: use Alert::prompt
7887 * lyx_main.C: remove a silly question
7889 * lyxfunc.C: remove a couple of silly questions,
7892 2003-03-28 John Levon <levon@movementarian.org>
7894 * text2.C: fix bug 974 (End on empty par)
7896 2003-03-28 John Levon <levon@movementarian.org>
7898 * BufferView_pimpl.C:
7900 * lfuns.h: remove do-nothing math greek lfuns
7902 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7904 * lyxgluelength.h (isValidGlueLength): add default arg on
7905 parameter 2. Remove default arg from friend in class.
7907 * lyxlength.h (isValidLength): add default arg on parameter 2.
7908 Remove default arg from friend in class.
7910 * text2.C (LyXText): adjust, initialize refresh_row.
7914 (insertParagraph): adjst
7915 (redoParagraphs): adjust
7916 (fullRebreak): adjust
7917 (updateCounters): adjust
7918 (deleteEmptyParagraphMechanism): first attempt at fixing a
7921 * text.C (top_y): adjust
7922 (setHeightOfRow): adjust
7924 (getRowNearY): adjust
7926 * lyxtext.h: include RowList.h
7927 (~LyXText): not needed anymore, deleted.
7928 (firstRow): modify for RowList
7929 (lastRow): new function
7930 Delete firstrow and lastrow class variables, add a Rowlist
7931 rowlist_ class variable.
7933 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7936 * RowList.C (insert): fix case where it == begin().
7938 2003-03-26 Angus Leeming <leeming@lyx.org>
7940 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7941 the thesaurus dialog.
7943 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7945 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7947 * RowList.[Ch]: new files
7949 * ParagraphList.C (erase): handle the case where it == begin
7952 2003-03-25 John Levon <levon@movementarian.org>
7956 * aspell.C: add new aspell support
7959 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7962 2003-03-25 Angus Leeming <leeming@lyx.org>
7965 * LyXAction.C (init): new LFUN_INSET_INSERT.
7967 * BufferView_pimpl.C (dispatch): split out part of the
7968 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7970 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7973 2003-03-25 Angus Leeming <leeming@lyx.org>
7975 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7977 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7980 * text3.C: remove useless row->height(0)
7982 2003-03-25 John Levon <levon@movementarian.org>
7986 * text3.C: rename the refreshing stuff to better names
7988 2003-03-24 John Levon <levon@movementarian.org>
7990 * BufferView_pimpl.h:
7991 * BufferView_pimpl.C: update layout choice on a mouse
7994 2003-03-23 John Levon <levon@movementarian.org>
7996 * Makefile.am: fix commandtags.h reference
7998 2003-03-22 John Levon <levon@movementarian.org>
8000 * BufferView_pimpl.C:
8005 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
8007 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
8010 * text.C: take the rtl methods out of line
8012 2003-03-21 André Pönitz <poenitz@gmx.net>
8014 * metricsinfo.[Ch]: new files containing structures to be passed around
8015 during the two-phase-drawing...
8017 2003-03-21 André Pönitz <poenitz@gmx.net>
8019 * lyxtextclass.C: read 'environment' tag.
8021 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
8023 * text2.C (removeRow): fix bug 964
8025 2003-03-20 John Levon <levon@movementarian.org>
8029 * text2.C: paint cleanups. Inset::update() dropped font
8032 2003-03-19 John Levon <levon@movementarian.org>
8034 * lyxfunc.C: only fitcursor/markDirty if available()
8036 2003-03-19 John Levon <levon@movementarian.org>
8038 * commandtags.h: rename to ...
8040 * lfuns.h: ... this, and renumber / cleanup
8042 2003-03-19 John Levon <levon@movementarian.org>
8044 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
8045 fit the cursor after an lfun
8049 * BufferView_pimpl.h:
8050 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
8052 * LyXAction.C: layout-character should have ReadOnly
8054 * ParagraphParameters.C:
8056 * bufferview_funcs.C:
8063 * undo_funcs.C: changes from above
8065 2003-03-18 John Levon <levon@movementarian.org>
8067 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
8068 remove it from update()
8070 * lyxfunc.C: update layout choice after an lfun
8072 * text3.C: remove extra updateLayoutChoice()s
8074 2003-03-18 John Levon <levon@movementarian.org>
8076 * text.C: top_y change means full repaint, fix
8077 a drawing bug with cursor movement
8079 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8083 * text2.C: anchor row on setCursor
8085 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
8087 * lyxtext.h: remove almost all mutable keywords
8090 * text3.C: remove const keywords accordingly
8092 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8094 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
8096 (TeXEnvironment): ditto
8099 2003-03-17 John Levon <levon@movementarian.org>
8101 * text.C (rowBreakPoint): remove attempt to fix displayed
8102 math insets inside a manual label
8104 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
8106 * lyxtext.h: remove BufferView* as first arg from almost all class
8108 * other files: adjust.
8110 2003-03-17 John Levon <levon@movementarian.org>
8114 * text2.C: more paint cleanups
8116 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
8119 * rowpainter.C: remove "smart" background painting code
8121 2003-03-16 John Levon <levon@movementarian.org>
8126 * text3.C: add helper functions for setting refresh_row/y
8128 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
8130 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
8131 newline inset which *can* get inserted in the pass_thru layouts.
8132 This is primarily for literate documents.
8134 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
8136 * buffer.C: increment LYX_FORMAT to 223
8138 2003-03-14 André Pönitz <poenitz@gmx.net>
8140 * textclass.h: prepare for environment handling, ws changes
8141 * lyxlayout.C: read latexheader and latexfooter tags
8143 2003-03-14 John Levon <levon@movementarian.org>
8145 * text2.C: rewrite ::status() a bit
8147 2003-03-13 John Levon <levon@movementarian.org>
8149 * lyxtext.h: add some docs
8151 2003-03-13 John Levon <levon@movementarian.org>
8156 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
8158 2003-03-13 John Levon <levon@movementarian.org>
8160 * text3.C: fix appendix redrawing
8162 2003-03-13 John Levon <levon@movementarian.org>
8164 * text.C (setHeightOfRow):
8166 * rowpainter.C: make appendix mark have the text
8167 "Appendix" so the user knows what it is
8170 * LColor.C: s/appendixline/appendix/ from above
8172 2003-03-13 John Levon <levon@movementarian.org>
8174 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
8176 * text.C: fix a getChar(pos) bug properly
8178 2003-03-13 Angus Leeming <leeming@lyx.org>
8181 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
8182 Probably only temporary. Let's see how things pan out.
8184 * BufferView.C (unlockInset):
8185 * BufferView_pimpl.C (fitCursor):
8186 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
8188 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
8189 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
8191 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
8192 new functions that convert ParagraphParameters to and from a string.
8194 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
8195 BufferView::Pimpl's dispatch.
8196 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
8198 2003-03-13 André Pönitz <poenitz@gmx.net>
8202 * factory.C: make it aware of InsetEnv
8204 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
8206 * text2.C (setCursor): never ask for one past last
8207 (setCursor): add some debugging messages.
8209 * text.C (singleWidth): never ask for one past last
8210 (singleWidth): ditto
8212 (rightMargin): ditto
8213 (rowBreakPoint): ditto
8214 (setHeightOfRow): ditto
8215 (prepareToPrint): ditto
8217 * rowpainter.C (paintBackground): never ask for one past last
8218 (paintText): never ask for one past last
8220 * paragraph_pimpl.C (getChar): make the assert stricter, never
8221 allow the one past last pos to be taken
8223 * paragraph.C (getChar): ws changes only
8225 * lyxrow.C (nextRowIsAllInset): never ask for one past last
8226 (numberOfSeparators): ditto
8227 (numberOfHfills): ditto
8229 2003-03-12 John Levon <levon@movementarian.org>
8235 * paragraph_funcs.C: fix per-buffer authorlists
8237 2003-03-12 John Levon <levon@movementarian.org>
8239 * text.C: fix newline in right address
8241 2003-03-12 Angus Leeming <leeming@lyx.org>
8243 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
8244 duplicate those in LyXFunc::dispatch.
8248 * ToolbarDefaults.C:
8249 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
8250 Add LFUN_FONTFREE_UPDATE.
8252 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
8253 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
8255 * bufferview_func.[Ch]: several new functions to facilliate
8256 transfer of data to and from the character dialog.
8258 2003-03-12 John Levon <levon@movementarian.org>
8263 * paragraph_funcs.C:
8264 * paragraph_pimpl.C:
8268 * text3.C: remove META_NEWLINE in favour of an inset
8271 * rowpainter.C: remove paintNewline (done by inset)
8273 2003-03-12 John Levon <levon@movementarian.org>
8275 * paragraph_pimpl.C: complain about bad getChar()s
8276 for a while at least
8278 2003-03-12 John Levon <levon@movementarian.org>
8281 * buffer.C: move paragraph read into a separate function,
8282 a little renaming to reflect that.
8285 * bufferparams.C: remove the author_ids map, not necessary now
8288 * factory.C: moved Buffer::readInset to here
8290 * paragraph_funcs.h:
8291 * paragraph_funcs.C: readParagraph free function moved from
8294 * tabular.C: name change
8296 2003-03-12 John Levon <levon@movementarian.org>
8299 * ParagraphParameters.C: move par params input to
8302 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
8303 behave like a normal read from the stream wrt reading
8304 a line vs. a \\token
8306 2003-03-12 John Levon <levon@movementarian.org>
8309 * ParagraphParameters.h:
8310 * ParagraphParameters.C: move output code to a
8313 2003-03-12 John Levon <levon@movementarian.org>
8315 * BufferView.C (insertLyXFile):
8318 * tabular.C: use a parlist iterator for creating the
8321 2003-03-12 John Levon <levon@movementarian.org>
8323 * buffer.C: make current_change static local not
8326 2003-03-12 John Levon <levon@movementarian.org>
8328 * buffer.C: fix insertStringAsLines for change tracking
8330 2003-03-12 John Levon <levon@movementarian.org>
8337 * bufferparams.C: move author list into params. Rename some
8338 functions. Move the header reading into a separate token
8339 loop. Move the header token reading into BufferParams.
8341 2003-03-12 John Levon <levon@movementarian.org>
8343 * changes.C: put debug inside lyxerr.debugging() checks
8345 2003-03-11 André Pönitz <poenitz@gmx.net>
8347 * factory.C: make it aware of InsetHFill
8349 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
8351 * buffer.C (latexParagraphs): move function from here...
8352 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
8355 2003-03-10 Angus Leeming <leeming@lyx.org>
8357 * LyXAction.C (init): fix bug in poplating array with multiple entries
8358 with the same LFUN (spotted by JMarc).
8360 2003-03-10 John Levon <levon@movementarian.org>
8363 * text2.C: move getColumnNearX() near its
8366 2003-03-10 John Levon <levon@movementarian.org>
8368 * text.C: fix break before a minipage
8370 2003-03-10 John Levon <levon@movementarian.org>
8372 * text.C: fix the last commit
8374 2003-03-09 John Levon <levon@movementarian.org>
8378 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
8379 bug 365 (don't break before insets unless needed). Don't
8380 return a value > last under any circumstances.
8382 2003-03-09 Angus Leeming <leeming@lyx.org>
8384 * BufferView_pimpl.C (trackChanges, dispatch): call
8385 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
8387 2003-03-09 Angus Leeming <leeming@lyx.org>
8389 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
8390 than Dialogs::showAboutlyx().
8392 2003-03-09 Angus Leeming <leeming@lyx.org>
8394 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
8395 than Dialogs::showTabularCreate().
8397 2003-03-09 John Levon <levon@movementarian.org>
8401 * text2.C: 3rd arg to nextBreakPoint was always the same.
8404 2003-03-08 John Levon <levon@movementarian.org>
8411 * text2.C: Remove the "main" bit from the "main body"
8414 2003-03-08 John Levon <levon@movementarian.org>
8416 * text.C (leftMargin): The left margin of an empty
8417 manual label paragraph should not include the label width
8420 * text.C (prepareToPrint): don't attempt to measure hfills
8421 for empty manual label paragraphs - the answer should be 0
8423 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8425 * CutAndPaste.C: remove commented code and reindent.
8427 2003-03-08 John Levon <levon@movementarian.org>
8430 * lyxfunc.C: move reloadBuffer()
8433 * BufferView.C: to here
8435 * lyxvc.C: add comment
8438 * vc-backend.C: call bv->reload() to avoid
8439 getStatus() check on MENURELOAD
8441 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
8443 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8444 to an old format .dep file.
8446 2003-03-07 Angus Leeming <leeming@lyx.org>
8448 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8449 when the LFUN_MOUSE_RELEASE should have been handled by
8450 inset->localDispatch.
8452 2003-03-07 Angus Leeming <leeming@lyx.org>
8454 * BufferView_pimpl.C (dispatch):
8455 * LyXAction.C (init):
8456 * ToolbarDefaults.C (init):
8458 * lyxfunc.C (getStatus):
8459 remove LFUN_INSET_GRAPHICS.
8461 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8463 2003-03-07 Angus Leeming <leeming@lyx.org>
8466 * LyXAction.C (init):
8467 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8469 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8472 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8474 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8475 localDispatch method LFUN_INSET_DIALOG_UPDATE.
8477 2003-03-07 Angus Leeming <leeming@lyx.org>
8479 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8482 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8484 * ParagraphList.C (front): new function
8487 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
8489 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8490 and top_row_offset_. removed var first_y.
8492 * text2.C (LyXText, removeRow):
8494 * BufferView_pimpl.C:
8495 use these methods instead of using first_y
8497 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8499 * text2.C (pasteSelection): adjust for checkPastePossible
8501 * CutAndPaste.C: remove Paragraph * buf and replace with
8502 ParagraphList paragraphs.
8503 (DeleteBuffer): delete
8504 (cutSelection): change the tc type to textclass_type
8505 (copySelection): change the tc type to textclass_type
8506 (copySelection): adjust for ParagraphList
8507 (pasteSelection): change the tc type to textclass_type
8508 (pasteSelection): adjust for Paragraphlist
8509 (nrOfParagraphs): simplify for ParagraphList
8510 (checkPastePossible): simplify for ParagraphList
8511 (checkPastePossible): remove unused arg
8513 * ParagraphList.C (insert): handle the case where there are no
8516 * CutAndPaste.h: make CutAndPaste a namespace.
8518 * text3.C (dispatch): adjust
8520 * text.C (breakParagraph): add a ParagraphList as arg
8522 * paragraph_funcs.C (breakParagraph): change to take a
8523 BufferParams and a ParagraphList as args.
8524 (breakParagraphConservative): ditto
8525 (mergeParagraph): ditto
8526 (TeXDeeper): add a ParagraphList arg
8527 (TeXEnvironment): ditto
8530 * buffer.C (readLyXformat2): adjust
8531 (insertStringAsLines): adjust
8532 (latexParagraphs): adjust
8534 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8535 (cutSelection): adjust
8536 (pasteSelection): adjust
8538 * BufferView_pimpl.C (insertInset): adjust
8540 2003-03-05 Angus Leeming <leeming@lyx.org>
8543 * LyXAction.C (init):
8544 * BufferView_pimpl.C (dispatch):
8545 * lyxfunc.C (getStatus):
8546 remove LFUN_CHILD_INSERT.
8548 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8550 2003-03-05 Angus Leeming <leeming@lyx.org>
8553 * LyXAction.C (init):
8554 * src/factory.C (createInset):
8555 * lyxfunc.C (getStatus):
8556 * text3.C (dispatch):
8557 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8559 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8561 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8563 * ParagraphList.C (insert): handle insert right before end()
8564 (erase): fix cases where it can be first or last paragraph.
8566 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8568 * paragraph_funcs.C (TeXEnvironment): remove all usage of
8569 Paragraph::next and Paragraph::previous
8572 * text.C (breakParagraph): adjust
8574 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8575 BufferParams& as arg.
8576 (breakParagraph): use ParagraphList::insert
8577 (breakParagraphConservative): take a Buffer* instead of a
8578 BufferParams& as arg.
8579 (breakParagraphConservative): use ParagraphList::insert.
8581 * buffer.C (insertStringAsLines): un-const it
8582 (insertStringAsLines): adjust
8584 * ParagraphList.C (insert): new function
8586 * CutAndPaste.C (pasteSelection): adjust
8588 * text.C (backspace): adjust
8590 * tabular.C (SetMultiColumn): adjust
8592 * CutAndPaste.C (cutSelection): adjust
8593 (pasteSelection): adjust
8595 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8596 Buffer const * as arg
8598 * ParagraphList.C (erase): new function
8599 * paragraph_funcs.C (mergeParagraph): use it
8600 (mergeParagraph): make it take a Buffer* instead of a
8601 BufferParams* as arg
8603 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8605 (breakParagraphConservative): ditto
8607 * paragraph.h: remove the breakParagraph friend
8609 * paragraph.C (eraseIntern): new function
8610 (setChange): new function
8612 * paragraph_funcs.C (mergeParagraph): make it take a
8613 ParagraphList::iterator instead of a Paragraph *, adjust
8616 * paragraph.h: move an #endif so that the change tracking stuff
8617 also works in the NO_NEXT case.
8619 2003-03-04 Angus Leeming <leeming@lyx.org>
8622 * LyXAction.C: new LFUN_INSET_MODIFY.
8624 * BufferView_pimpl.C (dispatch): if an inset is found to be open
8625 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8627 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8629 * several files: ws changes only
8631 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8632 (TeXEnvironment): ditto
8635 * buffer.C (makeLaTeXFile): adjust
8636 (latexParagraphs): make it take ParagraphList::iterator as args
8638 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
8640 * buffer.C (latexParagraphs): adjust
8642 * paragraph.C (TeXOnePar): move function...
8643 (optArgInset): move function...
8644 (TeXEnvironment): move function...
8645 * paragraph_pimpl.C (TeXDeeper): move function...
8646 * paragraph_funcs.C: ...here
8648 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8650 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8652 * buffer.C (readInset): remove compability code for old Figure and
8655 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8657 * buffer.C: ws changes
8660 * BufferView_pimpl.C: ditto
8663 * bufferlist.h: ditto
8667 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
8669 * converter.[Ch]: split into itself +
8672 * Makefile.am: += graph.[Ch] + format.[Ch]
8679 * lyxrc.C: added #include "format.h"
8681 2003-02-27 Angus Leeming <leeming@lyx.org>
8683 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8686 * factory.C (createInset): add "label" to the factory.
8688 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8689 string and do no more.
8691 2003-02-27 Angus Leeming <leeming@lyx.org>
8694 * LyXAction.C (init):
8695 * factory.C (createInset):
8696 * BufferView_pimpl.C (dispatch):
8697 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8699 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8701 * lyxfunc.C (dispatch):
8702 * text3.C (dispatch): pass name to params2string.
8704 2003-02-26 Angus Leeming <leeming@lyx.org>
8706 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8708 Rearrange the ~includes. Strip out the unnecessary ones.
8710 * factory.C (createInset): reformat.
8711 create new insets for the various LFUN_XYZ_APPLY lfuns.
8713 2003-02-26 John Levon <levon@movementarian.org>
8716 * lyxrow.C: add isParStart,isParEnd helpers
8718 * paragraph.h: make isInserted/DeletedText take refs
8720 * paragraph_funcs.h:
8721 * paragraph_funcs.C: remove #if 0'd code
8726 * text.C: use lyxrow helpers above.
8727 Move draw and paint routines to RowPainter.
8728 Make several methods use refs not pointers.
8729 Make backgroundColor() const.
8730 Add markChangeInDraw(), isInInset().
8731 Merge changeRegionCase into changeCase.
8732 Make workWidth() shouldn't-happen code into an Assert.
8735 * rowpainter.C: new class for painting a row.
8738 * vspace.C: make inPixels take a ref
8740 2003-02-26 Angus Leeming <leeming@lyx.org>
8742 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8745 2003-02-25 John Levon <levon@movementarian.org>
8747 * ispell.C: give the forked command a more accurate name
8749 2003-02-22 John Levon <levon@movementarian.org>
8752 * toc.C: make TocItem store an id not a Paragraph *
8755 2003-02-21 Angus Leeming <leeming@lyx.org>
8757 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8758 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8759 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8760 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8761 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8762 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8764 * BufferView_pimpl.C (dispatch):
8765 * LyXAction.C (init):
8766 * factory.C (createInset):
8767 * lyxfunc.C (getStatus, dispatch):
8768 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8770 2003-02-21 Angus Leeming <leeming@lyx.org>
8772 * BufferView_pimpl.C (MenuInsertLyXFile):
8773 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8774 * lyxfunc.C (menuNew, open, doImport):
8775 no longer pass a LyXView & to fileDlg.
8777 2003-02-21 Angus Leeming <leeming@lyx.org>
8779 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8780 * LyXAction.C: change, BIBKEY to BIBITEM.
8781 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8782 Change InsetBibKey to InsetBibitem.
8783 Change BIBKEY_CODE to BIBITEM_CODE.
8784 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8785 * factory.C: replace insetbib.h with insetbibitem.h.
8786 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8787 * paragraph.C: replace insetbib.h with insetbibitem.h.
8788 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8789 Change bibkey() to bibitem().
8790 * text.C: remove insetbib.h.
8791 * text2.C: replace insetbib.h with insetbibitem.h.
8792 change bibkey() to bibitem().
8793 * text3.C: remove insetbib.h.
8794 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8796 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8798 * lyxrc.C (output): enclose user email in quotes (in case there are
8801 2003-02-18 John Levon <levon@movementarian.org>
8803 * buffer.h: add std::
8805 2003-02-17 John Levon <levon@movementarian.org>
8811 * pspell.C: reworking. Especially in ispell, a large
8812 number of clean ups and bug fixes.
8814 * lyxfunc.C: fix revert to behave sensibly
8816 2003-02-17 André Pönitz <poenitz@gmx.net>
8819 * commandtags.h: new LFUN_INSERT_BIBKEY
8829 * paragraph_func.C: remove special bibkey handling
8831 2003-02-17 John Levon <levon@movementarian.org>
8833 * text.C (Delete): fix case where delete at the end of
8834 the very first paragraph would not merge the pars
8836 2003-02-17 John Levon <levon@movementarian.org>
8838 * lyxrow.C: fix lastPrintablePos()
8840 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8842 * bufferparams.C (writeLaTeX): add a std:here
8844 * buffer.C: and remove a using directive there
8846 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8848 * buffer.C (makeLaTeXFile): move the code that generates the
8851 * bufferparams.C (writeLaTeX): ... in this new method
8853 * LaTeXFeatures.C (getEncodingSet): make const
8854 (getLanguages): make const
8856 * MenuBackend.C (binding): returns the binding associated to this
8858 (add): sets the status of each item by calling getStatus. Adds
8860 (read): add support for OptSubMenu
8861 (expand): remove extra separator at the end of expanded menu
8863 2003-02-15 John Levon <levon@movementarian.org>
8866 * BufferView_pimpl.C:
8868 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8869 inset code that had no actual effect. Remove unneeded status
8872 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8874 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8877 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8879 * text.C (drawLengthMarker): also draw an arrow marker for
8880 symbolic lengths (medskip...)
8882 2003-02-14 John Levon <levon@movementarian.org>
8885 * tabular.C: better method names
8887 2003-02-14 John Levon <levon@movementarian.org>
8889 * BufferView_pimpl.C:
8894 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8895 it's a more accurate name. Remove some pointless uses.
8897 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8899 * text2.C (LyXText): change order of initilizers to shut off
8902 2003-02-14 John Levon <levon@movementarian.org>
8904 * buffer.C: use ParIterator for getParFromID()
8908 * paragraph_pimpl.h:
8909 * paragraph_pimpl.C: remove unused getParFromID()
8911 2003-02-14 John Levon <levon@movementarian.org>
8913 * buffer.C: remove some very old #if 0'd parse code
8915 2003-02-13 John Levon <levon@movementarian.org>
8919 * text2.C: move hfillExpansion(), numberOfSeparators(),
8920 rowLast(), rowLastPrintable(), numberofHfills(),
8921 numberOfLabelHfills() ...
8924 * lyxrow.C: ... to member functions here.
8929 * text.C: remove LyXText::beginningOfMainBody(), and call
8930 p->beginningOfMainBody() directly. Move the check for
8931 LABEL_MANUAL into the latter.
8938 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8944 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8945 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8947 2003-02-13 John Levon <levon@movementarian.org>
8949 * CutAndPaste.C: remove debug
8951 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8953 * paragraph.C (asString): remove two unused variables
8955 * lyxtextclass.C (readTitleType):
8957 (LyXTextClass): handle new members titletype_ and titlename_
8959 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8961 2003-02-09 John Levon <levon@movementarian.org>
8964 * buffer.C: replace hand-coded list with a map for the dep clean
8966 2003-02-08 John Levon <levon@movementarian.org>
8968 * LaTeX.C: consolidate code into showRunMessage() helper
8970 2003-02-08 John Levon <levon@movementarian.org>
8975 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8976 and pass the size in explicitly
8978 * BufferView_pimpl.h:
8979 * BufferView_pimpl.C:
8981 * BufferView.C: add getCurrentChange()
8983 * BufferView_pimpl.h:
8984 * BufferView_pimpl.C: handle change lfuns
8986 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8987 for changes. Mark pasted paragraphs as new.
8989 * support/lyxtime.h:
8990 * support/lyxtime.C:
8991 * DepTable.C: abstract time_t as lyx::time_type
8994 * LColor.C: add colours for new text, deleted text, changebars
8996 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8997 package use "usenames" option.
9001 * LyXAction.C: add change lfuns
9005 * author.C: author handling
9008 * buffer.C: add a per-buffer author list, with first entry as
9009 current author. Handle new .lyx tokens for change tracking. Output
9010 author list to .lyx file. Output dvipost stuff to .tex preamble.
9011 Bump lyx format to 222.
9014 * bufferlist.C: add setCurrentAuthor() to reset current author details
9018 * bufferparams.C: add param for tracking
9020 * bufferview_funcs.C: output change info in minibuffer
9024 * changes.C: add change-tracking structure
9027 * debug.C: add CHANGES debug flag
9030 * lyxfind.C: add code for finding the next change piece
9033 * lyxrc.C: add user_name and user_email
9036 * lyxrow.C: add a metric for the top of the text line
9039 * text.C: implement accept/rejectChange()
9042 * text.C: paint changebars. Paint new/deleted text in the chosen
9043 colours. Strike through deleted text.
9047 * paragraph_pimpl.h:
9048 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
9049 in the current change to the insert functions. Rework erase to
9050 mark text as deleted, adding an eraseIntern() and a range-based
9051 erase(). Implement per-paragraph change lookup and
9054 * paragraph_funcs.C: Fixup paste for change tracking.
9056 * tabular.C: mark added row/columns as new.
9058 * text.C: fix rowLast() to never return -1. Don't allow
9059 spellchecking of deleted text. Track transpose changes. Don't
9060 allow paragraph break or merge where appropriate.
9062 * text2.C: leave cursor at end of selection after a cut.
9064 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9066 * text.C (getLengthMarkerHeight):
9067 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
9068 visible on screen too.
9070 2003-02-07 John Levon <levon@movementarian.org>
9072 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
9074 2003-02-05 Angus Leeming <leeming@lyx.org>
9076 * lyxserver.C (read_ready): revert my patch of 11 September last year
9077 as it sends PC cpu through the roof. Presumably this means that
9078 the lyxserver will no longer run on an Alpha...
9080 2003-01-30 Angus Leeming <leeming@lyx.org>
9082 * factory.C (createInset): create an InsetCommandParam of type "index"
9083 and use it to 'do the right thing'.
9085 * text2.C (getStringToIndex): ensure that cursor position is always
9086 reset to the reset_cursor position.
9088 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9090 * lyxfunc.C (getStatus): "buffer-export custom" should never be
9093 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
9097 * lyxfunc.C: Output messages with identical spelling, punctuation,
9100 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
9102 * MenuBackend.C (expandFormats): List only viewable export formats
9105 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
9108 * lyxfunc.C (getStatus): Make sure that formats other than
9109 "fax" can also be disabled
9111 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9113 * text3.C (dispatch): put the lfuns that insert insets in 3
9114 groups, and call doInsertInset with appropriate arguments.
9115 (doInsertInset): new function, that creates an inset and inserts
9116 it according to some boolean parameters.
9118 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
9120 * buffer.C (readFile): remember to pass on 'par' when calling
9121 readFile recursively.
9123 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9125 * MenuBackend.C (expandFormats): add "..." to import formats.
9127 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
9129 * paragraph.C (asString): Remove XForms RTL hacks.
9131 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
9132 * buffer.C: fix typo
9134 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9136 * Makefile.am (LIBS): delete var
9137 (lyx_LDADD): add @LIBS@ here instead.
9139 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
9141 * Clarify the meaning of "wheel mouse jump"
9143 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9145 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
9148 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9150 * importer.C (Loaders): do not preallocate 3 elements in the
9151 vector, since one ends up with 6 elements otherwise
9153 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9155 * DepTable.C (write): write the file name as last element of the
9156 .dep file (because it may contain spaces)
9157 (read): read info in the right order
9159 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9161 * paragraph_pimpl.C (simpleTeXBlanks):
9162 (simpleTeXSpecialChars):
9163 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
9165 * tabular.C (latex): add some missing case statements. Reindent.
9167 * MenuBackend.C (expandToc): remove unused variable.
9169 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
9178 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
9181 2003-01-05 John Levon <levon@movementarian.org>
9184 * BufferView.C: add getEncoding()
9187 * kbsequence.C: do not store last keypress
9190 * lyxfunc.C: store last keypress here instead. Pass encoding
9193 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9195 * lyx_main.C (init): remove annoying error message when following
9196 symbolic links (bug #780)
9198 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9200 * text.C (insertChar):
9201 * lyxrc.C (getDescription): remove extra spaces
9203 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9205 * lyxrc.C (getDescription): remove extra spaces
9207 2002-12-20 John Levon <levon@movementarian.org>
9209 * text3.C: hack fix for page up/down across tall rows
9211 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9213 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
9216 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9218 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
9219 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
9220 thesaurus is not compiled in
9222 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
9224 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
9226 2002-12-16 Angus Leeming <leeming@lyx.org>
9229 * lyx_main.C (init): remove override_x_deadkeys stuff.
9231 2002-12-12 John Levon <levon@movementarian.org>
9233 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
9234 insert. Only remove shift modifier under strict
9237 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
9239 * MenuBackend.C (expandToc): fix crash.
9241 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
9243 * MenuBackend.C (expandToc): gettext on float names.
9245 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
9247 * lyxlength.[Ch]: set default unit to UNIT_NONE,
9248 implement bool empty() [bug 490]
9250 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
9252 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
9254 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9256 * several files: ws changes
9258 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
9260 * text2.C (setCounter): clean up a bit, use boost.format.
9261 (updateCounters): initialize par upon declaration.
9263 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
9264 if the layout exists. We do not just store the layout any more.
9265 (SwitchLayoutsBetweenClasses): use boost.format
9267 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9269 * converter.C (convert): if from and to files are the same, use a
9270 temporary files as intermediary
9272 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9275 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
9277 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
9279 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
9281 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
9283 * tabular.C (asciiPrintCell): use string(size, char) instead of
9286 * sgml.C (openTag): fix order of arguments to string constructor
9289 * lyxfunc.C (dispatch): use boost.format
9291 * lots of files: change "c" -> 'c'
9293 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
9295 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
9297 2002-11-25 Angus Leeming <leeming@lyx.org>
9299 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
9301 * lyx_main.C (init): compile fix.
9303 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
9305 * lyx_cb.C (start): boost.formatify
9306 do not include <iostream>
9308 * lengthcommon.C: ws only
9310 * boost-inst.C,BoostFormat.h: add more explict instantations
9312 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
9314 * lots of files: handle USE_BOOST_FORMAT
9316 2002-11-21 John Levon <levon@movementarian.org>
9318 * pspell.C: fix compile
9320 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9322 * lyxfunc.C (dispatch): use boost::format
9326 * lyxfont.C (stateText): use boost::format
9328 * lyx_main.C (LyX): use boost::format
9330 (queryUserLyXDir): ditto
9333 (typedef boost::function): use the recommened syntax.
9335 * importer.C (Import): use boost::format
9337 * debug.C (showLevel): use boost::format
9339 * converter.C (view): use boost::format
9344 * bufferview_funcs.C (currentState): use boost::format
9346 * bufferlist.C (emergencyWrite): use boost::format
9348 * buffer.C (readLyXformat2): use boost::format
9349 (parseSingleLyXformat2Token): ditto
9351 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
9353 * LaTeX.C (run): use boost::format
9355 * Chktex.C (scanLogFile): use boost::format
9357 * BufferView_pimpl.C (savePosition): use boost::format
9358 (restorePosition): ditto
9359 (MenuInsertLyXFile): ditto
9361 * BoostFormat.h: help file for explicit instation.
9363 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
9365 * tabular.C (latex): Support for block alignment in fixed width
9368 2002-11-17 John Levon <levon@movementarian.org>
9370 * BufferView_pimpl.C:
9372 * lyxfunc.C: split filedialog into open/save
9374 2002-11-08 Juergen Vigna <jug@sad.it>
9376 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
9377 by my last patch (hopefully).
9379 2002-11-08 John Levon <levon@movementarian.org>
9388 * toc.C: ParConstIterator, and use it (from Lars)
9390 2002-11-07 Ben Stanley <bds02@uow.edu.au>
9392 * lyxtextclass.[Ch]: revise and add doxygen comments
9394 2002-11-07 John Levon <levon@movementarian.org>
9396 * text.C: fix progress value for spellchecker
9398 * toc.C: fix navigate menu for insetwrap inside minipage
9400 * paragraph_funcs.C: added FIXME for suspect code
9402 2002-11-07 John Levon <levon@movementarian.org>
9404 * BufferView_pimpl.C: fix redrawing of insets
9407 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
9409 * text2.C (updateCounters): fix bug 668
9411 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
9413 * text3.C (dispatch): Do not make the buffer dirty when moving the
9416 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9418 * vc-backend.C: STRCONV
9421 * text2.C (setCounter): STRCONV
9423 * paragraph.C (asString): STRCONV
9425 * lyxlength.C (asString): STRCONV
9426 (asLatexString): ditto
9428 * lyxgluelength.C (asString): STRCONV
9429 (asLatexString): ditto
9431 * lyxfunc.C (dispatch): STRCONV
9434 * lyxfont.C (stateText): STRCONV
9436 * importer.C (Import): STRCONV
9438 * counters.C (labelItem): STRCONV
9439 (numberLabel): ditto
9440 (numberLabel): remove unused ostringstream o
9445 * bufferview_funcs.C (currentState): STRCONV
9447 * buffer.C (readFile): STRCONV
9448 (asciiParagraph): ditto
9449 (makeLaTeXFile): ditto
9451 * Spacing.C (writeEnvirBegin): STRCONV
9453 * LaTeXFeatures.C (getLanguages): STRCONV
9454 (getPackages): ditto
9456 (getBabelOptions): ditto
9457 (getTClassPreamble): ditto
9458 (getLyXSGMLEntities): ditto
9459 (getIncludedFiles): ditto
9463 (scanAuxFile): ditto
9466 * LString.h: add the STRCONV macros
9468 * BufferView_pimpl.C (savePosition): STRCONV
9469 (restorePosition): ditto
9470 (MenuInsertLyXFile): ditto
9472 * vc-backend.C (scanMaster): change from submatch[...] to
9475 * funcrequest.C: include config.h
9477 * factory.C: include config.h
9479 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9481 * box.C: include config.h
9483 * LaTeX.C (scanAuxFile): change from submatch[...] to
9487 2002-10-25 Angus Leeming <leeming@lyx.org>
9489 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9491 * ispell.[Ch] (setError): new method.
9492 * ispell.C (c-tor): move out child process into new class LaunchIspell.
9493 Use setError() insetead of goto END.
9495 * lyx_cb.C (AutoSave): move out child process into new class
9498 2002-10-30 John Levon <levon@movementarian.org>
9500 * text3.C: make start appendix undoable
9502 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
9504 * lyxlength.C (inPixels): Fix returned value.
9506 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9509 2002-10-24 Angus Leeming <leeming@lyx.org>
9511 * lyxgluelength.h: no need to forward declare BufferParams
9512 or BufferView, so don't.
9514 2002-10-21 John Levon <levon@movementarian.org>
9516 * BufferView.C: menuUndo ->undo, redo
9518 * BufferView.h: document, remove dead, make some methods private
9520 * paragraph_funcs.h:
9521 * paragraph_funcs.C:
9522 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9527 * sgml.C: move sgml open/close tag into sgml.C
9529 * bufferview_funcs.h: unused prototype
9532 * lyxfunc.C: remove unused
9535 * text.C: remove unused
9537 2002-10-21 John Levon <levon@movementarian.org>
9541 * BufferView_pimpl.h:
9542 * BufferView_pimpl.C: fix mouse wheel handling based on
9543 patch from Darren Freeman
9545 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
9547 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9549 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
9551 * lyxlength.C (inPixels): Fix hanfling of negative length.
9552 Fix LyXLength::MU case.
9554 2002-10-16 John Levon <levon@movementarian.org>
9556 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9558 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9560 * converter.C (view): add support for $$i (file name) and $$p
9561 (file path) for the viewer command. If $$i is not specified, then
9562 it is appended to the command (for compatibility with old syntax)
9564 2002-10-14 Juergen Vigna <jug@sad.it>
9566 * undo_funcs.C (textHandleUndo): alter the order in which the
9567 new undopar is added to the LyXText, as we have to set first
9568 the right prev/next and then add it as otherwise the rebuild of
9569 LyXText is not correct. Also reset the cursor to the right paragraph,
9570 with this IMO we could remove the hack in "redoParagraphs()".
9572 2002-10-09 Angus Leeming <leeming@lyx.org>
9574 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9575 to turn off an optimisation if a new inset is to be inserted.
9577 2002-10-11 André Pönitz <poenitz@gmx.net>
9579 * lyxtext.h: make some functions public to allow access
9580 from inset/lyxtext for handling LFUN_PRIOR/NEXT
9582 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9584 * text3.C (dispatch): when changing layout, avoid an infinite loop
9587 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9589 * lyxrc.C (read): treat a viewer or converter command of "none" as
9592 * MenuBackend.C (expandFormats): for an update, also allow the
9593 formats that are not viewable
9595 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9596 script if it is newer than the lyxrc.defaults in user directory
9598 2002-10-07 André Pönitz <poenitz@gmx.net>
9600 * text.C: Vitaly Lipatov's small i18n fix
9602 2002-09-25 Angus Leeming <leeming@lyx.org>
9604 * ispell.h: doxygen fix.
9606 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
9608 * buffer.h (readFile): Add a new argument to the method, to allow
9609 reading of old-format templates.
9611 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
9613 * toc.C (getTocList): Get TOC from InsetWrap.
9615 2002-09-16 John Levon <levon@movementarian.org>
9617 * lyxfunc.C: check tabular for cut/copy too
9619 2002-09-12 John Levon <levon@movementarian.org>
9624 * factory.C: add header
9626 * paragraph_funcs.h:
9627 * paragraph_funcs.C: cleanup
9629 2002-09-11 John Levon <levon@movementarian.org>
9631 * PrinterParams.h: odd/even default to true
9633 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
9635 * PrinterParams.h: update printer parameters for new xforms dialog
9637 2002-09-11 Angus Leeming <leeming@lyx.org>
9639 * lyxserver.C (read_ready): re-write to make it more transparent
9640 and to make it work in coherent fashion under Tru64 Unix.
9642 2002-09-11 André Pönitz <poenitz@gmx.net>
9646 * text3.C: implement LFUN_WORDSEL
9648 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9650 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9651 make floatlist_ a boost::shared_ptr<FloatList>
9653 * lyxtextclass.C: include FloatList.h
9654 (LyXTextClass): initialize floatlist_
9655 (TextClassTags): add TC_NOFLOAT
9656 (Read): match "nofloat" to TC_NOFLOAT and use it.
9657 (readFloat): modify call to floatlist_
9661 * FloatList.[Ch] (FloatList): remove commented out float
9663 (erase): new function
9665 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
9667 * MenuBackend.C (expandToc): fix crash when there is no document
9670 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
9672 * many files: Add insetwrap.
9674 2002-09-09 John Levon <levon@movementarian.org>
9676 * text2.C: remove confusing and awkward depth wraparound
9678 2002-09-09 John Levon <levon@movementarian.org>
9680 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9683 * buffer.C: remove getIncludeonlyList()
9686 * lyxfunc.C: remove headers
9688 2002-09-09 Juergen Vigna <jug@sad.it>
9690 * text.C (getColumnNearX): fix form Michael this is most
9691 probably a cut&paste bug.
9693 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9695 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9697 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9698 references, ws changes.
9700 * text2.C (init): update counters after init
9701 (insertParagraph): no need to set counter on idividual paragraphs.
9702 (setCounter): access the counters object in the textclass object
9703 on in the buffer object.
9704 (updateCounters): ditto
9706 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9707 shared_ptr<Counters> to avoid loading counters.h in all
9709 (LyXTextClass): initialize ctrs_
9710 (TextClassTags): add TC_COUNTER, and ...
9711 (Read): use it here.
9712 (CounterTags): new tags
9713 (readCounter): new function
9714 (counters): new funtion
9715 (defaultLayoutName): return a const reference
9717 * counters.C (Counters): remove contructor
9718 (newCounter): remove a couple of unneeded statements.
9719 (newCounter): simplify a bit.
9720 (numberLabel): some small formatting changes.
9722 * buffer.[Ch]: remove all traces of counters, move the Counters
9723 object to the LyXTextClass.
9725 2002-09-06 Alain Castera <castera@in2p3.fr>
9727 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9728 package to set the horizontal alignment on fixed width columns.
9731 * lyx_sty.h: added tabularnewline macro def.
9733 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9735 2002-09-06 John Levon <levon@movementarian.org>
9737 * LyXAction.C: tooltips for sub/superscript
9739 * MenuBackend.C: a bit more verbose
9741 * lyxfunc.C: tiny clean
9743 * undo_funcs.C: document undo_frozen
9745 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9747 * counters.C (Counters): add missing algorithm counter.
9749 * text2.C (setCounter): lookup the counter with layouts latexname
9750 instead of by section number.
9751 (setCounter): use a hackish way to lookup the correct enum
9753 a float name->type change
9754 reset enum couners with counter name directly instead of depth value.
9756 * counters.C (Counters): remove the push_backs, change to use the
9757 float type not the float name.
9758 (labelItem): remove unused string, float name->type change
9760 * counters.h: don't include vector, loose the enums and sects vectors
9762 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9764 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9765 (Read): add float->TC_FLOAT to textclassTags
9766 (Read): and handle it in the switch
9767 (readFloat): new function
9769 * FloatList.C (FloatList): comment out the hardcoded float
9772 * lyxlayout.h: ws change.
9774 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9776 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9778 2002-09-03 Angus Leeming <leeming@lyx.org>
9780 * BufferView_pimpl.h: qualified name is not allowed in member
9781 declaration: WorkArea & Pimpl::workarea() const;
9783 * factory.C: added using std::endl directive.
9785 * text3.C: added using std::find and std::vector directives.
9787 2002-08-29 André Pönitz <poenitz@gmx.net>
9790 * text2.C: remove unused member number_of_rows
9793 * BufferView2.C: remove file, move contents to...
9794 * BufferView.C: ... here
9796 * BufferView_pimpl.C:
9797 * factory.C: move more inset creation to factory
9799 * vspace.C: avoid direct usage of LyXText, ws changes
9802 don't provide direct access to WorkArea, use two simple
9803 acessors haveSelction() and workHeight() instead
9806 2002-08-29 John Levon <levon@movementarian.org>
9808 * BufferView_pimpl.C (dispatch): do not continue when
9811 2002-08-28 André Pönitz <poenitz@gmx.net>
9813 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9816 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9818 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9820 * buffer.C: increment LYX_FORMAT to 221
9822 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9823 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9825 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9827 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9829 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9831 * factory.C (createInset): use LyXTextClass::floats
9833 * MenuBackend.C (expandFloatListInsert):
9834 (expandFloatInsert):
9837 * text2.C (setCounter):
9839 * LaTeXFeatures.C (useFloat):
9840 (getFloatDefinitions):
9842 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9844 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9845 floatlist_, with accessor floats().
9847 * FloatList.h: remove global FloatList
9849 2002-08-26 André Pönitz <poenitz@gmx.net>
9851 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9855 * BufferView_pimpl.C:
9856 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9858 2002-08-25 John Levon <levon@movementarian.org>
9860 * LyXAction.C: fix margin note description
9862 2002-08-24 John Levon <levon@movementarian.org>
9866 * bufferview_funcs.C:
9868 * undo_funcs.C: cleanups
9870 * lyxfunc.C: disable CUT/COPY when no selection
9872 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9874 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9875 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9877 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9878 Add backward compatibility to "mono", "gray" and "no".
9880 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9882 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9883 (and file_format >= 200).
9885 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9887 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9889 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9891 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9893 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9895 * BufferView_pimpl.C:
9902 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9903 inset and code to make it work with the paragraph code. The inset
9904 can be anywhere in the paragraph, but will only do the expected
9905 thing in LaTeX if the layout file contains the parameter line
9907 (or more generally, a nonzero value) for that layout.
9909 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9911 * paragraph.h: remove the declaration of undefined counters class
9914 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9916 * text2.C (setCounter): fixed enumeration mis-count as reported by
9917 Dr. Richard Hawkins.
9919 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9921 * paragraph_funcs.h: remove some unneeded includes
9923 * text.C (backspace): pasteParagraph now in global scipe
9925 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9926 (pasteSelection): ditto
9928 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9929 * paragraph_funcs.C (pasteParagraph): ... here
9931 2002-08-20 André Pönitz <poenitz@gmx.net>
9933 * commandtags.h: new LFUNs for swapping/copying table row/colums
9936 * lyxfunc.C: support for new lfuns
9938 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9941 * buffer.[Ch]: remove NO_COMPABILITY stuff
9943 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9945 * boost.C (throw_exception): new file, with helper function for
9946 boost compiled without exceptions.
9951 * ParameterStruct.h:
9952 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9954 * bufferlist.C (emergencyWriteAll): use boost bind
9956 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9958 * text.C: include paragraph_funcs.h
9959 (breakParagraph): breakParagraph is now in global scope
9961 * paragraph_funcs.[Ch]: new files
9963 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9966 * buffer.C: include paragraph_funcs.h
9967 (insertStringAsLines): breakParagraph is now in global scope
9969 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9972 * CutAndPaste.C: include paragraph_funcs.h
9973 (cutSelection): breakParagraphConservative is now in global scope
9974 (pasteSelection): ditto
9976 * buffer.h: declare oprator== and operator!= for
9977 Buffer::inset_iterator
9979 * bufferlist.C (emergencyWrite): don't use fmt(...)
9981 * text3.C: add using std::endl
9983 * BufferView.C (moveCursorUpdate): remove default arg
9985 2002-08-20 André Pönitz <poenitz@gmx.net>
9987 * buffer.[Ch]: move inline functions to .C
9990 * BufferView_pimpl.C:
9992 * buffer.[Ch]: use improved inset_iterator
9995 * paragraph.[Ch]: write one paragraph at a time
9997 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9999 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
10000 style if style is not specified.
10002 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10004 * text2.C (setCounter): when searching for right label for a
10005 caption, make sure to recurse to parent insets (so that a caption
10006 in a minipage in a figure float works) (bug #568)
10008 2002-08-20 André Pönitz <poenitz@gmx.net>
10010 * text3.C: new file for LyXText::dispatch() and helpers
10012 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
10014 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
10016 2002-08-19 André Pönitz <poenitz@gmx.net>
10019 * text.C: new LyXText::dispatch()
10021 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
10023 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
10025 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
10027 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
10030 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10032 * Makefile.am: use $(variables) instead of @substitutions@
10034 2002-08-15 André Pönitz <poenitz@gmx.net>
10037 * BufferView_pimpl.C: streamlining mathed <-> outer world
10041 * LyXAction.C: remove unused LFUN_MATH
10043 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10045 * paragraph.[Ch]: add some NO_NEXT ifdefs.
10047 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
10049 * paragraph.C (Paragraph): reformat a bit
10050 (cutIntoMinibuffer): use builtin InsetList function instad of
10054 * buffer.C: include boost/bind.hpp, add using std::for_each
10055 (writeFileAscii): use ParagraphList iterators
10056 (validate): use for_each for validate traversal of paragraphs
10057 (getBibkeyList): use ParagraphList iterators
10058 (resizeInsets): use for_each to resizeInsetsLyXText for all
10060 (getParFromID): use ParagraphList iterators
10062 * BufferView2.C (lockInset): use paragraph list and iterators
10064 2002-08-14 John Levon <levon@movementarian.org>
10066 * lyxserver.C: remove spurious xforms include
10068 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10070 * lyxfunc.C (getStatus): disable math-extern outside of math mode
10072 2002-08-13 André Pönitz <poenitz@gmx.net>
10075 * lyxfunc.C: further cleaning
10077 2002-08-13 André Pönitz <poenitz@gmx.net>
10079 * funcrequest.h: new constructor
10081 * funcrequest.C: move stuff here from .h
10084 * BufferView_pimpl.C:
10087 * lyxfunc.C: subsequent changes
10089 * lyxfunc.h: new view() member function
10091 * lyxfunc.C: subsequent changes
10093 2002-08-13 Angus Leeming <leeming@lyx.org>
10096 * BufferView_pimpl.C:
10104 changes due to the changed LyXView interface that now returns references
10105 to member variables not pointers.
10107 2002-08-13 Angus Leeming <leeming@lyx.org>
10109 * WordLangTuple (word, lang_code): return references to strings,
10114 * lyxtext.h: forward-declare WordLangTuple.
10119 * text.C: #include "WordLangTuple.h".
10122 * text.C: (selectNextWordToSpellcheck): constify return type.
10124 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
10130 * paragraph_pimpl.h:
10133 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
10134 suggested by Angus.
10135 Made updateCounter always count from start of buffer, and removed
10136 second argument (par).
10137 Reverted floats number display to '#'. Perhaps I'll try again when the
10138 code base is sanitized a bit.
10140 2002-08-12 Angus Leeming <leeming@lyx.org>
10142 * buffer.[Ch] (getLabelList): constify.
10144 2002-08-07 André Pönitz <poenitz@gmx.net>
10146 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
10148 * funcrequest.h: extension to keep mouse (x,y) position
10150 2002-08-12 Juergen Vigna <jug@sad.it>
10152 * BufferView2.C (insertErrors): forbid undo when inserting error
10155 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
10157 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
10159 * ParagraphList.[Ch]: new files
10161 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
10163 * BufferView2.C (lockInset): ParagraphList changes
10166 * bufferlist.C: ditto
10170 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10172 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
10173 unused class variable counter_,
10175 * paragraph.[Ch] (getFirstCounter): delete unused function
10177 * counters.C: include LAssert.h
10178 (reset): add a new function with no arg, change other version to
10179 not have def. arg and to not allow empty arg.
10181 * text2.C (setCounter): remove empty arg from call to Counters::reset
10183 2002-08-11 John Levon <levon@movementarian.org>
10185 * Makefile.am: add WordLangTuple.h
10187 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
10189 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
10190 lyxfunc.C lyxlex_pimpl.C: ws changes only.
10192 * insets/insettext.C: InsetList changes
10194 * graphics/GraphicsSupport.C (operator()): InsetList changes
10196 * toc.C (getTocList): InsetList changes
10198 * paragraph_pimpl.[Ch]: InsetList changes
10200 * paragraph.[Ch]: InsetList changes
10202 * buffer.C (inset_iterator): InsetList changes
10203 (setParagraph): ditto
10204 * buffer.h (inset_iterator): ditto
10205 * iterators.C (operator++): ditto
10206 * iterators.h: ditto
10208 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
10210 * InsetList.[Ch]: new files, most InsetList handling moved out of
10213 * BufferView2.C (removeAutoInsets): InsetList changes
10215 (ChangeInsets): ditto
10217 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
10219 * paragraph_pimpl.h (empty): new function
10221 * paragraph.[Ch] (empty): new function
10223 * other files: use the new Paragraph::empty function
10225 2002-08-09 John Levon <levon@movementarian.org>
10227 * lyxtext.h: remove unused refresh_height
10229 2002-08-09 John Levon <levon@movementarian.org>
10236 * paragraph.C: move sgml char escaping out of paragraph
10239 * paragraph.C: remove id setter
10243 * paragraph_pimpl.C: remove dead tex_code_break_column
10245 * bufferview_funcs.C: small cleanup
10247 * lyxfunc.C: remove dead proto
10249 * lyxtext.h: make some stuff private. Remove some dead stuff.
10251 * lyxgluelength.C: make as[LyX]String() readable
10253 2002-08-08 John Levon <levon@movementarian.org>
10258 * ToolbarDefaults.C:
10261 * toc.C: lyxaction cleanup
10263 2002-08-08 John Levon <levon@movementarian.org>
10265 * BufferView2.C: small cleanup
10268 * lyxfind.C: move unnecessary header into the .C
10270 2002-08-08 John Levon <levon@movementarian.org>
10272 * funcrequest.h: just tedious nonsense
10275 * lyx_main.C: cleanups
10278 * vspace.C: remove dead header lyx_main.h
10280 2002-08-07 Angus Leeming <leeming@lyx.org>
10283 * paragraph_pimpl.h:
10284 Forward declare class Counters in paragraph.h by moving the ctrs member
10285 variable into Paragraph::Pimpl.
10286 (counters): new method, returning a reference to pimpl_->ctrs.
10288 * text2.C: ensuing changes.
10290 2002-08-07 John Levon <levon@movementarian.org>
10292 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
10294 * BufferView_pimpl.C: announce X selection on double/triple
10297 * lyx_main.C: use correct bool in batch dispatch
10299 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
10301 2002-08-07 André Pönitz <poenitz@gmx.net>
10303 * funcrequest.h: new class to wrap a kb_action and its argument
10306 * BufferView_pimpl[Ch]:
10310 * lyxrc.C: subsequent changes
10313 2002-08-07 John Levon <levon@movementarian.org>
10315 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
10316 document options change.
10318 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10323 * makefile.am: move counters functionality over from
10324 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
10326 2002-08-06 John Levon <levon@movementarian.org>
10328 * WordLangTuple.h: new file for word + language code tuple
10339 * BufferView2.C: use WordLangTuple
10342 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
10344 2002-08-06 John Levon <levon@movementarian.org>
10346 * lyx_main.C: fix cmdline batch handling
10348 2002-08-06 André Pönitz <poenitz@gmx.net>
10350 * lyxrc.C: set default for show_banner to true
10352 2002-08-06 John Levon <levon@movementarian.org>
10354 * pspell.C: fix a crash, and allow new aspell to work
10356 2002-08-06 John Levon <levon@movementarian.org>
10359 * kbmap.C: small cleanup
10362 * vspace.C: add const
10364 2002-08-05 John Levon <levon@movementarian.org>
10366 * LyXAction.C: back to tabular-insert
10368 2002-08-04 John Levon <levon@movementarian.org>
10371 * BufferView.C: cosmetic change
10373 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
10383 * BufferView2.C: purge all "Lyx" not "LyX" strings
10386 * lyxcursor.C: attempt to add some documentation
10391 * ToolbarDefaults.C:
10392 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
10393 merge with LFUN_TABULAR_INSERT
10400 * pspell.C: split up i/pspell implementations into separate
10401 files, many cleanups
10403 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
10405 * text2.C: some cleanup
10407 * lyxfunc.C: don't check for isp_command == "none" any more, it
10408 didn't make any sense
10410 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
10415 * makefile.am: move counters functionality over
10416 from text2.C/paragraph.[Ch] to counters.[Ch], and
10418 2002-08-02 John Levon <levon@movementarian.org>
10420 * buffer.C: s/lyxconvert/lyx2lyx/
10422 2002-08-02 Angus Leeming <leeming@lyx.org>
10424 * lyxlex.C: revert John's change as it breaks reading of the user
10427 2002-08-02 Angus Leeming <leeming@lyx.org>
10429 * importer.C (Import):
10430 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10431 changes due to LyXView::view() now returning a boost::shared_ptr.
10433 2002-08-02 John Levon <levon@movementarian.org>
10435 * lyxlex.C: small cleanup
10437 2002-08-02 John Levon <levon@movementarian.org>
10439 * text2.C (status): small cleanup, no logic change
10441 2002-08-01 John Levon <levon@movementarian.org>
10444 * buffer.C (writeFile): don't output alerts, caller
10448 * lyx_cb.C: from above
10450 * lyxfunc.C: allow to open non-existent files
10452 2002-07-31 John Levon <levon@movementarian.org>
10454 * lyxserver.C: don't let incidental errors get
10457 2002-07-30 John Levon <levon@movementarian.org>
10459 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10461 2002-07-30 John Levon <levon@movementarian.org>
10464 * lyxserver.C: remove I/O callback too
10466 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10468 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10471 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
10473 * many files: strip,frontStrip -> trim,ltrim,rtrim
10475 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
10477 * PrinterParams.h: remove extern containsOnly, and include
10478 support/lstrings.h instead.
10480 * LaTeX.C (scanAuxFile): modify because of strip changes
10482 * buffer.C (makeLaTeXFile): ditto
10483 * bufferparams.C (writeFile): ditt
10484 * lyxfont.C (stateText): ditto
10485 * lyxserver.C (read_ready): ditto
10486 * vc-backend.C (scanMaster): ditto
10488 * BufferView_pimpl.h: ws changes
10490 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10492 2002-07-26 André Pönitz <poenitz@gmx.net>
10494 * kb_sequence.C: remove unnedred usings
10496 2002-07-26 Juergen Vigna <jug@sad.it>
10498 * lyxfind.C (LyXReplace): we have to check better if the returned
10499 text is not of theLockingInset()->getLockingInset().
10501 2002-07-25 Juergen Vigna <jug@sad.it>
10503 * lyxfind.C (LyXReplace): don't replace if we don't get the
10506 * undo_funcs.C (createUndo): remove debugging code.
10508 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
10510 * buffer.C (parseSingleLyXformat2Token): Use default placement
10511 when reading old floats.
10513 * FloatList.C (FloatList): Change the default placement of figure
10514 and tables to "tbp".
10516 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
10518 * MenuBackend.C: using std::max
10520 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10522 * MenuBackend.C (expandToc):
10523 (expandToc2): code moved from xforms menu frontend. It is now
10524 generic and TOCs are transparent to menu frontends.
10526 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10528 * toc.C (getTocList): protect against buf=0
10530 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10531 Menu as first parameter. Now, this calls itself recursively to
10532 expand a whole tree (this will be useful for TOC handling)
10533 (expandFloatInsert): remove 'wide' version of floats
10535 * MenuBackend.h (submenuname): returns the name of the submenu.
10536 (submenu): returns the submenu itself, provided it has been
10537 created by MenuBackend::expand
10539 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10541 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10542 insets which have noFontChange == true. (bug #172)
10544 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10546 * BufferView_pimpl.C: add connection objects and use them...
10549 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10551 * MenuBackend.C (expandLastfiles):
10554 (expandFloatListInsert):
10555 (expandFloatInsert):
10556 (expand): split expand in parts
10558 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10560 * lyx_gui.C: use lyx_gui::exit()
10562 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10564 * LyXAction.C: show the failing pseudo action
10566 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
10568 * buffer.C (readFile): Run the lyxconvert script in order to read
10571 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10575 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10577 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
10581 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10583 2002-07-22 Herbert Voss <voss@lyx.org>
10586 * lyxlength.[Ch]: add support for the vertical lengths
10588 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
10590 * toc.[Ch]: std:: fixes
10592 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10594 * lyxrc.C: do not include lyx_main.h
10596 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10602 * BufferView2.C: include "lyxlex.h"
10605 * bufferparams.h: do not #include "lyxlex.h"
10607 * lyxtextclasslist.C (Add): remove method
10608 (classlist): renamed to classlist_
10610 * paragraph_pimpl.C:
10614 * bufferview_funcs.C:
10619 * toc.C (getTocList): use BufferParams::getLyXTextClass
10621 * toc.C (getTocList): use InsetFloat::addToToc
10623 * toc.[Ch]: new files, containing helper functions to handle table
10626 * lyxfunc.C (dispatch): no need to remove spaces around command
10628 (getStatus): handle LFUN_SEQUENCE by returning the status of the
10629 first command of the sequence; it is not very clever, but I do not
10630 have a better idea, actually
10632 * LyXAction.C (LookupFunc): make sure to remove space at the
10633 beginning and end of the command
10635 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10637 * MenuBackend.C (getMenubar): new method: return the menubar of
10639 (read): treat differently reading of menu and menubar (in
10640 particular, the menubar has no name now)
10641 (Menu::menubar): remove
10643 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10646 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10648 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10649 a bibitem inset in a RTL paragraph.
10651 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
10653 * paragraph_pimpl.C: constify
10655 * BufferView_pimpl.C:
10657 * lyxfunc.C: fix dispatch in a nicer way
10659 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10661 * lyxfunc.C (dispatch):
10662 * BufferView_pimpl.C:
10663 * BufferView_pimpl.h:
10665 * BufferView.h: rename Dispatch() to dispatch()
10667 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10669 * lyxlayout.C (Read): honor DependsOn tag
10671 * lyxlayout.[Ch] (depends_on): new method
10673 * version.C.in: update lyx_docversion
10675 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10677 * paragraph.C (validate): remove from here...
10678 * paragraph_pimpl.C (validate): ... and move here
10679 (isTextAt): make it const
10681 * buffer.C (getLists): ws cleanup
10683 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10685 * language.C (read): Use iso8859-1 encoding in latex_lang
10686 (this prevents LyX from crashing when using iso10646-1 encoding).
10688 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10690 * text2.C (toggleInset): if cursor is inside an inset, close the
10691 inset and leave cursor _after_ it
10693 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10695 * lyxfunc.C: move minibuffer completion handling out of here
10697 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10699 * BufferView_pimpl.C:
10700 * LaTeX.C: fix dispatch calls
10702 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10704 * text.C (drawChars): Fix Arabic text rendering.
10706 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10710 * lyxfunc.C: remove message-push/pop
10714 * lyxfunc.C: rationalise some code by removing verboseDispatch
10715 in favour of a bool argument to dispatch()
10717 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10719 * lyx_main.C (init): make sure to read symlinks as absolute paths
10721 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10724 * lyxfunc.C: no need for commandshortcut to be a member
10726 2002-07-15 André Pönitz <poenitz@gmx.net>
10728 * converter.C: add support for $$s (scripts from lib/scripts dir)
10729 * lyx_main.C: white space
10731 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10735 * lyxrc.C: remove second exit confirmation
10737 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10742 * BufferView_pimpl.h:
10743 * BufferView_pimpl.C:
10744 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10746 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10748 * MenuBackend.C (expand): add numeric shortcuts to document menu
10750 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10752 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10754 * lyxfont.C (setLyXFamily):
10761 * buffer.C (asciiParagraph): use ascii_lowercase
10763 2002-07-15 Mike Fabian <mfabian@suse.de>
10765 * lyxlex_pimpl.C (search_kw):
10766 * lyxlex.C (getLongString):
10767 * converter.h (operator<):
10768 * converter.C (operator<):
10769 * buffer.C (parseSingleLyXformat2Token):
10771 * ToolbarDefaults.C (read):
10772 * MenuBackend.C (checkShortcuts):
10774 * LColor.C (getFromGUIName):
10775 (getFromLyXName): use the compare_ascii_no_case instead of
10776 compare_no_case, because in turkish, 'i' is not the lowercase
10777 version of 'I', and thus turkish locale breaks parsing of tags.
10779 2002-07-16 Angus Leeming <leeming@lyx.org>
10781 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10782 now takes a Buffer const & argument.
10784 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10786 * BufferView.C (resize): check there's a buffer to resize
10788 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10790 * lyxfunc.C: remove dead code
10793 * lyxserver.C: use lyx_guii::set_read_callback
10795 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10797 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10798 an inset in a RTL paragraph.
10800 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10802 * lyxfunc.C: repaint after a font size update
10804 2002-07-15 André Pönitz <poenitz@gmx.net>
10806 * lyxlength.C: inBP should be able to return negative values
10808 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10810 * lyxfunc.C: use lyx_gui::update_fonts()
10812 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10814 * lyxfunc.C: use lyx_gui::update_color()
10816 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10822 * lyxrc.C: remove file->new asks for name option, and let
10823 buffer-new take an argument
10825 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10827 * BufferView_pimpl.C: remove unneeded extra repaint()
10829 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10831 * LyXAction.C: allow command-sequence with NoBuffer
10833 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10835 2002-07-10 Angus Leeming <leeming@lyx.org>
10837 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10839 2002-07-09 Angus Leeming <leeming@lyx.org>
10841 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10843 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10845 * lengthcommon.h: whitespace
10847 * lyxfunc.C: update scrollbar after goto paragraph
10849 * lyxtext.h: factor out page break drawing, and fix it so
10850 page break/added space paints as selected nicely
10852 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10854 * BufferView_pimpl.C: add FIXMEs, clean up a little
10856 2002-07-09 André Pönitz <poenitz@gmx.net>
10858 * lyxfont.[Ch]: support for wasy symbols
10860 2002-07-08 André Pönitz <poenitz@gmx.net>
10862 * BufferView_pimpl.C: apply John's patch for #93.
10864 2002-07-05 Angus Leeming <leeming@lyx.org>
10866 * BufferView_pimpl.C (buffer): generate previews if desired.
10868 * LColor.h: add "preview" to the color enum.
10870 * LColor.C (LColor): add a corresponding entry to the items array.
10872 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10875 2002-07-05 Angus Leeming <leeming@lyx.org>
10877 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10878 The body of the code is now in the method that is passed an ostream &
10879 rather than a file name.
10880 Pass an additional only_preamble parameter, useful for the forthcoming
10883 2002-07-03 André Pönitz <poenitz@gmx.net>
10885 * lyxfunc.C: simplify getStatus() a bit for math stuff
10887 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10889 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10891 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10893 * text.C (changeRegionCase): do not change case of all the
10894 document when region ends at paragraph end (bug #461)
10896 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10898 * paragraph.C (startTeXParParams):
10899 (endTeXParParams): add \protect when necessary
10901 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10903 * BufferView_pimpl.C (workAreaExpose): remove warning
10905 2002-06-27 Angus Leeming <leeming@lyx.org>
10907 * Makefile.am: add lyxlayout_ptr_fwd.h.
10909 2002-06-26 André Pönitz <poenitz@gmx.net>
10911 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10913 2002-06-25 Angus Leeming <leeming@lyx.org>
10915 * lyxfunc.C (dispatch): Comment out the call to
10916 grfx::GCache::changeDisplay. The method no longer exists now that the
10917 pixmap generation part of the graphics loader has been moved into
10920 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10922 * text2.C: layout as layout
10924 * text.C: layout as layout
10926 * tabular.C (OldFormatRead): layout as layout
10928 * paragraph_pimpl.C (TeXDeeper): layout as layout
10929 (realizeFont): layout as layout
10931 * paragraph.C (writeFile): layout as layout
10932 (validate): layout as layout
10933 (getFont): layout as layout
10934 (getLabelFont): layout as layout
10935 (getLayoutFont): layout as layout
10936 (breakParagraph): layout as layout
10937 (stripLeadingSpaces): layout as layout
10938 (getEndLabel): layout as layout
10939 (getMaxDepthAfter): layout as layout
10940 (applyLayout): layout as layout
10941 (TeXOnePar): layout as layout
10942 (simpleTeXOnePar): layout as layout
10943 (TeXEnvironment): layout as layout
10944 (layout): layout as layout
10945 (layout): layout as layout
10947 * lyxtextclass.C (compare_name): new functor to work with
10948 shared_ptr, layout as layout
10949 (Read): layout as layout
10950 (hasLayout): layout as layout
10951 (operator): layout as layout
10952 (delete_layout): layout as layout
10953 (defaultLayout): layout as layout
10955 * lyxlayout_ptr_fwd.h: new file
10957 * lyxlayout.C (Read): layout as layout
10959 * lyx_cb.C (MenuInsertLabel): layout as layout
10961 * bufferlist.C (newFile): layout as layout
10963 * buffer.C (readLyXformat2): layout as layout
10964 (parseSingleLyXformat2Token): layout as layout
10965 (insertStringAsLines): layout as layout
10966 (asciiParagraph): layout as layout
10967 (latexParagraphs): layout as layout
10968 (makeLinuxDocFile): layout as layout
10969 (simpleLinuxDocOnePar): layout as layout
10970 (makeDocBookFile): layout as layout
10971 (simpleDocBookOnePar): layout as layout
10972 (getLists): layout as layout
10974 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10976 * CutAndPaste.C (cutSelection): layout as layout
10977 (pasteSelection): layout as layout
10978 (SwitchLayoutsBetweenClasses): layout as layout
10980 * BufferView_pimpl.C (Dispatch): layout as layout
10981 (smartQuote): layout as layout
10983 * BufferView2.C (unlockInset): layout as layout
10985 2002-06-24 André Pönitz <poenitz@gmx.net>
10987 * lyxfunc.C: fix #487
10989 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10993 * lyxfunc.C: remove display_shortcuts, show_banner
10995 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10997 * Buffer_pimpl.C: oops, update on resize
10999 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11006 * BufferView.C: use repaint()
11008 * BufferView_pimpl.h:
11009 * BufferView_pimpl.C: s/updateScreen()/repaint()/
11010 as it's a clearer description. Remove superfluous
11013 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
11015 * text.C: fix bug 488. Not ideal, but getting
11016 getWord() to work properly for the insets that
11017 matter is more difficult ...
11019 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11021 * BufferView_pimpl.C:
11024 * lyxfunc.C: remove the six million index lyxfuncs to just
11025 one, and DTRT (bug 458)
11027 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11031 * BufferView_pimpl.h:
11032 * BufferView_pimpl.C: clean up resize() stuff,
11033 and unnecessary updateScreen()s
11035 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
11039 * BufferView_pimpl.h:
11040 * BufferView_pimpl.C:
11043 * minibuffer.C: remove focus management of workarea,
11044 not needed. Use screen's greyOut()
11046 2002-06-17 Herbert Voss <voss@lyx.org>
11048 * converter.C: (convert) do not post a message, when converting
11049 fails, let the calling function decide what to do in this case
11051 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
11053 * lyxfunc.C: tidy up a little
11055 2002-06-16 <alstrup@diku.dk>
11057 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
11058 Got rid of FORMS_H_LOCATION include. Now we are
11061 2002-06-15 LyX Development team <lyx@rilke>
11063 * buffer.[Ch] (sgmlOpenTag):
11064 (sgmlCloseTag): Added support for avoiding pernicious mixed
11065 content. Return number of lines written.
11067 (makeLinuxDocFile):
11068 (makeDocBookFile): Fixed calls to sgml*Tag.
11069 Simple white space clean.
11071 (simpleDocBookOnePar): Simple white space clean.
11073 * tabular.[Ch] (docBook): Renamed to docbook and got another
11074 argument to related with the pernicious mixed content.
11076 (docbookRow): Fixed calls for docbook inset method.
11078 2002-06-15 Lyx Development team <larsbj@birdstep.com>
11080 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
11081 so it's X11 independent.
11085 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
11087 2002-06-15 Lyx Development team <lyx@electronia>
11089 * intl.h: Renamed getTrans to getTransManager.
11091 2002-06-14 Angus Leeming <leeming@lyx.org>
11093 * Makefile.am: nuke forgotten stl_string_fwd.h.
11095 2002-06-12 Angus Leeming <leeming@lyx.org>
11097 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
11099 2002-06-13 Angus Leeming <leeming@lyx.org>
11102 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
11104 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
11106 * kbmap.C (getiso): add support for cyrillic and greek
11108 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11112 * BufferView_pimpl.h:
11113 * BufferView_pimpl.C: move bogus scrolling logic
11116 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11119 * BufferView_pimpl.C: view->resize() change
11121 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11123 * BufferView_pimpl.C: topCursorVisible
11126 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11130 * lyx_gui.C: move to frontends/
11134 * lyx_main.C: changes from above
11136 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11143 * lyx_main.C: minor tidy
11145 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11147 * BufferView_pimpl.h:
11148 * BufferView_pimpl.C:
11150 * BufferView.C: make painter() const,
11153 * BufferView2.C: use screen() accessor
11156 * lyx_main.C: some minor cleanup
11158 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11160 * BufferView_pimpl.h:
11161 * BufferView_pimpl.C: remove enter/leaveView,
11164 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
11169 * BufferView_pimpl.h:
11170 * BufferView_pimpl.C: only construct screen once,
11173 * lyxrc.C: remove pointless comment
11175 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11178 * BufferView.C: remove active() and belowMouse()
11180 * BufferView_pimpl.h:
11181 * BufferView_pimpl.C: use workarea() not workarea_,
11182 and make it use a scoped_ptr instead
11184 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
11186 * lyx_gui.C: add debug message on BadWindow
11188 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
11190 * sp_spell.C: fdopen is not part of the C++ standard.
11192 * paragraph.C (InsetIterator): use >= instead of ==
11194 2002-06-07 Angus Leeming <leeming@lyx.org>
11196 Fixes needed to compile with Compaq cxx 6.5.
11197 * BufferView_pimpl.C:
11204 * lyxtextclasslist.C:
11209 all c-library variables have been moved into namespace std. Wrap
11210 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
11215 Add a using std::abs declaration.
11217 * kbmap.h (modifier_pair):
11218 * paragraph.h (InsetTable, InsetList):
11219 * lyxfont.h (FontBits):
11220 type definition made public.
11222 * bufferlist.C (emergencyWriteAll): the compiler complains that
11223 there is more than one possible lyx::class_fun template to choose from.
11224 I re-named the void specialisation as lyx::void_class_fun.
11226 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
11228 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
11229 the compiler is is unable to find tostr in write_attribute.
11231 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11233 * buffer.C (sgmlError): hide #warning
11235 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11237 * xtl/*: get rid of xtl, which is not in use anyway
11239 * LyXAction.C (init):
11240 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
11241 were unimplemented xtl experimentation
11243 2002-06-04 André Pönitz <poenitz@gmx.net>
11245 * lyxfunc.C: disable array operation on simple formulae
11247 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
11249 * converter.C: constify a bit
11251 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
11253 * lyx_gui.C: check xforms version correctly
11255 2002-04-30 Herbert Voss <voss@lyx.org>
11257 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
11260 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
11262 * lyxvc.C: fix bug 416 (make sure buffer is saved before
11263 attempt to register it with a VCS)
11265 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11267 * lyx_main.C (init): honor variables LYX_DIR_13x and
11270 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11274 * lyx_main.C: fix a crash on bad command line,
11275 and give a useful exit status on error
11277 * lyxfunc.C (doImport): allow -i lyx to work
11279 2002-03-30 André Pönitz <poenitz@gmx.net>
11281 * lyxfunc.C: mathed font changes
11283 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
11298 * trans_mgr.h: srcdocs, and some minor cleanups
11300 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11302 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
11303 call getFont all the time)
11305 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
11307 * switch from SigC signals to boost::signals
11309 2002-05-29 André Pönitz <poenitz@gmx.net>
11311 * paragraph_pimpl.C (getChar): don't call size() too often...
11313 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11315 * paragraph_pimpl.C (insertChar): do not try to update tables when
11316 appending (pos == size())
11318 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
11319 in order to reduce drastically the number of comparisons needed to
11320 parse a large document
11322 2002-05-29 André Pönitz <poenitz@gmx.net>
11328 * textclasslist.[Ch]:
11329 * sp_ispell.h: whitespace change
11331 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11333 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
11334 lyxaction directly now.
11336 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
11340 * lyxvc.C: remove unused headers
11342 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11349 * undo_funcs.C: some cleanups. Use shared_ptr
11350 and a template for the undo stacks.
11352 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
11354 * BufferView_pimpl.h:
11355 * BufferView_pimpl.C:
11362 * text2.C: use key_state/mouse_state
11364 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11366 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
11369 * chset.C: change include order
11370 (loadFile): use boost regex and get rid of LRegex and LSubstring
11372 * Makefile.am (BOOST_LIBS): new variable
11373 (lyx_LDADD): use it
11375 * LaTeX.C: change include order.
11376 (scanAuxFile): use boost regex and get rid of LRegex and
11380 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11385 * FontInfo.C: moved to frontends/xforms/
11388 * FontLoader.C: moved into frontends for GUIIzation
11393 * lyxfunc.C: changes from above
11395 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
11397 * LColor.C: remove spurious X include
11399 * BufferView_pimpl.C:
11404 * text2.C: move font metrics to frontends/
11406 2002-05-24 Juergen Vigna <jug@sad.it>
11408 * undo_funcs.C (textHandleUndo): fix the cursor selection after
11409 setting the undo_cursor.
11411 * ParagraphParameters.h: include local includes first.
11413 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11415 * BufferView_pimpl.C:
11416 * BufferView_pimpl.h:
11420 * screen.C: move WorkArea into frontends/
11426 * BufferView2.C: move LyXScreen into frontends/
11430 * lyx_gui.C: move lyxlookup into frontends/xforms/
11432 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11435 * BufferView_pimpl.C:
11445 * bufferview_funcs.C:
11458 * vc-backend.C: move LyX/XFormsView into frontends/
11460 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
11472 * text2.C: move Painter to frontends/
11474 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
11476 * buffer.C: comment out some some code that depend upon lyx_format
11479 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11480 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11482 * buffer.h (NO_COMPABILITY): turn off compability
11484 * ColorHandler.C: include scoped_array.hpp
11486 * font.C: Use more specific smart_ptr header.
11489 * ShareContainer.h: ditto
11490 * lyx_main.h: ditto
11492 * FontInfo.h: ditto
11493 * BufferView_pimpl.h: ditto
11494 * ColorHandler.h: ditto
11496 * kbmap.C (defkey): change call to shared_ptr::reset
11498 2002-05-21 Juergen Vigna <jug@sad.it>
11500 * buffer.C (insertErtContents): fix to insert ert asis if it is
11501 non empty. Skip it completely if it contains only whitespaces.
11503 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
11505 * BufferView_pimpl.C:
11506 * BufferView2.C: clear selection on paste (bug 393)
11508 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11510 * DepTable.C: include ctime
11512 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
11514 * buffer.C (latexParagraphs): Add new argument (moving_arg).
11516 2002-05-14 Juergen Vigna <jug@sad.it>
11518 * text.C (breakParagraph): fixed function to honor the keepempty
11519 layout in the right maner and also to permit the right breaking
11520 algorithm on empty or non empyt keepempty paragraphs.
11522 * paragraph.C (breakParagraph): we have to check also if the par
11523 is really empty (!size()) for isempty otherwise we do the wrong
11526 2002-05-10 Juergen Vigna <jug@sad.it>
11528 * buffer.[Ch] : The following are only changes to the ert
11529 compatibility read reading old LaTeX layout and font stuff and
11530 convert it to ERTInsets.
11532 * buffer.h: added isErtInset().
11534 * buffer.C (struct ErtComp): add a fromlayout bool to check
11535 if we're inside a LaTeX layout.
11536 (isErtInset): new helper function.
11537 (insertErtContents): look for other ert insets before this one
11538 and insert the contents there, so that we don't have subsequent
11539 ERT insets with nothing between them. This way we create only one
11540 inset with multiple paragraphs. Also check if we don't insert only
11541 spaces ' ' as they are ignored anyway afterwards in the .tex file
11542 so if we have only spaces we will ignore this latex part in the
11544 (parseSingleLyXformat2Token \\layout): better compatibility when
11545 reading layout-latex stuff.
11546 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11548 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11549 stuff after reading the inset only get the information back from
11552 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
11554 * buffer.C (makeLaTeXFile): Put language options after loading babel.
11556 * LaTeXFeatures.C (getBabelOptions): New method.
11558 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
11560 * BufferView_pimpl.C (Dispatch): work around missing argument for
11563 2002-05-08 Juergen Vigna <jug@sad.it>
11565 * text.C (leftMargin): handle paragraph leftindent.
11567 * paragraph.C (writeFile): write the new \\leftindent tag.
11568 (validate): handle leftindent code.
11569 (TeXEnvironment): handle paragraphleftindent code again.
11571 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11573 * buffer.C (parseSingleLyXformat2Token): added compatibility code
11574 for paragrap_extra indent code and new token \\leftindent.
11575 (latexParagraphs): handle the leftindent as environment.
11577 * ParameterStruct.h: added leftindent support.
11579 * ParagraphParameters.C (leftIndent): added support functions for
11580 the paragraph left indent.
11582 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11585 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
11587 * paragraph.C (isRightToLeftPar): Return false for a paragraph
11590 * text.C (computeBidiTables): No bidi in insetERT.
11592 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11595 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11597 * version.C.in: pre 5
11599 2002-05-02 José Matos <jamatos@fep.up.pt>
11600 * buffer.C (makeDocBookFile): white space changes, add newline to
11602 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11604 * tabular.C (docBook): fix typo.
11606 2002-05-03 Juergen Vigna <jug@sad.it>
11608 * screen.C (drawFromTo): recalculate the rowpointer if we had a
11609 change in LyXText as we can not be sure it was not freed.
11610 (drawOneRow): remove unused code.
11612 * text.C (drawInset): redo the calculation of the need_break_row as
11613 it could have a row which was already freed.
11614 (draw): look at the return value of drawInset and return false if
11615 it also returned false.
11616 (paintRowText): look at the return value of draw and return false if
11617 it also returned false.
11619 * lyxtext.h: added bool return type to drawInset() and draw() so that
11620 if we have a change in the row so that the rowbreak has to be redone
11621 we abort drawing as it will be called again.
11623 2002-05-02 Juergen Vigna <jug@sad.it>
11625 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11626 a change in the maintext also if we're inside an inset.
11627 (Dispatch): set the cursor again after a break line and after the
11628 screen has been updated as it could be we're in a different row.
11630 * text2.C (fixCursorAfterDelete): check to make sure we don't request
11631 to set the cursor behind the pargraph with > size().
11632 (setCursor): check also for the same paragraph when checking where
11633 to put the cursor if we have a NFR inset.
11635 * buffer.C (parseSingleLyXformat2Token): move the compatibility
11636 parts of layout read further up as it still was in the wrong
11639 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11641 * screen.C (drawFromTo): change sine fullRebreak always return
11644 * buffer.C (parseSingleLyXformat2Token): reindent some
11646 * BufferView_pimpl.C (update): change since fullRebreak always
11648 (Dispatch): git rid of the last hardcoded "Standard"s.
11650 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
11652 * text2.[Ch] (fullRebreak): make it return void now that we always
11655 2002-04-30 Juergen Vigna <jug@sad.it>
11657 * buffer.C (parseSingleLyXformat2Token): reset the font before the
11658 ert compatibility check for "latex" layout.
11660 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
11662 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11663 minipages: use col% instead of p%, and also use the current font.
11664 (makeLaTeXFile): Fix use babel condition.
11665 (parseSingleLyXformat2Token): Correct font when reading old floats.
11667 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
11669 * BufferView_pimpl.C (Dispatch): Check that float type exists when
11670 inserting list of floats.
11672 2002-04-25 Herbert Voss <voss@lyx.org>
11674 * MenuBackend.C (expand): don't add the graphics extensions to the
11677 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11679 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11680 non-existing layout, do not complain if it was the default layout
11681 of the original class (bug #342)
11683 2002-04-24 Juergen Vigna <jug@sad.it>
11685 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11686 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11688 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11690 * buffer.C (getBibkeyList): If using \bibliography, return the
11691 option field with the reference itself. Enables us to provide natbib
11692 support when using \bibliography.
11694 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11696 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11698 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11699 natbib is provided by the LaTeX class.
11701 2002-04-23 Juergen Vigna <jug@sad.it>
11703 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11706 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11708 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11710 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11712 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11713 ensuremath around textordmasculine, textordfeminine and
11716 2002-04-19 Juergen Vigna <jug@sad.it>
11718 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11719 reinitializing the buffer otherwise row-dimensions may be wrong.
11720 (update): reset also the selection cursors if they do exits otherwise
11721 their x/y positions may be wrong.
11723 * text2.C (cursorDown): don't enter the inset if we came from a row
11724 above and are one row over the inset.
11726 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11727 really leaving an inset.
11729 2002-04-18 Juergen Vigna <jug@sad.it>
11731 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11732 of the selected paragraph does not have the selected layout also if
11735 * text2.C (setLayout): fixed bug which did not change last selected
11738 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11739 changed the read and substituted \\end_float with \\end_inset!
11741 * BufferView_pimpl.C (cursorPrevious):
11742 (cursorNext): fixed to make it work with rows heigher than the work
11743 area without moving the cursor only the draw of the row.
11744 (workAreaMotionNotify): fix jumping over high rows.
11746 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11748 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11751 2002-04-16 Juergen Vigna <jug@sad.it>
11753 * text2.C (setCursor): set also the irow().
11754 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11756 (cursorDown): support for locking an inset if the x_fix value goes
11757 inside it. That way I can transverse insets too with cursor up/down.
11759 * lyxrow.h: added irow helper function same as other (i) functions.
11761 * BufferView_pimpl.C (cursorPrevious):
11762 (cursorNext): fixed for insets!
11764 2002-04-15 Juergen Vigna <jug@sad.it>
11766 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11767 position otherwise it is wrong in some cases.
11769 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11770 inside the inset before the call.
11772 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11774 * buffer.[Ch] (getBibkeyList): make it const.
11776 2002-04-12 Juergen Vigna <jug@sad.it>
11778 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11780 * text2.C (getCursorX): new helper function
11781 (setCursor): compute also ix_
11782 (setCursorFromCoordinates): set also ix.
11784 * lyxcursor.h: added ix_ and helper functions.
11786 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11788 * buffer.C (insertStringAsLines): dont break paragraph if the this
11789 paragraph is inside an inset which does not permit it!
11791 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11792 also with no chars on this paragraph.
11793 (paintRowText): only paint stuff if it's inside the workarea!
11795 * paragraph.C (breakParagraph): honor keepempty flag and break the
11796 paragraph always below not above.
11798 * BufferView2.C (unlockInset): update the paragraph layout on inset
11799 unlock as we changed paragraph in such a case.
11801 * lyxfind.C (LyXFind): clear the former selection if not found!
11803 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11804 again called in insertChar().
11806 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11807 an inset which uses the whole row!
11808 (rightMargin): ditto.
11809 (insertChar): force a rebreak if we inserted an inset!
11811 2002-03-28 Herbert Voss <voss@lyx.org>
11813 * lyxlength.[Ch]: add inBP() to get the right PS-point
11814 units (BigPoint). With inPixels we have rounding errors
11816 2002-04-11 Juergen Vigna <jug@sad.it>
11818 * text2.C (setCursorFromCoordinates): set iy to the right value.
11819 (setCursor): add check if row->previous exists!
11821 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11822 an old float_type as this was the case in the old code!
11824 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11826 * BufferView2.C (showLockedInsetCursor): use iy
11827 (fitLockedInsetCursor): ditto
11829 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11830 locked insets as there we have the right value now.
11832 * lyxcursor.C: added iy_ variable and iy functions to set to the
11833 baseline of cursor-y of the locked inset.
11835 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11836 (setCursor): fixed for insets which need a full row.
11838 * text.C (rowLastPrintable): don't ignore the last space when before
11839 an inset which needs a full row.
11840 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11841 as last character of a row when before a inset which needs a full row.
11843 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11845 * version.C.in: update date
11847 * text2.C (fullRebreak): try to always return true and see what
11850 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11852 * MenuBackend.C (expand): use Floating::listName
11854 * FloatList.C (FloatList): add listName argument to the built-in
11857 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11858 text associated with the float.
11860 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11862 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11864 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11866 * ShareContainer.h: add a couple of missing typenames.
11868 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11870 * lyxrc.C (getDescription): use _() correctly rather than N_().
11872 2002-03-28 Herbert Voss <voss@lyx.org>
11874 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11875 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11877 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11879 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11880 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11882 2002-03-29 Juergen Vigna <jug@sad.it>
11884 * lyxfunc.C (dispatch): add a missing fitCursor call.
11886 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11887 it was scrolled by a cursor move, so return the bool status.
11889 * BufferView.C (fitCursor): return the bool flag also to the outside
11890 world as this is needed.
11892 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11894 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11895 call the edit() as it is not needed (and wrong) IMO.
11896 (workAreaButtonPress): set the screen_first variable before evt.
11897 unlock the inset as this may change screen_first and then we have
11898 a wrong y position for the click!
11900 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11902 * MenuBackend.C (expand): another translation that I missed
11904 2002-03-28 Juergen Vigna <jug@sad.it>
11906 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11908 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11910 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11912 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11914 * MenuBackend.C (expand): fix export/view/update when there is no
11917 2002-03-27 Herbert Voss <voss@lyx.org>
11919 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11922 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11924 * bufferview_funcs.C (currentState): only show paragraph number
11925 for is DEVEL_VERSION is set.
11927 * lyxfunc.C (dispatch): put warning in INFO channel
11929 * MenuBackend.C (expand): translate the name of floats
11931 * FloatList.C (FloatList): mark the float names for translation
11933 * converter.C (convert): use LibScriptSearch
11935 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11937 * MenuBackend.C (defaults): fix default menu (we might as well get
11940 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11942 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11945 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11947 * lyxvc.C: reorder includes.
11949 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11951 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11954 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11956 * CutAndPaste.C: change layouts earlier on paste
11957 to avoid crashing when calling getFont()
11959 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11961 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11964 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11966 * WorkArea.C: remove 'Pending' debug message.
11968 * most files: ws cleanup
11970 * buffer.[Ch]: ws changes
11972 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11974 2002-03-21 Juergen Vigna <jug@sad.it>
11976 * tabular.C (SetMultiColumn): collapse also the contents of the
11977 cells and set the last border right. Added a Buffer const * param.
11979 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11981 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11984 2002-03-19 Juergen Vigna <jug@sad.it>
11986 * text2.C (clearSelection): reset also xsel_cache.
11988 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11989 where it needs to be called (John tells us to do so too :)
11990 (selectionLost): reset sel_cache.
11992 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11994 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11996 * text2.C (setCursorIntern): put debuging code in INSETS channel
11998 2002-03-19 André Pönitz <poenitz@gmx.net>
12000 * lyxfunc.C: tiny whitespace change
12002 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12004 * ToolbarDefaults.C (init):
12005 * LyXAction.C (init):
12007 * BufferView_pimpl.C (Dispatch):
12008 * lyxfunc.C (dispatch): remove LFUN_DEPTH
12010 2002-03-19 Allan Rae <rae@lyx.org>
12012 * exporter.C (Export): removeAutoInsets before doing anything else.
12013 While I've just introduced a dependency on BufferView this really is
12014 the best place to clean the buffer otherwise you need to cleanup in
12015 a dozen places before calling export or cleanup in a dozen functions
12018 * converter.C (runLaTeX):
12019 (scanLog): Better handling of removeAutoInsets and screen updates.
12021 * lyxfunc.C (dispatch): small whitespace changes
12023 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
12025 * WorkArea.C (C_WorkAreaEvent): return a value.
12026 (event_cb): return 1 if we handled the event, 0 otherwise.
12028 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
12030 2002-03-18 Juergen Vigna <jug@sad.it>
12032 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
12033 (GetAdditionalWidth): ditto.
12034 (RightLine): ditto.
12037 * BufferView2.C (copy): use getLyXText() so that we do it inside an
12038 inset if we're there actually (probably not used right now but this
12039 is the direction to go for unifying code).
12040 (paste): disable code to clear the selection.
12042 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
12043 inside an InsetText and move the check further up as it is in the
12046 * text2.C (pasteSelection): set a selection over the pasted text.
12048 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
12050 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
12051 and libgraphics to build on Cygwin.
12053 2002-03-15 Juergen Vigna <jug@sad.it>
12055 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
12056 inserting an Inset into the paragraph. I know this is not the best
12057 fix but we already use current_view in CutAndPaste so we will remove
12058 all of it's using at the same time.
12060 * buffer.C (sgmlError): deactivated function till it is rewritten in
12061 the right mode, now it can create problems.
12063 * paragraph.C (isLineSeparator): check if getInset returns != 0,
12064 before accessing it.
12066 2002-03-14 Juergen Vigna <jug@sad.it>
12068 * undo_funcs.C (textHandleUndo): do the right thing when updating
12069 the inset after the undo/redo.
12071 * text2.C (setCursor): just some testcode for #44 not ready yet.
12073 * undo_funcs.C (textHandleUndo): set the next() and previous()
12074 pointers of the paragraph to 0 before deleting otherwise we have
12075 problems with the Paragraph::[destructor].
12077 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
12078 on a paragraph insertion.
12080 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12082 * buffer.C (asciiParagraph): use += operator for char append to
12085 * paragraph.C (getFontSettings): compare >= not just >
12086 (highestFontInRange): ditto
12089 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12091 * paragraph.C: change several algorithm to be more appripriate for
12092 the problem domain. This is lookip in FontList and in the InsetList.
12094 2002-03-13 André Pönitz <poenitz@gmx.net>
12097 * LyXAction.C: remove unused LFUN_MATH_MACROARG
12099 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
12104 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
12106 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12108 * Painter.C (display): anon helper function, adjust code for this
12110 (pixmap): remove function.
12112 * Painter.h: remove private display variable.
12114 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
12116 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
12118 * WorkArea.[Ch]: remove figinset_canvas cruft.
12120 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12122 * lyxtextclass.C (operator): add one item cache optimization.
12124 * bufferlist.h: doxy changes
12126 * bufferlist.C: ws changes
12128 * DepTable.[Ch] (ext_exist): place const in the right spot.
12130 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
12132 (workAreaExpose): call resizeInsets when the with BufferView changes.
12133 (Dispatch): adjust for protectedBlank removal
12134 (specialChar): call updateInset if the insert went ok.
12136 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
12137 specialChar instead.
12139 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
12141 * BufferView.h: doxy change
12143 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
12145 * lyxtextclass.C (operator[]): remove non-const version
12146 (defaultLayout): remove non-const version
12148 2002-03-12 Juergen Vigna <jug@sad.it>
12150 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
12151 did resize the LyXText too.
12153 * buffer.C (readLyXformat2): set layout information on newly allocated
12156 * tabular.C (OldFormatRead): set layout information on the paragraph.
12158 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12160 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
12162 2002-03-11 Juergen Vigna <jug@sad.it>
12164 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
12166 (resizeCurrentBuffer): force also the insets to resize themselfes.
12167 (moveCursorUpdate): fixed up for InsetText.
12169 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
12172 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
12173 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
12174 value of Dialogs::tooltipsEnabled().
12175 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
12177 2002-03-08 Juergen Vigna <jug@sad.it>
12179 * BufferView_pimpl.C (updateInset): update inset inside inset also
12180 if it isn't inside theLockingInset().
12182 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12184 * buffer.C (asciiParagraph): redo some of the word and line length
12186 (getLists): look for Caption instead of caption.
12188 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12190 * buffer.C (Buffer): initialize niceFile to true
12192 (makeLinuxDocFile):
12193 (makeDocBookFile): make sure niceFile is true on exit
12195 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12197 * buffer.C (makeLaTeXFile): escape ~ in \input@path
12199 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
12201 * LyXSendto.C: remove.
12202 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
12203 * lyx_gui.C: remove now-redundant comment.
12204 * ColorHandler.h: remove forward declaration of class WorkArea.
12205 * lyxfunc.C: remove #include "WorkArea.h".
12207 2002-03-07 Juergen Vigna <jug@sad.it>
12209 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
12210 got moved away with the DEPM and also set the inset_owner always
12211 right which before could have been omitted.
12213 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12215 * buffer.C (parseSingleLyXformat2Token): use default layout is the
12216 wanted layout is not found.
12218 2002-03-07 Juergen Vigna <jug@sad.it>
12220 * CutAndPaste.C (cutSelection): another layout settings forgotten.
12222 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
12224 * paragraph.C (breakParagraph): use default layout not layout of
12226 (Paragraph): clear ParagraphParameters.
12228 2002-03-06 Juergen Vigna <jug@sad.it>
12230 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
12231 otherwise it would not be a valid lenght. Fixed a special case in
12232 the minipage compatibility read where we end the document with a
12235 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
12236 was set as it could be 0 for InsetTexts first entry.
12238 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12240 * paragraph.C (writeFile): if layout is empty write out
12241 defaultLayoutName().
12243 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
12244 file without named layout we set layout to defaultLayoutName().
12246 2002-03-06 Juergen Vigna <jug@sad.it>
12248 * CutAndPaste.C (copySelection): set layout for new paragraph.
12250 * text.C (prepareToPrint): leave ERT inset left aligned
12251 (leftMargin): don't indent paragraphs inside ERT insets
12253 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
12255 * paragraph.C (breakParagraph): dont call clear do the work manually
12257 * paragraph.[Ch] (clear): remove function
12259 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12261 * paragraph.C (Paragraph): dont call clear, the work has already
12264 * lyxtextclass.C (operator): assert if n is empty
12266 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
12267 work manually instead.
12269 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12271 * BufferView_pimpl.C: protect selectionLost against text == 0
12273 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12275 * text.C (breakParagraph): fix a setting layout to '0' problem.
12277 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
12279 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
12280 final location of file, for the included files, and graphics.
12282 2002-03-05 Juergen Vigna <jug@sad.it>
12284 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
12286 2002-03-04 Juergen Vigna <jug@sad.it>
12288 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
12290 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
12291 last column of multicolumn cells.
12292 (SetWidthOfMulticolCell): recalculate NMC and real columns.
12294 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
12296 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
12297 file if it doesn't go to a temporary file.
12299 * buffer.C (sgmlOpenTag):
12300 (sgmlCloseTag): remove extra newline insertion.
12302 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
12304 * text.C (getRowNearY): comment out debug msg
12306 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12308 * text2.C: first -> first_y
12310 * text.C (getRowNearY): add some attemts at a possible
12311 optimization, not working.
12313 * tabular.[Ch]: add BufferParams to several function so that newly
12314 created paragraph can be initialized to he default layotu for the
12317 * tabular-old.C (ReadOld): add buf->params to call of Init
12319 * screen.C: rename text->first to text->first_y
12321 * paragraph.C (breakParagraph): always set layout in the broken
12324 * lyxtextclass.C (Read): remove lowercase
12327 (delete_layout): ditto
12329 * lyxtext.h: rename first -> first_y
12331 * lyxlayout.C (Read): remove lowercase
12334 (obsoleted_by): ditto
12336 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
12338 * buffer.C (insertErtContents): add params are to InsetERT
12339 (parseSingleLyXformat2Token): add code to check if a paragraphs
12340 layout really exist.
12341 (parseSingleLyXformat2Token): add params to several inset
12343 (asciiParagraph): remove lowercase, do the layout comparisons with
12346 * BufferView_pimpl.C (cursorNext): first -> first_y
12347 (resizeCurrentBuffer): first -> first_y
12348 (updateScrollbar): first -> first_y
12349 (scrollCB): first -> first_y
12350 (workAreaMotionNotify): first -> first_y
12351 (workAreaButtonPress): first -> first_y
12352 (checkInsetHit): first -> first_y
12353 (cursorPrevious): first -> first_y
12354 (cursorNext): first -> first_y
12355 (Dispatch): add buffer_->params to severl inset contructors
12357 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12359 * lyxlayout.C (Read): remove some debug info that I forgot.
12361 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
12362 clean up the code slightly.
12363 (makeLinuxDocFile): ditto
12364 (makeDocBookFile): ditto
12366 * text2.C: layout as string
12368 * text.C: layout as string
12370 * paragraph_pimpl.C: layout as string
12372 * paragraph.[Ch]: layout as string
12374 * lyxtextclasslist.[Ch]: layout as string
12376 * lyxtextclass.[Ch]: layout as string
12378 * lyxtext.h: layout as string
12380 * lyxlayout.[Ch]: layout as string
12382 * lyx_cb.C: layout as string
12384 * bufferview_funcs.C: layout as string
12386 * bufferparams.C: layout as string
12388 * buffer.C: layout as string
12390 * LyXView.[Ch]: layout as string
12392 * LaTeXFeatures.[Ch]: layout as string
12394 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
12396 * BufferView_pimpl.C: change current_layout to string, remove
12401 (workAreaButtonRelease): layout as string
12403 * BufferView2.C (unlockInset): adjust
12405 * vspace.C (asLatexCommand): use an explict temp variable.
12407 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
12409 * Makefile.am: use FRONTEND_*
12411 2002-03-01 Juergen Vigna <jug@sad.it>
12413 * tabular.C (SetWidthOfMulticolCell): changed to something better
12414 I hope but still work in progress.
12415 (recalculateMulticolumnsOfColumn): renamed function from
12416 recalculateMulticolCells as it is more appropriate now.
12417 (SetWidthOfCell): calculate multicols better.
12419 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12421 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
12423 * lyxfunc.C (processKeySym): print sequence also if it is
12424 `deleted' (complete)
12426 * kbsequence.C (print): print sequence even if it is deleted
12427 (complete would be a better word, actually).
12429 * lyxfunc.C (dispatch): print complete options after a prefix key
12431 * vspace.C (asLatexCommand): rewrite in a slightly different form.
12433 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
12435 * text2.C (setCharFont): eliminate setCharFont code duplication.
12437 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12439 * BufferView_pimpl.C (Dispatch): remove bogus handling of
12440 LFUN_TABULAR_FEATURE (bug #177)
12442 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
12444 * Makefile.am: remove figure.h
12446 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
12448 * Bufferview_pimpl.C:
12460 * text2.C: remove #include "lyx_gui_misc.h".
12462 * LaTeX.C: added #include <cstdio>
12464 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12466 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12467 that the paragraph following this one can have.
12469 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12471 * vspace.C (asLatexCommand): fix bogus gcc warning
12473 * Makefile.am (lyx_SOURCES): remove vms_defines.h
12475 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
12477 * text2.C (setLayout): get rid of redundant code
12479 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
12481 * text2.C (incDepth): make sure depth cannot be increased beyond
12484 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
12486 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12487 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12489 * PainterBase.h (image):
12490 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12491 a LyXImage const *.
12493 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12497 * BufferView_pimpl.C:
12498 * BufferView_pimpl.h:
12518 * sp_spell.C: remove fig inset, and the crap house of
12519 cards that follows it
12521 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
12526 * os2_errortable.h:
12527 * nt_defines.h: move .h into support/
12529 * vms_defines.h: remove
12531 * WorkArea.C: add space in debug output
12535 * buffer.C: add WITH_WARNINGS
12539 * bufferlist.C: s/retrive/retrieve/, add docs
12548 * chset.C: add docs
12550 * lyxgui.C: add ID to X error handler
12552 * lyxtestclass.c: fix typo
12554 2002-02-26 Juergen Vigna <jug@sad.it>
12556 * tabular_funcs.C (write_attribute): changed so that some default
12557 attributes are not written at all.
12558 (getTokenValue): set default values before trying to read the
12559 value so we have the return value always set as default if we don't
12560 find the token we search for.
12562 * tabular.C (Write): write bools as bools not as strings!
12564 2002-02-22 Juergen Vigna <jug@sad.it>
12566 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12567 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12569 * text.C (leftMargin): don't add an indent for paragraphs inside
12570 tabular cells (fix #208).
12572 2002-02-21 José Matos <jamatos@fep.up.pt>
12574 * tabular.C (docBook): fixed support for long tables.
12576 2002-02-20 Juergen Vigna <jug@sad.it>
12578 * text2.C (getFont): get the drawing font of the Inset if this
12579 paragraph is inside an inset (only important for InsetERT for now).
12581 * buffer.C (insertErtContents): use new lanugage params in ERT
12584 * CutAndPaste.C: commenting out seemingly uneeded code.
12586 2002-02-19 Allan Rae <rae@lyx.org>
12588 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12589 Iterators might be simple to use but they also get invalidated.
12590 (removeAutoInsets): renamed saved cursor tracking variables and added
12591 some comments to clarify what everything does.
12593 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
12600 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12601 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12604 * vc-backend.h: remove #include "support/syscall.h"
12608 * converter.C: rearrange #includes in Lars' approved fashion.
12610 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12611 forward declare class Timeout in the header file.
12613 * XFormsView.C: changes due to the above.
12615 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12616 similar to LyXView.
12618 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12619 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12621 2002-02-18 José Matos <jamatos@fep.up.pt>
12623 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12626 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
12628 * a lot of small ws changes
12629 * add a lot of using std::XXX
12630 * use std construcs some places where approp.
12631 * use some exisint stuff from lyxfunctional where approp.
12632 * Make file changes to use partial linking (lets test this now...)
12634 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12638 remove #include "support/syscontr.h" as it's redundant. Always has been.
12646 change Systemcalls::System to Systemcalls::Wait and
12647 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12648 No change of functionality, just reflects the stripped down Systemcalls
12651 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
12653 * debug.[Ch]: add a GRAPHICS type to the enum.
12655 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12657 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12659 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12662 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12664 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12665 match the changes below.
12667 * text2.C (toggleInset): if there is not editable inset at cursor
12668 position, try to see if cursor is _inside_ a collapsable inset
12671 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12673 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12674 document menu has a nice checkbox
12676 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12678 * lyxlength.C (asLatexString): change PW to output as percent of
12681 * lengthcommon.C: change '%' to 't%'
12683 * lyxfunc.C (dispatch): a few comments from Martin
12685 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12689 * BufferView_pimpl.h:
12690 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12693 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12695 * vspace.C (inPixels): fix compiler warning
12697 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12699 * lyxfunc.C (getStatus): fix status message for disabled commands.
12701 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12703 * BufferView_pimpl.C: fix crash on close buffer
12704 during selection (#227)
12706 2002-01-27 Herbert Voss <voss@lyx.org>
12708 * buffer.C: link old Figure to new graphic inset
12710 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12712 * FontLoader.C (getFontinfo): Change the latex font names in order
12713 to match the names of type1inst.
12715 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12717 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12719 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12720 (extchanged): ditto
12722 (remove_files_with_extension): ditto
12723 (remove_file): ditto
12726 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12727 document is smaller than the work area height. Do not initialize
12728 static variables to 0.
12730 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12732 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12734 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12735 LFUN_LAYOUT_PARAGRAPHS.
12737 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12738 tabular. It is possible to provide a possible cell, which will
12739 typically be the actcell from the corresponding insettabular
12741 * lyxfunc.C (getStatus): small cleanup; disable
12742 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12745 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12747 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12749 * paragraph.C (startTeXParParams):
12750 (endTeXParParams): new methods. The LaTeX code to
12751 start/end paragraph formatting
12752 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12753 empty (fixes bug #200)
12755 * vspace.C (inPixels): adapt to the change below
12756 (inPixels): [later] more cleanups (remove unused variables)
12758 * lyxlength.C (inPixels): change to use a width and a height as
12761 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12763 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12764 Replaced with \paperwidth
12766 * DepTable.C (insert): add std:: qualifier
12768 2002-01-18 Allan Rae <rae@lyx.org>
12770 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12773 * text.C (drawInset): Turned out I didn't know enough about how
12774 rebreaking worked. This fixes most of the redraw problems. I see
12775 an occasional cursor trail when a line is broken now and the cursor
12776 placement can seem out by a few pixels also after a rebreak.
12778 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12780 * buffer.C (parseSingleLyXformat2Token): update because minipage
12781 width is now a LyXLength
12783 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12785 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12788 2002-01-17 Juergen Vigna <jug@sad.it>
12790 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12792 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12793 is set correctly and the inset is updated correctly.
12795 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12797 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12798 the beginning of the loop.
12800 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12802 * lyxrc.C: improve help for use_scalable_fonts
12804 2002-01-17 Allan Rae <rae@lyx.org>
12806 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12808 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12810 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12811 make sure to set their inset_owner to the right value (bug #171)
12813 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12816 * DepTable.C: Implement mtime checking to reduce time spent doing
12819 2002-01-16 Juergen Vigna <jug@sad.it>
12821 * tabular.C (GetAdditionalHeight): one of error fixed.
12823 * lyxrc.C (output): small fix in writing use_pspell.
12825 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12827 * sp_base.h: #include LString.h
12829 2002-01-16 Allan Rae <rae@lyx.org>
12831 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12832 Can someone check this please?
12834 * text.C (drawInset): It was possible that p.row would be removed by
12835 breakAgainOneRow upsetting a few other settings. There may be another
12836 small tweak possible by setting need_break_row = 0 when p.row has been
12837 removed but I don't know enough about the logic here.
12839 2002-01-15 Allan Rae <rae@lyx.org>
12841 * text.C (insertChar): removed conditional truism.
12843 * BufferView2.C (removeAutoInsets): More tweaks.
12844 cur_par_prev could be a stray pointer. Check for trailing empty line
12845 in case last line was cur_par and only had an error inset on it.
12847 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12849 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12852 * vc-backend.C (most methods):
12853 * exporter.C (Export):
12854 * converter.C (convert):
12856 * LyXSendto.C (SendtoApplyCB):
12857 * lyxfunc.C (dispatch):
12861 * lyx_cb.C (AutoSave):
12863 * BufferView_pimpl.C (MenuInsertLyXFile):
12864 * buffer.C (runChktex): use Buffer::filePath().
12866 * buffer.h: rename filename to filename_; rename filepath to
12867 filepath_ and make it private
12868 (filePath): new method
12870 * buffer.C (writeFile): use fileName()
12873 * lyx_main.C (init): fix starting of LyX when the binary is a
12874 link from so,ewhere else.
12876 * minibuffer.C: include <cctype> for isprint
12878 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12880 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12881 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12882 name clash with InsetCollapsable's width function.
12884 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12886 * lastfiles.C: include <iterator>
12888 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12890 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12893 * buffer.C (makeLaTeXFile): ditto.
12894 Also make loop operation more transparent.
12896 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12898 * ToolbarDefaults.C: remove trailing comma closing namespace.
12900 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12902 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12905 * trans.C (Load): comment out unused variable, allowed.
12907 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12909 * minibuffer.[Ch] (append_char): new method to recieve input from the
12910 drop-down completion browser. If a key was pressed, then recieve this
12911 char and append it to the existing string.
12912 (peek_event): modify the positioning data passed to the completion
12913 browser so that it can be placed above the minibuffer rather than below.
12914 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12916 * LyXAction.C (init): alloe error-next for readonly documents.
12918 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12921 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12923 * bufferlist.C (readFile): create the buffer _after_ checking that
12926 * lyxfunc.C (verboseDispatch): fix handling of arguments
12928 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12930 * lyxrc.C: use string::erase() instead of initializing to "".
12933 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12935 * BufferView_pimpl.h:
12936 * BufferView_pimpl.C:
12939 * text2.C: tell X when we have made a selection for copying
12941 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12943 * BufferView_pimpl.C (MenuInsertLyXFile):
12944 * lyxfunc.C (menuNew):
12946 (doImport): add shortcuts to directory buttons
12948 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12951 * lyxfunc.C (setStatusMessage):
12952 (getStatusMessage): new methods
12953 (getStatus):use setStatusMessage instead of setErrorMessage
12954 (dispatch): when function is disabled, set error message here
12955 [instead of in getStatus previously]
12957 * BufferView_pimpl.C (workAreaButtonRelease): update
12958 toolbar/menubar here too.
12960 2002-01-13 Allan Rae <rae@lyx.org>
12962 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12963 Now seems indestructible. Remaining task is to audit all other
12964 code affected by deleteEmptyParagraphMechanism. One small quirk
12965 left is that an empty document with an error in the preamble can
12966 be made to report an error but no error box appears. I don't know
12968 (removeAutoInsets): Improved comments.
12970 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12973 * Thesaurus.C: update for Aiksaurus 0.14
12975 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12977 * text2.C (firstParagraph): removed member function, all uses
12978 replaces with ownerParagraph
12979 (redoParagraphs): here
12980 (updateInset): here
12981 (toggleAppendix): here
12982 * BufferView2.C (insertErrors): here
12983 (setCursorFromRow): here
12985 2002-01-13 Allan Rae <rae@lyx.org>
12987 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12988 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12989 There is still a way to segfault this although you may have to do this
12990 multiple times: Have an InsetERT with an unknown command in it.
12991 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12992 <down-arrow>, <Enter> again, View->DVI, BANG!
12994 * text2.C (setCursor):
12995 (deleteEmptyParagraphMechanism):
12996 * lyxtext.h (setCursor):
12997 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12998 Making use of the return value may help fix other bugs.
13000 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13002 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
13004 * LyXView.C (updateMenubar): call MenuBar::update here
13005 (updateToolbar): but not here
13006 (showState): do not update toolbar/menubar
13008 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
13009 should need to care about that.
13011 * lyxfunc.C (verboseDispatch): simplify a bit
13012 (getStatus): have a version which takes a pseudoaction, and
13013 another which requires a (kb_action,string).
13015 * LyXAction.C (retrieveActionArg): make it work also when action
13016 is not a pseudo-action.
13017 (getActionName): simplify a bit
13020 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13022 * lyxfunc.C (verboseDispatch): new families of methods with
13023 several ways to specify a command and a bool to indicate whether
13024 the command name and shortcut should be displayed in minibuffer
13025 (eventually, we could extend that to a finer bitmask like
13026 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
13027 (dispatch): the pristine dispatch command which just, well,
13028 dispatchs! Note it still sets its result to minibuffer; I'm not
13031 * lyxfunc.h: remove setHintMessage
13033 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
13035 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13037 * BufferView_pimpl.C (specialChar): delete new inset if we have
13038 not been able to insert it.
13040 * kbmap.C: revert to using int instead of kb_action, since all we
13041 are dealing with is pseudo-actions.
13043 * LyXAction.C (searchActionArg): change to return int instead of
13044 kb_action, since the result is a pseudoaction.
13046 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
13048 * buffer.C (insertErtContents): Fix (partially) the font bug.
13050 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
13052 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
13053 as the other one is broken on my machine!
13055 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
13058 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
13060 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
13062 * lyxrc.[Ch]: change names and descriptions of popup font variables to
13063 reflect their actual use. Provide compatibility code for older lyxrc
13066 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
13068 change names of popup font variables in line with the changes to lyxrc.C
13070 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13072 * buffer.C (asciiParagraph): avoid outputing a word twice after
13075 * lyxrc.C (getDescription): document that document_path and
13076 template_path can be empty.
13078 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13080 * LaTeXFeatures.C (getMacros):
13081 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
13083 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
13085 * LaTeXFeatures.C (useFloat): require "float" here instead of in
13087 (getPackages): rename feature "floats" to "float". Use an array to
13088 iterate over 'simple' features (i.e. just a \usepackage). Add
13089 handling of "amsmath" (renamed from "amsstyle").
13091 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
13093 * LaTeXFeatures.C (require): Prevent duplicate entries in the
13096 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
13098 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
13099 FuncStaus::FuncStatus & FuncStaus::some_method().
13101 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
13103 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
13104 of the func_satus stuff. Edited and massaged in various ways by
13107 * lyxfunc.C (getStatus): use FuncStatus
13109 2002-01-08 Juergen Vigna <jug@sad.it>
13111 * text.C (nextBreakPoint): use function Inset::isChar().
13113 * paragraph.C (TeXOnePar): use function
13114 Inset::forceDefaultParagraphs.
13116 * buffer.C (latexParagraphs): use function
13117 Inset::forceDefaultParagraphs.
13119 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13121 * lyx_gui.C (init): set the style of the menu popups to
13122 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
13124 2002-01-07 Juergen Vigna <jug@sad.it>
13126 * text.C (setHeightOfRow): small fix
13127 (prepareToPrint): don't look at alignment if we don't have the place
13130 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13132 * box.C: New file. Move the Box methods and functions out of box.h,
13133 following Lars' suggestion.
13135 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
13137 * box.h: #include "support/LOstream.h", needed for inlined function.
13140 * lyxtextclasslist.C: added some using std declarations.
13142 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
13144 * box.h: make signed dimensions to allow insets wider than
13145 the screen (bug #162)
13147 * BufferView_pimpl.C: add some insetHit debug
13149 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
13151 * vc-backend.C: add FIXME
13153 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13155 * lyxfunc.C (getStatus): enable code for showing math font status
13158 2002-01-07 Juergen Vigna <jug@sad.it>
13160 * text.C (nextBreakPoint): removed debug output not needed anymore.
13162 2002-01-06 Juergen Vigna <jug@sad.it>
13164 * text.C (nextBreakPoint): fixed up this function we had this bug
13165 since ever but now hopefully we break row better.
13166 (insertChar): we have to check if an inset is the next char as it
13167 could now happen that a large inset is causing a break.
13169 2002-01-05 Juergen Vigna <jug@sad.it>
13171 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
13172 if it doesn't like to be drawed.
13174 2002-01-04 Juergen Vigna <jug@sad.it>
13176 * BufferView2.C (lockInset): forgot to set a cursor.
13178 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
13180 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
13182 * FormMathsPanel.C:
13185 * form_maths_panel.C:
13186 * form_maths_panel.h:
13187 * form_maths_panel.fd: implemented sub- and super- buttons in math
13190 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
13191 (or ^ space) to be used as in TeX (req'd by André).
13193 * lyxfunc.C: Allow ^ and _ again to be used both as
13194 super/subscript (mathed) and as themselves (in text).
13196 2002-01-03 Allan Rae <rae@lyx.org>
13198 * LyXView.C (updateWindowTitle): Setup a short icon title of either
13199 "LyX" or the filename of the current buffer if it has one. This is a
13200 modified form of John Levon's patch.
13202 * XFormsView.C (setWindowTitle): also set icon title.
13204 * LyXView.h (setWindowTitle): signature changed.
13205 * XFormsView.h (setWindowTitle): ditto.
13207 2002-01-02 Juergen Vigna <jug@sad.it>
13209 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
13211 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
13213 * screen.C (topCursorVisible): introduce a temp var for
13214 text->cursor.row(), handle the case where this row is null. (kindo
13217 * text2.C (setCursor): add a couple of asserts.
13219 * paragraph.h (inset_iterator): add -> operator
13221 * paragraph.[Ch] (autoDeleteInsets): remove member function
13223 * BufferView2.C (removeAutoInsets): rewrite to handle the old
13224 cursor pos correctly and handle inset deletion by itself.
13225 (insertErrors): move iterator declaration out of for expression
13227 * lyxtextclass.C: add <algorithm>
13229 * Makefile.am: added the new files to sources, removed layout.C
13231 * layout.C: removed file
13233 * layout.h: remove LYX_DUMMY_LAYOUT
13235 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
13239 * lyxtextclass.[Ch]:
13240 * lyxtextclasslist.[Ch]: new files
13242 * include order changes to a lot of files, also changes because of
13245 2001-12-27 Juergen Vigna <jug@sad.it>
13247 * buffer.C (asciiParagraph): more fixes.
13249 * tabular.C (ascii): make ascii export support export of only the
13250 data separated by a column-delimiter.
13251 (ascii): better support for ascii export.
13253 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
13255 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13257 * tabular_funcs.C: use a "using std::getline" instead of the
13258 previous fix from Angus (necessary for cxx + lyxstring)
13260 2001-12-24 Juergen Vigna <jug@sad.it>
13262 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
13264 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
13265 problems. First check a minipage also if we have some ert-contents
13266 (not only on par->size(), second set the right depth of the paragraph
13267 on the relink to the root-paragraph-list!
13269 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
13270 which then did not anymore update the main paragraphs on undo/redo!
13272 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13274 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
13275 code. Support all font-changing funcs (even those which are not in
13276 menu currently). Support for reporting font settings in
13277 mathed (disabled until Andre provides a function on mathed's side).
13279 * func_status.h (toggle): small helper function to set toggle
13282 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
13284 * tabular_funcs.C: getline -> std::getline
13286 2001-12-21 Juergen Vigna <jug@sad.it>
13288 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
13289 accessed and could be 0 (I couldn't generate this but it seems
13292 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
13294 * tabular_funcs.C: add LIstream.h, move write_attribute to..
13295 * tabular_funcs.h: here and include iosfwd
13297 2001-12-20 Juergen Vigna <jug@sad.it>
13299 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
13300 inside inset but undo_par was.
13302 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13304 * Thesaurus.C: always include <config.h> in sources.
13308 * box.h: do not include <config.h> in header files
13310 * text.C (paintLastRow): remove unused variable
13312 * text.C (transformChar):
13314 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
13316 * Painter.C (text):
13317 * font.C (width): rewrite to use uppercase() instead of
13320 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
13322 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
13324 * lyxfind.C: clean up of find failure position change
13326 2001-12-20 Juergen Vigna <jug@sad.it>
13328 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
13330 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
13331 (TeXRow): added to LaTeX a single tabular row.
13332 (TeXLongtableHeaderFooter): added to output LT-h/f data.
13333 (Latex): simplified and finally good LT-h/f support.
13334 (various_functions): just small adaptions for LT-h/f support.
13336 * tabular_funcs.[hC]: added and moved here all not classfunctions
13339 2001-12-19 Juergen Vigna <jug@sad.it>
13341 * tabular.[Ch]: better support for longtabular options (not finished
13344 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13346 * text.C (paintLastRow): use the label font instead of the font of
13347 the last character to compute the size of *_BOX. This makes more
13348 sense and avoids a crash with empty paragraphs.
13349 Use Painter::rectangle to draw EMPTY_BOX.
13351 2001-12-19 Juergen Vigna <jug@sad.it>
13353 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
13354 the paragraphs if the replaced paragraph is not the first one!
13355 Tried to delete not used paragraphs but does not work yet so for
13356 now it's inside #ifdef's and by default off!
13358 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13360 * MenuBackend.C: include "lyx_main.h" instead of declaring
13361 lastfiles (actually was declared as LastFiles* instead of a
13364 2001-12-17 Juergen Vigna <jug@sad.it>
13366 * tabular.C (AppendColumn): applied John's fix
13368 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
13372 * BufferView_pimpl.h:
13373 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
13376 * box.h: new start of class for above
13378 * lyxfunc.C: ignore space-only minibuffer dispatches.
13379 Show the command name when it doesn't exist
13381 * minibuffer.C: don't add empty lines to the history
13383 * minibuffer.C: add a space on dropdown completion
13385 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
13387 * text.C: fix line above/below drawing in insets
13389 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13391 * lyxlength.C (LyXLength): Initialize private variables.
13393 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
13395 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
13396 when inserting error insets.
13398 2001-12-13 Juergen Vigna <jug@sad.it>
13400 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
13401 actually sometimes the before-paragraph.
13402 (setUndo): don't clear the redostack if we're not actually undoing!
13404 2001-12-06 Juergen Vigna <jug@sad.it>
13406 * undo_funcs.C (textHandleUndo): well after John's hint I got here
13407 and fixed redoing of main paragraph, so we can use it now ;)
13409 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
13411 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13413 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
13416 2001-12-13 André Pönitz <poenitz@gmx.net>
13419 * undo_func.C: minor cleanup
13421 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13423 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13424 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13425 font in urw-fonts package which is marked as -urw-fontspecific and
13426 does not work (incidentally, changing the encoding in the
13427 fonts.dir of this package to -adobe-fontspecific fixes the
13430 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13431 is a crash when undoing first paragraph (Juergen, please take a
13432 look). THis does not mean the undo fix is wrong, just that it
13435 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13436 the (Paragraph*) version when needed instead of duplicating the
13439 * text.C (workWidth): use Inset::parOwner to find out where the
13440 inset has been inserted. This is a huge performance gain for large
13441 documents with lots of insets. If Inset::parOwner is not set, fall
13442 back on the brute force method
13444 * paragraph_pimpl.C (insertInset):
13445 * paragraph.C (Paragraph):
13446 (cutIntoMinibuffer): set parOwner of insets when
13447 inserting/removing them
13449 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13451 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
13457 * mathed/formulabase.C:
13458 * mathed/math_cursor.[Ch]:
13459 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13462 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13464 * lyxlength.[Ch] (operator!=): new function
13466 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13468 * text.C (workWidth): use Inset::parOwner to find out where the
13469 inset has been inserted. This is a huge performance gain for large
13470 documents with lots of insets. If Inset::parOwner is not set, fall
13471 back on the brute force method
13473 * paragraph_pimpl.C (insertInset):
13474 * paragraph.C (Paragraph):
13475 (cutIntoMinibuffer): set parOwner of insets when
13476 inserting/removing them
13478 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13480 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13482 * tabular-old.C (getTokenValue):
13483 * tabular.C (getTokenValue):
13484 (write_attribute): new versions for LyXLength
13485 (everywhere): adjust the use of widths
13487 * tabular.h: change the type of widths from string to LyXLength
13489 2001-12-11 Ben Stanley <bds02@uow.edu.au>
13491 * paragraph.C: fixed missing line number count when exporting
13492 Environments to LaTeX file
13494 * buffer.C: added informational message for checking line numbers.
13496 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13498 * text2.C (deleteEmptyParagraphMechanism): if there is only one
13499 paragraph, do the 'double space' part, but not the 'empty
13502 * text.C (workWidth): small optimization
13503 (getLengthMarkerHeight): use minimal size for negative lengths.
13505 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
13507 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13509 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13511 2001-12-11 André Pönitz <poenitz@gmx.net>
13514 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13516 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13518 * text2.C: keep selection on a setFont()
13520 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13522 * lyx_cb.C: another bv->text misuse, from insert label
13524 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13527 * kbsequence.C: re-instate nmodifier mask
13529 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
13531 * lyx_main.h: make lyxGUI private.
13533 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
13535 * lyxfind.C: place the cursor correctly on failed search
13537 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
13539 * text.C (getLengthMarkerHeight): for small heights, the arrows
13540 are not always on top/bottom of the text
13541 (drawLengthMarker): smaller arrows; take the left margin in
13542 account; draw also vfills.
13544 (paintLastRow): remove special code for vfill and standard spaces,
13545 since everything is handled in drawLengthMarker now.
13547 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
13549 * buffer.C (insertErtContents): try to handle font and language
13550 interaction a bit better.g
13552 * ColorHandler.C (updateColor): change the hash to cover the whole
13553 LColor enum, ws cleanup
13554 (getGCLinepars): ditto
13555 (getGCLinepars): only lookup in the linecache once.
13557 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
13559 * iterators.C (operator++): Make the iterator more robust
13561 * BufferView2.C (removeAutoInsets): Use paragraph iterators
13563 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13565 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13568 * text.C: better added space drawing
13570 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13573 * BufferView2.C: fix layout combo update on inset unlock
13575 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13577 * Makefile.am: don't compile unused files
13579 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13583 * LyXAction.C: remove old LFUN_LAYOUTNO
13585 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13587 * paragraph_pimpl.h:
13588 * paragraph_pimpl.C: isTextAt() doesn't need font param
13590 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13593 * lyxlex.C: little cleanup
13595 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
13597 * BufferView_pimpl.C: fix insertAscii for insets
13599 2001-12-05 Juergen Vigna <jug@sad.it>
13601 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13602 set the right font on the "multi" paragraph paste!
13604 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
13610 * lyxlength.C: remove out-commented code.
13612 * BufferView_pimpl:
13626 * vc-backend.C: change "while(" to "while ("
13628 * lyxlength.[Ch]: add zero function to check if length is zero or
13630 * lyxgluelength.C: use it
13632 2001-12-05 Allan Rae <rae@lyx.org>
13634 * lyxlength.C: Attempted a fix for the abs(int) header selection.
13635 Works for 2.95.3, from what I understand of Garst's reports this should
13636 work for other g++ versions. We're screwed if the abs(int) definition
13637 changed between bugfix releases of gcc.
13639 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13641 * text.C: fix chapter label offset !
13643 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
13646 * text.C: fix hfill at end of line, clean up
13648 2001-12-04 Juergen Vigna <jug@sad.it>
13650 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13651 that we force an update of the inset and it's owners if neccessary.
13653 2001-12-03 Juergen Vigna <jug@sad.it>
13655 * text.C (rowLast): simplified code
13657 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
13659 * lyxfunc.C: fix show options on timeout
13661 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13663 * screen.C (topCursorVisible): scroll half a page when the cursor
13664 reached top of bottom of screen
13666 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
13668 * minibuffer.C: deactivate on loss of focus
13670 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13672 * vspace.[Ch] (operator!=): add operator.
13674 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13676 * BufferView_pimpl.C: refuse to open an inset when
13677 there's a selection.
13679 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13681 * BufferView_pimpl.C: allow to click on RHS of full row insets
13683 2001-11-30 Juergen Vigna <jug@sad.it>
13685 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13686 insets for undo reasons.
13688 2001-11-28 André Pönitz <poenitz@gmx.net>
13690 * vspace.[Ch]: cosmetical changes
13692 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13702 * kbsequence.C: part re-write of old kb code
13705 * WorkArea.C: remove Lgb_bug_find_hack
13707 2001-11-30 José Matos <jamatos@fep.up.pt>
13709 * buffer.C (makeDocBookFile): add a comment to point a hack.
13710 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13711 Fixed a double write of labels.
13713 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13716 * LaTeX.h Fixed bug in LaTeX class where it would not
13717 re-run latex if no depfiles were changed, but the .dvi was removed.
13719 2001-11-28 André Pönitz <poenitz@gmx.net>
13721 * all the files from the change on 2001/11/26:
13722 use lyx::layout_type instead of LyXTextClass::size_type
13723 use lyx::textclass_type instead of LyXTextClassList::size_type
13725 2001-11-29 Juergen Vigna <jug@sad.it>
13727 * text.C: added support for paragraph::isFreeSpacing()
13729 * buffer.C: same as above
13731 * paragraph.h: inserted isFreeSpacing() function to enable
13732 FreeSpacing inside InsetERT.
13734 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13735 of the paragraph's in the cut/copy buffer to 0!
13737 * text2.C (removeRow): remove the assert as it can!
13739 * lyxtext.h: added helper function firstRow returning firstrow and
13740 made firstrow private again.
13742 * BufferView2.C (lockInset): don't relock if we're already locked!
13744 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13745 the only paragraph.
13746 (removeRow): added Assert::(firstrow)
13748 * debug.C: forgot to add INSETTEXT here.
13750 2001-11-28 Juergen Vigna <jug@sad.it>
13752 * sp_spell.C (initialize): changed error text to more general
13753 spellchecker command use (not only ispell!)
13755 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13757 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13759 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13761 * vspace.C: initialise lyxgluelength on failure
13763 2001-11-28 Allan Rae <rae@lyx.org>
13765 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13766 declaration & definition that looks like a function declaration.
13768 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13770 * BufferView2.C (copy):
13771 (copyEnvironment): do not clear the selection when doing a copy.
13773 * text.C (paintFirstRow): compilation fix
13775 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13777 * tabular.C (Latex): correct line count when writing latex.
13779 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13781 * paragraph_pimpl.h:
13782 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13785 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13789 * LColor.C: change vfillline->added_space
13791 * text.C: add markers and text for added space
13793 * vspace.C: fix comment
13795 2001-11-28 André Pönitz <poenitz@gmx.net>
13797 * paragraph.C: whitespace changes
13798 * all the other files from the change on 2001/11/26:
13799 change *::pos_type into lyx::pos_type
13801 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13803 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13804 language of the document when inserting error insets.
13806 2001-11-26 André Pönitz <poenitz@gmx.net>
13808 * BufferView_pimpl.[Ch]:
13816 * paragraph_pimpl.[Ch]:
13819 * text2.C: reduce header dependencies, introduce type for positions
13821 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13823 * <various>: change to use Alert.h
13825 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13827 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13828 when encountering an unknown token.
13829 (readLyXformat2): Show an error message if there were unknown tokens.
13831 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13834 * BufferView_pimpl.C:
13838 * text2.C: use par->isInset()
13840 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13842 * paragraph_pimpl.h:
13843 * paragraph_pimpl.C: cleanup
13845 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13847 * text2.C (removeRow):
13848 * text.C (setHeightOfRow): remove useless (and costly) call to
13851 2001-11-20 Allan Rae <rae@lyx.org>
13853 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13854 Now need Inset*::checkInsertChar() to return true for appropriate
13855 cases so that the characters in the minibuffer will actually be
13858 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13860 * text.C: change the order of the includes.
13861 (workWidth): initialize it at once.
13862 (workWidth): make maxw unsigned
13863 (setHeightOfRow): remove unused variable (inset)
13864 (selectSelectedWord): remove unused variable (inset)
13865 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13867 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13869 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13870 server is not running.
13872 (closeConnection): add debug info when server is disabled.
13874 * ColorHandler.C (getGCForeground): send debug message to GUI
13877 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13879 * kbmap.C (bind): modify because return conventions of
13880 kb_sequence::parse have changed.
13882 * kbsequence.C (parse): only ignore spaces and not any stupid
13883 control character. This avoids tests like s[i] <= ' ', which are
13884 guaranteed to fail with 8bit characters and signed chars.
13885 Change return code to string::npos when there have been no error
13886 (0 was a bad idea when error is at first character)
13888 2001-11-14 José Matos <jamatos@fep.up.pt>
13891 * buffer.C (simpleDocBookOnePar): removed unused argument.
13893 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13895 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13896 insets which are part of a word. Paragraph::isLetter takes care of
13897 that now. Use Paragraph::isInset to identify insets.
13898 (selectSelectedWord): do not test for hyphenation break.
13900 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13901 that protected spaces are considered as spaces.
13903 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13906 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13909 * lyxserver.C: fix it. and small cleanup.
13911 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13913 * BufferView_pimpl.C: use inline helpers
13916 * LaTeXFeatures.C: fix typos
13919 * Spacing.C: move spacing_string into class
13921 * ToolbarDefaults.C: move stuff into namespace anon
13923 * layout.h: update enum
13925 * lyxfunc.C: use better debug
13927 * minibuffer.h: fix typo
13931 * WorkArea.C: add and use Debug::WORKAREA
13935 * text2.C: code re-organisation, inline helpers
13937 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13939 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13940 std::vector.empty().
13942 2001-11-09 Allan Rae <rae@lyx.org>
13944 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13945 '\n's after tables. Tabular and ERT inset work now makes this no
13948 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13951 * minibuffer.C: fix crash, improve drop-down completion
13953 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13956 * lyxserver.C: invalidate fd's when doing endPipe()
13958 2001-11-08 José Matos <jamatos@fep.up.pt>
13960 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13961 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13964 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13966 2001-11-07 José Matos <jamatos@fep.up.pt>
13969 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13972 * buffer.C (sgmlOpenTag):
13973 * buffer.C (sgmlCloseTag): removed debug info.
13975 * buffer.h (sgmlOpenTag):
13976 * buffer.h (sgmlCloseTag): made public.
13978 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13980 * buffer.C (saveParamsAsDefaults):
13981 * lyx_cb.C (MenuLayoutSave): remove
13983 * LyXAction.C (init):
13985 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13987 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13989 * buffer.C (setPaperStuff): removed from here...
13991 * bufferparams.C (setPaperStuff): ... and moved there.
13993 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13997 * XFormsView.C: add support for drop-down completion
13999 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
14001 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
14004 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14006 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
14009 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
14011 * lyx_main.C: change ref to known bugs
14013 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
14015 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
14016 to work around older babel problems.
14018 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14020 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
14022 2001-10-24 Juergen Vigna <jug@sad.it>
14024 * tabular-old.C (ReadOld): below variable changes reflected.
14026 * tabular.[Ch]: added ltType struct for longtable header/footer
14027 defines and changed all instances where they are used. Added
14028 future support for double top/bottom rows.
14030 2001-10-24 José Matos <jamatos@fep.up.pt>
14032 * buffer.h (docbookHandleCaption):
14033 * buffer.C (docbookHandleCaption): removed unused function.
14034 (makeDocBookFile): moved docbook supported version to v4.1.
14036 2001-10-24 José Matos <jamatos@fep.up.pt>
14039 * tabular.C (docbookRow): new function to export docbook code of a row.
14040 (DocBook): now honors the longtable flags.
14042 2001-10-23 José Matos <jamatos@fep.up.pt>
14045 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
14046 of the lyx defined sgml entities used in a docbook/linuxdoc document.
14048 * buffer.C (makeLinuxDocFile):
14049 (makeDocBookFile): reworked the preamble, more clean, and with
14050 support for lyx defined entities. Changed the document declaration
14051 to be more XML friendly.
14053 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
14054 if we need to output XML that should be done with a filter.
14056 2001-10-22 Juergen Vigna <jug@sad.it>
14058 * sp_pspell.h (class PSpell): add alive function needed in the
14059 controller to see if the spellchecker could be started.
14061 2001-10-22 Juergen Vigna <jug@sad.it>
14063 * buffer.C (insertStringAsLines): modify the font for inserting
14064 chars in certain conditions by calling checkInsertChar(font).
14066 2001-10-19 Juergen Vigna <jug@sad.it>
14068 * text.C (workWidth): use getRow instead of wrong algorithm.
14069 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
14071 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
14076 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
14078 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14080 * text.C (workWidth): do not search for the exact row when
14081 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
14082 optimization for big documents.
14084 2001-10-18 Juergen Vigna <jug@sad.it>
14086 * text.C (workWidth): new function with added Inset * parameter.
14088 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14090 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
14092 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
14093 change return type of getColumnNearX.
14096 * text.C (changeRegionCase): use uppercase/lowercase instead of
14099 (rightMargin): simplify code by factoring out the uses of
14104 (appendParagraph): use Paragraph::size_type
14106 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14108 * vspace.C (asLatexString): add a missing break
14110 2001-10-15 Herbert Voss <voss@perce.de>
14112 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
14114 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14116 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
14119 2001-10-10 André Pönitz <poenitz@gmx.net>
14121 * lyxfunc.C: removed greek_kb_flag.
14123 2001-10-10 Herbert Voss <voss@perce.de>
14125 * lyx_main.C: delete global string help_lyxdir.
14127 2001-10-09 Herbert Voss <voss@perce.de>
14129 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
14131 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
14133 * lyx_main.C: added global string help_lyxdir.
14135 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
14137 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
14139 * lyxrc.C (set_font_norm_type): support iso8859-4
14141 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
14143 * LaTeX.C (deplog): add another regex for MikTeX
14145 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
14147 * lyxrc.C (set_font_norm_type): support iso8859-3
14149 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14151 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
14153 * LaTeXFeatures.C: remove special case of french and index
14155 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
14156 before \begin{document}). This solves several incompatibilities.
14158 2001-10-03 Garst Reese <reese@isn.net>
14160 * lyx_cb.C: change CheckTex error msg.
14162 2001-10-03 José Matos <jamatos@fep.up.pt>
14164 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
14166 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14168 * .cvsignore: update
14170 * lyx_main.C (commandLineVersionInfo): use new style version info.
14172 * buffer.C (writeFile):
14174 (makeLinuxDocFile):
14175 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
14177 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
14179 * version.h: update to use stuff in version.C
14181 * version.C.in: new file. Contains version information determined
14182 at compile time. This is a merging of version.h and
14185 2001-10-03 Juergen Vigna <jug@sad.it>
14187 * BufferView_pimpl.C (update): don't change "dirty" status in
14190 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
14192 * WorkArea.C (c-tor): re-position version string slightly.
14194 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
14196 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
14197 revert to previous code.
14199 WorkArea.[Ch]: (show, destroySplash): methods removed.
14201 WorkArea.C: rework code so that it's an amalgam of the codes before and
14202 after the splash screen was moved to WorkArea.
14204 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14207 * vspace.C (inPixels):
14210 * buffer.C (insertStringAsLines):
14211 (asciiParagraph): fix types to be large enough
14213 * lyxlex_pimpl.h: change member status from short to int
14215 * layout.h: fix type of endlabeltype
14218 * kbsequence.C (parse): change return type to string::size_type
14220 * LaTeX.C (updateBibtexDependencies): comment out unneeded
14223 * Bullet.C (bulletSize):
14224 (bulletEntry): do not use short ints as parameters
14226 * BufferView2.C (insertLyXFile): change a char to an int.
14228 * WorkArea.C (WorkArea): remove unneeded floats in computation
14230 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
14232 * buffer.C (asciiParagraph): Treat '\\' as other chars.
14234 * paragraph.C (asString): Do not ignore newline/hfill chars when
14235 copying to the clipboard.
14237 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
14239 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
14240 after a multi-line inset.
14242 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
14244 * paragraph.C (validate): Set NeedLyXFootnoteCode
14246 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14248 * lyxfont.C (LyXSizeNames): changed increase-error to increase
14249 and decrease-error to decrease.
14251 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14253 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
14254 it more readable (should be equivalent)
14256 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
14258 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
14260 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14262 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
14263 of a cursor (row, etc.) after a character has been deleted
14264 (deleteEmptyParagraphMechanism): call the method above on _all_
14265 cursors held by the LyXText when a double space has been
14268 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
14270 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
14272 (resizeCurrentBuff): remove code to destroy the old splash dialog.
14274 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
14275 background. Use greyOut() and the new show() methods to toggle between
14276 the foreground and background. Add code to remove the splash after
14277 its initial showing.
14279 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
14280 (create_forms): no longer call Dialogs::showSplash.
14282 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14284 * .cvsignore: add version_info.h
14286 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14288 * version_info.h.in: new file
14290 * Makefile.am: add version_info.h.in
14292 * lyx_main.C (commandLineVersionInfo): use version_info defined in
14293 version_info.h instead of VERSION_INFO
14295 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
14297 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
14298 The ERT inset now returns string().
14300 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
14302 * lyxtext.h, text.C (selectNextWord): renamed as
14303 selectNextWordToSpellcheck.
14305 * text.C (selectNextWordToSpellcheck): Modified to not select
14306 words inside an ERT inset.
14308 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14310 * lyx_cb.C (MenuLayoutSave): change a bit the question
14312 * sp_base.h: include <sys/types.h>
14314 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
14316 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
14318 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
14320 * several files: fix typos in user-visible strings
14322 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14324 * text2.C (pasteSelection): do not set the selection, since it
14325 will be cleared later. Actually, the intent was to fix the way the
14326 selection was set, but I figured rmoving the code was just as good.
14328 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
14330 * FontLoader.C (available): Check if font is available without
14333 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
14335 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
14337 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
14339 * lyxrc.[Ch]: added display_graphics variable and associated code.
14341 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14343 * bufferparams.C (hasClassDefaults): new method. Returns true if
14344 the buffer parameters correspond to known class defaults
14346 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
14348 * XFormsView.C (show): set minimum size to the main window.
14350 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14352 * text2.C (copySelection):
14354 * lyxfind.C (LyXReplace):
14355 * BufferView_pimpl.C (Dispatch): pass the correct flag to
14356 LyXText::selectionAsString.
14358 * paragraph.C (asString): add "label" argument to the second form
14360 * text2.C (selectionAsString): add "label" argument and pass it to
14361 Paragraph::asString.
14363 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14365 * lyx_main.C (commandLineHelp): remove version information
14367 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
14369 * lyx_main.C: add -version commandline option
14371 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14373 * paragraph.h: make the optional constructor arg required instead.
14374 some modifications to other files because of this.
14376 * minibuffer.C (C_MiniBuffer_peek_event): make it static
14378 * lyxserver.C (C_LyXComm_callback): make it static
14380 * lyx_main.C (error_handler): make it static
14382 * lyx_gui.C (LyX_XErrHandler): make it static
14384 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
14386 * WorkArea.C: make the extern "C" methods static.
14388 * Makefile.am (lyx_LDADD): simplify
14390 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14392 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
14393 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
14395 * LyXAction.C (init):
14396 * lyxfunc.C (dispatch): associated code removal.
14398 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14400 * lyxfont.h (isSymbolFont): shut off warning
14402 * text.C (setHeightOfRow):
14403 (getVisibleRow): fix crash with empty paragraphs which have a
14406 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
14408 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
14411 2001-09-04 José Matos <jamatos@fep.up.pt>
14414 * tabular.C (docbook): rename docBook method to docbook.
14416 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14418 * Makefile.am: add dependencies to main.o.
14420 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
14422 * FontLoader.C (available): Return false if !lyxrc.use_gui
14424 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
14426 * FontInfo.C (query):
14427 * converter.C (view):
14428 * importer.C (Import):
14429 * exporter.C (Export): Can not -> cannot.
14431 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
14433 * BufferView_pimpl.C: allow to create index inset even if
14436 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
14438 * buffer.C (getLists): replace boost::tie code with an explicit pair
14439 as boost::tie can break some compilers.
14441 * iterators.h: Added a std:: declaration to the return type of
14444 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
14446 * lyxrc.C: add help for view_dvi_paper_option, default to safe
14449 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
14451 * iterators.[Ch]: New files. Provide paragraph iterators.
14453 * buffer.C (changeLanguage): Use paragraph iterators.
14454 (isMultiLingual): ditto
14456 * BufferView2.C (ChangeInsets): Use paragraph iterators.
14458 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
14460 * FontLoader.C: Support for cmr font.
14462 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
14464 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14465 (available): New method.
14467 * FontInfo.C (getFontname): Use scalable fonts even when
14468 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14471 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14473 * converter.C (Formats::view): reverted! Incorrect fix.
14475 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
14477 * converter.C (Formats::view): only output the -paper option
14478 if the dvi viewer is xdvi, thereby fixing bug #233429.
14480 2001-08-23 Herbert Voss <voss@perce>
14482 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14484 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
14486 * Spacing.h (Spacing): Set space to Default on in the default
14489 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
14491 * vc-backend.h (RCS::versionString): add RCS to version
14492 (CVS::versionString): add CVS to version
14494 * vc-backend.C (scanMaster): do not add CVS to version.
14495 (scanMaster): do not add RCS to version
14497 * lyxvc.C (versionString): new method
14499 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14501 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14503 * Spacing.C (set): initialize fval
14505 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
14507 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14510 2001-08-16 Juergen Vigna <jug@sad.it>
14512 * lyxfunc.C (dispatch): implemented the new FINISHED states.
14514 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14516 * BufferView_pimpl.C:
14519 * text2.C: setParagraph takes linespacing now
14521 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
14523 * LyxAction.C: add internal LFUN_CITATION_INSERT
14525 * LyXView.C: actually apply fix
14527 * bufferlist.C: fix open non-existent file
14529 * lyxfind.C: fix indentation
14531 * lyxfunc.C: remove unneeded assert, fix typo
14533 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
14535 * MenuBackend.C: use "Floatname List"
14537 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
14539 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14540 when converting LaTeX layout to insetERT.
14541 Generate a non-collapsed float when reading old float
14543 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14545 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14548 2001-08-13 Juergen Vigna <jug@sad.it>
14550 * text.C (fill): return 0 instead of 20 as this seems to be the more
14553 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
14555 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14558 2001-08-13 Juergen Vigna <jug@sad.it>
14560 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14562 (SearchBackward): comment out the unlocking of the inset_owner this
14563 should not be needed!
14565 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
14567 * Many files: Remove inherit_language, and add latex_language
14569 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14570 collapsible insets.
14572 2001-08-10 Juergen Vigna <jug@sad.it>
14574 * text.C (prepareToPrint): fixed hfill-width in draw!
14576 * BufferView2.C (selectLastWord): save the selection cursor as this
14577 now is cleared in the function LyXText::clearSelection!
14579 2001-08-08 Juergen Vigna <jug@sad.it>
14581 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14582 BACKSPACE type functions.
14584 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14585 is only cutted from the document but not put in the cut-buffer, where
14586 still the old stuff should be.
14588 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14590 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14592 * tabular.C (SetWidthOfCell): fixed special case where the width
14594 (LeftLine): handle '|' in align_special.
14596 (LeftAlreadyDrawed): ditto
14597 (SetWidthOfCell): ditto
14599 2001-08-07 Juergen Vigna <jug@sad.it>
14601 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14603 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14605 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14606 * lyxlex.[hC]: ditto
14608 2001-08-06 Juergen Vigna <jug@sad.it>
14610 * text.C (getVisibleRow): fix up row clearing a bit.
14612 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14614 * minibuffer.C: make sure the X server sees the changes in the input.
14616 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14618 * paragraph.C (getFont): split into...
14619 (getLabelFont): this
14620 (getLayoutFont): and this
14621 * paragraph_pimpl.C (realizeFont): calling this
14623 * text2.C (getFont): split into...
14624 (getLayoutFont): this
14625 (getLabelFont): and this
14626 (realizeFont): all three calling this
14628 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14631 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14633 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14635 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
14637 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14638 layouts from the Quote inset insertion.
14640 2001-08-03 Juergen Vigna <jug@sad.it>
14642 * BufferView_pimpl.C (update): do the fitCursor only at the end!
14644 * screen.C (drawFromTo): don't call fitcursor here and do the loop
14645 only if status not is already CHANGED_IN_DRAW (second level).
14647 * text.C (draw): don't set the need_break_row when inside an
14650 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
14652 * buffer.C (parseSingleLyXformat2Token): handle more latex
14655 * bufferview_funcs.[hC]: change function names to
14656 begin with small char, adjust other files.
14658 2001-08-02 André Pönitz <poenitz@gmx.net>
14661 BufferView_pimpl.C: remove broken special code for math-greek
14663 2001-08-02 Juergen Vigna <jug@sad.it>
14665 * BufferView_pimpl.C (update): redone this function so that we
14666 update the text again if there was a CHANGE_IN_DRAW.
14668 * screen.C (cursorToggle): removed LyXText parameter and recoded.
14669 (drawFromTo): added a new internal bool which is used by draw() and
14671 (general): some cursor drawing problems fixed.
14673 2001-08-01 Juergen Vigna <jug@sad.it>
14675 * lyxfind.C (LyXFind): fixed
14676 (SearchForward): ditto
14677 (SearchBackward): ditto
14679 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14680 spurius drawing of the cursor in the main area.
14682 * text2.C (status): small fix which could lead to a segfault!
14683 (clearSelection): remove unneeded BufferView param.
14685 2001-08-01 André Pönitz <poenitz@gmx.net>
14687 * lyxfunc.C: small change due to changed mathed interface
14689 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14691 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14693 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14695 * lyxfunc.c: fail gracefully if file doesn't exist
14700 * BufferView_pimpl.C: IsDirWriteable() proto changed
14702 * LyXView.C: fix updateWindowTitle() to store the last title
14704 2001-07-31 Juergen Vigna <jug@sad.it>
14706 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14707 the font (wrong since using of Paragraph::highestFontInRange).
14709 * paragraph.C (highestFontInRange): added a default_size parameter.
14711 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14712 (setHeightOfRow): reformat
14714 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14716 * converter.[hC] + affected files: move to (inital-char)lowercase
14719 * ParagraphParameters.C (ParagraphParameters): remove commented code
14721 * PainterBase.[Ch]: remove commented code
14723 * LaTeXFeatures.h: add "bool floats" for float.sty
14725 * LaTeXFeatures.C (LaTeXFeatures): init floats
14726 (require): handle float
14727 (getPackages): do it with floats
14729 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14731 * BufferView_pimpl.C (Dispatch): improve handling of
14732 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14734 * commandtags.h: #include lyxfont.h here temporarily to avoid
14737 * bufferlist.h: include LString.h here.
14739 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14741 * text2.C (getStringToIndex): new method.
14743 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14745 * *: Reduced header file dependencies all over.
14747 2001-07-30 Baruch Even <baruch@lyx.org>
14749 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14751 2001-07-29 Baruch Even <baruch@lyx.org>
14753 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14755 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14757 * ParameterStruct.h (endif): add a default constructor to make
14758 sure that all variables is initialized.
14760 * ParagraphParameters.C (ParagraphParameters): adjust
14762 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14764 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14765 index; also, check that there is something to index, and that it
14766 does not span over several paragraphs.
14767 (doubleClick): use WHOLE_WORD_STRICT for double click.
14769 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14771 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14774 2001-07-26 Baruch Even <baruch@lyx.org>
14776 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14777 an InsetFig figure, backwards compatible reading of old figure code.
14779 2001-07-27 Juergen Vigna <jug@sad.it>
14781 * text2.C: font.realize function adaption.
14783 * text.C (draw): add a warnings lyxerr text if needed.
14785 * layout.C: font.realize function adaption.
14787 * language.C: add inherit_language and implement it's handlings
14789 * bufferview_funcs.C (StyleReset): remove language parameter from
14790 font creation (should be language_inherit now).
14792 * bufferparams.C (writeFile): handle ignore_language.
14794 * paragraph.C (getFontSettings): the language has to be resolved
14795 otherwise we have problems in LyXFont!
14797 * lyxfont.C (lyxWriteChanges): added document_language parameter
14798 (update): removed unneeded language parameter
14800 * paragraph.C (validate): fixed wrong output of color-package when
14801 using interface colors for certain fonts in certain environments,
14802 which should not seen as that on the final output.
14804 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14806 * BufferView_pimpl.C:
14811 * LyXAction.C: add thesaurus support
14814 * lyxfind.C: add "once" parameter, for thesaurus, to not
14815 move to the next match
14817 2001-07-26 Juergen Vigna <jug@sad.it>
14819 * lyxfont.C (realize): honor ignore_language too!
14822 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14824 * text.C (draw): one place more for ignore_language to not draw
14827 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14829 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14831 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14833 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14834 the minipage conversion problem.
14836 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14838 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14841 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14843 * BufferView.h: don't forward declare WorkArea
14845 * BufferView.C: don't include WorkArea.h
14847 2001-07-25 André Pönitz <poenitz@gmx.net>
14851 * lyxfunc.C: new LFUN 'math-space'
14853 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14855 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14857 * text2.C (toggleInset): call open/close
14859 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14861 * lyxfunc.C (dispatch): add debug for the disabled case
14863 * font.C (buttonText): make similar to rectText
14865 * buffer.C (readInset): comment out parsing of insetlist and
14868 * PainterBase.C (rectText): small correction
14870 * BufferView_pimpl.C: comment out insettheorem and insetlist
14871 * LyXAction.C: ditto
14872 * commandtags.h: ditto
14874 2001-07-24 Juergen Vigna <jug@sad.it>
14876 * text.C (draw): honor the ignore_language.
14878 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14880 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14882 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14885 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14887 * lyxtext.h: remove unused (and unimplemented) methods
14889 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14891 * text.C (getVisibleRow): honor background color
14894 * Painter.h: remove default color argument for fillRectangle
14896 * text.C (backgroundColor): new method
14898 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14900 * text.C (getVisibleRow): adjust
14902 * font.[Ch] (rectText): new method, metrics
14903 (buttonText): new method, metrics
14905 * PainterBase.[hC]: make rectText and buttonText always draw and take
14908 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14910 * ToolbarDefaults.C (read):
14911 * MenuBackend.C (read): allow escaping in all strings
14913 * BufferView_pimpl.C (insertAndEditInset): new method.
14914 (Dispatch): use insertAndEditInset whenever appropriate.
14916 * BufferView_pimpl.C (insertNote): removed
14918 * BufferView_pimpl.C (smartQuote): new method, moved from
14919 BufferView; if an insetquote cannot be inserted, insert a '"'
14922 * BufferView2.C: remove insertCorrectQuote();
14924 * lyxfunc.C (getStatus): Add support for all remaingin
14925 inset-insert lfuns.
14927 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14929 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14930 command (necessary to pass " as parameter of self-insert.
14932 * text.C (selectWordWhenUnderCursor):
14933 (selectWord): add word_location parameter
14934 (selectWordWhenUnderCursor): same + remove special code for word
14936 (selectNextWord): use kind() to guess type of insetspecialchar,
14939 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14940 (insertErtContents): create ert insets as collapsed.
14941 (readInset): better compatibility code for Info inset.
14943 2001-07-20 Juergen Vigna <jug@sad.it>
14945 * lyxfunc.C (dispatch): use always LyXFind now!
14947 * text2.C (init): add a reinit flag so that the LyXText can be
14948 reinited instead of deleted and reallocated (used in InsetText).
14950 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14956 2001-07-18 Juergen Vigna <jug@sad.it>
14958 * text.C (selectNextWord): handle insets inside inset by calling
14959 always the bv->text functions so that we can go up the_locking_inset!
14961 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14962 in strange locations when inside an inset!
14964 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14965 handling to include insets.
14967 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14969 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14971 * LyXAction.C (init):
14973 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14974 LIGATURE_BREAK, since the name is so stupid.
14976 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14978 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14981 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14983 * sp_form.[Ch]: remove.
14985 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14987 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14990 * src/buffer.C (readInset): ditto.
14992 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14994 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14995 menuSeparator(), endOfSentenceDot(), ldots() and
14996 hyphenationPoint(), which are therefore removed.
14997 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14999 * LyXAction.C (init):
15000 * commandtags.h: add LFUN_HYPHENATION_BREAK.
15002 * paragraph.C (getWord): removed.
15004 * BufferView_pimpl.C (Dispatch): use last word or selection for
15005 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
15007 * lyx_main.C (queryUserLyXDir): do not ask before creating
15008 user_dir, except if it has been named explicitely.
15010 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
15012 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
15013 a document of zero size.
15015 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
15017 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
15018 approriately in the c-tor and in require().
15019 (getPackages): output the appropriate LaTeX for natbib support.
15021 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
15022 variables "use_natbib" and "use_numerical_citations" when reading the
15024 (readInset): read the various natbib cite commands.
15025 (validate): white-space change.
15027 * bufferparams.[Ch]: new variables "bool use_natbib" and
15028 "bool use_numerical_citations".
15029 (writeFile): output them in the LyX file.
15031 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
15033 * lyxfunc.C (getStatus): add support for all the inset insertion
15036 * text2.C (insertInset):
15037 * paragraph.C (insetAllowed):
15038 * BufferView_pimpl.C (insertInset): update to take in account the
15039 renaming of insertInsetAllowed
15041 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
15043 * text2.C (getInset): new method. returns inset at cursor position.
15045 * BufferView_pimpl.C (Dispatch): changes because of this.
15047 * LyXAction.C (init): rename open-stuff to inset-toggle.
15049 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
15051 * text2.C (toggleInset): renamed from openStuff; use
15054 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
15056 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
15058 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
15060 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
15062 * buffer.C (readLyXformat2): Add filename to the error dialog
15064 2001-07-18 Juergen Vigna <jug@sad.it>
15066 * tabular.C (GetCellNumber): put an assert here instead of the check!
15068 2001-07-17 Juergen Vigna <jug@sad.it>
15070 * BufferView_pimpl.C (toggleSelection): adapted too.
15072 * text.C (selectNextWord): adapted for use with insets.
15073 (selectSelectedWord): ditto
15075 2001-07-17 Juergen Vigna <jug@sad.it>
15077 * sp_spell.C (PSpell): fix initialitation order.
15079 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15081 * paragraph.C: spacing
15083 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
15085 * sp_spell.C: repair language selection for pspell
15087 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15089 * lyxfunc.h: change more methods to begin with lower char.
15091 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
15093 * buffer.C (parseSingleLyXformat2Token): Generate error insets
15094 for unknown layouts.
15096 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
15098 * buffer.C (readLyXformat2): Generate an error dialog if there are
15101 2001-07-16 Juergen Vigna <jug@sad.it>
15103 * sp_spell.C: always compile ISpell part.
15105 * lyxrc.C: added use_pspell entry and it's handling.
15107 2001-07-13 Juergen Vigna <jug@sad.it>
15109 * sp_spell.C: removed double includes.
15111 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
15113 Consistent use of Lsstream.h:
15114 * Lsstream.h: added using std::stringstream for consistencies sake.
15116 * buffer.C: removed using std::stringstream
15118 * lyxfont.C (stateText):
15119 * paragraph.C (asString):
15120 * text.C (selectNextWord, selectSelectedWord):
15121 * text2.C (setCounter):
15122 * vspace.C (asString, asLatexString):
15123 std::ostringstream -> ostringstream.
15125 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15127 * LyXAction.C: add LFUN_HELP_ABOUTLYX
15128 * commandtags.h: add LFUN_HELP_ABOUTLYX
15129 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
15131 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
15133 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
15135 * lyx_gui_misc.C: remove spellchecker
15136 * lyxfunc.C: showSpellchecker
15138 * sp_ispell.h: added
15139 * sp_pspell.h: added
15140 * sp_spell.C: added
15141 * sp_form.[Ch]: removed
15142 * spellchecker.[Ch]: removed
15144 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
15146 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
15148 (simpleTeXSpecialChars): Simply print the input character without
15149 any special translation if pass_thru is set.
15151 * layout.h: Added bool pass_thru to layout class for being able to
15152 implement pass through of a paragraph for Literate Programming.
15154 * layout.C: add LT_PASS_THRU to LayoutTags enum.
15155 * layout.C (LyXLayout): set pass_thru to flase in constructor.
15156 * layout.C (Read): add "passthru" to list of layout tags and add
15157 code to set the pass_thru boolean when it is read.
15159 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
15161 * trans_decl.h: remove allowed from KmodInfo
15163 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
15164 remove allowed code
15167 * paragraph_pimpl.C (erase): use boost::prior
15169 * Painter.C (text): use data() instead of c_str() when length is
15171 * WorkArea.C (putClipboard): ditto
15172 * font.h (width): ditto
15174 * BufferView2.C: use it-> instead of (*it). for iterators
15176 * paragraph_pimpl.C: ditto
15177 * paragraph.C: ditto
15178 * minibuffer.C: ditto
15179 * language.C: ditto
15181 * encoding.C: ditto
15182 * counters.C: ditto
15183 * converter.C: ditto
15185 * Variables.C: ditto
15186 * TextCache.C: ditto
15187 * MenuBackend.C: ditto
15188 * LyXAction.C: ditto
15190 * FloatList.C: ditto
15191 * DepTable.C: ditto
15192 * ColorHandler.C (LyXColorHandler): ditto
15194 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15196 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
15198 * text2.C (openStuff): reintroduce this method (which had been
15199 nuked in NEW_INSETS frenzy).
15201 * lyxfunc.C (Dispatch): when an action has not been handled, use
15202 its name in the error message, not its number.
15204 * paragraph.C (inInset): change method name to begin with lowercase.
15207 * text2.C: updates because of this.
15209 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15211 * ToolbarDefaults.C (add): add spaces in error message
15213 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15215 * buffer.C (readLyXformat2): initialize the ert comp. variables.
15216 (readLyXformat2): rename return_par to first_par, use lyxlex's
15217 pushToken and remove the manual push handling.
15218 (parseSingleLyXformat2Token): add another ert comp. variable:
15219 in_tabular, rename return_par to first_par. handle newlines better
15221 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15223 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
15225 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15227 * text2.C (getParFromID): removed
15229 * buffer.C (getParFromID): new method moved form lyxtext.
15230 * BufferView2.C (insertErrors): adjust
15231 (setCursorFromRow): adjust
15232 * BufferView_pimpl.C (restorePosition): adjust
15233 * lyxfunc.C (Dispatch): adjust
15234 * undo_funcs.C (textUndo): adjust
15236 (textHandleUndo): adjust
15237 (textHandleUndo): adjust
15239 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15241 * buffer.C: up' the LYX_FORMAT
15243 * lyxfont.h: turn NO_LATEX on as default
15245 * buffer.C (insertErtContents): new methods of tex style compability.
15246 (parseSingleLyXformat2Token): use it several places.
15247 * tabular.C (OldFormatRead): and here
15249 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
15251 * text2.C: remove some commented code.
15254 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
15255 * trans.C: changes because of the above.
15257 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
15259 * text2.C (setCounter): Fix counters bug with bibliography layout.
15261 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15263 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
15264 own member functions
15265 (simpleTeXSpecialChars): ditto
15267 2001-07-06 Juergen Vigna <jug@sad.it>
15269 * a lot of files: changed the access to LyXText::status and the
15270 call of undo-functions.
15272 * undo.[Ch]: added a inset_id to the undo informations.
15274 * undo_funcs.[Ch]: added and moved here all undo functions.
15276 * lyxtext.h: give the status enum a weight, made status_ a private
15277 variable and made accessor functions for it, removed the whole bunch
15278 of undo-functions as they are now in their own file, make some
15279 functions publically available. Added function ownerParagraph with
15282 * paragraph.[Ch]: added "bool same_ids" to the constructor,
15283 made InInset() a const function, added getParFromID() function.
15285 * buffer.[Ch]: added const version for inset_iterator functions,
15286 added getInsetFromID() function.
15288 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
15289 changed undo functions for new version.
15291 2001-07-05 Juergen Vigna <jug@sad.it>
15293 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
15294 unknow mechanism does not call the proper constructor but only this
15295 one also if I request the other!?
15297 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15299 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
15301 * text2.C (LyXText): use initialization lists.
15303 * lyxtext.h (Selection): initialize set_ and mark_
15304 (init): remove method
15306 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
15308 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
15310 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15312 * screen.[Ch]: change method names to begin with lowercase
15314 * BufferView_pimpl.C (updateScrollbar): simplify further and
15315 hopefully make it a bit faster.
15317 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15319 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
15320 calling directly xforms functions.
15322 * Painter.C (Painter):
15323 * lyx_cb.C (MenuWrite):
15324 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
15327 * lyx_gui.C: remove bogus guiruntime extern declaration.
15329 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15331 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
15333 (redoDrawingOfParagraph): ditto
15334 (redoParagraphs): ditto
15335 (cutSelection): don't create a object for CutAndPaste use the
15336 static method directly
15337 (pasteSelection): ditto
15339 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
15342 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15344 * modifications to some other files because of this.
15346 * Makefile.am (lyx_SOURCES): add XFormsView
15348 * XFormsView.[Ch]: new files
15350 * LyXView.[Ch]: make LyXView a base class for the gui handling for
15351 the main window. Move the gui dependent stuff to XFormsView
15353 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15355 * tabular.C (GetCellInset): update cur_cell also in the row/col
15356 version of this function.
15358 * lyxfunc.C: no need to include figure_form.h here.
15364 * lyxvc.C: no need to include forms.h here.
15366 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15368 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
15370 * lyxfunc.C (Dispatch):
15372 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
15373 constructor argument.
15375 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15377 * paragraph.C (Paragraph): dont't clear, and just set layout.
15378 (makeSameLayout): use params's copy contructor.
15380 * ParagraphParameters.[Ch] (makeSame): delete method
15382 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
15384 * Variables.[Ch]: fix indentation, rename set to isSet
15386 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15388 * lyxfunc.C (Dispatch): fix typo
15390 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15392 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
15395 * bufferlist.C: include assert.h for emergencyWrite().
15397 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15399 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
15400 give up at last (bug #425202) !
15402 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
15408 * spellchecker.C: strip spellchecker options and bring up
15409 preferences tab instead
15411 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15413 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
15414 the istringstream constructor
15416 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15418 * paragraph.C (getLayout): fix return value
15420 * paragraph.h: do not declare getLayout as inline.
15422 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15424 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15426 * lyxcursor.h (operator<): new func
15427 (operator>): new func
15428 (operator>=): new func
15429 (operator<=): new func
15431 * text.C (changeCase): use selection.start and selection.end
15432 (changeRegionCase): require from to be <= to. Require par to be a
15435 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15437 2001-06-27 Juergen Vigna <jug@sad.it>
15439 * text.C (cursorLeftOneWord): changed to return the cursor and added
15440 overlay with BufferView * parameter which calls this one.
15442 (selectWord): use new getWord function.
15443 (changeCase): renamed from changeWordCase as and extended to work
15444 also on selections.
15446 * lyxtext.h: added enum word_location
15448 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15449 changeCase as this operates now also on selections.
15451 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
15453 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15455 * many files: send debug output to Debug::INFO instead of
15458 * converter.C (View):
15460 (Move): send debug output to Debug::FILES instead of console.
15462 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
15464 * lyxfunc.C (getStatus): use func_status
15466 * func_status.h: new header, describing the results of
15467 LyXFunc::getStatus;
15469 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15472 2001-06-25 The LyX Project <jug@sad.it>
15474 * buffer.C (sgmlOpenTag):
15476 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
15478 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15480 * text2.C: remove some dead code
15482 * tabular.C (GetCellInset): store the last cell checked (gotten)
15484 * tabular.h: add the helper for the speedup
15486 * lyxtext.h: remove some dead code
15488 2001-06-26 The LyX Project <Asger>
15490 * paragraph.C: Change export to LaTeX of alignment to
15491 \begin{center} and family for better roundtrip work with reLyX.
15493 * Tune the math drawing a bit.
15495 2001-06-25 The LyX Project <Asger>
15497 * LColor.C (LColor): New color for math background. New color
15500 2001-06-25 The LyX Project <jug@sad.it>
15502 * lyxfunc.C (MenuNew): remove extra check for .lyx file
15504 * lyxfunc.C (Open):
15505 * bufferlist.C (newFile): do not restrict to files ending with
15508 * BufferView_pimpl.C (MenuInsertLyXFile):
15510 2001-06-24 The LyX Project <jug@sad.it>
15512 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15515 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15517 * lyxtext.h: rename most methods to begin with a small char.
15518 Lots of changes because of this.
15520 * paragraph.C (Paragraph): do not call fitToSize
15521 (erase): call Pimpl::erase
15522 (insertChar): call Pimpl::insertChar
15523 (insertInset): call Pipl::insertInset
15524 (breakParagraph): do not call fitToSize
15525 (breakParagraphConservative): do not call fitToSize
15526 (fitToSize): remove method
15528 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15530 2001-06-24 The LyX Project <Asger>
15532 * Fix Qt compilation^2
15534 2001-06-24 The LyX Project <jug@sad.it>
15536 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15537 depthHook(getDepth()-1).
15540 * ParagraphParameters.h:
15541 * ParameterStruct.h: change type of depth to unsigned int ==
15542 depth_type. Many adaptations to other files before of that.
15544 2001-06-24 The LyX Project <Asger>
15546 * Fix Qt compilation.
15548 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15550 * paragraph.h: renamed several methods to begin with small letter.
15551 several changes to many parts of the code because of this.
15553 2001-06-23 The LyX Project <jug@sad.it>
15555 * text2.C (InsertStringAsLines): renamed from InsertStringA;
15556 rewritten to discard all double spaces when KeepEmpty is off
15557 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15558 to only handle newlines but not fiddle with spaces and friends.
15560 * lyxfunc.C (MenuNew): when doing 'new from template', use
15561 template_path as default directory
15563 2001-06-23 The LyX Project <Asger>
15565 * Clean-up of header file includes all over
15566 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15568 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15570 * paragraph.h: renamed from lyxparagraph.h
15572 2001-06-23 Asger <lyx@violet.home.sad.it>
15574 * Buffer.h: Removed Buffer::resize
15575 * BufferList.h: Removed BufferList::resize
15576 * LyXView.h: Added LyXView::resize. This way, we will only reflow
15577 the document lazily when we change the width, or the font settings.
15579 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15581 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15583 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15585 * buffer.h: remove out of date comment
15587 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
15590 * screen.C: fix "theoretical" GC leak
15592 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15594 * LaTeX.C (scanAuxFile):
15595 (deplog): remove trailing \r when reading stream (useful under
15598 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
15600 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15601 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15602 and BufferView::theLockingInset(Inset*), so should use them and not
15603 access bv_->text->the_locking_inset directly.
15605 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15607 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15610 * tex-defs.h: remove old unused file
15612 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
15614 * BufferView_pimpl.C: fix typo, remove minibuffer message
15615 when buffer has loaded
15617 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
15619 * lyxfunc.C (Dispatch): use stringstream
15620 (MenuNew): use stringstream
15621 (Open): use stringstream
15623 * importer.C (Import): use stringstream
15625 * bufferview_funcs.C (CurrentState): use stringstream
15627 * LaTeX.C (run): use stringstream
15629 * BufferView_pimpl.C (savePosition): use stringstream
15630 (restorePosition): use stringstream
15631 (MenuInsertLyXFile): use stringstream
15633 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
15646 * vspace.C: removed // -*- C++ -*- as first line.
15649 * version.h: added // -*- C++ -*- as first line.
15651 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15653 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15655 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15658 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
15660 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15663 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15665 * gettext.C: include LString.h even when --disable-nls is on.
15667 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
15669 * converter.h (Get): changed argument type from int to
15670 FormatList::size_type to avoid unnecessary conversion.
15672 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15675 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15677 * gettext.h: include LString.h even when --disable-nls is on.
15679 2001-06-07 Juergen Vigna <jug@sad.it>
15681 * text.C (BreakAgain): subst spaces with tabs.
15683 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15684 (resizeInsetsLyXText): set force on resizeLyXText.
15686 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15688 * gettext.h (gettext_init):
15689 (locale_init): use a real definition instead of a macro
15691 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15693 * Bufferview_pimpl.C:
15695 * LColor.C: further lcolor tidies
15697 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15699 * BufferView_pimpl.C (updateScrollbar): simplify.
15701 * BufferView2.C: don't include insets/insetinfo.h, change
15702 prototype for insertInset and call the Pimpl version. let
15703 updateInset call Pimpl version.
15705 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15706 gotoInset to BufferView::Pimpl
15708 2001-06-01 Juergen Vigna <jug@sad.it>
15710 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15711 inside a LockingInset (is the update needed at all?).
15713 2001-05-31 Juergen Vigna <jug@sad.it>
15715 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15716 here not the old one otherwise how should we compare it afterwards
15719 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15724 * FontInfo.C: bring C functions into global namespace when
15727 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15729 * LString.h: make sure config.h has been loaded before LString.h.
15731 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15732 (one for each char read by EatLine!).
15734 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15737 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15739 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15740 to the same as the par we break from
15742 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15744 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15746 * MenuBackend.C (expand): also create menu entries for wide
15747 versions of the floats.
15749 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15751 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15753 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15754 frontends/Makefile.am
15760 * tabular.C (getTokenValue): add std::
15762 * tabular-old.C (getTokenValue): add std::
15763 (getTokenValue): ditto
15764 (getTokenValue): ditto
15766 * screen.C (ToggleSelection): adjust
15768 * lyxtext.h: put selection cursors inside a Selection struct.
15770 * lyxfunc.C (moveCursorUpdate): adjust
15772 * lyxfont.C (latexWriteStartChanges): add std::
15774 * lyxfind.C: adjust
15776 * font.h: delete with(char const *, LyXFont const &)
15778 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15780 * FontInfo.C (getFontname): add std::
15782 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15783 (workAreaButtonPress): adjust
15784 (tripleClick): adjust
15786 (moveCursorUpdate): adjust
15789 * BufferView2.C (gotoInset): adjust
15791 2001-05-30 Juergen Vigna <jug@sad.it>
15793 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15794 to check pspell I add this as default as I now have new pspell
15795 libraries and they seem to use this.
15797 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15799 * text2.C (CutSelection): make the cursor valid before the call to
15802 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15804 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15805 relied on 0 terminated strings and other horrors. Bug found due to
15806 the new assert in lyxstring!
15808 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15811 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15813 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15816 * lyxfunc.C (processKeySym): change method of getting to the
15819 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15820 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15821 * BufferView_pimpl.[Ch]: here as private methods.
15823 2001-05-28 Juergen Vigna <jug@sad.it>
15825 * text.C (SetHeightOfRow): added the update() call again as it is
15826 needed to initialize inset dimensions!
15828 2001-05-16 Juergen Vigna <jug@sad.it>
15830 * text2.C (SetCharFont): Add new function with BufferView * and
15831 bool toggleall parameters for setting insets internal fonts.
15832 (SetFont): Freeze the undo as we may change fonts in Insets and
15833 all this change should be inside only one Undo!
15835 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15836 setting font's in insets as for them we have the SetFont function!
15838 2001-05-15 Juergen Vigna <jug@sad.it>
15840 * text2.C (ClearSelection): to be sure we REALLY don't have any
15843 * tabular.C (TeXCellPreamble): fixed the left border problem for
15846 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15848 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15851 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15853 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15854 LFUN_BREAKPARAGRAPH.
15856 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15857 help test to "internal only", similar for LFUN_INSERT_URL
15859 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15860 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15861 auto_region_delete and deadkeys.
15863 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15866 * LColor.C: remove some dead entries, tidy a little
15868 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15870 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15872 (Dispatch): implement LFUN_ESCAPE
15874 * commandtags.h: add LFUN_ESCAPE
15876 * LyXAction.C (init): add entry for LFUN_ESCAPE
15878 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15879 Remove commented code.
15880 (insertNote): moved here
15881 (open_new_inset): moved here
15883 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15886 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15888 * kbmap.C (findbinding): clean it up and make it work correctly.
15890 * lyx_main.C (init): do not pass argc and argv as parameters
15892 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15894 * buffer.C: fix path for OS/2 & Win32
15898 * lyx_main.C: Added os:: class.
15900 * os2_defines.h: update
15902 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15904 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15905 better by trying again with reduced state.
15907 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15909 * lyxrc.C (read): print error about invalid key sequence only when
15910 debugging (because not all latinX keysyms are known to some X
15913 * kbsequence.C (getiso): add a few std:: qualifiers
15914 (getiso): comment out extra return statement.
15916 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15918 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15920 (Dispatch): enhance the accent inset a bit. (not perfect)
15922 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15924 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15926 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15928 * bufferlist.C (emergencyWrite): fix assert() call
15930 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15932 * text.C (InsertChar): Added trivial patch to only send the "you
15933 can not do multiple spaces this way" message once during a
15936 2001-05-08 Baruch Even <baruch@lyx.org>
15938 * Makefile.am: Changed order of libraries to get LyX to link properly
15939 with the gnome frontend.
15941 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15943 * LaTeXFeatures.h: add a std:: qualifier
15945 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15947 * paragraph.C (String): use stringstream
15949 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15951 * paragraph.C (writeFile): remove footflag arg
15953 * buffer.C (makeLaTeXFile): use stringstream
15954 (latexParagraphs): remove footnot gurba
15956 * LaTeXFeatures.C (getPackages): use stringstream
15957 (getMacros): likewise
15958 (getTClassPreamble): likewise
15959 (getFloatDefinitions): new method
15961 * paragraph.C (writeFile): reindent
15964 * WorkArea.h: revert the xpos + etc changes.
15966 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15968 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15970 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15971 (pasteSelection): likewise
15972 * text2.C (CreateUndo): likewise
15974 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15976 * minibuffer.C (peek_event): temporarily reduce the functionality
15977 of the minibuffer (to allow args on lfuns)
15979 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15980 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15982 * buffer.C (readInset): add compability reading of old float
15983 lists, add reading of new style float list.
15984 (readInset): avoid reevaluation of inscmd.getCmdName()
15985 (getLists): reindent
15987 * MenuBackend.C (MenuItem): implement parsing of
15988 md_floatlistinsert and md_floatinsert.
15989 (expand::LastFiles): move initalizaton of iterators out of loop,
15990 avoid reevaluation.
15991 (expand::Documents): introduce typdedef vector<string> Strings,
15993 (expand::ExportFormats): introduce typedef vector<Format const *>
15994 Formats, and use it.
15995 (expand): implement FloatListInsert and FloatInsert.
15997 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15998 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15999 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
16001 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
16003 (Dispatch::LFUN_FLOAT_LIST): implement
16005 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
16007 * LaTeX.C (run): Fix problem with --export code.
16009 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16011 * BufferView.[Ch] (workarea): removed.
16012 (getClipboard) new method; wrapper for workarea()->getClipboard()
16014 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
16017 * WorkArea.h (width, height, xpos, ypos): These methods all
16018 returned the dimensions of the work_area sub-area of WorkArea,
16019 resulting in a position error if the WorkArea were resized. Now
16020 return the dimensions of the entire WorkArea.
16022 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
16024 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16026 * LaTeX.C (deplog): correct the syntax of regex reg1
16028 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
16030 * undo.C: remove !NEW_INSETS cruft
16032 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
16034 * text2.C: remove !NEW_INSETS cruft
16036 * text.C: remove !NEW_INSETS cruft
16038 * tabular.C: remove !NEW_INSETS cruft
16040 * spellchecker.C: remove !NEW_INSETS cruft
16042 * lyxtext.h: remove !NEW_INSETS cruft
16044 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
16046 * lyxfunc.C: remove !NEW_INSETS cruft
16048 * lyxfind.C: remove !NEW_INSETS cruft
16050 * lyx_cb.C: remove !NEW_INSETS cruft
16052 * figureForm.C: remove !NEW_INSETS cruft
16054 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
16056 * buffer.[Ch]: remove !NEW_INSETS cruft
16058 * ToolbarDefaults.C: remove !NEW_INSETS cruft
16060 * CutAndPaste.C: remove !NEW_INSETS cruft
16062 * BufferView_pimpl.C: remove !NEW_INSETS cruft
16064 * BufferView2.C: remove !NEW_INSETS cruft
16066 * BufferView.h: remove !NEW_INSETS cruft
16068 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16070 * Lsstream.h: include LString.h before the sstream headers to
16071 fix problem with gcc 2.95.3 and lyxstring
16073 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16075 * lyx_main.C: add using directives when needed for C functions
16076 declared in std:: namespace.
16078 2001-04-27 Juergen Vigna <jug@sad.it>
16080 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
16081 (SetHeightOfRow): comment out the update call should not be needed!
16083 2001-04-13 Juergen Vigna <jug@sad.it>
16085 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
16086 (LyXTabular): tried to minimize operator= operations (and realized
16087 hopfully Lars wish).
16089 2001-04-27 Juergen Vigna <jug@sad.it>
16091 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
16093 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
16095 * lyxfunc.C (Dispatch): hack to make listof algorithm work
16097 * buffer.C (readInset): hack to make listof algorithm work
16099 * BufferView_pimpl.C: hack to make listof algorithm work
16101 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
16103 * LyXAction.C: removed all !NEW_INSETS cruft
16104 (init): moved lfun_item in method
16106 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
16108 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
16110 * BufferView2.C (theLockingInset): white space.
16112 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
16114 * minibuffer.C: include <iostream>
16116 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
16118 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
16120 * commandtags.h: add LFUN_TRANSPOSE_CHARS
16122 * text.[Ch] (TransposeChars): new method
16124 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
16126 * call message directly through LyXView instead of through LyXFunc
16127 * BufferView2.C: adjust
16128 * BufferView_pimpl.C: adjust
16129 * FontLoader.C: adjust
16131 * bufferview_funcs.C: adjust
16132 * converter.C: adjust
16133 * figureForm.C: adjust
16134 * importer.C: adjust
16136 * lyx_gui_misc.C: adjust
16137 * lyxfunc.C: adjust
16140 + more files in subdirs
16142 * lyxparagraph.h (size): move up int file
16145 * adjust all uses of Assert to lyx::Assert.
16147 * BufferView2.C (ChangeCitationsIfUnique): adjust for
16148 lyxfunctional in namespace lyx
16149 * layout.C (hasLayout): ditto
16152 (delete_layout): ditto
16153 (NumberOfClass): ditto
16154 * converter.C (GetFormat): ditto
16159 * bufferlist.C (getFileNames): ditto
16160 (emergencyWriteAll): ditto
16163 * MenuBackend.C (hasSubmenu): ditto
16166 * BufferView_pimpl.C (getInsetByCode): ditto
16168 2001-04-18 Juergen Vigna <jug@sad.it>
16170 * vspace.C (asLatexString): fixed the 100% problem.
16172 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16174 * lyxfunc.C (Dispatch):
16176 * minibuffer.h: add a few std:: qualifiers
16178 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
16180 * minibuffer.[Ch]: reimplement so that commands is initiated and
16181 run from lyxfunc, simplified som handling, and made the completion
16182 and history code for complete. wip.
16184 * lyxfunc.C (processKeySym): call message
16185 (miniDispatch): new temporary method
16186 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
16187 (LFUN_MESSAGE): implement
16188 (LFUN_MESSAGE_PUSH): implement
16189 (LFUN_MESSAGE_POP): implement
16190 (initMiniBuffer): the initial/defualt minibuffer message.
16192 * lyxfont.[Ch]: inline some more getters
16194 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
16196 * lyx_gui_misc.[Ch] (WriteStatus): remove method
16198 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
16199 (AutoSave): use LFUN_MESSAGE
16200 (Reconfigure): ditto
16202 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
16204 * figureForm.C: use LFUN_MESSAGE
16206 * converter.C (runLaTeX): use LFUN_MESSAGE
16208 * bufferview_funcs.C: use LFUN_MESSAGE
16210 (changeDepth): ditto
16212 * bufferparams.h: use boost::
16214 * bufferlist.h: inherit privately from noncopyable
16216 * bufferlist.C (loadLyXFile): remove some commented code.
16218 * buffer.C (runChktex): use LFUN_MESSAGE
16220 * ShareContainer.h: inherit privately from noncopyable
16222 * ParagraphParameters.[hC] (depth): inline it.
16224 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
16226 (message): new method
16227 (messagePush): ditto
16228 (messagePop): ditto
16229 (show): init minibuffer
16230 (showState): direct call
16232 * LaTeX.[Ch]: inherit privately from noncopyable
16233 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
16234 instead of WriteStatus.
16236 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
16238 * BufferView_pimpl.C (buffer): don't init minibuffer
16239 (workAreaButtonPress): use LFUN_MESSAGE
16240 (workAreaButtonRelease): ditto
16241 (savePosition): ditto
16242 (restorePosition): ditto
16243 (MenuInsertLyXFile): ditto
16244 (workAreaExpose): don't init minibuffer
16245 (update): remove commented code, simplify
16247 * BufferView2.C (openStuff): use LFUN_MESSAGE
16248 (toggleFloat): ditto
16251 (copyEnvironment): ditto
16252 (pasteEnvironment): ditto
16257 (updateInset): remove some commented code
16259 * lastfiles.h: inherit privately from noncopyable
16262 * lyx_main.h: ditto
16264 * lyxlex_pimpl.h: ditto
16266 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
16267 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
16268 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16270 * LyXAction.h: inherit privately from noncopyable, add methods
16271 func_begin, func_end, returning iterators to the func map.
16273 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
16274 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
16275 (func_begin): new method
16276 (func_end): new method
16278 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
16280 (copySelection): ditto
16281 (pasteSelection): ditto
16283 * BufferView.C: whitespace change
16284 * BufferView.h: inherit privately from noncopyable
16286 2001-04-16 Allan Rae <rae@lyx.org>
16288 * tabular-old.C (l_getline):
16289 * spellchecker.C (sc_check_word):
16290 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
16291 an unrecognised preprocessor directive. So ensure they're wrapped.
16293 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
16295 * src/exporter.C (Export): Give an error message when path to file
16298 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
16300 * LaTeX.C (deplog): Always check that foundfile exists.
16302 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16305 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
16307 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
16309 * tabular.[Ch] (getLabelList): implement new method
16311 * minibuffer.h: comment ouf setTiimer
16313 * minibuffer.C (ExecutingCB): constify res
16314 (peek_event): constify s
16315 (Set): constify ntext
16316 (Init): constify nicename
16318 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
16320 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
16321 (savePosition): use two params to Minibuffer::Set
16322 (restorePosition): ditto
16324 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16326 * lyx_main.C: include language.h
16328 * Makefile.am (lyx_main.o): add language.h
16330 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16336 * CutAndPaste.C: include gettext.h
16338 * lyxfont.h: remove old hack with ON and OFF.
16341 * lyxfont.h: do not include language.h...
16346 * bufferview_funcs.C:
16352 * paragraph.C: ... but do it here instead
16354 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
16356 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
16358 * tabular.C: small reformat
16360 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
16363 (BreakParagraph): ditto
16364 (SetOnlyLayout): ditto
16367 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
16370 * lastfiles.C: removed most using decl, add std:: where needed
16372 * buffer.C: ws changes
16374 * MenuBackend.C (class compare_format): put into anon namespace
16375 (expand): constify label, names, action, action2
16378 * text.C (SingleWidth): constify font
16379 (IsBoundary): constify rtl2
16380 (GetVisibleRow): constify ww
16382 * LaTeX.C (deplog): constify logfile
16384 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
16386 (workAreaExpose): constify widthChange, heightChange
16388 * lyxrow.C (par): moved
16391 * lyxrow.h: as inlines here
16393 * lyxfont.h (shape): moved from lyxfont.C
16394 (emph): moved from lyxfont.C
16396 * lyxfont.C (LyXFont): use initialization list for all
16398 (shape): move to lyxfont.h as inline
16399 (emph): move to lyxfont.h as inline
16402 2001-04-04 Juergen Vigna <jug@sad.it>
16404 * vspace.C: had to include stdio.h for use of sscanf
16406 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
16409 * BufferView_pimpl.h: remove xforms cruft. Both classes are
16410 independent of xforms.
16412 2001-04-02 Juergen Vigna <jug@sad.it>
16414 * spellchecker.C: fixed namespace placing!
16416 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
16418 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
16419 the LyXParagraph * is 0.
16421 2001-03-29 Juergen Vigna <jug@sad.it>
16423 * vspace.C: added support for %, c%, p%, l%.
16424 (stringFromUnit): added helper function.
16425 (asLatexString): changed to give right results for the %-values.
16427 * buffer.C: convert the widthp in a width%.
16429 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
16431 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16434 * figureForm.[Ch]: stripped the FD_from_figure manipulation
16435 code out of lux_cb.[Ch], ready for its (imminent?) removal.
16437 * lyx_cb.[Ch]: see above.
16439 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16443 * lyx.[Ch]: replaced by figure_form.[Ch].
16447 * lyxfunc.C: changed headers associated with above changes.
16449 2001-03-27 Juergen Vigna <jug@sad.it>
16451 * BufferView_pimpl.C: set the temporary cursor right!
16453 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
16455 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16457 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
16459 * LString.h: removed "using std::getline"!
16461 * BufferView_pimpl.C (Dispatch): changes due to changes in
16462 InsetInclude::Params.
16464 * buffer.C (tag_name): removed redundant break statements as they were
16465 producing lots of warnings with my compiler.
16467 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16469 * LString.h: add "using std::getline" when using the real <string>.
16471 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
16473 * buffer.C: removed bitset usage.
16474 PAR_TAG moved to an anonymous name space.
16475 (tag_name): new funtion, also in the anonymous namespace.
16476 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16477 (makeDocBookFile): clean code. Completed transition from string arrays
16479 (SimpleDocBookOnePar): code clean.
16481 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16483 * tabular.C: add some comments.
16485 2001-03-22 Juergen Vigna <jug@sad.it>
16487 * buffer.C (parseSingleLyXformat2Token): redone the minipage
16488 compatibility read a bit and fixed bug with minipage in different
16491 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
16493 * buffer.C (pop_tag): removed.
16494 (push_tag): removed.
16495 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16496 array replaced with vector. Added support for CDATA sections.
16497 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16499 (makeDocBookFile): XML conformant declaration of CDATA section,
16500 fixed bug related to <emphasis> in the first paragraph char.
16501 (sgmlOpenTag): exclude empty tags.
16502 (sgmlCloseTag): ditto.
16504 * buffer.h (pop_tag): removed.
16505 (push_tag): removed.
16507 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
16509 * language.h (Languages): added size_type and size().
16511 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16513 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16514 response on compability reading of minipages. One probliem is that
16515 the old usage of minipages was «flertydig»
16517 * several files here and in subdirs: don't use static at file
16518 scope use anon namespaces instead.
16520 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
16522 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16523 LaTeX output. This is necessary for Literate document
16526 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16528 * buffer.C: insert hfill when needed.
16530 * tabular.C (l_getline): use string::erase, small whitespace change.
16532 * BufferView_pimpl.C: try the anon namespace.
16533 * WorkArea.C: ditto
16535 2001-03-16 Juergen Vigna <jug@sad.it>
16537 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16538 otherwise it won't open options-dialogs.
16540 * buffer.C: honor pextraWidth(p) on converting minipages.
16542 * tabular.C (l_getline): changed the functions to strip trailing \r.
16544 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
16546 * BufferView_pimpl.C:
16547 * minibuffer..C: added "using SigC::slot" declaration.
16549 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16551 * lyxlex_pimpl.h: noncopyable is in namespace boost.
16557 * paragraph.C: ditto
16559 * lyxtext.h: NO_PEXTRA
16561 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16563 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16564 * ParameterStruct.h: ditto
16565 * ParagraphParameters.h: ditto
16566 * lyxparagraph.h: ditto
16568 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16570 * buffer.C: add compability for minipage alignment.
16571 (latexParagraphs): remove unwanted pextra check.
16573 * several files: remove CXX_WORKING_NAMESPACES
16575 * buffer.C (pop_tag): tie is in namespace boost
16577 * BufferView.h: noncopyable is in namespace boost
16579 * lyx_main.h: ditto
16582 * lastfiles.h: ditto
16583 * bufferlist.h: ditto
16584 * ShareContainer.h: ditto
16586 * LyXAction.h: ditto
16589 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16591 * Merging changes from BRANCH_MVC back into HEAD.
16593 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16595 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
16597 * BufferView_pimpl.C: change from intl.C
16601 * Makefile.am: move combox.*
16607 * intl.C: remove dialog (covered by prefs)
16609 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
16611 * lyxfunc.C (Dispatch): removed redundant break statement.
16613 2001-03-14 Juergen Vigna <jug@sad.it>
16615 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16617 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16619 * buffer.C: add hack to fix compability reading of minipages.
16621 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
16623 * buffer.C (getLists): Cleanup.
16625 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16627 * lyxfont.C (update): don't honor toggleall on font size.
16629 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
16633 * Makefile.am: moved to frontends/xforms/
16637 * BufferView_pimpl.C: changes for moved mathpanel
16639 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16641 * gettext.h: fix gettext_init() in --disable-nls
16643 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16645 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16647 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
16650 * lyx.h: strip external form
16652 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16654 * BufferView_pimpl.C: add comment, destroySplash()
16656 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
16658 * BufferView_pimpl.C:
16662 * lyxfunc.C: use re-worked insetinclude
16664 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16666 * buffer.C: add using std::stringstream.
16668 * lyx_cb.C: readd using std::ios.
16670 * buffer.C: add using std::map.
16672 * BufferView_pimpl.C: add using std::vector.
16674 * ShareContainer.h: add std:: to swap.
16676 * buffer.h: add some typedefs
16677 * buffer.C (getLists): use them
16678 (getLists): renamed from getTocList.
16679 add a counter for the different float types and use it in the
16681 (getLists): use the same counter for the NEW_INSETS and the "non"
16684 * lyx_cb.h: remove unused items, includes, using etc.
16686 * ShareContainer.h: remove some commented code, add more comments
16687 and "documentation".
16689 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16691 * buffer.C (getTocList): make the list also when NEW_INSETS is
16694 * buffer.h: remove TocType
16696 * buffer.C (getTocList): change to return a map<string,
16697 vector<TocItem> >, implement for dynamic number of list.
16699 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16700 * text2.C (PasteSelection): adjust
16701 * CutAndPaste.C (pasteSelection): adjust
16703 * FloatList.C (FloatList): update from the new_insets branch.
16704 * Floating.[Ch]: ditto
16705 * LaTeXFeatures.C: ditto
16707 * lyxlex_pimpl.C: ditto
16709 * paragraph.C (Last): remove when NEW_INSETS is defined.
16711 * other file: changes because of the above.
16713 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16715 * lyxparagraph.h: rename next to next_, previous to previous_,
16716 make them private for NEW_INSETS. Rename Next() to next(),
16717 Previous() to previous().
16719 * other files: changes because of the above.
16721 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16724 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16727 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16729 * main.C (main): pass lyx_localedir to gettext_init().
16731 * gettext.h: remove locale_init and gettext_init macros
16733 * gettext.C (locale_init): new function
16734 (gettext_init): new function
16736 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16739 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16741 * Moved credits to frontends:
16742 * credits.[Ch]: removed
16743 * credits_form.[Ch]: removed
16744 * lyx_gui_misc.C: remove credits stuff
16747 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16749 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16751 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16752 unneeded destructor.
16754 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16755 a standalone pointer again.
16757 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16759 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16765 * ToolbarDefaults.C:
16774 * BufferView_pimpl.C: use new file dialog in GUII
16777 * lyx_cb.C: remove LayoutsCB to Toolbar
16779 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16781 * ShareContainer.h (get): add std:: qualifier
16783 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16785 * ShareContainer.h: define a proper ShareContainer::value_type
16786 type (and use typename to please compaq cxx)
16788 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16790 * lyxparagraph.h: move serveral local vars to
16791 ParameterStruct/ParagraphParameters., use ShareContainer in
16792 FontTable., make vars in FontTable private and add getter and
16795 * paragraph.C: changes because of the above.
16797 * lyxfont.h: remove copy constructor and copy assignment. (the
16798 default ones is ok), move number inside FontBits. move inlines to
16801 * lyxfont.C: add number to initializaton of statics, move several
16802 inlines here. constify several local vars. some whitespace
16803 cleanup. Dont hide outerscope variables.
16805 * Spacing.h: add two new constructors to match the set methods.
16807 * ShareContainer.h: new file, will perhaps be moved to support
16809 * ParameterStruct.h: new file
16811 * ParagraphParameters.h: new file
16813 * ParagraphParameters.C: new file
16815 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16816 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16818 * BufferView_pimpl.C: ParagraphParameter changes.
16819 * buffer.C: Likewise.
16820 * bufferview_funcs.C: Likewise.
16821 * text.C: Likewise.
16822 * text2.C: Likewise.
16824 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16826 * lyxfind.C (LyXReplace): do not redefine default argument in
16828 (IsStringInText): ditto
16829 (SearchForward): ditto
16830 (SearchBackward): ditto
16832 2001-03-06 Juergen Vigna <jug@sad.it>
16834 * lyxfind.C (IsStringInText): put parentes around expressions.
16836 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16838 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16840 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16842 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16844 * stl_string_fwd.h: add comment
16846 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16849 * tabular.C: remove unused DocBook methods
16855 killed DO_USE_DEFAULT_LANGUAGE
16857 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16859 * lyx_gui.C: do not include language.h.
16861 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16862 arguments in function implementation.
16864 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16866 * BufferView_pimpl.C: add <ctime>
16868 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16870 * BufferView_pimpl.C: add using std::find_if
16872 2001-02-27 José Matos <jamatos@fep.up.pt>
16874 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16877 2001-02-11 José Matos <jamatos@fep.up.pt>
16879 * buffer.C (makeDocBookFile): command styles now have a parameter as
16880 "title" by default.
16882 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16884 * layout_forms.[Ch]: removed
16885 * lyx_cb.[Ch]: out character
16886 * lyx_gui.C: out character
16887 * lyx_gui_misc.C: out character
16888 * bufferview_funcs.C: : out character,
16889 added toggleall as parameter in ToggleAndShow
16891 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16893 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16895 * text2.C (SetCurrentFont): Disable number property at boundary.
16897 2001-02-26 Juergen Vigna <jug@sad.it>
16899 * lyxfunc.C (getStatus): added a string argument override function so
16900 that this is correctly called from LyXFunc::Dispatch if it contains a
16901 do_not_use_argument which is used!
16902 (Dispatch): added check for "custom" export and call appropriate func.
16904 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16906 * lyxrc.C: Add language_command_local, language_use_babel and
16907 language_global_options.
16909 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16911 * buffer.C (makeLaTeXFile): Use language_use_babel and
16912 language_global_options.
16914 2001-02-23 Juergen Vigna <jug@sad.it>
16916 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16917 which works with LyXText and putted it inside BufferView. Here now we
16918 only call for that part the BufferView::Dispatch() function.
16920 * BufferView.C (Dispatch): added.
16922 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16923 functions which needs to use a LyXText over from LyXFunc.
16924 (MenuInsertLyXFile): added
16925 (getInsetByCode): added
16926 (moveCursorUpdate): added
16927 (static TEXT): added
16929 2001-02-22 Juergen Vigna <jug@sad.it>
16931 * BufferView_pimpl.C (update): call a status update to see if LyXText
16934 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16936 * vc-backend.C (revert): implement for CVS
16937 (getLog): implement for CVS
16939 2001-02-20 Juergen Vigna <jug@sad.it>
16941 * text2.C (ClearSelection): added BufferView param for inset_owner call
16943 * lyxfunc.C (TEXT): added this function and use it instead of
16944 directly owner->view()-text of getLyXText().
16946 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16948 * src/layout_forms.C: out preamble
16949 * src/layout_forms.h: out preamble
16950 * src/lyx_cb.C: out preamble
16951 * src/lyx_cb.h: out preamble
16952 * src/lyx_gui.C: out preamble
16953 * src/lyx_gui_misc.C: out preamble
16954 * src/lyxfunc.C: connect with guii preamble
16956 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16958 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16960 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16962 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16963 whether to run bibtex.
16965 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16967 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16969 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16971 * Makefile.am (lyx_SOURCES): removed bibforms.h
16973 * vspace.h: doxygen
16975 * text.C (GetVisibleRow): make several local vars const
16977 * tabular.C: small cleanup.
16979 * lyxserver.C (callback): use compare instead of strncmp
16981 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16982 inlines to after class or to paragraph.C
16984 * lyxfont.h: remove friend operator!=
16986 * converter.h: move friend bool operator< to non friend and after
16989 * combox.h: small cleanup
16991 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16992 to inlines after class def.
16994 * buffer.C (pop_tag): use string operations instead of strcmp
16996 * bmtable.c: doxygen, small cleanup
16998 * LaTeX.h: remove friend operator==
17000 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
17012 * BufferView_pimpl.C:
17013 * BufferView.[Ch]: remove cruft
17015 2001-02-14 Juergen Vigna <jug@sad.it>
17017 * lyxfunc.C: removed #if 0 unused code
17019 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
17021 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
17023 * text2.C (SetSelection): added a BufferView * parameter
17025 2001-02-13 Juergen Vigna <jug@sad.it>
17027 * lyxfunc.C (Dispatch): fixed protected blank problem.
17028 * BufferView2.C (protectedBlank): added LyxText * parameter.
17030 * tabular.C (AppendRow): forgot to set row_info of newly added row.
17031 (AppendColumn): same as above for column_info.
17033 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
17034 (moveCursorUpdate): use a LyXText param for support of InsetText.
17036 * BufferView_pimpl.C (doubleClick): added support for InsetText.
17037 (tripleClick): ditto
17039 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
17041 * BufferView_pimpl.C (update): added LyXText param to honor insets.
17043 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
17045 * text2.C (SetSelection): set correct update status if inset_owner
17046 (ToggleFree): ditto
17048 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
17050 * tabular.C: remove some commented code.
17052 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
17054 * BufferView_pimpl.C: call hideSplash()
17056 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
17059 * bibforms.h: remove
17062 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
17063 add LFUN_CHILD_CREATE
17065 * counters.h: fix tiny typo
17070 * lyx.C: move splash to frontends/xforms/
17072 * lyx_gui_misc.C: move Include and Bibform to frontends
17074 * lyxvc.h: clarify comment
17076 * vspace.C: tiny housekeeping
17078 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
17080 * text.C (PrepareToPrint): RTL Fix.
17082 * paragraph.C (GetUChar): New method.
17083 (String): Use GetUChar.
17085 * buffer.C (asciiParagraph): Use GetUChar.
17087 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
17089 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
17091 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
17094 * buffer.C: rename to getLogName(), handle
17095 build log / latex log nicely
17097 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17100 * MenuBackend.h: remove support for reference menuitem type.
17102 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
17104 * BufferView_pimpl.C: housekeeping
17105 * BufferView_pimpl.h:
17110 * minibuffer.h: move Timeout GUI-I
17112 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
17114 * lyxrc.C (read): Update converters data-structures.
17116 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
17118 * LaTeX.h (operator!=): add operator != for Aux_Info
17120 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
17122 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
17124 * LaTeXLog.C: deleted, useful code moved to Buffer
17127 * buffer.C: new function getLatexLogName()
17133 * lyxfunc.C: use frontends for LaTeX and VC logs
17135 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17137 * LaTeX.h: yet another std:: that Allan forgot.
17139 * Variables.C (set): renamed from isset(), because this clashes
17140 with some HP-UX macros (grr).
17142 2001-02-06 Allan Rae <rae@lyx.org>
17144 * LaTeX.h: Another bug fix. Missing std:: this time.
17146 2001-02-04 Allan Rae <rae@lyx.org>
17148 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
17149 floats problem. I've left it commented out because it's not quite
17150 correct. It should also test that the current object is a table or
17151 figure inset. But I haven't gotten around to figuring out how to do
17152 that. I *think* it'll be something like: "table" == inset.type()
17154 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
17157 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
17159 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
17160 all the citation/databases/styles in the auxilary file.
17161 (run): Rerun latex if there was a babel language error.
17163 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
17165 * text.C (Backspace): Preserve the font when changing newline char
17167 (BreakParagraph): If the cursor is before a space, delete the space.
17169 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
17171 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
17173 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
17174 new argument (code).
17175 (ChangeCitationsIfUnique): New method.
17177 * paragraph.C (GetPositionOfInset): Handle bibkey.
17179 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17181 * BufferView_pimpl.h: change type of Position::par_pos to
17182 LyXParagraph::size_type.
17184 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
17186 * BufferView_pimpl.C (savePosition, restorePosition): Write
17187 messages to minibuffer.
17189 2001-01-28 José Matos <jamatos@fep.up.pt>
17191 * buffer.C (makeDocBookFile): adds support for document language.
17192 A silly restriction on the name of LatexCommand types where removed.
17193 Added support for CDATA sections, allows to chars unescaped, used
17194 among others in code, to avoid escape < and >.
17196 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17198 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
17199 saved positions instrad of a stack. Furthermore, a position is
17200 stored using paragraph id/paragraph position.
17202 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
17203 Remove LFUN_REF_BACK.
17205 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
17207 * converter.C (dvipdfm_options): New method.
17209 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
17211 * vspace.C (isValidLength): Fix for empty input string.
17213 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17215 * LyXAction.C (init): change description of LFUN_FIGURE to
17218 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17220 * LaTeX.C: add using directive
17222 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17224 * MenuBackend.C (expand): Fix the sorting of the formats.
17226 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
17228 * lyx_main.C: tiny error message fix
17230 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17232 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
17233 calling fl_initialize(). This fixes the problem with ',' as
17234 decimal separator in text files.
17236 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
17238 * trans.C (process): Fix the keymap bug.
17240 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
17242 * LaTeX.C (scanAuxFiles): New method. Provides support for
17243 multiple bibliographies (when using the bibtopic/bibunits pacakges).
17244 (scanLogFile) Scan for "run BibTeX" messages.
17246 * buffer.C (makeLaTeXFile): Do not load the ae package when using
17247 OT1 font encoding. Also, load the aecompl package if the ae
17250 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
17252 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17254 * texrow.C (increasePos): turn two error messages into debug
17257 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
17259 * LaTeX.C (scanAux): Handle the \@input macro.
17260 (runBibTeX): Use scanAux().
17262 * language.C (latex_options_): New field.
17264 * LaTeXFeatures.C (getMacros): Add language macros.
17266 * buffer.C (makeLaTeXFile): Small fix.
17268 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
17270 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
17272 * text2.C: add a using directive.
17274 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
17279 * lyxfunc.C: kill LyXBell.
17281 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
17283 * text.C (IsBoundary): Remove the error message
17285 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
17287 * lyxrc.C (setDefaults): Correct initialization value for
17290 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
17292 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
17295 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
17296 and GotoNextNote().
17298 * src/LyXAction.C: Added reference-next.
17300 * text.C (InsertChar): Use contains instead of strchr.
17302 * lyx_cb.C (MenuInsertLabel): Enable default value code.
17304 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
17306 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
17307 alignment commands (when needed).
17309 * text.C (InsertChar): Add ':' to number separator chars.