]> git.lyx.org Git - features.git/blob - src/ChangeLog
disable conecpt checks for gtk dir, fix concept checks for qt
[features.git] / src / ChangeLog
1 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * lyxfont.h: include LColor.h to satisfy concept checks.
4
5 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
6
7         * pariterator.h: add typdefs for value_type, difference_type,
8         pointer and reference to satisfy concept checks. Also add default
9         constructor for same reason.
10
11         * pariterator.C (operator++): add post-increment operator to
12         satisfy concept checks.
13
14         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
15         checks.
16
17         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
18
19         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
20         checks. Also rename base_type to BaseType to follow naming
21         standard better.
22
23         * FloatList.h: include Floating.h to satisfy concept checks.
24
25 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
26
27         * lyxfunc.C (getStatus): when the origin of the request is menu or
28         toolbar, and the LyXView does not have focus, do as if there was
29         no buffer (bug 1720)
30
31         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
32         FuncRequest to individual entries of LFUN_SEQUENCE
33
34 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
35
36         * output_latex.C (TeXOnePar): override runparams.moving_arg
37         according to the needprotect value of the current paragraph (bug
38         1739)
39
40         * paragraph.C (simpleTeXOnePar): no need to override
41         runparams.moving_args here
42
43 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
44
45         * vspace.C: fix off-by-one-error, related to fix #1682
46
47 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
48
49         * lengthcommon.C: a more general fix for bug 1682
50
51 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
52
53         * text.C (backspace): fix crash
54
55 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
56
57         * format.[Ch] (getFormatFromFile): new method
58         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
59
60 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
61
62         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
63
64 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
65
66         * lyxfunc.C (dispatch): remove the verbose argument
67         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
68         instead
69
70         * kbmap.C (defkey): set the origin of func to KEYBOARD
71
72         * MenuBackend.C (MenuItem):
73         * ToolbarBackend.C (add): set the origin of func to UI
74
75         * funcrequest.[Ch]: add origin member, which indicates which part
76         of LyX requests an action
77
78 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
79
80         * converter.C (move): don't lie in the error message
81         * converter.h (isReachable, move): document
82
83 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
84
85         * buffer.C: remove unused using lyx::support::atoi
86         * paragraph_funcs.C: ditto
87
88 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
89
90         * bufferlist.C (exists): use bind and equal_to instead of
91         compare_memfun
92         (getBuffer): ditto
93         * lyxtextclasslist.C (NumberOfClass): ditto
94
95         * cursor.C (insert): use for_each instead of explicit for loop
96
97         * bufferlist.C (getFileNames): use std::transform and
98         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
99
100         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
101         for loop
102
103         * buffer.C (changeLanguage): use for_each instead of explicit for
104         loop
105         (hasParWithID): implement using getParFromID
106
107         * LaTeXFeatures.C: ws change only
108
109         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
110         to cleanup a bit.
111
112         * BufferView_pimpl.C (trackChanges): use for_each instead of
113         expilicit for loop
114
115 2004-11-04  André Pönitz  <poenitz@gmx.net>
116
117         * undo.h:
118         * undo.C (textUndoOrRedo): fix crash when creating undo information.
119
120         * dociterator.C (asDocIterator): use hard assert again.
121
122 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
123
124         * lyxlength.C (asLatexString): rewrite so that it does not use
125         snprintf anymore
126
127 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
128
129         * text3.C (specialChar, dispatch): make sure cursor moves to the
130         right after inserting an inset
131
132 2004-11-02  José Matos  <jamatos@lyx.org>
133
134         * output_docbook.C (docbook):
135         * paragraph.C (getID):
136         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
137         garantee that the output is always legal.
138
139         * tabular.C (docbook):
140         * outputprams.[Ch]: remove mixed contents.
141
142 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
143
144         * text2.C (setCounter): prevent endless loop
145
146 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
147
148         * exporter.C (copyFile): use the mover instead of support::copy()
149         * exporter.C (Export): pass format and latex name to copyFile()
150         * exporter.h (addExternalFile): document
151         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
152
153 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
154
155         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
156
157 2004-10-30  José Matos  <jamatos@lyx.org>
158
159         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
160         text and no inset or font change. This allows to use CDATA
161         sections just for the whole paragraph.
162
163 2004-10-30  José Matos  <jamatos@lyx.org>
164
165         * paragraph.C (getFirstWord): remove unused variable.
166
167 2004-10-30  José Matos  <jamatos@lyx.org>
168
169         * paragraph.C (getFirstWord): the content should always be escaped
170         there.
171         (simpleDocBookOnePar):
172         * output_docbook.C (makeEnvironment): replace reference to CDATA
173         to style pass_thru.
174
175 2004-10-30  José Matos  <jamatos@lyx.org>
176
177         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
178
179 2004-10-30  José Matos  <jamatos@lyx.org>
180
181         * output_docbook.C (makeParagraphs):
182         * paragraph.[Ch] (emptyTag): for docbook and company, if the
183         standard paragraph has only a given type of content drop the wrapper.
184
185 2004-10-29  José Matos  <jamatos@lyx.org>
186
187         * output_docbook.C (makeEnvironment):
188         * sgml.C (openTag):
189         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
190
191 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
192
193         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
194         (cleanID): sanitize any id.
195
196 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
197
198         * buffer.C, lyxlex_pimpl.C:
199         * lyxlex_pimpl.C (setFile):
200         s/getExtFromContents/getFormatFromContents/
201
202 2004-10-28  José Matos  <jamatos@lyx.org>
203
204         * output_docbook.C (makeEnvironment): move id to broadest possible
205         scope.
206
207         * sgml.C (openTag): apply substitution of <> for all attributes.
208
209 2004-10-28  José Matos  <jamatos@lyx.org>
210
211         * buffer.C (makeLinuxDocFile, makeDocBookFile):
212         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
213         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
214
215         * sgml.[Ch]: new version for open and closeTag for paragraph and
216         for strings. Now they handle the ids of paragraphs.
217
218 2004-10-26  Angus Leeming  <leeming@lyx.org>
219
220         * Makefile.am: add mover.[Ch].
221
222         * converter.C (convert, move): use the new Movers to move external
223         files to the temp directory.
224
225         * lyx_main.C (init): ensure that the global system_movers data
226         is initialised.
227
228         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
229         preferences file.
230
231         * mover.[Ch]: new files, defining a Mover as a utility to move an
232         external file between directories and, if necessary, manipulate this
233         file using a helper script.
234
235 2004-10-25  José Matos  <jamatos@lyx.org>
236
237         * output_docbook.C (makeCommand): merge two if's that tested the
238         same condition.
239
240 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
241
242         * sgml.C (escapeString): fix warning in a better way
243
244 2004-10-25  José Matos  <jamatos@lyx.org>
245
246         * sgml.C (escapeString): import the require boosts header file for
247         tie, and avoid a signed unsigned comparison.
248
249 2004-10-25  José Matos  <jamatos@lyx.org>
250
251         * sgml.h: add #include <string>
252
253 2004-10-25  José Matos  <jamatos@lyx.org>
254
255         * sgml.[Ch] (escapeString): new function to escape all the string.
256
257 2004-10-24  José Matos  <jamatos@lyx.org>
258
259         * paragraph.[Ch] (getFirstWord): new function to get the first
260         word. Useful for description.
261         (simpleDocBookOnePar): remove depth argument, add another that
262         says where to start the paragraph.
263
264         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
265         use the new functions to fix cleanly the support for descriptions.
266
267 2004-10-24  José Matos  <jamatos@lyx.org>
268
269         * buffer.C (makeLinuxDocFile, makeDocBookFile):
270         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
271         * output_linuxdoc.C (linuxdocParagraphs):
272         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
273         add buffer as argument.
274
275 2004-10-24  José Matos  <jamatos@lyx.org>
276
277         * output_docbook.C (makeEnvironment, searchEnvironment): place
278         CDATA inside paragraphs and fix scope for listitems.
279
280 2004-10-24  José Matos  <jamatos@lyx.org>
281
282         * output_docbook.C: remove using statement for stack.
283
284 2004-10-23  José Matos  <jamatos@lyx.org>
285
286         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
287         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
288         docbook. The new scheme is recursive and makes use of iterators, the
289         same as latex export works.
290         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
291         directly with the paragraph contents. This code was moved up to
292         output_docbook.C (docbookParagraphs).
293         * sgml.C (openTag, closeTag): removed unneeded newlines.
294         (closeEnvTags) removed.
295
296 2004-10-23  André Pönitz  <poenitz@gmx.net>
297
298         * undo.C (textUndoOrRedo):
299         * dociterator.C (asDocIterator): work around crash
300
301         * cursor.C (getStatus): replace ASSERT by more verbose error message
302           and manual correction of the problem. Should increase stability
303           while providing more sensible information.
304
305 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
306
307         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
308
309         * bufferlist.C (previous, next): new methods
310
311         * lfuns.h:
312         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
313
314 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
315
316         * buffer.C (makeDocBookFile): add dsssl stylesheet control
317         entities to preamble.
318
319 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
320
321         * messages.C (Pimpl): strip off translation context information
322
323 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
324
325         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
326         the cursor is correct (bug 1694)
327
328 2004-10-13  José Matos  <jamatos@lyx.org>
329
330         * output_docbook.C (docbookParagraphs): fix closing tags in the
331         end of the document.
332
333 2004-10-09  José Matos  <jamatos@lyx.org>
334
335         * buffer.C: format up to 237.
336         * bufferparams.C (write): use tostr to convert booleans to strings.
337
338 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
339
340         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
341
342 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
343
344         * LaTeX.C: implement use of babel language in xindy.
345
346 2004-10-05  José Matos  <jamatos@lyx.org>
347
348         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
349         Add new translators to help reading and writing the lyx file.
350
351 2004-10-05  José Matos  <jamatos@lyx.org>
352
353         * ParagraphParameters.C (read):
354         * text.C (readParToken): replace nexToken by more appropriate lex
355         methods.
356
357 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
358
359         * LaTeX.C (runMakeIndex):
360         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
361         (usually 'makeindex') configurable.
362
363         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
364         with a variable rather than with a number.
365
366 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
367
368         * output_latex.C (TeXOnePar): make sure font setting is the first
369         thing that gets output (and the last at the end). Should fix bug
370         1404.
371
372 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
373
374         * pch.h: use proper signal include
375
376         * LaTeX.h: Use preferred calling of Boost.Signal
377         * buffer.h: ditto
378
379 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
380
381         * pch.h: dont include <boost/function/function0.hpp>
382
383         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
384
385         * paragraph_pimpl.h: remove usage of ShareContainer
386
387         * paragraph_pimpl.C: remove initialization of ShareContainer.
388
389 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
390
391         Fix bug #1666
392
393         * BufferView.C (putSelectionAt): change the semantics when
394         backwards == true: now, this just swaps cursor and anchor wrt the
395         forward case
396
397         * BufferView.h (putSelectionAt): add some documentation
398
399         * lyxfind.C (findBackwards): rewrite using while(). In particular,
400         make sure backwardChar is done at least once (to avoid getting
401         stuck)
402         (findNextChange): use putSelectionAt in the forward direction
403         (operator()): use Paragraph::isWord
404
405 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
406
407         * Spacing.C (set): c_str fix
408
409 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
410
411         * lyx_cb.C (Reconfigure): quote the name of configure script in
412         case it contains spaces
413
414 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
415
416         * client: new dir
417
418         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
419         (BOOST_LIBS): use top_buildir when looking for the file
420
421 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
422
423         * pch.h: do not use include boost/format.hpp, multiple symbols
424                 will result (gcc bug)
425
426
427 2004-08-23  José Matos  <jamatos@lyx.org>
428
429         * bufferparams.C (readToken): fix reading of the author field.
430
431 2004-08-20  José Matos  <jamatos@lyx.org>
432
433         * lyxrc.C: remove support/translator.h inclusion since it is not used.
434
435 2004-08-20  José Matos  <jamatos@lyx.org>
436
437         * lyxlex.[Ch] (findToken): remove function.
438
439         * ParagraphParameters.C (findToken):
440         * bufferparams.C (findToken): replace call for previous function
441         with local copy. This local function has one more argument, the
442         read string argument.
443
444 2004-08-16  José Matos  <jamatos@lyx.org>
445
446         * ParagraphParameters.C (write):
447         * Spacing.C (writeFile):
448         * bufferparams.C (writeLaTeX):
449         * lyx_cb.C (Reconfigure):
450         * paragraph.C (write):
451         * tabular.C (write): remove unnecessary space at end of line.
452
453
454 2004-08-16  José Matos  <jamatos@lyx.org>
455
456         * text.C (readParagraph): remove debug message.
457
458 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
459
460         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
461         crash
462
463         * output_plaintext.C (asciiParagraph): set depth correctly
464
465         * outputparams.h: add member depth
466
467         * paragraph_funcs.C (ownerPar): remove.
468
469         * text2.C (setCounter): remove first_pit; comment out some
470         non-working code that uses ownerPar
471
472         * BufferView.C (getParentLanguage): remove. Not used anymore, and
473         uses ownerPar
474
475 2004-08-16  José Matos  <jamatos@lyx.org>
476
477         * text.C (readParToken, readParagraph, read): report all unknown tokens.
478         For the same level of importance use the same chanel to report problems.
479         (read): add code to deal with \begin_body and \end_body.
480
481
482 2004-08-15  José Matos  <jamatos@lyx.org>
483
484         * lyxlex.C (getString): fix comment, buffer::readBody is now
485         buffer:readDocument.
486
487         * tex-strings.C (string_papersize): Default -> default,
488         Custom -> custom, for consistency with other options.
489
490 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
491
492         * pch.h: new file
493
494         * Makefile.am: support pch
495
496 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
497
498         * text.C (readParToken): remove the static LyXFont variable and
499         pass it as a parameter instead. This fixes a nasty bug where an
500         inset will be inserted with a bad font in some situations
501         (readParagraph): adapt
502
503         * text2.C (setCounter): reduce number of calls to pars_[pit]
504
505         * text.C (singleWidth): add an assert, fix a test
506
507         * rowpainter.C (paintText): reduce number of calls to singleWidth
508
509         * paragraph.C (isHfill):
510         (isNewline): ws only
511
512 2004-08-14  André Pönitz  <poenitz@gmx.net>
513
514         * text.C:
515         * text2.C:
516         * rowpainter.C:
517         * lyxtext.h (several functions): use a Paragraph & argument
518         instead of par_type
519
520 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
521
522         * metricsinfo.h: add a new field ltr_pos to PainterInfo
523
524         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
525
526         * text.C (singleWidth): remove useless test
527
528 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
529
530         * tabular.h: remove bogus comments
531
532         * tabular.C (getDescentOfRow):
533         (isPartOfMultiColumn): add assertions
534
535         * lyxlength.C (inPixels): remove #warning
536
537 2004-08-14  André Pönitz  <poenitz@gmx.net>
538
539         * paragraph.h: inline getChar()
540
541         * BufferView.h: remove unused declarations
542
543 2004-08-14  José Matos  <jamatos@lyx.org>
544
545         * Buffer.[Ch] (readDocument): new name for old readBody.
546         * Buffer.C: new file format, new keywords: \begin_document,
547         \begin_header, \begin_body, \end_body.
548
549         * bufferparams.C (readToken): replace all calls to lex.nextToken
550         by lex.next(). Do the same to eatLine except where really needed.
551
552         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
553         line when writing to the lyx file.
554
555         * output_plaintext.C (asciiParagraph): fix Bibliography style
556         handling.
557
558         * text.C (read): fix end of file handling.
559
560 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
561
562         * MenuBackend.C (Menu::operator[]): new method to access
563         individual menu items
564         (Menu::hasFunc): new method. search for an item that corresponds
565         to a given func
566         (MenuBackend::specialMenu): new method
567         (MenuBackend::expand): if a special menu has been set, skip
568         entries whose func() appears in this menu
569
570 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
571
572         * text3.C: use Debug::DEBUG a bit more
573
574         * text.C (leftMargin): try to simplify a tiny bit change var x to
575         l_margin. Dont output the wide margins always.
576         (rightMargin): no margin in inner texts
577
578         * rowpainter.h (nestMargin): new func
579         (changebarMargin): new func
580         (rightMargin): new func
581
582         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
583         now functions.
584         (paintLast): ditto
585
586         * factory.C (createInset): modify setDrawFrame
587
588         * cursor.C: use Debug::DEBUG a bit more
589
590 2004-08-14  André Pönitz  <poenitz@gmx.net>
591
592         * coordcache.[Ch]:
593         * Makefile.am: new files to accomodate an 'external' (x,y)-position
594         cache for all insets in (at least partially) visible (top-level)
595         paragraphs.
596
597         * BufferView_pimpl.C: reset external coord cache before every update.
598         This means the coord cache only contains valid entries.
599
600 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
601
602         bug 1096
603         * BufferView_pimpl.C (getInsetByCode): move function out of class
604         and change in to a template in anon namespace. Also fix to do what
605         suits us better.
606
607 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
608
609         bug 1305
610         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
611         of char
612         (breakParagraph): rename par to par_offset and use a local
613         reference. Add code to keep the language over a rebreak.
614         (breakParagraphConservative): rename par to par_offset, use a
615         local reference
616         (mergeParagraph): ditto
617         (outerHook): ditto
618         (isFirstInSequence): ditto
619         (outerFont): rename pit to par_offset
620
621         * paragraph.C: ws change
622         * paragraph.h: ditto
623         * text3.C: ditto
624         * text.C: ditto
625
626 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
627
628         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
629         treatment for ']'
630
631         * paragraph.C (simpleTeXOnePar): when we have a \item with
632         optional argument, enclose the argument with curly brackets (in
633         case it contains a closing square bracket)
634
635         * text2.C (editXY):
636         * text2.C (editXY):
637         * text3.C (checkInsetHit): constify
638
639 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
640
641         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
642         documents (bug 1629)
643
644 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
645
646         Fix toggling of collapsable insets with the mouse (bug 1558)
647
648         * lyxfunc.C (dispatch): adapt to LCursor changes
649
650         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
651         make sure that dispatch is not invoked twice
652
653         * cursor.C (needsUpdate): new method
654         (dispatch): return void
655         (result): new method, to access the DispatchResult of the cursor.
656
657 2004-08-13  José Matos  <jamatos@lyx.org>
658
659         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
660
661 2004-08-13  André Pönitz  <poenitz@gmx.net>
662
663         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
664
665         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
666           multiple cells
667
668 2004-08-12  André Pönitz  <poenitz@gmx.net>
669
670         * text3.C: take out the 'cursor right' form insertInset and only
671         do it in those places when it is really needed. Fixes crash on
672         C-m...
673
674 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
675
676         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
677
678         * BufferView_pimpl.C (setBuffer): initialize the current font of
679         the underlying LyXText
680
681 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
682
683         * kbsequence.C (print): use UI native formatting for menu
684         shortcuts
685
686         * text.C (insertChar): call Paragraph::insertChar with a font
687         argument (cosmetic)
688
689         * paragraph.C (insertInset, insertChar): the version that takes a
690         LyXFont argument is now a wrapper around the other one (the
691         opposite used to be true).
692
693         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
694         argument. Font setting is done in Paragraph now.
695
696 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
697
698         * outputparams.h: add new members intitle and lang.
699
700         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
701         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
702
703 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
704
705         * text3.C (dispatch): remove special handling of button 4 and 5,
706         it is now taken care of in the frontend code.
707
708 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
709
710         * Spacing.h: add <string> (STLPort compile fix)
711
712 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
713
714         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
715
716 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
717
718         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
719         to bool.
720
721         * converter.C (showMessage): inherit from unary_function, make
722         operator() const.
723
724         * buffer.C (writeFile): initialize retval
725
726         * InsetList.h: rename private variable list to list_
727         * InsetList.[Ch]: adjust accordingly.
728
729 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
730
731         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
732         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
733         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
734         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
735         * ParagraphParameters.C, LaTeXFeatures.C: replace
736         "support/std_sstream.h" with <sstream>
737
738 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
739
740         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
741         * lyxsocket.C (LyXServerSocket): ditto
742         (serverCallback): ditto
743
744 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
745
746         * LaTeXFeatures.C: check release date when loading jurabib.
747
748 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
749
750         * lyxserver.C (startPipe): call register_socket_callback
751         (endPipe): call unregister_socket_callback
752
753 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
754
755         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
756         (LyXServerSocket): register the callback
757         (LyXServerSocket): unregister the callback
758         (fd): delete function
759         (serverCallback): improve error checking and setup the callbacks.
760         (dataCallback): change arg to fd.
761         (writeln): new func (copied fro the client socket) used for server
762         write to client.
763         (LyXDataSocket): simplify
764         (~LyXDataSocket): close ann unregiser callback
765         (server): delete function
766         (fd): delete function
767         (readln): small changes, improve some std::string usage
768         (writeln): constify a bit
769
770 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
771
772         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
773         Qt frontend
774
775 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
776
777         * BufferView_pimpl.C (setBuffer): set the layout combox value only
778         after it has been populated
779
780 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
781
782         * text2.C (insertInset): move cursor when inserting inset.
783
784 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
785
786         * kbmap.C (findbindings): a couple of new methods. returns a
787         container of kb_sequence objects. The real work is done by the
788         private recursive version
789         (printbindings): uses findbindings to print out a bracketed list
790         of bindings (renamed from findbinding).
791
792         * MenuBackend.C (binding): use kb_keymap::findbindings
793
794         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
795
796 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
797
798         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
799
800 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
801
802         * paragraph.C (isWord): return true on insets that report
803         isLetter().
804
805         * text.C (getWord): use Paragraph::isWord to decide what is in a
806         word and what is not; fix bug 1609.
807
808 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
809
810         * tex-strings.C: add "none" to string_paperpackages[], fixes
811         off-by-one-error in the paperpackage selection.
812
813         * lyxlex.[Ch]:
814         * tex-strings.[Ch]: char const * string[n]
815         -> char const * const string[]
816
817 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
818
819         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
820         command, return early.
821
822 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
823
824         * debug.h: add DEBUG to enum and fix size of ANY.
825
826         * debug.C: add support for Debug::DEBUG
827         (showTags): cast errorTags.level to unsigned int
828
829         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
830         (redoCurrentBuffer): ditto
831         (updateScrollbar): ditto
832         * cursor.C (dispatch): ditto
833         * text2.C (setLayout): ditto
834         (setFont): ditto
835         (updateCounters): ditto
836         (editXY): ditto
837         (deleteEmptyParagraphMechanism): ditto
838
839 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
840
841         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
842         annotations to cleanup the Makefile slightly.
843
844 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
845
846         * lyxrc.C: do not set user_email to a default value but use empty
847         instead. The entry used to be translated, which does not work
848         since at the point where lyxrc is constructed there is no
849         translation service available
850
851         * messages.C (getLocaleDir): remove and use directly
852         lyx_localedir() instead
853
854 2004-06-02  Angus Leeming  <leeming@lyx.org>
855
856         Fix crash caused by dereferencing null pointer 'exportdata' in
857         OutputParams by creating a new ExportData variable on the heap,
858         storing it in a boost::shared_ptr.
859         The crash was triggered when generating an Instant Preview
860         of an external inset.
861
862         * Makefile.am: add outputparams.C
863
864         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
865         (c-tor): allocate memory to it.
866
867         * exporter.C (c-tor): associated changes.
868
869 2004-06-01  Angus Leeming  <leeming@lyx.org>
870
871         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
872         contains data before calling isInset(0). (Bug 1513.)
873
874 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
875
876         * exporter.C (checkOverwrite): new method
877         * exporter.C (copyFile): new method
878         * exporter.C (Export): copy referenced files to the document dir
879         * exporter.[Ch]: new class ExportedFile
880         * exporter.[Ch]: new class ExportData. Contains currently the
881         names of referenced external files
882         * outputparams.h: add exportdata member.
883
884 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
885
886         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
887         version.C-tmp
888
889 2004-05-19  Angus Leeming  <leeming@lyx.org>
890
891         * LaTeXFeatures.C:
892         * ToolbarBackend.C:
893         * bufferparams.C:
894         * lyxfunc.C: small changes due to the introduction of namespace
895         lyx::frontend and the moving of namespace biblio to lyx::biblio.
896
897 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
898
899         * text3.C (dispatch): supress update when only moving the cursor
900         * cursor.C (selHandle): remove commented code
901
902 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
903
904         * paragraph.C (startTeXParParams): correct column count
905         * CutAndPaste.C (pasteSelection): remove const_cast
906         * output_docbook.C (docbookParagraphs): remove const_cast
907         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
908         const_cast and return ParagraphList::const_iterator
909         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
910         * output_plaintext.C (writeFileAscii): remove const_cast
911         * paragraph.[Ch] (simpleTeXOnePar): make const
912         * paragraph_funcs.C (outerPar): use const iterators
913         * paragraph_pimpl.C (validate): use const iterators
914         * text.C (setHeightOfRow): use const iterators
915
916 2004-05-17  Angus Leeming  <leeming@lyx.org>
917
918         * lfuns.h:
919         * LyXAction.C (init): new LFUN_INSET_REFRESH.
920
921         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
922         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
923         if the citation engine has changed.
924
925 2004-05-14  José Matos  <jamatos@lyx.org>
926
927         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
928         if the textclass does not provide it. Have it different for sgml and
929         xml.
930         support the language of document.
931         * output_docbook.C (docbookParagraphs):
932         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
933         first anchor as the id of the paragraph, remove special case code.
934         * sgml.C (escapeChar): escape only < & >.
935
936 2004-05-14  Angus Leeming  <leeming@lyx.org>
937
938         * bufferparams.h: move biblio::CiteEngine enum here to minimize
939         dependencies on src/frontends/controllers/biblio.h. Define a
940         CiteEngine_enum wrapper class to enable the enum to be forward
941         declared.
942
943 2004-05-12  Angus Leeming  <leeming@lyx.org>
944
945         * buffer.C: up LYX_FORMAT to 234.
946         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
947         use_numerical_citations with a single biblio::CiteEngine cite_engine
948         variable.
949         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
950
951 2004-05-13  José Matos  <jamatos@lyx.org>
952
953         * converter.h:
954         * converter.C (Converter, readFlags): add xml member.
955         * outputparams.h: add XML flavor.
956         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
957
958 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
959
960         * lyxfunc.C (dispatch):
961         (getStatus): fix handling of LFUN_SEQUENCE
962
963 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
964
965         * debug.C (showLevel): do not forget the end-of-line marker
966
967 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
968
969         * kbmap.C (read): do not stop parsing a bind file when an error
970         occurs (bug 1575)
971
972 2004-04-29  Angus Leeming  <leeming@lyx.org>
973
974         * cursor.C:
975         * factory.C:
976         * pariterator.C:
977         * text2.C: wrap a bunch of #warning statements
978         inside #ifdef WITH_WARNINGS blocks.
979
980 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
981
982         * buffer.C: increment format to 233.
983
984 2004-04-28  Angus Leeming  <leeming@lyx.org>
985
986         * BufferView_pimpl.C:
987         * lyxfunc.C:
988         * text3.C:
989         s/updateToolbar()/updateToolbars()/
990         s/Toolbar.h/Toolbars.h/
991
992 2004-04-28  Angus Leeming  <leeming@lyx.org>
993
994         * BufferView.[Ch] (c-tor):
995         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
996         No longer passes these data to the WorkArea generator.
997
998 2004-04-28  Angus Leeming  <leeming@lyx.org>
999
1000         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1001
1002 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1003
1004         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1005
1006 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1007
1008         * output_latex.C (TeXEnvironment): make sure that there is a line
1009         break before \end{foo} for the last paragraph of a document
1010         (TeXOnePar): if the paragraph is at the end of the document (or
1011         inset) and the language has to be reset, then make sure that the
1012         line break is _before_ the language command, not after (fixes bug
1013         1225); also make sure that the language reset command is the first
1014         thing after the paragraph (to ensure proper nesting of
1015         environments and thus fix bug 1404)
1016
1017 2004-04-21  John Levon  <levon@movementarian.org>
1018
1019         * ToolbarBackend.h:
1020         * ToolbarBackend.C: make "name" be a programmatic name
1021         and a gui_name field.
1022
1023         * lyxfunc.C: display the minibuffer on M-x
1024
1025 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1026
1027         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1028         (bug 1526)
1029
1030 2004-04-19  Angus Leeming  <leeming@lyx.org>
1031
1032         * BufferView_pimpl.C (setBuffer): changed preview interface.
1033
1034         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1035         possible values.
1036
1037 2004-04-19  John Levon  <levon@movementarian.org>
1038
1039         * BufferView_pimpl.C:
1040         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1041
1042 2004-04-05  Angus Leeming  <leeming@lyx.org>
1043
1044         * text.C (redoParagraphs): add call to updateCounters(), thereby
1045         fixing the missing "Figure #:" label from the caption of a
1046         figure float.
1047
1048 2004-04-13  Angus Leeming  <leeming@lyx.org>
1049
1050         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1051         cursor is clicked out of an inset.
1052
1053 2004-04-13  Angus Leeming  <leeming@lyx.org>
1054
1055         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1056         than an InsetOld one.
1057
1058 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1059
1060         * format.[Ch]: add editor to Format
1061         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1062         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1063
1064 2004-04-08  André Pönitz  <poenitz@gmx.net>
1065
1066         * metricsinfo.h: remove PainterInfo::width member
1067
1068 2004-04-08  Angus Leeming  <leeming@lyx.org>
1069
1070         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1071         "\providecommand" rather than "\newcommand", thereby preventing
1072         clashes with packages that define "\boldsymbol" themselves.
1073         Eg, beamer.
1074
1075 2004-04-08  Angus Leeming  <leeming@lyx.org>
1076
1077         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1078         thereby squashing an unnecessary warning.
1079
1080 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1081
1082         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1083         setBuffer()
1084
1085 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1086
1087         * BufferView.C (setCursor): call redoParagraph (some insets could
1088         have been opened)
1089         (putSelectionAt): remove the 'double update' trick
1090
1091         * BufferView_pimpl.C (fitCursor): call refreshPar
1092         (workAreaDispatch): remove an uneeded update call
1093         (dispatch): remove some manual update calls
1094
1095         * cursor.[Ch]: remove cached_y_, updatePos
1096         (selHandle): set noUpdate when appropriate
1097
1098         * lyxfunc.C (dispatch): track if we need an update
1099
1100         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1101
1102         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1103         (paintSelection): cheap optimization, do not call cursorX when not
1104         needed
1105         (paintPars): change signature
1106         (refreshPar): add
1107         (paintText): adjust
1108         (paintTextInset): adjust
1109
1110         * text.C: adjust
1111
1112 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1113
1114         * lengthcommon.C: compilation fix: remove explicit array size from
1115         unit_name[] and friends
1116
1117 2004-04-05  Angus Leeming  <leeming@lyx.org>
1118
1119         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1120
1121         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1122         present only for the preferences dialog.
1123         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1124
1125 2004-04-05  Angus Leeming  <leeming@lyx.org>
1126
1127         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1128         to enable the frontends to export changes to lyxrc correctly.
1129
1130         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1131
1132 2004-04-07  André Pönitz  <poenitz@gmx.net>
1133
1134         * cursor.[Ch] (selClear, adjust): remove math
1135
1136         * cursor_slice.C: more agressive assert
1137
1138         * lyxfunc.C:
1139         * BufferView_pimpl.C: rework mouse event dispatch
1140
1141         * dociterator.C:
1142         * paragraph.C:
1143         * text2.C:
1144         * text3.C: adjust
1145
1146 2004-04-05  André Pönitz  <poenitz@gmx.net>
1147
1148         * cursor.[Ch] (valign, halign...): remove unneeded functions
1149
1150 2004-04-05  Angus Leeming  <leeming@lyx.org>
1151
1152         * lyxlength.[Ch] (unit_name et al.): const-correct.
1153
1154 2004-04-05  Angus Leeming  <leeming@lyx.org>
1155
1156         * BufferView_pimpl.C:
1157         * buffer.C:
1158         * counters.C:
1159         * cursor.C:
1160         * lyxfunc.C
1161         * paragraph.C:
1162         * pariterator.C:
1163         * text.C:
1164         * text2.C:
1165         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1166
1167 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1168
1169         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1170
1171 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1172
1173         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1174         * BufferView_pimpl.[Ch] (getStatus)
1175         * BufferView.[Ch] (getStatus): add
1176         * lyxfunc.C (getStatus): move lfuns handled in
1177         BufferView::dispatch to te function above
1178         * Cursor.C (setSelection): set selection() = true
1179
1180 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1181
1182         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1183
1184 2004-03-31  Angus Leeming  <leeming@lyx.org>
1185
1186         * lyxfunc.C (dispatch): Fall through to the generic
1187         Dialogs::show("preamble").
1188
1189 2004-03-31  Angus Leeming  <leeming@lyx.org>
1190
1191         * lyxfunc.C (dispatch): Fall through to the generic
1192         Dialogs::show("spellchecker").
1193
1194 2004-03-31  Angus Leeming  <leeming@lyx.org>
1195
1196         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1197         preferences dialog.
1198
1199 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1200
1201         * BufferView.C
1202         * cursor.[Ch]
1203         * dociterator.[Ch]:
1204         * insetiterator.[Ch]:
1205         * lyxfind.C:
1206         * lyxfunc.C:
1207         * pariterator.[Ch]:
1208         * text2.C:
1209         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1210
1211 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1212
1213         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1214         insets where we are putting the cursor.
1215
1216 2004-03-31  Angus Leeming  <leeming@lyx.org>
1217
1218         * lfuns.h:
1219         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1220
1221         * lyxrc.[Ch] (read, write): overloaded member functions taking
1222         a std::[io]stream arguments.
1223
1224         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1225
1226 2004-03-31  Angus Leeming  <leeming@lyx.org>
1227
1228         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1229         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1230
1231         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1232         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1233
1234 2004-03-31  Angus Leeming  <leeming@lyx.org>
1235
1236         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1237         the LFUN_ALL_INSETS_TOGGLE code.
1238
1239 2004-03-30  Angus Leeming  <leeming@lyx.org>
1240
1241         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1242         has died. Fall through to the generic Dialogs::show("document").
1243
1244 2004-03-30  Angus Leeming  <leeming@lyx.org>
1245
1246         * lfuns.h:
1247         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1248         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1249
1250         * lyxfunc.C (getStatus, dispatch): define the actions for these
1251         lfuns. Little more than a cut and pste job from ControlDocument.C
1252
1253         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1254
1255 2004-03-30  Angus Leeming  <leeming@lyx.org>
1256
1257         * lfuns.h:
1258         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1259         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1260
1261         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1262         open/closed state of ollapsable insets. Usage:
1263
1264         all-inset-toggle <state> <name>, where
1265         <state> == "open" || "closed" || "toggle" and
1266         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1267
1268         * lyxtext.h, text2.C (toggleInset): removed.
1269
1270         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1271         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1272         now passes LFUN_INSET_TOGGLE to the found inset.
1273
1274         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1275         is now invoked as "all-insets-toggle toggle branch".
1276
1277 2004-03-30  Angus Leeming  <leeming@lyx.org>
1278
1279         * dociterator.C:
1280         * insetiterator.C:
1281         * pariterator.[Ch]: added/corrected header blurb.
1282
1283 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1284
1285         * dociterator.[Ch]: add an inset_ member
1286         (backwardPos): implemented
1287         (backwardPos, forwardPos): use inset_ when the stack is empty.
1288         (doc_iterator_begin, doc_iterator_end): implemented
1289         * pariterator.[Ch]: adjust, add begin, end
1290         * insetiterator.[Ch]: adjust, add begin, end
1291         * cursor.C:
1292         * document.C:
1293         * BufferView.C:
1294         * BufferView_pimpl.C:
1295         * CutAndPaste.C: adjust
1296
1297 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1298
1299         * buffer.C: increment file format to 232.
1300         * LaTeXFeatures.C: add bibtopic package.
1301         * bufferparams.[Ch]: param \use_bibtopic.
1302
1303         * lyxrc.[Ch]: add lyxrc bibtex_command
1304         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1305
1306         * buffer.C: increment file format to 231.
1307
1308 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1309
1310         * dociterator.C: implement forwardPar
1311         * iterators.[Ch]: remove, replaced by
1312         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1313         * BufferView.C:
1314         * BufferView_pimpl.C:
1315         * CutAndPaste.C:
1316         * buffer.C:
1317         * bufferview_funcs.C:
1318         * cursor.C:
1319         * lyxfind.C
1320         * lyxfunc.C
1321         * paragraph_funcs.C
1322         * toc.C:
1323         * Makefile.am: adjust
1324
1325 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1326
1327         * CutAndPaste.C (pasteSelection): fix 2 crashes
1328         (eraseSelection): fix a crash
1329         * paragraph_funcs.C: remove a warning
1330
1331 2004-03-28  Angus Leeming  <leeming@lyx.org>
1332
1333         * lfuns.h:
1334         * LyXAction.C (init): new LFUN_PRINT.
1335
1336         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1337
1338 2004-03-27  Angus Leeming  <leeming@lyx.org>
1339
1340         * lfuns.h:
1341         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1342
1343         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1344
1345 2004-03-27  Angus Leeming  <leeming@lyx.org>
1346
1347         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1348         insetlist always contains non-null pointers to insets.
1349
1350 2004-03-26  Angus Leeming  <leeming@lyx.org>
1351
1352         * src/BufferView_pimpl.C:
1353         * src/CutAndPaste.C:
1354         * src/buffer.C:
1355         * src/iterators.C:
1356         * src/output_plaintext.C:
1357         * src/outputparams.h:
1358         * src/paragraph_funcs.C:
1359         * src/rowpainter.C:
1360         * src/text.C:
1361         * src/text2.C:
1362         * src/frontends/controllers/ControlErrorList.C:
1363         * src/frontends/gtk/FileDialogPrivate.C:
1364         * src/frontends/gtk/GPainter.C:
1365         * src/frontends/gtk/GToolbar.C:
1366         * src/frontends/qt2/QRef.C:
1367         * src/mathed/math_scriptinset.C: squash compiler warnings.
1368
1369 2004-03-26  Angus Leeming  <leeming@lyx.org>
1370
1371         * ispell.C (LaunchIspell::start):
1372         * lyx_cb.C (AutoSaveBuffer::start):
1373         invoke run(DontWait) rather than runNonBlocking().
1374
1375 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1376
1377         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1378
1379 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1380
1381         * kbsequence.C (print): adjust
1382
1383         * kbmap.C (printKeySym): rename and change signature
1384         (printKey): use LyXKeySym::print()
1385
1386 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1387
1388         * undo.C: add using std::advance to compile for stlport
1389
1390 2004-03-24  Angus Leeming  <leeming@lyx.org>
1391
1392         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1393         it leads to a crash when no buffer is present.
1394
1395 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1396             Martin Vermeer  <martin.vermeer@hut.fi>
1397
1398         * lyxfunc.C (dispatch):
1399         * bufferparams.C (readToken): use the new LColor::setColor
1400
1401         * LColor.[Ch] (setColor): new version that takes two strings as
1402         argument and creates a new color entry if necessary
1403
1404 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1405
1406         * buffer.C (makeLaTeXFile): if the main latex file that is
1407         processed is usually a subdocument of some master, then pretend
1408         for a while that it is actually the master
1409
1410 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1411
1412         * buffer.C (getLabelList):
1413         (getBibkeyList): use getMasterBuffer()
1414         (getMasterBuffer): new method. Returns the main document in the
1415         case where one is using included documents.
1416
1417 2004-03-25  André Pönitz  <poenitz@gmx.net>
1418
1419         * Makefile.am:
1420         * iterators.[Ch]:
1421         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1422
1423         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1424
1425         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1426         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1427
1428         * ParameterStruct.h: merge with ParagraphParameters
1429
1430         * lyxtext.h: remove LyXText::parOffset() and getPar()
1431
1432         * text3.C: Remove all 'manual' update calls. We do now one per user
1433         interaction which is completely sufficient.
1434
1435         * Bidi.C:
1436         * BufferView.[Ch]:
1437         * BufferView_pimpl.C:
1438         * FontIterator.[Ch]:
1439         * MenuBackend.C:
1440         * ParagraphParameters.[Ch]:
1441         * buffer.C:
1442         * buffer.h:
1443         * bufferlist.C:
1444         * cursor.[Ch]:
1445         * cursor_slice.[Ch]:
1446         * dociterator.[Ch]:
1447         * errorlist.[Ch]:
1448         * factory.C:
1449         * lfuns.h:
1450         * lyxfind.C:
1451         * lyxfunc.C:
1452         * output_docbook.[Ch]:
1453         * output_latex.[Ch]:
1454         * output_linuxdoc.[Ch]:
1455         * output_plaintext.[Ch]:
1456         * paragraph.[Ch]:
1457         * paragraph_funcs.[Ch]:
1458         * paragraph_pimpl.[Ch]:
1459         * rowpainter.C:
1460         * tabular.[Ch]:
1461         * text.C:
1462         * text2.C:
1463         * toc.C:
1464         * undo.[Ch]: adjust
1465
1466         * frontends/controllers/ControlDocument.C:
1467         * frontends/controllers/ControlErrorList.C:
1468         * frontends/controllers/ControlSpellchecker.C:
1469         * insets/inset.C:
1470         * insets/inset.h:
1471         * insets/insetbase.h:
1472         * insets/insetbibitem.C:
1473         * insets/insetbox.C:
1474         * insets/insetbranch.C:
1475         * insets/insetcaption.C:
1476         * insets/insetcharstyle.C:
1477         * insets/insetcharstyle.h:
1478         * insets/insetcollapsable.C:
1479         * insets/insetcollapsable.h:
1480         * insets/insetert.C:
1481         * insets/insetfloat.C:
1482         * insets/insetfoot.C:
1483         * insets/insetmarginal.C:
1484         * insets/insetnote.C:
1485         * insets/insetoptarg.C:
1486         * insets/insettabular.C:
1487         * insets/insettext.C:
1488         * insets/insettext.h:
1489         * insets/insetwrap.C:
1490         * mathed/math_mboxinset.C:
1491         * mathed/math_nestinset.C:
1492         * mathed/math_scriptinset.C:
1493         * mathed/math_scriptinset.h:
1494         * support/types.h:
1495
1496 2004-03-24  Angus Leeming  <leeming@lyx.org>
1497
1498         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1499         deal with any child processes that have finished but are waiting to
1500         communicate this fact to the rest of LyX.
1501
1502 2004-03-24  Angus Leeming  <leeming@lyx.org>
1503
1504         64-bit compile fixes.
1505
1506         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1507         (c-tor): pass lyx::pos_types rather than ints.
1508
1509         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1510         lyx::pos_type.
1511
1512         * text.C (Delete): compile fix.
1513         (getPar): ensure that function declaration is the same as that in
1514         the header file.
1515
1516 2004-03-23  Angus Leeming  <leeming@lyx.org>
1517
1518         * ispell.C (LaunchIspell):
1519         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1520         a boost::shred_ptr rather than a std::auto_ptr.
1521
1522 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1523
1524         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1525         handle LFUN_FILE_INSERT_*
1526
1527         * lyxrc.C (setDefaults, getDescription, output, read):
1528         * lyxrc.h: remove ps_command
1529
1530 2004-03-22  Angus Leeming  <leeming@lyx.org>
1531
1532         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1533         Ensure that error_handler is processed once only and that all data
1534         is saved before attempting to output any warning messages.
1535
1536         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1537
1538 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1539
1540         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1541
1542 2004-03-19  André Pönitz  <poenitz@gmx.net>
1543
1544         * cursor.[Ch] (reset): take main text inset as argument
1545
1546         * BufferView: adjust
1547         * BufferView_pimpl.C: adjust
1548
1549         * paragraph.[Ch]: fix completely broken operator=()
1550
1551 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1552
1553         * LColor.C (getFromLyXName): make sure that the color name is used
1554         as lowercase.
1555
1556 2004-03-17  Angus Leeming  <leeming@lyx.org>
1557
1558         * lfuns.h:
1559         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1560
1561         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1562         dialog and to kill a forked process.
1563
1564 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1565
1566         * text2.C (setCursorFromCoordinates): fix font problem
1567
1568 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1569
1570         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1571         bogus "rebuild cursor" code
1572
1573 2004-03-11  André Pönitz  <poenitz@gmx.net>
1574
1575         * buffer.[Ch]: use InsetText instead of LyXText as container for
1576         the main lyx text.
1577
1578         * dociterator.[Ch]: drop the BufferView * member which is not needed
1579         anymore after the change to buffer.C
1580
1581         * paragraph_funcs.C:
1582         * text.C:
1583         * text2.C:
1584         * BufferView.[Ch]:
1585         * BufferView_pimpl.[Ch]:
1586         * cursor.[Ch]:
1587         * cursor_slice.[Ch]: adjust
1588
1589         * text3.C: fix bug in mathDispatch
1590
1591 2004-03-08  André Pönitz  <poenitz@gmx.net>
1592
1593         * undo.[Ch]: use 'StableDocumentIterator' as base for
1594         the Undo struct.
1595
1596 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1597
1598         * LaTeXFeatures.C:
1599         * bufferparams.[Ch]: add jurabib support and param.
1600
1601         * LaTeX.C: add FIXME/comment.
1602
1603 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1604
1605         * buffer.C: increment file format to 230.
1606
1607 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1608
1609         * cursor.C (dispatch): avoid infinite loops
1610
1611 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1612
1613         * rowpainter.C (paintSelection): fix x coordinates
1614
1615 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1616
1617         * text.C (rowBreakPoint): fix breaking before displayed insets
1618
1619 2004-03-01  André Pönitz  <poenitz@gmx.net>
1620
1621         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1622
1623         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1624
1625         * Makefile.am:
1626         * BufferView.C:
1627         * BufferView_pimpl.C:
1628         * buffer.C:
1629         * lyxfind.C:
1630         * lyxfunc.C:
1631         * text.C:
1632         * text2.C:
1633         * text3.C: adjust
1634
1635 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1636
1637         * lyxtext.h:
1638         * text.C:
1639         * text2.C:
1640         * rowpainter.C:
1641         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1642         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1643
1644 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1645
1646         * Bidi.[Ch] (computeTables): const correctness
1647         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1648         fill_hfill, fill_label_hfill and x from Row
1649         * lyxtext.h: prepareToPrint returns a RowMetrics
1650         * rowPainter.C: adjust
1651         * text.C (prepareToPrint): use width, not textWidth. adjust
1652         (redoParagraphInternal, cursorX): adjust
1653         * text2.C (getColumnNearX): adjust
1654         (init): put a default value to the top LyXText::width
1655
1656 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1657
1658         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1659
1660 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1661
1662         * lyxtext.h: add FontIterator class
1663
1664         * text.C (FontIterator, operator*, operator->, operator++): add
1665         (rowBreakPoint, setRowWidth): adjust (fixing a
1666         rebreaking bug)
1667
1668 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1669
1670         * BufferView_pimpl.C (workAreaDispatch): allow also
1671         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1672
1673 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1674
1675         * text.C (rowBreakPoint): fix a bug showing with very large insets
1676
1677 2004-02-25  André Pönitz  <poenitz@gmx.net>
1678
1679         * text3.C:
1680         * cursor.[Ch]: move some mathed specific code to mathed
1681
1682 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1683
1684         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1685         use_tempdir in preferences
1686         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1687         tempfile creation
1688         * lyx_main.C: ensure that tempdir is valid
1689         * lyxlex.h: correct typo
1690         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1691         * paragraph.[Ch] (isMultiLingual): make const
1692         * cursor.[Ch] (openable): make const
1693
1694 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1695
1696         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1697
1698 2004-02-20  André Pönitz  <poenitz@gmx.net>
1699
1700         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1701
1702         * cursor.[Ch]: prepare for localized getStatus()
1703
1704         * lyxtext.h:
1705         * tabular.C:
1706         * text.C:
1707         * text2.C:
1708         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1709
1710 2004-02-20  André Pönitz  <poenitz@gmx.net>
1711
1712         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1713
1714 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1715
1716         * text2.C (setCursorFromCoordinates): switch to absolute coords
1717         (cursorUp): adjust
1718         (cursorDown): adjust
1719         * text3.C (dispatch): adjust
1720
1721 2004-02-16  André Pönitz  <poenitz@gmx.net>
1722
1723         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1724           insets/ChangeLog)
1725
1726         * cursor_slice.[Ch]: remove unneeded acessor function
1727
1728         * lyxtext.h: rename rtl() to isRTL()
1729
1730         * rowpainter.C:
1731         * tabular.C:
1732         * text.C:
1733         * text2.C:
1734         * text3.C: adjust
1735
1736 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1737
1738         * rowpainter.C (paintSelection): coord fix
1739
1740 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1741
1742         * Spacing.C: compile fix
1743
1744 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1745
1746         * cursor.C (dispatch): restore current_ before returning
1747
1748 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1749
1750         * text2.C (cursorUp, cursorDown): fix coords
1751         (moveUp): fix crash
1752
1753 2004-02-12  André Pönitz  <poenitz@gmx.net>
1754
1755         * lyxtext.h:
1756         * text.C:
1757         * text2.C:
1758         * text3.C: add LCursor & parameter to most cursor movement functions
1759           remove usage of LyXText::cursorRow() and cursorPar()
1760
1761         * cursor.[Ch]: add textRow() needed members
1762
1763         * BufferView.C:
1764         * BufferView_pimpl.C:
1765         * paragraph.[Ch]:
1766         * BufferView.C:
1767         * BufferView_pimpl.C: adjust
1768
1769 2004-02-11  André Pönitz  <poenitz@gmx.net>
1770
1771         * lyxfunc.C:
1772         * BufferView.[Ch]:
1773         * BufferView_pimpl.C: shift undo/redo handling
1774
1775         * cursor.[Ch]: fix mathed crash
1776
1777         * lyxfind.C:
1778         * lyxtext.h: move selectionAsText to LCursor
1779
1780         * output_latex.C:
1781         * paragraph.C:
1782         * text.C:
1783         * text2.C:
1784         * text3.C: adjust
1785
1786         * rowpainter.C: fix excessive drawing
1787
1788 2004-02-06  André Pönitz  <poenitz@gmx.net>
1789
1790         * BufferView.[Ch]:
1791         * BufferView_pimpl.[Ch]:
1792         * text3.C: move some text specific LFUN handling
1793
1794 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1795
1796         * text3.C (checkInsetHit): adjust coords
1797         * text2.C (getColumnNearX): adjust coords
1798         (edit): adjust coords
1799         * text.C (getRowNearY): add two asserts
1800
1801 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1802
1803         * converter.C:
1804         * format.C: add using std::distance to compile on gcc 2.95/stlport
1805
1806 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1807
1808         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1809
1810 2004-02-04  André Pönitz  <poenitz@gmx.net>
1811
1812         * BufferView.[Ch] (insertInset):
1813         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1814
1815         * text2.C:
1816         * text3.C: adjust
1817
1818 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1819
1820         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1821         on the default clause of the switch
1822         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1823         wasn't catched by LCursor::dispatch
1824
1825 2004-02-03  André Pönitz  <poenitz@gmx.net>
1826
1827         * BufferView.C:
1828         * cursor.[Ch]: some additional asserts
1829
1830         * undo.[Ch]: remove LyXText dependency in interface
1831
1832         * lyxfunc.C: adjust
1833
1834         * lyxtext.h (firstPar, lastPar): remove dead functions
1835
1836         * text.C:
1837         * text2.C:
1838         * text3.C:
1839         * paragraph.[Ch]: adjust
1840
1841 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1842
1843         * lyxfind.C (find): fix argument order in call to ::find
1844
1845 2004-02-02  André Pönitz  <poenitz@gmx.net>
1846
1847         * cursor.[Ch]: remove direct access to anchor
1848
1849         * text.C: remove findText() hack
1850
1851 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1852
1853         * iterators.[Ch] (lockPath): remove in favour of...
1854         * BufferView.[Ch] (setCursor): this addition
1855         * BufferView.C (putSelectionAt): adjust
1856         * undo.C (performUndoOrRedo): adjust
1857         * lyxfunc.C (dispatch): adjust
1858
1859 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1860
1861         * iterators.C (lockPath): add a missing slice
1862         * undo.C (performUndoOrRedo): remove redundant positioning code
1863
1864 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1865
1866         * vc-backend.C (scanMaster): ";" -> ';'
1867
1868 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1869
1870         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1871         std::binary_function
1872
1873         * lyxtextclass.C (compare_name): rename to...
1874         (LayoutNamesEqual): ...this
1875
1876         * lyxlex_pimpl.C (compare_tags): inherit from
1877         std::binary_function, put back into anon namespace
1878
1879         * lyxfind.C (MatchString): inherig from std::binary_function
1880         (findChange): use empty() istead of !size()
1881
1882         * format.C (FormatNamesEqual): new functor
1883         (getFormat): use it
1884         (getNumber): use it
1885         (add): use it
1886         (erase): use it
1887         (setViewer): use it
1888
1889         * converter.C (compare_Converter): rename to...
1890         (ConverterEqual): ...this, and fixup a bit.
1891         (getConverter): use it, and make function const
1892         (getNumber): use it, and make function const
1893         (add): use it
1894         (erase): use it:
1895
1896         * bufferlist.C: add using boost::bind
1897
1898         * MenuBackend.C (MenuNamesEqual): new functor
1899         (hasMenu): use it, and make function const
1900         (hasSubmenu): use nested bind to get rid of compare_memfun.
1901
1902 2004-01-30  André Pönitz  <poenitz@gmx.net>
1903
1904         * BufferView_pimpl.C:
1905         * cursor.C:
1906         * cursor.h:
1907         * cursor_slice.[Ch]:
1908         * lyxfunc.C:
1909         * lyxtext.h:
1910         * paragraph_funcs.C:
1911         * paragraph_funcs.h:
1912         * rowpainter.C:
1913         * text.C:
1914         * text2.C:
1915         * text3.C: move some of the edit(x,y) handling to the insets
1916         some coordinate changes.
1917
1918 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1919
1920         * text.C: add using statements for std::advance and std::distance
1921
1922         * paragraph.C: add using statement for std::distance
1923
1924         * lyxfind.C: add using statement for std::advance
1925
1926         * cursor.C (region): remove std:: from swap
1927         (openable): use nucleus in stead of operator->
1928
1929         * BufferView.C: add using statements for std::distance and std::swap
1930
1931 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1932
1933         * iterators.C: Remove the pimple, move the needed structures to
1934         the header file. Create accessor for the positions stack.
1935         (asPosIterator): remove function
1936
1937         * PosIterator.C (PosIterator): move constructors to top of file
1938         (PosIterator): reimplement the constructor taking a ParIterator in
1939         terms of setFrom.
1940         (setFrom): new function
1941         (operator!=): inline it
1942
1943 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1944
1945         * lyxfind.C (replaceAll): use std::advance
1946
1947         * iterators.h: inherit from std::iterator.
1948
1949         * PosIterator.C (advance, distance): remove
1950         * PosIterator.h: interit from std::iterator.
1951
1952 2004-01-26  André Pönitz  <poenitz@gmx.net>
1953
1954         * BufferView.[Ch]:
1955         * BufferView_pimpl.[Ch]:
1956         * InsetList.[Ch]:
1957         * PosIterator.[Ch]:
1958         * buffer.h:
1959         * bufferview_funcs.C:
1960         * cursor.[Ch]:
1961         * cursor_slice.h:
1962         * factory.[Ch]:
1963         * iterators.[Ch]:
1964         * lyxfind.C:
1965         * lyxfunc.C:
1966         * lyxtext.h:
1967         * output_docbook.C:
1968         * output_latex.C:
1969         * output_linuxdoc.C:
1970         * output_plaintext.C:
1971         * paragraph.[Ch]:
1972         * paragraph_funcs.[Ch]:
1973         * paragraph_pimpl.[Ch]:
1974         * rowpainter.C:
1975         * tabular.C:
1976         * tabular.h:
1977         * text.C:
1978         * text2.C:
1979         * text3.C: more IU:  dumps most of the rest of the mathcursor
1980     implementation into cursor.[Ch]; "globalize" a bit of it.
1981
1982 2004-01-25  Angus Leeming  <leeming@lyx.org>
1983
1984         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1985
1986 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1987
1988         * LaTeXFeatures.h: add nice_ and nice() const
1989         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1990
1991 2004-01-20  André Pönitz  <poenitz@gmx.net>
1992
1993         * BufferView.[Ch]:
1994         * BufferView_pimpl.C:
1995         * PosIterator.C:
1996         * bufferview_funcs.C:
1997         * cursor.[Ch]:
1998         * cursor_slice.[Ch]:
1999         * factory.C:
2000         * iterators.C:
2001         * lyx_cb.C:
2002         * lyxfind.C:
2003         * lyxfunc.C:
2004         * lyxtext.h:
2005         * rowpainter.C:
2006         * text.C:
2007         * text2.C:
2008         * text3.C:
2009         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2010           LCursor and mathcursor parts to LCursor and InsetBase.
2011
2012 2004-01-15  André Pönitz  <poenitz@gmx.net>
2013
2014         * cursor_slice.[Ch]: add a few covienience functions
2015
2016         * funcrequest.[Ch]: remove BufferView * member
2017
2018         * BufferView_pimpl.C:
2019         * cursor.C:
2020         * factory.[Ch]:
2021         * lyxfind.[Ch]:
2022         * lyxfunc.C:
2023         * lyxtext.h:
2024         * text3.C:
2025         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2026
2027 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2028
2029         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2030         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2031
2032 2004-01-13  André Pönitz  <poenitz@gmx.net>
2033
2034         * textcursor.[Ch]:
2035         * lyxtext.h: hide cursor and selection anchor behind accessor function
2036
2037         * BufferView.C:
2038         * BufferView_pimpl.[Ch]:
2039         * PosIterator.C:
2040         * bufferview_funcs.C:
2041         * cursor.h:
2042         * lyxfind.C:
2043         * lyxfunc.C:
2044         * text.C:
2045         * text2.C:
2046         * text3.C:
2047         * undo.C: adjust
2048
2049         * cursor.h:
2050         * cursor_slice.[Ch]: some integer type changes for inset unification
2051
2052         * lyxcursor.[hC]: remove, it's CursorSlice now.
2053
2054         * Makefile.am:
2055         * BufferView_pimpl.[Ch]:
2056         * bufferview_funcs.C:
2057         * cursor_slice.C:
2058         * lyxtext.h:
2059         * text.C:
2060         * text2.C:
2061         * text3.C:
2062         * textcursor.[Ch]: adjust
2063
2064 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2065
2066         * text2.C (undoSpan): add and use
2067         * text.C (breakParagraph): use undoSpan (fix bug 578)
2068         * lyxtext.h: adjust
2069
2070 2004-01-08  Angus Leeming  <leeming@lyx.org>
2071
2072         * BufferView_pimpl.C (MenuInsertLyXFile):
2073         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2074         * lyxfunc.C (menuNew, open, doImport):
2075         FileFilterList change to the FileDialog open and save functions.
2076
2077 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2078
2079         * ShareContainer.h: make isEqual and isUnique adaptable
2080
2081         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2082
2083 2004-01-07  Angus Leeming  <leeming@lyx.org>
2084
2085         * LyXAction.C:
2086         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2087
2088         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2089
2090         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2091         functions replacing find, replace and replaceAll.
2092
2093         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2094         LFUN_WORDFIND(FORWARD|BACKWARD).
2095
2096 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2097
2098         * text.C (breakParagraph): remove an outdated #warning
2099
2100 2004-01-07  André Pönitz  <poenitz@gmx.net>
2101
2102         * lyxfind.C: somewhat clearer logic
2103
2104         * text.C: prevent crash in cursorX on unitialized row cache
2105
2106 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2107
2108         * lyxcursor.[Ch] (operator>): add
2109         * textcursor.C (selStart, selEnd): use std::min and std::max
2110
2111 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2112
2113         * Chktex.C: include boost/format.hpp
2114
2115 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2116
2117         * InsetList.C: replace functor MathcIt with adaptable functor
2118         InsetTablePosLess
2119         (insetIterator): modify accordingly
2120
2121         * BranchList.h: move the BranchNamesEqual functor here from...
2122         * BranchList.C: ... to here
2123
2124         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2125         SameName and match.
2126         (add): replace a finding loop with std::find_if.
2127
2128 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2129
2130         * output_docbook.C: moving LatexParam functionality into
2131         .layout files
2132
2133 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2134
2135         * buffer.C: increment format to 229.
2136
2137 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2138
2139         * LaTeXFeatures.C:
2140         * lyx_sty.[Ch]: remove minipageindent_def
2141
2142         * LyXAction.C:
2143         * factory.C:
2144         * lfuns.h:
2145         * lyxfunc.C:
2146         * text3.C: remove LFUN_INSET_MINIPAGE
2147
2148 2003-12-28  Angus Leeming  <leeming@lyx.org>
2149
2150         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2151
2152 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2153
2154         * text2.C (setParagraph): fix off-by-one crash
2155
2156 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2157
2158         * output_docbook.C: header stuff for AGU
2159
2160 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2161
2162         * text2.C (redoCursor): remove
2163         * text.C:
2164         * text3.C:
2165         * BufferView_pimpl.C: remove calls to redoCursor and
2166         setCursor(cursor.par(), cursor.pos()) all around
2167
2168 2003-12-15  Angus Leeming  <leeming@lyx.org>
2169
2170         * buffer.C: up the format to 228.
2171
2172 2003-12-15  André Pönitz  <poenitz@gmx.net>
2173
2174         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2175         slices
2176
2177         * Makefile.am:
2178
2179         * BufferView_pimpl.C:
2180         * cursor.[Ch]:
2181         * lyxcursor.[Ch]:
2182         * rowpainter.[Ch]:
2183         * lyxtext.h:
2184         * text.C:
2185         * text2.C:
2186         * text3.C: adjust
2187
2188 2003-12-15  Angus Leeming  <leeming@lyx.org>
2189
2190         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2191         than getFromGUIName to manipulate the color.
2192
2193 2003-12-14  Angus Leeming  <leeming@lyx.org>
2194
2195         * BranchList.[Ch]: minimize the API.
2196         (Branch::getBranch, getColor): now return a 'const &'.
2197         (Branch::setSelected) now returns a bool set to true if the
2198         selection status changes.
2199         (BranchList::clear, size, getColor, setColor, setSelected,
2200         allBranches, allSelected, separator): removed.
2201         (BranchList::find): new functions, returning the Branch with
2202         the given name.
2203         (BranchList::add, remove): return a bool indicating that
2204         the operation was successful.
2205
2206         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2207         new InsetBranch::isBranchSlected member function.
2208
2209         * LColor.[Ch]: mimimize the API.
2210         (fill): renamed as addColor and made private.
2211         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2212         versions of these functions taking a string arg have been removed.
2213
2214         * bufferparams.C (readToken):
2215         * lyxfunc.C (dispatch):
2216         * lyxrc.C (read): changes due to the altered BranchList and
2217         LColor APIs.
2218
2219         * factory.C (createInset, readInset): changes due to altered
2220         InsetBranch c-tor.
2221
2222 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2223
2224         * factory.C:
2225         * lyxfunc.C: remove insetminipage. "minipage-insert"
2226         now produces a frameless minipage box inset.
2227
2228 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2229
2230         * textcursor.[Ch] (selStart,selEnd): add new methods
2231         remove selection::start, end, use LyXCursor::operator<
2232         * lyxcursor.[Ch] (operator<): add
2233         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2234         * BufferView.[Ch] (unsetXSel): add
2235         * text2.C (clearSelection): use unsetXSel,adjust
2236         * text.C: adjust
2237         * text3.C: adjust
2238         * rowpainter.C: adjust
2239         * bufferview_funcs.C (put_selection_at): adjust
2240
2241 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2242
2243         * BufferView_pimpl.C: small coord. correction
2244
2245 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2246
2247         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2248         dragging over the splash screen.
2249
2250 2003-12-11  Angus Leeming  <leeming@lyx.org>
2251
2252         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2253         as it is now handled in LyXText::dispatch.
2254
2255         * text3.C (doInsertInset): remove a level of nesting.
2256
2257 2003-12-11  Angus Leeming  <leeming@lyx.org>
2258
2259         * factory.C (createInset): changes due to the changed interface to
2260         InsetCommandMailer::string2params.
2261
2262 2003-12-10  Angus Leeming  <leeming@lyx.org>
2263
2264         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2265         'dialog-show-new-inset <inset name>'
2266
2267 2003-12-10  Angus Leeming  <leeming@lyx.org>
2268
2269         * buffer.C: up the format to 227.
2270
2271         * factory.C: the box inset is now identified simply by 'Box'.
2272
2273 2003-12-10  Angus Leeming  <leeming@lyx.org>
2274
2275         * buffer.C: up the format to 226.
2276
2277         * factory.C: the note inset is now identified simply by 'Note'.
2278
2279 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2280
2281         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2282         when a pit is enough. Standarize a couple of loops.
2283
2284 2003-12-05  Angus Leeming  <leeming@lyx.org>
2285
2286         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2287         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2288         data to the re-worked "log" dialog.
2289
2290 2003-12-03  André Pönitz  <poenitz@gmx.net>
2291
2292         * PosIterator.C:
2293         * iterators.C:
2294         * lyxtext.h:
2295         * output_latex.C:
2296         * paragraph_funcs.C:
2297         * text.C:
2298         * text2.C: use Inset::getText instead of Inset::getParagraph
2299
2300 2003-12-03  André Pönitz  <poenitz@gmx.net>
2301
2302         * buffer.[Ch]:
2303         * lyxtext.h:
2304         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2305         InsetText::read() as LyXText::read()
2306
2307 2003-12-02  Angus Leeming  <leeming@lyx.org>
2308
2309         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2310         type. Add a comment in the implementation that the function uses
2311         the stream's bad() function rather than fail() as the std::streams
2312         would do.
2313
2314 2003-12-02  André Pönitz  <poenitz@gmx.net>
2315
2316         * lyxlex.[Ch]: make interface more similar to std::stream
2317
2318         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2319
2320 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2321
2322         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2323
2324 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2325
2326         * vspace.[Ch]: remove VSpace::NONE
2327
2328 2003-12-01  André Pönitz  <poenitz@gmx.net>
2329
2330         * buffer.[Ch]:
2331         * lyxtext.h: move ParagraphList member to LyXText
2332         rename LyXText::ownerParagraphs to LyXText::paragraph
2333
2334         * CutAndPaste.C:
2335         * bufferview_funcs.C:
2336         * iterators.[Ch]:
2337         * lyx_cb.C:
2338         * paragraph.C:
2339         * rowpainter.C:
2340         * tabular.C:
2341         * text.C:
2342         * text2.C:
2343         * text3.C: adjust
2344
2345         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2346
2347         * undo.C: fix cursor positioning
2348
2349 2003-12-01  John Levon  <levon@movementarian.org>
2350
2351         * BufferView_pimpl.C: fix a crash on exit with
2352         a buffer open
2353
2354 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2355
2356         * BranchList.C: fix setSelected() method.
2357
2358 2003-11-28  André Pönitz  <poenitz@gmx.net>
2359
2360         * ParagraphParameters.[Ch]:
2361         * ParameterStruct.h: remove space above/below from Paragraph to
2362          InsetVSpace
2363
2364         * BufferView_pimpl.C:
2365         * factory.C:
2366         * lyxfunc.C:
2367         * lyxtext.h:
2368         * output_latex.C:
2369         * paragraph.C:
2370         * paragraph_funcs.C:
2371         * rowpainter.[Ch]:
2372         * text.C:
2373         * text2.C:
2374         * text3.C: adjust
2375
2376 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2377
2378         * factory.C: Syntax change for CharStyles
2379
2380 2003-11-28  André Pönitz  <poenitz@gmx.net>
2381
2382         * BufferView.[Ch]:
2383         * BufferView.[Ch]:
2384         * buffer.[Ch]:
2385         * buffer.[Ch]: move LyXText member
2386
2387 2003-11-28  André Pönitz  <poenitz@gmx.net>
2388
2389         * BufferView.[Ch]: make LyXText * text a private member
2390
2391         * BufferView_pimpl.C:
2392         * cursor.C:
2393         * iterators.C:
2394         * lyx_cb.C:
2395         * lyxfind.C:
2396         * lyxtext.h:
2397         * rowpainter.[Ch]:
2398         * text.C:
2399         * text2.C:
2400         * undo.C: adjust
2401
2402         * output_plaintext.C: cleanup
2403
2404 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2405
2406         * buffer.C:
2407         * lyxtextclass.[Ch]: parametrize SGML document header
2408
2409 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2410
2411         * converter.[Ch]:
2412         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2413         getFlavor().
2414
2415 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2416
2417         * text2.C (setFont): rework using PosIterator (no more recursive)
2418         (setCharFont): no more needed
2419         (setLayout): no more selection cursors fiddling (done by redoCursor)
2420         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2421         destroy remaining ones)
2422
2423 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2424
2425         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2426         * lyxtext.h: ditto
2427         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2428         selection cursors
2429         * lyxfunc.C: adjust
2430         * text3.C: adjust + re-allow multi par depth changes
2431         * textcursor.C: simplify a bit
2432
2433 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2434
2435         * src/buffer.C:
2436         * src/lyxlayout.C:
2437         * src/lyxlayout.h:
2438         * src/lyxtext.h:
2439         * src/output_docbook.C:
2440         * src/output_latex.C:
2441         * src/paragraph.C:
2442         * src/paragraph.h:
2443         * src/sgml.C:
2444         * src/sgml.h:
2445         * src/text2.C: Introducing a number of tags parametrizing various
2446         XML formats that we may want to support
2447
2448 2003-11-25  André Pönitz  <poenitz@gmx.net>
2449
2450         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2451
2452         * lyxtext.h (leftMargin/rightMargin): simplify interface
2453
2454         * rowpainter.C:
2455         * text.C:
2456         * text2.C:
2457         * text3.C: adjust
2458
2459 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2460
2461         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2462         master file to any child files. Fixes bug 546.
2463
2464 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2465
2466         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2467
2468 2003-11-24  André Pönitz  <poenitz@gmx.net>
2469
2470         * rowpainter.C: simplification
2471
2472         * text2.C (updateCounters): remove call to redoParagraph on
2473         changed labels as this is far too expensive.
2474
2475 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2476
2477         * converter.C (convert): fix a crash: this function gets
2478         called with buffer == 0 from importer code.
2479
2480 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2481
2482         * text3.C (cursorPrevious): make sure that we do not compare
2483         iterators form different containers.
2484         (cursorNext): ditto
2485
2486         * rowpainter.C (paintSelection): make sure that we do not compare
2487         iterators from different containers.
2488
2489         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2490         iterators from different ParagraphList containers.
2491         [NEXT] ditto
2492
2493         * text2.C (LyXText): change order of initialization slightly
2494         (operator=): new function. copy all variables except cache_par_
2495         (moveUp): make sure that we do not compare iterators from
2496         different ParagraphList constainers.
2497         (moveDown): ditto
2498
2499         * text.C (firstPar): new function
2500         (lastPar): new function
2501         (endPar): new function
2502
2503         * lyxtext.h: move things around and group public functions, public
2504         variables, private functions, private variables
2505
2506 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2507
2508         * factory.C: change call to InsetERT constructor to avoid
2509         additional invocation of method status
2510         * text2.C (toggleInset): remove redundant update() call
2511         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2512         instead of a Bufferview pointer
2513
2514 2003-11-21  André Pönitz  <poenitz@gmx.net>
2515
2516         * rowpainter.C: simplification
2517
2518 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2519
2520         * text3.C (dispatch): make possible to extend a word/row selection
2521         with the mouse
2522
2523 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2524
2525         * lyxtext.h: x0_,y0_ -> xo_,yo_
2526         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2527         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2528         * rowpainter.C (paintRows): paint full paragraphs
2529
2530 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2531
2532         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2533         screen coordinates)
2534
2535 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2536
2537         * lyxtext.h: add x0_, y0_
2538         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2539         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2540
2541 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2542
2543         * text2.C (setCursorIntern): move the x_target update here *
2544         * text3.C: change some bv() to true/false in calls to
2545         cursorUp/Down/Right/Left
2546         * cursor.C: use helper function.
2547
2548 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2549
2550         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2551         * paragraph_funcs.[Ch]: correct comment
2552         * rowpainter.C: do not paint selections away from bv->cursor()
2553         Fix a long standing selection painting bug.
2554         * text3.C: generalize mouse-selection code to LyXTexts other that
2555         top one
2556         * textcursor.C: do not use y coords if we can use par offsets
2557
2558 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2559
2560         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2561         cursor position after e.g. inset insert)
2562
2563 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2564
2565         * lyxfind.C (replace): adjust to locking removal + some
2566         code simplification
2567
2568 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2569
2570         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2571         of the path
2572
2573 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2574
2575         * lyxlayout.[Ch]:
2576         * output_docbook.C: XML sanitation: new layout
2577         parameters InnerTag and CommandDepth
2578
2579 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2580
2581         * BufferView_pimpl.C:
2582         * factory.C:
2583         * text3.C: Fix the insertion and modification of button-style
2584         insets
2585
2586 2003-11-13  André Pönitz  <poenitz@gmx.net>
2587
2588         * InsetList.[Ch]: remove deleteLyXText
2589
2590         * paragraph.[Ch]: cache beginOfBody position
2591
2592         * Bidi.C:
2593         * text.C:
2594         * text2.C:
2595         * text3.C: remove superfluous update() calls
2596
2597         * vspace.C: cleanup
2598
2599 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2600
2601         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2602         * BufferView.C (fitLockedInsetCursor): remove
2603         * cursor.[Ch] (getDim): add
2604         * text.C (getRowNearY): add faster version
2605         * text3.C: remove some update calls
2606
2607 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2608
2609         * LaTeXFeatures.C:
2610         * LyXAction.C:
2611         * MenuBackend.C:
2612         * MenuBackend.h:
2613         * dispatchresult.h:
2614         * factory.C:
2615         * lfuns.h:
2616         * lyxfunc.C:
2617         * lyxtextclass.C:
2618         * lyxtextclass.h:
2619         * text3.C: The Character Style /XML short element patch.
2620
2621 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2622
2623         * text3.C:
2624         * factory.C: Small step to solving 'unable to insert some insets'
2625         problem
2626
2627 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2628
2629         * cursor.[Ch] (updatePos): new function for updating the y
2630         position of the tip inset
2631         * bufferview_funcs.C (put_selection_at):
2632         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2633
2634 2003-11-11  André Pönitz  <poenitz@gmx.net>
2635
2636         * text.C: remove big comment on invalid Paragraph pointers as it is
2637         not valid anymore
2638
2639 2003-11-11  André Pönitz  <poenitz@gmx.net>
2640
2641         * text_funcs.[Ch]: merge with ...
2642
2643         * text.C: ... this
2644
2645         * lyxtext.h:
2646         * text2.C:
2647         * text3.C: adjust
2648
2649         * Makefile.am: remove text_funcs.[Ch]
2650
2651 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2652
2653         * cursor.C (getPos): return absolute cached y coord
2654
2655         * BufferView_pimpl.C (fitCursor): new simplistic code
2656         (workAreaDispatch): add a fitCursor call
2657
2658 2003-11-10  André Pönitz  <poenitz@gmx.net>
2659
2660         * BufferView.[Ch]:
2661         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2662
2663 2003-11-10  André Pönitz  <poenitz@gmx.net>
2664
2665         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2666         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2667         indicate that the cursor needs to leave an inset
2668
2669         * lyxtext.h: remove inset locking
2670
2671         * cursor.[Ch]: re-implement functionality provided by inset locking
2672
2673         * BufferView.[Ch]:
2674         * BufferView_pimpl.[Ch]:
2675         * LyXAction.C:
2676         * bufferview_funcs.[Ch]:
2677         * factory.C:
2678         * funcrequest.[Ch]:
2679         * iterators.C:
2680         * lyx_cb.C:
2681         * lyxfind.C:
2682         * lyxfunc.C:
2683         * text.C:
2684         * text2.C:
2685         * text3.C:
2686         * undo.C: adjust
2687
2688 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2689
2690         * PosIterator.[Ch]: replace the stack with a vector, add inset
2691         accesor
2692         * iterators.[C]: adjust
2693
2694 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2695
2696         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2697         replaced
2698         * paragraph_funcs.C (readParToken): put the correct id in the
2699         error item, not the id of the top paragraph
2700
2701 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2702
2703         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2704         * bufferview_funcs.C (put_selection_at): use the above
2705
2706 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2707
2708         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2709
2710 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2711
2712         * output_linuxdoc.h:
2713         * output_plaintext.h:
2714         * output.h:
2715         * output_docbook.h: add #include statements
2716
2717 2003-11-05  José Matos  <jamatos@lyx.org>
2718
2719         * output_docbook.[Ch]:
2720         * output_latex.[Ch]:
2721         * output_linuxdoc.[Ch]:
2722         * output_plaintext.[Ch]: New files for output formats.
2723         * output.[Ch]: New file for helper functions.
2724
2725         * buffer.[Ch]:
2726         * paragraph_funcs.[Ch]: output functions moved to new files.
2727
2728         * outputparams.h: rename of latexrunparams.h
2729
2730         * LaTeX.[Ch]:
2731         * buffer.[Ch]:
2732         * bufferlist.[Ch]:
2733         * converter.[Ch]:
2734         * exporter.C:
2735         * paragraph.[Ch]:
2736         * paragraph_funcs.[Ch]:
2737         * paragraph_pimpl.[Ch]:
2738         * tabular.[Ch]: rename ascii to plaintext
2739         and LatexRunParams to OutputParams.
2740
2741 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2742
2743         * iterators.[Ch] (text): require bv argument
2744         * undo.C (recordUndo):
2745         * lyxfunc.C (dispatch):
2746         * bufferview_funcs.C (put_selection_at): adjust
2747
2748 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2749
2750         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2751
2752 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2753
2754         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2755         nestings
2756
2757 2003-11-04  André Pönitz  <poenitz@gmx.net>
2758
2759         * cursor.[Ch]: restructure
2760
2761         * BufferView.[Ch]:
2762         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2763
2764         * iterators.[Ch] (asCursor): remove
2765
2766         * lfuns.h: remove LFUN_INSET_EDIT
2767
2768         * lyxfunc.C:
2769         * tabular.C:
2770         * text.C:
2771         * text2.C:
2772         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2773
2774 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2775
2776         * lyxfind.[Ch]: complete overhaul
2777         * BufferView_pimpl.C:
2778         * lyxfunc.C: adjust
2779         * paragraph.[Ch] (insert): add
2780
2781 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2782
2783         * BufferView.[Ch]:
2784         * lyxtext.h:
2785         * text.C: remove dead spellcheck code
2786
2787 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2788
2789         * dispatchresult.h: add a val setter
2790
2791         * cursor.C (dispatch): use a tempvar for data_[i]
2792
2793 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2794
2795         * PosIterator.[Ch]: compile fix
2796
2797 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2798
2799         * text.C (cursorPar): deactivate the cursor cache
2800
2801 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2802
2803         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2804
2805 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2806
2807         * text3.C (dispatch): adjust for new DisptchResult semantics.
2808
2809         * lyxfunc.C (dispatch): handle update when return from
2810         Cursor::dispatch, adjust for new DispatchResult semantics.
2811
2812         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2813         DispatchResult(true) mean to not update. Add class functions for
2814         setting dispatched and update, as well as reading.
2815
2816         * cursor.C (dispatch): don't handle update here
2817
2818 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2819
2820         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2821         * trans_mgr.C: adjust
2822
2823         * paragraph_funcs.C (readParToken): exception safety
2824
2825         * lyxvc.h: store the vcs pointer in a scoped_ptr
2826         * lyxvc.C: adjust
2827
2828         * lyxsocket.C (serverCallback): exception safety
2829
2830         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2831
2832         * ispell.C (clone): make it return a auto_ptr
2833
2834         * factory.C (createInset): exception safety
2835         (readInset): exception safety
2836
2837         * bufferlist.C (newBuffer): exception safety
2838
2839         * Thesaurus.C (Thesaurus): use initialization for aik_
2840
2841         * MenuBackend.C (expandToc): exception safety.
2842
2843 2003-11-03  André Pönitz  <poenitz@gmx.net>
2844
2845         * buffer.C:
2846         * buffer.h:
2847         * bufferview_funcs.C: remove getInsetFromId()
2848
2849         * lyxcursor.[Ch]:
2850         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2851
2852         * lyxfunc.C:
2853         * text2.C:
2854         * text3.C: adjust
2855
2856 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2857
2858         * PosIterator.C (distance, advance): new
2859         * bufferview_funcs.[Ch] (put_selection_at): new
2860         * iterators.[Ch] (lockPath): new
2861
2862 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2863
2864         * iterators.[Ch] (asPosIterator): added
2865         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2866         * PosIterator.[Ch]: added
2867
2868 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2869
2870         * text3.C:
2871         * lyxfunc.C:
2872         * cursor.C (dispatch):
2873         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2874
2875         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2876         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2877         contructor, add a class function dispatched. Remove operator>=
2878
2879 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2880
2881         * debug.C: only use the default constructor for debugstream
2882         (lyxerr) here.
2883
2884         * main.C (main): include debug.h and setup the lyxerr streambuf
2885         here.
2886
2887 2003-10-31  José Matos  <jamatos@lyx.org>
2888
2889         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2890
2891         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2892         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2893         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2894         * paragraph_pimpl.C (simpleTeXSpecialC):
2895         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2896         add LatexRunParams argument.
2897
2898         * exporter.C (Export): change call accordingly.
2899
2900         * latexrunparams.h: add new member to take care of the other backends.
2901 2003-10-30  José Matos  <jamatos@lyx.org>
2902
2903         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2904         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2905         factorise code for paragraph output.
2906         * buffer.[Ch]:
2907         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2908         move functions.
2909
2910 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2911
2912         * text3.C (dispatch):
2913         * lyxfunc.C (dispatch):
2914         * cursor.C (dispatch):
2915         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2916
2917         * dispatchresult.h: make the dispatch_result_t ctor explicit
2918
2919 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2920
2921         * sgml.[Ch]:
2922         * buffer.C: small refactoring of docbook stuff
2923
2924 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2925
2926         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2927         meaning.
2928
2929 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2930
2931         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2932         operator dispatch_result_t, and operators for == != and >=
2933
2934         * cursor.C (dispatch): adjust for operator dispatch_result_t
2935         removal. comment out call to update
2936
2937         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2938
2939 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2940
2941         * text3.C:
2942         * text2.C:
2943         * text.C:
2944         * lyxtext.h:
2945         * lyxfunc.C:
2946         * cursor.C:
2947         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2948         (dispatch):
2949
2950         * dispatchresult.h: new file, DispatchResult broken out of
2951         insets/insetbase.h
2952
2953         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2954
2955 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2956
2957         * text.C (rowBreakPoint): put a hack inside #if 0
2958
2959 2003-10-28  André Pönitz  <poenitz@gmx.net>
2960
2961         * lyxtext.h:
2962         * metricsinfo.C:
2963         * paragraph_funcs.C:
2964         * rowpainter.C:
2965         * text.C:
2966         * text2.C: general cleanup (lots of small stuff)
2967
2968 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2969
2970         * text2.C (cursorEnd): simple fix to the "end key goes to one
2971         before the end on last row" bug
2972
2973 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2974
2975         * text.C (backspace): fix the "zombie characters"
2976
2977 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2978
2979         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2980
2981 2003-10-27  André Pönitz  <poenitz@gmx.net>
2982
2983         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2984
2985         * factory.C: handle new InsetPagebreak, InsetLine
2986
2987         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2988         and move handling into new InsetPagebreak, InsetLine
2989
2990         * BufferView_pimpl.C:
2991         * LyXAction.C:
2992         * ParagraphParameters.C:
2993         * ParameterStruct.h:
2994         * lyxfunc.C:
2995         * lyxtext.h:
2996         * paragraph.C:
2997         * paragraph.h:
2998         * paragraph_funcs.C:
2999         * paragraph_pimpl.C:
3000         * rowpainter.C:
3001         * text.C:
3002         * text2.C:
3003         * text3.C: adjust
3004
3005 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3006
3007         * text.C:
3008         * lyxrow_funcs.[Ch]:
3009         * Bidi.C:
3010         * paragraph.C:
3011         * lyxtext.h:
3012         * rowpainter.C:
3013         * text2.C:
3014         * text3.C: remove lastPos uses in favour of Row::endpos
3015
3016 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3017
3018         * undo.C (performUndoOrRedo): fix two crashes by setting a
3019         cursor by hand and reordering some calls. Use bv->lockInset instead
3020         of inset->edit because the latter loses cursor information
3021
3022 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3023
3024         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3025         by Martin
3026         (rowBreakPoint): fix width. change point to point + 1.
3027         Add a missing check.
3028
3029 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3030
3031         * MenuBackend.C:
3032         * lyxfunc.C: fix (at least partly) the problems
3033         with the Nav menu and headers inside branch insets
3034         reported by Kayvan
3035
3036 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3037
3038         * paragraph.C (getChar): add strong asserts
3039
3040         * lyxrow_funcs.C (lastPos): remove hideous hack
3041
3042         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3043         (fill): adjust to that (avoid an infinite loop)
3044
3045 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3046
3047         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3048
3049 2003-10-23  André Pönitz  <poenitz@gmx.net>
3050
3051         * RowList_fwd.h: change list<> to vector<> to gain speed
3052         after suggestion from Alfredo
3053
3054 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3055
3056         * lyxtext.h: move the bidi stuff from here...
3057         * text.C: and here
3058         * text2.C: and here
3059         * Bidi.[Ch]: ... to here
3060
3061 2003-10-23  André Pönitz  <poenitz@gmx.net>
3062
3063         * lyxtext.h:
3064         * text.C (isLastRow, isFirstRow): new functions
3065
3066         * paragraph.h: new width cache member
3067
3068         * rowpainter.C: replace RowList::iterator with Row & where possible
3069
3070         * lyxfunc.C: replace several view()->text with a single call
3071
3072         * toc.C: fix 'unused' warning
3073
3074 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3075
3076         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3077         when woring with stream::pos_type
3078         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3079
3080 2003-10-22  André Pönitz  <poenitz@gmx.net>
3081
3082         * lyxtext.h:
3083         * text.C: use Row & instead of RowList::iterator
3084
3085         * lyxrow.h: rename end() to endpos()
3086
3087         * rowpainter.C:
3088         * text.C:
3089         * text2.C: adjust
3090
3091 2003-10-22  Angus Leeming  <leeming@lyx.org>
3092
3093         * buffer.[Ch] (fully_loaded): new member function, returning true
3094         only when the file has been loaded fully.
3095         Used to prevent the premature generation of previews and by the
3096         citation inset to prevent computation of the natbib-style label.
3097
3098         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3099         templates are all set up.
3100
3101         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3102
3103 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3104
3105         * text.C: fixed an "oops" in the "is a bit silly"
3106         bug fix
3107
3108 2003-10-21  André Pönitz  <poenitz@gmx.net>
3109
3110         * FuncStatus.[Ch]: small stuff, whitespace
3111
3112         * lyxfont.[Ch]: operator<<() for debug reasons
3113
3114         * lyxfunc.C:
3115         * lyxrow_funcs.C:
3116         * lyxtext.h: whitespace, spelling
3117
3118         * paragraph.C: naming of variables
3119
3120         * text.C:
3121         * text2.C: small stuff
3122
3123
3124 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3125
3126         * text.C: (1) finish off the inset display() work;
3127         (2) fix the "is a bit silly" bug (accessing char
3128         past end of par).
3129
3130 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3131
3132         * text.C: re-introduce display() for insets, fixing the
3133         various bugs (stretch of line above, math inset
3134         positioning, ...)
3135
3136 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3137
3138         * text.C (rightMargin): remove spurious semicolon
3139
3140         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3141         1415)
3142
3143 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3144
3145         * text3.C: fix one crash due to wrong cursor def
3146
3147 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3148
3149         * vc-backend.C (scanMaster): make the regex static
3150
3151         * LaTeX.C (scanAuxFile): make the regexs static
3152
3153         * text3.C (doInsertInset, dispatch, dispatch):
3154         * text2.C (cursorUp, cursorDown):
3155         * text.C (selectNextWordToSpellcheck):
3156         * BufferView_pimpl.C (dispatch):
3157         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3158
3159 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3160
3161         * lyxsocket.C: include <cerrno>
3162
3163 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3164
3165         * lyxfunc.C (dispatch): remove textcache stuff
3166
3167         * bufferlist.C (release): remove textcache stuff
3168         (closeAll): ditto
3169
3170         * TextCache.C: delete file
3171         * TextCache.h: delete file
3172
3173         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3174
3175         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3176         delete of the bv_->text.
3177         (resizeCurrentBuffer): remove texcache stuff
3178         (workAreaResize): ditto
3179
3180 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3181
3182         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3183         action.
3184
3185 2003-10-16  André Pönitz  <poenitz@gmx.net>
3186
3187         * lyxrow.[Ch]:
3188         * paragraph.h:
3189         * rowpainter.C:
3190         * text.C:
3191         * text2.C:
3192         * text3.C: speed up by storing y positions per paragraph plus per-row
3193         offset instead of having a 'full' y position in the row.
3194
3195 2003-10-15  André Pönitz  <poenitz@gmx.net>
3196
3197         * iterators.[Ch]:
3198         * iterators.[Ch]:
3199         * undo.[Ch]: make undo aware of inner insets
3200
3201 2003-10-14  Angus Leeming  <leeming@lyx.org>
3202
3203         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3204         static member functions LyX::ref() and LyX::cref.
3205         (lastfiles): new accessor functions for the new lastfiles_ member var.
3206         (addLyXView, views_): add a new LyXView to the list of views_.
3207         (updateInset): loop over all LyXViews to call their own updateInset
3208         member function, returning a pointer to the Buffer owning the inset.
3209
3210         * BufferView_pimpl.C (loadLyXFile):
3211         * MenuBackend.C (expandLastfiles):
3212         * bufferlist.C (MenuWrite, QuitLyX):
3213         lastfiles is no longer a global variable.
3214         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3215
3216         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3217         static function. Access through LyX::cref().emergencyCleanup().
3218
3219 2003-10-14  André Pönitz  <poenitz@gmx.net>
3220
3221         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3222
3223         * undo.[Ch]: restoring part of 'undo in insets'
3224
3225         * Makefile.am:
3226         * undo_funcs.[Ch]: merge with undo.[Ch]
3227
3228         * tabular.C: small cleansing stuff
3229
3230 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3231
3232         * paragraph_funcs.C (readParToken): report unknown insets as error
3233         boxes. Use the outer paragraph as location (also for unknown
3234         tokens).
3235
3236         * factory.C (readInset): do not abort on reading an unknown inset.
3237         Eat it and return 0.
3238
3239 2003-10-13  Angus Leeming  <leeming@lyx.org>
3240
3241         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3242
3243         * lyxrc.C: displayTranslator is now a function,
3244         declared in GraphicsTypes.h.
3245
3246 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3247
3248         * format.C: new placeholder $$a to pass the socket address.
3249
3250         * bufferlist.[Ch]: new function getBufferFromTmp.
3251
3252         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3253           files in the temporary dir.
3254
3255 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3256
3257         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3258
3259         * Makefile.am: add lyxsocket.[Ch].
3260
3261         * lyx_main.C (error_handler): handle SIGPIPE.
3262
3263 2003-10-13  André Pönitz  <poenitz@gmx.net>
3264
3265         * BufferView_pimpl.C:
3266         * lyxtext.h:
3267         * text.C:
3268         * text2.C:
3269         * text3.C:
3270         * undo_funcs.[Ch]: use paroffset_type instead of
3271           ParagraphList::iterators to prevent multiple conversion
3272           (and get a more robust interface)
3273
3274 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3275
3276         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3277         * lyxtext.h: ditto
3278         * text3.C (dispatch): ditto
3279
3280 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3281
3282         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3283         move the onlyfile, use onlyfile instead of foundfile in a couple
3284         of places.
3285
3286         * DepTable.C (update): flush the error stream a bit more
3287
3288 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3289
3290         * lyxserver.C (callback): adjust
3291
3292         * lyxfunc.C (getStatus): add a missing brace in commented code
3293         (ensureBufferClean): reindent
3294         (dispatch): delete version taking a string
3295
3296 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3297
3298         * LaTeX.C (deplog): move found file handlig from here...
3299         (handleFoundFile): .. to new function here.
3300         (deplog): make sure to discover several files mentioned on the
3301         same log line.
3302
3303 2003-10-10  André Pönitz  <poenitz@gmx.net>
3304
3305         * lyxfunc.C:
3306         * lyxtext.h:
3307         * tabular.C:
3308         * text.C:
3309         * text2.C:
3310         * text3.C: fix some of the tabular crashes
3311
3312 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3313
3314         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3315
3316         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3317
3318 2003-10-09  André Pönitz  <poenitz@gmx.net>
3319
3320         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3321
3322         * BufferView.C:
3323         * BufferView_pimpl.C:
3324         * bufferview_funcs.C:
3325         * lyx_cb.C:
3326         * lyxcursor.C:
3327         * lyxfind.C:
3328         * lyxfunc.C:
3329         * lyxtext.h:
3330         * text.C:
3331         * text2.C:
3332         * text3.C:
3333         * text_funcs.[Ch]:
3334         * textcursor.[Ch]:
3335         * undo_funcs.C: adjust
3336
3337 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3338
3339         * text2.C (incrementItemDepth): new function, use a backtracking
3340         algorithm to discover the correct item depth.
3341         (resetEnumCounterIfNeeded): new function, use a backtracking
3342         algorithm to discover if counter reset is needed.
3343         (setCounter): use them. Simplify a bit. Add different labels for
3344         different item depths for itemize.
3345
3346         * paragraph.C (Paragraph): remove initialization of enumdepth
3347         (operator=): ditto
3348
3349         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3350         enumerate and itemize. Change the type of itemdepth to signed char.
3351
3352 2003-10-08  André Pönitz  <poenitz@gmx.net>
3353
3354         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3355           thing assignable.
3356         * text.C:
3357         * text2.C: adjust
3358
3359         * tabular.[Ch]: fix crash after 'row-insert'
3360
3361 2003-10-08  Angus Leeming  <leeming@lyx.org>
3362
3363         Fix doxygen warnings.
3364
3365         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3366         Remove CutAndPaste:: prefix from header file declaration.
3367
3368         * LColor.h (fill): remove LColor:: prefix from declaration.
3369
3370         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3371         use lyx::depth_type rather than Paragraph::depth_type so that
3372         header file and .C file match.
3373
3374         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3375
3376         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3377         * aspell.C: \file aspell_local.C -> \file aspell.C
3378         * gettext.C: \file gettext.C -> \file src/gettext.C
3379         * gettext.h: \file gettext.h -> \file src/gettext.h
3380         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3381         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3382         * text.C: \file text.C -> \file src/text.C
3383
3384         * toc.C: move comment so that doxygen is not confused.
3385
3386 2003-10-07  Angus Leeming  <leeming@lyx.org>
3387
3388         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3389
3390 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3391
3392         * aspell.C:
3393         * aspell_local.h: add forgotten std::string's.
3394
3395 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3396
3397         * LaTeXFeatures.C:
3398         * LyXAction.C:
3399         * factory.C:
3400         * lfuns.h:
3401         * lyxfunc.C:
3402         * text3.C: The Box patch. Fancybox support, minipage, parbox
3403
3404 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3405
3406         * CutAndPaste.h:
3407         * DepTable.h:
3408         * FloatList.h:
3409         * LaTeXFeatures.h:
3410         * ParagraphParameters.h:
3411         * TextCache.h:
3412         * Thesaurus.h:
3413         * bufferlist.h:
3414         * exporter.h:
3415         * importer.h:
3416         * lastfiles.h:
3417         * lyxfind.h:
3418         * lyxfont.h:
3419         * lyxlex.h:
3420         * lyxtextclasslist.h:
3421         * messages.h:
3422         * paragraph.h:
3423         * paragraph_pimpl.C:
3424         * textcursor.h: add <string> and other small fixes to make Lars'
3425         std::string patch compile with STLport.
3426
3427 2003-10-06  Angus Leeming  <leeming@lyx.org>
3428
3429         * LColor.h: Add missing #include <string>.
3430
3431 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3432
3433         * All most all file in all subdirs: Make <string> be the prefered
3434         way of getting to std::string, add using declarations.
3435
3436 2003-10-06  André Pönitz  <poenitz@gmx.net>
3437
3438         * metricsinfo.C: initialize LyXFont before changing attribute.
3439         (fixes the 'math in \emph is upright' bug)
3440
3441 2003-10-06  André Pönitz  <poenitz@gmx.net>
3442
3443         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3444
3445 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3446
3447         * graph.C:
3448         * paragraph_pimpl.C: Small fixes to build using STLport
3449
3450 2003-10-02  André Pönitz  <poenitz@gmx.net>
3451
3452         * lyxfunc.C:
3453         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3454
3455 2003-10-01  André Pönitz  <poenitz@gmx.net>
3456
3457         * factory.C: assert early
3458
3459 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3460
3461         * lyx_main.C: remove the global debug object
3462
3463         * debug.h: adjust for new debugstream
3464
3465         * debug.C: adjust for new debugstream and keep the global debug
3466         object here.
3467
3468 2003-09-22  Angus Leeming  <leeming@lyx.org>
3469
3470         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3471         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3472         an incomplete class LyXFont.
3473
3474 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3475
3476         * factory.C: bug fix in branches
3477
3478 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3479
3480         * lyxfunc.C (processKeySym): adjust
3481         (dispatch): adjust
3482         (dispatch): change arg name from ev to func, adjust
3483         (sendDispatchMessage): ditto
3484
3485         * lyx_main.C (defaultKeyBindings): adjust keybindings
3486         (deadKeyBindings): ditto
3487
3488         * kbsequence.C (addkey): return a FuncRequest
3489
3490         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3491
3492         * kbmap.C (bind): take a FuncRequest as arg, adjust
3493         (read): adjust
3494         (lookup): adjust
3495         (defkey): change to take a FuncRequest as arg, adjust
3496         (findbinding): take a FuncRequest as arg, adjust.
3497
3498         * funcrequest.h (operator=): added
3499
3500         * funcrequest.C (FuncRequest): default kb_action changed from
3501         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3502
3503         * buffer.C (dispatch): simplify
3504         (dispatch): adjust to take a FuncRequest as arg, adjust
3505
3506         * boost.C (assertion_failed): change assertion message slightly
3507
3508         * ToolbarBackend.C (read): simplify
3509
3510         * MenuBackend.C (binding): adjust call to findbinding, add a
3511         message if no binding is found.
3512         (read): simplify
3513         (expandToc): correct by adding a empty FuncRequest
3514
3515         * LyXAction.C: include <boost/assert.hpp>
3516         (isPseudoAction): delete function
3517         (LookupFunc): change name to...
3518         (lookupFunc): this. change return type to FuncRequest.
3519         (getActionName): take kb_action as arg, simplify
3520         (funcHasFlag): add an assert, simplify.
3521
3522 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3523
3524         * toc.C (action): return a FuncRequest, simplify
3525
3526         * lyxfunc.C (processKeySym): adjust
3527         (getStatus): delete version that takes an int.
3528         (getStatus): adjust
3529         (dispatch): delete version that takes action as int
3530         (dispatch): adjust
3531         (sendDispatchMessage): simplify and adjust
3532
3533         * funcrequest.C (getArg): take unsigned int as arg
3534
3535         * ToolbarBackend.C (read): adjust
3536         (add): delete version that takes func as a string.
3537         (getIton): take a FuncRequest as arg
3538
3539         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3540         action.
3541
3542         * MenuBackend.C (MenuItem): add a new construct that only takes a
3543         Kind, simplify the constructor use for submenus.
3544         (add): adjust
3545         (expandLastfiles): adjust
3546         (expandDocuments): adjust
3547         (expandFormats): adjust
3548         (expandFloatListInsert): adjust
3549         (expandFloatInsert): adjust
3550         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3551
3552         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3553         Remove class variables lyx_pseudo_map and lyx_arg_map
3554
3555         * LyXAction.C (searchActionArg): delete function
3556         (getPseudoAction): delete function
3557         (retrieveActionArg): delete function
3558         (LookupFunc): make it return kb_action, simplify.
3559         (getActionName): simplify
3560
3561         * factory.C (createInset): fix new bug
3562
3563 2003-09-19  Angus Leeming  <leeming@lyx.org>
3564
3565         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3566         masterFilename_ parameter in the include inset.
3567
3568         * factory.C (createInset): changes due to the changes to InsetInclude.
3569
3570 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3571
3572         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3573
3574 2003-09-18  Angus Leeming  <leeming@lyx.org>
3575
3576         * buffer.C:
3577         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3578         Inset::fillWithBibKeys.
3579         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3580
3581 2003-09-18  Angus Leeming  <leeming@lyx.org>
3582
3583         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3584         variables.
3585         (ctor): pass and store a 'Buffer const &'
3586         (buffer): new member function.
3587
3588         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3589         '*this' to the LaTeXFeatures ctor.
3590
3591 2003-09-18  Angus Leeming  <leeming@lyx.org>
3592
3593         * LColor.h:
3594         * lyxfont.C:
3595         * lyxfont.h:
3596         * lyxtext.h:
3597         * text.C: rename EnumLColor as LColor_color.
3598
3599 2003-09-18  Angus Leeming  <leeming@lyx.org>
3600
3601         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3602         remove #include "insets/insetbase.h" from cursor.h.
3603
3604 2003-09-18  Angus Leeming  <leeming@lyx.org>
3605
3606         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3607         InsetOld_code to remove #include "inset.h".
3608
3609         * iterators.C: add #include "insets/inset.h"
3610
3611 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3612
3613         * BufferView.C: remove more locking stuff that apparently doesn't
3614         do anything sensible.
3615
3616 2003-09-16  André Pönitz  <poenitz@gmx.net>
3617
3618         * paragraph.[Ch]:
3619         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3620           performance boost.
3621
3622 2003-09-16  Angus Leeming  <leeming@lyx.org>
3623
3624         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3625
3626         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3627         arg/return type.
3628
3629         * paragraph.h: remove #include "lyxfont.h". Forward declare
3630         LyXFont_size.
3631
3632 2003-09-16  Angus Leeming  <leeming@lyx.org>
3633
3634         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3635         of support/textutils.h.
3636         (isWord): move the contents of support/textutils.h's IsWordChar here.
3637
3638         * buffer.C:
3639         * lyxfind.C:
3640         * rowpainter.C:
3641         * text.C:
3642         * text2.C: add #include "paragraph.h".
3643
3644         * rowpainter.C:
3645         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3646
3647 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3648
3649         * main.C:
3650         * lyx_main.C:
3651         * lyx_cb.C:
3652         * buffer.C:
3653         * LaTeX.C: use namespace alias for lyx::support::os
3654
3655 2003-09-16  Angus Leeming  <leeming@lyx.org>
3656
3657         * bufferparams.C:
3658         * bufferview_funcs.C:
3659         * factory.C:
3660         * lyxfunc.C:
3661         * paragraph_pimpl.C:
3662         * rowpainter.C:
3663         * text.C: add #include "LColor.h".
3664
3665 2003-09-16  Angus Leeming  <leeming@lyx.org>
3666
3667         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3668         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3669         return LyXFont &.
3670         Store the FontBits::color variable as an int rather than as an
3671         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3672         file.
3673
3674         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3675         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3676         string calls together.
3677
3678         * lyxrc.C: add #include "LColor.h".
3679
3680 2003-09-15  Angus Leeming  <leeming@lyx.org>
3681
3682         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3683         a cow_ptr.
3684
3685 2003-09-15  Angus Leeming  <leeming@lyx.org>
3686
3687         * LColor.h: add an EnumLColor wrapper for LColor::color.
3688
3689         * lyxfont.[Ch] (color, setColor, realColor):
3690         * lyxtext.h, text.C (backgroundColor):
3691         pass EnumLColor args to/from the functions, rather than LColor::color
3692         ones.
3693
3694         * lyxfont.h:
3695         * lyxtext.h: forward declare EnumLColor.
3696
3697         * lyx_main.C: add #include "LColor.h".
3698
3699 2003-09-15  Angus Leeming  <leeming@lyx.org>
3700
3701         * .cvsignore: add lyx-gtk.
3702
3703 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3704
3705         * Chktex.C
3706         * LaTeX.C
3707         * LaTeXFeatures.C
3708         * ParagraphParameters.C
3709         * Spacing.C
3710         * buffer.C
3711         * bufferparams.C
3712         * bufferview_funcs.C
3713         * chset.C
3714         * counters.C
3715         * funcrequest.C
3716         * lyxfont.C
3717         * lyxgluelength.C
3718         * lyxlength.C
3719         * paragraph.C
3720         * paragraph_funcs.C
3721         * text3.C
3722         * vc-backend.C: remove usage of STRCONV
3723
3724 2003-09-15  Angus Leeming  <leeming@lyx.org>
3725
3726         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3727         explicitly define the color passed to the painter.
3728
3729 2003-09-15  Angus Leeming  <leeming@lyx.org>
3730
3731         * bufferparams.C (BufferParams): reorder member initializers to avoid
3732         compiler warning.
3733
3734 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3735
3736         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3737         * text.C (updateRowPositions): remove an unusual nop
3738
3739 2003-09-12  André Pönitz  <poenitz@gmx.net>
3740
3741         * BufferView_pimpl.C:
3742         * Bullet.C:
3743         * layout.h:
3744         * lyxfunc.C:
3745         * lyxlayout.[Ch]:
3746         * lyxtextclass.C:
3747         * rowpainter.C:
3748         * text.C:
3749         * text2.C:
3750         * Counters.[Ch]: finish the 'automatic counters' job
3751
3752 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3753
3754         * aspell.C: include <boost/assert.cpp> (compile fix)
3755
3756 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3757
3758         * boost.C (assertion_failed): use lyx::support::abort instead of
3759         assert.
3760
3761 2003-09-10  Angus Leeming  <leeming@lyx.org>
3762
3763         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3764         with their _fwd progeny.
3765
3766 2003-09-09  Angus Leeming  <leeming@lyx.org>
3767
3768         134 files throughtout the source tree: replace 'using namespace abc;'
3769         directives with the appropriate 'using abc::xyz;' declarations.
3770
3771 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3772
3773         * boost.C (emergencyCleanup): moved here from LAssert.c
3774         (assertion_failed): new function, called by BOOST_ASSERT
3775
3776         * several files: change Assert to BOOST_ASSERT
3777
3778 2003-09-09  Angus Leeming  <leeming@lyx.org>
3779
3780         * buffer.[Ch]: Add an Impl class and move Buffer's member
3781         variables into it. As a result move several header files out of
3782         buffer.h.
3783
3784         Add header files to lots of .C files all over the tree as a result.
3785
3786 2003-09-09  Angus Leeming  <leeming@lyx.org>
3787
3788         * buffer.[Ch]: make Buffer's member variables private. Add
3789         accessor functions.
3790
3791         Lots of changes all over the tree as a result.
3792
3793 2003-09-08  Angus Leeming  <leeming@lyx.org>
3794
3795         * graph.C: #include <config.h>.
3796
3797 2003-09-08  Angus Leeming  <leeming@lyx.org>
3798
3799         * BranchList.C:
3800         * BufferView.C:
3801         * BufferView_pimpl.C:
3802         * CutAndPaste.C:
3803         * DepTable.C:
3804         * LaTeX.C:
3805         * LaTeXFeatures.C:
3806         * LyXAction.C:
3807         * MenuBackend.C:
3808         * TextCache.C:
3809         * aspell.C:
3810         * buffer.C:
3811         * bufferlist.C:
3812         * changes.C:
3813         * chset.C:
3814         * converter.C:
3815         * counters.C:
3816         * debug.C:
3817         * graph.C:
3818         * ispell.C:
3819         * lyx_cb.C:
3820         * lyxfind.C:
3821         * lyxfunc.C:
3822         * lyxlex_pimpl.C:
3823         * lyxrc.C:
3824         * lyxrow.C:
3825         * paragraph.C:
3826         * rowpainter.C:
3827         * texrow.C:
3828         * text.C:
3829         * text2.C:
3830         * toc.C: remove redundant using directives.
3831
3832 2003-09-07  Angus Leeming  <leeming@lyx.org>
3833
3834         * LaTeXFeatures.h: remove #include "support/types.h".
3835         * ToolbarBackend.h: remove #include <algorithm>.
3836         * changes.h: remove #include <ctime>.
3837         * debug.h: remove #include <iosfwd>.
3838         * graph.h: remove #include "support/std_string.h".
3839         * lyx_main.h: remove #include <csignal>.
3840         * lyxlex_pimpl.h: remove #include <fstream>.
3841         * sgml.h: remove #include <algorithm>, <utility>.
3842         * toc.h: remove #include "support/std_ostream.h".
3843         Add #include <iosfwd>.
3844
3845 2003-09-07  Angus Leeming  <leeming@lyx.org>
3846
3847         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3848
3849         * converter.h: forward declare LatexRunParams.
3850         * encoding.h: remove #include "lyxrc.h".
3851         * lyxtext.h: remove #include "LColor.h".
3852         * lyxtextclass.h: remove #include "support/types.h".
3853         * trans.h: remove #include "tex-accent.h".
3854         * trans_mgr.h: remove #include "tex-accent.h".
3855         * insets/inset.h: remove #include "support/types.h", <vector>.
3856         * insets/insetcollapsable.h: remove #include "LColor.h".
3857         * insets/insetinclude.h: remove #include "dimension.h".
3858         * insets/insetlatexaccent.h: remove #include "dimension.h".
3859         * insets/insetoptarg.h:: remove #include "insettext.h".
3860         * insets/insettext.h: remove #include "dimension.h",
3861         <boost/shared_ptr.hpp>
3862
3863         * insets/renderers.h: add #include "dimension.h".
3864         * insets/updatableinset.h: add #include "support/types.h".
3865
3866         * many .C files: Associated changes.
3867
3868 2003-09-06  Angus Leeming  <leeming@lyx.org>
3869
3870         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3871         one, inside testInvariant.
3872
3873         * PrinterParams.C: new file.
3874         * PrinterParams.[Ch]: move the function bodies out of line.
3875
3876 2003-09-06  Angus Leeming  <leeming@lyx.org>
3877
3878         * ParagraphParameters.h: forward declare ParameterStruct rather than
3879         including its header file.
3880         (depth): moved out-of-line.
3881
3882 2003-09-06  Angus Leeming  <leeming@lyx.org>
3883
3884         * BufferView_pimpl.h:
3885         * kbmap.h:
3886         * kbsequence.h:
3887         * lyxfunc.h: forward declare LyXKeySym rather than
3888         #include "frontends/LyXKeySym.h".
3889
3890         * BufferView_pimpl.C:
3891         * kbmap.C:
3892         * kbsequence.C:
3893         * lyxfunc.C: associated changes.
3894
3895 2003-09-06  Angus Leeming  <leeming@lyx.org>
3896
3897         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3898         As a result, can remove the #include "insets/inset.h" from BufferView.h
3899
3900 2003-09-06  Angus Leeming  <leeming@lyx.org>
3901
3902         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3903         As a result, can remove the #include "insets/inset.h" from BufferView.h
3904
3905 2003-09-06  Angus Leeming  <leeming@lyx.org>
3906
3907         * buffer_funcs.C:
3908         * buffer.h:
3909         * bufferlist.C:
3910         * BufferView.C:
3911         * bufferview_funcs.C:
3912         * BufferView_pimpl.C:
3913         * CutAndPaste.C:
3914         * lyx_cb.C:
3915         * lyxfunc.C:
3916         * paragraph.h:
3917         * ParagraphParameters.C:
3918         * tabular.C:
3919         * text3.C:
3920         * toc.C:
3921         * undo_funcs.C:
3922         * frontends/controllers/ControlDocument.C:
3923         * insets/insetcaption.C: rearrange the #includes into some sort of
3924         coherent order.
3925
3926         * buffer.h: remove #includes ErrorList.h, undo.h
3927
3928 2003-09-06  Angus Leeming  <leeming@lyx.org>
3929
3930         * support/types.h: add a 'depth_type' typedef, used to store the
3931         nesting depth of a paragraph.
3932
3933         * paragraph.h:
3934         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3935         defining explicitly.
3936
3937         * buffer.h:
3938         * paragraph_funcs.h:
3939         * ParagraphParameters.h:
3940         * sgml.h: use lyx::depth_type rather than Paragraph or
3941         ParameterStruct's depth_type.
3942
3943         * buffer.h
3944         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3945
3946         * BufferView.C:
3947         * BufferView_pimpl.C:
3948         * CutAndPaste.C:
3949         * ParagraphParameters.C:
3950         * buffer_funcs.C:
3951         * bufferlist.C:
3952         * bufferview_funcs.C:
3953         * lyx_cb.C:
3954         * lyxfunc.C:
3955         * tabular.C:
3956         * text3.C:
3957         * toc.C:
3958         * undo_funcs.C:
3959         * frontends/LyXView.C:
3960         * frontends/controllers/ControlDocument.C:
3961         * frontends/controllers/ControlErrorList.C:
3962         * insets/insetbibitem.C:
3963         * insets/insetbranch.C:
3964         * insets/insetcaption.C:
3965         * insets/insetcollapsable.C:
3966         * insets/insetenv.C:
3967         * insets/insetert.C:
3968         * insets/insetfloat.C:
3969         * insets/insetfoot.C:
3970         * insets/insetfootlike.C:
3971         * insets/insetnewline.C:
3972         * insets/insetquotes.C:
3973         * insets/insettabular.C:
3974         * insets/insettext.C:
3975         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3976
3977         * frontends/controllers/ControlChanges.C: #include "changes.h".
3978
3979 2003-09-06  Angus Leeming  <leeming@lyx.org>
3980
3981         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3982         than #including paragraph.h.
3983
3984         * ParagraphList.h:
3985         * RowList.h: deleted. Superfluous.
3986
3987         * CutAndPaste.h:
3988         * iterators.h:
3989         * lyxcursor.h:
3990         * lyxtext.h:
3991         * text_funcs.h:
3992         * undo.h:
3993         * undo_funcs.h:
3994         * insets/inset.h:
3995         * insets/insettext.h: use ParagraphList_fwd.h rather than
3996         ParagraphList.h.
3997
3998         * paragraph.h: don't forward declare ParagraphList.
3999
4000         * buffer.h:
4001         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4002         rather than ParagraphList.h. paragraph.h is still needed for the
4003         Paragraph::depth_type parameters.
4004
4005         * textcursor.h: enable it to compile stand-alone in light of the
4006         above changes.
4007
4008         * bufferview_funcs.C:
4009         * iterators.C:
4010         * lyxfunc.C:
4011         * lyxrow_funcs.C:
4012         * paragraph.C:
4013         * rowpainter.C:
4014         * text.C:
4015         * text2.C:
4016         * text3.C:
4017         * text_funcs.C:
4018         * textcursor.C:
4019         * undo.C:
4020         * frontends/controllers/ControlParagraph.C:
4021         * frontends/controllers/ControlTabular.C:
4022         * insets/insetmarginal.C:
4023         * insets/insetminipage.C:
4024         * insets/insetnote.C:
4025         * insets/insetoptarg.C: add header files needed to compile again.
4026
4027 2003-09-06  Angus Leeming  <leeming@lyx.org>
4028
4029         * RowList_fwd.h: new file, forward-declaring Row rather than
4030         #including lyxrow.h.
4031
4032         * lyxrow_funcs.h:
4033         * lyxtext.h:
4034         * paragraph.h:
4035         * insets/insettext.h: use it instead of RowList.h
4036
4037         * bufferview_funcs.C:
4038         * lyxfunc.C:
4039         * lyxrow_funcs.C:
4040         * paragraph.C:
4041         * rowpainter.C:
4042         * text.C:
4043         * text2.C:
4044         * text3.C: #include "RowList.h".
4045
4046 2003-09-05  Angus Leeming  <leeming@lyx.org>
4047
4048         * factory.C (createInset):
4049         * vspace.C (c-tor): replace sscanf call with an istringstream.
4050         * ispell.C: re-add missing HP/UX headers.
4051         * lyxserver.C: re-add missing  os2 headers.
4052
4053 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4054
4055         * BranchList.C:
4056         * graph.C:
4057         * ispell.C:
4058         * lastfiles.C:
4059         * lyx_cb.C:
4060         * lyxserver.C:
4061         * texrow.C:
4062         * text3.C: re-add missing system headers, needed for 2.95.2.
4063
4064 2003-09-05  Angus Leeming  <leeming@lyx.org>
4065
4066         Changes most place everywhere due to the removal of using directives
4067         from support/std_sstream.h.
4068
4069 2003-09-05  Angus Leeming  <leeming@lyx.org>
4070
4071         Replace LString.h with support/std_string.h,
4072         Lsstream.h with support/std_sstream.h,
4073         support/LIstream.h with support/std_istream.h,
4074         support/LOstream.h with support/std_ostream.h.
4075
4076         Changes resulting throughout the tree.
4077
4078 2003-09-05  Angus Leeming  <leeming@lyx.org>
4079
4080         * sgml.h: ensure that the header file can be compiled stand-alone.
4081         * *.C: strip out redundant #includes. (320 in total.)
4082
4083 2003-09-04  Angus Leeming  <leeming@lyx.org>
4084
4085         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4086         here (from getPackages).
4087
4088         * debug.[Ch]: add a new EXTERNAL tag.
4089
4090 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4091
4092         * text2.C (cursorEnd): simplify
4093         (setCursor): adjust
4094         (getColumnNearX): adjust
4095
4096         * text.C (computeBidiTables): adjust
4097         (fill): adjust
4098
4099         * rowpainter.C (paintChars): adjust
4100         (paintSelection): adjust
4101         (paintChangeBar): adjust
4102         (paintText): adjust
4103
4104         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4105         lastPos instead.
4106         (numberOfSeparators): adjust
4107
4108 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4109
4110         * LyXAction.C:
4111         * box.[Ch]:
4112         * lfuns.h:
4113         * lyxfunc.C:
4114         * text3.C: Restricts the mouse click functionality
4115         of insets like bibtex, include, toc and floatlist to the visible
4116         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4117         up the dialogs. Cursor has to be in front of the inset (i.e.
4118         start of row) for this to function.
4119
4120 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4121
4122         * bufferview_funcs.C (currentState): output row information
4123
4124 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4125
4126         * bufferview_funcs.C (currentState): output paragraph position
4127
4128 2003-09-04  Angus Leeming  <leeming@lyx.org>
4129
4130         * FloatList.h: move out #include "Floating.h".
4131         * LaTeX.h: move out #include "DepTable.h".
4132         * LyXAction.h: move out #include "funcrequest.h".
4133         * buffer.h: move out #include "author.h", "iterators.h".
4134         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4135         * lyx_main.h: move out #include "errorlist.h".
4136         * lyxfunc.h: move out #include "FuncStatus.h".
4137         * lyxtext: move out #include "lyxcursor.h".
4138         * paragraph_pimpl.h: move out #include "counters.h".
4139
4140 2003-09-03  Angus Leeming  <leeming@lyx.org>
4141
4142         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4143         preamble_snippets list, enabling us to add snippets to the preamble
4144         only if the snippet was not there already.
4145
4146 2003-09-04  Angus Leeming  <leeming@lyx.org>
4147
4148         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4149
4150 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4151
4152         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4153         update
4154
4155 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4156
4157         * BranchList.C: point fix, earlier forgotten
4158
4159 2003-09-02  Angus Leeming  <leeming@lyx.org>
4160
4161         * box.C (contains): renamed from 'contained' after a fantastic
4162         amount of hot air.
4163
4164 2003-09-02  John Levon  <levon@movementarian.org>
4165
4166         * BufferView.C:
4167         * lyxcursor.h:
4168         * lyxcursor.C:
4169         * lyxfunc.C:
4170         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4171
4172 2003-09-02  John Levon  <levon@movementarian.org>
4173
4174         * text2.C: simplification of cursorEnd(), including partial
4175         fix for bug 1376
4176
4177 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4178
4179         * buffer.C (readFile): add a space
4180
4181 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4182
4183         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4184
4185 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4186
4187         * buffer.C (readFile): new function, take a filename and a
4188         ParagraphList::iterator
4189         (readFile): adjust
4190         (readFile): adjust, make it private. don't use setStream, make
4191         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4192         always contain the filename.
4193
4194         * BufferView.C (insertLyXFile): simplify and make it work for
4195         gzipped files.
4196
4197 2003-08-30  John Levon  <levon@movementarian.org>
4198
4199         * Makefile.am: fix dist (from Kayvan)
4200
4201 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4202
4203         * most files: change to use const Buffer refs
4204
4205 2003-08-27  André Pönitz  <poenitz@gmx.net>
4206
4207         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4208         on top of ownerPar().
4209
4210 2003-08-27  John Levon  <levon@movementarian.org>
4211
4212         * funcrequest.C: properly initialise POD members
4213
4214 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4215
4216         * lyxtext.h (top_y): move top_y from here
4217         * text.C:
4218         * text2.C:
4219         * text3.C:
4220         * BufferView.[Ch]:
4221         * BufferView_pimpl.[Ch]: to here
4222         * frontends/screen.C:
4223         * insets/insettabular.C:
4224         * insets/insettext.C: adjust
4225         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4226
4227 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4228
4229         * BufferView.[Ch]:
4230         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4231
4232 2003-08-26  André Pönitz  <poenitz@gmx.net>
4233
4234         * paragraph_func.[Ch] (outerPar): new function
4235
4236         * paragraph.C:
4237         * paragraph_funcs.C:
4238         * paragraph_funcs.h:
4239         * paragraph_pimpl.C:
4240         * text2.C: remove Inset::par_owner
4241
4242 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4243
4244         * lyxrow_funcs.C:
4245         * lyxtext.h:
4246         * text.C:
4247         * text2.C: eliminates the needFullRow/display() stuff
4248         altogether, putting the logic in metrics/draw in the insets.
4249
4250 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4251
4252         * text2.C (redoParagraphInternal, redoParagraphs):
4253         * text.C (redoParagraph): add a call to updateRowPositions at the
4254         end of each 'metrics-like' call. Remove all others.
4255         (getRow): remove the 'y-computing' version.
4256         (getRowNearY): do not compute nor return the real y. Solve the
4257         'y < 0' problem and simplify.
4258
4259 2003-08-22  Angus Leeming  <leeming@lyx.org>
4260
4261         * *.[Ch]: clean-up of licence and author blurbs.
4262         Also move config.h out of a few .h files and into a few .C files.
4263
4264 2003-08-22  André Pönitz  <poenitz@gmx.net>
4265
4266         * lyxrow.[Ch]: add x_ and *fill_ members
4267
4268         * lyxtext.h:
4269         * text.C:
4270         * rowpainter.C:
4271         * text2.C: adjust/remove prepareToPrint() calls
4272
4273 2003-08-22  André Pönitz  <poenitz@gmx.net>
4274
4275         * lyxrow.[Ch]: add  end_ member
4276
4277         * lyxrow_funcs.C: use LyXRow::end_
4278
4279         * lyxtext.h (singleWidth): add LyXFont parameter
4280
4281         * rowpainter.C:
4282         * text2.C: adjust LyXText::singleWidth() calls
4283
4284         * text.C (redoParagraph): simplify row breaking logic
4285
4286
4287 2003-08-19  André Pönitz  <poenitz@gmx.net>
4288
4289         * funcrequest.C: initialize button_ member
4290
4291         * text3.C:
4292         * rowpainter.[Ch]: interface consolidation
4293
4294 2003-08-18  André Pönitz  <poenitz@gmx.net>
4295
4296         * BufferView.C:
4297         * BufferView_pimpl.C:
4298         * lyxfind.C:
4299         * paragraph_funcs.C:
4300         * rowpainter.C:
4301         * text3.C: remove LyXScreen::draw() and fitCursor calls
4302
4303         * BranchList.h: remove spurious semicolons
4304
4305         * MenuBackend.C: fix branchlist related crash
4306
4307 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4308
4309         * BranchList.[Ch]:
4310         * InsetList.[Ch]:
4311         * LColor.[Ch]:
4312         * LyXAction.C:
4313         * Makefile.am:
4314         * MenuBackend.[Ch]:
4315         * bufferparams.[Ch]:
4316         * factory.C:
4317         * lfuns.h:
4318         * lyxfunc.C:
4319         * text3.C: implements the 'branch inset'
4320         idea. This allows the output of various versions of a document
4321         from a single source version, selectively outputing or suppressing
4322         output of parts of the text.
4323         This implementation contains a 'branch list editor' in a separate
4324         tab of the document settings dialog. Branches are user definable
4325         and have a "display colour" to distinguish them on-screen.
4326
4327         ColorHandler was somewhat cleaned up.
4328         (1) make possible a dynamically growing LColor list by allowing
4329         the graphic context cache to grow along (vector);
4330         (2) eliminate an IMHO unnecessary step in colour allocation.
4331
4332 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4333
4334         * BufferView_pimpl.C: compile fix
4335
4336 2003-08-15  André Pönitz  <poenitz@gmx.net>
4337
4338         * rowpainter.C: remove extra metrics calls
4339
4340         * lyxtext.h: merge the two constructors into a single one,
4341           pass reference to owner's par list
4342
4343         * BufferView_pimpl.C:
4344         * text.C:
4345         * text2.C: adjust
4346
4347 2003-08-15  André Pönitz  <poenitz@gmx.net>
4348
4349         * lyxrow_funcs.[Ch]:
4350         * lyxtext.h:
4351         * paragraph.h:
4352         * paragraph_funcs.C:
4353         * rowpainter.C:
4354         * text.C:
4355         * text2.C:
4356         * text3.C:
4357         * text_funcs.C: split LyXText::rowlist_ into individual
4358         Paragraph::rows_ chunks
4359
4360         * BufferView.[Ch]:
4361         * BufferView_pimpl.[Ch]:
4362         * lyxfind.C:
4363         * lyxtext.h:
4364         * text3.C: remove toggleSelection()
4365
4366 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4367
4368         * bufferlist.C: beautify two alerts (shorter text of buttons)
4369         * buffer.C: Remove redundant ' ' from message
4370         * tabular.h:
4371         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4372         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4373         rename VALIGN_CENTER to VALIGN_MIDDLE
4374
4375 2003-08-11  André Pönitz  <poenitz@gmx.net>
4376
4377         * lyxtext.h (getPar):
4378         * text.C: new function
4379
4380 2003-08-11  André Pönitz  <poenitz@gmx.net>
4381
4382         * Makefile.am:
4383         * tracer.[Ch]: remove unneeded files
4384
4385         * InsetList.[Ch]: remove resizeInsetsLyXText()
4386
4387         * lyxtext.h:
4388         * text.C:
4389         * text2.C:
4390         * text3.C: merge insertParagraphs() and appendParagraph()
4391         remove breakAgain(), update()
4392
4393         * BufferView_pimpl.[Ch]:
4394         * bufferview_funcs.[Ch]:
4395         * lyxfunc.C:
4396         * paragraph.[Ch]:
4397         * rowpainter.C:
4398         * tabular.C: adjust after text & InsetList changes.
4399
4400 2003-08-08  André Pönitz  <poenitz@gmx.net>
4401
4402         * text.C (insertChar, backspace): replace rowlist fiddling
4403         with rebreak of full par
4404
4405         * lyxtext.h:
4406         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4407         checkParagraph, updateInset): removed
4408
4409 2003-08-07  André Pönitz  <poenitz@gmx.net>
4410
4411         * paragraph.C:
4412         * text3.C: merge some LFUN handlers, remove dead code
4413
4414 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4415
4416         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4417
4418 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4419
4420         * text2.C (DEPM): fix part of bug 1255 and 1256
4421
4422 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4423
4424         * BufferView_pimpl.C (workAreaDispatch): change to use
4425         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4426         that are no mouse related.
4427
4428 2003-08-05  André Pönitz  <poenitz@gmx.net>
4429
4430         * BufferView.[Ch]:
4431         * BufferView_pimpl.[Ch]:
4432         * bufferview_funcs.C:
4433         * text2.C:
4434         * text3.C: rip out "deep update"
4435
4436         * textcursor.[Ch] (last_sel_cursor): remove unused member
4437
4438 2003-08-04  André Pönitz  <poenitz@gmx.net>
4439
4440         * BufferView.[Ch]:
4441         * BufferView_pimpl.[Ch]:
4442         * ParagraphParameters.C:
4443         * bufferview_funcs.C:
4444         * lyx_cb.C:
4445         * lyxfind.C:
4446         * lyxfunc.C:
4447         * text.C:
4448         * text2.C:
4449         * text3.C: replace "complicated" BufferView::update(...) calls with
4450         simpler ones.
4451
4452         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4453
4454 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4455
4456         * Makefile.am (lyx_SOURCES): add paper.h
4457
4458 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4459
4460         * Makefile.am: move things around so that both lyx-qt and
4461         lyx-xforms can be built (according to --with-frontend). Then lyx
4462         is a symbolic link to lyx-[firstfrontend]
4463
4464 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4465
4466         * Always use std::endl with lyxerr
4467
4468 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4469
4470         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4471
4472 2003-08-01  André Pönitz  <poenitz@gmx.net>
4473
4474         * BufferView.[Ch]:
4475         * BufferView_pimpl.[Ch]:
4476         * lyxfunc.C:
4477         * text3.C: merge BufferView::repaint() and BufferView::update()
4478
4479 2003-08-01  José Matos  <jamatos@lyx.org>
4480
4481         * buffer.[Ch]: file_format is no longer a buffer data element.
4482
4483 2003-08-01  André Pönitz  <poenitz@gmx.net>
4484
4485         * BufferView.C:
4486         * lyxtext.h:
4487         * text.C:
4488         * text2.C: make redoParagraph more independent of current cursor
4489
4490         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4491         * text.C:
4492         * text2.C: remove unneeded members
4493
4494 2003-07-30  André Pönitz  <poenitz@gmx.net>
4495
4496         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4497
4498         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4499           create a single function...
4500
4501         * paragraph_funcs.C (moveItem): ... here.
4502
4503         * text.C:
4504           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4505
4506 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4507
4508         * LColor.[Ch]: Add comment and greyedout logical colors.
4509
4510 2003-07-30  André Pönitz  <poenitz@gmx.net>
4511
4512         * tabular.C: don't use Assert too heavily. This crashes where it
4513           shouldn't
4514
4515 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4516
4517         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4518         is disabled (bug 1232)
4519
4520 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4521
4522         * factory.C: limited 'arg' scope
4523
4524 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4525
4526         * factory.C: fixed Note submenu issues
4527
4528 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4529
4530         * factory.C: submenu for Note/Comment/Greyedout
4531
4532 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4533
4534         * lyx_main.C (LyX):
4535         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4536
4537 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4538
4539         * LaTeXFeatures.C:
4540         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4541         greyedout. Patch provided by Jürgen Spitzmüller.
4542
4543 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4544
4545         * kbmap.C (read): fix error message when reading bind files
4546
4547 2003-07-29  Angus Leeming  <leeming@lyx.org>
4548
4549         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4550         certainly does not do what it purports to do. I am doing it, and
4551         us, a favour by killing it.
4552
4553 2003-07-28  José Matos  <jamatos@lyx.org>
4554
4555         * buffer.C (readBody, do_writeFile):
4556         * paragraph.C(readParagraph): \end_document replaces \the_end.
4557
4558 2003-07-29  André Pönitz  <poenitz@gmx.net>
4559
4560         * BufferView.[Ch]:
4561         * BufferView_pimpl.[Ch]:
4562         * lyxfunc.C:
4563         * text2.C:
4564         * text3.C:
4565         * textcursor.[Ch]: remove toggleToggle & Co
4566
4567 2003-07-28  José Matos  <jamatos@fep.up.pt>
4568
4569         * buffer.C (readParagraph):
4570         * params_func (readParToken, readParagraph):
4571         * paragraph.C (write): \layout -> \begin_layout.
4572
4573 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4574
4575         * lyxlex_pimpl.C (setFile): clean up slightly.
4576
4577         * bufferparams.h: add compressed var
4578
4579         * buffer_funcs.C (readFile): adjust for LyXLex change
4580         (newFile): ditto + simplify
4581
4582         * buffer.C (writeFile): handle writing of compressed files
4583
4584         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4585         Check if the file is compressed and set a bufferparm if so.
4586
4587         * Makefile.am (lyx_LDADD): remove explicit -lz
4588
4589 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4590
4591         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4592         makeDocBookFile): put the real LyX version in the first line of
4593         the file
4594
4595         * version.h:
4596         * version.C.in: remove lyx_docversion
4597
4598         * tabular.C (write_attribute): add a template-based version to
4599         write enums properly
4600
4601 2003-07-28  André Pönitz  <poenitz@gmx.net>
4602
4603         * lyxtext.h:
4604         * text.C:
4605         * text2.C:
4606         * text3.C: use doubles again for x-coordinates. They are needed.
4607
4608 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4609
4610         * messages.C (getLocaleDir): use lyx_localedir()
4611
4612         * lyxlex_pimpl.C (setFile): compress stuff
4613
4614         * buffer.C (writeFile): add some compression stuff
4615         (do_writeFile): new func, dont call expliti close... will this
4616         breake anything?
4617
4618         * Makefile.am (lyx_LDADD): add -lz
4619
4620 2003-07-28  José Matos  <jamatos@fep.up.pt>
4621
4622         * buffer.C: increment file format.
4623         * paragraph_funcs (readParagraph, readParToken):
4624         * paragraph.C (readParagraph): add \end_layout.
4625
4626 2003-07-27  Angus Leeming  <leeming@lyx.org>
4627
4628         * Makefile.am: remove special casing for configure-time setting of
4629         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4630
4631         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4632         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4633
4634 2003-07-26  André Pönitz  <poenitz@gmx.net>
4635
4636         * paragraph_func.[Ch]:
4637         * paragraph.C (realizeFont): inline it whereever it is used
4638
4639         * rowpainter.C:
4640         * text.C:
4641         * text2.C:
4642         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4643
4644
4645 2003-07-26  André Pönitz  <poenitz@gmx.net>
4646
4647         *       lyxtext.h:
4648         * text.C:
4649         * text2.C: get rid of LyXText::need_break_row
4650
4651 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4652
4653         * toc.[Ch]: put namespace toc inside namespace lyx
4654
4655         * MenuBackend.C (expandToc2): adjust for lyx::toc
4656         (expandToc): ditto
4657
4658         * lyxfunc.C (dispatch): adjust for lyx::find
4659
4660         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4661         lyx::find instead. Reorganize a bit.
4662         (LyXReplace): rename to replace
4663         (LyXFind): rename to find
4664
4665         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4666         (dispatch): ditto
4667
4668 2003-07-26  André Pönitz  <poenitz@gmx.net>
4669
4670         * text.C (setHeightOfRow): restrict scope of temporary variable
4671
4672         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4673           code (never has been used?)
4674
4675 2003-07-27  Asger Alstrup  <alstrup@local>
4676
4677         * text.C (fill): Optimise algorithm to exploit that we can reuse
4678         the LyXFont for many characters.
4679         (setHeightOfRow): Same thing.
4680         (rowBreakPoint): Same thing.
4681
4682 2003-07-26  Asger Alstrup  <alstrup@local>
4683
4684         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4685
4686         * text.C (singleWidth): Spurious font copying in hot-spot
4687         singleWidth avoided. Reorder tests for arabic for efficiency.
4688
4689         * text.C (fill): handle empty paragraphs better.
4690
4691 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4692
4693         * ispell.C:
4694         * encoding.h: add includes
4695
4696         * lyxrc.C: remove reading of bind files
4697
4698         * lyx_main.C (init): setup bindings and menus only if we have a
4699         gui.
4700
4701         * kbmap.C (read): new method. Do the actual reading of bind
4702         files.
4703
4704         * converter.C (dvipdfm_options):
4705         * bufferparams.C:
4706         * lyxrc.C (read):
4707         (output): adapt PAPER_* enums.
4708
4709         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4710
4711         * bufferparams.h: remove paper-related enums from there
4712
4713         * paper.h: New file. A trivial header file to hold paper-related
4714         enums. It should later expand to contain many paper-related
4715         horrors access.
4716
4717         * lyxrc.C: declare extern displayTranslator
4718
4719 2003-07-27  José Matos  <jamatos@fep.up.pt>
4720
4721         * tabular.[Ch] (linuxdoc): add support for tables and figures
4722         (linuxdoc).
4723
4724 2003-07-27  José Matos  <jamatos@fep.up.pt>
4725
4726         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4727         consistency in both functions.
4728         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4729
4730 2003-07-26  Asger Alstrup  <alstrup@local>
4731
4732         * rowpainter.C (paintRows): Change algorithm to work directly on
4733         the insets rather than asking every character in the document
4734         whether its an inset.
4735
4736 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4737
4738         * buffer.C (openFileWrite): factorize some code
4739
4740 2003-07-26  Angus Leeming  <leeming@lyx.org>
4741
4742         * lyx_cb.C:
4743         * lyx_main.[Ch]: replace occurances of system_tempdir with
4744         os::getTmpDir().
4745
4746 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4747
4748         * rename Inset to InsetOld
4749
4750 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4751
4752         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4753         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4754         which I think is a bit clearer. EDIT is gone, since it was
4755         premature optimisation, and broken for mathed anyway.
4756         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4757         with cursor positioning in insets as well (math insets still do not
4758         work, but that's a different story anyway.) It mysteriously
4759         crashes sometimes with undo in the first paragraph, but I'm fairly
4760         confident that this is a compiler bug.
4761
4762 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4763
4764         * paragraph.C (Paragraph): adjust for new clone return type
4765         (operator==): ditto
4766         (copyIntoMinibuffer): ditto
4767
4768 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4769
4770         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4771         by not having a special case, and always doing a full rebreak of
4772         the document after undo.
4773
4774 2003-07-23  Angus Leeming  <leeming@lyx.org>
4775
4776         * factory.C (createInset): InsetExternal::setParams now takes a
4777         Buffer const * arg.
4778
4779 2003-07-23  Angus Leeming  <leeming@lyx.org>
4780
4781         * factory.C (createInset): changed interface to the external and
4782         graphics mailers' string2params functions.
4783
4784 2003-07-23  Angus Leeming  <leeming@lyx.org>
4785
4786         * factory.C (createInset): pass a
4787         Buffer const * parameter to InsetExternalMailer's string2params.
4788
4789 2003-07-22  John Levon  <levon@movementarian.org>
4790
4791         * Thesaurus.h: include the right aiksaurus header
4792
4793 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4794
4795         * MenuBackend.C (expand): check menu shortcuts unconditionally
4796
4797 2003-07-21  Angus Leeming  <leeming@lyx.org>
4798
4799         * factory.C (createInset): pass a
4800         buffer_path parameter to InsetGraphicsMailer's string2params.
4801
4802 2003-07-21  Angus Leeming  <leeming@lyx.org>
4803
4804         * BufferView_pimpl.C (buffer):
4805         * buffer.C (d-tor):
4806         * lyx_main.C (LyX):
4807         * lyxfunc.C (dispatch):
4808         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4809         rather than the grfx shortcut.
4810
4811 2003-07-21  André Pönitz  <poenitz@gmx.net>
4812
4813         * rowpainter.C: remove unused variables
4814
4815         * tabular_funcs.C:
4816         * tabular_funcs.h: move to tabular.C
4817         * Makefile.am: adjust
4818
4819         * tabular.[Ch]: basic optical cleaning
4820
4821         * author.h: pass references, not values
4822
4823 2003-07-18  André Pönitz  <poenitz@gmx.net>
4824
4825         * lyxtext.h:
4826         * metricsinfo.C:
4827         * metricsinfo.h:
4828         * rowpainter.C:
4829         * text.C:
4830         * text2.C:
4831         * text3.C: two-phase drawing for InsetText and InsetTabular
4832         some float -> int changes.
4833
4834 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4835
4836         * lyx_main.C: fix the fix
4837
4838 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4839
4840         * lyx_main.C: fix a crash in batch mode if no files specified
4841         * converter.C: ws
4842
4843 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4844
4845         * format.[Ch] (papersize): moved to BufferParams
4846         * converter.[Ch] (dvips_options): moved to BufferParams
4847         (dvipdfm_options): moved to anon namespace
4848         * bufferparams.[Ch]: added above functions.
4849
4850 2003-07-17  André Pönitz  <poenitz@gmx.net>
4851
4852         * lyxtext.h:
4853         * rowpainter.C:
4854         * text2.C: don't call inset->update() anymore
4855
4856         * metricsinfo.[Ch]: add convenience constructor
4857
4858 2003-07-16  André Pönitz  <poenitz@gmx.net>
4859
4860         * lyxcursor.[Ch]:
4861         * lyxfunc.[Ch]:
4862         * text.C:
4863         * text2.C: replace the LyXCursor::irow_ member with
4864          on-demand computation of the value
4865
4866 2003-07-16  John Levon  <levon@movementarian.org>
4867
4868         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4869
4870 2003-07-15  André Pönitz  <poenitz@gmx.net>
4871
4872         * text.C:
4873         * text2.C: remove no more needed refresh_row
4874
4875 2003-07-15  André Pönitz  <poenitz@gmx.net>
4876
4877         * lyxtext.h:
4878         * rowpainter.C:
4879         * text2.C:
4880         * text3.C: refresh_status tristate -> need_update bool
4881
4882 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4883
4884         * lyxtext.h (init): remove reinit argument (act as if always true)
4885         * text2.C: adjust to that
4886
4887 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4888
4889         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4890         * text3.C: use it to delete selections in some cases
4891         (bugs 441, 673, 702, 954).
4892
4893 2003-07-14  André Pönitz  <poenitz@gmx.net>
4894
4895         * rowpainter.[Ch]: reduce interface
4896
4897 2003-07-14  André Pönitz  <poenitz@gmx.net>
4898
4899         * BufferView_pimpl.C:
4900         * text2.C: adjust after removing unused BufferView * argument
4901
4902 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4903
4904         * text2.C (init): fix a crash fired on resize
4905
4906 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4907
4908         * buffer.[Ch]: added new closing signal
4909         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4910         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4911         BufferView::Pimpl via the closing the signal
4912
4913 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4914
4915         * buffer.[Ch]: take out all bv-related from buffer
4916         * BufferView.C:
4917         * BufferView_pimpl.[Ch]: connect to new signals
4918         * CutAndPaste.C: removed useless asserts
4919         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4920         * lyxvc.[Ch]:
4921         * vc-backend.[Ch]:
4922         * lyxfunc.C: moved view-related funciontality from vc here
4923         * paragraph.C: removed outdated comments
4924         * text.C: ws
4925
4926 2003-07-10  André Pönitz  <poenitz@gmx.net>
4927
4928         * BufferView_pimpl.C:
4929         * tabular.h:
4930         * tabular_funcs.C:
4931         * text.C:
4932         * text2.C: remove InsetText::InnerCache, clean up consequences
4933
4934 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4935
4936         * ispell.C: fix two typos in error messages
4937
4938 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4939
4940         * Extend Note inset to other forms of annotation like Comment
4941         and Greyedout. Right button click gives dialog.
4942
4943         Files modified or added (+):
4944
4945         * insetnote.[Ch]
4946         * FormNote.[Ch]      +
4947         * ControlNote.[Ch]   +
4948         * form_note.fd       +
4949         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4950         frontends/controllers
4951         * xforms/Dialogs.C
4952         * factory.C
4953
4954 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4955
4956         * aspell.C: add missing namespace lyx::support
4957
4958 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4959
4960         * BufferView.[Ch] (newFile): Add
4961         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4962         * LaTeX.[Ch] (message): added this signal and use it
4963         * buffer.[Ch] (busy, message): added these signals and use them
4964         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4965         * converter.C:
4966         * exporter.C:
4967         * format.C:
4968         * importer.C: use buffer signals instead of direct bv calling
4969         * lyx_cb.[Ch] (ShowMessage): removed
4970         * lyx_main.C:
4971         * lyxfunc.C:
4972         * paragraph_funcs.C:
4973         * text2.C: use buffer signals
4974
4975 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4976
4977         * introduce namespace lyx::graphics
4978
4979 2003-07-02  André Pönitz  <poenitz@gmx.net>
4980
4981         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4982
4983 2003-07-01  André Pönitz  <poenitz@gmx.net>
4984
4985         * text.C:
4986         * text2.C:
4987         * text3.C:
4988         * text_funcs.[Ch]:
4989         * textcursor.h:
4990         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4991           text*.C to text_func.C
4992
4993 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4994
4995         * introduce namespace lyx::support
4996
4997 2003-06-30  André Pönitz  <poenitz@gmx.net>
4998
4999         * Chktex.C:
5000         * funcrequest.C:
5001         * lyxtext.h:
5002         * text.C: re-enable --with-included-string
5003
5004 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5005
5006         * textcursor.C: add <config.h>
5007
5008         * text.C (getWord): remove const from word_location arg
5009
5010         * lyxvc.C (getLogFile): fix const type order
5011
5012         * lyxtext.h: remove const from word_location arg, add arg name
5013
5014         * lyxlayout.h: currect type on labeltype.
5015
5016         * importer.C: correct \file
5017
5018         * converter.C (intToFormat): use std:: on ret val, ws changes
5019
5020         * bufferlist.h: correct \file
5021
5022         * buffer.C (makeLinuxDocFile): fix const type order
5023         (makeDocBookFile): ditto
5024         (fillWithBibKeys): use std:: on stdlib args.
5025
5026         * CutAndPaste.C: fix authors.
5027         (availableSelections): use std:: on return vector
5028
5029 2003-06-27  André Pönitz  <poenitz@gmx.net>
5030
5031         * BufferView_pimpl.C:
5032         * bufferview_funcs.C:
5033         * lyxcursor.C:
5034         * lyxcursor.h:
5035         * lyxfunc.C:
5036         * lyxtext.h:
5037         * rowpainter.C:
5038         * text.C:
5039         * text2.C:
5040         * text3.C: remove LyXCursor::row_ member
5041
5042         * lyxtext.h:
5043         * text.C: rename fullRebreak() to partialRebreak() and implement
5044           a fullRebreak() that really bereks fully
5045
5046         * textcursor.h: new struct for cursor-related data
5047
5048 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5049
5050         * lyx_main.C (LyX): get full path of document loaded on the
5051         command line
5052
5053 2003-06-26  André Pönitz  <poenitz@gmx.net>
5054
5055         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5056           remove unused/broken operator>,<,>=.
5057
5058         *       text.C: remove only use of broken operator<= in an Assert().
5059
5060 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5061
5062         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5063         moved errorlist_.clear to showErrorList
5064
5065 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5066
5067         * converter.C (scanLog, runLaTeX):
5068         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5069         move the bv->showErrorList call to the callers
5070         * lyxfunc.C: i.e. here...
5071         * text2.C: and here
5072         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5073         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5074         namespace, the second to...
5075         * buffer_funcs (BufferFormat, parseErrors): added
5076         * errorlist.C (ErrorList(TeXErrors const &)): removed
5077
5078 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5079
5080         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5081
5082 2003-06-24  "Garst R. Reese" <reese@isn.net>
5083
5084         * debug.C: fix typo
5085
5086 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5087
5088         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5089
5090         * version.C.in: change docversion to 1.4
5091
5092 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5093
5094         * buffer.C: fix a bug just introduced
5095
5096 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5097
5098         * buffer.[Ch]: added the parseError signal and use it, removed
5099         sgmlError
5100         * BufferView.[Ch] (addError): moved to ...
5101         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5102         to the Buffer::parseError signal to catch (guess what) parse errors
5103         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5104
5105 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5106
5107         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5108         ability to create a buffer and to return an existing one from
5109         the list. Moved these functions to...
5110         * buffer_funcs.[Ch]: added
5111         * BufferView.[Ch] (loadLyXFile): added
5112         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5113         job removed from bufferlist::loadLyXFile.
5114         * buffer.C (setReadOnly): make it work without view
5115         (i.e added an if (users))
5116
5117 2003-06-19  Angus Leeming  <leeming@lyx.org>
5118
5119         * lfuns.h:
5120         * LyXAction.C (init):
5121         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5122         with LFUN_DIALOG_SHOW <name> <data>.
5123
5124 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5125
5126         * CutAndPaste.C (availableSelections): small compilation fix for
5127         ancient (gcc 2.9x) compilers
5128
5129 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5130
5131         * text3.C (cursorNext): add tmp var
5132
5133         * text2.C (updateCounters): for function calling out of for clause
5134         (replaceSelectionWithString): ditto
5135         (insertStringAsParagraphs): ditto
5136         (getColumnNearX): add tmp var
5137         (setCursorFromCoordinates): add tmp var
5138         (cursorDownParagraph): add tmp var
5139         (deleteEmptyParagraphMechanism): add tmp var
5140
5141         * text.C (insertChar): add tmp var
5142
5143         * rowpainter.C (paintDepthBar): add tmp var
5144
5145         * CutAndPaste.C (availableSelections): potentially check all
5146         paragraphs in a cut to fill the shown strings.
5147
5148 2003-06-18  André Pönitz  <poenitz@gmx.net>
5149
5150         * kbmap.[Ch]: use vector<> instead of list<>
5151
5152 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5153
5154         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5155         pasteSelection with index
5156
5157         * text2.C (pasteSelection): modify, call pasteSelection with index
5158
5159         * paragraph.C (asString): reimplement version with no interval to
5160         call the one with interval.
5161
5162         * lyxtext.h: add index arg to pasteSelection
5163
5164         * MenuBackend.C (MenuItem): handle PasteRecent
5165         (Menu::read::Menutags): add md_pasterecent
5166         (read): handle it
5167         (expandPasteRecent): new function
5168         (expand): use it
5169
5170         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5171
5172         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5173         the limited stack
5174         (availableSelections): new function
5175
5176 2003-06-17  Angus Leeming  <leeming@lyx.org>
5177
5178         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5179
5180 2003-06-17  Angus Leeming  <leeming@lyx.org>
5181
5182         * lfuns.h:
5183         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5184
5185         * lyxfunc.C (dispatch): invoke it.
5186
5187 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5188
5189         * iterators.C (operator++, ParPosition): reintroduce some
5190         const_cast for the benefit of older compilers.
5191
5192 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5193
5194         * text3.C (dispatch): do not modify clipboard when doing
5195         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5196         LFUN_DELETE_SKIP on a selection selection
5197
5198 2003-06-16  André Pönitz  <poenitz@gmx.net>
5199
5200         * BufferView.C:
5201         * buffer.C:
5202         * buffer.h:
5203         * paragraph.C:
5204         * tabular.[Ch]: IU of clone() and getLabelList();
5205
5206 2003-06-13  André Pönitz  <poenitz@gmx.net>
5207
5208         * tabular.h: compactification
5209
5210 2003-06-12  André Pönitz  <poenitz@gmx.net>
5211
5212         * tabular.C:
5213         * tabular.h:
5214         * tabular_funcs.h: some renaming plus whitespace
5215
5216 2003-06-12  André Pönitz  <poenitz@gmx.net>
5217
5218         * BufferView.C:
5219         * BufferView_pimpl.C:
5220         * CutAndPaste.C:
5221         * buffer.C:
5222         * iterators.[Ch]:
5223         * lyxfunc.C:
5224         * text.C:
5225         * toc.C: Return a Paragraph & for ParIterator::operator*()
5226
5227 2003-06-11  John Levon  <levon@movementarian.org>
5228
5229         * lyx_main.C:
5230         * ToolbarBackend.h:
5231         * ToolbarBackend.C: add "Toolbars" section and
5232         put the flags there
5233
5234 2003-06-10  Angus Leeming  <leeming@lyx.org>
5235
5236         * lfuns.h:
5237         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5238
5239         * lyxfunc.C (dispatch): invoke it.
5240
5241 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5242
5243         * main.C: protect <ios> with HAVE_IOS
5244         (main): protect sync_with_stdio with HAVE_IOS
5245
5246 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5247
5248         * text2.C (cutSelection): adjust
5249         (pasteSelection): adjust
5250
5251         * messages.C: handle get of empty string
5252
5253         * main.C (main): use sync_with_stdio(false)
5254
5255         * lyxfunc.C (dispatch): adjust
5256
5257         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5258         (WriteAs): remove unneeded BufferView arg.
5259
5260         * bufferparams.h: use correct types on papersize, papersize2 and
5261         paperpackage.
5262
5263         * bufferparams.C (readToken): adjust for type
5264         (writeLaTeX): add missing cases to switch.
5265
5266         * bufferlist.C (quitWriteBuffer): adjust
5267         (close): adjust
5268
5269         * buffer.C (asciiParagraph): remove some commented code.
5270
5271         * CutAndPaste.C: remove current_view extern variable.
5272         (cutSelection): add BufferParams arg.
5273         (eraseSelection): add BufferParams arg.
5274         (pasteSelection): add Buffer const & arg
5275
5276 2003-06-07  John Levon  <levon@movementarian.org>
5277
5278         * buffer.C:
5279         * paragraph_funcs.C:
5280         * paragraph_pimpl.C:
5281         * text.C:
5282         * text2.C:
5283         * paragraph.h:
5284         * paragraph.C: allow InsetERT to freely space lines,
5285         and some consolidation of code
5286
5287 2003-06-06  José Matos  <jamatos@fep.up.pt>
5288
5289         * buffer.C (makeDocBookFile): fix bug #821
5290
5291 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5292
5293         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5294
5295 2003-06-04  Angus Leeming  <leeming@lyx.org>
5296
5297         * buffer.C: bump format to 224.
5298
5299 2003-06-05  André Pönitz  <poenitz@gmx.net>
5300
5301         * text2.C (redoParagraphs): remove two const_cast<>
5302
5303 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5304
5305         * ParagraphList.h: remove last remnants of NO_STD_LIST
5306
5307 2003-06-03  Angus Leeming  <leeming@lyx.org>
5308
5309         * factory.C (createInset): small change to the way InsetExternal's params
5310         are set.
5311
5312 2003-06-04  André Pönitz  <poenitz@gmx.net>
5313
5314         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5315
5316         * paragraph_pimpl.h:
5317         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5318
5319         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5320
5321         * undo_funcs.C: make some simple cases of undo work again
5322
5323 2003-06-03  John Levon  <levon@movementarian.org>
5324
5325         * ispell.C: HPUX doesn't have sys/select.h
5326         (from Albert Chin)
5327
5328 2003-06-03  John Levon  <levon@movementarian.org>
5329
5330         * CutAndPaste.C: update tabular and include inset
5331         buffer references
5332
5333         * buffer.h:
5334         * paragraph.h:
5335         * paragraph.C: remove owningBuffer(), don't pass Buffer
5336         to clone()
5337
5338         * factory.C: insetGraphicsParams changed
5339
5340 2003-06-02  John Levon  <levon@movementarian.org>
5341
5342         * LyXAction.C:
5343         * factory.C:
5344         * lfuns.h:
5345         * lyxfunc.C:
5346         * text3.C: remove insetparent
5347
5348 2003-06-02  John Levon  <levon@movementarian.org>
5349
5350         * buffer.h:
5351         * buffer.C: fix inset_iterator.end(), move out of line
5352         (bug 1149)
5353
5354 2003-06-01  John Levon  <levon@movementarian.org>
5355
5356         * text3.C: use a proper cut/paste when doing inset
5357         insert (from Jürgen Spitzmüller)
5358
5359 2003-06-01  John Levon  <levon@movementarian.org>
5360
5361         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5362
5363 2003-05-30  André Pönitz  <poenitz@gmx.net>
5364
5365         * rowpainter.C: unify second drawing phase
5366
5367 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5368
5369         * trans_mgr.C: remove one case of current_view
5370
5371         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5372
5373         * paragraph_funcs.h: remove paragraph.h include
5374
5375         * paragraph.h: delete NO_STD_LIST stuff
5376
5377         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5378
5379         * buffer.h: remove paragraph.h include
5380
5381         * ParagraphList.C: delete file
5382
5383         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5384
5385         * toc.C (getTocList): adjust
5386
5387         * paragraph_pimpl.C (validate): adjust
5388
5389         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5390
5391         * paragraph.C (Paragraph): adjust
5392         (getPositionOfInset): use const_iterator, adjust
5393         (bibitem): use const_iterator, adjust
5394         (setInsetOwner): adjust
5395
5396         * iterators.C (operator++): adjust
5397
5398         * InsetList.[Ch]: Replace selfmade iterator with standard
5399         vector::iterator also introduce const_iterator. Remove getPos,
5400         getInset and setInset from InsetTable. Adjust accordingly.
5401
5402         * BufferView.C (lockInset): adjust
5403         (ChangeInsets): adjust
5404
5405         * tabular.[Ch]: delete commented same_id functions
5406
5407 2003-05-28  John Levon  <levon@movementarian.org>
5408
5409         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5410
5411 2003-05-28  André Pönitz  <poenitz@gmx.net>
5412
5413         * metricsinfo.[Ch]: remove 'fullredraw' member
5414
5415 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5416
5417         * lyxtextclass.C (operator): remove caching.
5418
5419 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5420
5421         * text3.C: adjust
5422
5423         * text2.C (cursorBottom): adjust
5424         (setCounter): use ParagraphList::find, adjust
5425
5426         * text.C (workWidth): use ParagraphList::find, adjust
5427
5428         * lyxcursor.C (LyXCursor): adjust
5429
5430         * buffer.C (inset_iterator): adjust
5431
5432         * ParagraphList.h: make iterator(value_type) private, make
5433         ParagraphList a friend of iterator.
5434
5435         * ParagraphList.C (find): new function
5436
5437         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5438
5439 2003-05-27  André Pönitz  <poenitz@gmx.net>
5440
5441         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5442
5443 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5444
5445         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5446
5447 2003-05-26  John Levon  <levon@movementarian.org>
5448
5449         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5450
5451 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5452
5453         * remove same_id from function signatures, adjust.
5454
5455 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5456
5457         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5458
5459         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5460
5461         * paragraph.C (Paragraph): get rid of same_ids parameter
5462
5463         * ParagraphList.C (insert): adjust
5464         (push_back): adjust
5465
5466 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5467
5468         * paragraph_funcs.C (breakParagraph): adjust
5469         (breakParagraphConservative): adjust
5470
5471         * buffer.C (readParagraph): adjust
5472
5473         * ParagraphList.C (insert): take a reference instead of a pointer
5474         (insert): adjust
5475
5476         * paragraph.[Ch] (id): new function
5477
5478         * bufferlist.C (newFile): adjust
5479
5480         * ParagraphList.C (ParagraphList): adjust
5481         (assign): adjust
5482         (push_back): take a reference instead of a pointer.
5483
5484         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5485
5486         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5487         instead.
5488
5489         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5490         set else use old code.
5491
5492         * ParagraphList.C: remove all NO_NEXT code and only compile this
5493         code of NO_STD_LIST is set.
5494
5495 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5496
5497         * BufferView_pimpl.C:
5498         * TextCache.C:
5499         * TextCache.h:
5500         * bufferlist.C:
5501         * errorlist.h:
5502         * format.C:
5503         * format.h:
5504         * graph.C:
5505         * lyxfunc.C:
5506         * lyxrc.C:
5507         * graphics/GraphicsConverter.C:
5508         * graphics/PreviewLoader.C: header adjustment
5509
5510 2003-05-23  Angus Leeming  <leeming@lyx.org>
5511
5512         * LaTeXFeatures.[Ch] (useBabel): new method.
5513         * bufferparams.C (writeLaTeX): use it.
5514
5515 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5516
5517         * ParagraphList.h (set): remove unused function.
5518
5519 2003-05-23  André Pönitz  <poenitz@gmx.net>
5520
5521         * BufferView.C:
5522         * BufferView_pimpl.C:
5523         * buffer.C:
5524         * buffer.h:
5525         * lyxfunc.C:
5526         * undo_funcs.C: setUndo reworked
5527
5528         * iterators.[Ch]: add access to topmost ParagraphList
5529
5530         * lyxtext.[Ch] (workWidth): add a const
5531
5532 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5533
5534         * texrow.[Ch] (increasePos): remove function
5535         * exporter.C (export): removed unused var and outdated comment
5536
5537 2003-05-23  Angus Leeming  <leeming@lyx.org>
5538
5539         * latexrunparams.h: rename fragile as moving_arg.
5540         * paragraph.C (simpleTeXOnePar): ditto.
5541         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5542
5543 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5544
5545         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5546         (createUndo): ditto
5547         (textUndoOrRedo): comment out a currently unused var.
5548
5549         * paragraph.h (NO_NEXT): enable NO_NEXT
5550
5551         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5552
5553         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5554
5555         * exporter.C (Export): adjust for removeAutoInsets removal.
5556
5557         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5558
5559         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5560
5561         * BufferView.[Ch] (removeAutoInsets): delete function
5562
5563 2003-05-22  Angus Leeming  <leeming@lyx.org>
5564
5565         * latexrunparams.h: add a free_spacing variable.
5566
5567         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5568         to pass moving_arg, as the data is stored in runparams.fragile.
5569
5570         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5571         to Inset::latexOptional or to simpleTeXOnePar.
5572
5573         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5574         free_spacing arg to Inset::latexOptional.
5575
5576         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5577         free_spacing arg.
5578
5579 2003-05-22  Angus Leeming  <leeming@lyx.org>
5580
5581         * latexrunparams.h: add fragile and use_babel variables.
5582
5583         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5584         * buffer.C (makeLaTeXFile): store this returned value in
5585         runparams.use_babel, thus passing it to the inset::latex methods.
5586
5587         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5588         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5589
5590         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5591         longer has a fragile arg, as it is stored in runparams.fragile.
5592
5593         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5594         moving_arg parameter as the data is stored in runparams.fragile.
5595
5596         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5597         a fragile parameter as the data is stored in runparams.fragile.
5598
5599 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5600
5601         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5602
5603 2003-05-22  Angus Leeming  <leeming@lyx.org>
5604
5605         * latexrunparams.h: add a 'bool nice' which defaults to false.
5606
5607         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5608         now encapsulated within runparams.
5609
5610         * bufferlist.C (updateIncludedTeXfiles):
5611         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5612
5613 2003-05-22  Angus Leeming  <leeming@lyx.org>
5614
5615         * latexrunparams.h: new file containing struct LatexRunParams.
5616         * Makefile.am: add new file.
5617
5618         * LaTeX.[Ch] (c-tor, run):
5619         * buffer.[Ch] (makeLaTeXFile):
5620         * bufferlist.[Ch] (updateIncludedTeXfiles):
5621         * converter.C (convert, scanLog):
5622         * converter.[Ch] (runLaTeX):
5623         * exporter.C (Export):
5624         * paragraph.[Ch] (simpleTeXOnePar):
5625         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5626         * paragraph_funcs.[Ch] (latexParagraphs):
5627         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5628         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5629         pass around a LatexRunParams parameter.
5630
5631 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5632
5633         * paragraph.[Ch]: remove unused constructor
5634
5635         * ParagraphList.C (erase): new function, taking two iterators
5636
5637 2003-05-22  André Pönitz  <poenitz@gmx.net>
5638
5639         * undo_funcs.C: remove duplicated code
5640
5641         * iterator.[Ch]: operator=
5642
5643 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5644
5645         * tabular.C (SetMultiColumn): ws changes
5646
5647         * rowpainter.C (paintFirst): get rid of a ->previous
5648
5649         * lyx_cb.C (getPossibleLabel): parlist simplification
5650
5651         * BufferView.C (ChangeInsets): simplify slightly.
5652
5653 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5654
5655         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5656         * lfuns.h: new LFUN_SPACE
5657         * lyxfunc.C: protected space has a new lfun
5658         * paragraph_funcs.C: read new space insets
5659         * text3.C:
5660         * factory.C: handle new space insets
5661
5662 2003-05-22  André Pönitz  <poenitz@gmx.net>
5663
5664         * BufferView.C:
5665         * BufferView_pimpl.C:
5666         * buffer.[Ch]:
5667         * lyxfunc.C:
5668         * undo_funcs.C: return a ParIterator from getParFromID.
5669
5670         * iterators.[Ch]: add two const's
5671
5672 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5673
5674         * toc.C (getTocList): adjust
5675
5676         * iterators.[Ch]: rework for parlist
5677
5678         * buffer.C (par_iterator_begin): adjust
5679         (par_iterator_end): adjust
5680
5681         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5682
5683         * BufferView.C (removeAutoInsets): adjust
5684         (ChangeInsets): adjust
5685
5686 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5687
5688         * text.C (top_y): fix bug 1110
5689
5690 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5691
5692         * errorlist.[Ch]: added
5693         * buffer.C:
5694         * BufferView.[Ch]:
5695         * BufferView_pimpl.C:
5696         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5697         instead
5698
5699 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5700
5701         * Makefile.am: ensure that lyx is relinked upon changes to the
5702         various "convenience" libs.
5703
5704 2003-05-20  Angus Leeming  <leeming@lyx.org>
5705
5706         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5707         files are compiled in alphabetical order again.
5708
5709         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5710
5711 2003-05-19  Angus Leeming  <leeming@lyx.org>
5712
5713         * gettext.[Ch]: remove "char const * _(char const *)".
5714
5715 2003-05-19  André Pönitz  <poenitz@gmx.net>
5716
5717         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5718
5719         * Makefile.am:
5720         * BufferView.C:
5721         * DepTable.h:
5722         * LaTeXFeatures.C:
5723         * buffer.C:
5724         * lyxfont.C:
5725         * lyxlex.h:
5726         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5727
5728 2003-05-19  André Pönitz  <poenitz@gmx.net>
5729
5730         * buffer.C:
5731         * lyxlayout.[Ch]:
5732         * lyxtextclass.[Ch]:
5733         * paragraph.C:
5734         * paragraph_funcs.[Ch]:
5735         * text2.C:
5736         * text3.C: more insetenv work
5737
5738 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5739
5740         * ParagraphParameters.C (params2string): small bug fixed
5741
5742 2003-05-16  André Pönitz  <poenitz@gmx.net>
5743
5744         * debug.C:
5745         * bufferview_funcs.C: patch from Kornel Benko to prevent
5746           crash when _(...) is called twice in a statement
5747
5748 2003-05-16  André Pönitz  <poenitz@gmx.net>
5749
5750         * BufferView.C:
5751         * lyxfunc.C:
5752         * text.C:
5753         * text2.C:
5754         * text3.C:
5755         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5756
5757 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5758
5759         * lyx_main.C (init): remove spurious static_cast
5760
5761 2003-05-14  André Pönitz  <poenitz@gmx.net>
5762
5763         * BufferView.C: fix format string
5764
5765 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5766
5767         * BufferView.[Ch] (insertErrors): removed
5768         * BufferView.[Ch] (showErrorList): added
5769         * buffer.C (runChkTeX):
5770         * converter.C (scanLog): call showErrorList instead of inserterrors
5771
5772 2003-05-13  André Pönitz  <poenitz@gmx.net>
5773
5774         * BufferView_pimpl.C:
5775         * buffer.C:
5776         * bufferview_func.C:
5777         * MenuBackend.C:
5778         * lyxfunc.C:
5779         * lyxrc.C:
5780         * tex-accent.C:
5781         * text3.C:
5782         * toc.C:
5783         * tabular_funcs.h: tostr() from its own header
5784
5785         * ParagraphParameters.C:
5786         * ToolbarBackend.C:
5787         * bufferparams.C:
5788         * format.C:
5789         * lyxlex_pimpl.C:
5790         * text3.C: STRCONV()
5791
5792 2003-05-12  André Pönitz  <poenitz@gmx.net>
5793
5794         * BufferView.C:
5795         * BufferView_pimpl.C:
5796         * CutAndPaste.C:
5797         * LaTeX.C:
5798         * LaTeXFeatures.C:
5799         * ParagraphParameters.C:
5800         * buffer.C:
5801         * bufferlist.C:
5802         * bufferparams.C:
5803         * bufferview_funcs.C:
5804         * converter.C:
5805         * counters.C:
5806         * debug.C:
5807         * exporter.C:
5808         * format.C:
5809         * importer.C:
5810         * lyx_cb.C:
5811         * lyx_main.C:
5812         * lyxfont.C:
5813         * lyxfunc.C:
5814         * lyxvc.C:
5815         * paragraph.C:
5816         * paragraph_funcs.C:
5817         * tabular.C:
5818         * tabular_funcs.C:
5819         * text2.C:
5820         * text3.C:  boost::format -> bformat  all over the place
5821
5822
5823 2003-05-09  André Pönitz  <poenitz@gmx.net>
5824
5825         * LColor.[Ch]: Pimpl the #include <map> away
5826
5827 2003-05-09  John Levon  <levon@movementarian.org>
5828
5829         * bufferlist.C: never remove emergency saves
5830
5831 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5832
5833         * Makefile.am: better lib building
5834
5835 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5836
5837         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5838         instead.
5839         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5840         (simpleTeXSpecialChars): adjust
5841         (simpleTeXSpecialChars): adjust
5842         * paragraph.C (simpleTeXOnePar): adjust
5843         * buffer.C (makeLaTeXFile): adjust
5844
5845         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5846
5847         * text2.C (changeDepth): parlist cleanup
5848         (getColumnNearX): ditto
5849
5850         * rowpainter.C (getLabelFont): parlist cleanup
5851
5852         * bufferlist.C (newFile): parlist cleanup
5853
5854         * CutAndPaste.C (eraseSelection): parlist cleanup
5855
5856         * BufferView_pimpl.C (trackChanges): parlist cleanup
5857         (dispatch): ditto
5858
5859         * BufferView.C (lockInset): parlist cleanup.
5860         (ChangeInsets): ditto
5861
5862 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5863
5864         * CutAndPaste.h: Update file header.
5865
5866         * CutAndPaste.C: Update file header.
5867         Store the parts cut out of the Document in a limited_stack.
5868         (copySelection): adjust
5869         (pasteSelection): new function, takes the index in the limited stack.
5870         (nrOfParagraphs): adjust
5871         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5872         simplify error inset insertion.
5873         (checkPastePossible): adjust
5874
5875 2003-05-06  John Levon  <levon@movementarian.org>
5876
5877         * text2.C: don't cast wrap inset to float
5878
5879 2003-05-05  André Pönitz  <poenitz@gmx.net>
5880
5881         * iterator.C:
5882         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5883
5884         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5885           few naked Paragraph *.
5886
5887 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5888
5889         * bufferparams.C: Output warning if a document with missing
5890         TeX document class is loaded
5891         * exporter.C: Disable TeX exports if the document class is missing
5892         * lyxtextclass.C:
5893         * lyxtextclass.h:
5894         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5895         isTeXClassAvailable()
5896
5897 2003-05-03  John Levon  <levon@movementarian.org>
5898
5899         * BufferView.h:
5900         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5901         explicit cursor show/hide
5902
5903         * BufferView_pimpl.h:
5904         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5905         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5906
5907         * lyxfunc.C: hide cursor before dispatching.
5908
5909         * lyx_cb.C:
5910         * lyxfind.C:
5911         * text.C:
5912         * text3.C: remove explicit cursor hides
5913
5914 2003-05-02  André Pönitz  <poenitz@gmx.net>
5915
5916         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5917
5918         * undo_funcs.C:
5919         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5920           linked lists
5921
5922         * text2.C: tiny whitespace
5923
5924 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5925
5926         * undo_funcs.C: almost only ws changes.
5927
5928         * ParagraphList.C (splice): just return if pl is empty.
5929
5930 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5931
5932         * ParagraphList.C (splice): new function.
5933
5934         * CutAndPaste.C (pasteSelection): use it
5935
5936 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5937
5938         * CutAndPaste.C (pasteSelection): remove the last next and
5939         previous from this file.
5940
5941 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5942
5943         * CutAndPaste.C (pasteSelection): more clean up, user proper
5944         ParagraphList functions for pasteing.
5945
5946         * ParagraphList.C (insert): new function, three arg insert
5947
5948 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5949
5950         * ParagraphList.C (insert): new function, three arg insert
5951
5952         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5953         not on paragraphs.
5954
5955 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5956
5957         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5958
5959 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5960
5961         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5962
5963 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5964
5965         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5966         (copySelection): clean up a bit.
5967         (pasteSelection): use make_pair
5968
5969         * ParagraphList.C (ParagraphList): implement copy constructor
5970         (operator=): implement, base on copy constructor.
5971         (assign): new func
5972
5973         * paragraph.C (erase): return a bool
5974
5975         * paragraph_pimpl.C (erasePos): remove function, move contents...
5976         (erase): ... here. Return a bool.
5977         (erase): call erase instead of erasePos.
5978
5979 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5980
5981         * ParagraphList.h: define PitPosPair
5982         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5983         ParagraphList, fix a bug on pasting multiple pars
5984         * text2.C: change interface to C&P
5985
5986 2003-04-30  André Pönitz  <poenitz@gmx.net>
5987
5988         * undo_func.C: revert part of yesterday's patch 2
5989
5990 2003-04-30  John Levon  <levon@movementarian.org>
5991
5992         * LColor.C: s/tabular/table/
5993
5994 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5995
5996         * text3.C (dispatch): do not convert iterator -> pointer
5997         * undo_funcs.C (setCursorParUndo): ditto
5998         * text_funcs.C (transposeChars): ditto
5999
6000         * text2.C (setLayout): ws changes only
6001
6002         * text.C (breakParagraph): do not convert iterator -> pointer
6003         (insertChar): ditto
6004         (acceptChange): ditto
6005         (rejectChange): ditto
6006         (changeCase): ditto
6007         (Delete): ditto
6008         (backspace): ditto
6009
6010         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6011         pointer
6012
6013 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6014
6015         * text3.C (gotoInset): YABG (yet another bad getChar)
6016
6017 2003-04-29  André Pönitz  <poenitz@gmx.net>
6018
6019         * paragraph.h: make operator= private unimplemented as long as
6020           it is unusable
6021
6022         * ParagraphList.C: whitespace
6023
6024         * paragraph.[Ch]:
6025         * paragraph_pimpl.[Ch]:
6026         * paragraph_funcs.C:
6027         * CutAndPaste.C:
6028         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6029
6030         * text2.C:
6031           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6032
6033 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6034
6035         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6036         * paragraph.[Ch] (erase):
6037         * paragraph_pimpl.[Ch] (erase): change return type and value
6038         * text2.C (cutSelection): some rework
6039
6040 2003-04-28  John Levon  <levon@movementarian.org>
6041
6042         * bufferlist.C: changes for unsaved changes dialog
6043
6044 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6045
6046         * bufferlist.C (newFile): set language (messages_) for new
6047         documents also.
6048
6049         * buffer.C (readFile): ws changes only.
6050
6051 2003-04-28  André Pönitz  <poenitz@gmx.net>
6052
6053         * undo_funcs.C:
6054         * lyxfunc.C:
6055         * buffer.[Ch]:
6056         * BufferView_pimpl.C:
6057         * BufferView.C: getParFromID related ParagraphList::iterator changes
6058
6059 2003-04-28  André Pönitz  <poenitz@gmx.net>
6060
6061         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6062           Changes
6063
6064 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6065
6066         * messages.C: remove one more localedir class variable.
6067
6068 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6069
6070         * messages.C (getLocaleDir): singleton generation function
6071         (Pimpl): use it.
6072         (Messages): add a default constructor.
6073
6074         * main.C (main): do not setup localedir here, do not call
6075         gettext_init.
6076
6077         * gettext.C (_): use it.
6078         (gettext_init): delete funciton
6079
6080 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6081
6082         * gettext.C (getLyXMessages): new singleton generating function.
6083
6084         * buffer.C (updateDocLang): adjust
6085
6086         * Makefile.am (messages.o): add target
6087         (main.o): remove target
6088
6089 2003-04-27  John Levon  <levon@movementarian.org>
6090
6091         * bufferlist.C:
6092         * lyx_cb.C:
6093         * lyxfunc.C:
6094         * lyxvc.C: specify cancel button in Alert::prompt
6095
6096 2003-04-26  John Levon  <levon@movementarian.org>
6097
6098         * text3.C:
6099         * lyxfunc.C:
6100         * lfuns.h:
6101         * LyXAction.C: add LFUN_INSET_SETTINGS
6102
6103         * lyxfunc.C: don't enable tabular-feature when there's
6104         just any locking inset
6105
6106 2003-04-26  John Levon  <levon@movementarian.org>
6107
6108         * bufferlist.C: re-add Cancel to buffer close question
6109
6110         * lyxfunc.C: fix import UI a bit
6111
6112 2003-04-25  John Levon  <levon@movementarian.org>
6113
6114         * gettext.C: remove the broken asserts for now
6115
6116 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6117
6118         * messages.C: make case where setlocale cannot comply work better.
6119
6120         * buffer.C (updateDocLang): new function
6121         (changeLanguage): use it
6122         (readFile): use it
6123
6124         * text2.C (setCounter): use B_ a bit.
6125
6126         * lyxlayout.C (Read): be sure to trim the label strings.
6127
6128         * messages.C (Messages): fix typo in comment
6129
6130         * buffer.C (readFile): set message_ after file is loaded.
6131         (makeDocBookFile): remove double return
6132         (changeLanguage): reset message_ upon language change.
6133         (B_): new func, use this to get translated buffer strings.
6134
6135         * main.C: add myself and Jean Marc as authors.
6136
6137 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6138
6139         * messages.[hC]: pimplify Messages, and three different pimpls to be
6140         used in different circumstances.
6141
6142         * gettext.[Ch]: change for use with new message code.
6143
6144 2003-04-24 André Pönitz <poenitz@gmx.net>
6145
6146         * factory.C: support for eqref
6147
6148 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6149
6150         * messages.[Ch]: add missing char
6151
6152         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6153
6154         * messages.[Ch]: New files
6155
6156 2003-04-18  John Levon  <levon@movementarian.org>
6157
6158         * BufferView.h:
6159         * BufferView.C:
6160         * BufferView_pimpl.C:
6161         * lfuns.h:
6162         * LyXAction.C:
6163         * lyxtext.h:
6164         * text2.C: remove layout-copy/paste (bug 778)
6165
6166 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6167
6168         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6169
6170 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6171
6172         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6173         if they succeed. Act accordingly.
6174
6175 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6176
6177         * text2.C (setCharFont): adjust
6178         (setCounter): adjust
6179         (insertStringAsLines): adjust
6180
6181         * text.C (leftMargin): adjust
6182         (setHeightOfRow): adjust
6183
6184         * rowpainter.C (paintFirst): adjust
6185         (paintLast): adjust
6186
6187         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6188         (outerHook): ditto
6189         (isFirstInSequence): ditto
6190         (getEndLabel): ditto
6191         (outerFont): adjust
6192
6193         * paragraph.C (getParLanguage): comment out some hard stuff.
6194
6195         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6196         (sgmlError): ditto
6197         (simpleDocBookOnePar): ditto
6198         (makeDocBookFile): use ParagraphList::iterator
6199
6200         * CutAndPaste.C (pasteSelection): adjust
6201
6202 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6203
6204         * text2.C (getFont): adjust
6205         (getLayoutFont): adjust
6206         (getLabelFont): adjust
6207
6208         * paragraph_funcs.C (TeXOnePar): adjust
6209
6210         * buffer.C (simpleLinuxDocOnePar): adjust
6211         (simpleDocBookOnePar): adjust
6212
6213         * CutAndPaste.C (pasteSelection): adjust
6214
6215         * BufferView.C (getEncoding): adjust
6216
6217         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6218
6219 2003-04-16  John Levon  <levon@movementarian.org>
6220
6221         * lyxfind.C: use parlist stuff for search/changes
6222
6223 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6224
6225         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6226
6227         * text2.C (deleteEmptyParagraphMechanism): adjust
6228
6229         * text2.[Ch] (ownerParagraph): delete func (both of them
6230
6231 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6232
6233         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6234
6235 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6236
6237         * ParagraphList.C: prepare for NO_NEXT
6238
6239 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6240
6241         * text2.C (getFont): adjust
6242         (getLayoutFont): adjust
6243         (getLabelFont): adjust
6244
6245         * paragraph.C (getFont): adjust
6246         (getLabelFont): adjust
6247         (getLayoutFont): adjust
6248
6249         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6250
6251 2003-04-15  John Levon  <levon@movementarian.org>
6252
6253         From Angus Leeming
6254
6255         * lyx_main.C: handle Include in .ui files
6256
6257 2003-04-15  John Levon  <levon@movementarian.org>
6258
6259         * MenuBackend.C: make the doc files length shorter
6260
6261         * ToolbarBackend.h:
6262         * ToolbarBackend.C: handle toolbar placement flags,
6263         Minibuffer
6264
6265 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6266
6267         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6268         adjust
6269
6270         * paragraph_funcs.C (TeXOnePar): adjust
6271
6272         * paragraph.C (getLabelFont): add outerfont arg, adjust
6273         (getLayoutFont): ditto
6274         (simpleTeXOnePar): adjust
6275
6276         * paragraph_pimpl.C (realizeFont): delete func
6277
6278 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6279
6280         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6281         row argument, constify cur argument.
6282
6283 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6284
6285         * text2.C (getFont): adjust
6286         (getLayoutFont): adjust
6287         (getLabelFont): adjust
6288
6289         * paragraph_funcs.C (TeXOnePar): adjust
6290         (outerFont): new func...
6291         (realizeFont): ...moved out from here, changed this to facilitate
6292         transition
6293
6294         * paragraph.C (getFont): take outerfont as arg, adjust
6295         (simpleTeXOnePar): add outerfont arg, adjust
6296
6297         * buffer.C (simpleLinuxDocOnePar): adjust
6298         (simpleDocBookOnePar): adjust
6299
6300         * CutAndPaste.C (pasteSelection): adjust
6301
6302         * BufferView.C (getEncoding): adjust
6303
6304 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6305
6306         * text2.C (setCharFont): adjust
6307         (setCounter): adjust
6308
6309         * text.C (leftMargin): adjust
6310         (setHeightOfRow): adjust
6311
6312         * rowpainter.C (paintFirst): adjust
6313         (paintLast): adjust
6314
6315         * paragraph_pimpl.C (realizeFont): adjust
6316
6317         * paragraph.C (isFirstInSequence): move from here...
6318         * paragraph_funcs.C (isFirstInSequence): ...to here
6319
6320         * paragraph.C (outerHook): move from here...
6321         * paragraph_funcs.C (outerHook): ...to here
6322
6323         * paragraph.C (depthHook): move from here...
6324         * paragraph_funcs.C (depthHook): ...to here
6325
6326         * paragraph.C (getEndLabel): move from here...
6327         * paragraph_funcs.C (getEndLabel): ...to here
6328
6329         * text2.C (realizeFont): move from here...
6330         * paragraph_funcs.C (realizeFont): ...to here
6331
6332 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6333
6334         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6335
6336 2003-04-14  Angus Leeming  <leeming@lyx.org>
6337
6338         * LColor.[Ch]: scrap LColor mathcursor.
6339
6340 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6341
6342         * lyxlex.[Ch] (text): delete function
6343         * trans.C (Load): adjust
6344         * paragraph_funcs.C (readParToken): adjust
6345
6346 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6347
6348         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6349         vector<char> instead of a char[].
6350
6351         * lyxlex_pimpl.C (getString): adjust
6352         (next): adjust
6353         (lex): use getString
6354         (eatLine): adjust
6355         (nextToken): adjust
6356
6357         * lyxlex.C (text): use pimpl_->getString()
6358         (getBool): ditto
6359         (findToken): ditto
6360
6361 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6362
6363         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6364         (makeFontEntriesLayoutSpecific): temp var for par.size()
6365         (setLayout): temp var for ownerParagraphs().end()
6366         (fullRebreak): temp var for rows().end()
6367         (selectionAsString): temp var for boost::next(startpit), realize
6368         that the while really is a regular for loop.
6369         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6370         setCursor in one place.
6371         (setParagraph): temp vr for ownerParagraphs().end()
6372         (updateCounters): make the while loop a for loop
6373         (cutSelection): temp var for ownerParagraphs().end()
6374         (updateInset): make the do {} while() a regular for loop
6375         (getCursorX): use temp vars
6376         (setCurrentFont): use temp vars
6377         (getColumnNearX): use temp vars
6378
6379 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6380
6381         * text.C (transformChar): use temp var for getChar
6382         (computeBidiTables): use temp var for row->par()
6383         (fill): move temp vars for row->par() and pit->layout() earlier in
6384         the function.
6385         (labelFill): use temp var for row->par()
6386         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6387         asc and desc, realize that pit never changes and that firstpit is
6388         just a duplicate and not needed. Exchange rit->par() with pit in a
6389         lot of places.
6390         (breakAgain): use a temp var for boost::next(rit)
6391         (breakAgainOneRow): ditto
6392         (breakParagraph): use a temp var for rows().begin()
6393         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6394         (cursorRightOneWord): use temp var for cursor.par() and
6395         cursor.pos(), remove usage of tmpcursor.
6396         (cursorLeftOneWord): use temp var for cursor.par() and
6397         cursor.pos() only set cur at end of function.
6398
6399 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6400
6401         * text.C, text2.C: exchange all usage of Paragraph::next with
6402         boost::next(ParagraphList::iterator)
6403
6404         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6405
6406         * text2.C (cursorTop): simplify implementation
6407         (cursorBottom): ditto
6408         (setParagraph): use ParagraphList::iterator
6409         (setCurrentFont): adjust
6410         (getColumnNearX): adjust
6411         (cursorRight): adjust
6412         (cursorLeft): remove usage of Paragraph::previous
6413         (cursorUpParagraph): ditto
6414         (deleteEmptyParagraphMechanism): slight cleanup
6415
6416         * text.C (isBoundary): take a Paragraph const & instead of a
6417         pointer as arg.
6418         (addressBreakPoint): ditto
6419         (leftMargin): remove usage of Paragraph::previous.
6420         (setHeightOfRow): ditto
6421         (cursorLeftOneWord): ditto
6422         (selectNextWordToSpellcheck): ditto
6423         (Delete): ditto
6424         (backspace): ditto
6425         (breakParagraph): remove one usage of Paragraph::next
6426         (redoParagraph): ditto
6427         (acceptChange): ditto
6428         (insertChar): adjust
6429         (rowBreakPoint): adjust
6430
6431         * bufferview_funcs.C (toggleAndShow): adjust
6432
6433 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6434
6435         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6436         methods to access it.
6437         * lyxtext.h:
6438         * text.C: Added updateRowPositions to compute all row positions.
6439         Make top_y and getRowNearY() to use the cached y position
6440
6441 2003-04-11  John Levon  <levon@movementarian.org>
6442
6443         * text.C (rowBreakPoint): reintroduce the labelEnd
6444         checks, code copied from the row fill stuff. Deep voodoo.
6445
6446         * text.C (fill): add a comment and debugging for the
6447         next poor soul.
6448
6449 2003-04-11  John Levon  <levon@movementarian.org>
6450
6451         * text.C: make sure fullrow insets get wrapped to the next line,
6452         even when they're in a manual label
6453
6454 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6455
6456         * text2.C (insertParagraph): make it take ParagraphList::iterator
6457         as arg.
6458         (setLayout): make it return ParagraphList::iterator
6459         (redoParagraphs): ditto
6460         (setCounter): ditto
6461         (checkParagraph): ditto
6462
6463         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6464
6465         * text2.C: adjust several funcs.
6466         (realizeFont): take a ParagraphList::iterator as arg.
6467         (getLayoutFont): ditto
6468         (getLabelFont): ditto
6469         (setCharFont): ditto
6470
6471         * text.C: adjust several funcs.
6472
6473 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6474
6475         * text.C (selectNextWordToSpellcheck): don't accidentally
6476         skip insets
6477
6478 2003-04-10  John Levon  <levon@movementarian.org>
6479
6480         * ToolbarBackend.C (getIcon): special handling for
6481         LFUN_MATH_DELIM
6482
6483 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6484
6485         * text2.C (cursorRight): a getChar assert fixed
6486
6487 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6488
6489         * text2.C (getFont): change to take a ParagraphList::iterator
6490         instead of Paragraph*
6491         Adjust several functions.
6492
6493         * text.C (transformChar): change to take a ParagraphList::iterator
6494         instead of Paragraph*
6495         (singleWidth): ditto
6496         Adjust several functions.
6497
6498         * rowpainter.C: adjust several functions
6499         * rowpainter.h:store a ParagraphList::iterator and not a
6500         Paragraph&.
6501
6502
6503 2003-04-09  John Levon  <levon@movementarian.org>
6504
6505         * lyxfunc.C:
6506         * lfuns.h:
6507         * LyXAction.h:
6508         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6509         and the "help" bits as well
6510
6511 2003-04-09  John Levon  <levon@movementarian.org>
6512
6513         * ToolbarBackend.h:
6514         * ToolbarBackend.C: allow multiple toolbars
6515
6516 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6517
6518         * undo_funcs.C (setCursorParUndo): adjust
6519
6520         * text_funcs.C (transposeChars): adjust
6521
6522         * text3.C (gotoNextInset): adjust
6523         (dispatch): adjust
6524
6525         * text2.C (setLayout): adjust
6526         (changeDepth): adjust
6527         (setFont): adjust
6528         (redoParagraphs): adjust
6529         (selectionAsString): adjust
6530         (setParagraph): adjust
6531         (insertInset): adjust
6532         (cutSelection): adjust
6533         (copySelection): adjust
6534         (pasteSelection): adjust
6535         (insertStringAsLines): adjust
6536         (updateInset): adjust
6537         (setCursor): change to take a ParagraphList::iterator parameter
6538         (setCursorIntern): change to take a ParagraphList::iterator parameter
6539         (setCurrentFont): adjust
6540         (cursorLeft): adjust
6541         (cursorRight): adjust
6542         (deleteEmptyParagraphMechanism): adjust
6543
6544         * text.C (breakParagraph): adjust
6545         (insertChar): adjust
6546         (acceptChange): adjust
6547         (rejectChange): adjust
6548         (selectNextWordToSpellcheck): adjust
6549         (changeCase): adjust
6550         (Delete): adjust
6551         (backspace): adjust
6552
6553         * lyxfind.C (SearchForward): adjust
6554         (SearchBackward): adjust
6555         (nextChange): adjust
6556
6557         * lyxcursor.C (par): adjust
6558
6559         * lyxcursor.h: store a ParagraphList::iterator instead of a
6560         Paragraph*
6561
6562         * lyx_cb.C (getPossibleLabel): adjust
6563
6564         * bufferview_funcs.C (toggleAndShow): adjust
6565
6566         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6567         (dispatch): adjust
6568
6569         * BufferView.C (removeAutoInsets): adjust
6570         (lockedInsetStoreUndo): adjust
6571
6572 2003-04-09  John Levon  <levon@movementarian.org>
6573
6574         * ToolbarBackend.C: try icon without argument
6575         if with argument fails
6576
6577 2003-04-08  John Levon  <levon@movementarian.org>
6578
6579         * ToolbarBackend.h:
6580         * ToolbarBackend.C: add getIcon(), handle tooltip,
6581         and change from "Icon" to "Item".
6582
6583 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6584
6585         * BufferView.C (lockInset): another bad getchar crunched
6586
6587 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6588
6589         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6590         again)
6591
6592 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6593
6594         * lyxfind.C (searchForward, searchBackwards): bug 782
6595
6596 2003-04-07  John Levon  <levon@movementarian.org>
6597
6598         * paragraph.C: remove dead comment
6599
6600         * text.C: remove troublesome depth-fiddling code
6601         in leftMargin() and rightMargin() (bug 1017)
6602
6603         * text.C: fix breaking of rows in nested lists
6604         (bug 1004)
6605
6606         * text2.C (updateCounters): fix up depth values
6607         (bug 1013)
6608
6609 2003-04-07  John Levon  <levon@movementarian.org>
6610
6611         * BufferView_pimpl.C: clear message when doc finishes resizing,
6612         and after a mouse event
6613
6614         * lyxfunc.C: clear message after exiting inset
6615
6616 2003-04-07  John Levon  <levon@movementarian.org>
6617
6618         * bufferview_funcs.C: show math status not outside
6619         status in the statusbar
6620
6621 2003-04-07  John Levon  <levon@movementarian.org>
6622
6623         * lyxfunc.C: note status changed after a depth change
6624
6625 2003-04-04  Angus Leeming  <leeming@lyx.org>
6626
6627         * LaTeX.h: move AuxInfo operator==, != out of line.
6628         Remove LaTeX virtual destructor; nothing derives from it.
6629         Move operator()() out of public area and rename it startscript().
6630         Change protected for private.
6631
6632 2003-04-04  Angus Leeming  <leeming@lyx.org>
6633
6634         * lyxfunc.C:
6635         * text2.C: remove unneeded #includes.
6636
6637 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6638
6639         * text2.C (dEPM): fix the heigth of the next row
6640
6641 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6642
6643         * text.C: squashed an invalid getChar requester + some ws changes
6644
6645 2003-04-03  John Levon  <levon@movementarian.org>
6646
6647         * bufferview_funcs.h:
6648         * bufferview_funcs.C:
6649         * lyxfunc.C:
6650         * lyxtext.h:
6651         * text2.C: make getStatus work for the env depth lfuns
6652
6653 2003-04-03  John Levon  <levon@movementarian.org>
6654
6655         * bufferview_funcs.h:
6656         * bufferview_funcs.C:
6657         * lyxfunc.C:
6658         * lyxtext.h:
6659         * text2.C: parlistize decDepth(), by merging it with incDepth()
6660
6661 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6662
6663         * lyxrow.h: store a ParagraphList::iterator instead of a
6664         Paragraph* and adjust other class functions to suit.
6665
6666         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6667         above.
6668
6669 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6670
6671         * text2.C (setCursor): do not anchor to cursor row for the time being
6672
6673 2003-04-02  John Levon  <levon@movementarian.org>
6674
6675         * LyXAction.C:
6676         * lfuns.h:
6677         * lyx_main.C:
6678         * lyxtext.h:
6679         * text.C:
6680         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6681
6682 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6683
6684         * paragraph.h: make ParagraphList and ParagraphList::iterator
6685         friends of Paragraph.
6686
6687         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6688
6689         * ParagraphList.C: Use the private next_ and previous_ from
6690         Paragraph.
6691
6692 2003-04-01  John Levon  <levon@movementarian.org>
6693
6694         * ToolbarBackend.h:
6695         * ToolbarBackend.C:
6696         * Makefile.am: rename, remove defaults gunk
6697
6698         * MenuBackend.h:
6699         * MenuBackend.C: remove defaults gunk
6700
6701         * Languages.h:
6702         * Languages.C: remove defaults gunk
6703
6704         * lyx_main.h:
6705         * lyx_main.C: error out if files couldn't be found.
6706
6707 2003-04-02  John Levon  <levon@movementarian.org>
6708
6709         * text2.C: make incDepth() use parlist
6710
6711 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6712
6713         * undo_funcs.C (firstUndoParagraph): adjust
6714
6715         * text3.C (gotoInset): adjust
6716         (dispatch): adjust, and rewrite loop.
6717
6718         * text2.C (init): adjust, and rewrite loop.
6719         (redoParagraphs): adjust
6720         (updateInset): adjust, and rewrite loop.
6721         (deleteEmptyParagraphMechanism): adjust
6722
6723         * tabular.C (LyXTabular): adjust
6724         (SetMultiColumn): adjust
6725         (TeXRow): adjust
6726
6727         * lyxtext.[Ch] (ownerParagraph): delete function
6728         (ownerParagraphs): new function returns a ParagraphList.
6729
6730         * BufferView.C (removeAutoInsets): adjust
6731         (insertErrors): adjust
6732         (setCursorFromRow): adjust
6733
6734 2003-04-01  Angus Leeming  <leeming@lyx.org>
6735
6736         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6737         in the frontends.
6738
6739 2003-04-02  John Levon  <levon@movementarian.org>
6740
6741         * lyxtext.h:
6742         * text.C:
6743         * Makefile.am:
6744         * text_funcs.h:
6745         * text_funcs.C: make transposeChars a free function
6746
6747         * lyxrow_funcs.C: remove wrong comment
6748
6749 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6750
6751         * lyxtext.h: adjust
6752         * rowpainter.C: adjust
6753         * text.C: adjust
6754         * text2.C: adjust
6755         * text3.C: adjust
6756
6757         * lyxrow_funcs. [Ch]: new files
6758
6759         * lyxrow.[Ch]: remove next and previous pointers
6760         (next,previous): remove accessor functions
6761         (isParEnd): move to lyxrow_funcs
6762         (lastPos): move to lyxrow_funcs
6763         (nextRowIsAllInset): move to lyxrow_funcs
6764         (lastPrintablePos): move to lyxrow_funcs
6765         (numberOfSeparators): move to lyxrow_funcs
6766         (numberOfHfills): move to lyxrow_funcs
6767         (numberOfLabelHfills): move to lyxrow_funcs
6768         (hfillExpansion): move to lyxrow_funcs
6769
6770         * lyxfunc.C: adjust
6771
6772         * bufferview_funcs.C (toggleAndShow): adjust
6773
6774         * RowList.h: Remove class RowList from file leave just a
6775         std::list<Row>.
6776
6777         * RowList.C: delete file
6778
6779         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6780         and lyxrow_funcs.h
6781
6782 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6783
6784         * text3.C (cursorPrevious): adjust
6785         (cursorNext): adjust
6786         (dispatch): adjust
6787
6788         * text2.C (redoHeightOfParagraph): adjust
6789         (redoDrawingOfParagraph): adjust
6790         (setCursor): adjust
6791
6792         * text.C (breakParagraph): adjust
6793         (insertChar): adjust
6794         (backspace): adjust
6795
6796         * rowpainter.C (RowPainter): adjust
6797         (leftMargin): simplify and adjust
6798         (most rowpainter functions): adjust.
6799
6800         * rowpainter.h: store the row as RowList::iterator not as Row*
6801
6802         * lyxcursor.C (row): taka RowList::iterator as arg
6803         (irow): ditto
6804
6805         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6806         of Row*.
6807
6808 2003-04-01  Angus Leeming  <leeming@lyx.org>
6809
6810         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6811         stuff like bool Bool.
6812
6813 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6814
6815         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6816         rewrite a loop
6817
6818 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6819
6820         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6821         RowList::iterator.
6822
6823         * lyxtext.h (rows): drop one version and leve a const variant that
6824         returns a RowList::iterator.
6825
6826 2003-03-31  Angus Leeming  <leeming@lyx.org>
6827
6828         * text.C (fill): ensure that the signature is the same as that in the
6829         header file.
6830
6831 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6832
6833         * text2.C (redoParagraphs): adjust
6834         (updateCounters): adjust
6835         (checkParagraph): adjust
6836         (getColumnNearX): adjust and reformat a bit.
6837
6838         * text.C (top_y): adjust
6839         (workWidth): adjust
6840         (leftMargin): adjust
6841         (prepareToPrint): adjust
6842         (getRow): adjust
6843         (getRowNearY): adjust
6844
6845         * lyxtext.h: make rowlist_ mutable.
6846
6847         * RowList.h: add const_iterator
6848         * RowList.C: adjust for RowList::const_iterator.
6849
6850         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6851         adjust.
6852
6853 2003-03-31  John Levon  <levon@movementarian.org>
6854
6855         * lyxrc.h:
6856         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6857
6858         * lyx_main.C: set default fonts from using lyx_gui funcs
6859
6860         * exporter.C: pdf_mode moved from lyxrc
6861
6862         * lyx_cb.C:
6863         * lyxfunc.C: changes from above
6864
6865 2003-03-31  John Levon  <levon@movementarian.org>
6866
6867         * lyx_main.C: fix to the last fix
6868
6869 2003-03-31  John Levon  <levon@movementarian.org>
6870
6871         * bufferlist.C: "Load original" -> "Load Original"
6872
6873         * converter.C:
6874         * exporter.C:
6875         * importer.C:
6876         * lyx_main.C:
6877         * format.C: more Alert cleanups
6878
6879 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6880
6881         * text2.C (removeParagraph): make it take a RowList::iterator as
6882         arg, adjust.
6883         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6884         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6885
6886         * text.C (anchor_row): make it take a RowList::iterator as arg,
6887         adjust.
6888         (computeBidiTables): make it take a const reference to Row instead
6889         of Row pointer, adjust.
6890         (leftMargin): make it take a RowList::iterator as arg, adjust.
6891         (rowBreakPoint): adjust
6892         (breakAgainOneRow): make it take a RowList::iterator as arg,
6893         adjust.
6894         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6895
6896         * bufferview_funcs.C (toggleAndShow): adjust
6897
6898 2003-03-30  John Levon  <levon@movementarian.org>
6899
6900         * Makefile.am:
6901         * BoostFormat.h:
6902         * boost-inst.C: moved to support
6903
6904         * several files: changes as a result
6905
6906 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6907
6908         * text2.C (LyXText): adjust.
6909         (init): adjust
6910         (removeRow): make it take a RowList::iterator as arg, adjust.
6911         (fullRebreak): adjust
6912         (deleteEmptyParagraphMechanism): adjust
6913         (clearPaint): adjust
6914         (postPaint): adjust
6915
6916         * text.C (top_y): adjust
6917         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6918         (breakAgain): make it take a RowList::iterator as arg, adjust.
6919         (breakParagraph): adjust
6920         (insertChar): adjust
6921         (backspace): adjust
6922
6923         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6924         need_break_row, and refresh_row.
6925
6926         * text3.C (dispatch): adjust
6927
6928         * text2.C (checkParagraph): adjust
6929         (setCursor): adjust
6930         (setCursorFromCoordinates): adjust
6931
6932         * text.C (top_y): adjust
6933         (workWidth): adjust
6934         (getRow): make it return a RowList::iterator, adjust
6935         (getRowNearY): make it return a RowList::iterator, adjust
6936
6937         * text2.C (init): adjust
6938         (insertRow): remove function
6939         (insertParagraph): adjust
6940         (redoParagraphs): adjust
6941         (fullRebreak): adjust
6942         (updateCounters): adjust
6943
6944         * text.C (top_y): rewrite to use RowList iterators.
6945         (top_y): adjust
6946         (setHeightOfRow): rewrite to sue RowList iterators.
6947         (appendParagraph): adjust
6948         (breakAgain): adjust
6949         (breakAgainOneRow): adjust
6950         (breakParagraph): adjust
6951         (getRow): adjust
6952         (getRowNearY): adjust, and remove commented code.
6953
6954         * lyxtext.h (firstRow): delete function
6955         (lastRow): delete function
6956         (rows): new function (const and non-const versions.)
6957         (insertRow): delete function
6958
6959         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6960
6961 2003-03-29  John Levon  <levon@movementarian.org>
6962
6963         * BufferView_pimpl.C: always update scrollbar top
6964         because pasting text when we're anchored could mean we
6965         miss an update altogether
6966
6967 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6968
6969         * text2.C (init): use rowlist_.end() and not 0.
6970         (insertRow): change to take a RowList::iterator as arg, adjust
6971         for this.
6972         (insertParagraph): change to take a RowList::iterator as arg,
6973         adjust for this.
6974         (redoParagraphs): remove some debug msgs.
6975
6976         * text.C (appendParagraph): change to take a RowList::iterator
6977         arg, adjust for this.
6978         (breakAgain): add an assert
6979         (breakAgainOneRow): ditto
6980
6981 2003-03-29  John Levon  <levon@movementarian.org>
6982
6983         * text2.C: do not clear selection after inc/decDepth
6984         (bug 550)
6985
6986 2003-03-29  John Levon  <levon@movementarian.org>
6987
6988         * BufferView.C:
6989         * buffer.C: fix broken strerrors according to Lars
6990
6991 2003-03-29  John Levon  <levon@movementarian.org>
6992
6993         * converters.C: more Alert cleanups
6994
6995 2003-03-29  John Levon  <levon@movementarian.org>
6996
6997         * bufferview_funcs.C: remove pointless Alert
6998
6999         * buffer.C: fix confusing error message when
7000         a template is chmoded 000
7001
7002 2003-03-29  John Levon  <levon@movementarian.org>
7003
7004         * BufferView.C:
7005         * BufferView.h:
7006         * BufferView_pimpl.C: Alert fixes
7007
7008         * Makefile.am:
7009         * tabular.C:
7010         * tabular-old.C: remove unused table compat reading
7011
7012 2003-03-29  John Levon  <levon@movementarian.org>
7013
7014         * BufferView.C:
7015         * buffer.C:
7016         * lyx_cb.h:
7017         * lyx_cb.C: more Alert cleanups
7018
7019         * lyxfunc.C: don't allow chktex if not latex document
7020
7021 2003-03-29  John Levon  <levon@movementarian.org>
7022
7023         * lyx_cb.C:
7024         * BufferView.C:
7025         * buffer.C: warnings pushed down from support/,
7026         kill err_alert
7027
7028 2003-03-29  John Levon  <levon@movementarian.org>
7029
7030         * lyxfunc.C: safety check for C-r (revert)
7031
7032 2003-03-29  John Levon  <levon@movementarian.org>
7033
7034         * bufferlist.h:
7035         * bufferlist.C: several UI fixes using Alert::prompt.
7036         Fix the pointless looping quit code. Fix stupid revert
7037         behaviour (bug 938)
7038
7039         * lyxvc.h:
7040         * lyxvc.C:
7041         * lyx_cb.C: use Alert::prompt
7042
7043         * lyx_main.C: remove a silly question
7044
7045         * lyxfunc.C: remove a couple of silly questions,
7046         use Alert::prompt
7047
7048 2003-03-28  John Levon  <levon@movementarian.org>
7049
7050         * text2.C: fix bug 974 (End on empty par)
7051
7052 2003-03-28  John Levon  <levon@movementarian.org>
7053
7054         * BufferView_pimpl.C:
7055         * LyXAction.C:
7056         * lfuns.h: remove do-nothing math greek lfuns
7057
7058 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7059
7060         * lyxgluelength.h (isValidGlueLength): add default arg on
7061         parameter 2. Remove default arg from friend in class.
7062
7063         * lyxlength.h (isValidLength): add default arg on parameter 2.
7064         Remove default arg from friend in class.
7065
7066         * text2.C (LyXText): adjust, initialize refresh_row.
7067         (init): adjust
7068         (removeRow): adjust
7069         (insertRow): adjust
7070         (insertParagraph): adjst
7071         (redoParagraphs): adjust
7072         (fullRebreak): adjust
7073         (updateCounters): adjust
7074         (deleteEmptyParagraphMechanism): first attempt at fixing a
7075         crashing bug.
7076
7077         * text.C (top_y): adjust
7078         (setHeightOfRow): adjust
7079         (getRow): adjust
7080         (getRowNearY): adjust
7081
7082         * lyxtext.h: include RowList.h
7083         (~LyXText): not needed anymore, deleted.
7084         (firstRow): modify for RowList
7085         (lastRow): new function
7086         Delete firstrow and lastrow class variables, add a Rowlist
7087         rowlist_ class variable.
7088
7089         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7090         paragraph is empty.
7091
7092         * RowList.C (insert): fix case where it == begin().
7093
7094 2003-03-26  Angus Leeming  <leeming@lyx.org>
7095
7096         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7097         the thesaurus dialog.
7098
7099 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7100
7101         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7102
7103         * RowList.[Ch]: new files
7104
7105         * ParagraphList.C (erase): handle the case where it == begin
7106         correctly.
7107
7108 2003-03-25  John Levon  <levon@movementarian.org>
7109
7110         * Makefile.am:
7111         * aspell_local.h:
7112         * aspell.C: add new aspell support
7113
7114         * lyxrc.h:
7115         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7116         have it accessible.
7117
7118 2003-03-25  Angus Leeming  <leeming@lyx.org>
7119
7120         * lfuns.h:
7121         * LyXAction.C (init): new LFUN_INSET_INSERT.
7122
7123         * BufferView_pimpl.C (dispatch): split out part of the
7124         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7125
7126         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7127         LFUN_INSET_APPLY.
7128
7129 2003-03-25  Angus Leeming  <leeming@lyx.org>
7130
7131         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7132
7133 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7134
7135         * text2.C:
7136         * text3.C: remove useless row->height(0)
7137
7138 2003-03-25  John Levon  <levon@movementarian.org>
7139
7140         * lyxtext.h:
7141         * text2.C:
7142         * text3.C: rename the refreshing stuff to better names
7143
7144 2003-03-24  John Levon  <levon@movementarian.org>
7145
7146         * BufferView_pimpl.h:
7147         * BufferView_pimpl.C: update layout choice on a mouse
7148         press/release
7149
7150 2003-03-23  John Levon  <levon@movementarian.org>
7151
7152         * Makefile.am: fix commandtags.h reference
7153
7154 2003-03-22  John Levon  <levon@movementarian.org>
7155
7156         * BufferView_pimpl.C:
7157         * lyxtext.h:
7158         * rowpainter.C:
7159         * rowpainter.h:
7160         * text.C:
7161         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7162
7163 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7164
7165         * lyxtext.h:
7166         * text.C: take the rtl methods out of line
7167
7168 2003-03-21 André Pönitz <poenitz@gmx.net>
7169
7170         * metricsinfo.[Ch]: new files containing structures to be passed around
7171         during the two-phase-drawing...
7172
7173 2003-03-21 André Pönitz <poenitz@gmx.net>
7174
7175         * lyxtextclass.C: read 'environment' tag.
7176
7177 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7178
7179         * text2.C (removeRow): fix bug 964
7180
7181 2003-03-20  John Levon  <levon@movementarian.org>
7182
7183         * rowpainter.C:
7184         * text.C:
7185         * text2.C: paint cleanups. Inset::update() dropped font
7186         parameter
7187
7188 2003-03-19  John Levon  <levon@movementarian.org>
7189
7190         * lyxfunc.C: only fitcursor/markDirty if available()
7191
7192 2003-03-19  John Levon  <levon@movementarian.org>
7193
7194         * commandtags.h: rename to ...
7195
7196         * lfuns.h: ... this, and renumber / cleanup
7197
7198 2003-03-19  John Levon  <levon@movementarian.org>
7199
7200         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7201         fit the cursor after an lfun
7202
7203         * BufferView.h:
7204         * BufferView.C:
7205         * BufferView_pimpl.h:
7206         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7207
7208         * LyXAction.C: layout-character should have ReadOnly
7209
7210         * ParagraphParameters.C:
7211         * buffer.C:
7212         * bufferview_funcs.C:
7213         * lyx_cb.C:
7214         * lyxfind.C:
7215         * lyxtext.h:
7216         * text.C:
7217         * text2.C:
7218         * text3.C:
7219         * undo_funcs.C: changes from above
7220
7221 2003-03-18  John Levon  <levon@movementarian.org>
7222
7223         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7224         remove it from update()
7225
7226         * lyxfunc.C: update layout choice after an lfun
7227
7228         * text3.C: remove extra updateLayoutChoice()s
7229
7230 2003-03-18  John Levon  <levon@movementarian.org>
7231
7232         * text.C: top_y change means full repaint, fix
7233         a drawing bug with cursor movement
7234
7235 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7236
7237         * lyxtext.h:
7238         * text.C:
7239         * text2.C: anchor row on setCursor
7240
7241 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7242
7243         * lyxtext.h: remove almost all mutable keywords
7244         * text.C:
7245         * text2.C:
7246         * text3.C: remove const keywords accordingly
7247
7248 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7249
7250         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7251         anon namespace
7252         (TeXEnvironment): ditto
7253         (TeXOnePar): ditto
7254
7255 2003-03-17  John Levon  <levon@movementarian.org>
7256
7257         * text.C (rowBreakPoint): remove attempt to fix displayed
7258         math insets inside a manual label
7259
7260 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7261
7262         * lyxtext.h: remove BufferView* as first arg from almost all class
7263         functions.
7264         * other files: adjust.
7265
7266 2003-03-17  John Levon  <levon@movementarian.org>
7267
7268         * lyxtext.h:
7269         * undo_funcs.C:
7270         * text2.C: more paint cleanups
7271
7272         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7273
7274         * rowpainter.h:
7275         * rowpainter.C: remove "smart" background painting code
7276
7277 2003-03-16  John Levon  <levon@movementarian.org>
7278
7279         * lyxtext.h:
7280         * text.C:
7281         * text2.C:
7282         * text3.C: add helper functions for setting refresh_row/y
7283
7284 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7285
7286         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7287         newline inset which *can* get inserted in the pass_thru layouts.
7288         This is primarily for literate documents.
7289
7290 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7291
7292         * buffer.C: increment LYX_FORMAT to 223
7293
7294 2003-03-14 André Pönitz <poenitz@gmx.net>
7295
7296         * textclass.h: prepare for environment handling, ws changes
7297         * lyxlayout.C: read latexheader and latexfooter tags
7298
7299 2003-03-14  John Levon  <levon@movementarian.org>
7300
7301         * text2.C: rewrite ::status() a bit
7302
7303 2003-03-13  John Levon  <levon@movementarian.org>
7304
7305         * lyxtext.h: add some docs
7306
7307 2003-03-13  John Levon  <levon@movementarian.org>
7308
7309         * lyxtext.h:
7310         * text.C:
7311         * text2.C:
7312         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7313
7314 2003-03-13  John Levon  <levon@movementarian.org>
7315
7316         * text3.C: fix appendix redrawing
7317
7318 2003-03-13  John Levon  <levon@movementarian.org>
7319
7320         * text.C (setHeightOfRow):
7321         * rowpainter.h:
7322         * rowpainter.C: make appendix mark have the text
7323           "Appendix" so the user knows what it is
7324
7325         * LColor.h:
7326         * LColor.C: s/appendixline/appendix/ from above
7327
7328 2003-03-13  John Levon  <levon@movementarian.org>
7329
7330         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7331
7332         * text.C: fix a getChar(pos) bug properly
7333
7334 2003-03-13  Angus Leeming  <leeming@lyx.org>
7335
7336         * commandtags.h:
7337         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7338         Probably only temporary. Let's see how things pan out.
7339
7340         * BufferView.C (unlockInset):
7341         * BufferView_pimpl.C (fitCursor):
7342         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7343
7344         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7345         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7346
7347         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7348         new functions that convert ParagraphParameters to and from a string.
7349
7350         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7351         BufferView::Pimpl's dispatch.
7352         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7353
7354 2003-03-13 André Pönitz <poenitz@gmx.net>
7355
7356         * lyxfunc.C:
7357         * text3.C:
7358         * factory.C: make it aware of InsetEnv
7359
7360 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7361
7362         * text2.C (setCursor): never ask for one past last
7363         (setCursor): add some debugging messages.
7364
7365         * text.C (singleWidth): never ask for one past last
7366         (singleWidth): ditto
7367         (leftMargin): ditto
7368         (rightMargin): ditto
7369         (rowBreakPoint): ditto
7370         (setHeightOfRow): ditto
7371         (prepareToPrint): ditto
7372
7373         * rowpainter.C (paintBackground): never ask for one past last
7374         (paintText): never ask for one past last
7375
7376         * paragraph_pimpl.C (getChar): make the assert stricter, never
7377         allow the one past last pos to be taken
7378
7379         * paragraph.C (getChar): ws changes only
7380
7381         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7382         (numberOfSeparators): ditto
7383         (numberOfHfills): ditto
7384
7385 2003-03-12  John Levon  <levon@movementarian.org>
7386
7387         * author.h:
7388         * author.C:
7389         * bufferparams.h:
7390         * bufferparams.C:
7391         * paragraph_funcs.C: fix per-buffer authorlists
7392
7393 2003-03-12  John Levon  <levon@movementarian.org>
7394
7395         * text.C: fix newline in right address
7396
7397 2003-03-12  Angus Leeming  <leeming@lyx.org>
7398
7399         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7400         duplicate those in LyXFunc::dispatch.
7401
7402         * commandtags.h:
7403         * LyXAction.C:
7404         * ToolbarDefaults.C:
7405         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7406         Add LFUN_FONTFREE_UPDATE.
7407
7408         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7409         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7410
7411         * bufferview_func.[Ch]: several new functions to facilliate
7412         transfer of data to and from the character dialog.
7413
7414 2003-03-12  John Levon  <levon@movementarian.org>
7415
7416         * buffer.C:
7417         * paragraph.h:
7418         * paragraph.C:
7419         * paragraph_funcs.C:
7420         * paragraph_pimpl.C:
7421         * sgml.C:
7422         * tabular.C:
7423         * text.C:
7424         * text3.C: remove META_NEWLINE in favour of an inset
7425
7426         * rowpainter.h:
7427         * rowpainter.C: remove paintNewline (done by inset)
7428
7429 2003-03-12  John Levon  <levon@movementarian.org>
7430
7431         * paragraph_pimpl.C: complain about bad getChar()s
7432         for a while at least
7433
7434 2003-03-12  John Levon  <levon@movementarian.org>
7435
7436         * buffer.h:
7437         * buffer.C: move paragraph read into a separate function,
7438         a little renaming to reflect that.
7439
7440         * bufferparams.h:
7441         * bufferparams.C: remove the author_ids map, not necessary now
7442
7443         * factory.h:
7444         * factory.C: moved Buffer::readInset to here
7445
7446         * paragraph_funcs.h:
7447         * paragraph_funcs.C: readParagraph free function moved from
7448         buffer.C
7449
7450         * tabular.C: name change
7451
7452 2003-03-12  John Levon  <levon@movementarian.org>
7453
7454         * buffer.C:
7455         * ParagraphParameters.C: move par params input to
7456         a read() method
7457
7458         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7459         behave like a normal read from the stream wrt reading
7460         a line vs. a \\token
7461
7462 2003-03-12  John Levon  <levon@movementarian.org>
7463
7464         * paragraph.C:
7465         * ParagraphParameters.h:
7466         * ParagraphParameters.C: move output code to a
7467         ::write() method
7468
7469 2003-03-12  John Levon  <levon@movementarian.org>
7470
7471         * BufferView.C (insertLyXFile):
7472         * buffer.h:
7473         * buffer.C:
7474         * tabular.C: use a parlist iterator for creating the
7475           document.
7476
7477 2003-03-12  John Levon  <levon@movementarian.org>
7478
7479         * buffer.C: make current_change static local not
7480           static file-scope
7481
7482 2003-03-12  John Levon  <levon@movementarian.org>
7483
7484         * buffer.C: fix insertStringAsLines for change tracking
7485
7486 2003-03-12  John Levon  <levon@movementarian.org>
7487
7488         * BufferView.C:
7489         * tabular.C:
7490         * buffer.h:
7491         * buffer.C:
7492         * bufferparams.h:
7493         * bufferparams.C: move author list into params. Rename some
7494           functions. Move the header reading into a separate token
7495           loop. Move the header token reading into BufferParams.
7496
7497 2003-03-12  John Levon  <levon@movementarian.org>
7498
7499         * changes.C: put debug inside lyxerr.debugging() checks
7500
7501 2003-03-11 André Pönitz <poenitz@gmx.net>
7502
7503         * factory.C: make it aware of InsetHFill
7504
7505 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7506
7507         * buffer.C (latexParagraphs): move function from here...
7508         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7509         args.
7510
7511 2003-03-10  Angus Leeming  <leeming@lyx.org>
7512
7513         * LyXAction.C (init): fix bug in poplating array with multiple entries
7514         with the same LFUN (spotted by JMarc).
7515
7516 2003-03-10  John Levon  <levon@movementarian.org>
7517
7518         * text.C:
7519         * text2.C: move getColumnNearX() near its
7520         only call site
7521
7522 2003-03-10  John Levon  <levon@movementarian.org>
7523
7524         * text.C: fix break before a minipage
7525
7526 2003-03-10  John Levon  <levon@movementarian.org>
7527
7528         * text.C: fix the last commit
7529
7530 2003-03-09  John Levon  <levon@movementarian.org>
7531
7532         * lyxtext.h:
7533         * text.C:
7534         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7535         bug 365 (don't break before insets unless needed). Don't
7536         return a value > last under any circumstances.
7537
7538 2003-03-09  Angus Leeming  <leeming@lyx.org>
7539
7540         * BufferView_pimpl.C (trackChanges, dispatch): call
7541         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7542
7543 2003-03-09  Angus Leeming  <leeming@lyx.org>
7544
7545         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7546         than Dialogs::showAboutlyx().
7547
7548 2003-03-09  Angus Leeming  <leeming@lyx.org>
7549
7550         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7551         than Dialogs::showTabularCreate().
7552
7553 2003-03-09  John Levon  <levon@movementarian.org>
7554
7555         * lyxtext.h:
7556         * text.C:
7557         * text2.C: 3rd arg to nextBreakPoint was always the same.
7558           Use references.
7559
7560 2003-03-08  John Levon  <levon@movementarian.org>
7561
7562         * lyxrow.C:
7563         * paragraph.C:
7564         * paragraph.h:
7565         * rowpainter.C:
7566         * text.C:
7567         * text2.C: Remove the "main" bit from the "main body"
7568           notion.
7569
7570 2003-03-08  John Levon  <levon@movementarian.org>
7571
7572         * text.C (leftMargin): The left margin of an empty
7573         manual label paragraph should not include the label width
7574         string length.
7575
7576         * text.C (prepareToPrint): don't attempt to measure hfills
7577         for empty manual label paragraphs - the answer should be 0
7578
7579 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7580
7581         * CutAndPaste.C: remove commented code and reindent.
7582
7583 2003-03-08  John Levon  <levon@movementarian.org>
7584
7585         * lyxfunc.h:
7586         * lyxfunc.C: move reloadBuffer()
7587
7588         * BufferView.h:
7589         * BufferView.C: to here
7590
7591         * lyxvc.C: add comment
7592
7593         * vc-backend.h:
7594         * vc-backend.C: call bv->reload() to avoid
7595           getStatus() check on MENURELOAD
7596
7597 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7598
7599         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7600         to an old format .dep file.
7601
7602 2003-03-07  Angus Leeming  <leeming@lyx.org>
7603
7604         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7605         when the LFUN_MOUSE_RELEASE should have been handled by
7606         inset->localDispatch.
7607
7608 2003-03-07  Angus Leeming  <leeming@lyx.org>
7609
7610         * BufferView_pimpl.C (dispatch):
7611         * LyXAction.C (init):
7612         * ToolbarDefaults.C (init):
7613         * commandtags.h:
7614         * lyxfunc.C (getStatus):
7615         remove LFUN_INSET_GRAPHICS.
7616
7617         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7618
7619 2003-03-07  Angus Leeming  <leeming@lyx.org>
7620
7621         * commandtags.h:
7622         * LyXAction.C (init):
7623         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7624
7625         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7626
7627         * commandtags.h:
7628         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7629
7630         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7631         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7632
7633 2003-03-07  Angus Leeming  <leeming@lyx.org>
7634
7635         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7636         remove "ert".
7637
7638 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7639
7640         * ParagraphList.C (front): new function
7641         (back): implement
7642
7643 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7644
7645         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7646         and top_row_offset_. removed var first_y.
7647         * text.C (top_y):
7648         * text2.C (LyXText, removeRow):
7649         * text3.C:
7650         * BufferView_pimpl.C:
7651         use these methods instead of using first_y
7652
7653 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7654
7655         * text2.C (pasteSelection): adjust for checkPastePossible
7656
7657         * CutAndPaste.C: remove Paragraph * buf and replace with
7658         ParagraphList paragraphs.
7659         (DeleteBuffer): delete
7660         (cutSelection): change the tc type to textclass_type
7661         (copySelection): change the tc type to textclass_type
7662         (copySelection): adjust for ParagraphList
7663         (pasteSelection): change the tc type to textclass_type
7664         (pasteSelection): adjust for Paragraphlist
7665         (nrOfParagraphs): simplify for ParagraphList
7666         (checkPastePossible): simplify for ParagraphList
7667         (checkPastePossible): remove unused arg
7668
7669         * ParagraphList.C (insert): handle the case where there are no
7670         paragraphs yet.
7671
7672         * CutAndPaste.h: make CutAndPaste a namespace.
7673
7674         * text3.C (dispatch): adjust
7675
7676         * text.C (breakParagraph): add a ParagraphList as arg
7677
7678         * paragraph_funcs.C (breakParagraph): change to take a
7679         BufferParams and a ParagraphList as args.
7680         (breakParagraphConservative): ditto
7681         (mergeParagraph): ditto
7682         (TeXDeeper): add a ParagraphList arg
7683         (TeXEnvironment): ditto
7684         (TeXOnePar): ditto
7685
7686         * buffer.C (readLyXformat2): adjust
7687         (insertStringAsLines): adjust
7688         (latexParagraphs): adjust
7689
7690         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7691         (cutSelection): adjust
7692         (pasteSelection): adjust
7693
7694         * BufferView_pimpl.C (insertInset): adjust
7695
7696 2003-03-05  Angus Leeming  <leeming@lyx.org>
7697
7698         * commandtags.h:
7699         * LyXAction.C (init):
7700         * BufferView_pimpl.C (dispatch):
7701         * lyxfunc.C (getStatus):
7702         remove LFUN_CHILD_INSERT.
7703
7704         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7705
7706 2003-03-05  Angus Leeming  <leeming@lyx.org>
7707
7708         * commandtags.h:
7709         * LyXAction.C (init):
7710         * src/factory.C (createInset):
7711         * lyxfunc.C (getStatus):
7712         * text3.C (dispatch):
7713         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7714
7715         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7716
7717 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7718
7719         * ParagraphList.C (insert): handle insert right before end()
7720         (erase): fix cases where it can be first or last paragraph.
7721
7722 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7723
7724         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7725         Paragraph::next and Paragraph::previous
7726         (TeXOnePar): ditto
7727
7728         * text.C (breakParagraph): adjust
7729
7730         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7731         BufferParams& as arg.
7732         (breakParagraph): use ParagraphList::insert
7733         (breakParagraphConservative): take a Buffer* instead of a
7734         BufferParams& as arg.
7735         (breakParagraphConservative): use ParagraphList::insert.
7736
7737         * buffer.C (insertStringAsLines): un-const it
7738         (insertStringAsLines): adjust
7739
7740         * ParagraphList.C (insert): new function
7741
7742         * CutAndPaste.C (pasteSelection): adjust
7743
7744         * text.C (backspace): adjust
7745
7746         * tabular.C (SetMultiColumn): adjust
7747
7748         * CutAndPaste.C (cutSelection): adjust
7749         (pasteSelection): adjust
7750
7751         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7752         Buffer const * as arg
7753
7754         * ParagraphList.C (erase): new function
7755         * paragraph_funcs.C (mergeParagraph): use it
7756         (mergeParagraph): make it take a Buffer* instead of a
7757         BufferParams* as arg
7758
7759         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7760         as arg
7761         (breakParagraphConservative): ditto
7762
7763         * paragraph.h: remove the breakParagraph friend
7764
7765         * paragraph.C (eraseIntern): new function
7766         (setChange): new function
7767
7768         * paragraph_funcs.C (mergeParagraph): make it take a
7769         ParagraphList::iterator instead of a Paragraph *, adjust
7770         accordingly.
7771
7772         * paragraph.h: move an #endif so that the change tracking stuff
7773         also works in the NO_NEXT case.
7774
7775 2003-03-04  Angus Leeming  <leeming@lyx.org>
7776
7777         * commandtags.h:
7778         * LyXAction.C: new LFUN_INSET_MODIFY.
7779
7780         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7781         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7782
7783 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7784
7785         * several files: ws changes only
7786
7787         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7788         (TeXEnvironment): ditto
7789         (TeXDeeper): ditto
7790
7791         * buffer.C (makeLaTeXFile): adjust
7792         (latexParagraphs): make it take ParagraphList::iterator as args
7793
7794 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7795
7796         * buffer.C (latexParagraphs): adjust
7797
7798         * paragraph.C (TeXOnePar): move function...
7799         (optArgInset): move function...
7800         (TeXEnvironment): move function...
7801         * paragraph_pimpl.C (TeXDeeper): move function...
7802         * paragraph_funcs.C: ...here
7803
7804         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7805
7806 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7807
7808         * buffer.C (readInset): remove compability code for old Figure and
7809         InsetInfo insets
7810
7811 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7812
7813         * buffer.C: ws changes
7814         (readInset):
7815
7816         * BufferView_pimpl.C: ditto
7817         * author.C: ditto
7818         * buffer.h: ditto
7819         * bufferlist.h: ditto
7820         * changes.h: ditto
7821         * lyxfunc.C: ditto
7822
7823 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7824
7825         * converter.[Ch]: split into itself +
7826         * graph.[Ch]
7827         * format.[Ch]
7828         * Makefile.am: += graph.[Ch] + format.[Ch]
7829         * MenuBackend.C
7830         * buffer.C
7831         * exporter.C
7832         * importer.C
7833         * lyx_main.C
7834         * lyxfunc.C
7835         * lyxrc.C: added #include "format.h"
7836
7837 2003-02-27  Angus Leeming  <leeming@lyx.org>
7838
7839         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7840           a label.
7841
7842         * factory.C (createInset): add "label" to the factory.
7843
7844         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7845           string and do no more.
7846
7847 2003-02-27  Angus Leeming  <leeming@lyx.org>
7848
7849         * commandtags.h:
7850         * LyXAction.C (init):
7851         * factory.C (createInset):
7852         * BufferView_pimpl.C (dispatch):
7853           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7854
7855         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7856
7857         * lyxfunc.C (dispatch):
7858         * text3.C (dispatch): pass name to params2string.
7859
7860 2003-02-26  Angus Leeming  <leeming@lyx.org>
7861
7862         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7863           blocks together.
7864           Rearrange the ~includes. Strip out the unnecessary ones.
7865
7866         * factory.C (createInset): reformat.
7867           create new insets for the various LFUN_XYZ_APPLY lfuns.
7868
7869 2003-02-26  John Levon  <levon@movementarian.org>
7870
7871         * lyxrow.h:
7872         * lyxrow.C: add isParStart,isParEnd helpers
7873
7874         * paragraph.h: make isInserted/DeletedText take refs
7875
7876         * paragraph_funcs.h:
7877         * paragraph_funcs.C: remove #if 0'd code
7878
7879         * lyxtext.h:
7880         * text3.C:
7881         * text2.C:
7882         * text.C: use lyxrow helpers above.
7883           Move draw and paint routines to RowPainter.
7884           Make several methods use refs not pointers.
7885           Make backgroundColor() const.
7886           Add markChangeInDraw(), isInInset().
7887           Merge changeRegionCase into changeCase.
7888           Make workWidth() shouldn't-happen code into an Assert.
7889
7890         * rowpainter.h:
7891         * rowpainter.C: new class for painting a row.
7892
7893         * vspace.h:
7894         * vspace.C: make inPixels take a ref
7895
7896 2003-02-26  Angus Leeming  <leeming@lyx.org>
7897
7898         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7899         LFUN_REF_APPLY.
7900
7901 2003-02-25  John Levon  <levon@movementarian.org>
7902
7903         * ispell.C: give the forked command a more accurate name
7904
7905 2003-02-22  John Levon  <levon@movementarian.org>
7906
7907         * toc.h:
7908         * toc.C: make TocItem store an id not a Paragraph *
7909           (bug #913)
7910
7911 2003-02-21  Angus Leeming  <leeming@lyx.org>
7912
7913         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7914           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7915           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7916           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7917           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7918           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7919
7920         * BufferView_pimpl.C (dispatch):
7921         * LyXAction.C (init):
7922         * factory.C (createInset):
7923         * lyxfunc.C (getStatus, dispatch):
7924         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7925
7926 2003-02-21  Angus Leeming  <leeming@lyx.org>
7927
7928         * BufferView_pimpl.C (MenuInsertLyXFile):
7929         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7930         * lyxfunc.C (menuNew, open, doImport):
7931           no longer pass a LyXView & to fileDlg.
7932
7933 2003-02-21  Angus Leeming  <leeming@lyx.org>
7934
7935         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7936         * LyXAction.C: change, BIBKEY to BIBITEM.
7937         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7938         Change InsetBibKey to InsetBibitem.
7939         Change BIBKEY_CODE to BIBITEM_CODE.
7940         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7941         * factory.C: replace insetbib.h with insetbibitem.h.
7942         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7943         * paragraph.C: replace insetbib.h with insetbibitem.h.
7944         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7945         Change bibkey() to bibitem().
7946         * text.C: remove insetbib.h.
7947         * text2.C: replace insetbib.h with insetbibitem.h.
7948         change bibkey() to bibitem().
7949         * text3.C: remove insetbib.h.
7950         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7951
7952 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7953
7954         * lyxrc.C (output): enclose user email in quotes (in case there are
7955         several words)
7956
7957 2003-02-18  John Levon  <levon@movementarian.org>
7958
7959         * buffer.h: add std::
7960
7961 2003-02-17  John Levon  <levon@movementarian.org>
7962
7963         * SpellBase.h:
7964         * ispell.h:
7965         * ispell.C:
7966         * pspell.h:
7967         * pspell.C: reworking. Especially in ispell, a large
7968           number of clean ups and bug fixes.
7969
7970         * lyxfunc.C: fix revert to behave sensibly
7971
7972 2003-02-17 André Pönitz <poenitz@gmx.net>
7973
7974         * LyXAction.C:
7975         * commandtags.h: new LFUN_INSERT_BIBKEY
7976
7977         * layout.h:
7978         * lyxlayout.C:
7979         * buffer.C:
7980         * factory.C:
7981         * text.C:
7982         * text2.C:
7983         * text3.C:
7984         * paragraph.[Ch]:
7985         * paragraph_func.C: remove special bibkey handling
7986
7987 2003-02-17  John Levon  <levon@movementarian.org>
7988
7989         * text.C (Delete): fix case where delete at the end of
7990           the very first paragraph would not merge the pars
7991
7992 2003-02-17  John Levon  <levon@movementarian.org>
7993
7994         * lyxrow.C: fix lastPrintablePos()
7995
7996 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7997
7998         * bufferparams.C (writeLaTeX): add a std:here
7999
8000         * buffer.C: and remove a using directive there
8001
8002 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8003
8004         * buffer.C (makeLaTeXFile): move the code that generates the
8005           preamble...
8006
8007         * bufferparams.C (writeLaTeX): ... in this new method
8008
8009         * LaTeXFeatures.C (getEncodingSet): make const
8010           (getLanguages): make const
8011
8012         * MenuBackend.C (binding): returns the binding associated to this
8013           action
8014           (add): sets the status of each item by calling getStatus. Adds
8015           some intelligence.
8016           (read): add support for OptSubMenu
8017           (expand): remove extra separator at the end of expanded menu
8018
8019 2003-02-15  John Levon  <levon@movementarian.org>
8020
8021         * BufferView.C:
8022         * BufferView_pimpl.C:
8023         * bufferlist.h:
8024         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8025           inset code that had no actual effect. Remove unneeded status
8026           code.
8027
8028 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8029
8030         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8031           in preamble
8032
8033 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8034
8035         * text.C (drawLengthMarker): also draw an arrow marker for
8036           symbolic lengths (medskip...)
8037
8038 2003-02-14  John Levon  <levon@movementarian.org>
8039
8040         * tabular.h:
8041         * tabular.C: better method names
8042
8043 2003-02-14  John Levon  <levon@movementarian.org>
8044
8045         * BufferView_pimpl.C:
8046         * bufferlist.C:
8047         * buffer.C:
8048         * converter.C:
8049         * lyx_cb.C:
8050         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8051           it's a more accurate name. Remove some pointless uses.
8052
8053 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8054
8055         * text2.C (LyXText): change order of initilizers to shut off
8056           warnings
8057
8058 2003-02-14  John Levon  <levon@movementarian.org>
8059
8060         * buffer.C: use ParIterator for getParFromID()
8061
8062         * paragraph.h:
8063         * paragraph.C:
8064         * paragraph_pimpl.h:
8065         * paragraph_pimpl.C: remove unused getParFromID()
8066
8067 2003-02-14  John Levon  <levon@movementarian.org>
8068
8069         * buffer.C: remove some very old #if 0'd parse code
8070
8071 2003-02-13  John Levon  <levon@movementarian.org>
8072
8073         * text.h:
8074         * text.C:
8075         * text2.C: move hfillExpansion(), numberOfSeparators(),
8076           rowLast(), rowLastPrintable(), numberofHfills(),
8077           numberOfLabelHfills() ...
8078
8079         * lyxrow.h:
8080         * lyxrow.C: ... to member functions here.
8081
8082         * paragraph.h:
8083         * paragraph.C:
8084         * lyxtext.h:
8085         * text.C: remove LyXText::beginningOfMainBody(), and call
8086           p->beginningOfMainBody() directly. Move the check for
8087           LABEL_MANUAL into the latter.
8088
8089         * text.h:
8090         * text.C:
8091         * text2.C:
8092         * vspace.C:
8093         * BufferView.h:
8094         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8095
8096         * text.h:
8097         * text.C:
8098         * text2.C:
8099         * text3.C:
8100         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8101           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8102
8103 2003-02-13  John Levon  <levon@movementarian.org>
8104
8105         * CutAndPaste.C: remove debug
8106
8107 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8108
8109         * paragraph.C (asString): remove two unused variables
8110
8111         * lyxtextclass.C (readTitleType):
8112           (Read):
8113           (LyXTextClass): handle new members titletype_ and titlename_
8114
8115         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8116
8117 2003-02-09  John Levon  <levon@movementarian.org>
8118
8119         * buffer.h:
8120         * buffer.C: replace hand-coded list with a map for the dep clean
8121
8122 2003-02-08  John Levon  <levon@movementarian.org>
8123
8124         * LaTeX.C: consolidate code into showRunMessage() helper
8125
8126 2003-02-08  John Levon  <levon@movementarian.org>
8127
8128         * lyxfind.C:
8129         * lyxtext.h:
8130         * text2.C:
8131         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8132           and pass the size in explicitly
8133
8134         * BufferView_pimpl.h:
8135         * BufferView_pimpl.C:
8136         * BufferView.h:
8137         * BufferView.C: add getCurrentChange()
8138
8139         * BufferView_pimpl.h:
8140         * BufferView_pimpl.C: handle change lfuns
8141
8142         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8143           for changes. Mark pasted paragraphs as new.
8144
8145         * support/lyxtime.h:
8146         * support/lyxtime.C:
8147         * DepTable.C: abstract time_t as lyx::time_type
8148
8149         * LColor.h:
8150         * LColor.C: add colours for new text, deleted text, changebars
8151
8152         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8153           package use "usenames" option.
8154
8155         * commandtags.h:
8156         * lyxfunc.C:
8157         * LyXAction.C: add change lfuns
8158
8159         * Makefile.am:
8160         * author.h:
8161         * author.C: author handling
8162
8163         * buffer.h:
8164         * buffer.C: add a per-buffer author list, with first entry as
8165           current author. Handle new .lyx tokens for change tracking. Output
8166           author list to .lyx file. Output dvipost stuff to .tex preamble.
8167           Bump lyx format to 222.
8168
8169         * bufferlist.h:
8170         * bufferlist.C: add setCurrentAuthor() to reset current author details
8171           in all buffers.
8172
8173         * bufferparams.h:
8174         * bufferparams.C: add param for tracking
8175
8176         * bufferview_funcs.C: output change info in minibuffer
8177
8178         * Makefile.am:
8179         * changes.h:
8180         * changes.C: add change-tracking structure
8181
8182         * debug.h:
8183         * debug.C: add CHANGES debug flag
8184
8185         * lyxfind.h:
8186         * lyxfind.C: add code for finding the next change piece
8187
8188         * lyxrc.h:
8189         * lyxrc.C: add user_name and user_email
8190
8191         * lyxrow.h:
8192         * lyxrow.C: add a metric for the top of the text line
8193
8194         * lyxtext.h:
8195         * text.C: implement accept/rejectChange()
8196
8197         * lyxtext.h:
8198         * text.C: paint changebars. Paint new/deleted text in the chosen
8199         colours. Strike through deleted text.
8200
8201         * paragraph.h:
8202         * paragraph.C:
8203         * paragraph_pimpl.h:
8204         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8205           in the current change to the insert functions. Rework erase to
8206           mark text as deleted, adding an eraseIntern() and a range-based
8207           erase(). Implement per-paragraph change lookup and
8208           accept/reject.
8209
8210         * paragraph_funcs.C: Fixup paste for change tracking.
8211
8212         * tabular.C: mark added row/columns as new.
8213
8214         * text.C: fix rowLast() to never return -1. Don't allow
8215           spellchecking of deleted text. Track transpose changes. Don't
8216           allow paragraph break or merge where appropriate.
8217
8218         * text2.C: leave cursor at end of selection after a cut.
8219
8220 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8221
8222         * text.C (getLengthMarkerHeight):
8223         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8224         visible on screen too.
8225
8226 2003-02-07  John Levon  <levon@movementarian.org>
8227
8228         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8229
8230 2003-02-05  Angus Leeming  <leeming@lyx.org>
8231
8232         * lyxserver.C (read_ready): revert my patch of 11 September last year
8233         as it sends PC cpu through the roof. Presumably this means that
8234         the lyxserver will no longer run on an Alpha...
8235
8236 2003-01-30  Angus Leeming  <leeming@lyx.org>
8237
8238         * factory.C (createInset): create an InsetCommandParam of type "index"
8239         and use it to 'do the right thing'.
8240
8241         * text2.C (getStringToIndex): ensure that cursor position is always
8242         reset to the reset_cursor position.
8243
8244 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8245
8246         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8247         disabled.
8248
8249 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8250
8251         * bufferview.C:
8252         * lyxcb.C:
8253         * lyxfunc.C: Output messages with identical spelling, punctuation,
8254         and spaces
8255
8256 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8257
8258         * MenuBackend.C (expandFormats): List only viewable export formats
8259         in "View" menu
8260
8261         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8262         message
8263
8264         * lyxfunc.C (getStatus): Make sure that formats other than
8265         "fax" can also be disabled
8266
8267 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8268
8269         * text3.C (dispatch): put the lfuns that insert insets in 3
8270         groups, and call doInsertInset with appropriate arguments.
8271         (doInsertInset): new function, that creates an inset and inserts
8272         it according to some boolean parameters.
8273
8274 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8275
8276         * buffer.C (readFile): remember to pass on 'par' when calling
8277         readFile recursively.
8278
8279 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8280
8281         * MenuBackend.C (expandFormats): add "..." to import formats.
8282
8283 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8284
8285         * paragraph.C (asString): Remove XForms RTL hacks.
8286
8287 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8288         * buffer.C: fix typo
8289
8290 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8291
8292         * Makefile.am (LIBS): delete var
8293         (lyx_LDADD): add @LIBS@ here instead.
8294
8295 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8296
8297         * Clarify the meaning of "wheel mouse jump"
8298
8299 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8300
8301         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8302         tabular in a float
8303
8304 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8305
8306         * importer.C (Loaders): do not preallocate 3 elements in the
8307         vector, since one ends up with 6 elements otherwise
8308
8309 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8310
8311         * DepTable.C (write): write the file name as last element of the
8312         .dep file (because it may contain spaces)
8313         (read): read info in the right order
8314
8315 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8316
8317         * paragraph_pimpl.C (simpleTeXBlanks):
8318         (simpleTeXSpecialChars):
8319         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8320
8321         * tabular.C (latex): add some missing case statements. Reindent.
8322
8323         * MenuBackend.C (expandToc): remove unused variable.
8324
8325 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8326
8327         * LColor.C:
8328         * LaTeX.C:
8329         * LyXAction.C:
8330         * MenuBackend.C:
8331         * buffer.C:
8332         * exporter.C:
8333         * lyxfunc.C:
8334         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8335         and the like.
8336
8337 2003-01-05  John Levon  <levon@movementarian.org>
8338
8339         * BufferView.h:
8340         * BufferView.C: add getEncoding()
8341
8342         * kbsequence.h:
8343         * kbsequence.C: do not store last keypress
8344
8345         * lyxfunc.h:
8346         * lyxfunc.C: store last keypress here instead. Pass encoding
8347           to getISOEncoded()
8348
8349 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8350
8351         * lyx_main.C (init): remove annoying error message when following
8352         symbolic links (bug #780)
8353
8354 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8355
8356         * text.C (insertChar):
8357         * lyxrc.C (getDescription): remove extra spaces
8358
8359 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8360
8361         * lyxrc.C (getDescription): remove extra spaces
8362
8363 2002-12-20  John Levon  <levon@movementarian.org>
8364
8365         * text3.C: hack fix for page up/down across tall rows
8366
8367 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8368
8369         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8370         not been invoked
8371
8372 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8373
8374         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8375         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8376         thesaurus is not compiled in
8377
8378 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8379
8380         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8381
8382 2002-12-16  Angus Leeming  <leeming@lyx.org>
8383
8384         * lyxrc.[Ch]:
8385         * lyx_main.C (init): remove override_x_deadkeys stuff.
8386
8387 2002-12-12  John Levon  <levon@movementarian.org>
8388
8389         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8390           insert. Only remove shift modifier under strict
8391           circumstances.
8392
8393 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8394
8395         * MenuBackend.C (expandToc): fix crash.
8396
8397 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8398
8399         * MenuBackend.C (expandToc): gettext on float names.
8400
8401 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8402
8403         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8404         implement bool empty() [bug 490]
8405
8406 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8407
8408         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8409
8410 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8411
8412         * several files: ws changes
8413
8414 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8415
8416         * text2.C (setCounter): clean up a bit, use boost.format.
8417         (updateCounters): initialize par upon declaration.
8418
8419         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8420         if the layout exists. We do not just store the layout any more.
8421         (SwitchLayoutsBetweenClasses): use boost.format
8422
8423 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8424
8425         * converter.C (convert): if from and to files are the same, use a
8426         temporary files as intermediary
8427
8428 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8429
8430         * commandtags.h:
8431         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8432
8433 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8434
8435         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8436
8437 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8438
8439         * tabular.C (asciiPrintCell): use string(size, char) instead of
8440         explicit loop.
8441
8442         * sgml.C (openTag): fix order of arguments to string constructor
8443         (closeTag): ditto
8444
8445         * lyxfunc.C (dispatch): use boost.format
8446
8447         * lots of files: change "c" -> 'c'
8448
8449 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8450
8451         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8452
8453 2002-11-25  Angus Leeming  <leeming@lyx.org>
8454
8455         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8456
8457         * lyx_main.C (init): compile fix.
8458
8459 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8460
8461         * lyx_cb.C (start): boost.formatify
8462         do not include <iostream>
8463
8464         * lengthcommon.C: ws only
8465
8466         * boost-inst.C,BoostFormat.h: add more explict instantations
8467
8468 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8469
8470         * lots of files: handle USE_BOOST_FORMAT
8471
8472 2002-11-21  John Levon  <levon@movementarian.org>
8473
8474         * pspell.C: fix compile
8475
8476 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8477
8478         * lyxfunc.C (dispatch): use boost::format
8479         (open): ditto
8480         (doImport): ditto
8481
8482         * lyxfont.C (stateText): use boost::format
8483
8484         * lyx_main.C (LyX): use boost::format
8485         (init): ditto
8486         (queryUserLyXDir): ditto
8487         (readRcFile): ditto
8488         (parse_dbg): ditto
8489         (typedef boost::function): use the recommened syntax.
8490
8491         * importer.C (Import): use boost::format
8492
8493         * debug.C (showLevel): use boost::format
8494
8495         * converter.C (view): use boost::format
8496         (convert): ditto
8497         (move): ditto
8498         (scanLog): ditto
8499
8500         * bufferview_funcs.C (currentState): use boost::format
8501
8502         * bufferlist.C (emergencyWrite): use boost::format
8503
8504         * buffer.C (readLyXformat2): use boost::format
8505         (parseSingleLyXformat2Token): ditto
8506
8507         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8508
8509         * LaTeX.C (run): use boost::format
8510
8511         * Chktex.C (scanLogFile): use boost::format
8512
8513         * BufferView_pimpl.C (savePosition): use boost::format
8514         (restorePosition): ditto
8515         (MenuInsertLyXFile): ditto
8516
8517         * BoostFormat.h: help file for explicit instation.
8518
8519 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8520
8521         * tabular.C (latex): Support for block alignment in fixed width
8522         columns.
8523
8524 2002-11-17  John Levon  <levon@movementarian.org>
8525
8526         * BufferView_pimpl.C:
8527         * lyx_cb.C:
8528         * lyxfunc.C: split filedialog into open/save
8529
8530 2002-11-08  Juergen Vigna  <jug@sad.it>
8531
8532         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8533         by my last patch (hopefully).
8534
8535 2002-11-08  John Levon  <levon@movementarian.org>
8536
8537         * iterators.h:
8538         * iterators.C:
8539         * buffer.h:
8540         * buffer.C:
8541         * paragraph.h:
8542         * paragraph.C:
8543         * toc.h:
8544         * toc.C: ParConstIterator, and use it (from Lars)
8545
8546 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8547
8548         * lyxtextclass.[Ch]: revise and add doxygen comments
8549
8550 2002-11-07  John Levon  <levon@movementarian.org>
8551
8552         * text.C: fix progress value for spellchecker
8553
8554         * toc.C: fix navigate menu for insetwrap inside minipage
8555
8556         * paragraph_funcs.C: added FIXME for suspect code
8557
8558 2002-11-07  John Levon  <levon@movementarian.org>
8559
8560         * BufferView_pimpl.C: fix redrawing of insets
8561           on buffer switch
8562
8563 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8564
8565         * text2.C (updateCounters): fix bug 668
8566
8567 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8568
8569         * text3.C (dispatch): Do not make the buffer dirty when moving the
8570         cursor.
8571
8572 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8573
8574         * vc-backend.C: STRCONV
8575         (scanMaster): ditto
8576
8577         * text2.C (setCounter): STRCONV
8578
8579         * paragraph.C (asString): STRCONV
8580
8581         * lyxlength.C (asString): STRCONV
8582         (asLatexString): ditto
8583
8584         * lyxgluelength.C (asString): STRCONV
8585         (asLatexString): ditto
8586
8587         * lyxfunc.C (dispatch): STRCONV
8588         (open): ditto
8589
8590         * lyxfont.C (stateText): STRCONV
8591
8592         * importer.C (Import): STRCONV
8593
8594         * counters.C (labelItem): STRCONV
8595         (numberLabel): ditto
8596         (numberLabel): remove unused ostringstream o
8597
8598         * chset.C: STRCONV
8599         (loadFile): ditto
8600
8601         * bufferview_funcs.C (currentState): STRCONV
8602
8603         * buffer.C (readFile): STRCONV
8604         (asciiParagraph): ditto
8605         (makeLaTeXFile): ditto
8606
8607         * Spacing.C (writeEnvirBegin): STRCONV
8608
8609         * LaTeXFeatures.C (getLanguages): STRCONV
8610         (getPackages): ditto
8611         (getMacros): ditto
8612         (getBabelOptions): ditto
8613         (getTClassPreamble): ditto
8614         (getLyXSGMLEntities): ditto
8615         (getIncludedFiles): ditto
8616
8617         * LaTeX.C: STRCONV
8618         (run): ditto
8619         (scanAuxFile): ditto
8620         (deplog): ditto
8621
8622         * LString.h: add the STRCONV macros
8623
8624         * BufferView_pimpl.C (savePosition): STRCONV
8625         (restorePosition): ditto
8626         (MenuInsertLyXFile): ditto
8627
8628         * vc-backend.C (scanMaster): change from submatch[...] to
8629         submatch.str(...)
8630
8631         * funcrequest.C: include config.h
8632
8633         * factory.C: include config.h
8634
8635         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8636
8637         * box.C: include config.h
8638
8639         * LaTeX.C (scanAuxFile): change from submatch[...] to
8640         submatch.str(...)
8641         (deplog): ditto
8642
8643 2002-10-25  Angus Leeming  <leeming@lyx.org>
8644
8645         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8646
8647         * ispell.[Ch] (setError): new method.
8648         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8649         Use setError() insetead of goto END.
8650
8651         * lyx_cb.C (AutoSave): move out child process into new class
8652         AutoSaveBuffer.
8653
8654 2002-10-30  John Levon  <levon@movementarian.org>
8655
8656         * text3.C: make start appendix undoable
8657
8658 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8659
8660         * lyxlength.C (inPixels): Fix returned value.
8661
8662         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8663         environment.
8664
8665 2002-10-24  Angus Leeming  <leeming@lyx.org>
8666
8667         * lyxgluelength.h: no need to forward declare BufferParams
8668         or BufferView, so don't.
8669
8670 2002-10-21  John Levon  <levon@movementarian.org>
8671
8672         * BufferView.C: menuUndo ->undo, redo
8673
8674         * BufferView.h: document, remove dead, make some methods private
8675
8676         * paragraph_funcs.h:
8677         * paragraph_funcs.C:
8678         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8679
8680         * buffer.h:
8681         * buffer.C:
8682         * sgml.h:
8683         * sgml.C: move sgml open/close tag into sgml.C
8684
8685         * bufferview_funcs.h: unused prototype
8686
8687         * lyxfunc.h:
8688         * lyxfunc.C: remove unused
8689
8690         * lyxtext.h:
8691         * text.C: remove unused
8692
8693 2002-10-21  John Levon  <levon@movementarian.org>
8694
8695         * BufferView.h:
8696         * BufferView.C:
8697         * BufferView_pimpl.h:
8698         * BufferView_pimpl.C: fix mouse wheel handling based on
8699           patch from Darren Freeman
8700
8701 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8702
8703         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8704
8705 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8706
8707         * lyxlength.C (inPixels): Fix hanfling of negative length.
8708         Fix LyXLength::MU case.
8709
8710 2002-10-16  John Levon  <levon@movementarian.org>
8711
8712         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8713
8714 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8715
8716         * converter.C (view): add support for $$i (file name) and $$p
8717         (file path) for the viewer command. If $$i is not specified, then
8718         it is appended to the command (for compatibility with old syntax)
8719
8720 2002-10-14  Juergen Vigna  <jug@sad.it>
8721
8722         * undo_funcs.C (textHandleUndo): alter the order in which the
8723         new undopar is added to the LyXText, as we have to set first
8724         the right prev/next and then add it as otherwise the rebuild of
8725         LyXText is not correct. Also reset the cursor to the right paragraph,
8726         with this IMO we could remove the hack in "redoParagraphs()".
8727
8728 2002-10-09  Angus Leeming  <leeming@lyx.org>
8729
8730         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8731         to turn off an optimisation if a new inset is to be inserted.
8732
8733 2002-10-11 André Pönitz <poenitz@gmx.net>
8734
8735         * lyxtext.h: make some functions public to allow access
8736         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8737
8738 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8739
8740         * text3.C (dispatch): when changing layout, avoid an infinite loop
8741         [bug #652]
8742
8743 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8744
8745         * lyxrc.C (read): treat a viewer or converter command of "none" as
8746         if it were empty.
8747
8748         * MenuBackend.C (expandFormats): for an update, also allow the
8749         formats that are not viewable
8750
8751         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8752         script if it is newer than the lyxrc.defaults in user directory
8753
8754 2002-10-07 André Pönitz <poenitz@gmx.net>
8755
8756         * text.C: Vitaly Lipatov's small i18n fix
8757
8758 2002-09-25  Angus Leeming  <leeming@lyx.org>
8759
8760         * ispell.h: doxygen fix.
8761
8762 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8763
8764         * buffer.h (readFile): Add a new argument to the method, to allow
8765         reading of old-format templates.
8766
8767 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8768
8769         * toc.C (getTocList): Get TOC from InsetWrap.
8770
8771 2002-09-16  John Levon  <levon@movementarian.org>
8772
8773         * lyxfunc.C: check tabular for cut/copy too
8774
8775 2002-09-12  John Levon  <levon@movementarian.org>
8776
8777         * LyXAction.C: tidy
8778
8779         * factory.h:
8780         * factory.C: add header
8781
8782         * paragraph_funcs.h:
8783         * paragraph_funcs.C: cleanup
8784
8785 2002-09-11  John Levon  <levon@movementarian.org>
8786
8787         * PrinterParams.h: odd/even default to true
8788
8789 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8790
8791         * PrinterParams.h: update printer parameters for new xforms dialog
8792
8793 2002-09-11  Angus Leeming  <leeming@lyx.org>
8794
8795         * lyxserver.C (read_ready): re-write to make it more transparent
8796         and to make it work in coherent fashion under Tru64 Unix.
8797
8798 2002-09-11  André Pönitz <poenitz@gmx.net>
8799
8800         * commandtags.h:
8801         * LyXAction.C:
8802         * text3.C: implement LFUN_WORDSEL
8803
8804 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8805
8806         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8807         make floatlist_ a boost::shared_ptr<FloatList>
8808
8809         * lyxtextclass.C: include FloatList.h
8810         (LyXTextClass): initialize floatlist_
8811         (TextClassTags): add TC_NOFLOAT
8812         (Read): match "nofloat" to TC_NOFLOAT and use it.
8813         (readFloat): modify call to floatlist_
8814         (floats): ditto
8815         (floats): ditto
8816
8817         * FloatList.[Ch] (FloatList): remove commented out float
8818         initialization.
8819         (erase): new function
8820
8821 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8822
8823         * MenuBackend.C (expandToc): fix crash when there is no document
8824         open
8825
8826 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8827
8828         * many files: Add insetwrap.
8829
8830 2002-09-09  John Levon  <levon@movementarian.org>
8831
8832         * text2.C: remove confusing and awkward depth wraparound
8833
8834 2002-09-09  John Levon  <levon@movementarian.org>
8835
8836         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8837
8838         * buffer.h:
8839         * buffer.C: remove getIncludeonlyList()
8840
8841         * paragraph.C:
8842         * lyxfunc.C: remove headers
8843
8844 2002-09-09  Juergen Vigna  <jug@sad.it>
8845
8846         * text.C (getColumnNearX): fix form Michael this is most
8847         probably a cut&paste bug.
8848
8849 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8850
8851         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8852
8853         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8854         references, ws changes.
8855
8856         * text2.C (init): update counters after init
8857         (insertParagraph): no need to set counter on idividual paragraphs.
8858         (setCounter): access the counters object in the textclass object
8859         on in the buffer object.
8860         (updateCounters): ditto
8861
8862         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8863         shared_ptr<Counters> to avoid loading counters.h in all
8864         compilation units.
8865         (LyXTextClass): initialize ctrs_
8866         (TextClassTags): add TC_COUNTER, and ...
8867         (Read): use it here.
8868         (CounterTags): new tags
8869         (readCounter): new function
8870         (counters): new funtion
8871         (defaultLayoutName): return a const reference
8872
8873         * counters.C (Counters): remove contructor
8874         (newCounter): remove a couple of unneeded statements.
8875         (newCounter): simplify a bit.
8876         (numberLabel): some small formatting changes.
8877
8878         * buffer.[Ch]: remove all traces of counters, move the Counters
8879         object to the LyXTextClass.
8880
8881 2002-09-06  Alain Castera  <castera@in2p3.fr>
8882
8883         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8884         package to set the horizontal alignment on fixed width columns.
8885
8886         * lyx_sty.C:
8887         * lyx_sty.h: added tabularnewline macro def.
8888
8889         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8890
8891 2002-09-06  John Levon  <levon@movementarian.org>
8892
8893         * LyXAction.C: tooltips for sub/superscript
8894
8895         * MenuBackend.C: a bit more verbose
8896
8897         * lyxfunc.C: tiny clean
8898
8899         * undo_funcs.C: document undo_frozen
8900
8901 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8902
8903         * counters.C (Counters): add missing algorithm counter.
8904
8905         * text2.C (setCounter): lookup the counter with layouts latexname
8906         instead of by section number.
8907         (setCounter): use a hackish way to lookup the correct enum
8908         counter.
8909         a float name->type change
8910         reset enum couners with counter name directly instead of depth value.
8911
8912         * counters.C (Counters): remove the push_backs, change to use the
8913         float type not the float name.
8914         (labelItem): remove unused string, float name->type change
8915
8916         * counters.h: don't include vector, loose the enums and sects vectors
8917
8918 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8919
8920         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8921         (Read): add float->TC_FLOAT to textclassTags
8922         (Read): and handle it in the switch
8923         (readFloat): new function
8924
8925         * FloatList.C (FloatList): comment out the hardcoded float
8926         definitions.
8927
8928         * lyxlayout.h: ws change.
8929
8930 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8931
8932         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8933
8934 2002-09-03  Angus Leeming  <leeming@lyx.org>
8935
8936         * BufferView_pimpl.h: qualified name is not allowed in member
8937         declaration: WorkArea & Pimpl::workarea() const;
8938
8939         * factory.C: added using std::endl directive.
8940
8941         * text3.C: added using std::find and std::vector directives.
8942
8943 2002-08-29  André Pönitz <poenitz@gmx.net>
8944
8945         * lyxtext.h:
8946         * text2.C: remove unused member number_of_rows
8947
8948         * Makefile.am:
8949         * BufferView2.C: remove file, move contents to...
8950         * BufferView.C: ... here
8951
8952         * BufferView_pimpl.C:
8953         * factory.C: move more inset creation to factory
8954
8955         * vspace.C: avoid direct usage of LyXText, ws changes
8956
8957         * BufferView.[Ch]:
8958                 don't provide direct access to WorkArea, use two simple
8959                 acessors haveSelction() and workHeight() instead
8960
8961
8962 2002-08-29  John Levon  <levon@movementarian.org>
8963
8964         * BufferView_pimpl.C (dispatch): do not continue when
8965           no buffer
8966
8967 2002-08-28  André Pönitz <poenitz@gmx.net>
8968
8969         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8970
8971         * BufferView.h:
8972         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8973
8974 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8975
8976         * buffer.C: increment LYX_FORMAT to 221
8977
8978         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8979         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8980
8981         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8982
8983         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8984
8985 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8986
8987         * factory.C (createInset): use LyXTextClass::floats
8988
8989         * MenuBackend.C (expandFloatListInsert):
8990         (expandFloatInsert):
8991         (expandToc):
8992
8993         * text2.C (setCounter):
8994
8995         * LaTeXFeatures.C (useFloat):
8996         (getFloatDefinitions):
8997
8998         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8999
9000         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9001         floatlist_, with accessor floats().
9002
9003         * FloatList.h: remove global FloatList
9004
9005 2002-08-26  André Pönitz <poenitz@gmx.net>
9006
9007         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9008
9009         * BufferView.h:
9010         * BufferView2.C:
9011         * BufferView_pimpl.C:
9012         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9013
9014 2002-08-25  John Levon  <levon@movementarian.org>
9015
9016         * LyXAction.C: fix margin note description
9017
9018 2002-08-24  John Levon  <levon@movementarian.org>
9019
9020         * buffer.C:
9021         * bufferlist.C:
9022         * bufferview_funcs.C:
9023         * lyxfont.C:
9024         * undo_funcs.C: cleanups
9025
9026         * lyxfunc.C: disable CUT/COPY when no selection
9027
9028 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9029
9030         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9031         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9032
9033         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9034         Add backward compatibility to "mono", "gray" and "no".
9035
9036 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9037
9038         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9039         (and file_format >= 200).
9040
9041 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9042
9043         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9044
9045 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9046
9047         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9048
9049 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9050
9051         * BufferView_pimpl.C:
9052         * LyXAction.C:
9053         * buffer.C:
9054         * commandtags.h:
9055         * lyxfunc.C:
9056         * paragraph.[Ch]:
9057         * text2.C:
9058         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9059         inset and code to make it  work with the paragraph code. The inset
9060         can be anywhere in the paragraph, but will only do the expected
9061         thing in LaTeX if the layout file contains the parameter line
9062                         OptionalArgs    1
9063         (or more generally, a nonzero value) for that layout.
9064
9065 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9066
9067         * paragraph.h: remove the declaration of undefined counters class
9068         function.
9069
9070 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9071
9072         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9073         Dr. Richard Hawkins.
9074
9075 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9076
9077         * paragraph_funcs.h: remove some unneeded includes
9078
9079         * text.C (backspace): pasteParagraph now in global scipe
9080
9081         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9082         (pasteSelection): ditto
9083
9084         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9085         * paragraph_funcs.C (pasteParagraph): ... here
9086
9087 2002-08-20  André Pönitz <poenitz@gmx.net>
9088
9089         * commandtags.h: new LFUNs for swapping/copying table row/colums
9090
9091         * LyXAction.C:
9092         * lyxfunc.C: support for new lfuns
9093
9094 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9095
9096         * tabular.C:
9097         * buffer.[Ch]: remove NO_COMPABILITY stuff
9098
9099 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9100
9101         * boost.C (throw_exception): new file, with helper function for
9102         boost compiled without exceptions.
9103
9104         * paragraph.h:
9105         * lyxlength.C:
9106         * buffer.C:
9107         * ParameterStruct.h:
9108         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9109
9110         * bufferlist.C (emergencyWriteAll): use boost bind
9111
9112         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9113
9114         * text.C: include paragraph_funcs.h
9115         (breakParagraph): breakParagraph is now in global scope
9116
9117         * paragraph_funcs.[Ch]: new files
9118
9119         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9120         global scope
9121
9122         * buffer.C: include paragraph_funcs.h
9123         (insertStringAsLines): breakParagraph is now in global scope
9124
9125         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9126         paragraph_funcs.C
9127
9128         * CutAndPaste.C: include paragraph_funcs.h
9129         (cutSelection): breakParagraphConservative is now in global scope
9130         (pasteSelection): ditto
9131
9132         * buffer.h: declare oprator== and operator!= for
9133         Buffer::inset_iterator
9134
9135         * bufferlist.C (emergencyWrite): don't use fmt(...)
9136
9137         * text3.C: add using std::endl
9138
9139         * BufferView.C (moveCursorUpdate): remove default arg
9140
9141 2002-08-20  André Pönitz <poenitz@gmx.net>
9142
9143         * buffer.[Ch]: move inline functions to .C
9144
9145         * BufferView2.C:
9146         * BufferView_pimpl.C:
9147         * text.C:
9148         * buffer.[Ch]: use improved inset_iterator
9149
9150         * buffer.C:
9151         * paragraph.[Ch]: write one paragraph at a time
9152
9153 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9154
9155         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9156         style if style is not specified.
9157
9158 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9159
9160         * text2.C (setCounter): when searching for right label for a
9161         caption, make sure to recurse to parent insets (so that a caption
9162         in a minipage in a figure float works) (bug #568)
9163
9164 2002-08-20  André Pönitz <poenitz@gmx.net>
9165
9166         * text3.C: new file for LyXText::dispatch() and helpers
9167
9168         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9169
9170         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9171
9172 2002-08-19  André Pönitz <poenitz@gmx.net>
9173
9174         * lyxtext.h:
9175         * text.C: new LyXText::dispatch()
9176
9177         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9178
9179 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9180
9181         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9182
9183         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9184         Hebrew text.
9185
9186 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9187
9188         * Makefile.am: use $(variables) instead of @substitutions@
9189
9190 2002-08-15  André Pönitz <poenitz@gmx.net>
9191
9192         * lyxfunc.C:
9193         * BufferView_pimpl.C: streamlining mathed <-> outer world
9194         interaction
9195
9196         * commandtags.h:
9197         * LyXAction.C: remove unused LFUN_MATH
9198
9199 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9200
9201         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9202
9203 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9204
9205         * paragraph.C (Paragraph): reformat a bit
9206         (cutIntoMinibuffer): use builtin InsetList function instad of
9207         doing it manually.
9208         (getInset): ditto
9209
9210         * buffer.C: include boost/bind.hpp, add using std::for_each
9211         (writeFileAscii): use ParagraphList iterators
9212         (validate): use for_each for validate traversal of paragraphs
9213         (getBibkeyList): use ParagraphList iterators
9214         (resizeInsets): use for_each to resizeInsetsLyXText for all
9215         paragraphs.
9216         (getParFromID): use ParagraphList iterators
9217
9218         * BufferView2.C (lockInset): use paragraph list and iterators
9219
9220 2002-08-14  John Levon  <levon@movementarian.org>
9221
9222         * lyxserver.C: remove spurious xforms include
9223
9224 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9225
9226         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9227
9228 2002-08-13  André Pönitz <poenitz@gmx.net>
9229
9230         * LyXAction.[Ch]:
9231         * lyxfunc.C: further cleaning
9232
9233 2002-08-13  André Pönitz <poenitz@gmx.net>
9234
9235         * funcrequest.h: new constructor
9236
9237         * funcrequest.C: move stuff here from .h
9238
9239         * Makefile.am:
9240         * BufferView_pimpl.C:
9241         * LyXAction.C:
9242         * toc.C:
9243         * lyxfunc.C: subsequent changes
9244
9245         * lyxfunc.h: new view() member function
9246
9247         * lyxfunc.C: subsequent changes
9248
9249 2002-08-13  Angus Leeming  <leeming@lyx.org>
9250
9251         * BufferView2.C:
9252         * BufferView_pimpl.C:
9253         * buffer.C:
9254         * converter.C:
9255         * importer.C:
9256         * lyxfunc.C:
9257         * lyxvc.C:
9258         * toc.C:
9259         * vc-backend.C:
9260         changes due to the changed LyXView interface that now returns references
9261         to member variables not pointers.
9262
9263 2002-08-13  Angus Leeming  <leeming@lyx.org>
9264
9265         * WordLangTuple (word, lang_code): return references to strings,
9266         not strings.
9267
9268         * BufferView.h:
9269         * SpellBase.h:
9270         * lyxtext.h: forward-declare WordLangTuple.
9271
9272         * BufferView2.C:
9273         * ispell.C:
9274         * pspell.C:
9275         * text.C: #include "WordLangTuple.h".
9276
9277         * lyxtext.h:
9278         * text.C: (selectNextWordToSpellcheck): constify return type.
9279
9280 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9281
9282         * buffer.C:
9283         * buffer.h:
9284         * lyxtext.h:
9285         * paragraph.C:
9286         * paragraph_pimpl.h:
9287         * text.C:
9288         * text2.C:
9289         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9290         suggested by Angus.
9291         Made updateCounter always count from start of buffer, and removed
9292         second argument (par).
9293         Reverted floats number display to '#'. Perhaps I'll try again when the
9294         code base is sanitized a bit.
9295
9296 2002-08-12  Angus Leeming  <leeming@lyx.org>
9297
9298         * buffer.[Ch] (getLabelList): constify.
9299
9300 2002-08-07  André Pönitz <poenitz@gmx.net>
9301
9302         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9303
9304         * funcrequest.h: extension to keep mouse (x,y) position
9305
9306 2002-08-12  Juergen Vigna  <jug@sad.it>
9307
9308         * BufferView2.C (insertErrors): forbid undo when inserting error
9309         insets.
9310
9311         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9312
9313 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9314
9315         * ParagraphList.[Ch]: new files
9316
9317         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9318
9319         * BufferView2.C (lockInset): ParagraphList changes
9320         * toc.C: ditto
9321         * text2.C: ditto
9322         * bufferlist.C: ditto
9323         * buffer.h: ditto
9324         * buffer.C: ditto
9325
9326 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9327
9328         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9329         unused class variable counter_,
9330
9331         * paragraph.[Ch] (getFirstCounter): delete unused function
9332
9333         * counters.C: include LAssert.h
9334         (reset): add a new function with no arg, change other version to
9335         not have def. arg and to not allow empty arg.
9336
9337         * text2.C (setCounter): remove empty arg from call to Counters::reset
9338
9339 2002-08-11  John Levon  <levon@movementarian.org>
9340
9341         * Makefile.am: add WordLangTuple.h
9342
9343 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9344
9345         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9346         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9347
9348         * insets/insettext.C: InsetList changes
9349
9350         * graphics/GraphicsSupport.C (operator()): InsetList changes
9351
9352         * toc.C (getTocList): InsetList changes
9353
9354         * paragraph_pimpl.[Ch]: InsetList changes
9355
9356         * paragraph.[Ch]: InsetList changes
9357
9358         * buffer.C (inset_iterator): InsetList changes
9359         (setParagraph): ditto
9360         * buffer.h (inset_iterator): ditto
9361         * iterators.C (operator++): ditto
9362         * iterators.h: ditto
9363
9364         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9365
9366         * InsetList.[Ch]: new files, most InsetList handling moved out of
9367         paragraph.C.
9368
9369         * BufferView2.C (removeAutoInsets): InsetList changes
9370         (lockInset): ditto
9371         (ChangeInsets): ditto
9372
9373 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9374
9375         * paragraph_pimpl.h (empty): new function
9376
9377         * paragraph.[Ch] (empty): new function
9378
9379         * other files: use the new Paragraph::empty function
9380
9381 2002-08-09  John Levon  <levon@movementarian.org>
9382
9383         * lyxtext.h: remove unused refresh_height
9384
9385 2002-08-09  John Levon  <levon@movementarian.org>
9386
9387         * Makefile.am:
9388         * sgml.h:
9389         * sgml.C:
9390         * buffer.C:
9391         * paragraph.h:
9392         * paragraph.C: move sgml char escaping out of paragraph
9393
9394         * paragraph.h:
9395         * paragraph.C: remove id setter
9396
9397         * buffer.C:
9398         * paragraph.C:
9399         * paragraph_pimpl.C: remove dead tex_code_break_column
9400
9401         * bufferview_funcs.C: small cleanup
9402
9403         * lyxfunc.C: remove dead proto
9404
9405         * lyxtext.h: make some stuff private. Remove some dead stuff.
9406
9407         * lyxgluelength.C: make as[LyX]String() readable
9408
9409 2002-08-08  John Levon  <levon@movementarian.org>
9410
9411         * LyXAction.h:
9412         * LyXAction.C:
9413         * MenuBackend.C:
9414         * ToolbarDefaults.C:
9415         * lyxfunc.C:
9416         * lyxrc.C:
9417         * toc.C: lyxaction cleanup
9418
9419 2002-08-08  John Levon  <levon@movementarian.org>
9420
9421         * BufferView2.C: small cleanup
9422
9423         * lyxfind.h:
9424         * lyxfind.C: move unnecessary header into the .C
9425
9426 2002-08-08  John Levon  <levon@movementarian.org>
9427
9428         * funcrequest.h: just tedious nonsense
9429
9430         * lyx_main.h:
9431         * lyx_main.C: cleanups
9432
9433         * buffer.C:
9434         * vspace.C: remove dead header lyx_main.h
9435
9436 2002-08-07  Angus Leeming  <leeming@lyx.org>
9437
9438         * Paragraph.[Ch]:
9439         * paragraph_pimpl.h:
9440         Forward declare class Counters in paragraph.h by moving the ctrs member
9441         variable into Paragraph::Pimpl.
9442         (counters): new method, returning a reference to pimpl_->ctrs.
9443
9444         * text2.C: ensuing changes.
9445
9446 2002-08-07  John Levon  <levon@movementarian.org>
9447
9448         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9449
9450         * BufferView_pimpl.C: announce X selection on double/triple
9451           click
9452
9453         * lyx_main.C: use correct bool in batch dispatch
9454
9455         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9456
9457 2002-08-07  André Pönitz <poenitz@gmx.net>
9458
9459         * funcrequest.h: new class to wrap a kb_action and its argument
9460
9461         * BufferView.[Ch]:
9462         * BufferView_pimpl[Ch]:
9463         * LaTeX.C:
9464         * LyXAction.[Ch]:
9465         * lyxfunc.[Ch]:
9466         * lyxrc.C: subsequent changes
9467
9468
9469 2002-08-07  John Levon  <levon@movementarian.org>
9470
9471         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9472           document options change.
9473
9474 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9475
9476         * counters.[Ch]
9477         * text2.C
9478         * paragraph.[Ch]
9479         * makefile.am: move counters functionality over from
9480         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9481
9482 2002-08-06  John Levon  <levon@movementarian.org>
9483
9484         * WordLangTuple.h: new file for word + language code tuple
9485
9486         * SpellBase.h:
9487         * pspell.h:
9488         * pspell.C:
9489         * ispell.h:
9490         * ispell.C:
9491         * lyxtext.h:
9492         * text.C:
9493         * text2.C:
9494         * BufferView.h:
9495         * BufferView2.C: use WordLangTuple
9496
9497         * layout.h:
9498         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9499
9500 2002-08-06  John Levon  <levon@movementarian.org>
9501
9502         * lyx_main.C: fix cmdline batch handling
9503
9504 2002-08-06  André Pönitz <poenitz@gmx.net>
9505
9506         * lyxrc.C: set default for show_banner to true
9507
9508 2002-08-06  John Levon  <levon@movementarian.org>
9509
9510         * pspell.C: fix a crash, and allow new aspell to work
9511
9512 2002-08-06  John Levon  <levon@movementarian.org>
9513
9514         * lyxfunc.C:
9515         * kbmap.C: small cleanup
9516
9517         * vspace.h:
9518         * vspace.C: add const
9519
9520 2002-08-05  John Levon  <levon@movementarian.org>
9521
9522         * LyXAction.C: back to tabular-insert
9523
9524 2002-08-04  John Levon  <levon@movementarian.org>
9525
9526         * BufferView.h:
9527         * BufferView.C: cosmetic change
9528
9529         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9530
9531         * bufferlist.C:
9532         * buffer.h:
9533         * buffer.C:
9534         * lyxcb.h:
9535         * lyxcb.C:
9536         * lyxserver.C:
9537         * lyxvc.C:
9538         * vc-backend.C:
9539         * BufferView2.C: purge all "Lyx" not "LyX" strings
9540
9541         * lyxcursor.h:
9542         * lyxcursor.C: attempt to add some documentation
9543
9544         * lyxfunc.C:
9545         * commandtags.h:
9546         * LyXAction.C:
9547         * ToolbarDefaults.C:
9548         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9549           merge with LFUN_TABULAR_INSERT
9550
9551         * Makefile.am:
9552         * SpellBase.h:
9553         * ispell.h:
9554         * ispell.C:
9555         * pspell.h:
9556         * pspell.C: split up i/pspell implementations into separate
9557           files, many cleanups
9558
9559         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9560
9561         * text2.C: some cleanup
9562
9563         * lyxfunc.C: don't check for isp_command == "none" any more, it
9564           didn't make any sense
9565
9566 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9567
9568         * counters.[Ch]
9569         * text2.C
9570         * paragraph.[Ch]
9571         * makefile.am: move counters functionality over
9572         from text2.C/paragraph.[Ch] to counters.[Ch], and
9573         make proper C++.
9574 2002-08-02  John Levon  <levon@movementarian.org>
9575
9576         * buffer.C: s/lyxconvert/lyx2lyx/
9577
9578 2002-08-02  Angus Leeming  <leeming@lyx.org>
9579
9580         * lyxlex.C: revert John's change as it breaks reading of the user
9581         preamble.
9582
9583 2002-08-02  Angus Leeming  <leeming@lyx.org>
9584
9585         * importer.C (Import):
9586         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9587         changes due to LyXView::view() now returning a boost::shared_ptr.
9588
9589 2002-08-02  John Levon  <levon@movementarian.org>
9590
9591         * lyxlex.C: small cleanup
9592
9593 2002-08-02  John Levon  <levon@movementarian.org>
9594
9595         * text2.C (status): small cleanup, no logic change
9596
9597 2002-08-01  John Levon  <levon@movementarian.org>
9598
9599         * buffer.h:
9600         * buffer.C (writeFile): don't output alerts, caller
9601           handles this
9602
9603         * bufferlist.C:
9604         * lyx_cb.C: from above
9605
9606         * lyxfunc.C: allow to open non-existent files
9607
9608 2002-07-31  John Levon  <levon@movementarian.org>
9609
9610         * lyxserver.C: don't let incidental errors get
9611           in the way (errno)
9612
9613 2002-07-30  John Levon  <levon@movementarian.org>
9614
9615         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9616
9617 2002-07-30  John Levon  <levon@movementarian.org>
9618
9619         * lyxserver.h:
9620         * lyxserver.C: remove I/O callback too
9621
9622 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9623
9624         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9625         log.
9626
9627 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9628
9629         * many files: strip,frontStrip -> trim,ltrim,rtrim
9630
9631 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9632
9633         * PrinterParams.h: remove extern containsOnly, and include
9634         support/lstrings.h instead.
9635
9636         * LaTeX.C (scanAuxFile): modify because of strip changes
9637         (deplog): ditto
9638         * buffer.C (makeLaTeXFile): ditto
9639         * bufferparams.C (writeFile): ditt
9640         * lyxfont.C (stateText): ditto
9641         * lyxserver.C (read_ready): ditto
9642         * vc-backend.C (scanMaster): ditto
9643
9644         * BufferView_pimpl.h: ws changes
9645
9646         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9647
9648 2002-07-26  André Pönitz <poenitz@gmx.net>
9649
9650         * kb_sequence.C: remove unnedred usings
9651
9652 2002-07-26  Juergen Vigna  <jug@sad.it>
9653
9654         * lyxfind.C (LyXReplace): we have to check better if the returned
9655         text is not of theLockingInset()->getLockingInset().
9656
9657 2002-07-25  Juergen Vigna  <jug@sad.it>
9658
9659         * lyxfind.C (LyXReplace): don't replace if we don't get the
9660         right LyXText.
9661
9662         * undo_funcs.C (createUndo): remove debugging code.
9663
9664 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9665
9666         * buffer.C (parseSingleLyXformat2Token): Use default placement
9667         when reading old floats.
9668
9669         * FloatList.C (FloatList): Change the default placement of figure
9670         and tables to "tbp".
9671
9672 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9673
9674         * MenuBackend.C: using std::max
9675
9676 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9677
9678         * MenuBackend.C (expandToc):
9679         (expandToc2): code moved from xforms menu frontend. It is now
9680         generic and TOCs are transparent to menu frontends.
9681
9682 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9683
9684         * toc.C (getTocList): protect against buf=0
9685
9686         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9687         Menu as first parameter. Now, this calls itself recursively to
9688         expand a whole tree (this will be useful for TOC handling)
9689         (expandFloatInsert): remove 'wide' version of floats
9690
9691         * MenuBackend.h (submenuname): returns the name of the submenu.
9692         (submenu): returns the submenu itself, provided it has been
9693         created by MenuBackend::expand
9694
9695 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9696
9697         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9698         insets which have noFontChange == true. (bug #172)
9699
9700 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9701
9702         * BufferView_pimpl.C: add connection objects and use them...
9703         (Pimpl): here.
9704
9705 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9706
9707         * MenuBackend.C (expandLastfiles):
9708         (expandDocuments):
9709         (expandFormats):
9710         (expandFloatListInsert):
9711         (expandFloatInsert):
9712         (expand): split expand in parts
9713
9714 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9715
9716         * lyx_gui.C: use lyx_gui::exit()
9717
9718 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9719
9720         * LyXAction.C: show the failing pseudo action
9721
9722 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9723
9724         * buffer.C (readFile): Run the lyxconvert script in order to read
9725         old files.
9726
9727 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9728
9729         * LyXAction.C:
9730         * commandtags.h:
9731         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9732
9733 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9734
9735         * LyXAction.C:
9736         * commandtags.h:
9737         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9738
9739 2002-07-22  Herbert Voss  <voss@lyx.org>
9740
9741         * lengthcommon.C:
9742         * lyxlength.[Ch]: add support for the vertical lengths
9743
9744 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9745
9746         * toc.[Ch]: std:: fixes
9747
9748 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9749
9750         * lyxrc.C: do not include lyx_main.h
9751
9752         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9753         for layouts
9754
9755         * lyxrc.C:
9756         * encoding.C:
9757         * bufferlist.C:
9758         * BufferView2.C: include "lyxlex.h"
9759
9760         * tabular.h:
9761         * bufferparams.h: do not #include "lyxlex.h"
9762
9763         * lyxtextclasslist.C (Add): remove method
9764         (classlist): renamed to classlist_
9765
9766         * paragraph_pimpl.C:
9767         * paragraph.C:
9768         * text2.C:
9769         * CutAndPaste.C:
9770         * bufferview_funcs.C:
9771         * bufferlist.C:
9772         * text.C:
9773         * LaTeXFeatures.C:
9774         * buffer.C:
9775         * toc.C (getTocList): use BufferParams::getLyXTextClass
9776
9777         * toc.C (getTocList): use InsetFloat::addToToc
9778
9779         * toc.[Ch]: new files, containing helper functions to handle table
9780         of contents
9781
9782         * lyxfunc.C (dispatch): no need to remove spaces around command
9783         given as a string
9784         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9785         first command of the sequence; it is not very clever, but I do not
9786         have a better idea, actually
9787
9788         * LyXAction.C (LookupFunc): make sure to remove space at the
9789         beginning and end of the command
9790
9791 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9792
9793         * MenuBackend.C (getMenubar): new method: return the menubar of
9794         this menu set
9795         (read): treat differently reading of menu and menubar (in
9796         particular, the menubar has no name now)
9797         (Menu::menubar): remove
9798
9799         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9800         saving is finished
9801
9802 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9803
9804         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9805         a bibitem inset in a RTL paragraph.
9806
9807 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9808
9809         * paragraph_pimpl.C: constify
9810
9811         * BufferView_pimpl.C:
9812         * LaTeX.C:
9813         * lyxfunc.C: fix dispatch in a nicer way
9814
9815 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9816
9817         * lyxfunc.C (dispatch):
9818         * BufferView_pimpl.C:
9819         * BufferView_pimpl.h:
9820         * BufferView.C:
9821         * BufferView.h: rename Dispatch() to dispatch()
9822
9823         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9824
9825         * lyxlayout.C (Read): honor DependsOn tag
9826
9827         * lyxlayout.[Ch] (depends_on): new method
9828
9829         * version.C.in: update lyx_docversion
9830
9831         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9832
9833         * paragraph.C (validate): remove from here...
9834         * paragraph_pimpl.C (validate): ... and move here
9835         (isTextAt): make it const
9836
9837         * buffer.C (getLists): ws cleanup
9838
9839 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9840
9841         * language.C (read): Use iso8859-1 encoding in latex_lang
9842         (this prevents LyX from crashing when using iso10646-1 encoding).
9843
9844 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9845
9846         * text2.C (toggleInset): if cursor is inside an inset, close the
9847         inset and leave cursor _after_ it
9848
9849 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9850
9851         * lyxfunc.C: move minibuffer completion handling out of here
9852
9853 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9854
9855         * BufferView_pimpl.C:
9856         * LaTeX.C: fix dispatch calls
9857
9858 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9859
9860         * text.C (drawChars): Fix Arabic text rendering.
9861
9862 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9863
9864         * LyXAction.C:
9865         * commandtags.h:
9866         * lyxfunc.C: remove message-push/pop
9867
9868         * lyxserver.C:
9869         * lyxfunc.h:
9870         * lyxfunc.C: rationalise some code by removing verboseDispatch
9871           in favour of a bool argument to dispatch()
9872
9873 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9874
9875         * lyx_main.C (init): make sure to read symlinks as absolute paths
9876
9877 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9878
9879         * lyxfunc.h:
9880         * lyxfunc.C: no need for commandshortcut to be a member
9881
9882 2002-07-15  André Pönitz <poenitz@gmx.net>
9883
9884         * converter.C: add support for $$s (scripts from lib/scripts dir)
9885         * lyx_main.C: white space
9886
9887 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9888
9889         * bufferlist.C:
9890         * lyxrc.h:
9891         * lyxrc.C: remove second exit confirmation
9892
9893 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9894
9895         * BufferView.h:
9896         * BufferView.C:
9897         * BufferView2.C:
9898         * BufferView_pimpl.h:
9899         * BufferView_pimpl.C:
9900         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9901
9902 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9903
9904         * MenuBackend.C (expand): add numeric shortcuts to document menu
9905
9906         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9907
9908 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9909
9910         * lyxfont.C (setLyXFamily):
9911         (setLyXSeries):
9912         (setLyXShape):
9913         (setLyXSize):
9914         (setLyXMisc):
9915         (lyxRead):
9916         * debug.C (value):
9917         * buffer.C (asciiParagraph): use ascii_lowercase
9918
9919 2002-07-15  Mike Fabian  <mfabian@suse.de>
9920
9921         * lyxlex_pimpl.C (search_kw):
9922         * lyxlex.C (getLongString):
9923         * converter.h (operator<):
9924         * converter.C (operator<):
9925         * buffer.C (parseSingleLyXformat2Token):
9926         (asciiParagraph):
9927         * ToolbarDefaults.C (read):
9928         * MenuBackend.C (checkShortcuts):
9929         (read):
9930         * LColor.C (getFromGUIName):
9931         (getFromLyXName): use the compare_ascii_no_case instead of
9932         compare_no_case, because in turkish, 'i' is not the lowercase
9933         version of 'I', and thus turkish locale breaks parsing of tags.
9934
9935 2002-07-16  Angus Leeming  <leeming@lyx.org>
9936
9937         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9938         now takes a Buffer const & argument.
9939
9940 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9941
9942         * BufferView.C (resize): check there's a buffer to resize
9943
9944 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9945
9946         * lyxfunc.C: remove dead code
9947
9948         * lyxserver.h:
9949         * lyxserver.C: use lyx_guii::set_read_callback
9950
9951 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9952
9953         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9954         an inset in a RTL paragraph.
9955
9956 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9957
9958         * lyxfunc.C: repaint after a font size update
9959
9960 2002-07-15  André Pönitz <poenitz@gmx.net>
9961
9962         * lyxlength.C: inBP should be able to return negative values
9963
9964 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9965
9966         * lyxfunc.C: use lyx_gui::update_fonts()
9967
9968 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9969
9970         * lyxfunc.C: use lyx_gui::update_color()
9971
9972 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9973
9974         * bufferlist.C:
9975         * lyxfunc.h:
9976         * lyxfunc.C:
9977         * lyxrc.h:
9978         * lyxrc.C: remove file->new asks for name option, and let
9979           buffer-new take an argument
9980
9981 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9982
9983         * BufferView_pimpl.C: remove unneeded extra repaint()
9984
9985 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9986
9987         * LyXAction.C: allow command-sequence with NoBuffer
9988
9989         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9990
9991 2002-07-10  Angus Leeming  <leeming@lyx.org>
9992
9993         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9994
9995 2002-07-09  Angus Leeming  <leeming@lyx.org>
9996
9997         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9998
9999 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10000
10001         * lengthcommon.h: whitespace
10002
10003         * lyxfunc.C: update scrollbar after goto paragraph
10004
10005         * lyxtext.h: factor out page break drawing, and fix it so
10006           page break/added space paints as selected nicely
10007
10008 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10009
10010         * BufferView_pimpl.C: add FIXMEs, clean up a little
10011
10012 2002-07-09  André Pönitz <poenitz@gmx.net>
10013
10014         * lyxfont.[Ch]: support for wasy symbols
10015
10016 2002-07-08  André Pönitz <poenitz@gmx.net>
10017
10018         * BufferView_pimpl.C: apply John's patch for #93.
10019
10020 2002-07-05  Angus Leeming  <leeming@lyx.org>
10021
10022         * BufferView_pimpl.C (buffer): generate previews if desired.
10023
10024         * LColor.h: add "preview" to the color enum.
10025
10026         * LColor.C (LColor): add a corresponding entry to the items array.
10027
10028         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10029         with this buffer.
10030
10031 2002-07-05  Angus Leeming  <leeming@lyx.org>
10032
10033         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10034         The body of the code is now in the method that is passed an ostream &
10035         rather than a file name.
10036         Pass an additional only_preamble parameter, useful for the forthcoming
10037         preview stuff.
10038
10039 2002-07-03  André Pönitz <poenitz@gmx.net>
10040
10041         * lyxfunc.C: simplify getStatus() a bit for math stuff
10042
10043 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10044
10045         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10046
10047 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10048
10049         * text.C (changeRegionCase): do not change case of all the
10050         document when region ends at paragraph end (bug #461)
10051
10052 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10053
10054         * paragraph.C (startTeXParParams):
10055         (endTeXParParams): add \protect when necessary
10056
10057 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10058
10059         * BufferView_pimpl.C (workAreaExpose): remove warning
10060
10061 2002-06-27  Angus Leeming  <leeming@lyx.org>
10062
10063         * Makefile.am: add lyxlayout_ptr_fwd.h.
10064
10065 2002-06-26  André Pönitz <poenitz@gmx.net>
10066
10067         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10068
10069 2002-06-25  Angus Leeming  <leeming@lyx.org>
10070
10071         * lyxfunc.C (dispatch): Comment out the call to
10072         grfx::GCache::changeDisplay. The method no longer exists now that the
10073         pixmap generation part of the graphics loader has been moved into
10074         InsetGraphics.
10075
10076 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10077
10078         * text2.C: layout as layout
10079
10080         * text.C: layout as layout
10081
10082         * tabular.C (OldFormatRead): layout as layout
10083
10084         * paragraph_pimpl.C (TeXDeeper): layout as layout
10085         (realizeFont): layout as layout
10086
10087         * paragraph.C (writeFile): layout as layout
10088         (validate): layout as layout
10089         (getFont): layout as layout
10090         (getLabelFont): layout as layout
10091         (getLayoutFont): layout as layout
10092         (breakParagraph): layout as layout
10093         (stripLeadingSpaces): layout as layout
10094         (getEndLabel): layout as layout
10095         (getMaxDepthAfter): layout as layout
10096         (applyLayout): layout as layout
10097         (TeXOnePar): layout as layout
10098         (simpleTeXOnePar): layout as layout
10099         (TeXEnvironment): layout as layout
10100         (layout): layout as layout
10101         (layout): layout as layout
10102
10103         * lyxtextclass.C (compare_name): new functor to work with
10104         shared_ptr, layout as layout
10105         (Read): layout as layout
10106         (hasLayout): layout as layout
10107         (operator): layout as layout
10108         (delete_layout): layout as layout
10109         (defaultLayout): layout as layout
10110
10111         * lyxlayout_ptr_fwd.h: new file
10112
10113         * lyxlayout.C (Read): layout as layout
10114
10115         * lyx_cb.C (MenuInsertLabel): layout as layout
10116
10117         * bufferlist.C (newFile): layout as layout
10118
10119         * buffer.C (readLyXformat2): layout as layout
10120         (parseSingleLyXformat2Token): layout as layout
10121         (insertStringAsLines): layout as layout
10122         (asciiParagraph): layout as layout
10123         (latexParagraphs): layout as layout
10124         (makeLinuxDocFile): layout as layout
10125         (simpleLinuxDocOnePar): layout as layout
10126         (makeDocBookFile): layout as layout
10127         (simpleDocBookOnePar): layout as layout
10128         (getLists): layout as layout
10129
10130         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10131
10132         * CutAndPaste.C (cutSelection): layout as layout
10133         (pasteSelection): layout as layout
10134         (SwitchLayoutsBetweenClasses): layout as layout
10135
10136         * BufferView_pimpl.C (Dispatch): layout as layout
10137         (smartQuote): layout as layout
10138
10139         * BufferView2.C (unlockInset): layout as layout
10140
10141 2002-06-24  André Pönitz <poenitz@gmx.net>
10142
10143         * lyxfunc.C: fix #487
10144
10145 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10146
10147         * lyxrc.h:
10148         * lyxrc.C:
10149         * lyxfunc.C: remove display_shortcuts, show_banner
10150
10151 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10152
10153         * Buffer_pimpl.C: oops, update on resize
10154
10155 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10156
10157         * buffer.C:
10158         * converter.C:
10159         * exporter.C:
10160         * lyxfunc.C:
10161         * BufferView.h:
10162         * BufferView.C: use repaint()
10163
10164         * BufferView_pimpl.h:
10165         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10166           as it's a clearer description. Remove superfluous
10167           redraws.
10168
10169 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10170
10171         * text.C: fix bug 488. Not ideal, but getting
10172           getWord() to work properly for the insets that
10173           matter is more difficult ...
10174
10175 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10176
10177         * BufferView_pimpl.C:
10178         * LyXAction.C:
10179         * commandtags.h:
10180         * lyxfunc.C: remove the six million index lyxfuncs to just
10181           one, and DTRT (bug 458)
10182
10183 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10184
10185         * BufferView.h:
10186         * BufferView.C:
10187         * BufferView_pimpl.h:
10188         * BufferView_pimpl.C: clean up resize() stuff,
10189           and unnecessary updateScreen()s
10190
10191 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10192
10193         * BufferView.h:
10194         * BufferView.C:
10195         * BufferView_pimpl.h:
10196         * BufferView_pimpl.C:
10197         * lyxfind.h:
10198         * lyxfind.C:
10199         * minibuffer.C: remove focus management of workarea,
10200           not needed. Use screen's greyOut()
10201
10202 2002-06-17  Herbert Voss  <voss@lyx.org>
10203
10204         * converter.C: (convert) do not post a message, when converting
10205         fails, let the calling function decide what to do in this case
10206
10207 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10208
10209         * lyxfunc.C: tidy up a little
10210
10211 2002-06-16    <alstrup@diku.dk>
10212
10213         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10214         Got rid of FORMS_H_LOCATION include. Now we are
10215         GUII.
10216
10217 2002-06-15  LyX Development team  <lyx@rilke>
10218
10219         * buffer.[Ch] (sgmlOpenTag):
10220         (sgmlCloseTag): Added support for avoiding pernicious mixed
10221         content. Return number of lines written.
10222
10223         (makeLinuxDocFile):
10224         (makeDocBookFile): Fixed calls to sgml*Tag.
10225         Simple white space clean.
10226
10227         (simpleDocBookOnePar): Simple white space clean.
10228
10229         * tabular.[Ch] (docBook): Renamed to docbook and got another
10230         argument to related with the pernicious mixed content.
10231
10232         (docbookRow): Fixed calls for docbook inset method.
10233
10234 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10235
10236         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10237         so it's X11 independent.
10238
10239         * kb*.[Ch]: ditto.
10240
10241         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10242
10243 2002-06-15  Lyx Development team  <lyx@electronia>
10244
10245         * intl.h: Renamed getTrans to getTransManager.
10246
10247 2002-06-14  Angus Leeming  <leeming@lyx.org>
10248
10249         * Makefile.am: nuke forgotten stl_string_fwd.h.
10250
10251 2002-06-12  Angus Leeming  <leeming@lyx.org>
10252
10253         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10254
10255 2002-06-13  Angus Leeming  <leeming@lyx.org>
10256
10257         * LaTeX.C:
10258         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10259
10260 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10261
10262         * kbmap.C (getiso): add support for cyrillic and greek
10263
10264 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10265
10266         * BufferView.h:
10267         * BufferView.C:
10268         * BufferView_pimpl.h:
10269         * BufferView_pimpl.C: move bogus scrolling logic
10270           to xforms
10271
10272 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10273
10274         * lyxfunc.C:
10275         * BufferView_pimpl.C: view->resize() change
10276
10277 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10278
10279         * BufferView_pimpl.C: topCursorVisible
10280           prototype change
10281
10282 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10283
10284         * Makefile.am:
10285         * lyx_gui.h:
10286         * lyx_gui.C: move to frontends/
10287
10288         * main.C:
10289         * lyx_main.h:
10290         * lyx_main.C: changes from above
10291
10292 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10293
10294         * intl.C:
10295         * intl.h:
10296         * kbmap.C:
10297         * kbsequence.C:
10298         * lyx_cb.C:
10299         * lyx_main.C: minor tidy
10300
10301 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10302
10303         * BufferView_pimpl.h:
10304         * BufferView_pimpl.C:
10305         * BufferView.h:
10306         * BufferView.C: make painter() const,
10307           remove dead code
10308
10309         * BufferView2.C: use screen() accessor
10310
10311         * lyx_main.h:
10312         * lyx_main.C: some minor cleanup
10313
10314 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10315
10316         * BufferView_pimpl.h:
10317         * BufferView_pimpl.C: remove enter/leaveView,
10318           use workHeight()
10319
10320 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10321
10322         * BufferView.h:
10323         * BufferView.C:
10324         * BufferView2.C:
10325         * BufferView_pimpl.h:
10326         * BufferView_pimpl.C: only construct screen once,
10327           rename
10328
10329         * lyxrc.C: remove pointless comment
10330
10331 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10332
10333         * BufferView.h:
10334         * BufferView.C: remove active() and belowMouse()
10335
10336         * BufferView_pimpl.h:
10337         * BufferView_pimpl.C: use workarea() not workarea_,
10338           and make it use a scoped_ptr instead
10339
10340 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10341
10342         * lyx_gui.C: add debug message on BadWindow
10343
10344 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10345
10346         * sp_spell.C: fdopen is not part of the C++ standard.
10347
10348         * paragraph.C (InsetIterator): use >= instead of ==
10349
10350 2002-06-07  Angus Leeming  <leeming@lyx.org>
10351
10352         Fixes needed to compile with Compaq cxx 6.5.
10353         * BufferView_pimpl.C:
10354         * DepTable.C:
10355         * buffer.C:
10356         * converter.C:
10357         * encoding.C:
10358         * lyx_gui.C:
10359         * lyx_main.C:
10360         * lyxtextclasslist.C:
10361         * minibuffer.C:
10362         * sp_spell.C:
10363         * tabular_funcs.C:
10364         * vc-backend.C:
10365         all c-library variables have been moved into namespace std. Wrap
10366         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10367
10368         * lyxlength.C:
10369         * tabular-old.C:
10370         * tabular.C:
10371         Add a using std::abs declaration.
10372
10373         * kbmap.h (modifier_pair):
10374         * paragraph.h (InsetTable, InsetList):
10375         * lyxfont.h (FontBits):
10376         type definition made public.
10377
10378         * bufferlist.C (emergencyWriteAll): the compiler complains that
10379         there is more than one possible lyx::class_fun template to choose from.
10380         I re-named the void specialisation as lyx::void_class_fun.
10381
10382         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10383
10384         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10385         the compiler is is unable to find tostr in write_attribute.
10386
10387 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10388
10389         * buffer.C (sgmlError): hide #warning
10390
10391 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10392
10393         * xtl/*: get rid of xtl, which is not in use anyway
10394
10395         * LyXAction.C (init):
10396         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10397         were unimplemented xtl experimentation
10398
10399 2002-06-04  André Pönitz <poenitz@gmx.net>
10400
10401         * lyxfunc.C: disable array operation on simple formulae
10402
10403 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10404
10405         * converter.C: constify a bit
10406
10407 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10408
10409         * lyx_gui.C: check xforms version correctly
10410
10411 2002-04-30  Herbert Voss  <voss@lyx.org>
10412
10413         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10414         "keep" option
10415
10416 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10417
10418         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10419           attempt to register it with a VCS)
10420
10421 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10422
10423         * lyx_main.C (init): honor variables LYX_DIR_13x and
10424         LYX_USERDIR_13x
10425
10426 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10427
10428         * buffer.h:
10429         * buffer.C:
10430         * lyx_main.C: fix a crash on bad command line,
10431           and give a useful exit status on error
10432
10433         * lyxfunc.C (doImport): allow -i lyx to work
10434
10435 2002-03-30  André Pönitz <poenitz@gmx.net>
10436
10437         * lyxfunc.C: mathed font changes
10438
10439 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10440
10441         * LaTeX.C:
10442         * importer.h:
10443         * importer.C:
10444         * lyx_sty.h:
10445         * lyx_sty.C:
10446         * lyxlex.C:
10447         * lyxrow.h:
10448         * lyxtext.h:
10449         * paragraph.h:
10450         * paragraph.C:
10451         * texrow.h:
10452         * texrow.C:
10453         * text.C:
10454         * trans_mgr.h: srcdocs, and some minor cleanups
10455
10456 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10457
10458         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10459         call getFont all the time)
10460
10461 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10462
10463         * switch from SigC signals to boost::signals
10464
10465 2002-05-29  André Pönitz <poenitz@gmx.net>
10466
10467         * paragraph_pimpl.C (getChar): don't call size() too often...
10468
10469 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10470
10471         * paragraph_pimpl.C (insertChar): do not try to update tables when
10472         appending (pos == size())
10473
10474         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10475         in order to reduce drastically the number of comparisons needed to
10476         parse a large document
10477
10478 2002-05-29  André Pönitz <poenitz@gmx.net>
10479
10480         * text.C:
10481         * text2.C:
10482         * lyxtextclass.C:
10483         * sp_pspell.h:
10484         * textclasslist.[Ch]:
10485         * sp_ispell.h: whitespace change
10486
10487 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10488
10489         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10490         lyxaction directly now.
10491
10492 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10493
10494         * trans.C:
10495         * lyxfont.C:
10496         * lyxvc.C: remove unused headers
10497
10498 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10499
10500         * Makefile.am:
10501         * buffer.h:
10502         * undostack.h:
10503         * undostack.C:
10504         * undo_funcs.h:
10505         * undo_funcs.C: some cleanups. Use shared_ptr
10506           and a template for the undo stacks.
10507
10508 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10509
10510         * BufferView_pimpl.h:
10511         * BufferView_pimpl.C:
10512         * kbmap.h:
10513         * kbmap.C:
10514         * kbsequence.h:
10515         * kbsequence.C:
10516         * lyxfunc.h:
10517         * lyxfunc.C:
10518         * text2.C: use key_state/mouse_state
10519
10520 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10521
10522         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10523         and LSubstring
10524
10525         * chset.C: change include order
10526         (loadFile): use boost regex and get rid of LRegex and LSubstring
10527
10528         * Makefile.am (BOOST_LIBS): new variable
10529         (lyx_LDADD): use it
10530
10531         * LaTeX.C: change include order.
10532         (scanAuxFile): use boost regex and get rid of LRegex and
10533         LSubstring
10534         (deplog): ditto
10535
10536 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10537
10538         * ColorHandler.h:
10539         * ColorHandler.C:
10540         * FontInfo.h:
10541         * FontInfo.C: moved to frontends/xforms/
10542
10543         * FontLoader.h:
10544         * FontLoader.C: moved into frontends for GUIIzation
10545
10546         * Makefile.am:
10547         * lyx_gui.C:
10548         * lyxfont.C:
10549         * lyxfunc.C: changes from above
10550
10551 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10552
10553         * LColor.C: remove spurious X include
10554
10555         * BufferView_pimpl.C:
10556         * Makefile.am:
10557         * font.h:
10558         * font.C:
10559         * text.C:
10560         * text2.C: move font metrics to frontends/
10561
10562 2002-05-24  Juergen Vigna  <jug@sad.it>
10563
10564         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10565         setting the undo_cursor.
10566
10567         * ParagraphParameters.h: include local includes first.
10568
10569 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10570
10571         * BufferView_pimpl.C:
10572         * BufferView_pimpl.h:
10573         * Makefile.am:
10574         * WorkArea.h:
10575         * WorkArea.C:
10576         * screen.C: move WorkArea into frontends/
10577
10578         * lyxscreen.h:
10579         * screen.C:
10580         * text.C:
10581         * BufferView.C:
10582         * BufferView2.C: move LyXScreen into frontends/
10583
10584         * lyxlookup.h:
10585         * lyxlookup.C:
10586         * lyx_gui.C: move lyxlookup into frontends/xforms/
10587
10588 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10589
10590         * BufferView2.C:
10591         * BufferView_pimpl.C:
10592         * FontLoader.C:
10593         * LyXView.h:
10594         * LyXView.C:
10595         * Makefile.am:
10596         * WorkArea.C:
10597         * XFormsView.h:
10598         * XFormsView.C:
10599         * buffer.C:
10600         * bufferlist.C:
10601         * bufferview_funcs.C:
10602         * converter.C:
10603         * importer.C:
10604         * lyx_cb.C:
10605         * lyx_gui.C:
10606         * lyx_main.C:
10607         * lyx_find.C:
10608         * lyxfunc.C:
10609         * lyxvc.C:
10610         * minibuffer.C:
10611         * text.C:
10612         * text2.C:
10613         * trans.C:
10614         * vc-backend.C: move LyX/XFormsView into frontends/
10615
10616 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10617
10618         * Makefile.am:
10619         * PainterBase.C:
10620         * PainterBase.h:
10621         * Painter.C:
10622         * Painter.h:
10623         * WorkArea.C:
10624         * WorkArea.h:
10625         * screen.C:
10626         * tabular.C:
10627         * text.C:
10628         * text2.C: move Painter to frontends/
10629
10630 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10631
10632         * buffer.C: comment out some some code that depend upon lyx_format
10633         < 220
10634
10635         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10636         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10637
10638         * buffer.h (NO_COMPABILITY): turn off compability
10639
10640         * ColorHandler.C: include scoped_array.hpp
10641
10642         * font.C: Use more specific smart_ptr header.
10643         * Painter.C: ditto
10644         * gettext.C: ditto
10645         * ShareContainer.h: ditto
10646         * lyx_main.h: ditto
10647         * kbmap.h: ditto
10648         * FontInfo.h: ditto
10649         * BufferView_pimpl.h: ditto
10650         * ColorHandler.h: ditto
10651
10652         * kbmap.C (defkey): change call to shared_ptr::reset
10653
10654 2002-05-21  Juergen Vigna  <jug@sad.it>
10655
10656         * buffer.C (insertErtContents): fix to insert ert asis if it is
10657         non empty. Skip it completely if it contains only whitespaces.
10658
10659 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10660
10661         * BufferView_pimpl.C:
10662         * BufferView2.C: clear selection on paste (bug 393)
10663
10664 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10665
10666         * DepTable.C: include ctime
10667
10668 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10669
10670         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10671
10672 2002-05-14  Juergen Vigna  <jug@sad.it>
10673
10674         * text.C (breakParagraph): fixed function to honor the keepempty
10675         layout in the right maner and also to permit the right breaking
10676         algorithm on empty or non empyt keepempty paragraphs.
10677
10678         * paragraph.C (breakParagraph): we have to check also if the par
10679         is really empty (!size()) for isempty otherwise we do the wrong
10680         paragraph break.
10681
10682 2002-05-10  Juergen Vigna  <jug@sad.it>
10683
10684         * buffer.[Ch] : The following are only changes to the ert
10685         compatibility read reading old LaTeX layout and font stuff and
10686         convert it to ERTInsets.
10687
10688         * buffer.h: added isErtInset().
10689
10690         * buffer.C (struct ErtComp): add a fromlayout bool to check
10691         if we're inside a LaTeX layout.
10692         (isErtInset): new helper function.
10693         (insertErtContents): look for other ert insets before this one
10694         and insert the contents there, so that we don't have subsequent
10695         ERT insets with nothing between them. This way we create only one
10696         inset with multiple paragraphs. Also check if we don't insert only
10697         spaces ' ' as they are ignored anyway afterwards in the .tex file
10698         so if we have only spaces we will ignore this latex part in the
10699         new file.
10700         (parseSingleLyXformat2Token \\layout): better compatibility when
10701         reading layout-latex stuff.
10702         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10703         language tag.
10704         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10705         stuff after reading the inset only get the information back from
10706         the stack.
10707
10708 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10709
10710         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10711
10712         * LaTeXFeatures.C (getBabelOptions): New method.
10713
10714 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10715
10716         * BufferView_pimpl.C (Dispatch): work around missing argument for
10717         'layout'
10718
10719 2002-05-08  Juergen Vigna  <jug@sad.it>
10720
10721         * text.C (leftMargin): handle paragraph leftindent.
10722
10723         * paragraph.C (writeFile): write the new \\leftindent tag.
10724         (validate): handle leftindent code.
10725         (TeXEnvironment): handle paragraphleftindent code again.
10726
10727         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10728
10729         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10730         for paragrap_extra indent code and new token \\leftindent.
10731         (latexParagraphs): handle the leftindent as environment.
10732
10733         * ParameterStruct.h: added leftindent support.
10734
10735         * ParagraphParameters.C (leftIndent): added support functions for
10736         the paragraph left indent.
10737
10738         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10739         more appropriate.
10740
10741 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10742
10743         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10744         inside insetERT.
10745
10746         * text.C (computeBidiTables): No bidi in insetERT.
10747
10748         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10749         in RTL documents.
10750
10751 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10752
10753         * version.C.in: pre 5
10754
10755 2002-05-02  José Matos  <jamatos@fep.up.pt>
10756         * buffer.C (makeDocBookFile): white space changes, add newline to
10757         command styles.
10758         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10759
10760         * tabular.C (docBook): fix typo.
10761
10762 2002-05-03  Juergen Vigna  <jug@sad.it>
10763
10764         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10765         change in LyXText as we can not be sure it was not freed.
10766         (drawOneRow): remove unused code.
10767
10768         * text.C (drawInset): redo the calculation of the need_break_row as
10769         it could have a row which was already freed.
10770         (draw): look at the return value of drawInset and return false if
10771         it also returned false.
10772         (paintRowText): look at the return value of draw and return false if
10773         it also returned false.
10774
10775         * lyxtext.h: added bool return type to drawInset() and draw() so that
10776         if we have a change in the row so that the rowbreak has to be redone
10777         we abort drawing as it will be called again.
10778
10779 2002-05-02  Juergen Vigna  <jug@sad.it>
10780
10781         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10782         a change in the maintext also if we're inside an inset.
10783         (Dispatch): set the cursor again after a break line and after the
10784         screen has been updated as it could be we're in a different row.
10785
10786         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10787         to set the cursor behind the pargraph with > size().
10788         (setCursor): check also for the same paragraph when checking where
10789         to put the cursor if we have a NFR inset.
10790
10791         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10792         parts of layout read further up as it still was in the wrong
10793         position.
10794
10795 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10796
10797         * screen.C (drawFromTo): change sine fullRebreak always return
10798         true.
10799
10800         * buffer.C (parseSingleLyXformat2Token): reindent some
10801
10802         * BufferView_pimpl.C (update): change since fullRebreak always
10803         return true.
10804         (Dispatch): git rid of the last hardcoded "Standard"s.
10805
10806 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10807
10808         * text2.[Ch] (fullRebreak): make it return void now that we always
10809         returned true.
10810
10811 2002-04-30  Juergen Vigna  <jug@sad.it>
10812
10813         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10814         ert compatibility check for "latex" layout.
10815
10816 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10817
10818         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10819         minipages: use col% instead of p%, and also use the current font.
10820         (makeLaTeXFile): Fix use babel condition.
10821         (parseSingleLyXformat2Token): Correct font when reading old floats.
10822
10823 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10824
10825         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10826         inserting list of floats.
10827
10828 2002-04-25  Herbert Voss  <voss@lyx.org>
10829
10830         * MenuBackend.C (expand): don't add the graphics extensions to the
10831         export menu
10832
10833 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10834
10835         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10836         non-existing layout, do not complain if it was the default layout
10837         of the original class (bug #342)
10838
10839 2002-04-24  Juergen Vigna  <jug@sad.it>
10840
10841         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10842         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10843
10844 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10845
10846         * buffer.C (getBibkeyList): If using \bibliography, return the
10847         option field with the reference itself. Enables us to provide natbib
10848         support when using \bibliography.
10849
10850 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10851
10852         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10853
10854         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10855         natbib is provided by the LaTeX class.
10856
10857 2002-04-23  Juergen Vigna  <jug@sad.it>
10858
10859         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10860         Wakeup functions.
10861
10862         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10863
10864 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10865
10866         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10867
10868         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10869         ensuremath around textordmasculine, textordfeminine and
10870         textdegree.
10871
10872 2002-04-19  Juergen Vigna  <jug@sad.it>
10873
10874         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10875         reinitializing the buffer otherwise row-dimensions may be wrong.
10876         (update): reset also the selection cursors if they do exits otherwise
10877         their x/y positions may be wrong.
10878
10879         * text2.C (cursorDown): don't enter the inset if we came from a row
10880         above and are one row over the inset.
10881
10882         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10883         really leaving an inset.
10884
10885 2002-04-18  Juergen Vigna  <jug@sad.it>
10886
10887         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10888         of the selected paragraph does not have the selected layout also if
10889         the last one had!
10890
10891         * text2.C (setLayout): fixed bug which did not change last selected
10892         paragraph.
10893
10894         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10895         changed the read and substituted \\end_float with \\end_inset!
10896
10897         * BufferView_pimpl.C (cursorPrevious):
10898         (cursorNext): fixed to make it work with rows heigher than the work
10899         area without moving the cursor only the draw of the row.
10900         (workAreaMotionNotify): fix jumping over high rows.
10901
10902 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10903
10904         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10905         Ressler.
10906
10907 2002-04-16  Juergen Vigna  <jug@sad.it>
10908
10909         * text2.C (setCursor): set also the irow().
10910         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10911         (cursorUp):
10912         (cursorDown): support for locking an inset if the x_fix value goes
10913         inside it. That way I can transverse insets too with cursor up/down.
10914
10915         * lyxrow.h: added irow helper function same as other (i) functions.
10916
10917         * BufferView_pimpl.C (cursorPrevious):
10918         (cursorNext): fixed for insets!
10919
10920 2002-04-15  Juergen Vigna  <jug@sad.it>
10921
10922         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10923         position otherwise it is wrong in some cases.
10924
10925         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10926         inside the inset before the call.
10927
10928 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10929
10930         * buffer.[Ch] (getBibkeyList): make it const.
10931
10932 2002-04-12  Juergen Vigna  <jug@sad.it>
10933
10934         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10935
10936         * text2.C (getCursorX): new helper function
10937         (setCursor): compute also ix_
10938         (setCursorFromCoordinates): set also ix.
10939
10940         * lyxcursor.h: added ix_ and helper functions.
10941
10942         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10943
10944         * buffer.C (insertStringAsLines): dont break paragraph if the this
10945         paragraph is inside an inset which does not permit it!
10946
10947         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10948         also with no chars on this paragraph.
10949         (paintRowText): only paint stuff if it's inside the workarea!
10950
10951         * paragraph.C (breakParagraph): honor keepempty flag and break the
10952         paragraph always below not above.
10953
10954         * BufferView2.C (unlockInset): update the paragraph layout on inset
10955         unlock as we changed paragraph in such a case.
10956
10957         * lyxfind.C (LyXFind): clear the former selection if not found!
10958
10959         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10960         again called in insertChar().
10961
10962         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10963         an inset which uses the whole row!
10964         (rightMargin): ditto.
10965         (insertChar): force a rebreak if we inserted an inset!
10966
10967 2002-03-28  Herbert Voss  <voss@lyx.org>
10968
10969         * lyxlength.[Ch]: add inBP() to get the right PS-point
10970         units (BigPoint). With inPixels we have rounding errors
10971
10972 2002-04-11  Juergen Vigna  <jug@sad.it>
10973
10974         * text2.C (setCursorFromCoordinates): set iy to the right value.
10975         (setCursor): add check if row->previous exists!
10976
10977         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10978         an old float_type as this was the case in the old code!
10979
10980         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10981
10982         * BufferView2.C (showLockedInsetCursor): use iy
10983         (fitLockedInsetCursor): ditto
10984
10985         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10986         locked insets as there we have the right value now.
10987
10988         * lyxcursor.C: added iy_ variable and iy functions to set to the
10989         baseline of cursor-y of the locked inset.
10990
10991         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10992         (setCursor): fixed for insets which need a full row.
10993
10994         * text.C (rowLastPrintable): don't ignore the last space when before
10995         an inset which needs a full row.
10996         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10997         as last character of a row when before a inset which needs a full row.
10998
10999 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11000
11001         * version.C.in: update date
11002
11003         * text2.C (fullRebreak): try to always return true and see what
11004         happens...
11005
11006 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11007
11008         * MenuBackend.C (expand): use Floating::listName
11009
11010         * FloatList.C (FloatList): add listName argument to the built-in
11011         floats
11012
11013         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11014         text associated with the float.
11015
11016 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11017
11018         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11019
11020 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11021
11022         * ShareContainer.h: add a couple of missing typenames.
11023
11024 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11025
11026         * lyxrc.C (getDescription): use _() correctly rather than N_().
11027
11028 2002-03-28  Herbert Voss  <voss@lyx.org>
11029
11030         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11031         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11032
11033 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11034
11035         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11036         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11037
11038 2002-03-29  Juergen Vigna  <jug@sad.it>
11039
11040         * lyxfunc.C (dispatch): add a missing fitCursor call.
11041
11042         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11043         it was scrolled by a cursor move, so return the bool status.
11044
11045         * BufferView.C (fitCursor): return the bool flag also to the outside
11046         world as this is needed.
11047
11048         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11049
11050         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11051         call the edit() as it is not needed (and wrong) IMO.
11052         (workAreaButtonPress): set the screen_first variable before evt.
11053         unlock the inset as this may change screen_first and then we have
11054         a wrong y position for the click!
11055
11056 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11057
11058         * MenuBackend.C (expand): another translation that I missed
11059
11060 2002-03-28  Juergen Vigna  <jug@sad.it>
11061
11062         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11063
11064         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11065
11066 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11067
11068         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11069
11070         * MenuBackend.C (expand): fix export/view/update when there is no
11071         document open.
11072
11073 2002-03-27  Herbert Voss  <voss@lyx.org>
11074
11075         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11076         and text%
11077
11078 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11079
11080         * bufferview_funcs.C (currentState): only show paragraph number
11081         for is DEVEL_VERSION is set.
11082
11083         * lyxfunc.C (dispatch): put warning in INFO channel
11084
11085         * MenuBackend.C (expand): translate the name of floats
11086
11087         * FloatList.C (FloatList): mark the float names for translation
11088
11089         * converter.C (convert): use LibScriptSearch
11090
11091 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11092
11093         * MenuBackend.C (defaults): fix default menu (we might as well get
11094         rid of it...)
11095
11096 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11097
11098         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11099         directory.
11100
11101 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11102
11103         * lyxvc.C: reorder includes.
11104
11105 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11106
11107         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11108           properly
11109
11110 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11111
11112         * CutAndPaste.C: change layouts earlier on paste
11113           to avoid crashing when calling getFont()
11114
11115 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11116
11117         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11118         irritating #error.
11119
11120 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11121
11122         * WorkArea.C: remove 'Pending' debug message.
11123
11124         * most files: ws cleanup
11125
11126         * buffer.[Ch]: ws changes
11127
11128         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11129
11130 2002-03-21  Juergen Vigna  <jug@sad.it>
11131
11132         * tabular.C (SetMultiColumn): collapse also the contents of the
11133         cells and set the last border right. Added a Buffer const * param.
11134
11135 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11136
11137         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11138         linking or not.
11139
11140 2002-03-19  Juergen Vigna  <jug@sad.it>
11141
11142         * text2.C (clearSelection): reset also xsel_cache.
11143
11144         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11145         where it needs to be called (John tells us to do so too :)
11146         (selectionLost): reset sel_cache.
11147
11148         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11149
11150 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11151
11152         * text2.C (setCursorIntern): put debuging code in INSETS channel
11153
11154 2002-03-19  André Pönitz <poenitz@gmx.net>
11155
11156         * lyxfunc.C: tiny whitespace change
11157
11158 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11159
11160         * ToolbarDefaults.C (init):
11161         * LyXAction.C (init):
11162         * commandtags.h:
11163         * BufferView_pimpl.C (Dispatch):
11164         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11165
11166 2002-03-19  Allan Rae  <rae@lyx.org>
11167
11168         * exporter.C (Export): removeAutoInsets before doing anything else.
11169         While I've just introduced a dependency on BufferView this really is
11170         the best place to clean the buffer otherwise you need to cleanup in
11171         a dozen places before calling export or cleanup in a dozen functions
11172         that export calls.
11173
11174         * converter.C (runLaTeX):
11175         (scanLog): Better handling of removeAutoInsets and screen updates.
11176
11177         * lyxfunc.C (dispatch): small whitespace changes
11178
11179 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11180
11181         * WorkArea.C (C_WorkAreaEvent): return a value.
11182         (event_cb): return 1 if we handled the event, 0 otherwise.
11183
11184         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11185
11186 2002-03-18  Juergen Vigna  <jug@sad.it>
11187
11188         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11189         (GetAdditionalWidth): ditto.
11190         (RightLine): ditto.
11191         (LeftLine): ditto.
11192
11193         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11194         inset if we're there actually (probably not used right now but this
11195         is the direction to go for unifying code).
11196         (paste): disable code to clear the selection.
11197
11198         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11199         inside an InsetText and move the check further up as it is in the
11200         wrong place.
11201
11202         * text2.C (pasteSelection): set a selection over the pasted text.
11203
11204 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11205
11206         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11207         and libgraphics to build on Cygwin.
11208
11209 2002-03-15  Juergen Vigna  <jug@sad.it>
11210
11211         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11212         inserting an Inset into the paragraph. I know this is not the best
11213         fix but we already use current_view in CutAndPaste so we will remove
11214         all of it's using at the same time.
11215
11216         * buffer.C (sgmlError): deactivated function till it is rewritten in
11217         the right mode, now it can create problems.
11218
11219         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11220         before accessing it.
11221
11222 2002-03-14  Juergen Vigna  <jug@sad.it>
11223
11224         * undo_funcs.C (textHandleUndo): do the right thing when updating
11225         the inset after the undo/redo.
11226
11227         * text2.C (setCursor): just some testcode for #44 not ready yet.
11228
11229         * undo_funcs.C (textHandleUndo): set the next() and previous()
11230         pointers of the paragraph to 0 before deleting otherwise we have
11231         problems with the Paragraph::[destructor].
11232
11233         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11234         on a paragraph insertion.
11235
11236 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11237
11238         * buffer.C (asciiParagraph): use += operator for char append to
11239         string.
11240
11241         * paragraph.C (getFontSettings): compare >= not just >
11242         (highestFontInRange): ditto
11243         (setFont): ditto
11244
11245 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11246
11247         * paragraph.C: change several algorithm to be more appripriate for
11248         the problem domain. This is lookip in FontList and in the InsetList.
11249
11250 2002-03-13  André Pönitz <poenitz@gmx.net>
11251
11252         * commandtags.h:
11253         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11254
11255 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11256
11257         * commandtags.h:
11258         * LyXAction.C:
11259         * lyxfunc.C:
11260         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11261
11262 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11263
11264         * Painter.C (display): anon helper function, adjust code for this
11265         change.
11266         (pixmap): remove function.
11267
11268         * Painter.h: remove private display variable.
11269
11270         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11271
11272 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11273
11274         * WorkArea.[Ch]: remove figinset_canvas cruft.
11275
11276 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11277
11278         * lyxtextclass.C (operator): add one item cache optimization.
11279
11280         * bufferlist.h: doxy changes
11281
11282         * bufferlist.C: ws changes
11283
11284         * DepTable.[Ch] (ext_exist): place const in the right spot.
11285
11286         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11287         call resizeInsets.
11288         (workAreaExpose): call resizeInsets when the with BufferView changes.
11289         (Dispatch): adjust for protectedBlank removal
11290         (specialChar): call updateInset if the insert went ok.
11291
11292         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11293         specialChar instead.
11294
11295         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11296
11297         * BufferView.h: doxy change
11298
11299         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11300
11301         * lyxtextclass.C (operator[]): remove non-const version
11302         (defaultLayout): remove non-const version
11303
11304 2002-03-12  Juergen Vigna  <jug@sad.it>
11305
11306         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11307         did resize the LyXText too.
11308
11309         * buffer.C (readLyXformat2): set layout information on newly allocated
11310         paragraphs.
11311
11312         * tabular.C (OldFormatRead): set layout information on the paragraph.
11313
11314 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11315
11316         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11317
11318 2002-03-11  Juergen Vigna  <jug@sad.it>
11319
11320         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11321         plainly wrong.
11322         (resizeCurrentBuffer): force also the insets to resize themselfes.
11323         (moveCursorUpdate): fixed up for InsetText.
11324
11325 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11326
11327         * commandtags.h:
11328         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11329         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11330         value of Dialogs::tooltipsEnabled().
11331         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11332
11333 2002-03-08  Juergen Vigna  <jug@sad.it>
11334
11335         * BufferView_pimpl.C (updateInset): update inset inside inset also
11336         if it isn't inside theLockingInset().
11337
11338 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11339
11340         * buffer.C (asciiParagraph): redo some of the word and line length
11341         handling.
11342         (getLists): look for Caption instead of caption.
11343
11344 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11345
11346         * buffer.C (Buffer): initialize niceFile to true
11347         (makeLaTeXFile):
11348         (makeLinuxDocFile):
11349         (makeDocBookFile): make sure niceFile is true on exit
11350
11351 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11352
11353         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11354
11355 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11356
11357         * LyXSendto.C: remove.
11358         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11359         * lyx_gui.C: remove now-redundant comment.
11360         * ColorHandler.h: remove forward declaration of class WorkArea.
11361         * lyxfunc.C: remove #include "WorkArea.h".
11362
11363 2002-03-07  Juergen Vigna  <jug@sad.it>
11364
11365         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11366         got moved away with the DEPM and also set the inset_owner always
11367         right which before could have been omitted.
11368
11369 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11370
11371         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11372         wanted layout is not found.
11373
11374 2002-03-07  Juergen Vigna  <jug@sad.it>
11375
11376         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11377
11378 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11379
11380         * paragraph.C (breakParagraph): use default layout not layout of
11381         prev paragraph.
11382         (Paragraph): clear ParagraphParameters.
11383
11384 2002-03-06  Juergen Vigna  <jug@sad.it>
11385
11386         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11387         otherwise it would not be a valid lenght. Fixed a special case in
11388         the minipage compatibility read where we end the document with a
11389         minipage.
11390
11391         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11392         was set as it could be 0 for InsetTexts first entry.
11393
11394 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11395
11396         * paragraph.C (writeFile): if layout is empty write out
11397         defaultLayoutName().
11398
11399         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11400         file without named layout we set layout to defaultLayoutName().
11401
11402 2002-03-06  Juergen Vigna  <jug@sad.it>
11403
11404         * CutAndPaste.C (copySelection): set layout for new paragraph.
11405
11406         * text.C (prepareToPrint): leave ERT inset left aligned
11407         (leftMargin): don't indent paragraphs inside ERT insets
11408
11409 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11410
11411         * paragraph.C (breakParagraph): dont call clear do the work manually
11412
11413         * paragraph.[Ch] (clear): remove function
11414
11415 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11416
11417         * paragraph.C (Paragraph): dont call clear, the work has already
11418         been done.
11419
11420         * lyxtextclass.C (operator): assert if n is empty
11421
11422         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11423         work manually instead.
11424
11425 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11426
11427         * BufferView_pimpl.C: protect selectionLost against text == 0
11428
11429 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11430
11431         * text.C (breakParagraph): fix a setting layout to '0' problem.
11432
11433 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11434
11435         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11436         final location of file, for the included files, and graphics.
11437
11438 2002-03-05  Juergen Vigna  <jug@sad.it>
11439
11440         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11441
11442 2002-03-04  Juergen Vigna  <jug@sad.it>
11443
11444         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11445
11446         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11447         last column of multicolumn cells.
11448         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11449
11450 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11451
11452         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11453         file if it doesn't go to a temporary file.
11454
11455         * buffer.C (sgmlOpenTag):
11456         (sgmlCloseTag):  remove extra newline insertion.
11457
11458 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11459
11460         * text.C (getRowNearY): comment out debug msg
11461
11462 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11463
11464         * text2.C: first -> first_y
11465
11466         * text.C (getRowNearY): add some attemts at a possible
11467         optimization, not working.
11468
11469         * tabular.[Ch]: add BufferParams to several function so that newly
11470         created paragraph can be initialized to he default layotu for the
11471         buffers textclass.
11472
11473         * tabular-old.C (ReadOld): add buf->params to call of Init
11474
11475         * screen.C: rename text->first to text->first_y
11476
11477         * paragraph.C (breakParagraph): always set layout in the broken
11478         paragraph
11479
11480         * lyxtextclass.C (Read): remove lowercase
11481         (hasLayout): ditto
11482         (operator): ditto
11483         (delete_layout): ditto
11484
11485         * lyxtext.h: rename first -> first_y
11486
11487         * lyxlayout.C (Read): remove lowercase
11488         (name): ditto
11489         (setName): ditto
11490         (obsoleted_by): ditto
11491
11492         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11493
11494         * buffer.C (insertErtContents): add params are to InsetERT
11495         (parseSingleLyXformat2Token): add code to check if a paragraphs
11496         layout really exist.
11497         (parseSingleLyXformat2Token): add params to several inset
11498         constructors
11499         (asciiParagraph): remove lowercase, do the layout comparisons with
11500         no_case
11501
11502         * BufferView_pimpl.C (cursorNext): first -> first_y
11503         (resizeCurrentBuffer): first -> first_y
11504         (updateScrollbar): first -> first_y
11505         (scrollCB): first -> first_y
11506         (workAreaMotionNotify): first -> first_y
11507         (workAreaButtonPress): first -> first_y
11508         (checkInsetHit): first -> first_y
11509         (cursorPrevious): first -> first_y
11510         (cursorNext): first -> first_y
11511         (Dispatch): add buffer_->params to severl inset contructors
11512
11513 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11514
11515         * lyxlayout.C (Read): remove some debug info that I forgot.
11516
11517         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11518         clean up the code slightly.
11519         (makeLinuxDocFile): ditto
11520         (makeDocBookFile): ditto
11521
11522         * text2.C: layout as string
11523
11524         * text.C: layout as string
11525
11526         * paragraph_pimpl.C: layout as string
11527
11528         * paragraph.[Ch]: layout as string
11529
11530         * lyxtextclasslist.[Ch]: layout as string
11531
11532         * lyxtextclass.[Ch]: layout as string
11533
11534         * lyxtext.h: layout as string
11535
11536         * lyxlayout.[Ch]: layout as string
11537
11538         * lyx_cb.C: layout as string
11539
11540         * bufferview_funcs.C: layout as string
11541
11542         * bufferparams.C: layout as string
11543
11544         * buffer.C: layout as string
11545
11546         * LyXView.[Ch]: layout as string
11547
11548         * LaTeXFeatures.[Ch]: layout as string
11549
11550         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11551
11552         * BufferView_pimpl.C: change current_layout to string, remove
11553         lyx::layout_type.
11554         (Dispatch):
11555         (smartQuote):
11556         (insertInset):
11557         (workAreaButtonRelease): layout as string
11558
11559         * BufferView2.C (unlockInset): adjust
11560
11561         * vspace.C (asLatexCommand): use an explict temp variable.
11562
11563 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11564
11565         * Makefile.am: use FRONTEND_*
11566
11567 2002-03-01  Juergen Vigna  <jug@sad.it>
11568
11569         * tabular.C (SetWidthOfMulticolCell): changed to something better
11570         I hope but still work in progress.
11571         (recalculateMulticolumnsOfColumn): renamed function from
11572         recalculateMulticolCells as it is more appropriate now.
11573         (SetWidthOfCell): calculate multicols better.
11574
11575 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11576
11577         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11578
11579         * lyxfunc.C (processKeySym): print sequence also if it is
11580         `deleted' (complete)
11581
11582         * kbsequence.C (print): print sequence even if it is deleted
11583         (complete would be a better word, actually).
11584
11585         * lyxfunc.C (dispatch): print complete options after a prefix key
11586
11587         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11588
11589 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11590
11591         * text2.C (setCharFont): eliminate setCharFont code duplication.
11592
11593 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11594
11595         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11596         LFUN_TABULAR_FEATURE (bug #177)
11597
11598 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11599
11600         * Makefile.am: remove figure.h
11601
11602 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11603
11604         * Bufferview_pimpl.C:
11605         * CutAndPasteC:
11606         * LaTeX.C:
11607         * LyXSendto.C:
11608         * buffer.C:
11609         * bufferlist.C:
11610         * converter.C:
11611         * language.C:
11612         * lyxfunc.C:
11613         * lyxvc.C:
11614         * paragraph.C:
11615         * text.C:
11616         * text2.C: remove #include "lyx_gui_misc.h".
11617
11618         * LaTeX.C: added #include <cstdio>
11619
11620 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11621
11622         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11623         that the paragraph following this one can have.
11624
11625         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11626
11627         * vspace.C (asLatexCommand): fix bogus gcc warning
11628
11629         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11630
11631 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11632
11633         * text2.C (setLayout): get rid of redundant code
11634
11635 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11636
11637         * text2.C (incDepth): make sure depth cannot be increased beyond
11638         reasonable values.
11639
11640 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11641
11642         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11643         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11644
11645         * PainterBase.h (image):
11646         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11647         a LyXImage const *.
11648
11649 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11650
11651         * BufferView.C:
11652         * BufferView.h:
11653         * BufferView_pimpl.C:
11654         * BufferView_pimpl.h:
11655         * LaTeXFeatures.C:
11656         * LyXAction.C:
11657         * LyXView.C:
11658         * Makefile.am:
11659         * UpdateList.h:
11660         * UpdateList.C:
11661         * buffer.C:
11662         * figure.h:
11663         * figureForm.C:
11664         * figureForm.h:
11665         * figure_form.C:
11666         * figure_form.h:
11667         * lyx_cb.C:
11668         * lyx_gui.C:
11669         * lyx_gui_misc.C:
11670         * lyxfunc.C:
11671         * sp_base.h:
11672         * sp_ispell.h:
11673         * sp_pspell.h:
11674         * sp_spell.C: remove fig inset, and the crap house of
11675           cards that follows it
11676
11677 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11678
11679         * Makefile.am:
11680         * lyxserver.C:
11681         * os2_defines.h:
11682         * os2_errortable.h:
11683         * nt_defines.h: move .h into support/
11684
11685         * vms_defines.h: remove
11686
11687         * WorkArea.C: add space in debug output
11688
11689         * text2.C:
11690         * paragraph.C:
11691         * buffer.C: add WITH_WARNINGS
11692
11693         * vc-backend.h:
11694         * vc-backend.C:
11695         * bufferlist.C: s/retrive/retrieve/, add docs
11696
11697         * vspace.h:
11698         * vspace.C:
11699         * kbmap.h:
11700         * lyxlength.h:
11701         * lyxgluelength.h:
11702         * length_common.h:
11703         * chset.h:
11704         * chset.C: add docs
11705
11706         * lyxgui.C: add ID to X error handler
11707
11708         * lyxtestclass.c: fix typo
11709
11710 2002-02-26  Juergen Vigna  <jug@sad.it>
11711
11712         * tabular_funcs.C (write_attribute): changed so that some default
11713         attributes are not written at all.
11714         (getTokenValue): set default values before trying to read the
11715         value so we have the return value always set as default if we don't
11716         find the token we search for.
11717
11718         * tabular.C (Write): write bools as bools not as strings!
11719
11720 2002-02-22  Juergen Vigna  <jug@sad.it>
11721
11722         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11723         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11724
11725         * text.C (leftMargin): don't add an indent for paragraphs inside
11726         tabular cells (fix #208).
11727
11728 2002-02-21  José Matos  <jamatos@fep.up.pt>
11729
11730         * tabular.C (docBook): fixed support for long tables.
11731
11732 2002-02-20  Juergen Vigna  <jug@sad.it>
11733
11734         * text2.C (getFont): get the drawing font of the Inset if this
11735         paragraph is inside an inset (only important for InsetERT for now).
11736
11737         * buffer.C (insertErtContents): use new lanugage params in ERT
11738         constructor.
11739
11740         * CutAndPaste.C: commenting out seemingly uneeded code.
11741
11742 2002-02-19  Allan Rae  <rae@lyx.org>
11743
11744         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11745         Iterators might be simple to use but they also get invalidated.
11746         (removeAutoInsets): renamed saved cursor tracking variables and added
11747         some comments to clarify what everything does.
11748
11749 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11750
11751         * Chktex.C:
11752         * LaTeX.C:
11753         * LyXSendto.C:
11754         * converter.C:
11755         * lyx_cb.C:
11756         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11757         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11758
11759         * lyxfunc.C:
11760         * vc-backend.h: remove #include "support/syscall.h"
11761
11762         * LaTeX.C:
11763         * LyXSendto.C:
11764         * converter.C: rearrange #includes in Lars' approved fashion.
11765
11766         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11767         forward declare class Timeout in the header file.
11768
11769         * XFormsView.C: changes due to the above.
11770
11771         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11772         similar to LyXView.
11773
11774         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11775         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11776
11777 2002-02-18  José Matos  <jamatos@fep.up.pt>
11778
11779         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11780         insets contents.
11781
11782 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11783
11784         * a lot of small ws changes
11785         * add a lot of using std::XXX
11786         * use std construcs some places where approp.
11787         * use some exisint stuff from lyxfunctional where approp.
11788         * Make file changes to use partial linking (lets test this now...)
11789
11790 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11791
11792         * Chktex.C:
11793         * buffer.C:
11794         remove #include "support/syscontr.h" as it's redundant. Always has been.
11795
11796         * Chktex.C:
11797         * LaTeX.C:
11798         * LyXSendto.C:
11799         * converter.C:
11800         * lyx_cb.C:
11801         * vc-backend.C:
11802         change Systemcalls::System to Systemcalls::Wait and
11803         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11804         No change of functionality, just reflects the stripped down Systemcalls
11805         class.
11806
11807 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11808
11809         * debug.[Ch]: add a GRAPHICS type to the enum.
11810
11811 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11812
11813         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11814
11815         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11816         there is an inset.
11817
11818 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11819
11820         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11821         match the changes below.
11822
11823         * text2.C (toggleInset): if there is not editable inset at cursor
11824         position, try to see if cursor is _inside_ a collapsable inset
11825         and close it.
11826
11827 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11828
11829         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11830         document menu has a nice checkbox
11831
11832 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11833
11834         * lyxlength.C (asLatexString): change PW to output as percent of
11835         \textwidth.
11836
11837         * lengthcommon.C: change '%' to 't%'
11838
11839         * lyxfunc.C (dispatch): a few comments from Martin
11840
11841 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11842
11843         * WorkArea.h:
11844         * WorkArea.C:
11845         * BufferView_pimpl.h:
11846         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11847           the X selection.
11848
11849 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11850
11851         * vspace.C (inPixels): fix compiler warning
11852
11853 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11854
11855         * lyxfunc.C (getStatus): fix status message for disabled commands.
11856
11857 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11858
11859         * BufferView_pimpl.C: fix crash on close buffer
11860         during selection (#227)
11861
11862 2002-01-27  Herbert Voss  <voss@lyx.org>
11863
11864         * buffer.C: link old Figure to new graphic inset
11865
11866 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11867
11868         * FontLoader.C (getFontinfo): Change the latex font names in order
11869         to match the names of type1inst.
11870
11871 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11872
11873         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11874
11875         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11876         (extchanged): ditto
11877         (ext_exist): ditto
11878         (remove_files_with_extension): ditto
11879         (remove_file): ditto
11880         (write): ditto
11881
11882         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11883         document is smaller than the work area height. Do not initialize
11884         static variables to 0.
11885
11886 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11887
11888         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11889
11890         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11891         LFUN_LAYOUT_PARAGRAPHS.
11892
11893         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11894         tabular. It is possible to provide a possible cell, which will
11895         typically be the actcell from the corresponding insettabular
11896
11897         * lyxfunc.C (getStatus): small cleanup; disable
11898         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11899         true
11900
11901 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11902
11903         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11904
11905         * paragraph.C (startTeXParParams):
11906         (endTeXParParams): new methods. The LaTeX code to
11907         start/end paragraph formatting
11908         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11909         empty (fixes bug #200)
11910
11911         * vspace.C (inPixels): adapt to the change below
11912         (inPixels): [later] more cleanups (remove unused variables)
11913
11914         * lyxlength.C (inPixels): change to use a width and a height as
11915         parameter.
11916
11917 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11918
11919         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11920         Replaced with \paperwidth
11921
11922         * DepTable.C (insert): add std:: qualifier
11923
11924 2002-01-18  Allan Rae  <rae@lyx.org>
11925
11926         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11927         updated also?
11928
11929         * text.C (drawInset): Turned out I didn't know enough about how
11930         rebreaking worked.  This fixes most of the redraw problems.  I see
11931         an occasional cursor trail when a line is broken now and the cursor
11932         placement can seem out by a few pixels also after a rebreak.
11933
11934 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11935
11936         * buffer.C (parseSingleLyXformat2Token): update because minipage
11937         width is now a LyXLength
11938
11939         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11940
11941         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11942         math insets
11943
11944 2002-01-17  Juergen Vigna  <jug@sad.it>
11945
11946         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11947
11948         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11949         is set correctly and the inset is updated correctly.
11950
11951 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11952
11953         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11954         the beginning of the loop.
11955
11956 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11957
11958         * lyxrc.C: improve help for use_scalable_fonts
11959
11960 2002-01-17  Allan Rae  <rae@lyx.org>
11961
11962         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11963
11964 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11965
11966         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11967         make sure to set their inset_owner to the right value (bug #171)
11968
11969 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11970
11971         * DepTable.h
11972         * DepTable.C: Implement mtime checking to reduce time spent doing
11973         CRCs.
11974
11975 2002-01-16  Juergen Vigna  <jug@sad.it>
11976
11977         * tabular.C (GetAdditionalHeight): one of error fixed.
11978
11979         * lyxrc.C (output): small fix in writing use_pspell.
11980
11981 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11982
11983         * sp_base.h: #include LString.h
11984
11985 2002-01-16  Allan Rae  <rae@lyx.org>
11986
11987         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11988         Can someone check this please?
11989
11990         * text.C (drawInset): It was possible that p.row would be removed by
11991         breakAgainOneRow upsetting a few other settings.  There may be another
11992         small tweak possible by setting need_break_row = 0 when p.row has been
11993         removed but I don't know enough about the logic here.
11994
11995 2002-01-15  Allan Rae  <rae@lyx.org>
11996
11997         * text.C (insertChar): removed conditional truism.
11998
11999         * BufferView2.C (removeAutoInsets): More tweaks.
12000         cur_par_prev could be a stray pointer.  Check for trailing empty line
12001         in case last line was cur_par and only had an error inset on it.
12002
12003 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12004
12005         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12006         absolute
12007
12008         * vc-backend.C (most methods):
12009         * exporter.C (Export):
12010         * converter.C (convert):
12011         (runLaTeX):
12012         * LyXSendto.C (SendtoApplyCB):
12013         * lyxfunc.C (dispatch):
12014         (menuNew):
12015         (open):
12016         (doImport):
12017         * lyx_cb.C (AutoSave):
12018         (InsertAsciiFile):
12019         * BufferView_pimpl.C (MenuInsertLyXFile):
12020         * buffer.C (runChktex): use Buffer::filePath().
12021
12022         * buffer.h: rename filename to filename_; rename filepath to
12023         filepath_ and make it private
12024         (filePath): new method
12025
12026         * buffer.C (writeFile): use fileName()
12027         (getLatexName):
12028
12029         * lyx_main.C (init): fix starting  of LyX when the binary is a
12030         link from so,ewhere else.
12031
12032         * minibuffer.C: include <cctype> for isprint
12033
12034 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12035
12036         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12037         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12038         name clash with InsetCollapsable's width function.
12039
12040 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12041
12042         * lastfiles.C: include <iterator>
12043
12044 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12045
12046         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12047         std::count.
12048
12049         * buffer.C (makeLaTeXFile): ditto.
12050         Also make loop operation more transparent.
12051
12052 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12053
12054         * ToolbarDefaults.C: remove trailing comma closing namespace.
12055
12056         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12057
12058         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12059         as in WorkArea.
12060
12061         * trans.C (Load): comment out unused variable, allowed.
12062
12063 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12064
12065         * minibuffer.[Ch] (append_char): new method to recieve input from the
12066         drop-down completion browser. If a key was pressed, then recieve this
12067         char and append it to the existing string.
12068         (peek_event): modify the positioning data passed to the completion
12069         browser so that it can be placed above the minibuffer rather than below.
12070 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12071
12072         * LyXAction.C (init): alloe error-next for readonly documents.
12073
12074         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12075         count.
12076
12077 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12078
12079         * bufferlist.C (readFile): create the buffer _after_ checking that
12080         the file exists.
12081
12082         * lyxfunc.C (verboseDispatch): fix handling of arguments
12083
12084         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12085
12086         * lyxrc.C: use string::erase() instead of initializing to "".
12087
12088
12089 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12090
12091         * BufferView_pimpl.h:
12092         * BufferView_pimpl.C:
12093         * WorkArea.h:
12094         * WorkArea.C:
12095         * text2.C: tell X when we have made a selection for copying
12096
12097 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12098
12099         * BufferView_pimpl.C (MenuInsertLyXFile):
12100         * lyxfunc.C (menuNew):
12101         (open):
12102         (doImport): add shortcuts to directory buttons
12103
12104         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12105         open a float)
12106
12107         * lyxfunc.C (setStatusMessage):
12108         (getStatusMessage): new methods
12109         (getStatus):use setStatusMessage instead of setErrorMessage
12110         (dispatch): when function is disabled, set error message here
12111         [instead of in getStatus previously]
12112
12113         * BufferView_pimpl.C (workAreaButtonRelease): update
12114         toolbar/menubar here too.
12115
12116 2002-01-13  Allan Rae  <rae@lyx.org>
12117
12118         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12119         Now seems indestructible.  Remaining task is to audit all other
12120         code affected by deleteEmptyParagraphMechanism.  One small quirk
12121         left is that an empty document with an error in the preamble can
12122         be made to report an error but no error box appears.  I don't know
12123         where it goes.
12124         (removeAutoInsets): Improved comments.
12125
12126 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12127
12128         * Thesaurus.h:
12129         * Thesaurus.C: update for Aiksaurus 0.14
12130
12131 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12132
12133         * text2.C (firstParagraph): removed member function, all uses
12134         replaces with ownerParagraph
12135         (redoParagraphs): here
12136         (updateInset): here
12137         (toggleAppendix): here
12138         * BufferView2.C (insertErrors): here
12139         (setCursorFromRow): here
12140
12141 2002-01-13  Allan Rae  <rae@lyx.org>
12142
12143         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12144         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12145         There is still a way to segfault this although you may have to do this
12146         multiple times: Have an InsetERT with an unknown command in it.
12147         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12148         <down-arrow>, <Enter> again, View->DVI, BANG!
12149
12150         * text2.C (setCursor):
12151         (deleteEmptyParagraphMechanism):
12152         * lyxtext.h (setCursor):
12153         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12154         Making use of the return value may help fix other bugs.
12155
12156 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12157
12158         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12159
12160         * LyXView.C (updateMenubar): call MenuBar::update here
12161         (updateToolbar): but not here
12162         (showState): do not update toolbar/menubar
12163
12164         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12165         should need to care about that.
12166
12167         * lyxfunc.C (verboseDispatch): simplify a bit
12168         (getStatus): have a version which takes a pseudoaction, and
12169         another which requires a (kb_action,string).
12170
12171         * LyXAction.C (retrieveActionArg): make it work also when action
12172         is not a pseudo-action.
12173         (getActionName): simplify a bit
12174         (helpText):
12175
12176 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12177
12178         * lyxfunc.C (verboseDispatch): new families of methods with
12179         several ways to specify a command and a bool to indicate whether
12180         the command name and shortcut should be displayed in minibuffer
12181         (eventually, we could extend that to a finer bitmask like
12182         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12183         (dispatch): the pristine dispatch command which just, well,
12184         dispatchs! Note it still sets its result to minibuffer; I'm not
12185         sure we want that.
12186
12187         * lyxfunc.h: remove setHintMessage
12188
12189         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12190
12191 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12192
12193         * BufferView_pimpl.C (specialChar): delete new inset if we have
12194         not been able to insert it.
12195
12196         * kbmap.C: revert to using int instead of kb_action, since all we
12197         are dealing with is pseudo-actions.
12198
12199         * LyXAction.C (searchActionArg): change to return int instead of
12200         kb_action, since the result is a pseudoaction.
12201
12202 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12203
12204         * buffer.C (insertErtContents): Fix (partially) the font bug.
12205
12206 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12207
12208         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12209         as the other one is broken on my machine!
12210
12211 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12212
12213         * commandtags.h:
12214         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12215
12216 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12217
12218         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12219         reflect their actual use. Provide compatibility code for older lyxrc
12220         files.
12221
12222         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12223         FL_NORMAL_STYLE.
12224         change names of popup font variables in line with the changes to lyxrc.C
12225
12226 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12227
12228         * buffer.C (asciiParagraph): avoid outputing a word twice after
12229         an inset.
12230
12231         * lyxrc.C (getDescription): document that document_path and
12232         template_path can be empty.
12233
12234 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12235
12236         * LaTeXFeatures.C (getMacros):
12237         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12238
12239         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12240
12241         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12242         getPackages.
12243         (getPackages): rename feature "floats" to "float". Use an array to
12244         iterate over 'simple' features (i.e. just a \usepackage). Add
12245         handling of "amsmath" (renamed from "amsstyle").
12246
12247 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12248
12249         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12250         features list.
12251
12252 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12253
12254         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12255         FuncStaus::FuncStatus & FuncStaus::some_method().
12256
12257 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12258
12259         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12260         of the func_satus stuff. Edited and massaged in various ways by
12261         JMarc.
12262
12263         * lyxfunc.C (getStatus): use FuncStatus
12264
12265 2002-01-08  Juergen Vigna  <jug@sad.it>
12266
12267         * text.C (nextBreakPoint): use function Inset::isChar().
12268
12269         * paragraph.C (TeXOnePar): use function
12270         Inset::forceDefaultParagraphs.
12271
12272         * buffer.C (latexParagraphs): use function
12273         Inset::forceDefaultParagraphs.
12274
12275 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12276
12277         * lyx_gui.C (init): set the style of the menu popups to
12278         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12279
12280 2002-01-07  Juergen Vigna  <jug@sad.it>
12281
12282         * text.C (setHeightOfRow): small fix
12283         (prepareToPrint): don't look at alignment if we don't have the place
12284         for doing it.
12285
12286 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12287
12288         * box.C: New file. Move the Box methods and functions out of box.h,
12289         following Lars' suggestion.
12290
12291 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12292
12293         * box.h: #include "support/LOstream.h", needed for inlined function.
12294
12295         * lyxtextclass.C:
12296         * lyxtextclasslist.C: added some using std declarations.
12297
12298 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12299
12300         * box.h: make signed dimensions to allow insets wider than
12301           the screen (bug #162)
12302
12303         * BufferView_pimpl.C: add some insetHit debug
12304
12305 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12306
12307         * vc-backend.C: add FIXME
12308
12309 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12310
12311         * lyxfunc.C (getStatus): enable code for showing math font status
12312         in toolbar/menu.
12313
12314 2002-01-07  Juergen Vigna  <jug@sad.it>
12315
12316         * text.C (nextBreakPoint): removed debug output not needed anymore.
12317
12318 2002-01-06  Juergen Vigna  <jug@sad.it>
12319
12320         * text.C (nextBreakPoint): fixed up this function we had this bug
12321         since ever but now hopefully we break row better.
12322         (insertChar): we have to check if an inset is the next char as it
12323         could now happen that a large inset is causing a break.
12324
12325 2002-01-05  Juergen Vigna  <jug@sad.it>
12326
12327         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12328         if it doesn't like to be drawed.
12329
12330 2002-01-04  Juergen Vigna  <jug@sad.it>
12331
12332         * BufferView2.C (lockInset): forgot to set a cursor.
12333
12334         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12335
12336 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12337
12338         * FormMathsPanel.C:
12339         * FormMathsPanel.h
12340         * MathsSymbols.C:
12341         * form_maths_panel.C:
12342         * form_maths_panel.h:
12343         * form_maths_panel.fd: implemented sub- and super- buttons in math
12344         panel.
12345
12346         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12347         (or ^ space) to be used as in TeX (req'd by André).
12348
12349         * lyxfunc.C: Allow ^ and _ again to be used both as
12350         super/subscript (mathed) and as themselves (in text).
12351
12352 2002-01-03  Allan Rae  <rae@lyx.org>
12353
12354         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12355         "LyX" or the filename of the current buffer if it has one.  This is a
12356         modified form of John Levon's patch.
12357
12358         * XFormsView.C (setWindowTitle): also set icon title.
12359
12360         * LyXView.h (setWindowTitle): signature changed.
12361         * XFormsView.h (setWindowTitle): ditto.
12362
12363 2002-01-02  Juergen Vigna  <jug@sad.it>
12364
12365         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12366
12367 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12368
12369         * screen.C (topCursorVisible): introduce a temp var for
12370         text->cursor.row(), handle the case where this row is null. (kindo
12371         hachish)
12372
12373         * text2.C (setCursor): add a couple of asserts.
12374
12375         * paragraph.h (inset_iterator): add -> operator
12376
12377         * paragraph.[Ch] (autoDeleteInsets): remove member function
12378
12379         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12380         cursor pos correctly and handle inset deletion by itself.
12381         (insertErrors): move iterator declaration out of for expression
12382
12383         * lyxtextclass.C: add <algorithm>
12384
12385         * Makefile.am: added the new files to sources, removed layout.C
12386
12387         * layout.C: removed file
12388
12389         * layout.h: remove LYX_DUMMY_LAYOUT
12390
12391         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12392         layout.
12393
12394         * lyxlayout.[Ch]:
12395         * lyxtextclass.[Ch]:
12396         * lyxtextclasslist.[Ch]: new files
12397
12398         * include order changes to a lot of files, also changes because of
12399         the six new files.
12400
12401 2001-12-27  Juergen Vigna  <jug@sad.it>
12402
12403         * buffer.C (asciiParagraph): more fixes.
12404
12405         * tabular.C (ascii): make ascii export support export of only the
12406         data separated by a column-delimiter.
12407         (ascii): better support for ascii export.
12408
12409         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12410
12411 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12412
12413         * tabular_funcs.C: use a "using std::getline" instead of the
12414         previous fix from Angus (necessary for cxx + lyxstring)
12415
12416 2001-12-24  Juergen Vigna  <jug@sad.it>
12417
12418         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12419
12420         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12421         problems. First check a minipage also if we have some ert-contents
12422         (not only on par->size(), second set the right depth of the paragraph
12423         on the relink to the root-paragraph-list!
12424
12425         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12426         which then did not anymore update the main paragraphs on undo/redo!
12427
12428 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12429
12430         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12431         code. Support all font-changing funcs (even those which are not in
12432         menu currently). Support for reporting font settings in
12433         mathed (disabled until Andre provides a function on mathed's side).
12434
12435         * func_status.h (toggle): small helper function to set toggle
12436         state on a flag.
12437
12438 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12439
12440         * tabular_funcs.C: getline -> std::getline
12441
12442 2001-12-21  Juergen Vigna  <jug@sad.it>
12443
12444         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12445         accessed and could be 0 (I couldn't generate this but it seems
12446         Michael could!).
12447
12448 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12449
12450         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12451         * tabular_funcs.h: here and include iosfwd
12452
12453 2001-12-20  Juergen Vigna  <jug@sad.it>
12454
12455         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12456         inside inset but undo_par was.
12457
12458 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12459
12460         * Thesaurus.C: always include <config.h> in sources.
12461
12462         * Painter.h:
12463         * lyxlookup.h:
12464         * box.h: do not include <config.h> in header files
12465
12466         * text.C (paintLastRow): remove unused variable
12467
12468         * text.C (transformChar):
12469         (insertChar):
12470         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12471
12472         * Painter.C (text):
12473         * font.C (width): rewrite to use uppercase() instead of
12474         islower/toupper.
12475
12476         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12477
12478 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12479
12480         * lyxfind.C: clean up of find failure position change
12481
12482 2001-12-20  Juergen Vigna  <jug@sad.it>
12483
12484         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12485
12486         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12487         (TeXRow): added to LaTeX a single tabular row.
12488         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12489         (Latex): simplified and finally good LT-h/f support.
12490         (various_functions): just small adaptions for LT-h/f support.
12491
12492         * tabular_funcs.[hC]: added and moved here all not classfunctions
12493         of LyXTabular.
12494
12495 2001-12-19  Juergen Vigna  <jug@sad.it>
12496
12497         * tabular.[Ch]: better support for longtabular options (not finished
12498         yet!)
12499
12500 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12501
12502         * text.C (paintLastRow): use the label font instead of the font of
12503         the last character to compute the size of *_BOX. This makes more
12504         sense and avoids a crash with empty paragraphs.
12505         Use Painter::rectangle to draw EMPTY_BOX.
12506
12507 2001-12-19  Juergen Vigna  <jug@sad.it>
12508
12509         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12510         the paragraphs if the replaced paragraph is not the first one!
12511         Tried to delete not used paragraphs but does not work yet so for
12512         now it's inside #ifdef's and by default off!
12513
12514 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12515
12516         * MenuBackend.C: include "lyx_main.h" instead of declaring
12517         lastfiles (actually was declared as LastFiles* instead of a
12518         scoped_ptr).
12519
12520 2001-12-17  Juergen Vigna  <jug@sad.it>
12521
12522         * tabular.C (AppendColumn): applied John's fix
12523
12524 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12525
12526         * BufferView.h:
12527         * BufferView.C:
12528         * BufferView_pimpl.h:
12529         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12530
12531         * Makefile.am:
12532         * box.h: new start of class for above
12533
12534         * lyxfunc.C: ignore space-only minibuffer dispatches.
12535           Show the command name when it doesn't exist
12536
12537         * minibuffer.C: don't add empty lines to the history
12538
12539         * minibuffer.C: add a space on dropdown completion
12540
12541 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12542
12543         * text.C: fix line above/below drawing in insets
12544
12545 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12546
12547         * lyxlength.C (LyXLength): Initialize private variables.
12548
12549 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12550
12551         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12552         when inserting error insets.
12553
12554 2001-12-13  Juergen Vigna  <jug@sad.it>
12555
12556         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12557         actually sometimes the before-paragraph.
12558         (setUndo): don't clear the redostack if we're not actually undoing!
12559
12560 2001-12-06  Juergen Vigna  <jug@sad.it>
12561
12562         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12563         and fixed redoing of main paragraph, so we can use it now ;)
12564
12565         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12566
12567 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12568
12569         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12570         Juergen's request
12571
12572 2001-12-13  André Pönitz <poenitz@gmx.net>
12573
12574         * undostack.[Ch]:
12575         * undo_func.C: minor cleanup
12576
12577 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12578
12579         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12580         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12581         font in urw-fonts package which is marked as -urw-fontspecific and
12582         does not work (incidentally, changing the encoding in the
12583         fonts.dir of this package to -adobe-fontspecific fixes the
12584         problem).
12585
12586         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12587         is a crash when undoing first paragraph (Juergen, please take a
12588         look). THis does not mean the undo fix is wrong, just that it
12589         uncovers problems.
12590
12591         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12592         the (Paragraph*) version when needed instead of duplicating the
12593         code.
12594
12595         * text.C (workWidth): use Inset::parOwner to find out where the
12596         inset has been inserted. This is a huge performance gain for large
12597         documents with lots of insets. If Inset::parOwner is not set, fall
12598         back on the brute force method
12599
12600         * paragraph_pimpl.C (insertInset):
12601         * paragraph.C (Paragraph):
12602         (cutIntoMinibuffer): set parOwner of insets when
12603         inserting/removing them
12604
12605         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12606
12607 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12608
12609         * commandtags.h:
12610         * LyXAction.C:
12611         * lyx_main.C:
12612         * lyxfunc.C:
12613         * mathed/formulabase.C:
12614         * mathed/math_cursor.[Ch]:
12615         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12616
12617
12618 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12619
12620         * lyxlength.[Ch] (operator!=): new function
12621
12622 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12623
12624         * text.C (workWidth): use Inset::parOwner to find out where the
12625         inset has been inserted. This is a huge performance gain for large
12626         documents with lots of insets. If Inset::parOwner is not set, fall
12627         back on the brute force method
12628
12629         * paragraph_pimpl.C (insertInset):
12630         * paragraph.C (Paragraph):
12631         (cutIntoMinibuffer): set parOwner of insets when
12632         inserting/removing them
12633
12634         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12635
12636 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12637
12638         * tabular-old.C (getTokenValue):
12639         * tabular.C (getTokenValue):
12640         (write_attribute): new versions for LyXLength
12641         (everywhere): adjust the use of widths
12642
12643         * tabular.h: change the type of widths from string to LyXLength
12644
12645 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12646
12647         * paragraph.C: fixed missing line number count when exporting
12648         Environments to LaTeX file
12649
12650         * buffer.C: added informational message for checking line numbers.
12651
12652 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12653
12654         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12655         paragraph, do the 'double space' part, but not the 'empty
12656         paragraph' one.
12657
12658         * text.C (workWidth): small optimization
12659         (getLengthMarkerHeight): use minimal size for negative lengths.
12660
12661 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12662
12663         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12664
12665         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12666
12667 2001-12-11  André Pönitz <poenitz@gmx.net>
12668
12669         * FontLoader.C:
12670         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12671
12672 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12673
12674         * text2.C: keep selection on a setFont()
12675
12676 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12677
12678         * lyx_cb.C: another bv->text misuse, from insert label
12679
12680 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12681
12682         * kbsequence.h:
12683         * kbsequence.C: re-instate nmodifier mask
12684
12685 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12686
12687         * lyx_main.h: make lyxGUI private.
12688
12689 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12690
12691         * lyxfind.C: place the cursor correctly on failed search
12692
12693 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12694
12695         * text.C (getLengthMarkerHeight): for small heights, the arrows
12696         are not always on top/bottom of the text
12697         (drawLengthMarker): smaller arrows; take the left margin in
12698         account; draw also vfills.
12699         (paintFirstRow):
12700         (paintLastRow): remove special code for vfill and standard spaces,
12701         since everything is handled in drawLengthMarker now.
12702
12703 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12704
12705         * buffer.C (insertErtContents): try to handle font and language
12706         interaction a bit better.g
12707
12708         * ColorHandler.C (updateColor): change the hash to cover the whole
12709         LColor enum, ws cleanup
12710         (getGCLinepars): ditto
12711         (getGCLinepars): only lookup in the linecache once.
12712
12713 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12714
12715         * iterators.C (operator++): Make the iterator more robust
12716
12717         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12718         (John's patch)
12719         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12720
12721 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12722
12723         * lyxtext.h:
12724         * text.C: better added space drawing
12725
12726 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12727
12728         * LyXView.C:
12729         * BufferView2.C: fix layout combo update on inset unlock
12730
12731 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12732
12733         * Makefile.am: don't compile unused files
12734
12735 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12736
12737         * lyxfunc.C:
12738         * commandtags.h:
12739         * LyXAction.C: remove old LFUN_LAYOUTNO
12740
12741 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12742
12743         * paragraph_pimpl.h:
12744         * paragraph_pimpl.C: isTextAt() doesn't need font param
12745
12746 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12747
12748         * lyxlex.h:
12749         * lyxlex.C: little cleanup
12750
12751 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12752
12753         * BufferView_pimpl.C: fix insertAscii for insets
12754
12755 2001-12-05  Juergen Vigna  <jug@sad.it>
12756
12757         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12758         set the right font on the "multi" paragraph paste!
12759
12760 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12761
12762         * trans_decl.h:
12763         * trans_mgr.[Ch]:
12764         * trans.[Ch]:
12765         * lyxgluelength.C:
12766         * lyxlength.C: remove out-commented code.
12767
12768         * BufferView_pimpl:
12769         * CutAndPaste.C:
12770         * DepTable.C:
12771         * buffer.C:
12772         * chset.C:
12773         * lastfiles.C:
12774         * lyxlex.C:
12775         * lyxlex_pimpl.C:
12776         * lyxserver.C:
12777         * screen.C:
12778         * tabular-old.C:
12779         * tabular.C:
12780         * text.C:
12781         * trans_mgr.C:
12782         * vc-backend.C: change "while(" to "while ("
12783
12784         * lyxlength.[Ch]: add zero function to check if length is zero or
12785         not
12786         * lyxgluelength.C: use it
12787
12788 2001-12-05  Allan Rae  <rae@lyx.org>
12789
12790         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12791         Works for 2.95.3, from what I understand of Garst's reports this should
12792         work for other g++ versions.  We're screwed if the abs(int) definition
12793         changed between bugfix releases of gcc.
12794
12795 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12796
12797         * text.C: fix chapter label offset !
12798
12799 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12800
12801         * lyxtext.h:
12802         * text.C: fix hfill at end of line, clean up
12803
12804 2001-12-04  Juergen Vigna  <jug@sad.it>
12805
12806         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12807         that we force an update of the inset and it's owners if neccessary.
12808
12809 2001-12-03  Juergen Vigna  <jug@sad.it>
12810
12811         * text.C (rowLast): simplified code
12812
12813 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12814
12815         * lyxfunc.C: fix show options on timeout
12816
12817 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12818
12819         * screen.C (topCursorVisible): scroll half a page when the cursor
12820         reached top of bottom of screen
12821
12822 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12823
12824         * minibuffer.C: deactivate on loss of focus
12825
12826 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12827
12828         * vspace.[Ch] (operator!=): add operator.
12829
12830 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12831
12832         * BufferView_pimpl.C: refuse to open an inset when
12833         there's a selection.
12834
12835 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12836
12837         * BufferView_pimpl.C: allow to click on RHS of full row insets
12838
12839 2001-11-30  Juergen Vigna  <jug@sad.it>
12840
12841         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12842         insets for undo reasons.
12843
12844 2001-11-28  André Pönitz <poenitz@gmx.net>
12845
12846         * vspace.[Ch]: cosmetical changes
12847
12848 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12849
12850         * LyXAction.h:
12851         * LyXAction.C:
12852         * lyxfunc.h:
12853         * lyxfunc.C:
12854         * kbmap.h:
12855         * kbmap.C:
12856         * lyxrc.C:
12857         * kbsequence.h:
12858         * kbsequence.C: part re-write of old kb code
12859
12860         * Painter.C:
12861         * WorkArea.C: remove Lgb_bug_find_hack
12862
12863 2001-11-30  José Matos <jamatos@fep.up.pt>
12864
12865         * buffer.C (makeDocBookFile): add a comment to point a hack.
12866         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12867         Fixed a double write of labels.
12868
12869 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12870
12871         * LaTeX.C:
12872         * LaTeX.h Fixed bug in LaTeX class where it would not
12873         re-run latex if no depfiles were changed, but the .dvi was removed.
12874
12875 2001-11-28  André Pönitz <poenitz@gmx.net>
12876
12877         * all the files from the change on 2001/11/26:
12878         use lyx::layout_type instead of LyXTextClass::size_type
12879         use lyx::textclass_type instead of LyXTextClassList::size_type
12880
12881 2001-11-29  Juergen Vigna  <jug@sad.it>
12882
12883         * text.C: added support for paragraph::isFreeSpacing()
12884
12885         * buffer.C: same as above
12886
12887         * paragraph.h: inserted isFreeSpacing() function to enable
12888         FreeSpacing inside InsetERT.
12889
12890         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12891         of the paragraph's in the cut/copy buffer to 0!
12892
12893         * text2.C (removeRow): remove the assert as it can!
12894
12895         * lyxtext.h: added helper function firstRow returning firstrow and
12896         made firstrow private again.
12897
12898         * BufferView2.C (lockInset): don't relock if we're already locked!
12899
12900         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12901         the only paragraph.
12902         (removeRow): added Assert::(firstrow)
12903
12904         * debug.C: forgot to add INSETTEXT here.
12905
12906 2001-11-28  Juergen Vigna  <jug@sad.it>
12907
12908         * sp_spell.C (initialize): changed error text to more general
12909         spellchecker command use (not only ispell!)
12910
12911         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12912
12913         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12914
12915 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12916
12917         * vspace.C: initialise lyxgluelength on failure
12918
12919 2001-11-28  Allan Rae  <rae@lyx.org>
12920
12921         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12922         declaration & definition that looks like a function declaration.
12923
12924 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12925
12926         * BufferView2.C (copy):
12927         (copyEnvironment): do not clear the selection when doing a copy.
12928
12929         * text.C (paintFirstRow): compilation fix
12930
12931 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12932
12933         * tabular.C (Latex): correct line count when writing latex.
12934
12935 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12936
12937         * paragraph_pimpl.h:
12938         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12939           bug a bit
12940
12941 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12942
12943         * text.C:
12944         * LColor.h:
12945         * LColor.C: change vfillline->added_space
12946
12947         * text.C: add markers and text for added space
12948
12949         * vspace.C: fix comment
12950
12951 2001-11-28  André Pönitz <poenitz@gmx.net>
12952
12953         * paragraph.C: whitespace changes
12954         * all the other files from the change on 2001/11/26:
12955         change *::pos_type into lyx::pos_type
12956
12957 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12958
12959         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12960         language of the document when inserting error insets.
12961
12962 2001-11-26  André Pönitz <poenitz@gmx.net>
12963
12964         * BufferView_pimpl.[Ch]:
12965         *       CutAndPaste.C:
12966         * buffer.[Ch]:
12967         * lyxcursor.[Ch]:
12968         * lyxfind.C:
12969         * lyxfunc.C:
12970         * lyxrow.[Ch]:
12971         * paragraph.[Ch]:
12972         * paragraph_pimpl.[Ch]:
12973         * sp_spell.C:
12974         * text.C:
12975         * text2.C: reduce header dependencies, introduce type for positions
12976
12977 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12978
12979         * <various>: change to use Alert.h
12980
12981 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12982
12983         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12984         when encountering an unknown token.
12985         (readLyXformat2): Show an error message if there were unknown tokens.
12986
12987 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12988
12989         * BufferView2.C:
12990         * BufferView_pimpl.C:
12991         * buffer.C:
12992         * paragraph.h:
12993         * text.C:
12994         * text2.C: use par->isInset()
12995
12996 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12997
12998         * paragraph_pimpl.h:
12999         * paragraph_pimpl.C: cleanup
13000
13001 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13002
13003         * text2.C (removeRow):
13004         * text.C (setHeightOfRow): remove useless (and costly) call to
13005         getRow.
13006
13007 2001-11-20  Allan Rae  <rae@lyx.org>
13008
13009         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13010         Now need Inset*::checkInsertChar() to return true for appropriate
13011         cases so that the characters in the minibuffer will actually be
13012         inserted.
13013
13014 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13015
13016         * text.C: change the order of the includes.
13017         (workWidth): initialize it at once.
13018         (workWidth): make maxw unsigned
13019         (setHeightOfRow): remove unused variable (inset)
13020         (selectSelectedWord): remove unused variable (inset)
13021         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13022
13023 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13024
13025         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13026         server is not running.
13027         (openConnection):
13028         (closeConnection): add debug info when server is disabled.
13029
13030         * ColorHandler.C (getGCForeground): send debug message to GUI
13031         channel.
13032
13033         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13034
13035         * kbmap.C (bind): modify because return conventions of
13036         kb_sequence::parse have changed.
13037
13038         * kbsequence.C (parse): only ignore spaces and not any stupid
13039         control character. This avoids tests like s[i] <= ' ', which are
13040         guaranteed to fail with 8bit characters and signed chars.
13041         Change return code to string::npos when there have been no error
13042         (0 was a bad idea when error is at first character)
13043
13044 2001-11-14  José Matos  <jamatos@fep.up.pt>
13045
13046         * buffer.h:
13047         * buffer.C (simpleDocBookOnePar): removed unused argument.
13048
13049 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13050
13051         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13052         insets which are part of a word. Paragraph::isLetter takes care of
13053         that now. Use Paragraph::isInset to identify insets.
13054         (selectSelectedWord): do not test for hyphenation break.
13055
13056         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13057         that protected spaces are considered as spaces.
13058
13059         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13060         Inset::isLetter.
13061
13062 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13063
13064         * lyxserver.h:
13065         * lyxserver.C: fix it. and small cleanup.
13066
13067 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13068
13069         * BufferView_pimpl.C: use inline helpers
13070
13071         * LaTeXFeatures.h:
13072         * LaTeXFeatures.C: fix typos
13073
13074         * Spacing.h:
13075         * Spacing.C: move spacing_string into class
13076
13077         * ToolbarDefaults.C: move stuff into namespace anon
13078
13079         * layout.h: update enum
13080
13081         * lyxfunc.C: use better debug
13082
13083         * minibuffer.h: fix typo
13084
13085         * debug.h:
13086         * debug.C:
13087         * WorkArea.C: add and use Debug::WORKAREA
13088
13089         * lyxtext.h:
13090         * text.C:
13091         * text2.C: code re-organisation, inline helpers
13092
13093 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13094
13095         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13096         std::vector.empty().
13097
13098 2001-11-09  Allan Rae  <rae@lyx.org>
13099
13100         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13101         '\n's after tables.  Tabular and ERT inset work now makes this no
13102         longer necessary.
13103
13104 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13105
13106         * minibuffer.h:
13107         * minibuffer.C: fix crash, improve drop-down completion
13108
13109 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13110
13111         * lyxserver.h:
13112         * lyxserver.C: invalidate fd's when doing endPipe()
13113
13114 2001-11-08  José Matos  <jamatos@fep.up.pt>
13115
13116         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13117         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13118
13119         * paragraph.h:
13120         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13121
13122 2001-11-07  José Matos  <jamatos@fep.up.pt>
13123
13124         * buffer.h:
13125         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13126         const qualifier.
13127
13128         * buffer.C (sgmlOpenTag):
13129         * buffer.C (sgmlCloseTag): removed debug info.
13130
13131         * buffer.h (sgmlOpenTag):
13132         * buffer.h (sgmlCloseTag): made public.
13133
13134 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13135
13136         * buffer.C (saveParamsAsDefaults):
13137         * lyx_cb.C (MenuLayoutSave): remove
13138
13139         * LyXAction.C (init):
13140         * commandtags.h:
13141         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13142
13143 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13144
13145         * buffer.C (setPaperStuff): removed from here...
13146
13147         * bufferparams.C (setPaperStuff): ... and moved there.
13148
13149 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13150
13151         * minibuffer.h:
13152         * minibuffer.C:
13153         * XFormsView.C: add support for drop-down completion
13154
13155 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13156
13157         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13158         commands.
13159
13160 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13161
13162         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13163         disabled.
13164
13165 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13166
13167         * lyx_main.C: change ref to known bugs
13168
13169 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13170
13171         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13172         to work around older babel problems.
13173
13174 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13175
13176         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13177
13178 2001-10-24  Juergen Vigna  <jug@sad.it>
13179
13180         * tabular-old.C (ReadOld): below variable changes reflected.
13181
13182         * tabular.[Ch]: added ltType struct for longtable header/footer
13183         defines and changed all instances where they are used. Added
13184         future support for double top/bottom rows.
13185
13186 2001-10-24  José Matos  <jamatos@fep.up.pt>
13187
13188         * buffer.h (docbookHandleCaption):
13189         * buffer.C (docbookHandleCaption): removed unused function.
13190         (makeDocBookFile): moved docbook supported version to v4.1.
13191
13192 2001-10-24  José Matos  <jamatos@fep.up.pt>
13193
13194         * tabular.h:
13195         * tabular.C (docbookRow): new function to export docbook code of a row.
13196         (DocBook): now honors the longtable flags.
13197
13198 2001-10-23  José Matos  <jamatos@fep.up.pt>
13199
13200         * LaTeXFeatures.h:
13201         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13202         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13203
13204         * buffer.C (makeLinuxDocFile):
13205         (makeDocBookFile): reworked the preamble, more clean, and with
13206         support for lyx defined entities. Changed the document declaration
13207         to be more XML friendly.
13208
13209         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13210         if we need to output XML that should be done with a filter.
13211
13212 2001-10-22  Juergen Vigna  <jug@sad.it>
13213
13214         * sp_pspell.h (class PSpell): add alive function needed in the
13215         controller to see if the spellchecker could be started.
13216
13217 2001-10-22  Juergen Vigna  <jug@sad.it>
13218
13219         * buffer.C (insertStringAsLines): modify the font for inserting
13220         chars in certain conditions by calling checkInsertChar(font).
13221
13222 2001-10-19  Juergen Vigna  <jug@sad.it>
13223
13224         * text.C (workWidth): use getRow instead of wrong algorithm.
13225         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13226
13227 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13228
13229         * lyxserver.h:
13230         * lyxserver.C:
13231         * lyx_main.h:
13232         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13233
13234 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13235
13236         * text.C (workWidth): do not search for the exact row when
13237         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13238         optimization for big documents.
13239
13240 2001-10-18  Juergen Vigna  <jug@sad.it>
13241
13242         * text.C (workWidth): new function with added Inset * parameter.
13243
13244 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13245
13246         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13247
13248         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13249         change return type of getColumnNearX.
13250
13251
13252         * text.C (changeRegionCase): use uppercase/lowercase instead of
13253         toupper/tolower.
13254         (leftMargin):
13255         (rightMargin): simplify code by factoring out the uses of
13256         textclasslist.
13257         (labelFill):
13258         (numberOfHfills):
13259         (setHeightOfRow):
13260         (appendParagraph): use Paragraph::size_type
13261
13262 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13263
13264         * vspace.C (asLatexString): add a missing break
13265
13266 2001-10-15  Herbert Voss  <voss@perce.de>
13267
13268         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13269
13270 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13271
13272         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13273         is not available.
13274
13275 2001-10-10  André Pönitz <poenitz@gmx.net>
13276
13277         * lyxfunc.C: removed greek_kb_flag.
13278
13279 2001-10-10  Herbert Voss  <voss@perce.de>
13280
13281         * lyx_main.C: delete global string help_lyxdir.
13282
13283 2001-10-09  Herbert Voss  <voss@perce.de>
13284
13285         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13286
13287         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13288
13289         * lyx_main.C: added global string help_lyxdir.
13290
13291         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13292
13293 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13294
13295         * lyxrc.C (set_font_norm_type): support iso8859-4
13296
13297 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13298
13299         * LaTeX.C (deplog): add another regex for MikTeX
13300
13301 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13302
13303         * lyxrc.C (set_font_norm_type): support iso8859-3
13304
13305 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13306
13307         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13308
13309         * LaTeXFeatures.C: remove special case of french and index
13310
13311         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13312         before \begin{document}). This solves several incompatibilities.
13313
13314 2001-10-03  Garst Reese  <reese@isn.net>
13315
13316         * lyx_cb.C: change CheckTex error msg.
13317
13318 2001-10-03  José Matos  <jamatos@fep.up.pt>
13319
13320         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13321
13322 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13323
13324         * .cvsignore: update
13325
13326         * lyx_main.C (commandLineVersionInfo): use new style version info.
13327
13328         * buffer.C (writeFile):
13329         (makeLaTeXFile):
13330         (makeLinuxDocFile):
13331         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13332
13333         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13334
13335         * version.h: update to use stuff in version.C
13336
13337         * version.C.in: new file. Contains version information determined
13338         at compile time. This is a merging of version.h and
13339         version_info.h.in.
13340
13341 2001-10-03  Juergen Vigna  <jug@sad.it>
13342
13343         * BufferView_pimpl.C (update): don't change "dirty" status in
13344         updateInset call.
13345
13346 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13347
13348         * WorkArea.C (c-tor): re-position version string slightly.
13349
13350 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13351
13352         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13353         revert to previous code.
13354
13355         WorkArea.[Ch]: (show, destroySplash): methods removed.
13356
13357         WorkArea.C: rework code so that it's an amalgam of the codes before and
13358         after the splash screen was moved to WorkArea.
13359
13360 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13361
13362         * lyxrc.C (read):
13363         * vspace.C (inPixels):
13364         (lyx_advance):
13365         * kbmap.C (bind):
13366         * buffer.C (insertStringAsLines):
13367         (asciiParagraph): fix types to be large enough
13368
13369         * lyxlex_pimpl.h: change member status from short to int
13370
13371         * layout.h: fix type of endlabeltype
13372
13373         * kbmap.C (bind):
13374         * kbsequence.C (parse): change return type to string::size_type
13375
13376         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13377         variable
13378
13379         * Bullet.C (bulletSize):
13380         (bulletEntry): do not use short ints as parameters
13381
13382         * BufferView2.C (insertLyXFile): change a char to an int.
13383
13384         * WorkArea.C (WorkArea): remove unneeded floats in computation
13385
13386 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13387
13388         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13389
13390         * paragraph.C (asString): Do not ignore newline/hfill chars when
13391         copying to the clipboard.
13392
13393 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13394
13395         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13396         after a multi-line inset.
13397
13398 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13399
13400         * paragraph.C (validate): Set NeedLyXFootnoteCode
13401
13402 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13403
13404         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13405         and decrease-error to decrease.
13406
13407 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13408
13409         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13410         it more readable (should be equivalent)
13411
13412 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13413
13414         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13415
13416 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13417
13418         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13419         of a cursor (row, etc.) after a character has been deleted
13420         (deleteEmptyParagraphMechanism): call the method above on _all_
13421         cursors held by the LyXText when a double space has been
13422         detected/deleted.
13423
13424 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13425
13426         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13427         pixmap.
13428         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13429
13430         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13431         background. Use greyOut() and the new show() methods to toggle between
13432         the foreground and background. Add code to remove the splash after
13433         its initial showing.
13434
13435         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13436         (create_forms): no longer call Dialogs::showSplash.
13437
13438 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13439
13440         * .cvsignore: add version_info.h
13441
13442 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13443
13444         * version_info.h.in: new file
13445
13446         * Makefile.am: add version_info.h.in
13447
13448         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13449         version_info.h instead of VERSION_INFO
13450
13451 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13452
13453         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13454         The ERT inset now returns string().
13455
13456 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13457
13458         * lyxtext.h, text.C (selectNextWord): renamed as
13459         selectNextWordToSpellcheck.
13460
13461         * text.C (selectNextWordToSpellcheck): Modified to not select
13462         words inside an ERT inset.
13463
13464 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13465
13466         * lyx_cb.C (MenuLayoutSave): change a bit the question
13467
13468         * sp_base.h: include <sys/types.h>
13469
13470 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13471
13472         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13473
13474 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13475
13476         * several files: fix typos in user-visible strings
13477
13478 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13479
13480         * text2.C (pasteSelection): do not set the selection, since it
13481         will be cleared later. Actually, the intent was to fix the way the
13482         selection was set, but I figured rmoving the code was just as good.
13483
13484 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13485
13486         * FontLoader.C (available): Check if font is available without
13487         loading the font.
13488
13489 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13490
13491         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13492
13493 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13494
13495         * lyxrc.[Ch]: added display_graphics variable and associated code.
13496
13497 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13498
13499         * bufferparams.C (hasClassDefaults): new method. Returns true if
13500         the buffer parameters correspond to known class defaults
13501
13502 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13503
13504         * XFormsView.C (show): set minimum size to the main window.
13505
13506 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13507
13508         * text2.C (copySelection):
13509         (cutSelection):
13510         * lyxfind.C (LyXReplace):
13511         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13512         LyXText::selectionAsString.
13513
13514         * paragraph.C (asString): add "label" argument to the second form
13515
13516         * text2.C (selectionAsString): add "label" argument and pass it to
13517         Paragraph::asString.
13518
13519 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13520
13521         * lyx_main.C (commandLineHelp): remove version information
13522
13523 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13524
13525         * lyx_main.C: add -version commandline option
13526
13527 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13528
13529         * paragraph.h: make the optional constructor arg required instead.
13530         some modifications to other files because of this.
13531
13532         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13533
13534         * lyxserver.C (C_LyXComm_callback): make it static
13535
13536         * lyx_main.C (error_handler): make it static
13537
13538         * lyx_gui.C (LyX_XErrHandler): make it static
13539
13540         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13541
13542         * WorkArea.C: make the extern "C" methods static.
13543
13544         * Makefile.am (lyx_LDADD): simplify
13545
13546 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13547
13548         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13549         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13550
13551         * LyXAction.C (init):
13552         * lyxfunc.C (dispatch): associated code removal.
13553
13554 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13555
13556         * lyxfont.h (isSymbolFont): shut off warning
13557
13558         * text.C (setHeightOfRow):
13559         (getVisibleRow): fix crash with empty paragraphs which have a
13560         bottom line
13561
13562 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13563
13564         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13565         code.
13566
13567 2001-09-04  José Matos  <jamatos@fep.up.pt>
13568         * buffer.C
13569         * buffer.h
13570         * tabular.C (docbook): rename docBook method to docbook.
13571
13572 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13573
13574         * Makefile.am: add dependencies to main.o.
13575
13576 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13577
13578         * FontLoader.C (available): Return false if !lyxrc.use_gui
13579
13580 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13581
13582         * FontInfo.C (query):
13583         * converter.C (view):
13584         * importer.C (Import):
13585         * exporter.C (Export): Can not -> cannot.
13586
13587 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13588
13589         * BufferView_pimpl.C: allow to create index inset even if
13590           string is empty
13591
13592 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13593
13594         * buffer.C (getLists): replace boost::tie code with an explicit pair
13595         as boost::tie can break some compilers.
13596
13597         * iterators.h: Added a std:: declaration to the return type of
13598         ParIterator::size.
13599
13600 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13601
13602         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13603           case.
13604
13605 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13606
13607         * iterators.[Ch]: New files. Provide paragraph iterators.
13608
13609         * buffer.C (changeLanguage): Use paragraph iterators.
13610         (isMultiLingual): ditto
13611
13612         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13613
13614 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13615
13616         * FontLoader.C: Support for cmr font.
13617
13618 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13619
13620         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13621         (available): New method.
13622
13623         * FontInfo.C (getFontname): Use scalable fonts even when
13624         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13625         found.
13626
13627 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13628
13629         * converter.C (Formats::view): reverted! Incorrect fix.
13630
13631 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13632
13633         * converter.C (Formats::view): only output the -paper option
13634         if the dvi viewer is xdvi, thereby fixing bug #233429.
13635
13636 2001-08-23  Herbert Voss  <voss@perce>
13637
13638         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13639
13640 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13641
13642         * Spacing.h (Spacing): Set space to Default on in the default
13643         constructor.
13644
13645 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13646
13647         * vc-backend.h (RCS::versionString): add RCS to version
13648         (CVS::versionString): add CVS to version
13649
13650         * vc-backend.C (scanMaster): do not add CVS to version.
13651         (scanMaster): do not add RCS to version
13652
13653         * lyxvc.C (versionString): new method
13654
13655         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13656
13657 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13658
13659         * Spacing.C (set): initialize fval
13660
13661 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13662
13663         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13664         " or \.
13665
13666 2001-08-16  Juergen Vigna  <jug@sad.it>
13667
13668         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13669
13670 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13671
13672         * BufferView_pimpl.C:
13673         * figureForm.C:
13674         * lyxtext.h:
13675         * text2.C: setParagraph takes linespacing now
13676
13677 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13678
13679         * LyxAction.C: add internal LFUN_CITATION_INSERT
13680
13681         * LyXView.C: actually apply fix
13682
13683         * bufferlist.C: fix open non-existent file
13684
13685         * lyxfind.C: fix indentation
13686
13687         * lyxfunc.C: remove unneeded assert, fix typo
13688
13689 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13690
13691         * MenuBackend.C: use "Floatname List"
13692
13693 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13694
13695         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13696         when converting LaTeX layout to insetERT.
13697         Generate a non-collapsed float when reading old float
13698
13699 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13700
13701         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13702         ERT insets.
13703
13704 2001-08-13  Juergen Vigna  <jug@sad.it>
13705
13706         * text.C (fill): return 0 instead of 20 as this seems to be the more
13707         correct value.
13708
13709 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13710
13711         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13712         lyxrc.font_norm.
13713
13714 2001-08-13  Juergen Vigna  <jug@sad.it>
13715
13716         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13717         casesensitive off.
13718         (SearchBackward): comment out the unlocking of the inset_owner this
13719         should not be needed!
13720
13721 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13722
13723         * Many files: Remove inherit_language, and add latex_language
13724
13725         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13726         collapsible insets.
13727
13728 2001-08-10  Juergen Vigna  <jug@sad.it>
13729
13730         * text.C (prepareToPrint): fixed hfill-width in draw!
13731
13732         * BufferView2.C (selectLastWord): save the selection cursor as this
13733         now is cleared in the function LyXText::clearSelection!
13734
13735 2001-08-08  Juergen Vigna  <jug@sad.it>
13736
13737         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13738         BACKSPACE type functions.
13739
13740         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13741         is only cutted from the document but not put in the cut-buffer, where
13742         still the old stuff should be.
13743
13744         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13745
13746         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13747
13748         * tabular.C (SetWidthOfCell): fixed special case where the width
13749         was not updated!
13750         (LeftLine): handle '|' in align_special.
13751         (RightLine): ditto
13752         (LeftAlreadyDrawed): ditto
13753         (SetWidthOfCell): ditto
13754
13755 2001-08-07  Juergen Vigna  <jug@sad.it>
13756
13757         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13758
13759 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13760
13761         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13762         * lyxlex.[hC]: ditto
13763
13764 2001-08-06  Juergen Vigna  <jug@sad.it>
13765
13766         * text.C (getVisibleRow): fix up row clearing a bit.
13767
13768 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13769
13770         * minibuffer.C: make sure the X server sees the changes in the input.
13771
13772 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13773
13774         * paragraph.C (getFont): split into...
13775         (getLabelFont): this
13776         (getLayoutFont): and this
13777         * paragraph_pimpl.C (realizeFont): calling this
13778
13779         * text2.C (getFont): split into...
13780         (getLayoutFont): this
13781         (getLabelFont): and this
13782         (realizeFont): all three calling this
13783
13784         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13785         files where used.
13786
13787 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13788
13789         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13790
13791 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13792
13793         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13794         layouts from the Quote inset insertion.
13795
13796 2001-08-03  Juergen Vigna  <jug@sad.it>
13797
13798         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13799
13800         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13801         only if status not is already CHANGED_IN_DRAW (second level).
13802
13803         * text.C (draw): don't set the need_break_row when inside an
13804         InsetText LyXText.
13805
13806 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13807
13808         * buffer.C (parseSingleLyXformat2Token): handle more latex
13809         conversion cases.
13810
13811         * bufferview_funcs.[hC]: change function names to
13812         begin with small char, adjust other files.
13813
13814 2001-08-02  André Pönitz <poenitz@gmx.net>
13815
13816         * lyxfunc.C:
13817         BufferView_pimpl.C: remove broken special code for math-greek
13818
13819 2001-08-02  Juergen Vigna  <jug@sad.it>
13820
13821         * BufferView_pimpl.C (update): redone this function so that we
13822         update the text again if there was a CHANGE_IN_DRAW.
13823
13824         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13825         (drawFromTo): added a new internal bool which is used by draw() and
13826         redraw() function.
13827         (general): some cursor drawing problems fixed.
13828
13829 2001-08-01  Juergen Vigna  <jug@sad.it>
13830
13831         * lyxfind.C (LyXFind): fixed
13832         (SearchForward): ditto
13833         (SearchBackward): ditto
13834
13835         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13836         spurius drawing of the cursor in the main area.
13837
13838         * text2.C (status): small fix which could lead to a segfault!
13839         (clearSelection): remove unneeded BufferView param.
13840
13841 2001-08-01  André Pönitz <poenitz@gmx.net>
13842
13843         * lyxfunc.C: small change due to changed mathed interface
13844
13845 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13846
13847         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13848
13849 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13850
13851         * lyxfunc.c: fail gracefully if file doesn't exist
13852
13853         * LyXSendto.C:
13854         * buffer.C:
13855         * lyxfunc.C:
13856         * BufferView_pimpl.C: IsDirWriteable() proto changed
13857
13858         * LyXView.C: fix updateWindowTitle() to store the last title
13859
13860 2001-07-31  Juergen Vigna  <jug@sad.it>
13861
13862         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13863         the font (wrong since using of Paragraph::highestFontInRange).
13864
13865         * paragraph.C (highestFontInRange): added a default_size parameter.
13866
13867         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13868         (setHeightOfRow): reformat
13869
13870 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13871
13872         * converter.[hC] + affected files: move to (inital-char)lowercase
13873         function names.
13874
13875         * ParagraphParameters.C (ParagraphParameters): remove commented code
13876
13877         * PainterBase.[Ch]: remove commented code
13878
13879         * LaTeXFeatures.h: add "bool floats" for float.sty
13880
13881         * LaTeXFeatures.C (LaTeXFeatures): init floats
13882         (require): handle float
13883         (getPackages): do it with floats
13884
13885 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13886
13887         * BufferView_pimpl.C (Dispatch): improve handling of
13888         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13889
13890         * commandtags.h: #include lyxfont.h here temporarily to avoid
13891         keybinding bug.
13892
13893         * bufferlist.h: include LString.h here.
13894
13895 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13896
13897         * text2.C (getStringToIndex): new method.
13898
13899 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13900
13901         * *: Reduced header file dependencies all over.
13902
13903 2001-07-30  Baruch Even  <baruch@lyx.org>
13904
13905         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13906
13907 2001-07-29  Baruch Even  <baruch@lyx.org>
13908
13909         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13910
13911 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13912
13913         * ParameterStruct.h (endif): add a default constructor to make
13914         sure that all variables is initialized.
13915
13916         * ParagraphParameters.C (ParagraphParameters): adjust
13917
13918 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13919
13920         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13921         index; also, check that there is something to index, and that it
13922         does not span over several paragraphs.
13923         (doubleClick): use WHOLE_WORD_STRICT for double click.
13924
13925         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13926
13927         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13928         scheme.
13929
13930 2001-07-26  Baruch Even  <baruch@lyx.org>
13931
13932         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13933         an InsetFig figure, backwards compatible reading of old figure code.
13934
13935 2001-07-27  Juergen Vigna  <jug@sad.it>
13936
13937         * text2.C: font.realize function adaption.
13938
13939         * text.C (draw): add a warnings lyxerr text if needed.
13940
13941         * layout.C: font.realize function adaption.
13942
13943         * language.C: add inherit_language and implement it's handlings
13944
13945         * bufferview_funcs.C (StyleReset): remove language parameter from
13946         font creation (should be language_inherit now).
13947
13948         * bufferparams.C (writeFile): handle ignore_language.
13949
13950         * paragraph.C (getFontSettings): the language has to be resolved
13951         otherwise we have problems in LyXFont!
13952
13953         * lyxfont.C (lyxWriteChanges): added document_language parameter
13954         (update): removed unneeded language parameter
13955
13956         * paragraph.C (validate): fixed wrong output of color-package when
13957         using interface colors for certain fonts in certain environments,
13958         which should not seen as that on the final output.
13959
13960 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13961
13962         * BufferView_pimpl.C:
13963         * Thesaurus.h:
13964         * Thesaurus.C:
13965         * Makefile.am:
13966         * commandtags.h:
13967         * LyXAction.C: add thesaurus support
13968
13969         * lyxfind.h:
13970         * lyxfind.C: add "once" parameter, for thesaurus, to not
13971           move to the next match
13972
13973 2001-07-26  Juergen Vigna  <jug@sad.it>
13974
13975         * lyxfont.C (realize): honor ignore_language too!
13976         (resolved): ditto.
13977
13978         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13979
13980         * text.C (draw): one place more for ignore_language to not draw
13981         itself!
13982
13983 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13984
13985         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13986
13987 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13988
13989         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13990         the minipage conversion problem.
13991
13992 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13993
13994         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13995         insert an inset.
13996
13997 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13998
13999         * BufferView.h: don't forward declare WorkArea
14000
14001         * BufferView.C: don't include WorkArea.h
14002
14003 2001-07-25  André Pönitz <poenitz@gmx.net>
14004
14005         * commandtags.h:
14006         * LyXAction.C:
14007         * lyxfunc.C:  new LFUN 'math-space'
14008
14009         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14010
14011 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14012
14013         * text2.C (toggleInset): call open/close
14014
14015 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14016
14017         * lyxfunc.C (dispatch): add debug for the disabled case
14018
14019         * font.C (buttonText): make similar to rectText
14020
14021         * buffer.C (readInset): comment out parsing of insetlist and
14022         insttheorem
14023
14024         * PainterBase.C (rectText): small correction
14025
14026         * BufferView_pimpl.C: comment out insettheorem and insetlist
14027         * LyXAction.C: ditto
14028         * commandtags.h: ditto
14029
14030 2001-07-24  Juergen Vigna  <jug@sad.it>
14031
14032         * text.C (draw): honor the ignore_language.
14033
14034         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14035
14036 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14037
14038         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14039         char inset.
14040
14041 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14042
14043         * lyxtext.h: remove unused (and unimplemented) methods
14044
14045 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14046
14047         * text.C (getVisibleRow): honor background color
14048
14049         * PainterBase.h:
14050         * Painter.h: remove default color argument for fillRectangle
14051
14052         * text.C (backgroundColor): new method
14053
14054 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14055
14056         * text.C (getVisibleRow): adjust
14057
14058         * font.[Ch] (rectText): new method, metrics
14059         (buttonText): new method, metrics
14060
14061         * PainterBase.[hC]: make rectText and buttonText always draw and take
14062         fewer paramteres.
14063
14064 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14065
14066         * ToolbarDefaults.C (read):
14067         * MenuBackend.C (read): allow escaping in all strings
14068
14069         * BufferView_pimpl.C (insertAndEditInset): new method.
14070         (Dispatch): use insertAndEditInset whenever appropriate.
14071
14072         * BufferView_pimpl.C (insertNote): removed
14073
14074         * BufferView_pimpl.C (smartQuote): new method, moved from
14075         BufferView; if an insetquote cannot be inserted, insert a '"'
14076         character instead.
14077
14078         * BufferView2.C: remove insertCorrectQuote();
14079
14080         * lyxfunc.C (getStatus): Add support for all remaingin
14081         inset-insert lfuns.
14082
14083         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14084
14085         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14086         command (necessary to pass " as parameter of self-insert.
14087
14088         * text.C (selectWordWhenUnderCursor):
14089         (selectWord): add word_location parameter
14090         (selectWordWhenUnderCursor): same + remove special code for word
14091         boundary.
14092         (selectNextWord): use kind() to guess type of insetspecialchar,
14093         not latex().
14094
14095         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14096         (insertErtContents): create ert insets as collapsed.
14097         (readInset): better compatibility code for Info inset.
14098
14099 2001-07-20  Juergen Vigna  <jug@sad.it>
14100
14101         * lyxfunc.C (dispatch): use always LyXFind now!
14102
14103         * text2.C (init): add a reinit flag so that the LyXText can be
14104         reinited instead of deleted and reallocated (used in InsetText).
14105
14106         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14107
14108         * text.C: ditto
14109
14110         * text2.C: ditto
14111
14112 2001-07-18  Juergen Vigna  <jug@sad.it>
14113
14114         * text.C (selectNextWord): handle insets inside inset by calling
14115         always the bv->text functions so that we can go up the_locking_inset!
14116
14117         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14118         in strange locations when inside an inset!
14119
14120         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14121         handling to include insets.
14122
14123         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14124
14125 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14126
14127         * LyXAction.C (init):
14128         * commandtags.h:
14129         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14130         LIGATURE_BREAK, since the name is so stupid.
14131
14132 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14133
14134         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14135         InsetInfos.
14136
14137         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14138
14139         * sp_form.[Ch]: remove.
14140
14141         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14142
14143         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14144         InsetInfo.
14145
14146         * src/buffer.C (readInset): ditto.
14147
14148 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14149
14150         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14151         menuSeparator(), endOfSentenceDot(), ldots() and
14152         hyphenationPoint(), which are therefore removed.
14153         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14154
14155         * LyXAction.C (init):
14156         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14157
14158         * paragraph.C (getWord): removed.
14159
14160         * BufferView_pimpl.C (Dispatch): use last word or selection for
14161         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14162
14163         * lyx_main.C (queryUserLyXDir): do not ask before creating
14164         user_dir, except if it has been named explicitely.
14165
14166 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14167
14168         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14169         a document of zero size.
14170
14171 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14172
14173         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14174         approriately in the c-tor and in require().
14175         (getPackages): output the appropriate LaTeX for natbib support.
14176
14177         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14178         variables "use_natbib" and "use_numerical_citations" when reading the
14179         LyX file.
14180         (readInset): read the various natbib cite commands.
14181         (validate): white-space change.
14182
14183         * bufferparams.[Ch]: new variables "bool use_natbib" and
14184         "bool use_numerical_citations".
14185         (writeFile): output them in the LyX file.
14186
14187 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14188
14189         * lyxfunc.C (getStatus): add support for all the inset insertion
14190         commands.
14191
14192         * text2.C (insertInset):
14193         * paragraph.C (insetAllowed):
14194         * BufferView_pimpl.C (insertInset): update to take in account the
14195         renaming of insertInsetAllowed
14196
14197         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14198
14199         * text2.C (getInset): new method. returns inset at cursor position.
14200
14201         * BufferView_pimpl.C (Dispatch): changes because of this.
14202
14203         * LyXAction.C (init): rename open-stuff to inset-toggle.
14204
14205         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14206
14207         * text2.C (toggleInset): renamed from openStuff; use
14208         Inset::open().
14209
14210 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14211
14212         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14213
14214         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14215
14216 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14217
14218         * buffer.C (readLyXformat2): Add filename to the error dialog
14219
14220 2001-07-18  Juergen Vigna  <jug@sad.it>
14221
14222         * tabular.C (GetCellNumber): put an assert here instead of the check!
14223
14224 2001-07-17  Juergen Vigna  <jug@sad.it>
14225
14226         * BufferView_pimpl.C (toggleSelection): adapted too.
14227
14228         * text.C (selectNextWord): adapted for use with insets.
14229         (selectSelectedWord): ditto
14230
14231 2001-07-17  Juergen Vigna  <jug@sad.it>
14232
14233         * sp_spell.C (PSpell): fix initialitation order.
14234
14235 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14236
14237         * paragraph.C: spacing
14238
14239 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14240
14241         * sp_spell.C: repair language selection for pspell
14242
14243 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14244
14245         * lyxfunc.h: change more methods to begin with lower char.
14246
14247 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14248
14249         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14250         for unknown layouts.
14251
14252 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14253
14254         * buffer.C (readLyXformat2): Generate an error dialog if there are
14255         unknown layouts.
14256
14257 2001-07-16  Juergen Vigna  <jug@sad.it>
14258
14259         * sp_spell.C: always compile ISpell part.
14260
14261         * lyxrc.C: added use_pspell entry and it's handling.
14262
14263 2001-07-13  Juergen Vigna  <jug@sad.it>
14264
14265         * sp_spell.C: removed double includes.
14266
14267 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14268
14269         Consistent use of Lsstream.h:
14270         * Lsstream.h: added using std::stringstream for consistencies sake.
14271
14272         * buffer.C: removed using std::stringstream
14273
14274         * lyxfont.C (stateText):
14275         * paragraph.C (asString):
14276         * text.C (selectNextWord, selectSelectedWord):
14277         * text2.C (setCounter):
14278         * vspace.C (asString, asLatexString):
14279         std::ostringstream -> ostringstream.
14280
14281 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14282
14283         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14284         * commandtags.h: add LFUN_HELP_ABOUTLYX
14285         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14286
14287 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14288
14289         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14290         cursorToggle()
14291         * lyx_gui_misc.C: remove spellchecker
14292         * lyxfunc.C: showSpellchecker
14293         * sp_base.h: added
14294         * sp_ispell.h: added
14295         * sp_pspell.h: added
14296         * sp_spell.C: added
14297         * sp_form.[Ch]: removed
14298         * spellchecker.[Ch]: removed
14299
14300 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14301
14302         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14303         is set.
14304         (simpleTeXSpecialChars): Simply print the input character without
14305         any special translation if pass_thru is set.
14306
14307         * layout.h: Added bool pass_thru to layout class for being able to
14308         implement pass through of a paragraph for Literate Programming.
14309
14310         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14311         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14312         * layout.C (Read): add "passthru" to list of layout tags and add
14313         code to set the pass_thru boolean when it is read.
14314
14315 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14316
14317         * trans_decl.h: remove allowed from KmodInfo
14318
14319         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14320         remove allowed code
14321         (Load): adjust
14322
14323         * paragraph_pimpl.C (erase): use boost::prior
14324
14325         * Painter.C (text): use data() instead of c_str() when length is
14326         also provided.
14327         * WorkArea.C (putClipboard): ditto
14328         * font.h (width): ditto
14329
14330         * BufferView2.C: use it-> instead of (*it). for iterators
14331         * texrow.C: ditto
14332         * paragraph_pimpl.C: ditto
14333         * paragraph.C: ditto
14334         * minibuffer.C: ditto
14335         * language.C: ditto
14336         * kbmap.C: ditto
14337         * encoding.C: ditto
14338         * counters.C: ditto
14339         * converter.C: ditto
14340         * chset.C: ditto
14341         * Variables.C: ditto
14342         * TextCache.C: ditto
14343         * MenuBackend.C: ditto
14344         * LyXAction.C: ditto
14345         * LColor.C: ditto
14346         * FloatList.C: ditto
14347         * DepTable.C: ditto
14348         * ColorHandler.C (LyXColorHandler): ditto
14349
14350 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14351
14352         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14353
14354         * text2.C (openStuff): reintroduce this method (which had been
14355         nuked in NEW_INSETS frenzy).
14356
14357         * lyxfunc.C (Dispatch): when an action has not been handled, use
14358         its name in the error message, not its number.
14359
14360         * paragraph.C (inInset): change method name to begin with lowercase.
14361
14362         * undo_funcs.C:
14363         * text2.C: updates because of this.
14364
14365 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14366
14367         * ToolbarDefaults.C (add): add spaces in error message
14368
14369 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14370
14371         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14372         (readLyXformat2): rename return_par to first_par, use lyxlex's
14373         pushToken and remove the manual push handling.
14374         (parseSingleLyXformat2Token): add another ert comp. variable:
14375         in_tabular, rename return_par to first_par. handle newlines better
14376
14377 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14378
14379         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14380
14381 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14382
14383         * text2.C (getParFromID): removed
14384
14385         * buffer.C (getParFromID): new method moved form lyxtext.
14386         * BufferView2.C (insertErrors): adjust
14387         (setCursorFromRow): adjust
14388         * BufferView_pimpl.C (restorePosition): adjust
14389         * lyxfunc.C (Dispatch): adjust
14390         * undo_funcs.C (textUndo): adjust
14391         (textRedo): adjust
14392         (textHandleUndo): adjust
14393         (textHandleUndo): adjust
14394
14395 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14396
14397         * buffer.C: up' the LYX_FORMAT
14398
14399         * lyxfont.h: turn NO_LATEX on as default
14400
14401         * buffer.C (insertErtContents): new methods of tex style compability.
14402         (parseSingleLyXformat2Token): use it several places.
14403         * tabular.C (OldFormatRead): and here
14404
14405 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14406
14407         * text2.C: remove some commented code.
14408         reindent file.
14409
14410         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14411         * trans.C: changes because of the above.
14412
14413 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14414
14415         * text2.C (setCounter): Fix counters bug with bibliography layout.
14416
14417 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14418
14419         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14420         own member functions
14421         (simpleTeXSpecialChars): ditto
14422
14423 2001-07-06  Juergen Vigna  <jug@sad.it>
14424
14425         * a lot of files: changed the access to LyXText::status and the
14426         call of undo-functions.
14427
14428         * undo.[Ch]: added a inset_id to the undo informations.
14429
14430         * undo_funcs.[Ch]: added and moved here all undo functions.
14431
14432         * lyxtext.h: give the status enum a weight, made status_ a private
14433         variable and made accessor functions for it, removed the whole bunch
14434         of undo-functions as they are now in their own file, make some
14435         functions publically available. Added function ownerParagraph with
14436         int parameter.
14437
14438         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14439         made InInset() a const function, added getParFromID() function.
14440
14441         * buffer.[Ch]: added const version for inset_iterator functions,
14442         added getInsetFromID() function.
14443
14444         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14445         changed undo functions for new version.
14446
14447 2001-07-05  Juergen Vigna  <jug@sad.it>
14448
14449         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14450         unknow mechanism does not call the proper constructor but only this
14451         one also if I request the other!?
14452
14453 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14454
14455         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14456
14457         * text2.C (LyXText): use initialization lists.
14458
14459         * lyxtext.h (Selection): initialize set_ and mark_
14460         (init): remove method
14461
14462 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14463
14464         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14465
14466 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14467
14468         * screen.[Ch]: change method names to begin with lowercase
14469
14470         * BufferView_pimpl.C (updateScrollbar): simplify further and
14471         hopefully make it a bit faster.
14472
14473 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14474
14475         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14476         calling directly xforms functions.
14477
14478         * Painter.C (Painter):
14479         * lyx_cb.C (MenuWrite):
14480         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14481         fl_display.
14482
14483         * lyx_gui.C: remove bogus guiruntime extern declaration.
14484
14485 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14486
14487         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14488         in NEW_INSETS
14489         (redoDrawingOfParagraph): ditto
14490         (redoParagraphs): ditto
14491         (cutSelection): don't create a object for CutAndPaste use the
14492         static method directly
14493         (pasteSelection): ditto
14494
14495         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14496         LyXview (+ rename)
14497
14498 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14499
14500         * modifications to some other files because of this.
14501
14502         * Makefile.am (lyx_SOURCES): add XFormsView
14503
14504         * XFormsView.[Ch]: new files
14505
14506         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14507         the main window. Move the gui dependent stuff to XFormsView
14508
14509 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14510
14511         * tabular.C (GetCellInset): update cur_cell also in the row/col
14512         version of this function.
14513
14514         * lyxfunc.C: no need to include figure_form.h here.
14515
14516         * FontLoader.h:
14517         * lyxfunc.h:
14518         * lyxscreen.h:
14519         * text2.C:
14520         * lyxvc.C: no need to include forms.h here.
14521
14522 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14523
14524         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14525
14526         * lyxfunc.C (Dispatch):
14527         * Spacing.C (set):
14528         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14529         constructor argument.
14530
14531 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14532
14533         * paragraph.C (Paragraph): dont't clear, and just set layout.
14534         (makeSameLayout): use params's copy contructor.
14535
14536         * ParagraphParameters.[Ch] (makeSame): delete method
14537
14538 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14539
14540         * Variables.[Ch]: fix indentation, rename set to isSet
14541
14542 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14543
14544         * lyxfunc.C (Dispatch): fix typo
14545
14546 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14547
14548         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14549         upper_bound.
14550
14551         * bufferlist.C: include assert.h for emergencyWrite().
14552
14553 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14554
14555         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14556           give up at last (bug #425202) !
14557
14558 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14559
14560         * lyx_gui_misc.C:
14561         * sp_form.h:
14562         * sp_form.C:
14563         * spellchecker.h:
14564         * spellchecker.C: strip spellchecker options and bring up
14565           preferences tab instead
14566
14567 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14568
14569         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14570         the istringstream constructor
14571
14572 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14573
14574         * paragraph.C (getLayout): fix return value
14575
14576         * paragraph.h: do not declare getLayout as inline.
14577
14578         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14579
14580 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14581
14582         * lyxcursor.h (operator<): new func
14583         (operator>): new func
14584         (operator>=): new func
14585         (operator<=): new func
14586
14587         * text.C (changeCase): use selection.start and selection.end
14588         (changeRegionCase): require from to be <= to. Require par to be a
14589         valid paragraph.
14590
14591         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14592
14593 2001-06-27  Juergen Vigna  <jug@sad.it>
14594
14595         * text.C (cursorLeftOneWord): changed to return the cursor and added
14596         overlay with BufferView * parameter which calls this one.
14597         (getWord): added
14598         (selectWord): use new getWord function.
14599         (changeCase): renamed from changeWordCase as and extended to work
14600         also on selections.
14601
14602         * lyxtext.h: added enum word_location
14603
14604         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14605         changeCase as this operates now also on selections.
14606
14607 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14608
14609         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14610
14611         * many files: send debug output to Debug::INFO instead of
14612         Debug::ANY.
14613
14614         * converter.C (View):
14615         (Convert):
14616         (Move): send debug output to Debug::FILES instead of console.
14617
14618 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14619
14620         * lyxfunc.C (getStatus): use func_status
14621
14622         * func_status.h: new header, describing the results of
14623         LyXFunc::getStatus;
14624
14625         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14626         LFUN_MATH_HALIGN.
14627
14628 2001-06-25  The LyX Project  <jug@sad.it>
14629
14630         * buffer.C (sgmlOpenTag):
14631         (sgmlCloseTag):
14632         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14633
14634 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14635
14636         * text2.C: remove some dead code
14637
14638         * tabular.C (GetCellInset): store the last cell checked (gotten)
14639
14640         * tabular.h: add the helper for the speedup
14641
14642         * lyxtext.h: remove some dead code
14643
14644 2001-06-26  The LyX Project  <Asger>
14645
14646         * paragraph.C: Change export to LaTeX of alignment to
14647         \begin{center} and family for better roundtrip work with reLyX.
14648
14649         * Tune the math drawing a bit.
14650
14651 2001-06-25  The LyX Project  <Asger>
14652
14653         * LColor.C (LColor): New color for math background. New color
14654         for buttons.
14655
14656 2001-06-25  The LyX Project  <jug@sad.it>
14657
14658         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14659
14660         * lyxfunc.C (Open):
14661         * bufferlist.C (newFile): do not restrict to files ending with
14662         .lyx
14663
14664         * BufferView_pimpl.C (MenuInsertLyXFile):
14665
14666 2001-06-24  The LyX Project  <jug@sad.it>
14667
14668         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14669         of compare_no_case
14670
14671 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14672
14673         * lyxtext.h: rename most methods to begin with a small char.
14674         Lots of changes because of this.
14675
14676         * paragraph.C (Paragraph): do not call fitToSize
14677         (erase): call Pimpl::erase
14678         (insertChar): call Pimpl::insertChar
14679         (insertInset): call Pipl::insertInset
14680         (breakParagraph): do not call fitToSize
14681         (breakParagraphConservative): do not call fitToSize
14682         (fitToSize): remove method
14683
14684         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14685
14686 2001-06-24  The LyX Project  <Asger>
14687
14688         * Fix Qt compilation^2
14689
14690 2001-06-24  The LyX Project  <jug@sad.it>
14691
14692         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14693         depthHook(getDepth()-1).
14694
14695         * paragraph.h:
14696         * ParagraphParameters.h:
14697         * ParameterStruct.h: change type of depth to unsigned int ==
14698         depth_type. Many adaptations to other files before of that.
14699
14700 2001-06-24  The LyX Project  <Asger>
14701
14702         * Fix Qt compilation.
14703
14704 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14705
14706         * paragraph.h: renamed several methods to begin with small letter.
14707         several changes to many parts of the code because of this.
14708
14709 2001-06-23  The LyX Project  <jug@sad.it>
14710
14711         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14712         rewritten to discard all double spaces when KeepEmpty is off
14713         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14714         to only handle newlines but not fiddle with spaces and friends.
14715
14716         * lyxfunc.C (MenuNew): when doing 'new from template', use
14717         template_path as default directory
14718
14719 2001-06-23  The LyX Project  <Asger>
14720
14721         * Clean-up of header file includes all over
14722         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14723
14724 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14725
14726         * paragraph.h: renamed from lyxparagraph.h
14727
14728 2001-06-23  Asger  <lyx@violet.home.sad.it>
14729
14730         * Buffer.h: Removed Buffer::resize
14731         * BufferList.h: Removed BufferList::resize
14732         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14733         the document lazily when we change the width, or the font settings.
14734
14735 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14736
14737         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14738
14739 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14740
14741         * buffer.h: remove out of date comment
14742
14743 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14744
14745         * lyxscreen.h:
14746         * screen.C: fix "theoretical" GC leak
14747
14748 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14749
14750         * LaTeX.C (scanAuxFile):
14751         (deplog): remove trailing \r when reading stream (useful under
14752         win32)
14753
14754 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14755
14756         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14757         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14758         and BufferView::theLockingInset(Inset*), so should use them and not
14759         access bv_->text->the_locking_inset directly.
14760
14761         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14762
14763 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14764
14765         * Makefile.am:
14766         * tex-defs.h: remove old unused file
14767
14768 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14769
14770         * BufferView_pimpl.C: fix typo, remove minibuffer message
14771           when buffer has loaded
14772
14773 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14774
14775         * lyxfunc.C (Dispatch): use stringstream
14776         (MenuNew): use stringstream
14777         (Open): use stringstream
14778
14779         * importer.C (Import): use stringstream
14780
14781         * bufferview_funcs.C (CurrentState): use stringstream
14782
14783         * LaTeX.C (run): use stringstream
14784
14785         * BufferView_pimpl.C (savePosition): use stringstream
14786         (restorePosition): use stringstream
14787         (MenuInsertLyXFile): use stringstream
14788
14789 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14790
14791         * BufferView.C:
14792         * Bullet.C:
14793         * ColorHandler.C:
14794         * FontInfo.C:
14795         * FontLoader.C:
14796         * LColor.C:
14797         * LaTeXFeatures.C:
14798         * Painter.C:
14799         * gettext.C:
14800         * lyx_gui_misc.C:
14801         * lyxserver.C:
14802         * vspace.C: removed // -*- C++ -*- as first line.
14803
14804         * lyxfind.h:
14805         * version.h: added // -*- C++ -*- as first line.
14806
14807 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14808
14809         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14810
14811         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14812         of string
14813
14814 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14815
14816         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14817         of floats.
14818
14819 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14820
14821         * gettext.C: include LString.h even when --disable-nls is on.
14822
14823 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14824
14825         * converter.h (Get): changed argument type from int to
14826         FormatList::size_type to avoid unnecessary conversion.
14827
14828         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14829         before using it.
14830
14831 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14832
14833         * gettext.h: include LString.h even when --disable-nls is on.
14834
14835 2001-06-07  Juergen Vigna  <jug@sad.it>
14836
14837         * text.C (BreakAgain): subst spaces with tabs.
14838
14839         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14840         (resizeInsetsLyXText): set force on resizeLyXText.
14841
14842 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14843
14844         * gettext.h (gettext_init):
14845         (locale_init): use a real definition instead of a macro
14846
14847 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14848
14849         * Bufferview_pimpl.C:
14850         * LColor.h:
14851         * LColor.C: further lcolor tidies
14852
14853 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14854
14855         * BufferView_pimpl.C (updateScrollbar): simplify.
14856
14857         * BufferView2.C: don't include insets/insetinfo.h, change
14858         prototype for insertInset and call the Pimpl version. let
14859         updateInset call Pimpl version.
14860
14861         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14862         gotoInset to BufferView::Pimpl
14863
14864 2001-06-01  Juergen Vigna  <jug@sad.it>
14865
14866         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14867         inside a LockingInset (is the update needed at all?).
14868
14869 2001-05-31  Juergen Vigna  <jug@sad.it>
14870
14871         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14872         here not the old one otherwise how should we compare it afterwards
14873         if it's the same!
14874
14875 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14876
14877         * lyxfont.C:
14878         * tabular.C:
14879         * tabular-old.C:
14880         * FontInfo.C: bring C functions into global namespace when
14881         necessary
14882
14883 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14884
14885         * LString.h: make sure config.h has been loaded before LString.h.
14886
14887         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14888         (one for each char read by EatLine!).
14889
14890         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14891         variables.
14892
14893 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14894
14895         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14896         to the same as the par we break from
14897
14898 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14899
14900         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14901
14902         * MenuBackend.C (expand): also create menu entries for wide
14903         versions of the floats.
14904
14905         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14906
14907         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14908
14909         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14910         frontends/Makefile.am
14911
14912         * text2.C: adjust
14913         * text.C: adjust
14914
14915
14916         * tabular.C (getTokenValue): add std::
14917
14918         * tabular-old.C (getTokenValue): add std::
14919         (getTokenValue): ditto
14920         (getTokenValue): ditto
14921
14922         * screen.C (ToggleSelection): adjust
14923
14924         * lyxtext.h: put selection cursors inside a Selection struct.
14925
14926         * lyxfunc.C (moveCursorUpdate): adjust
14927
14928         * lyxfont.C (latexWriteStartChanges): add std::
14929
14930         * lyxfind.C: adjust
14931
14932         * font.h: delete with(char const *, LyXFont const &)
14933
14934         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14935
14936         * FontInfo.C (getFontname): add std::
14937
14938         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14939         (workAreaButtonPress): adjust
14940         (tripleClick): adjust
14941         (update): adjust
14942         (moveCursorUpdate): adjust
14943         (Dispatch): adjust
14944
14945         * BufferView2.C (gotoInset): adjust
14946
14947 2001-05-30  Juergen Vigna  <jug@sad.it>
14948
14949         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14950         to check pspell I add this as default as I now have new pspell
14951         libraries and they seem to use this.
14952
14953 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14954
14955         * text2.C (CutSelection): make the cursor valid before the call to
14956         ClearSelection.
14957
14958 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14959
14960         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14961         relied on 0 terminated strings and other horrors. Bug found due to
14962         the new assert in lyxstring!
14963
14964         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14965         KP_ keys.
14966
14967 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14968
14969         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14970         to latinkeys.bind.
14971
14972         * lyxfunc.C (processKeySym): change method of getting to the
14973         self-insert char.
14974
14975         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14976         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14977         * BufferView_pimpl.[Ch]: here as private methods.
14978
14979 2001-05-28  Juergen Vigna  <jug@sad.it>
14980
14981         * text.C (SetHeightOfRow): added the update() call again as it is
14982         needed to initialize inset dimensions!
14983
14984 2001-05-16  Juergen Vigna  <jug@sad.it>
14985
14986         * text2.C (SetCharFont): Add new function with BufferView * and
14987         bool toggleall parameters for setting insets internal fonts.
14988         (SetFont): Freeze the undo as we may change fonts in Insets and
14989         all this change should be inside only one Undo!
14990
14991         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14992         setting font's in insets as for them we have the SetFont function!
14993
14994 2001-05-15  Juergen Vigna  <jug@sad.it>
14995
14996         * text2.C (ClearSelection): to be sure we REALLY don't have any
14997         selection anymore!
14998
14999         * tabular.C (TeXCellPreamble): fixed the left border problem for
15000         multicolumn cells.
15001
15002 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15003
15004         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15005         dependancy file
15006
15007 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15008
15009         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15010         LFUN_BREAKPARAGRAPH.
15011
15012         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15013         help test to "internal only", similar for LFUN_INSERT_URL
15014
15015         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15016         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15017         auto_region_delete and deadkeys.
15018
15019 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15020
15021         * LColor.h:
15022         * LColor.C: remove some dead entries, tidy a little
15023
15024 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15025
15026         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15027         commented code.
15028         (Dispatch): implement LFUN_ESCAPE
15029
15030         * commandtags.h: add LFUN_ESCAPE
15031
15032         * LyXAction.C (init): add entry for LFUN_ESCAPE
15033
15034         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15035         Remove commented code.
15036         (insertNote): moved here
15037         (open_new_inset): moved here
15038
15039         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15040         BufferView_pimpl
15041
15042 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15043
15044         * kbmap.C (findbinding): clean it up and make it work correctly.
15045
15046         * lyx_main.C (init): do not pass argc and argv as parameters
15047
15048 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15049
15050         * buffer.C: fix path for OS/2 & Win32
15051
15052         * lyx_gui.C:
15053         * lyx_main:
15054         * lyx_main.C: Added os:: class.
15055
15056         * os2_defines.h: update
15057
15058 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15059
15060         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15061         better by trying again with reduced state.
15062
15063 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15064
15065         * lyxrc.C (read): print error about invalid key sequence only when
15066         debugging (because not all latinX keysyms are known to some X
15067         servers)
15068
15069         * kbsequence.C (getiso): add a few std:: qualifiers
15070         (getiso): comment out extra return statement.
15071
15072 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15073
15074         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15075         handling.
15076         (Dispatch): enhance the accent inset a bit. (not perfect)
15077
15078 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15079
15080         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15081
15082 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15083
15084         * bufferlist.C (emergencyWrite): fix assert() call
15085
15086 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15087
15088         * text.C (InsertChar): Added trivial patch to only send the "you
15089         can not do multiple spaces this way" message once during a
15090         session.
15091
15092 2001-05-08  Baruch Even  <baruch@lyx.org>
15093
15094         * Makefile.am: Changed order of libraries to get LyX to link properly
15095         with the gnome frontend.
15096
15097 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15098
15099         * LaTeXFeatures.h: add a std:: qualifier
15100
15101 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15102
15103         * paragraph.C (String): use stringstream
15104
15105 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15106
15107         * paragraph.C (writeFile): remove footflag arg
15108
15109         * buffer.C (makeLaTeXFile): use stringstream
15110         (latexParagraphs): remove footnot gurba
15111
15112         * LaTeXFeatures.C (getPackages): use stringstream
15113         (getMacros): likewise
15114         (getTClassPreamble): likewise
15115         (getFloatDefinitions): new method
15116
15117         * paragraph.C (writeFile): reindent
15118         (Erase): reindent
15119
15120         * WorkArea.h: revert the xpos + etc changes.
15121
15122         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15123
15124         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15125
15126         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15127         (pasteSelection): likewise
15128         * text2.C (CreateUndo): likewise
15129
15130 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15131
15132         * minibuffer.C (peek_event): temporarily reduce the functionality
15133         of the minibuffer (to allow args on lfuns)
15134
15135         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15136         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15137
15138         * buffer.C (readInset): add compability reading of old float
15139         lists, add reading of new style float list.
15140         (readInset): avoid reevaluation of inscmd.getCmdName()
15141         (getLists): reindent
15142
15143         * MenuBackend.C (MenuItem): implement parsing of
15144         md_floatlistinsert and md_floatinsert.
15145         (expand::LastFiles): move initalizaton of iterators out of loop,
15146         avoid reevaluation.
15147         (expand::Documents): introduce typdedef vector<string> Strings,
15148         and use it.
15149         (expand::ExportFormats): introduce typedef vector<Format const *>
15150         Formats, and use it.
15151         (expand): implement FloatListInsert and FloatInsert.
15152
15153         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15154         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15155         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15156
15157         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15158         handling.
15159         (Dispatch::LFUN_FLOAT_LIST): implement
15160
15161 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15162
15163         * LaTeX.C (run): Fix problem with --export code.
15164
15165 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15166
15167         * BufferView.[Ch] (workarea): removed.
15168         (getClipboard) new method; wrapper for workarea()->getClipboard()
15169
15170         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15171         bug.
15172
15173         * WorkArea.h (width, height, xpos, ypos): These methods all
15174         returned the dimensions of the work_area sub-area of WorkArea,
15175         resulting in a position error if the WorkArea were resized. Now
15176         return the dimensions of the entire WorkArea.
15177
15178         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15179
15180 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15181
15182         * LaTeX.C (deplog): correct the syntax of regex reg1
15183
15184 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15185
15186         * undo.C: remove !NEW_INSETS cruft
15187
15188 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15189
15190         * text2.C: remove !NEW_INSETS cruft
15191
15192         * text.C: remove !NEW_INSETS cruft
15193
15194         * tabular.C: remove !NEW_INSETS cruft
15195
15196         * spellchecker.C: remove !NEW_INSETS cruft
15197
15198         * lyxtext.h: remove !NEW_INSETS cruft
15199
15200         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15201
15202         * lyxfunc.C: remove !NEW_INSETS cruft
15203
15204         * lyxfind.C: remove !NEW_INSETS cruft
15205
15206         * lyx_cb.C: remove !NEW_INSETS cruft
15207
15208         * figureForm.C: remove  !NEW_INSETS cruft
15209
15210         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15211
15212         * buffer.[Ch]: remove !NEW_INSETS cruft
15213
15214         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15215
15216         * CutAndPaste.C: remove !NEW_INSETS cruft
15217
15218         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15219
15220         * BufferView2.C: remove !NEW_INSETS cruft
15221
15222         * BufferView.h: remove !NEW_INSETS cruft
15223
15224 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15225
15226         * Lsstream.h: include LString.h before the sstream headers to
15227         fix problem with gcc 2.95.3 and lyxstring
15228
15229 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15230
15231         * lyx_main.C: add using directives when needed for C functions
15232         declared in std:: namespace.
15233
15234 2001-04-27  Juergen Vigna  <jug@sad.it>
15235
15236         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15237         (SetHeightOfRow): comment out the update call should not be needed!
15238
15239 2001-04-13  Juergen Vigna  <jug@sad.it>
15240
15241         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15242         (LyXTabular): tried to minimize operator= operations (and realized
15243         hopfully Lars wish).
15244
15245 2001-04-27  Juergen Vigna  <jug@sad.it>
15246
15247         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15248
15249 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15250
15251         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15252
15253         * buffer.C (readInset): hack to make listof algorithm work
15254
15255         * BufferView_pimpl.C: hack to make listof algorithm work
15256
15257 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15258
15259         * LyXAction.C: removed all !NEW_INSETS cruft
15260         (init): moved lfun_item in method
15261
15262         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15263
15264 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15265
15266         * BufferView2.C (theLockingInset): white space.
15267
15268 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15269
15270         * minibuffer.C: include <iostream>
15271
15272         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15273
15274         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15275
15276         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15277
15278         * text.[Ch] (TransposeChars): new method
15279
15280 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15281
15282         * call message directly through LyXView instead of through LyXFunc
15283         * BufferView2.C: adjust
15284         * BufferView_pimpl.C: adjust
15285         * FontLoader.C: adjust
15286         * buffer.C: adjust
15287         * bufferview_funcs.C: adjust
15288         * converter.C: adjust
15289         * figureForm.C: adjust
15290         * importer.C: adjust
15291         * lyx_cb.C: adjust
15292         * lyx_gui_misc.C: adjust
15293         * lyxfunc.C: adjust
15294         * lyxvc.C: adjust
15295         * text2.C: adjust
15296         + more files in subdirs
15297
15298         * lyxparagraph.h (size): move up int file
15299         (GetLayout): ditto
15300
15301         * adjust all uses of Assert to lyx::Assert.
15302
15303         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15304         lyxfunctional in namespace lyx
15305         * layout.C (hasLayout): ditto
15306         (GetLayout): ditto
15307         (GetLayout): ditto
15308         (delete_layout): ditto
15309         (NumberOfClass): ditto
15310         * converter.C (GetFormat): ditto
15311         (GetNumber): ditto
15312         (Add): ditto
15313         (Delete): ditto
15314         (SetViewer): ditto
15315         * bufferlist.C (getFileNames): ditto
15316         (emergencyWriteAll): ditto
15317         (exists): ditto
15318         (getBuffer): ditto
15319         * MenuBackend.C (hasSubmenu): ditto
15320         (hasMenu): ditto
15321         (getMenu): ditto
15322         * BufferView_pimpl.C (getInsetByCode): ditto
15323
15324 2001-04-18  Juergen Vigna  <jug@sad.it>
15325
15326         * vspace.C (asLatexString): fixed the 100% problem.
15327
15328 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15329
15330         * lyxfunc.C (Dispatch):
15331         * minibuffer.C:
15332         * minibuffer.h: add a few std:: qualifiers
15333
15334 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15335
15336         * minibuffer.[Ch]: reimplement so that commands is initiated and
15337         run from lyxfunc, simplified som handling, and made the completion
15338         and history code for complete. wip.
15339
15340         * lyxfunc.C (processKeySym): call message
15341         (miniDispatch): new temporary method
15342         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15343         (LFUN_MESSAGE): implement
15344         (LFUN_MESSAGE_PUSH): implement
15345         (LFUN_MESSAGE_POP): implement
15346         (initMiniBuffer): the initial/defualt minibuffer message.
15347
15348         * lyxfont.[Ch]: inline some more getters
15349
15350         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15351
15352         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15353
15354         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15355         (AutoSave): use LFUN_MESSAGE
15356         (Reconfigure): ditto
15357
15358         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15359
15360         * figureForm.C: use LFUN_MESSAGE
15361
15362         * converter.C (runLaTeX): use LFUN_MESSAGE
15363
15364         * bufferview_funcs.C: use LFUN_MESSAGE
15365         (Melt): ditto
15366         (changeDepth): ditto
15367
15368         * bufferparams.h: use boost::
15369
15370         * bufferlist.h: inherit privately from noncopyable
15371
15372         * bufferlist.C (loadLyXFile): remove some commented code.
15373
15374         * buffer.C (runChktex): use LFUN_MESSAGE
15375
15376         * ShareContainer.h: inherit privately from noncopyable
15377
15378         * ParagraphParameters.[hC] (depth): inline it.
15379
15380         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15381         methods.
15382         (message): new method
15383         (messagePush): ditto
15384         (messagePop): ditto
15385         (show): init minibuffer
15386         (showState): direct call
15387
15388         * LaTeX.[Ch]: inherit privately from noncopyable
15389         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15390         instead of WriteStatus.
15391
15392         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15393
15394         * BufferView_pimpl.C (buffer): don't init minibuffer
15395         (workAreaButtonPress): use LFUN_MESSAGE
15396         (workAreaButtonRelease): ditto
15397         (savePosition): ditto
15398         (restorePosition): ditto
15399         (MenuInsertLyXFile): ditto
15400         (workAreaExpose): don't init minibuffer
15401         (update): remove commented code, simplify
15402
15403         * BufferView2.C (openStuff): use LFUN_MESSAGE
15404         (toggleFloat): ditto
15405         (menuUndo): ditto
15406         (menuRedo): ditto
15407         (copyEnvironment): ditto
15408         (pasteEnvironment): ditto
15409         (copy): ditto
15410         (cut): ditto
15411         (paste): ditto
15412         (gotoInset): ditto
15413         (updateInset): remove some commented code
15414
15415         * lastfiles.h: inherit privately from noncopyable
15416         * layout.h: ditto
15417         * lyx_gui.h: ditto
15418         * lyx_main.h: ditto
15419         * lyxlex.h: ditto
15420         * lyxlex_pimpl.h: ditto
15421
15422         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15423         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15424         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15425
15426         * LyXAction.h: inherit privately from noncopyable, add methods
15427         func_begin, func_end, returning iterators to the func map.
15428
15429         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15430         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15431         (func_begin): new method
15432         (func_end): new method
15433
15434         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15435         and not)
15436         (copySelection): ditto
15437         (pasteSelection): ditto
15438
15439         * BufferView.C: whitespace change
15440         * BufferView.h: inherit privately from noncopyable
15441
15442 2001-04-16  Allan Rae  <rae@lyx.org>
15443
15444         * tabular-old.C (l_getline):
15445         * spellchecker.C (sc_check_word):
15446         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15447         an unrecognised preprocessor directive.  So ensure they're wrapped.
15448
15449 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15450
15451         * src/exporter.C (Export): Give an error message when path to file
15452         contains spaces.
15453
15454 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15455
15456         * LaTeX.C (deplog): Always check that foundfile exists.
15457
15458 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15459
15460         * lyx_main.h:
15461         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15462
15463 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15464
15465         * tabular.[Ch] (getLabelList): implement new method
15466
15467         * minibuffer.h: comment ouf setTiimer
15468
15469         * minibuffer.C (ExecutingCB): constify res
15470         (peek_event): constify s
15471         (Set): constify ntext
15472         (Init): constify nicename
15473
15474         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15475
15476         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15477         (savePosition): use two params to Minibuffer::Set
15478         (restorePosition): ditto
15479
15480 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15481
15482         * lyx_main.C: include language.h
15483
15484         * Makefile.am (lyx_main.o): add language.h
15485
15486 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15487
15488         * exporter.C:
15489         * paragraph.C:
15490         * screen.C:
15491         * tabular.C:
15492         * CutAndPaste.C: include gettext.h
15493
15494         * lyxfont.h: remove old hack with ON and OFF.
15495
15496         * lyxparagraph.h:
15497         * lyxfont.h: do not include language.h...
15498
15499         * BufferView2.C:
15500         * LaTeXFeatures.C:
15501         * Painter.C:
15502         * bufferview_funcs.C:
15503         * font.C:
15504         * lyxfont.C:
15505         * text.C:
15506         * text2.C:
15507         * trans_mgr.C:
15508         * paragraph.C: ... but do it here instead
15509
15510 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15511
15512         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15513
15514         * tabular.C: small reformat
15515
15516         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15517         NEW_INSETS version
15518         (GetChar): ditto
15519         (BreakParagraph): ditto
15520         (SetOnlyLayout): ditto
15521         (SetLayout): ditto
15522
15523         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15524         with one arg less.
15525
15526         * lastfiles.C: removed most using decl, add std:: where needed
15527
15528         * buffer.C: ws changes
15529
15530         * MenuBackend.C (class compare_format): put into anon namespace
15531         (expand): constify label, names, action, action2
15532         (expand):
15533
15534         * text.C (SingleWidth): constify font
15535         (IsBoundary): constify rtl2
15536         (GetVisibleRow): constify ww
15537
15538         * LaTeX.C (deplog): constify logfile
15539
15540         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15541         start_x, end_x
15542         (workAreaExpose): constify widthChange, heightChange
15543
15544         * lyxrow.C (par): moved
15545         (height): moved
15546         (next): moved
15547         * lyxrow.h: as inlines here
15548
15549         * lyxfont.h (shape): moved from lyxfont.C
15550         (emph): moved from lyxfont.C
15551
15552         * lyxfont.C (LyXFont): use initialization list for all
15553         constructors
15554         (shape): move to lyxfont.h as inline
15555         (emph): move to lyxfont.h as inline
15556
15557
15558 2001-04-04  Juergen Vigna  <jug@sad.it>
15559
15560         * vspace.C: had to include stdio.h for use of sscanf
15561
15562 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15563
15564         * BufferView.h:
15565         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15566         independent of xforms.
15567
15568 2001-04-02  Juergen Vigna  <jug@sad.it>
15569
15570         * spellchecker.C: fixed namespace placing!
15571
15572 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15573
15574         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15575         the LyXParagraph * is 0.
15576
15577 2001-03-29  Juergen Vigna  <jug@sad.it>
15578
15579         * vspace.C: added support for %, c%, p%, l%.
15580         (stringFromUnit): added helper function.
15581         (asLatexString): changed to give right results for the %-values.
15582
15583         * buffer.C: convert the widthp in a width%.
15584
15585 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15586
15587         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15588         figureForm.[Ch].
15589
15590         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15591         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15592
15593         * lyx_cb.[Ch]: see above.
15594
15595         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15596         form1.[Ch].
15597
15598         * form1.[Ch]:
15599         * lyx.[Ch]: replaced by figure_form.[Ch].
15600
15601         * lyx_gui.C:
15602         * lyx_gui_misc.C:
15603         * lyxfunc.C: changed headers associated with above changes.
15604
15605 2001-03-27  Juergen Vigna  <jug@sad.it>
15606
15607         * BufferView_pimpl.C: set the temporary cursor right!
15608
15609 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15610
15611         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15612
15613 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15614
15615         * LString.h: removed "using std::getline"!
15616
15617         * BufferView_pimpl.C (Dispatch): changes due to changes in
15618         InsetInclude::Params.
15619
15620         * buffer.C (tag_name): removed redundant break statements as they were
15621         producing lots of warnings with my compiler.
15622
15623 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15624
15625         * LString.h: add "using std::getline" when using the real <string>.
15626
15627 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15628
15629         * buffer.C: removed bitset usage.
15630         PAR_TAG moved to an anonymous name space.
15631         (tag_name): new funtion, also in the anonymous namespace.
15632         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15633         (makeDocBookFile): clean code. Completed transition from string arrays
15634         to string vectors.
15635         (SimpleDocBookOnePar): code clean.
15636
15637 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15638
15639         * tabular.C: add some comments.
15640
15641 2001-03-22  Juergen Vigna  <jug@sad.it>
15642
15643         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15644         compatibility read a bit and fixed bug with minipage in different
15645         depth.
15646
15647 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15648
15649         * buffer.C (pop_tag): removed.
15650         (push_tag): removed.
15651         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15652         array replaced with vector. Added support for CDATA sections.
15653         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15654         at any nest level.
15655         (makeDocBookFile): XML conformant declaration of CDATA section,
15656         fixed bug related to <emphasis> in the first paragraph char.
15657         (sgmlOpenTag): exclude empty tags.
15658         (sgmlCloseTag): ditto.
15659
15660         * buffer.h (pop_tag): removed.
15661         (push_tag): removed.
15662
15663 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15664
15665         * language.h (Languages): added size_type and size().
15666
15667 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15668
15669         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15670         response on compability reading of minipages. One probliem is that
15671         the old usage of minipages was «flertydig»
15672
15673         * several files here and in subdirs: don't use static at file
15674         scope use anon namespaces instead.
15675
15676 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15677
15678         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15679         LaTeX output. This is necessary for Literate document
15680         processing.
15681
15682 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15683
15684         * buffer.C: insert hfill when needed.
15685
15686         * tabular.C (l_getline): use string::erase, small whitespace change.
15687
15688         * BufferView_pimpl.C: try the anon namespace.
15689         * WorkArea.C: ditto
15690
15691 2001-03-16  Juergen Vigna  <jug@sad.it>
15692
15693         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15694         otherwise it won't open options-dialogs.
15695
15696         * buffer.C: honor pextraWidth(p) on converting minipages.
15697
15698         * tabular.C (l_getline): changed the functions to strip trailing \r.
15699
15700 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15701
15702         * BufferView_pimpl.C:
15703         * minibuffer..C: added "using SigC::slot" declaration.
15704
15705 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15706
15707         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15708
15709         * text2.C: ditto
15710
15711         * text.C: ditto
15712
15713         * paragraph.C: ditto
15714
15715         * lyxtext.h: NO_PEXTRA
15716
15717         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15718
15719         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15720         * ParameterStruct.h: ditto
15721         * ParagraphParameters.h: ditto
15722         * lyxparagraph.h: ditto
15723
15724 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15725
15726         * buffer.C: add compability for minipage alignment.
15727         (latexParagraphs): remove unwanted pextra check.
15728
15729         * several files: remove CXX_WORKING_NAMESPACES
15730
15731         * buffer.C (pop_tag): tie is in namespace boost
15732
15733         * BufferView.h: noncopyable is in namespace boost
15734         * lyxlex.h: ditto
15735         * lyx_main.h: ditto
15736         * lyx_gui.h: ditto
15737         * layout.h: ditto
15738         * lastfiles.h: ditto
15739         * bufferlist.h: ditto
15740         * ShareContainer.h: ditto
15741         * LyXView.h: ditto
15742         * LyXAction.h: ditto
15743         * LaTeX.h: ditto
15744
15745 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15746
15747         * Merging changes from BRANCH_MVC back into HEAD.
15748
15749         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15750
15751 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15752
15753         * BufferView_pimpl.C: change from intl.C
15754
15755         * combox.h:
15756         * combox.C:
15757         * Makefile.am: move combox.*
15758
15759         * form1.h:
15760         * form1.C:
15761         * lyx_gui.C:
15762         * intl.h:
15763         * intl.C: remove dialog (covered by prefs)
15764
15765 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15766
15767         * lyxfunc.C (Dispatch): removed redundant break statement.
15768
15769 2001-03-14  Juergen Vigna  <jug@sad.it>
15770
15771         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15772
15773 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15774
15775         * buffer.C: add hack to fix compability reading of minipages.
15776
15777 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15778
15779         * buffer.C (getLists): Cleanup.
15780
15781 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15782
15783         * lyxfont.C (update): don't honor toggleall on font size.
15784
15785 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15786
15787         * bmtable.c:
15788         * bmtable.h:
15789         * Makefile.am: moved to frontends/xforms/
15790
15791         * lyx_gui_misc.C:
15792         * lyxfunc.C:
15793         * BufferView_pimpl.C: changes for moved mathpanel
15794
15795 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15796
15797         * gettext.h: fix gettext_init() in --disable-nls
15798
15799 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15800
15801         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15802
15803 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15804
15805         * lyx.C:
15806         * lyx.h: strip external form
15807
15808 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15809
15810         * BufferView_pimpl.C: add comment, destroySplash()
15811
15812 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15813
15814         * BufferView_pimpl.C:
15815         * LyXAction.C:
15816         * buffer.C:
15817         * commandtags.h:
15818         * lyxfunc.C: use re-worked insetinclude
15819
15820 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15821
15822         * buffer.C: add using std::stringstream.
15823
15824         * lyx_cb.C: readd using std::ios.
15825
15826         * buffer.C: add using std::map.
15827
15828         * BufferView_pimpl.C: add using std::vector.
15829
15830         * ShareContainer.h: add std:: to swap.
15831
15832         * buffer.h: add some typedefs
15833         * buffer.C (getLists): use them
15834         (getLists): renamed from getTocList.
15835         add a counter for the different float types and use it in the
15836         generated string.
15837         (getLists): use the same counter for the NEW_INSETS and the "non"
15838         NEW_INSETS
15839
15840         * lyx_cb.h: remove unused items, includes, using etc.
15841
15842         * ShareContainer.h: remove some commented code, add more comments
15843         and "documentation".
15844
15845 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15846
15847         * buffer.C (getTocList): make the list also when NEW_INSETS is
15848         defined.
15849
15850         * buffer.h: remove TocType
15851
15852         * buffer.C (getTocList): change to return a map<string,
15853         vector<TocItem> >, implement for dynamic number of list.
15854
15855         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15856         * text2.C (PasteSelection): adjust
15857         * CutAndPaste.C (pasteSelection): adjust
15858
15859         * FloatList.C (FloatList): update from the new_insets branch.
15860         * Floating.[Ch]: ditto
15861         * LaTeXFeatures.C: ditto
15862         * buffer.C: ditto
15863         * lyxlex_pimpl.C: ditto
15864
15865         * paragraph.C (Last): remove when NEW_INSETS is defined.
15866
15867         * other file: changes because of the above.
15868
15869 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15870
15871         * lyxparagraph.h: rename next to next_, previous to previous_,
15872         make them private for NEW_INSETS. Rename Next() to next(),
15873         Previous() to previous().
15874
15875         * other files: changes because of the above.
15876
15877 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15878
15879         * BufferView.h:
15880         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15881         problem.
15882
15883 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15884
15885         * main.C (main): pass lyx_localedir to gettext_init().
15886
15887         * gettext.h: remove locale_init and gettext_init macros
15888
15889         * gettext.C (locale_init): new function
15890         (gettext_init): new function
15891
15892         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15893         setlocale().
15894
15895 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15896
15897         * Moved credits to frontends:
15898         * credits.[Ch]: removed
15899         * credits_form.[Ch]: removed
15900         * lyx_gui_misc.C: remove credits stuff
15901         * Makefile.am:
15902
15903 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15904
15905         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15906
15907         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15908         unneeded destructor.
15909
15910         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15911         a standalone pointer again.
15912
15913         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15914
15915 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15916
15917         * Makefile.am:
15918         * filedlg.h:
15919         * filedlg.C:
15920         * LyXAction.C:
15921         * ToolbarDefaults.C:
15922         * bufferlist.C:
15923         * commandtags.h:
15924         * form1.C:
15925         * form1.h:
15926         * lyx_cb.C:
15927         * lyx_cb.h:
15928         * lyxfunc.h:
15929         * lyxfunc.C:
15930         * BufferView_pimpl.C: use new file dialog in GUII
15931
15932         * lyx_cb.h:
15933         * lyx_cb.C: remove LayoutsCB to Toolbar
15934
15935 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15936
15937         * ShareContainer.h (get): add std:: qualifier
15938
15939 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15940
15941         * ShareContainer.h: define a proper ShareContainer::value_type
15942         type (and use typename to please compaq cxx)
15943
15944 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15945
15946         * lyxparagraph.h: move serveral local vars to
15947         ParameterStruct/ParagraphParameters., use ShareContainer in
15948         FontTable., make vars in FontTable private and add getter and
15949         setter.
15950
15951         * paragraph.C: changes because of the above.
15952
15953         * lyxfont.h: remove copy constructor and copy assignment. (the
15954         default ones is ok), move number inside FontBits. move inlines to
15955         lyxfont.C
15956
15957         * lyxfont.C: add number to initializaton of statics, move several
15958         inlines here. constify several local vars. some whitespace
15959         cleanup. Dont hide outerscope variables.
15960
15961         * Spacing.h: add two new constructors to match the set methods.
15962
15963         * ShareContainer.h: new file, will perhaps be moved to support
15964
15965         * ParameterStruct.h: new file
15966
15967         * ParagraphParameters.h: new file
15968
15969         * ParagraphParameters.C: new file
15970
15971         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15972         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15973
15974         * BufferView_pimpl.C: ParagraphParameter changes.
15975         * buffer.C: Likewise.
15976         * bufferview_funcs.C: Likewise.
15977         * text.C: Likewise.
15978         * text2.C: Likewise.
15979
15980 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15981
15982         * lyxfind.C (LyXReplace): do not redefine default argument in
15983         implementation.
15984         (IsStringInText): ditto
15985         (SearchForward): ditto
15986         (SearchBackward): ditto
15987
15988 2001-03-06  Juergen Vigna  <jug@sad.it>
15989
15990         * lyxfind.C (IsStringInText): put parentes around expressions.
15991
15992 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15993
15994         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15995
15996 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15997
15998         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15999
16000         * stl_string_fwd.h: add comment
16001
16002         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16003
16004         * tabular.h:
16005         * tabular.C: remove unused DocBook methods
16006
16007         * intl.C:
16008         * language.C:
16009         * paragraph.C:
16010         * buffer.C:
16011         killed DO_USE_DEFAULT_LANGUAGE
16012
16013 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16014
16015         * lyx_gui.C: do not include language.h.
16016
16017         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16018         arguments in function implementation.
16019
16020 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16021
16022         * BufferView_pimpl.C: add <ctime>
16023
16024 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16025
16026         * BufferView_pimpl.C: add using std::find_if
16027
16028 2001-02-27  José Matos  <jamatos@fep.up.pt>
16029
16030         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16031         by OnlyPath.
16032
16033 2001-02-11  José Matos  <jamatos@fep.up.pt>
16034
16035         * buffer.C (makeDocBookFile): command styles now have a parameter as
16036         "title" by default.
16037
16038 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16039
16040         * layout_forms.[Ch]: removed
16041         * lyx_cb.[Ch]: out character
16042         * lyx_gui.C: out character
16043         * lyx_gui_misc.C: out character
16044         * bufferview_funcs.C: : out character,
16045         added toggleall as parameter in ToggleAndShow
16046
16047 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16048
16049         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16050
16051         * text2.C (SetCurrentFont): Disable number property at boundary.
16052
16053 2001-02-26  Juergen Vigna  <jug@sad.it>
16054
16055         * lyxfunc.C (getStatus): added a string argument override function so
16056         that this is correctly called from LyXFunc::Dispatch if it contains a
16057         do_not_use_argument which is used!
16058         (Dispatch): added check for "custom" export and call appropriate func.
16059
16060 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16061
16062         * lyxrc.C: Add language_command_local, language_use_babel and
16063         language_global_options.
16064
16065         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16066
16067         * buffer.C (makeLaTeXFile): Use language_use_babel and
16068         language_global_options.
16069
16070 2001-02-23  Juergen Vigna  <jug@sad.it>
16071
16072         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16073         which works with LyXText and putted it inside BufferView. Here now we
16074         only call for that part the BufferView::Dispatch() function.
16075
16076         * BufferView.C (Dispatch): added.
16077
16078         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16079         functions which needs to use a LyXText over from LyXFunc.
16080         (MenuInsertLyXFile): added
16081         (getInsetByCode): added
16082         (moveCursorUpdate): added
16083         (static TEXT): added
16084
16085 2001-02-22  Juergen Vigna  <jug@sad.it>
16086
16087         * BufferView_pimpl.C (update): call a status update to see if LyXText
16088         needs it.
16089
16090 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16091
16092         * vc-backend.C (revert): implement for CVS
16093         (getLog): implement for CVS
16094
16095 2001-02-20  Juergen Vigna  <jug@sad.it>
16096
16097         * text2.C (ClearSelection): added BufferView param for inset_owner call
16098
16099         * lyxfunc.C (TEXT): added this function and use it instead of
16100         directly owner->view()-text of getLyXText().
16101
16102 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16103
16104         * src/layout_forms.C: out preamble
16105         * src/layout_forms.h: out preamble
16106         * src/lyx_cb.C: out preamble
16107         * src/lyx_cb.h: out preamble
16108         * src/lyx_gui.C: out preamble
16109         * src/lyx_gui_misc.C: out preamble
16110         * src/lyxfunc.C: connect with guii preamble
16111
16112 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16113
16114         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16115
16116 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16117
16118         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16119         whether to run bibtex.
16120
16121 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16122
16123         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16124
16125 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16126
16127         * Makefile.am (lyx_SOURCES): removed bibforms.h
16128
16129         * vspace.h: doxygen
16130
16131         * text.C (GetVisibleRow): make several local vars const
16132
16133         * tabular.C: small cleanup.
16134
16135         * lyxserver.C (callback): use compare instead of strncmp
16136
16137         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16138         inlines to after class or to paragraph.C
16139
16140         * lyxfont.h: remove friend operator!=
16141
16142         * converter.h: move friend bool operator< to non friend and after
16143         class def.
16144
16145         * combox.h: small cleanup
16146
16147         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16148         to inlines after class def.
16149
16150         * buffer.C (pop_tag): use string operations instead of strcmp
16151
16152         * bmtable.c: doxygen, small cleanup
16153
16154         * LaTeX.h: remove friend operator==
16155
16156 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16157
16158         * screen.C:
16159         * lyxrc.[Ch]:
16160         * lyxfunc.C:
16161         * lyxfont.[Ch]:
16162         * lyx_cb.C:
16163         * intl.[Ch]:
16164         * commandtags.h:
16165         * buffer.C:
16166         * WorkArea.[Ch]:
16167         * LyXAction.C:
16168         * BufferView_pimpl.C:
16169         * BufferView.[Ch]: remove cruft
16170
16171 2001-02-14  Juergen Vigna  <jug@sad.it>
16172
16173         * lyxfunc.C: removed #if 0 unused code
16174
16175         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16176
16177         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16178
16179         * text2.C (SetSelection): added a BufferView * parameter
16180
16181 2001-02-13  Juergen Vigna  <jug@sad.it>
16182
16183         * lyxfunc.C (Dispatch): fixed protected blank problem.
16184         * BufferView2.C (protectedBlank): added LyxText * parameter.
16185
16186         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16187         (AppendColumn): same as above for column_info.
16188
16189         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16190         (moveCursorUpdate): use a LyXText param for support of InsetText.
16191
16192         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16193         (tripleClick): ditto
16194
16195         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16196
16197         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16198
16199         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16200
16201         * text2.C (SetSelection): set correct update status if inset_owner
16202         (ToggleFree): ditto
16203
16204 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16205
16206         * tabular.C: remove some commented code.
16207
16208 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16209
16210         * BufferView_pimpl.C: call hideSplash()
16211
16212         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16213
16214         * include_form.h:
16215         * bibforms.h: remove
16216
16217         * lyxfunc.C:
16218         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16219           add LFUN_CHILD_CREATE
16220
16221         * counters.h: fix tiny typo
16222
16223         * lyx_cb.C:
16224         * lyx.h:
16225         * lyx_gui.C:
16226         * lyx.C: move splash to frontends/xforms/
16227
16228         * lyx_gui_misc.C: move Include and Bibform to frontends
16229
16230         * lyxvc.h: clarify comment
16231
16232         * vspace.C: tiny housekeeping
16233
16234 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16235
16236         * text.C (PrepareToPrint): RTL Fix.
16237
16238         * paragraph.C (GetUChar): New method.
16239         (String):  Use GetUChar.
16240
16241         * buffer.C (asciiParagraph): Use GetUChar.
16242
16243 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16244
16245         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16246
16247 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16248
16249         * buffer.h:
16250         * buffer.C: rename to getLogName(), handle
16251           build log / latex log nicely
16252
16253 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16254
16255         * MenuBackend.C:
16256         * MenuBackend.h: remove support for reference menuitem type.
16257
16258 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16259
16260         * BufferView_pimpl.C: housekeeping
16261         * BufferView_pimpl.h:
16262         * LyXView.h:
16263         * Makefile.am:
16264         * Timeout.C:
16265         * Timeout.h:
16266         * minibuffer.h: move Timeout GUI-I
16267
16268 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16269
16270         * lyxrc.C (read): Update converters data-structures.
16271
16272 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16273
16274         * LaTeX.h (operator!=): add operator != for Aux_Info
16275
16276 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16277
16278         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16279
16280         * LaTeXLog.C: deleted, useful code moved to Buffer
16281
16282         * buffer.h:
16283         * buffer.C: new function getLatexLogName()
16284
16285         * lyx_gui_misc.C:
16286         * lyx_gui.C:
16287         * lyxvc.C:
16288         * lyxvc.h:
16289         * lyxfunc.C: use frontends for LaTeX and VC logs
16290
16291 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16292
16293         * LaTeX.h: yet another std:: that Allan forgot.
16294
16295         * Variables.C (set): renamed from isset(), because this clashes
16296         with some HP-UX macros (grr).
16297
16298 2001-02-06  Allan Rae  <rae@lyx.org>
16299
16300         * LaTeX.h: Another bug fix.  Missing std:: this time.
16301
16302 2001-02-04  Allan Rae  <rae@lyx.org>
16303
16304         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16305         floats problem. I've left it commented out because it's not quite
16306         correct.  It should also test that the current object is a table or
16307         figure inset.  But I haven't gotten around to figuring out how to do
16308         that.  I *think* it'll be something like: "table" == inset.type()
16309
16310         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16311         bool.
16312
16313 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16314
16315         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16316         all the citation/databases/styles in the auxilary file.
16317         (run): Rerun latex if there was a babel language error.
16318
16319 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16320
16321         * text.C (Backspace): Preserve the font when changing newline char
16322         with a space.
16323         (BreakParagraph): If the cursor is before a space, delete the space.
16324
16325         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16326
16327 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16328
16329         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16330         new argument (code).
16331         (ChangeCitationsIfUnique): New method.
16332
16333         * paragraph.C (GetPositionOfInset): Handle bibkey.
16334
16335 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16336
16337         * BufferView_pimpl.h: change type of Position::par_pos to
16338         LyXParagraph::size_type.
16339
16340 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16341
16342         * BufferView_pimpl.C (savePosition, restorePosition): Write
16343         messages to minibuffer.
16344
16345 2001-01-28  José Matos  <jamatos@fep.up.pt>
16346
16347         * buffer.C (makeDocBookFile): adds support for document language.
16348         A silly restriction on the name of LatexCommand types where removed.
16349         Added support for CDATA sections, allows to chars unescaped, used
16350         among others in code, to avoid escape < and >.
16351
16352 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16353
16354         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16355         saved positions instrad of a stack. Furthermore, a position is
16356         stored using paragraph id/paragraph position.
16357
16358         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16359         Remove LFUN_REF_BACK.
16360
16361 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16362
16363         * converter.C (dvipdfm_options): New method.
16364
16365 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16366
16367         * vspace.C (isValidLength): Fix for empty input string.
16368
16369 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16370
16371         * LyXAction.C (init): change description of LFUN_FIGURE to
16372         "Insert Graphics"
16373
16374 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16375
16376         * LaTeX.C: add using directive
16377
16378 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16379
16380         * MenuBackend.C (expand): Fix the sorting of the formats.
16381
16382 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16383
16384         * lyx_main.C: tiny error message fix
16385
16386 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16387
16388         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16389         calling fl_initialize(). This fixes the problem with ',' as
16390         decimal separator in text files.
16391
16392 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16393
16394         * trans.C (process): Fix the keymap bug.
16395
16396 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16397
16398         * LaTeX.C (scanAuxFiles): New method. Provides support for
16399         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16400         (scanLogFile) Scan for "run BibTeX" messages.
16401
16402         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16403         OT1 font encoding. Also, load the aecompl package if the ae
16404         package is loaded.
16405
16406         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16407
16408 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16409
16410         * texrow.C (increasePos): turn two error messages into debug
16411         messages.
16412
16413 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16414
16415         * LaTeX.C (scanAux): Handle the \@input macro.
16416         (runBibTeX): Use scanAux().
16417
16418         * language.C (latex_options_): New field.
16419
16420         * LaTeXFeatures.C (getMacros): Add language macros.
16421
16422         * buffer.C (makeLaTeXFile): Small fix.
16423
16424 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16425
16426         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16427
16428         * text2.C: add a using directive.
16429
16430 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16431
16432         * BufferView2.C:
16433         * lyx_gui_misc.h:
16434         * lyxfr1.C:
16435         * lyxfunc.C: kill LyXBell.
16436
16437 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16438
16439         * text.C (IsBoundary): Remove the error message
16440
16441         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16442
16443         * lyxrc.C (setDefaults): Correct initialization value for
16444         font_norm_type.
16445
16446 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16447
16448         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16449         gotoError().
16450
16451         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16452         and GotoNextNote().
16453
16454         * src/LyXAction.C: Added reference-next.
16455
16456         * text.C (InsertChar): Use contains instead of strchr.
16457
16458         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16459
16460 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16461
16462         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16463         alignment commands (when needed).
16464
16465         * text.C (InsertChar): Add ':' to number separator chars.