]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
d50b20253b79538cb2aa9c021d9499b72d0f80eb
[lyx.git] / src / ChangeLog
1 2004-10-25  José Matos  <jamatos@lyx.org>
2
3         * sgml.[Ch] (escapeString): new function to escape all the string.
4
5 2004-10-24  José Matos  <jamatos@lyx.org>
6
7         * paragraph.[Ch] (getFirstWord): new function to get the first
8         word. Useful for description.
9         (simpleDocBookOnePar): remove depth argument, add another that
10         says where to start the paragraph.
11
12         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
13         use the new functions to fix cleanly the support for descriptions.
14         
15 2004-10-24  José Matos  <jamatos@lyx.org>
16
17         * buffer.C (makeLinuxDocFile, makeDocBookFile):
18         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
19         * output_linuxdoc.C (linuxdocParagraphs):
20         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
21         add buffer as argument.
22
23 2004-10-24  José Matos  <jamatos@lyx.org>
24
25         * output_docbook.C (makeEnvironment, searchEnvironment): place
26         CDATA inside paragraphs and fix scope for listitems.
27
28 2004-10-24  José Matos  <jamatos@lyx.org>
29
30         * output_docbook.C: remove using statement for stack.
31
32 2004-10-23  José Matos  <jamatos@lyx.org>
33
34         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
35         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
36         docbook. The new scheme is recursive and makes use of iterators, the
37         same as latex export works.
38         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
39         directly with the paragraph contents. This code was moved up to
40         output_docbook.C (docbookParagraphs).
41         * sgml.C (openTag, closeTag): removed unneeded newlines.
42         (closeEnvTags) removed.
43
44 2003-10-23  André Pönitz  <poenitz@gmx.net>
45
46         * undo.C (textUndoOrRedo):
47         * dociterator.C (asDocIterator): work around crash
48
49         * cursor.C (getStatus): replace ASSERT by more verbose error message
50           and manual correction of the problem. Should increase stability
51           while providing more sensible information.
52
53 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
54
55         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
56
57         * bufferlist.C (previous, next): new methods
58
59         * lfuns.h: 
60         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
61
62 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
63
64         * buffer.C (makeDocBookFile): add dsssl stylesheet control
65         entities to preamble.
66
67 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
68
69         * messages.C (Pimpl): strip off translation context information
70
71 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
72
73         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
74         the cursor is correct (bug 1694)
75
76 2004-10-13  José Matos  <jamatos@lyx.org>
77
78         * output_docbook.C (docbookParagraphs): fix closing tags in the
79         end of the document. 
80
81 2004-10-09  José Matos  <jamatos@lyx.org>
82
83         * buffer.C: format up to 237.
84         * bufferparams.C (write): use tostr to convert booleans to strings.
85         
86 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
87
88         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
89
90 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
91
92         * LaTeX.C: implement use of babel language in xindy.
93
94 2004-10-05  José Matos  <jamatos@lyx.org>
95
96         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
97         Add new translators to help reading and writing the lyx file.
98
99 2004-10-05  José Matos  <jamatos@lyx.org>
100
101         * ParagraphParameters.C (read):
102         * text.C (readParToken): replace nexToken by more appropriate lex
103         methods.
104
105 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
106
107         * LaTeX.C (runMakeIndex):
108         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
109         (usually 'makeindex') configurable.
110
111         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
112         with a variable rather than with a number.
113
114 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
115
116         * output_latex.C (TeXOnePar): make sure font setting is the first
117         thing that gets output (and the last at the end). Should fix bug
118         1404.
119
120 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
121
122         * pch.h: use proper signal include
123
124         * LaTeX.h: Use preferred calling of Boost.Signal
125         * buffer.h: ditto
126
127 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
128
129         * pch.h: dont include <boost/function/function0.hpp>
130
131         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
132
133         * paragraph_pimpl.h: remove usage of ShareContainer
134
135         * paragraph_pimpl.C: remove initialization of ShareContainer.
136
137 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
138
139         Fix bug #1666
140
141         * BufferView.C (putSelectionAt): change the semantics when
142         backwards == true: now, this just swaps cursor and anchor wrt the
143         forward case
144
145         * BufferView.h (putSelectionAt): add some documentation
146
147         * lyxfind.C (findBackwards): rewrite using while(). In particular,
148         make sure backwardChar is done at least once (to avoid getting
149         stuck)
150         (findNextChange): use putSelectionAt in the forward direction
151         (operator()): use Paragraph::isWord
152
153 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
154
155         * Spacing.C (set): c_str fix
156
157 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
158
159         * lyx_cb.C (Reconfigure): quote the name of configure script in
160         case it contains spaces
161
162 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
163
164         * client: new dir
165
166         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
167         (BOOST_LIBS): use top_buildir when looking for the file
168
169 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
170
171         * pch.h: do not use include boost/format.hpp, multiple symbols
172                 will result (gcc bug)
173
174
175 2004-08-23  José Matos  <jamatos@lyx.org>
176
177         * bufferparams.C (readToken): fix reading of the author field.
178
179 2004-08-20  José Matos  <jamatos@lyx.org>
180
181         * lyxrc.C: remove support/translator.h inclusion since it is not used.
182
183 2004-08-20  José Matos  <jamatos@lyx.org>
184
185         * lyxlex.[Ch] (findToken): remove function.
186
187         * ParagraphParameters.C (findToken):
188         * bufferparams.C (findToken): replace call for previous function
189         with local copy. This local function has one more argument, the
190         read string argument.
191
192 2004-08-16  José Matos  <jamatos@lyx.org>
193
194         * ParagraphParameters.C (write):
195         * Spacing.C (writeFile):
196         * bufferparams.C (writeLaTeX):
197         * lyx_cb.C (Reconfigure):
198         * paragraph.C (write):
199         * tabular.C (write): remove unnecessary space at end of line.
200
201
202 2004-08-16  José Matos  <jamatos@lyx.org>
203
204         * text.C (readParagraph): remove debug message.
205
206 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
207
208         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
209         crash
210
211         * output_plaintext.C (asciiParagraph): set depth correctly
212
213         * outputparams.h: add member depth
214
215         * paragraph_funcs.C (ownerPar): remove.
216
217         * text2.C (setCounter): remove first_pit; comment out some
218         non-working code that uses ownerPar
219
220         * BufferView.C (getParentLanguage): remove. Not used anymore, and
221         uses ownerPar
222
223 2004-08-16  José Matos  <jamatos@lyx.org>
224
225         * text.C (readParToken, readParagraph, read): report all unknown tokens.
226         For the same level of importance use the same chanel to report problems.
227         (read): add code to deal with \begin_body and \end_body.
228
229
230 2004-08-15  José Matos  <jamatos@lyx.org>
231
232         * lyxlex.C (getString): fix comment, buffer::readBody is now
233         buffer:readDocument.
234
235         * tex-strings.C (string_papersize): Default -> default,
236         Custom -> custom, for consistency with other options.
237
238 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
239
240         * pch.h: new file
241
242         * Makefile.am: support pch
243
244 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
245
246         * text.C (readParToken): remove the static LyXFont variable and
247         pass it as a parameter instead. This fixes a nasty bug where an
248         inset will be inserted with a bad font in some situations
249         (readParagraph): adapt
250
251         * text2.C (setCounter): reduce number of calls to pars_[pit]
252
253         * text.C (singleWidth): add an assert, fix a test
254
255         * rowpainter.C (paintText): reduce number of calls to singleWidth
256
257         * paragraph.C (isHfill):
258         (isNewline): ws only
259
260 2004-08-14  André Pönitz  <poenitz@gmx.net>
261
262         * text.C:
263         * text2.C:
264         * rowpainter.C:
265         * lyxtext.h (several functions): use a Paragraph & argument
266         instead of par_type
267
268 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
269
270         * metricsinfo.h: add a new field ltr_pos to PainterInfo
271
272         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
273
274         * text.C (singleWidth): remove useless test
275
276 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
277
278         * tabular.h: remove bogus comments
279
280         * tabular.C (getDescentOfRow):
281         (isPartOfMultiColumn): add assertions
282
283         * lyxlength.C (inPixels): remove #warning
284
285 2004-08-14  André Pönitz  <poenitz@gmx.net>
286
287         * paragraph.h: inline getChar()
288
289         * BufferView.h: remove unused declarations
290
291 2004-08-14  José Matos  <jamatos@lyx.org>
292
293         * Buffer.[Ch] (readDocument): new name for old readBody.
294         * Buffer.C: new file format, new keywords: \begin_document,
295         \begin_header, \begin_body, \end_body.
296
297         * bufferparams.C (readToken): replace all calls to lex.nextToken
298         by lex.next(). Do the same to eatLine except where really needed.
299
300         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
301         line when writing to the lyx file.
302
303         * output_plaintext.C (asciiParagraph): fix Bibliography style
304         handling.
305
306         * text.C (read): fix end of file handling.
307
308 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
309
310         * MenuBackend.C (Menu::operator[]): new method to access
311         individual menu items
312         (Menu::hasFunc): new method. search for an item that corresponds
313         to a given func
314         (MenuBackend::specialMenu): new method
315         (MenuBackend::expand): if a special menu has been set, skip
316         entries whose func() appears in this menu
317
318 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
319
320         * text3.C: use Debug::DEBUG a bit more
321
322         * text.C (leftMargin): try to simplify a tiny bit change var x to
323         l_margin. Dont output the wide margins always.
324         (rightMargin): no margin in inner texts
325
326         * rowpainter.h (nestMargin): new func
327         (changebarMargin): new func
328         (rightMargin): new func
329
330         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
331         now functions.
332         (paintLast): ditto
333
334         * factory.C (createInset): modify setDrawFrame
335
336         * cursor.C: use Debug::DEBUG a bit more
337
338 2004-08-14  André Pönitz  <poenitz@gmx.net>
339
340         * coordcache.[Ch]:
341         * Makefile.am: new files to accomodate an 'external' (x,y)-position
342         cache for all insets in (at least partially) visible (top-level)
343         paragraphs.
344
345         * BufferView_pimpl.C: reset external coord cache before every update.
346         This means the coord cache only contains valid entries.
347
348 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
349
350         bug 1096
351         * BufferView_pimpl.C (getInsetByCode): move function out of class
352         and change in to a template in anon namespace. Also fix to do what
353         suits us better.
354
355 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
356
357         bug 1305
358         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
359         of char
360         (breakParagraph): rename par to par_offset and use a local
361         reference. Add code to keep the language over a rebreak.
362         (breakParagraphConservative): rename par to par_offset, use a
363         local reference
364         (mergeParagraph): ditto
365         (outerHook): ditto
366         (isFirstInSequence): ditto
367         (outerFont): rename pit to par_offset
368
369         * paragraph.C: ws change
370         * paragraph.h: ditto
371         * text3.C: ditto
372         * text.C: ditto
373
374 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
375
376         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
377         treatment for ']'
378
379         * paragraph.C (simpleTeXOnePar): when we have a \item with
380         optional argument, enclose the argument with curly brackets (in
381         case it contains a closing square bracket)
382
383         * text2.C (editXY):
384         * text2.C (editXY):
385         * text3.C (checkInsetHit): constify
386
387 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
388
389         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
390         documents (bug 1629)
391
392 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
393
394         Fix toggling of collapsable insets with the mouse (bug 1558)
395
396         * lyxfunc.C (dispatch): adapt to LCursor changes
397
398         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
399         make sure that dispatch is not invoked twice
400
401         * cursor.C (needsUpdate): new method
402         (dispatch): return void
403         (result): new method, to access the DispatchResult of the cursor.
404
405 2004-08-13  José Matos  <jamatos@lyx.org>
406
407         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
408
409 2004-08-13  André Pönitz  <poenitz@gmx.net>
410
411         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
412
413         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
414           multiple cells
415
416 2004-08-12  André Pönitz  <poenitz@gmx.net>
417
418         * text3.C: take out the 'cursor right' form insertInset and only
419         do it in those places when it is really needed. Fixes crash on
420         C-m...
421
422 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
423
424         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
425
426         * BufferView_pimpl.C (setBuffer): initialize the current font of
427         the underlying LyXText
428
429 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
430
431         * kbsequence.C (print): use UI native formatting for menu
432         shortcuts
433
434         * text.C (insertChar): call Paragraph::insertChar with a font
435         argument (cosmetic)
436
437         * paragraph.C (insertInset, insertChar): the version that takes a
438         LyXFont argument is now a wrapper around the other one (the
439         opposite used to be true).
440
441         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
442         argument. Font setting is done in Paragraph now.
443
444 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
445
446         * outputparams.h: add new members intitle and lang.
447
448         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
449         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
450
451 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
452
453         * text3.C (dispatch): remove special handling of button 4 and 5,
454         it is now taken care of in the frontend code.
455
456 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
457
458         * Spacing.h: add <string> (STLPort compile fix)
459
460 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
461
462         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
463
464 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
465
466         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
467         to bool.
468
469         * converter.C (showMessage): inherit from unary_function, make
470         operator() const.
471
472         * buffer.C (writeFile): initialize retval
473
474         * InsetList.h: rename private variable list to list_
475         * InsetList.[Ch]: adjust accordingly.
476
477 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
478
479         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
480         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
481         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
482         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
483         * ParagraphParameters.C, LaTeXFeatures.C: replace
484         "support/std_sstream.h" with <sstream>
485
486 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
487
488         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
489         * lyxsocket.C (LyXServerSocket): ditto
490         (serverCallback): ditto
491
492 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
493
494         * LaTeXFeatures.C: check release date when loading jurabib.
495
496 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
497
498         * lyxserver.C (startPipe): call register_socket_callback
499         (endPipe): call unregister_socket_callback
500
501 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
502
503         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
504         (LyXServerSocket): register the callback
505         (LyXServerSocket): unregister the callback
506         (fd): delete function
507         (serverCallback): improve error checking and setup the callbacks.
508         (dataCallback): change arg to fd.
509         (writeln): new func (copied fro the client socket) used for server
510         write to client.
511         (LyXDataSocket): simplify
512         (~LyXDataSocket): close ann unregiser callback
513         (server): delete function
514         (fd): delete function
515         (readln): small changes, improve some std::string usage
516         (writeln): constify a bit
517
518 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
519
520         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
521         Qt frontend
522
523 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
524
525         * BufferView_pimpl.C (setBuffer): set the layout combox value only
526         after it has been populated
527
528 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
529
530         * text2.C (insertInset): move cursor when inserting inset.
531
532 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
533
534         * kbmap.C (findbindings): a couple of new methods. returns a
535         container of kb_sequence objects. The real work is done by the
536         private recursive version
537         (printbindings): uses findbindings to print out a bracketed list
538         of bindings (renamed from findbinding).
539
540         * MenuBackend.C (binding): use kb_keymap::findbindings
541
542         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
543
544 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
545
546         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
547
548 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
549
550         * paragraph.C (isWord): return true on insets that report
551         isLetter().
552
553         * text.C (getWord): use Paragraph::isWord to decide what is in a
554         word and what is not; fix bug 1609.
555
556 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
557
558         * tex-strings.C: add "none" to string_paperpackages[], fixes
559         off-by-one-error in the paperpackage selection.
560
561         * lyxlex.[Ch]:
562         * tex-strings.[Ch]: char const * string[n]
563         -> char const * const string[]
564
565 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
566
567         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
568         command, return early.
569
570 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
571
572         * debug.h: add DEBUG to enum and fix size of ANY.
573
574         * debug.C: add support for Debug::DEBUG
575         (showTags): cast errorTags.level to unsigned int
576
577         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
578         (redoCurrentBuffer): ditto
579         (updateScrollbar): ditto
580         * cursor.C (dispatch): ditto
581         * text2.C (setLayout): ditto
582         (setFont): ditto
583         (updateCounters): ditto
584         (editXY): ditto
585         (deleteEmptyParagraphMechanism): ditto
586
587 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
588
589         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
590         annotations to cleanup the Makefile slightly.
591
592 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
593
594         * lyxrc.C: do not set user_email to a default value but use empty
595         instead. The entry used to be translated, which does not work
596         since at the point where lyxrc is constructed there is no
597         translation service available
598
599         * messages.C (getLocaleDir): remove and use directly
600         lyx_localedir() instead
601
602 2004-06-02  Angus Leeming  <leeming@lyx.org>
603
604         Fix crash caused by dereferencing null pointer 'exportdata' in
605         OutputParams by creating a new ExportData variable on the heap,
606         storing it in a boost::shared_ptr.
607         The crash was triggered when generating an Instant Preview
608         of an external inset.
609
610         * Makefile.am: add outputparams.C
611
612         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
613         (c-tor): allocate memory to it.
614
615         * exporter.C (c-tor): associated changes.
616
617 2004-06-01  Angus Leeming  <leeming@lyx.org>
618
619         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
620         contains data before calling isInset(0). (Bug 1513.)
621
622 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
623
624         * exporter.C (checkOverwrite): new method
625         * exporter.C (copyFile): new method
626         * exporter.C (Export): copy referenced files to the document dir
627         * exporter.[Ch]: new class ExportedFile
628         * exporter.[Ch]: new class ExportData. Contains currently the
629         names of referenced external files
630         * outputparams.h: add exportdata member.
631
632 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
633
634         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
635         version.C-tmp
636
637 2004-05-19  Angus Leeming  <leeming@lyx.org>
638
639         * LaTeXFeatures.C:
640         * ToolbarBackend.C:
641         * bufferparams.C:
642         * lyxfunc.C: small changes due to the introduction of namespace
643         lyx::frontend and the moving of namespace biblio to lyx::biblio.
644
645 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
646
647         * text3.C (dispatch): supress update when only moving the cursor
648         * cursor.C (selHandle): remove commented code
649
650 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
651
652         * paragraph.C (startTeXParParams): correct column count
653         * CutAndPaste.C (pasteSelection): remove const_cast
654         * output_docbook.C (docbookParagraphs): remove const_cast
655         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
656         const_cast and return ParagraphList::const_iterator
657         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
658         * output_plaintext.C (writeFileAscii): remove const_cast
659         * paragraph.[Ch] (simpleTeXOnePar): make const
660         * paragraph_funcs.C (outerPar): use const iterators
661         * paragraph_pimpl.C (validate): use const iterators
662         * text.C (setHeightOfRow): use const iterators
663
664 2004-05-17  Angus Leeming  <leeming@lyx.org>
665
666         * lfuns.h:
667         * LyXAction.C (init): new LFUN_INSET_REFRESH.
668
669         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
670         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
671         if the citation engine has changed.
672
673 2004-05-14  José Matos  <jamatos@lyx.org>
674
675         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
676         if the textclass does not provide it. Have it different for sgml and
677         xml.
678         support the language of document.
679         * output_docbook.C (docbookParagraphs):
680         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
681         first anchor as the id of the paragraph, remove special case code.
682         * sgml.C (escapeChar): escape only < & >.
683
684 2004-05-14  Angus Leeming  <leeming@lyx.org>
685
686         * bufferparams.h: move biblio::CiteEngine enum here to minimize
687         dependencies on src/frontends/controllers/biblio.h. Define a
688         CiteEngine_enum wrapper class to enable the enum to be forward
689         declared.
690
691 2004-05-12  Angus Leeming  <leeming@lyx.org>
692
693         * buffer.C: up LYX_FORMAT to 234.
694         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
695         use_numerical_citations with a single biblio::CiteEngine cite_engine
696         variable.
697         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
698
699 2004-05-13  José Matos  <jamatos@lyx.org>
700
701         * converter.h:
702         * converter.C (Converter, readFlags): add xml member.
703         * outputparams.h: add XML flavor.
704         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
705
706 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
707
708         * lyxfunc.C (dispatch):
709         (getStatus): fix handling of LFUN_SEQUENCE
710
711 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
712
713         * debug.C (showLevel): do not forget the end-of-line marker
714
715 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
716
717         * kbmap.C (read): do not stop parsing a bind file when an error
718         occurs (bug 1575)
719
720 2004-04-29  Angus Leeming  <leeming@lyx.org>
721
722         * cursor.C:
723         * factory.C:
724         * pariterator.C:
725         * text2.C: wrap a bunch of #warning statements
726         inside #ifdef WITH_WARNINGS blocks.
727
728 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
729
730         * buffer.C: increment format to 233.
731
732 2004-04-28  Angus Leeming  <leeming@lyx.org>
733
734         * BufferView_pimpl.C:
735         * lyxfunc.C:
736         * text3.C:
737         s/updateToolbar()/updateToolbars()/
738         s/Toolbar.h/Toolbars.h/
739
740 2004-04-28  Angus Leeming  <leeming@lyx.org>
741
742         * BufferView.[Ch] (c-tor):
743         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
744         No longer passes these data to the WorkArea generator.
745
746 2004-04-28  Angus Leeming  <leeming@lyx.org>
747
748         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
749
750 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
751
752         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
753
754 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
755
756         * output_latex.C (TeXEnvironment): make sure that there is a line
757         break before \end{foo} for the last paragraph of a document
758         (TeXOnePar): if the paragraph is at the end of the document (or
759         inset) and the language has to be reset, then make sure that the
760         line break is _before_ the language command, not after (fixes bug
761         1225); also make sure that the language reset command is the first
762         thing after the paragraph (to ensure proper nesting of
763         environments and thus fix bug 1404)
764
765 2004-04-21  John Levon  <levon@movementarian.org>
766
767         * ToolbarBackend.h:
768         * ToolbarBackend.C: make "name" be a programmatic name
769         and a gui_name field.
770
771         * lyxfunc.C: display the minibuffer on M-x
772
773 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
774
775         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
776         (bug 1526)
777
778 2004-04-19  Angus Leeming  <leeming@lyx.org>
779
780         * BufferView_pimpl.C (setBuffer): changed preview interface.
781
782         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
783         possible values.
784
785 2004-04-19  John Levon  <levon@movementarian.org>
786
787         * BufferView_pimpl.C:
788         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
789
790 2004-04-05  Angus Leeming  <leeming@lyx.org>
791
792         * text.C (redoParagraphs): add call to updateCounters(), thereby
793         fixing the missing "Figure #:" label from the caption of a
794         figure float.
795
796 2004-04-13  Angus Leeming  <leeming@lyx.org>
797
798         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
799         cursor is clicked out of an inset.
800
801 2004-04-13  Angus Leeming  <leeming@lyx.org>
802
803         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
804         than an InsetOld one.
805
806 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
807
808         * format.[Ch]: add editor to Format
809         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
810         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
811
812 2004-04-08  André Pönitz  <poenitz@gmx.net>
813
814         * metricsinfo.h: remove PainterInfo::width member
815
816 2004-04-08  Angus Leeming  <leeming@lyx.org>
817
818         * lyx_sty.C (boldsymbol_def): modify so that it outputs
819         "\providecommand" rather than "\newcommand", thereby preventing
820         clashes with packages that define "\boldsymbol" themselves.
821         Eg, beamer.
822
823 2004-04-08  Angus Leeming  <leeming@lyx.org>
824
825         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
826         thereby squashing an unnecessary warning.
827
828 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
829
830         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
831         setBuffer()
832
833 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
834
835         * BufferView.C (setCursor): call redoParagraph (some insets could
836         have been opened)
837         (putSelectionAt): remove the 'double update' trick
838
839         * BufferView_pimpl.C (fitCursor): call refreshPar
840         (workAreaDispatch): remove an uneeded update call
841         (dispatch): remove some manual update calls
842
843         * cursor.[Ch]: remove cached_y_, updatePos
844         (selHandle): set noUpdate when appropriate
845
846         * lyxfunc.C (dispatch): track if we need an update
847
848         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
849
850         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
851         (paintSelection): cheap optimization, do not call cursorX when not
852         needed
853         (paintPars): change signature
854         (refreshPar): add
855         (paintText): adjust
856         (paintTextInset): adjust
857
858         * text.C: adjust
859
860 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
861
862         * lengthcommon.C: compilation fix: remove explicit array size from
863         unit_name[] and friends
864
865 2004-04-05  Angus Leeming  <leeming@lyx.org>
866
867         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
868
869         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
870         present only for the preferences dialog.
871         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
872
873 2004-04-05  Angus Leeming  <leeming@lyx.org>
874
875         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
876         to enable the frontends to export changes to lyxrc correctly.
877
878         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
879
880 2004-04-07  André Pönitz  <poenitz@gmx.net>
881
882         * cursor.[Ch] (selClear, adjust): remove math
883
884         * cursor_slice.C: more agressive assert
885
886         * lyxfunc.C:
887         * BufferView_pimpl.C: rework mouse event dispatch
888
889         * dociterator.C:
890         * paragraph.C:
891         * text2.C:
892         * text3.C: adjust
893
894 2004-04-05  André Pönitz  <poenitz@gmx.net>
895
896         * cursor.[Ch] (valign, halign...): remove unneeded functions
897
898 2004-04-05  Angus Leeming  <leeming@lyx.org>
899
900         * lyxlength.[Ch] (unit_name et al.): const-correct.
901
902 2004-04-05  Angus Leeming  <leeming@lyx.org>
903
904         * BufferView_pimpl.C:
905         * buffer.C:
906         * counters.C:
907         * cursor.C:
908         * lyxfunc.C
909         * paragraph.C:
910         * pariterator.C:
911         * text.C:
912         * text2.C:
913         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
914
915 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
916
917         * text3.C (getStatus): add LFUN_BEGINNINGBUF
918
919 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
920
921         * lyxfind.C: add a couple of inTexted() tests + other small fixes
922         * BufferView_pimpl.[Ch] (getStatus)
923         * BufferView.[Ch] (getStatus): add
924         * lyxfunc.C (getStatus): move lfuns handled in
925         BufferView::dispatch to te function above
926         * Cursor.C (setSelection): set selection() = true
927
928 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
929
930         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
931
932 2004-03-31  Angus Leeming  <leeming@lyx.org>
933
934         * lyxfunc.C (dispatch): Fall through to the generic
935         Dialogs::show("preamble").
936
937 2004-03-31  Angus Leeming  <leeming@lyx.org>
938
939         * lyxfunc.C (dispatch): Fall through to the generic
940         Dialogs::show("spellchecker").
941
942 2004-03-31  Angus Leeming  <leeming@lyx.org>
943
944         * lyxfunc.C (getStatus, dispatch): changed invocation of the
945         preferences dialog.
946
947 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
948
949         * BufferView.C
950         * cursor.[Ch]
951         * dociterator.[Ch]:
952         * insetiterator.[Ch]:
953         * lyxfind.C:
954         * lyxfunc.C:
955         * pariterator.[Ch]:
956         * text2.C:
957         * undo.[Ch]: s/DocumentIterator/DocIterator/g
958
959 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
960
961         * BufferView.C (setCursor, putSelectionAt): call edit to open the
962         insets where we are putting the cursor.
963
964 2004-03-31  Angus Leeming  <leeming@lyx.org>
965
966         * lfuns.h:
967         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
968
969         * lyxrc.[Ch] (read, write): overloaded member functions taking
970         a std::[io]stream arguments.
971
972         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
973
974 2004-03-31  Angus Leeming  <leeming@lyx.org>
975
976         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
977         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
978
979         * lyxtextclass.C (load): if the text class couldn't be loaded, then
980         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
981
982 2004-03-31  Angus Leeming  <leeming@lyx.org>
983
984         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
985         the LFUN_ALL_INSETS_TOGGLE code.
986
987 2004-03-30  Angus Leeming  <leeming@lyx.org>
988
989         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
990         has died. Fall through to the generic Dialogs::show("document").
991
992 2004-03-30  Angus Leeming  <leeming@lyx.org>
993
994         * lfuns.h:
995         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
996         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
997
998         * lyxfunc.C (getStatus, dispatch): define the actions for these
999         lfuns. Little more than a cut and pste job from ControlDocument.C
1000
1001         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1002
1003 2004-03-30  Angus Leeming  <leeming@lyx.org>
1004
1005         * lfuns.h:
1006         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1007         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1008
1009         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1010         open/closed state of ollapsable insets. Usage:
1011
1012         all-inset-toggle <state> <name>, where
1013         <state> == "open" || "closed" || "toggle" and
1014         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1015
1016         * lyxtext.h, text2.C (toggleInset): removed.
1017
1018         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1019         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1020         now passes LFUN_INSET_TOGGLE to the found inset.
1021
1022         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1023         is now invoked as "all-insets-toggle toggle branch".
1024
1025 2004-03-30  Angus Leeming  <leeming@lyx.org>
1026
1027         * dociterator.C:
1028         * insetiterator.C:
1029         * pariterator.[Ch]: added/corrected header blurb.
1030
1031 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1032
1033         * dociterator.[Ch]: add an inset_ member
1034         (backwardPos): implemented
1035         (backwardPos, forwardPos): use inset_ when the stack is empty.
1036         (doc_iterator_begin, doc_iterator_end): implemented
1037         * pariterator.[Ch]: adjust, add begin, end
1038         * insetiterator.[Ch]: adjust, add begin, end
1039         * cursor.C:
1040         * document.C:
1041         * BufferView.C:
1042         * BufferView_pimpl.C:
1043         * CutAndPaste.C: adjust
1044
1045 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1046
1047         * buffer.C: increment file format to 232.
1048         * LaTeXFeatures.C: add bibtopic package.
1049         * bufferparams.[Ch]: param \use_bibtopic.
1050
1051         * lyxrc.[Ch]: add lyxrc bibtex_command
1052         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1053
1054         * buffer.C: increment file format to 231.
1055
1056 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1057
1058         * dociterator.C: implement forwardPar
1059         * iterators.[Ch]: remove, replaced by
1060         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1061         * BufferView.C:
1062         * BufferView_pimpl.C:
1063         * CutAndPaste.C:
1064         * buffer.C:
1065         * bufferview_funcs.C:
1066         * cursor.C:
1067         * lyxfind.C
1068         * lyxfunc.C
1069         * paragraph_funcs.C
1070         * toc.C:
1071         * Makefile.am: adjust
1072
1073 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1074
1075         * CutAndPaste.C (pasteSelection): fix 2 crashes
1076         (eraseSelection): fix a crash
1077         * paragraph_funcs.C: remove a warning
1078
1079 2004-03-28  Angus Leeming  <leeming@lyx.org>
1080
1081         * lfuns.h:
1082         * LyXAction.C (init): new LFUN_PRINT.
1083
1084         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1085
1086 2004-03-27  Angus Leeming  <leeming@lyx.org>
1087
1088         * lfuns.h:
1089         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1090
1091         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1092
1093 2004-03-27  Angus Leeming  <leeming@lyx.org>
1094
1095         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1096         insetlist always contains non-null pointers to insets.
1097
1098 2004-03-26  Angus Leeming  <leeming@lyx.org>
1099
1100         * src/BufferView_pimpl.C:
1101         * src/CutAndPaste.C:
1102         * src/buffer.C:
1103         * src/iterators.C:
1104         * src/output_plaintext.C:
1105         * src/outputparams.h:
1106         * src/paragraph_funcs.C:
1107         * src/rowpainter.C:
1108         * src/text.C:
1109         * src/text2.C:
1110         * src/frontends/controllers/ControlErrorList.C:
1111         * src/frontends/gtk/FileDialogPrivate.C:
1112         * src/frontends/gtk/GPainter.C:
1113         * src/frontends/gtk/GToolbar.C:
1114         * src/frontends/qt2/QRef.C:
1115         * src/mathed/math_scriptinset.C: squash compiler warnings.
1116
1117 2004-03-26  Angus Leeming  <leeming@lyx.org>
1118
1119         * ispell.C (LaunchIspell::start):
1120         * lyx_cb.C (AutoSaveBuffer::start):
1121         invoke run(DontWait) rather than runNonBlocking().
1122
1123 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1124
1125         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1126
1127 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1128
1129         * kbsequence.C (print): adjust
1130
1131         * kbmap.C (printKeySym): rename and change signature
1132         (printKey): use LyXKeySym::print()
1133
1134 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1135
1136         * undo.C: add using std::advance to compile for stlport
1137
1138 2004-03-24  Angus Leeming  <leeming@lyx.org>
1139
1140         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1141         it leads to a crash when no buffer is present.
1142
1143 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1144             Martin Vermeer  <martin.vermeer@hut.fi>
1145
1146         * lyxfunc.C (dispatch):
1147         * bufferparams.C (readToken): use the new LColor::setColor
1148
1149         * LColor.[Ch] (setColor): new version that takes two strings as
1150         argument and creates a new color entry if necessary
1151
1152 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1153
1154         * buffer.C (makeLaTeXFile): if the main latex file that is
1155         processed is usually a subdocument of some master, then pretend
1156         for a while that it is actually the master
1157
1158 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1159
1160         * buffer.C (getLabelList):
1161         (getBibkeyList): use getMasterBuffer()
1162         (getMasterBuffer): new method. Returns the main document in the
1163         case where one is using included documents.
1164
1165 2004-03-25  André Pönitz  <poenitz@gmx.net>
1166
1167         * Makefile.am:
1168         * iterators.[Ch]:
1169         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1170
1171         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1172
1173         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1174         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1175
1176         * ParameterStruct.h: merge with ParagraphParameters
1177
1178         * lyxtext.h: remove LyXText::parOffset() and getPar()
1179
1180         * text3.C: Remove all 'manual' update calls. We do now one per user
1181         interaction which is completely sufficient.
1182
1183         * Bidi.C:
1184         * BufferView.[Ch]:
1185         * BufferView_pimpl.C:
1186         * FontIterator.[Ch]:
1187         * MenuBackend.C:
1188         * ParagraphParameters.[Ch]:
1189         * buffer.C:
1190         * buffer.h:
1191         * bufferlist.C:
1192         * cursor.[Ch]:
1193         * cursor_slice.[Ch]:
1194         * dociterator.[Ch]:
1195         * errorlist.[Ch]:
1196         * factory.C:
1197         * lfuns.h:
1198         * lyxfind.C:
1199         * lyxfunc.C:
1200         * output_docbook.[Ch]:
1201         * output_latex.[Ch]:
1202         * output_linuxdoc.[Ch]:
1203         * output_plaintext.[Ch]:
1204         * paragraph.[Ch]:
1205         * paragraph_funcs.[Ch]:
1206         * paragraph_pimpl.[Ch]:
1207         * rowpainter.C:
1208         * tabular.[Ch]:
1209         * text.C:
1210         * text2.C:
1211         * toc.C:
1212         * undo.[Ch]: adjust
1213
1214         * frontends/controllers/ControlDocument.C:
1215         * frontends/controllers/ControlErrorList.C:
1216         * frontends/controllers/ControlSpellchecker.C:
1217         * insets/inset.C:
1218         * insets/inset.h:
1219         * insets/insetbase.h:
1220         * insets/insetbibitem.C:
1221         * insets/insetbox.C:
1222         * insets/insetbranch.C:
1223         * insets/insetcaption.C:
1224         * insets/insetcharstyle.C:
1225         * insets/insetcharstyle.h:
1226         * insets/insetcollapsable.C:
1227         * insets/insetcollapsable.h:
1228         * insets/insetert.C:
1229         * insets/insetfloat.C:
1230         * insets/insetfoot.C:
1231         * insets/insetmarginal.C:
1232         * insets/insetnote.C:
1233         * insets/insetoptarg.C:
1234         * insets/insettabular.C:
1235         * insets/insettext.C:
1236         * insets/insettext.h:
1237         * insets/insetwrap.C:
1238         * mathed/math_mboxinset.C:
1239         * mathed/math_nestinset.C:
1240         * mathed/math_scriptinset.C:
1241         * mathed/math_scriptinset.h:
1242         * support/types.h:
1243
1244 2004-03-24  Angus Leeming  <leeming@lyx.org>
1245
1246         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1247         deal with any child processes that have finished but are waiting to
1248         communicate this fact to the rest of LyX.
1249
1250 2004-03-24  Angus Leeming  <leeming@lyx.org>
1251
1252         64-bit compile fixes.
1253
1254         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1255         (c-tor): pass lyx::pos_types rather than ints.
1256
1257         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1258         lyx::pos_type.
1259
1260         * text.C (Delete): compile fix.
1261         (getPar): ensure that function declaration is the same as that in
1262         the header file.
1263
1264 2004-03-23  Angus Leeming  <leeming@lyx.org>
1265
1266         * ispell.C (LaunchIspell):
1267         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1268         a boost::shred_ptr rather than a std::auto_ptr.
1269
1270 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1271
1272         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1273         handle LFUN_FILE_INSERT_*
1274
1275         * lyxrc.C (setDefaults, getDescription, output, read):
1276         * lyxrc.h: remove ps_command
1277
1278 2004-03-22  Angus Leeming  <leeming@lyx.org>
1279
1280         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1281         Ensure that error_handler is processed once only and that all data
1282         is saved before attempting to output any warning messages.
1283
1284         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1285
1286 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1287
1288         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1289
1290 2004-03-19  André Pönitz  <poenitz@gmx.net>
1291
1292         * cursor.[Ch] (reset): take main text inset as argument
1293
1294         * BufferView: adjust
1295         * BufferView_pimpl.C: adjust
1296
1297         * paragraph.[Ch]: fix completely broken operator=()
1298
1299 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1300
1301         * LColor.C (getFromLyXName): make sure that the color name is used
1302         as lowercase.
1303
1304 2004-03-17  Angus Leeming  <leeming@lyx.org>
1305
1306         * lfuns.h:
1307         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1308
1309         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1310         dialog and to kill a forked process.
1311
1312 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1313
1314         * text2.C (setCursorFromCoordinates): fix font problem
1315
1316 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1317
1318         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1319         bogus "rebuild cursor" code
1320
1321 2004-03-11  André Pönitz  <poenitz@gmx.net>
1322
1323         * buffer.[Ch]: use InsetText instead of LyXText as container for
1324         the main lyx text.
1325
1326         * dociterator.[Ch]: drop the BufferView * member which is not needed
1327         anymore after the change to buffer.C
1328
1329         * paragraph_funcs.C:
1330         * text.C:
1331         * text2.C:
1332         * BufferView.[Ch]:
1333         * BufferView_pimpl.[Ch]:
1334         * cursor.[Ch]:
1335         * cursor_slice.[Ch]: adjust
1336
1337         * text3.C: fix bug in mathDispatch
1338
1339 2004-03-08  André Pönitz  <poenitz@gmx.net>
1340
1341         * undo.[Ch]: use 'StableDocumentIterator' as base for
1342         the Undo struct.
1343
1344 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1345
1346         * LaTeXFeatures.C:
1347         * bufferparams.[Ch]: add jurabib support and param.
1348
1349         * LaTeX.C: add FIXME/comment.
1350
1351 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1352
1353         * buffer.C: increment file format to 230.
1354
1355 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1356
1357         * cursor.C (dispatch): avoid infinite loops
1358
1359 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1360
1361         * rowpainter.C (paintSelection): fix x coordinates
1362
1363 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1364
1365         * text.C (rowBreakPoint): fix breaking before displayed insets
1366
1367 2004-03-01  André Pönitz  <poenitz@gmx.net>
1368
1369         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1370
1371         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1372
1373         * Makefile.am:
1374         * BufferView.C:
1375         * BufferView_pimpl.C:
1376         * buffer.C:
1377         * lyxfind.C:
1378         * lyxfunc.C:
1379         * text.C:
1380         * text2.C:
1381         * text3.C: adjust
1382
1383 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1384
1385         * lyxtext.h:
1386         * text.C:
1387         * text2.C:
1388         * rowpainter.C:
1389         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1390         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1391
1392 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1393
1394         * Bidi.[Ch] (computeTables): const correctness
1395         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1396         fill_hfill, fill_label_hfill and x from Row
1397         * lyxtext.h: prepareToPrint returns a RowMetrics
1398         * rowPainter.C: adjust
1399         * text.C (prepareToPrint): use width, not textWidth. adjust
1400         (redoParagraphInternal, cursorX): adjust
1401         * text2.C (getColumnNearX): adjust
1402         (init): put a default value to the top LyXText::width
1403
1404 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1405
1406         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1407
1408 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1409
1410         * lyxtext.h: add FontIterator class
1411
1412         * text.C (FontIterator, operator*, operator->, operator++): add
1413         (rowBreakPoint, setRowWidth): adjust (fixing a
1414         rebreaking bug)
1415
1416 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1417
1418         * BufferView_pimpl.C (workAreaDispatch): allow also
1419         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1420
1421 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1422
1423         * text.C (rowBreakPoint): fix a bug showing with very large insets
1424
1425 2004-02-25  André Pönitz  <poenitz@gmx.net>
1426
1427         * text3.C:
1428         * cursor.[Ch]: move some mathed specific code to mathed
1429
1430 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1431
1432         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1433         use_tempdir in preferences
1434         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1435         tempfile creation
1436         * lyx_main.C: ensure that tempdir is valid
1437         * lyxlex.h: correct typo
1438         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1439         * paragraph.[Ch] (isMultiLingual): make const
1440         * cursor.[Ch] (openable): make const
1441
1442 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1443
1444         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1445
1446 2004-02-20  André Pönitz  <poenitz@gmx.net>
1447
1448         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1449
1450         * cursor.[Ch]: prepare for localized getStatus()
1451
1452         * lyxtext.h:
1453         * tabular.C:
1454         * text.C:
1455         * text2.C:
1456         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1457
1458 2004-02-20  André Pönitz  <poenitz@gmx.net>
1459
1460         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1461
1462 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1463
1464         * text2.C (setCursorFromCoordinates): switch to absolute coords
1465         (cursorUp): adjust
1466         (cursorDown): adjust
1467         * text3.C (dispatch): adjust
1468
1469 2004-02-16  André Pönitz  <poenitz@gmx.net>
1470
1471         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1472           insets/ChangeLog)
1473
1474         * cursor_slice.[Ch]: remove unneeded acessor function
1475
1476         * lyxtext.h: rename rtl() to isRTL()
1477
1478         * rowpainter.C:
1479         * tabular.C:
1480         * text.C:
1481         * text2.C:
1482         * text3.C: adjust
1483
1484 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1485
1486         * rowpainter.C (paintSelection): coord fix
1487
1488 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1489
1490         * Spacing.C: compile fix
1491
1492 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1493
1494         * cursor.C (dispatch): restore current_ before returning
1495
1496 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1497
1498         * text2.C (cursorUp, cursorDown): fix coords
1499         (moveUp): fix crash
1500
1501 2004-02-12  André Pönitz  <poenitz@gmx.net>
1502
1503         * lyxtext.h:
1504         * text.C:
1505         * text2.C:
1506         * text3.C: add LCursor & parameter to most cursor movement functions
1507           remove usage of LyXText::cursorRow() and cursorPar()
1508
1509         * cursor.[Ch]: add textRow() needed members
1510
1511         * BufferView.C:
1512         * BufferView_pimpl.C:
1513         * paragraph.[Ch]:
1514         * BufferView.C:
1515         * BufferView_pimpl.C: adjust
1516
1517 2004-02-11  André Pönitz  <poenitz@gmx.net>
1518
1519         * lyxfunc.C:
1520         * BufferView.[Ch]:
1521         * BufferView_pimpl.C: shift undo/redo handling
1522
1523         * cursor.[Ch]: fix mathed crash
1524
1525         * lyxfind.C:
1526         * lyxtext.h: move selectionAsText to LCursor
1527
1528         * output_latex.C:
1529         * paragraph.C:
1530         * text.C:
1531         * text2.C:
1532         * text3.C: adjust
1533
1534         * rowpainter.C: fix excessive drawing
1535
1536 2004-02-06  André Pönitz  <poenitz@gmx.net>
1537
1538         * BufferView.[Ch]:
1539         * BufferView_pimpl.[Ch]:
1540         * text3.C: move some text specific LFUN handling
1541
1542 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1543
1544         * text3.C (checkInsetHit): adjust coords
1545         * text2.C (getColumnNearX): adjust coords
1546         (edit): adjust coords
1547         * text.C (getRowNearY): add two asserts
1548
1549 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1550
1551         * converter.C:
1552         * format.C: add using std::distance to compile on gcc 2.95/stlport
1553
1554 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1555
1556         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1557
1558 2004-02-04  André Pönitz  <poenitz@gmx.net>
1559
1560         * BufferView.[Ch] (insertInset):
1561         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1562
1563         * text2.C:
1564         * text3.C: adjust
1565
1566 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1567
1568         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1569         on the default clause of the switch
1570         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1571         wasn't catched by LCursor::dispatch
1572
1573 2004-02-03  André Pönitz  <poenitz@gmx.net>
1574
1575         * BufferView.C:
1576         * cursor.[Ch]: some additional asserts
1577
1578         * undo.[Ch]: remove LyXText dependency in interface
1579
1580         * lyxfunc.C: adjust
1581
1582         * lyxtext.h (firstPar, lastPar): remove dead functions
1583
1584         * text.C:
1585         * text2.C:
1586         * text3.C:
1587         * paragraph.[Ch]: adjust
1588
1589 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1590
1591         * lyxfind.C (find): fix argument order in call to ::find
1592
1593 2004-02-02  André Pönitz  <poenitz@gmx.net>
1594
1595         * cursor.[Ch]: remove direct access to anchor
1596
1597         * text.C: remove findText() hack
1598
1599 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1600
1601         * iterators.[Ch] (lockPath): remove in favour of...
1602         * BufferView.[Ch] (setCursor): this addition
1603         * BufferView.C (putSelectionAt): adjust
1604         * undo.C (performUndoOrRedo): adjust
1605         * lyxfunc.C (dispatch): adjust
1606
1607 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1608
1609         * iterators.C (lockPath): add a missing slice
1610         * undo.C (performUndoOrRedo): remove redundant positioning code
1611
1612 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1613
1614         * vc-backend.C (scanMaster): ";" -> ';'
1615
1616 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1617
1618         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1619         std::binary_function
1620
1621         * lyxtextclass.C (compare_name): rename to...
1622         (LayoutNamesEqual): ...this
1623
1624         * lyxlex_pimpl.C (compare_tags): inherit from
1625         std::binary_function, put back into anon namespace
1626
1627         * lyxfind.C (MatchString): inherig from std::binary_function
1628         (findChange): use empty() istead of !size()
1629
1630         * format.C (FormatNamesEqual): new functor
1631         (getFormat): use it
1632         (getNumber): use it
1633         (add): use it
1634         (erase): use it
1635         (setViewer): use it
1636
1637         * converter.C (compare_Converter): rename to...
1638         (ConverterEqual): ...this, and fixup a bit.
1639         (getConverter): use it, and make function const
1640         (getNumber): use it, and make function const
1641         (add): use it
1642         (erase): use it:
1643
1644         * bufferlist.C: add using boost::bind
1645
1646         * MenuBackend.C (MenuNamesEqual): new functor
1647         (hasMenu): use it, and make function const
1648         (hasSubmenu): use nested bind to get rid of compare_memfun.
1649
1650 2004-01-30  André Pönitz  <poenitz@gmx.net>
1651
1652         * BufferView_pimpl.C:
1653         * cursor.C:
1654         * cursor.h:
1655         * cursor_slice.[Ch]:
1656         * lyxfunc.C:
1657         * lyxtext.h:
1658         * paragraph_funcs.C:
1659         * paragraph_funcs.h:
1660         * rowpainter.C:
1661         * text.C:
1662         * text2.C:
1663         * text3.C: move some of the edit(x,y) handling to the insets
1664         some coordinate changes.
1665
1666 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1667
1668         * text.C: add using statements for std::advance and std::distance
1669
1670         * paragraph.C: add using statement for std::distance
1671
1672         * lyxfind.C: add using statement for std::advance
1673
1674         * cursor.C (region): remove std:: from swap
1675         (openable): use nucleus in stead of operator->
1676
1677         * BufferView.C: add using statements for std::distance and std::swap
1678
1679 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1680
1681         * iterators.C: Remove the pimple, move the needed structures to
1682         the header file. Create accessor for the positions stack.
1683         (asPosIterator): remove function
1684
1685         * PosIterator.C (PosIterator): move constructors to top of file
1686         (PosIterator): reimplement the constructor taking a ParIterator in
1687         terms of setFrom.
1688         (setFrom): new function
1689         (operator!=): inline it
1690
1691 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1692
1693         * lyxfind.C (replaceAll): use std::advance
1694
1695         * iterators.h: inherit from std::iterator.
1696
1697         * PosIterator.C (advance, distance): remove
1698         * PosIterator.h: interit from std::iterator.
1699
1700 2004-01-26  André Pönitz  <poenitz@gmx.net>
1701
1702         * BufferView.[Ch]:
1703         * BufferView_pimpl.[Ch]:
1704         * InsetList.[Ch]:
1705         * PosIterator.[Ch]:
1706         * buffer.h:
1707         * bufferview_funcs.C:
1708         * cursor.[Ch]:
1709         * cursor_slice.h:
1710         * factory.[Ch]:
1711         * iterators.[Ch]:
1712         * lyxfind.C:
1713         * lyxfunc.C:
1714         * lyxtext.h:
1715         * output_docbook.C:
1716         * output_latex.C:
1717         * output_linuxdoc.C:
1718         * output_plaintext.C:
1719         * paragraph.[Ch]:
1720         * paragraph_funcs.[Ch]:
1721         * paragraph_pimpl.[Ch]:
1722         * rowpainter.C:
1723         * tabular.C:
1724         * tabular.h:
1725         * text.C:
1726         * text2.C:
1727         * text3.C: more IU:  dumps most of the rest of the mathcursor
1728     implementation into cursor.[Ch]; "globalize" a bit of it.
1729
1730 2004-01-25  Angus Leeming  <leeming@lyx.org>
1731
1732         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1733
1734 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1735
1736         * LaTeXFeatures.h: add nice_ and nice() const
1737         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1738
1739 2004-01-20  André Pönitz  <poenitz@gmx.net>
1740
1741         * BufferView.[Ch]:
1742         * BufferView_pimpl.C:
1743         * PosIterator.C:
1744         * bufferview_funcs.C:
1745         * cursor.[Ch]:
1746         * cursor_slice.[Ch]:
1747         * factory.C:
1748         * iterators.C:
1749         * lyx_cb.C:
1750         * lyxfind.C:
1751         * lyxfunc.C:
1752         * lyxtext.h:
1753         * rowpainter.C:
1754         * text.C:
1755         * text2.C:
1756         * text3.C:
1757         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1758           LCursor and mathcursor parts to LCursor and InsetBase.
1759
1760 2004-01-15  André Pönitz  <poenitz@gmx.net>
1761
1762         * cursor_slice.[Ch]: add a few covienience functions
1763
1764         * funcrequest.[Ch]: remove BufferView * member
1765
1766         * BufferView_pimpl.C:
1767         * cursor.C:
1768         * factory.[Ch]:
1769         * lyxfind.[Ch]:
1770         * lyxfunc.C:
1771         * lyxtext.h:
1772         * text3.C:
1773         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1774
1775 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1776
1777         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1778         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1779
1780 2004-01-13  André Pönitz  <poenitz@gmx.net>
1781
1782         * textcursor.[Ch]:
1783         * lyxtext.h: hide cursor and selection anchor behind accessor function
1784
1785         * BufferView.C:
1786         * BufferView_pimpl.[Ch]:
1787         * PosIterator.C:
1788         * bufferview_funcs.C:
1789         * cursor.h:
1790         * lyxfind.C:
1791         * lyxfunc.C:
1792         * text.C:
1793         * text2.C:
1794         * text3.C:
1795         * undo.C: adjust
1796
1797         * cursor.h:
1798         * cursor_slice.[Ch]: some integer type changes for inset unification
1799
1800         * lyxcursor.[hC]: remove, it's CursorSlice now.
1801
1802         * Makefile.am:
1803         * BufferView_pimpl.[Ch]:
1804         * bufferview_funcs.C:
1805         * cursor_slice.C:
1806         * lyxtext.h:
1807         * text.C:
1808         * text2.C:
1809         * text3.C:
1810         * textcursor.[Ch]: adjust
1811
1812 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1813
1814         * text2.C (undoSpan): add and use
1815         * text.C (breakParagraph): use undoSpan (fix bug 578)
1816         * lyxtext.h: adjust
1817
1818 2004-01-08  Angus Leeming  <leeming@lyx.org>
1819
1820         * BufferView_pimpl.C (MenuInsertLyXFile):
1821         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1822         * lyxfunc.C (menuNew, open, doImport):
1823         FileFilterList change to the FileDialog open and save functions.
1824
1825 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1826
1827         * ShareContainer.h: make isEqual and isUnique adaptable
1828
1829         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1830
1831 2004-01-07  Angus Leeming  <leeming@lyx.org>
1832
1833         * LyXAction.C:
1834         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1835
1836         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1837
1838         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1839         functions replacing find, replace and replaceAll.
1840
1841         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1842         LFUN_WORDFIND(FORWARD|BACKWARD).
1843
1844 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1845
1846         * text.C (breakParagraph): remove an outdated #warning
1847
1848 2004-01-07  André Pönitz  <poenitz@gmx.net>
1849
1850         * lyxfind.C: somewhat clearer logic
1851
1852         * text.C: prevent crash in cursorX on unitialized row cache
1853
1854 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1855
1856         * lyxcursor.[Ch] (operator>): add
1857         * textcursor.C (selStart, selEnd): use std::min and std::max
1858
1859 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1860
1861         * Chktex.C: include boost/format.hpp
1862
1863 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1864
1865         * InsetList.C: replace functor MathcIt with adaptable functor
1866         InsetTablePosLess
1867         (insetIterator): modify accordingly
1868
1869         * BranchList.h: move the BranchNamesEqual functor here from...
1870         * BranchList.C: ... to here
1871
1872         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1873         SameName and match.
1874         (add): replace a finding loop with std::find_if.
1875
1876 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1877
1878         * output_docbook.C: moving LatexParam functionality into
1879         .layout files
1880
1881 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1882
1883         * buffer.C: increment format to 229.
1884
1885 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1886
1887         * LaTeXFeatures.C:
1888         * lyx_sty.[Ch]: remove minipageindent_def
1889
1890         * LyXAction.C:
1891         * factory.C:
1892         * lfuns.h:
1893         * lyxfunc.C:
1894         * text3.C: remove LFUN_INSET_MINIPAGE
1895
1896 2003-12-28  Angus Leeming  <leeming@lyx.org>
1897
1898         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1899
1900 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1901
1902         * text2.C (setParagraph): fix off-by-one crash
1903
1904 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1905
1906         * output_docbook.C: header stuff for AGU
1907
1908 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1909
1910         * text2.C (redoCursor): remove
1911         * text.C:
1912         * text3.C:
1913         * BufferView_pimpl.C: remove calls to redoCursor and
1914         setCursor(cursor.par(), cursor.pos()) all around
1915
1916 2003-12-15  Angus Leeming  <leeming@lyx.org>
1917
1918         * buffer.C: up the format to 228.
1919
1920 2003-12-15  André Pönitz  <poenitz@gmx.net>
1921
1922         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1923         slices
1924
1925         * Makefile.am:
1926
1927         * BufferView_pimpl.C:
1928         * cursor.[Ch]:
1929         * lyxcursor.[Ch]:
1930         * rowpainter.[Ch]:
1931         * lyxtext.h:
1932         * text.C:
1933         * text2.C:
1934         * text3.C: adjust
1935
1936 2003-12-15  Angus Leeming  <leeming@lyx.org>
1937
1938         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1939         than getFromGUIName to manipulate the color.
1940
1941 2003-12-14  Angus Leeming  <leeming@lyx.org>
1942
1943         * BranchList.[Ch]: minimize the API.
1944         (Branch::getBranch, getColor): now return a 'const &'.
1945         (Branch::setSelected) now returns a bool set to true if the
1946         selection status changes.
1947         (BranchList::clear, size, getColor, setColor, setSelected,
1948         allBranches, allSelected, separator): removed.
1949         (BranchList::find): new functions, returning the Branch with
1950         the given name.
1951         (BranchList::add, remove): return a bool indicating that
1952         the operation was successful.
1953
1954         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1955         new InsetBranch::isBranchSlected member function.
1956
1957         * LColor.[Ch]: mimimize the API.
1958         (fill): renamed as addColor and made private.
1959         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1960         versions of these functions taking a string arg have been removed.
1961
1962         * bufferparams.C (readToken):
1963         * lyxfunc.C (dispatch):
1964         * lyxrc.C (read): changes due to the altered BranchList and
1965         LColor APIs.
1966
1967         * factory.C (createInset, readInset): changes due to altered
1968         InsetBranch c-tor.
1969
1970 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1971
1972         * factory.C:
1973         * lyxfunc.C: remove insetminipage. "minipage-insert"
1974         now produces a frameless minipage box inset.
1975
1976 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1977
1978         * textcursor.[Ch] (selStart,selEnd): add new methods
1979         remove selection::start, end, use LyXCursor::operator<
1980         * lyxcursor.[Ch] (operator<): add
1981         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1982         * BufferView.[Ch] (unsetXSel): add
1983         * text2.C (clearSelection): use unsetXSel,adjust
1984         * text.C: adjust
1985         * text3.C: adjust
1986         * rowpainter.C: adjust
1987         * bufferview_funcs.C (put_selection_at): adjust
1988
1989 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1990
1991         * BufferView_pimpl.C: small coord. correction
1992
1993 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1994
1995         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1996         dragging over the splash screen.
1997
1998 2003-12-11  Angus Leeming  <leeming@lyx.org>
1999
2000         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2001         as it is now handled in LyXText::dispatch.
2002
2003         * text3.C (doInsertInset): remove a level of nesting.
2004
2005 2003-12-11  Angus Leeming  <leeming@lyx.org>
2006
2007         * factory.C (createInset): changes due to the changed interface to
2008         InsetCommandMailer::string2params.
2009
2010 2003-12-10  Angus Leeming  <leeming@lyx.org>
2011
2012         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2013         'dialog-show-new-inset <inset name>'
2014
2015 2003-12-10  Angus Leeming  <leeming@lyx.org>
2016
2017         * buffer.C: up the format to 227.
2018
2019         * factory.C: the box inset is now identified simply by 'Box'.
2020
2021 2003-12-10  Angus Leeming  <leeming@lyx.org>
2022
2023         * buffer.C: up the format to 226.
2024
2025         * factory.C: the note inset is now identified simply by 'Note'.
2026
2027 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2028
2029         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2030         when a pit is enough. Standarize a couple of loops.
2031
2032 2003-12-05  Angus Leeming  <leeming@lyx.org>
2033
2034         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2035         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2036         data to the re-worked "log" dialog.
2037
2038 2003-12-03  André Pönitz  <poenitz@gmx.net>
2039
2040         * PosIterator.C:
2041         * iterators.C:
2042         * lyxtext.h:
2043         * output_latex.C:
2044         * paragraph_funcs.C:
2045         * text.C:
2046         * text2.C: use Inset::getText instead of Inset::getParagraph
2047
2048 2003-12-03  André Pönitz  <poenitz@gmx.net>
2049
2050         * buffer.[Ch]:
2051         * lyxtext.h:
2052         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2053         InsetText::read() as LyXText::read()
2054
2055 2003-12-02  Angus Leeming  <leeming@lyx.org>
2056
2057         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2058         type. Add a comment in the implementation that the function uses
2059         the stream's bad() function rather than fail() as the std::streams
2060         would do.
2061
2062 2003-12-02  André Pönitz  <poenitz@gmx.net>
2063
2064         * lyxlex.[Ch]: make interface more similar to std::stream
2065
2066         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2067
2068 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2069
2070         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2071
2072 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2073
2074         * vspace.[Ch]: remove VSpace::NONE
2075
2076 2003-12-01  André Pönitz  <poenitz@gmx.net>
2077
2078         * buffer.[Ch]:
2079         * lyxtext.h: move ParagraphList member to LyXText
2080         rename LyXText::ownerParagraphs to LyXText::paragraph
2081
2082         * CutAndPaste.C:
2083         * bufferview_funcs.C:
2084         * iterators.[Ch]:
2085         * lyx_cb.C:
2086         * paragraph.C:
2087         * rowpainter.C:
2088         * tabular.C:
2089         * text.C:
2090         * text2.C:
2091         * text3.C: adjust
2092
2093         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2094
2095         * undo.C: fix cursor positioning
2096
2097 2003-12-01  John Levon  <levon@movementarian.org>
2098
2099         * BufferView_pimpl.C: fix a crash on exit with
2100         a buffer open
2101
2102 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2103
2104         * BranchList.C: fix setSelected() method.
2105
2106 2003-11-28  André Pönitz  <poenitz@gmx.net>
2107
2108         * ParagraphParameters.[Ch]:
2109         * ParameterStruct.h: remove space above/below from Paragraph to
2110          InsetVSpace
2111
2112         * BufferView_pimpl.C:
2113         * factory.C:
2114         * lyxfunc.C:
2115         * lyxtext.h:
2116         * output_latex.C:
2117         * paragraph.C:
2118         * paragraph_funcs.C:
2119         * rowpainter.[Ch]:
2120         * text.C:
2121         * text2.C:
2122         * text3.C: adjust
2123
2124 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2125
2126         * factory.C: Syntax change for CharStyles
2127
2128 2003-11-28  André Pönitz  <poenitz@gmx.net>
2129
2130         * BufferView.[Ch]:
2131         * BufferView.[Ch]:
2132         * buffer.[Ch]:
2133         * buffer.[Ch]: move LyXText member
2134
2135 2003-11-28  André Pönitz  <poenitz@gmx.net>
2136
2137         * BufferView.[Ch]: make LyXText * text a private member
2138
2139         * BufferView_pimpl.C:
2140         * cursor.C:
2141         * iterators.C:
2142         * lyx_cb.C:
2143         * lyxfind.C:
2144         * lyxtext.h:
2145         * rowpainter.[Ch]:
2146         * text.C:
2147         * text2.C:
2148         * undo.C: adjust
2149
2150         * output_plaintext.C: cleanup
2151
2152 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2153
2154         * buffer.C:
2155         * lyxtextclass.[Ch]: parametrize SGML document header
2156
2157 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2158
2159         * converter.[Ch]:
2160         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2161         getFlavor().
2162
2163 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2164
2165         * text2.C (setFont): rework using PosIterator (no more recursive)
2166         (setCharFont): no more needed
2167         (setLayout): no more selection cursors fiddling (done by redoCursor)
2168         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2169         destroy remaining ones)
2170
2171 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2172
2173         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2174         * lyxtext.h: ditto
2175         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2176         selection cursors
2177         * lyxfunc.C: adjust
2178         * text3.C: adjust + re-allow multi par depth changes
2179         * textcursor.C: simplify a bit
2180
2181 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2182
2183         * src/buffer.C:
2184         * src/lyxlayout.C:
2185         * src/lyxlayout.h:
2186         * src/lyxtext.h:
2187         * src/output_docbook.C:
2188         * src/output_latex.C:
2189         * src/paragraph.C:
2190         * src/paragraph.h:
2191         * src/sgml.C:
2192         * src/sgml.h:
2193         * src/text2.C: Introducing a number of tags parametrizing various
2194         XML formats that we may want to support
2195
2196 2003-11-25  André Pönitz  <poenitz@gmx.net>
2197
2198         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2199
2200         * lyxtext.h (leftMargin/rightMargin): simplify interface
2201
2202         * rowpainter.C:
2203         * text.C:
2204         * text2.C:
2205         * text3.C: adjust
2206
2207 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2208
2209         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2210         master file to any child files. Fixes bug 546.
2211
2212 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2213
2214         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2215
2216 2003-11-24  André Pönitz  <poenitz@gmx.net>
2217
2218         * rowpainter.C: simplification
2219
2220         * text2.C (updateCounters): remove call to redoParagraph on
2221         changed labels as this is far too expensive.
2222
2223 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2224
2225         * converter.C (convert): fix a crash: this function gets
2226         called with buffer == 0 from importer code.
2227
2228 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2229
2230         * text3.C (cursorPrevious): make sure that we do not compare
2231         iterators form different containers.
2232         (cursorNext): ditto
2233
2234         * rowpainter.C (paintSelection): make sure that we do not compare
2235         iterators from different containers.
2236
2237         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2238         iterators from different ParagraphList containers.
2239         [NEXT] ditto
2240
2241         * text2.C (LyXText): change order of initialization slightly
2242         (operator=): new function. copy all variables except cache_par_
2243         (moveUp): make sure that we do not compare iterators from
2244         different ParagraphList constainers.
2245         (moveDown): ditto
2246
2247         * text.C (firstPar): new function
2248         (lastPar): new function
2249         (endPar): new function
2250
2251         * lyxtext.h: move things around and group public functions, public
2252         variables, private functions, private variables
2253
2254 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2255
2256         * factory.C: change call to InsetERT constructor to avoid
2257         additional invocation of method status
2258         * text2.C (toggleInset): remove redundant update() call
2259         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2260         instead of a Bufferview pointer
2261
2262 2003-11-21  André Pönitz  <poenitz@gmx.net>
2263
2264         * rowpainter.C: simplification
2265
2266 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2267
2268         * text3.C (dispatch): make possible to extend a word/row selection
2269         with the mouse
2270
2271 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2272
2273         * lyxtext.h: x0_,y0_ -> xo_,yo_
2274         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2275         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2276         * rowpainter.C (paintRows): paint full paragraphs
2277
2278 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2279
2280         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2281         screen coordinates)
2282
2283 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2284
2285         * lyxtext.h: add x0_, y0_
2286         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2287         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2288
2289 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2290
2291         * text2.C (setCursorIntern): move the x_target update here *
2292         * text3.C: change some bv() to true/false in calls to
2293         cursorUp/Down/Right/Left
2294         * cursor.C: use helper function.
2295
2296 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2297
2298         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2299         * paragraph_funcs.[Ch]: correct comment
2300         * rowpainter.C: do not paint selections away from bv->cursor()
2301         Fix a long standing selection painting bug.
2302         * text3.C: generalize mouse-selection code to LyXTexts other that
2303         top one
2304         * textcursor.C: do not use y coords if we can use par offsets
2305
2306 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2307
2308         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2309         cursor position after e.g. inset insert)
2310
2311 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2312
2313         * lyxfind.C (replace): adjust to locking removal + some
2314         code simplification
2315
2316 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2317
2318         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2319         of the path
2320
2321 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2322
2323         * lyxlayout.[Ch]:
2324         * output_docbook.C: XML sanitation: new layout
2325         parameters InnerTag and CommandDepth
2326
2327 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2328
2329         * BufferView_pimpl.C:
2330         * factory.C:
2331         * text3.C: Fix the insertion and modification of button-style
2332         insets
2333
2334 2003-11-13  André Pönitz  <poenitz@gmx.net>
2335
2336         * InsetList.[Ch]: remove deleteLyXText
2337
2338         * paragraph.[Ch]: cache beginOfBody position
2339
2340         * Bidi.C:
2341         * text.C:
2342         * text2.C:
2343         * text3.C: remove superfluous update() calls
2344
2345         * vspace.C: cleanup
2346
2347 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2348
2349         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2350         * BufferView.C (fitLockedInsetCursor): remove
2351         * cursor.[Ch] (getDim): add
2352         * text.C (getRowNearY): add faster version
2353         * text3.C: remove some update calls
2354
2355 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2356
2357         * LaTeXFeatures.C:
2358         * LyXAction.C:
2359         * MenuBackend.C:
2360         * MenuBackend.h:
2361         * dispatchresult.h:
2362         * factory.C:
2363         * lfuns.h:
2364         * lyxfunc.C:
2365         * lyxtextclass.C:
2366         * lyxtextclass.h:
2367         * text3.C: The Character Style /XML short element patch.
2368
2369 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2370
2371         * text3.C:
2372         * factory.C: Small step to solving 'unable to insert some insets'
2373         problem
2374
2375 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2376
2377         * cursor.[Ch] (updatePos): new function for updating the y
2378         position of the tip inset
2379         * bufferview_funcs.C (put_selection_at):
2380         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2381
2382 2003-11-11  André Pönitz  <poenitz@gmx.net>
2383
2384         * text.C: remove big comment on invalid Paragraph pointers as it is
2385         not valid anymore
2386
2387 2003-11-11  André Pönitz  <poenitz@gmx.net>
2388
2389         * text_funcs.[Ch]: merge with ...
2390
2391         * text.C: ... this
2392
2393         * lyxtext.h:
2394         * text2.C:
2395         * text3.C: adjust
2396
2397         * Makefile.am: remove text_funcs.[Ch]
2398
2399 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2400
2401         * cursor.C (getPos): return absolute cached y coord
2402
2403         * BufferView_pimpl.C (fitCursor): new simplistic code
2404         (workAreaDispatch): add a fitCursor call
2405
2406 2003-11-10  André Pönitz  <poenitz@gmx.net>
2407
2408         * BufferView.[Ch]:
2409         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2410
2411 2003-11-10  André Pönitz  <poenitz@gmx.net>
2412
2413         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2414         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2415         indicate that the cursor needs to leave an inset
2416
2417         * lyxtext.h: remove inset locking
2418
2419         * cursor.[Ch]: re-implement functionality provided by inset locking
2420
2421         * BufferView.[Ch]:
2422         * BufferView_pimpl.[Ch]:
2423         * LyXAction.C:
2424         * bufferview_funcs.[Ch]:
2425         * factory.C:
2426         * funcrequest.[Ch]:
2427         * iterators.C:
2428         * lyx_cb.C:
2429         * lyxfind.C:
2430         * lyxfunc.C:
2431         * text.C:
2432         * text2.C:
2433         * text3.C:
2434         * undo.C: adjust
2435
2436 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2437
2438         * PosIterator.[Ch]: replace the stack with a vector, add inset
2439         accesor
2440         * iterators.[C]: adjust
2441
2442 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2443
2444         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2445         replaced
2446         * paragraph_funcs.C (readParToken): put the correct id in the
2447         error item, not the id of the top paragraph
2448
2449 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2450
2451         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2452         * bufferview_funcs.C (put_selection_at): use the above
2453
2454 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2455
2456         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2457
2458 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2459
2460         * output_linuxdoc.h:
2461         * output_plaintext.h:
2462         * output.h:
2463         * output_docbook.h: add #include statements
2464
2465 2003-11-05  José Matos  <jamatos@lyx.org>
2466
2467         * output_docbook.[Ch]:
2468         * output_latex.[Ch]:
2469         * output_linuxdoc.[Ch]:
2470         * output_plaintext.[Ch]: New files for output formats.
2471         * output.[Ch]: New file for helper functions.
2472
2473         * buffer.[Ch]:
2474         * paragraph_funcs.[Ch]: output functions moved to new files.
2475
2476         * outputparams.h: rename of latexrunparams.h
2477
2478         * LaTeX.[Ch]:
2479         * buffer.[Ch]:
2480         * bufferlist.[Ch]:
2481         * converter.[Ch]:
2482         * exporter.C:
2483         * paragraph.[Ch]:
2484         * paragraph_funcs.[Ch]:
2485         * paragraph_pimpl.[Ch]:
2486         * tabular.[Ch]: rename ascii to plaintext
2487         and LatexRunParams to OutputParams.
2488
2489 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2490
2491         * iterators.[Ch] (text): require bv argument
2492         * undo.C (recordUndo):
2493         * lyxfunc.C (dispatch):
2494         * bufferview_funcs.C (put_selection_at): adjust
2495
2496 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2497
2498         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2499
2500 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2501
2502         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2503         nestings
2504
2505 2003-11-04  André Pönitz  <poenitz@gmx.net>
2506
2507         * cursor.[Ch]: restructure
2508
2509         * BufferView.[Ch]:
2510         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2511
2512         * iterators.[Ch] (asCursor): remove
2513
2514         * lfuns.h: remove LFUN_INSET_EDIT
2515
2516         * lyxfunc.C:
2517         * tabular.C:
2518         * text.C:
2519         * text2.C:
2520         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2521
2522 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2523
2524         * lyxfind.[Ch]: complete overhaul
2525         * BufferView_pimpl.C:
2526         * lyxfunc.C: adjust
2527         * paragraph.[Ch] (insert): add
2528
2529 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2530
2531         * BufferView.[Ch]:
2532         * lyxtext.h:
2533         * text.C: remove dead spellcheck code
2534
2535 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2536
2537         * dispatchresult.h: add a val setter
2538
2539         * cursor.C (dispatch): use a tempvar for data_[i]
2540
2541 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2542
2543         * PosIterator.[Ch]: compile fix
2544
2545 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2546
2547         * text.C (cursorPar): deactivate the cursor cache
2548
2549 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2550
2551         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2552
2553 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2554
2555         * text3.C (dispatch): adjust for new DisptchResult semantics.
2556
2557         * lyxfunc.C (dispatch): handle update when return from
2558         Cursor::dispatch, adjust for new DispatchResult semantics.
2559
2560         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2561         DispatchResult(true) mean to not update. Add class functions for
2562         setting dispatched and update, as well as reading.
2563
2564         * cursor.C (dispatch): don't handle update here
2565
2566 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2567
2568         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2569         * trans_mgr.C: adjust
2570
2571         * paragraph_funcs.C (readParToken): exception safety
2572
2573         * lyxvc.h: store the vcs pointer in a scoped_ptr
2574         * lyxvc.C: adjust
2575
2576         * lyxsocket.C (serverCallback): exception safety
2577
2578         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2579
2580         * ispell.C (clone): make it return a auto_ptr
2581
2582         * factory.C (createInset): exception safety
2583         (readInset): exception safety
2584
2585         * bufferlist.C (newBuffer): exception safety
2586
2587         * Thesaurus.C (Thesaurus): use initialization for aik_
2588
2589         * MenuBackend.C (expandToc): exception safety.
2590
2591 2003-11-03  André Pönitz  <poenitz@gmx.net>
2592
2593         * buffer.C:
2594         * buffer.h:
2595         * bufferview_funcs.C: remove getInsetFromId()
2596
2597         * lyxcursor.[Ch]:
2598         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2599
2600         * lyxfunc.C:
2601         * text2.C:
2602         * text3.C: adjust
2603
2604 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2605
2606         * PosIterator.C (distance, advance): new
2607         * bufferview_funcs.[Ch] (put_selection_at): new
2608         * iterators.[Ch] (lockPath): new
2609
2610 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2611
2612         * iterators.[Ch] (asPosIterator): added
2613         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2614         * PosIterator.[Ch]: added
2615
2616 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2617
2618         * text3.C:
2619         * lyxfunc.C:
2620         * cursor.C (dispatch):
2621         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2622
2623         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2624         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2625         contructor, add a class function dispatched. Remove operator>=
2626
2627 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2628
2629         * debug.C: only use the default constructor for debugstream
2630         (lyxerr) here.
2631
2632         * main.C (main): include debug.h and setup the lyxerr streambuf
2633         here.
2634
2635 2003-10-31  José Matos  <jamatos@lyx.org>
2636
2637         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2638
2639         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2640         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2641         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2642         * paragraph_pimpl.C (simpleTeXSpecialC):
2643         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2644         add LatexRunParams argument.
2645
2646         * exporter.C (Export): change call accordingly.
2647
2648         * latexrunparams.h: add new member to take care of the other backends.
2649 2003-10-30  José Matos  <jamatos@lyx.org>
2650
2651         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2652         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2653         factorise code for paragraph output.
2654         * buffer.[Ch]:
2655         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2656         move functions.
2657
2658 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2659
2660         * text3.C (dispatch):
2661         * lyxfunc.C (dispatch):
2662         * cursor.C (dispatch):
2663         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2664
2665         * dispatchresult.h: make the dispatch_result_t ctor explicit
2666
2667 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2668
2669         * sgml.[Ch]:
2670         * buffer.C: small refactoring of docbook stuff
2671
2672 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2673
2674         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2675         meaning.
2676
2677 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2678
2679         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2680         operator dispatch_result_t, and operators for == != and >=
2681
2682         * cursor.C (dispatch): adjust for operator dispatch_result_t
2683         removal. comment out call to update
2684
2685         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2686
2687 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2688
2689         * text3.C:
2690         * text2.C:
2691         * text.C:
2692         * lyxtext.h:
2693         * lyxfunc.C:
2694         * cursor.C:
2695         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2696         (dispatch):
2697
2698         * dispatchresult.h: new file, DispatchResult broken out of
2699         insets/insetbase.h
2700
2701         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2702
2703 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2704
2705         * text.C (rowBreakPoint): put a hack inside #if 0
2706
2707 2003-10-28  André Pönitz  <poenitz@gmx.net>
2708
2709         * lyxtext.h:
2710         * metricsinfo.C:
2711         * paragraph_funcs.C:
2712         * rowpainter.C:
2713         * text.C:
2714         * text2.C: general cleanup (lots of small stuff)
2715
2716 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2717
2718         * text2.C (cursorEnd): simple fix to the "end key goes to one
2719         before the end on last row" bug
2720
2721 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2722
2723         * text.C (backspace): fix the "zombie characters"
2724
2725 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2726
2727         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2728
2729 2003-10-27  André Pönitz  <poenitz@gmx.net>
2730
2731         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2732
2733         * factory.C: handle new InsetPagebreak, InsetLine
2734
2735         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2736         and move handling into new InsetPagebreak, InsetLine
2737
2738         * BufferView_pimpl.C:
2739         * LyXAction.C:
2740         * ParagraphParameters.C:
2741         * ParameterStruct.h:
2742         * lyxfunc.C:
2743         * lyxtext.h:
2744         * paragraph.C:
2745         * paragraph.h:
2746         * paragraph_funcs.C:
2747         * paragraph_pimpl.C:
2748         * rowpainter.C:
2749         * text.C:
2750         * text2.C:
2751         * text3.C: adjust
2752
2753 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2754
2755         * text.C:
2756         * lyxrow_funcs.[Ch]:
2757         * Bidi.C:
2758         * paragraph.C:
2759         * lyxtext.h:
2760         * rowpainter.C:
2761         * text2.C:
2762         * text3.C: remove lastPos uses in favour of Row::endpos
2763
2764 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2765
2766         * undo.C (performUndoOrRedo): fix two crashes by setting a
2767         cursor by hand and reordering some calls. Use bv->lockInset instead
2768         of inset->edit because the latter loses cursor information
2769
2770 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2771
2772         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2773         by Martin
2774         (rowBreakPoint): fix width. change point to point + 1.
2775         Add a missing check.
2776
2777 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2778
2779         * MenuBackend.C:
2780         * lyxfunc.C: fix (at least partly) the problems
2781         with the Nav menu and headers inside branch insets
2782         reported by Kayvan
2783
2784 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2785
2786         * paragraph.C (getChar): add strong asserts
2787
2788         * lyxrow_funcs.C (lastPos): remove hideous hack
2789
2790         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2791         (fill): adjust to that (avoid an infinite loop)
2792
2793 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2794
2795         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2796
2797 2003-10-23  André Pönitz  <poenitz@gmx.net>
2798
2799         * RowList_fwd.h: change list<> to vector<> to gain speed
2800         after suggestion from Alfredo
2801
2802 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2803
2804         * lyxtext.h: move the bidi stuff from here...
2805         * text.C: and here
2806         * text2.C: and here
2807         * Bidi.[Ch]: ... to here
2808
2809 2003-10-23  André Pönitz  <poenitz@gmx.net>
2810
2811         * lyxtext.h:
2812         * text.C (isLastRow, isFirstRow): new functions
2813
2814         * paragraph.h: new width cache member
2815
2816         * rowpainter.C: replace RowList::iterator with Row & where possible
2817
2818         * lyxfunc.C: replace several view()->text with a single call
2819
2820         * toc.C: fix 'unused' warning
2821
2822 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2823
2824         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2825         when woring with stream::pos_type
2826         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2827
2828 2003-10-22  André Pönitz  <poenitz@gmx.net>
2829
2830         * lyxtext.h:
2831         * text.C: use Row & instead of RowList::iterator
2832
2833         * lyxrow.h: rename end() to endpos()
2834
2835         * rowpainter.C:
2836         * text.C:
2837         * text2.C: adjust
2838
2839 2003-10-22  Angus Leeming  <leeming@lyx.org>
2840
2841         * buffer.[Ch] (fully_loaded): new member function, returning true
2842         only when the file has been loaded fully.
2843         Used to prevent the premature generation of previews and by the
2844         citation inset to prevent computation of the natbib-style label.
2845
2846         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2847         templates are all set up.
2848
2849         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2850
2851 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2852
2853         * text.C: fixed an "oops" in the "is a bit silly"
2854         bug fix
2855
2856 2003-10-21  André Pönitz  <poenitz@gmx.net>
2857
2858         * FuncStatus.[Ch]: small stuff, whitespace
2859
2860         * lyxfont.[Ch]: operator<<() for debug reasons
2861
2862         * lyxfunc.C:
2863         * lyxrow_funcs.C:
2864         * lyxtext.h: whitespace, spelling
2865
2866         * paragraph.C: naming of variables
2867
2868         * text.C:
2869         * text2.C: small stuff
2870
2871
2872 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2873
2874         * text.C: (1) finish off the inset display() work;
2875         (2) fix the "is a bit silly" bug (accessing char
2876         past end of par).
2877
2878 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2879
2880         * text.C: re-introduce display() for insets, fixing the
2881         various bugs (stretch of line above, math inset
2882         positioning, ...)
2883
2884 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2885
2886         * text.C (rightMargin): remove spurious semicolon
2887
2888         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2889         1415)
2890
2891 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2892
2893         * text3.C: fix one crash due to wrong cursor def
2894
2895 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2896
2897         * vc-backend.C (scanMaster): make the regex static
2898
2899         * LaTeX.C (scanAuxFile): make the regexs static
2900
2901         * text3.C (doInsertInset, dispatch, dispatch):
2902         * text2.C (cursorUp, cursorDown):
2903         * text.C (selectNextWordToSpellcheck):
2904         * BufferView_pimpl.C (dispatch):
2905         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2906
2907 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2908
2909         * lyxsocket.C: include <cerrno>
2910
2911 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2912
2913         * lyxfunc.C (dispatch): remove textcache stuff
2914
2915         * bufferlist.C (release): remove textcache stuff
2916         (closeAll): ditto
2917
2918         * TextCache.C: delete file
2919         * TextCache.h: delete file
2920
2921         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2922
2923         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2924         delete of the bv_->text.
2925         (resizeCurrentBuffer): remove texcache stuff
2926         (workAreaResize): ditto
2927
2928 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2929
2930         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2931         action.
2932
2933 2003-10-16  André Pönitz  <poenitz@gmx.net>
2934
2935         * lyxrow.[Ch]:
2936         * paragraph.h:
2937         * rowpainter.C:
2938         * text.C:
2939         * text2.C:
2940         * text3.C: speed up by storing y positions per paragraph plus per-row
2941         offset instead of having a 'full' y position in the row.
2942
2943 2003-10-15  André Pönitz  <poenitz@gmx.net>
2944
2945         * iterators.[Ch]:
2946         * iterators.[Ch]:
2947         * undo.[Ch]: make undo aware of inner insets
2948
2949 2003-10-14  Angus Leeming  <leeming@lyx.org>
2950
2951         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2952         static member functions LyX::ref() and LyX::cref.
2953         (lastfiles): new accessor functions for the new lastfiles_ member var.
2954         (addLyXView, views_): add a new LyXView to the list of views_.
2955         (updateInset): loop over all LyXViews to call their own updateInset
2956         member function, returning a pointer to the Buffer owning the inset.
2957
2958         * BufferView_pimpl.C (loadLyXFile):
2959         * MenuBackend.C (expandLastfiles):
2960         * bufferlist.C (MenuWrite, QuitLyX):
2961         lastfiles is no longer a global variable.
2962         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2963
2964         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2965         static function. Access through LyX::cref().emergencyCleanup().
2966
2967 2003-10-14  André Pönitz  <poenitz@gmx.net>
2968
2969         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2970
2971         * undo.[Ch]: restoring part of 'undo in insets'
2972
2973         * Makefile.am:
2974         * undo_funcs.[Ch]: merge with undo.[Ch]
2975
2976         * tabular.C: small cleansing stuff
2977
2978 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2979
2980         * paragraph_funcs.C (readParToken): report unknown insets as error
2981         boxes. Use the outer paragraph as location (also for unknown
2982         tokens).
2983
2984         * factory.C (readInset): do not abort on reading an unknown inset.
2985         Eat it and return 0.
2986
2987 2003-10-13  Angus Leeming  <leeming@lyx.org>
2988
2989         * lyx_main.C (LyX): remove call to setDisplayTranslator().
2990
2991         * lyxrc.C: displayTranslator is now a function,
2992         declared in GraphicsTypes.h.
2993
2994 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2995
2996         * format.C: new placeholder $$a to pass the socket address.
2997
2998         * bufferlist.[Ch]: new function getBufferFromTmp.
2999
3000         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3001           files in the temporary dir.
3002
3003 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3004
3005         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3006
3007         * Makefile.am: add lyxsocket.[Ch].
3008
3009         * lyx_main.C (error_handler): handle SIGPIPE.
3010
3011 2003-10-13  André Pönitz  <poenitz@gmx.net>
3012
3013         * BufferView_pimpl.C:
3014         * lyxtext.h:
3015         * text.C:
3016         * text2.C:
3017         * text3.C:
3018         * undo_funcs.[Ch]: use paroffset_type instead of
3019           ParagraphList::iterators to prevent multiple conversion
3020           (and get a more robust interface)
3021
3022 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3023
3024         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3025         * lyxtext.h: ditto
3026         * text3.C (dispatch): ditto
3027
3028 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3029
3030         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3031         move the onlyfile, use onlyfile instead of foundfile in a couple
3032         of places.
3033
3034         * DepTable.C (update): flush the error stream a bit more
3035
3036 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3037
3038         * lyxserver.C (callback): adjust
3039
3040         * lyxfunc.C (getStatus): add a missing brace in commented code
3041         (ensureBufferClean): reindent
3042         (dispatch): delete version taking a string
3043
3044 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3045
3046         * LaTeX.C (deplog): move found file handlig from here...
3047         (handleFoundFile): .. to new function here.
3048         (deplog): make sure to discover several files mentioned on the
3049         same log line.
3050
3051 2003-10-10  André Pönitz  <poenitz@gmx.net>
3052
3053         * lyxfunc.C:
3054         * lyxtext.h:
3055         * tabular.C:
3056         * text.C:
3057         * text2.C:
3058         * text3.C: fix some of the tabular crashes
3059
3060 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3061
3062         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3063
3064         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3065
3066 2003-10-09  André Pönitz  <poenitz@gmx.net>
3067
3068         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3069
3070         * BufferView.C:
3071         * BufferView_pimpl.C:
3072         * bufferview_funcs.C:
3073         * lyx_cb.C:
3074         * lyxcursor.C:
3075         * lyxfind.C:
3076         * lyxfunc.C:
3077         * lyxtext.h:
3078         * text.C:
3079         * text2.C:
3080         * text3.C:
3081         * text_funcs.[Ch]:
3082         * textcursor.[Ch]:
3083         * undo_funcs.C: adjust
3084
3085 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3086
3087         * text2.C (incrementItemDepth): new function, use a backtracking
3088         algorithm to discover the correct item depth.
3089         (resetEnumCounterIfNeeded): new function, use a backtracking
3090         algorithm to discover if counter reset is needed.
3091         (setCounter): use them. Simplify a bit. Add different labels for
3092         different item depths for itemize.
3093
3094         * paragraph.C (Paragraph): remove initialization of enumdepth
3095         (operator=): ditto
3096
3097         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3098         enumerate and itemize. Change the type of itemdepth to signed char.
3099
3100 2003-10-08  André Pönitz  <poenitz@gmx.net>
3101
3102         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3103           thing assignable.
3104         * text.C:
3105         * text2.C: adjust
3106
3107         * tabular.[Ch]: fix crash after 'row-insert'
3108
3109 2003-10-08  Angus Leeming  <leeming@lyx.org>
3110
3111         Fix doxygen warnings.
3112
3113         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3114         Remove CutAndPaste:: prefix from header file declaration.
3115
3116         * LColor.h (fill): remove LColor:: prefix from declaration.
3117
3118         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3119         use lyx::depth_type rather than Paragraph::depth_type so that
3120         header file and .C file match.
3121
3122         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3123
3124         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3125         * aspell.C: \file aspell_local.C -> \file aspell.C
3126         * gettext.C: \file gettext.C -> \file src/gettext.C
3127         * gettext.h: \file gettext.h -> \file src/gettext.h
3128         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3129         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3130         * text.C: \file text.C -> \file src/text.C
3131
3132         * toc.C: move comment so that doxygen is not confused.
3133
3134 2003-10-07  Angus Leeming  <leeming@lyx.org>
3135
3136         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3137
3138 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3139
3140         * aspell.C:
3141         * aspell_local.h: add forgotten std::string's.
3142
3143 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3144
3145         * LaTeXFeatures.C:
3146         * LyXAction.C:
3147         * factory.C:
3148         * lfuns.h:
3149         * lyxfunc.C:
3150         * text3.C: The Box patch. Fancybox support, minipage, parbox
3151
3152 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3153
3154         * CutAndPaste.h:
3155         * DepTable.h:
3156         * FloatList.h:
3157         * LaTeXFeatures.h:
3158         * ParagraphParameters.h:
3159         * TextCache.h:
3160         * Thesaurus.h:
3161         * bufferlist.h:
3162         * exporter.h:
3163         * importer.h:
3164         * lastfiles.h:
3165         * lyxfind.h:
3166         * lyxfont.h:
3167         * lyxlex.h:
3168         * lyxtextclasslist.h:
3169         * messages.h:
3170         * paragraph.h:
3171         * paragraph_pimpl.C:
3172         * textcursor.h: add <string> and other small fixes to make Lars'
3173         std::string patch compile with STLport.
3174
3175 2003-10-06  Angus Leeming  <leeming@lyx.org>
3176
3177         * LColor.h: Add missing #include <string>.
3178
3179 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3180
3181         * All most all file in all subdirs: Make <string> be the prefered
3182         way of getting to std::string, add using declarations.
3183
3184 2003-10-06  André Pönitz  <poenitz@gmx.net>
3185
3186         * metricsinfo.C: initialize LyXFont before changing attribute.
3187         (fixes the 'math in \emph is upright' bug)
3188
3189 2003-10-06  André Pönitz  <poenitz@gmx.net>
3190
3191         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3192
3193 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3194
3195         * graph.C:
3196         * paragraph_pimpl.C: Small fixes to build using STLport
3197
3198 2003-10-02  André Pönitz  <poenitz@gmx.net>
3199
3200         * lyxfunc.C:
3201         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3202
3203 2003-10-01  André Pönitz  <poenitz@gmx.net>
3204
3205         * factory.C: assert early
3206
3207 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3208
3209         * lyx_main.C: remove the global debug object
3210
3211         * debug.h: adjust for new debugstream
3212
3213         * debug.C: adjust for new debugstream and keep the global debug
3214         object here.
3215
3216 2003-09-22  Angus Leeming  <leeming@lyx.org>
3217
3218         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3219         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3220         an incomplete class LyXFont.
3221
3222 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3223
3224         * factory.C: bug fix in branches
3225
3226 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3227
3228         * lyxfunc.C (processKeySym): adjust
3229         (dispatch): adjust
3230         (dispatch): change arg name from ev to func, adjust
3231         (sendDispatchMessage): ditto
3232
3233         * lyx_main.C (defaultKeyBindings): adjust keybindings
3234         (deadKeyBindings): ditto
3235
3236         * kbsequence.C (addkey): return a FuncRequest
3237
3238         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3239
3240         * kbmap.C (bind): take a FuncRequest as arg, adjust
3241         (read): adjust
3242         (lookup): adjust
3243         (defkey): change to take a FuncRequest as arg, adjust
3244         (findbinding): take a FuncRequest as arg, adjust.
3245
3246         * funcrequest.h (operator=): added
3247
3248         * funcrequest.C (FuncRequest): default kb_action changed from
3249         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3250
3251         * buffer.C (dispatch): simplify
3252         (dispatch): adjust to take a FuncRequest as arg, adjust
3253
3254         * boost.C (assertion_failed): change assertion message slightly
3255
3256         * ToolbarBackend.C (read): simplify
3257
3258         * MenuBackend.C (binding): adjust call to findbinding, add a
3259         message if no binding is found.
3260         (read): simplify
3261         (expandToc): correct by adding a empty FuncRequest
3262
3263         * LyXAction.C: include <boost/assert.hpp>
3264         (isPseudoAction): delete function
3265         (LookupFunc): change name to...
3266         (lookupFunc): this. change return type to FuncRequest.
3267         (getActionName): take kb_action as arg, simplify
3268         (funcHasFlag): add an assert, simplify.
3269
3270 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3271
3272         * toc.C (action): return a FuncRequest, simplify
3273
3274         * lyxfunc.C (processKeySym): adjust
3275         (getStatus): delete version that takes an int.
3276         (getStatus): adjust
3277         (dispatch): delete version that takes action as int
3278         (dispatch): adjust
3279         (sendDispatchMessage): simplify and adjust
3280
3281         * funcrequest.C (getArg): take unsigned int as arg
3282
3283         * ToolbarBackend.C (read): adjust
3284         (add): delete version that takes func as a string.
3285         (getIton): take a FuncRequest as arg
3286
3287         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3288         action.
3289
3290         * MenuBackend.C (MenuItem): add a new construct that only takes a
3291         Kind, simplify the constructor use for submenus.
3292         (add): adjust
3293         (expandLastfiles): adjust
3294         (expandDocuments): adjust
3295         (expandFormats): adjust
3296         (expandFloatListInsert): adjust
3297         (expandFloatInsert): adjust
3298         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3299
3300         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3301         Remove class variables lyx_pseudo_map and lyx_arg_map
3302
3303         * LyXAction.C (searchActionArg): delete function
3304         (getPseudoAction): delete function
3305         (retrieveActionArg): delete function
3306         (LookupFunc): make it return kb_action, simplify.
3307         (getActionName): simplify
3308
3309         * factory.C (createInset): fix new bug
3310
3311 2003-09-19  Angus Leeming  <leeming@lyx.org>
3312
3313         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3314         masterFilename_ parameter in the include inset.
3315
3316         * factory.C (createInset): changes due to the changes to InsetInclude.
3317
3318 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3319
3320         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3321
3322 2003-09-18  Angus Leeming  <leeming@lyx.org>
3323
3324         * buffer.C:
3325         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3326         Inset::fillWithBibKeys.
3327         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3328
3329 2003-09-18  Angus Leeming  <leeming@lyx.org>
3330
3331         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3332         variables.
3333         (ctor): pass and store a 'Buffer const &'
3334         (buffer): new member function.
3335
3336         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3337         '*this' to the LaTeXFeatures ctor.
3338
3339 2003-09-18  Angus Leeming  <leeming@lyx.org>
3340
3341         * LColor.h:
3342         * lyxfont.C:
3343         * lyxfont.h:
3344         * lyxtext.h:
3345         * text.C: rename EnumLColor as LColor_color.
3346
3347 2003-09-18  Angus Leeming  <leeming@lyx.org>
3348
3349         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3350         remove #include "insets/insetbase.h" from cursor.h.
3351
3352 2003-09-18  Angus Leeming  <leeming@lyx.org>
3353
3354         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3355         InsetOld_code to remove #include "inset.h".
3356
3357         * iterators.C: add #include "insets/inset.h"
3358
3359 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3360
3361         * BufferView.C: remove more locking stuff that apparently doesn't
3362         do anything sensible.
3363
3364 2003-09-16  André Pönitz  <poenitz@gmx.net>
3365
3366         * paragraph.[Ch]:
3367         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3368           performance boost.
3369
3370 2003-09-16  Angus Leeming  <leeming@lyx.org>
3371
3372         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3373
3374         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3375         arg/return type.
3376
3377         * paragraph.h: remove #include "lyxfont.h". Forward declare
3378         LyXFont_size.
3379
3380 2003-09-16  Angus Leeming  <leeming@lyx.org>
3381
3382         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3383         of support/textutils.h.
3384         (isWord): move the contents of support/textutils.h's IsWordChar here.
3385
3386         * buffer.C:
3387         * lyxfind.C:
3388         * rowpainter.C:
3389         * text.C:
3390         * text2.C: add #include "paragraph.h".
3391
3392         * rowpainter.C:
3393         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3394
3395 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3396
3397         * main.C:
3398         * lyx_main.C:
3399         * lyx_cb.C:
3400         * buffer.C:
3401         * LaTeX.C: use namespace alias for lyx::support::os
3402
3403 2003-09-16  Angus Leeming  <leeming@lyx.org>
3404
3405         * bufferparams.C:
3406         * bufferview_funcs.C:
3407         * factory.C:
3408         * lyxfunc.C:
3409         * paragraph_pimpl.C:
3410         * rowpainter.C:
3411         * text.C: add #include "LColor.h".
3412
3413 2003-09-16  Angus Leeming  <leeming@lyx.org>
3414
3415         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3416         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3417         return LyXFont &.
3418         Store the FontBits::color variable as an int rather than as an
3419         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3420         file.
3421
3422         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3423         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3424         string calls together.
3425
3426         * lyxrc.C: add #include "LColor.h".
3427
3428 2003-09-15  Angus Leeming  <leeming@lyx.org>
3429
3430         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3431         a cow_ptr.
3432
3433 2003-09-15  Angus Leeming  <leeming@lyx.org>
3434
3435         * LColor.h: add an EnumLColor wrapper for LColor::color.
3436
3437         * lyxfont.[Ch] (color, setColor, realColor):
3438         * lyxtext.h, text.C (backgroundColor):
3439         pass EnumLColor args to/from the functions, rather than LColor::color
3440         ones.
3441
3442         * lyxfont.h:
3443         * lyxtext.h: forward declare EnumLColor.
3444
3445         * lyx_main.C: add #include "LColor.h".
3446
3447 2003-09-15  Angus Leeming  <leeming@lyx.org>
3448
3449         * .cvsignore: add lyx-gtk.
3450
3451 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3452
3453         * Chktex.C
3454         * LaTeX.C
3455         * LaTeXFeatures.C
3456         * ParagraphParameters.C
3457         * Spacing.C
3458         * buffer.C
3459         * bufferparams.C
3460         * bufferview_funcs.C
3461         * chset.C
3462         * counters.C
3463         * funcrequest.C
3464         * lyxfont.C
3465         * lyxgluelength.C
3466         * lyxlength.C
3467         * paragraph.C
3468         * paragraph_funcs.C
3469         * text3.C
3470         * vc-backend.C: remove usage of STRCONV
3471
3472 2003-09-15  Angus Leeming  <leeming@lyx.org>
3473
3474         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3475         explicitly define the color passed to the painter.
3476
3477 2003-09-15  Angus Leeming  <leeming@lyx.org>
3478
3479         * bufferparams.C (BufferParams): reorder member initializers to avoid
3480         compiler warning.
3481
3482 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3483
3484         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3485         * text.C (updateRowPositions): remove an unusual nop
3486
3487 2003-09-12  André Pönitz  <poenitz@gmx.net>
3488
3489         * BufferView_pimpl.C:
3490         * Bullet.C:
3491         * layout.h:
3492         * lyxfunc.C:
3493         * lyxlayout.[Ch]:
3494         * lyxtextclass.C:
3495         * rowpainter.C:
3496         * text.C:
3497         * text2.C:
3498         * Counters.[Ch]: finish the 'automatic counters' job
3499
3500 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3501
3502         * aspell.C: include <boost/assert.cpp> (compile fix)
3503
3504 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3505
3506         * boost.C (assertion_failed): use lyx::support::abort instead of
3507         assert.
3508
3509 2003-09-10  Angus Leeming  <leeming@lyx.org>
3510
3511         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3512         with their _fwd progeny.
3513
3514 2003-09-09  Angus Leeming  <leeming@lyx.org>
3515
3516         134 files throughtout the source tree: replace 'using namespace abc;'
3517         directives with the appropriate 'using abc::xyz;' declarations.
3518
3519 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3520
3521         * boost.C (emergencyCleanup): moved here from LAssert.c
3522         (assertion_failed): new function, called by BOOST_ASSERT
3523
3524         * several files: change Assert to BOOST_ASSERT
3525
3526 2003-09-09  Angus Leeming  <leeming@lyx.org>
3527
3528         * buffer.[Ch]: Add an Impl class and move Buffer's member
3529         variables into it. As a result move several header files out of
3530         buffer.h.
3531
3532         Add header files to lots of .C files all over the tree as a result.
3533
3534 2003-09-09  Angus Leeming  <leeming@lyx.org>
3535
3536         * buffer.[Ch]: make Buffer's member variables private. Add
3537         accessor functions.
3538
3539         Lots of changes all over the tree as a result.
3540
3541 2003-09-08  Angus Leeming  <leeming@lyx.org>
3542
3543         * graph.C: #include <config.h>.
3544
3545 2003-09-08  Angus Leeming  <leeming@lyx.org>
3546
3547         * BranchList.C:
3548         * BufferView.C:
3549         * BufferView_pimpl.C:
3550         * CutAndPaste.C:
3551         * DepTable.C:
3552         * LaTeX.C:
3553         * LaTeXFeatures.C:
3554         * LyXAction.C:
3555         * MenuBackend.C:
3556         * TextCache.C:
3557         * aspell.C:
3558         * buffer.C:
3559         * bufferlist.C:
3560         * changes.C:
3561         * chset.C:
3562         * converter.C:
3563         * counters.C:
3564         * debug.C:
3565         * graph.C:
3566         * ispell.C:
3567         * lyx_cb.C:
3568         * lyxfind.C:
3569         * lyxfunc.C:
3570         * lyxlex_pimpl.C:
3571         * lyxrc.C:
3572         * lyxrow.C:
3573         * paragraph.C:
3574         * rowpainter.C:
3575         * texrow.C:
3576         * text.C:
3577         * text2.C:
3578         * toc.C: remove redundant using directives.
3579
3580 2003-09-07  Angus Leeming  <leeming@lyx.org>
3581
3582         * LaTeXFeatures.h: remove #include "support/types.h".
3583         * ToolbarBackend.h: remove #include <algorithm>.
3584         * changes.h: remove #include <ctime>.
3585         * debug.h: remove #include <iosfwd>.
3586         * graph.h: remove #include "support/std_string.h".
3587         * lyx_main.h: remove #include <csignal>.
3588         * lyxlex_pimpl.h: remove #include <fstream>.
3589         * sgml.h: remove #include <algorithm>, <utility>.
3590         * toc.h: remove #include "support/std_ostream.h".
3591         Add #include <iosfwd>.
3592
3593 2003-09-07  Angus Leeming  <leeming@lyx.org>
3594
3595         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3596
3597         * converter.h: forward declare LatexRunParams.
3598         * encoding.h: remove #include "lyxrc.h".
3599         * lyxtext.h: remove #include "LColor.h".
3600         * lyxtextclass.h: remove #include "support/types.h".
3601         * trans.h: remove #include "tex-accent.h".
3602         * trans_mgr.h: remove #include "tex-accent.h".
3603         * insets/inset.h: remove #include "support/types.h", <vector>.
3604         * insets/insetcollapsable.h: remove #include "LColor.h".
3605         * insets/insetinclude.h: remove #include "dimension.h".
3606         * insets/insetlatexaccent.h: remove #include "dimension.h".
3607         * insets/insetoptarg.h:: remove #include "insettext.h".
3608         * insets/insettext.h: remove #include "dimension.h",
3609         <boost/shared_ptr.hpp>
3610
3611         * insets/renderers.h: add #include "dimension.h".
3612         * insets/updatableinset.h: add #include "support/types.h".
3613
3614         * many .C files: Associated changes.
3615
3616 2003-09-06  Angus Leeming  <leeming@lyx.org>
3617
3618         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3619         one, inside testInvariant.
3620
3621         * PrinterParams.C: new file.
3622         * PrinterParams.[Ch]: move the function bodies out of line.
3623
3624 2003-09-06  Angus Leeming  <leeming@lyx.org>
3625
3626         * ParagraphParameters.h: forward declare ParameterStruct rather than
3627         including its header file.
3628         (depth): moved out-of-line.
3629
3630 2003-09-06  Angus Leeming  <leeming@lyx.org>
3631
3632         * BufferView_pimpl.h:
3633         * kbmap.h:
3634         * kbsequence.h:
3635         * lyxfunc.h: forward declare LyXKeySym rather than
3636         #include "frontends/LyXKeySym.h".
3637
3638         * BufferView_pimpl.C:
3639         * kbmap.C:
3640         * kbsequence.C:
3641         * lyxfunc.C: associated changes.
3642
3643 2003-09-06  Angus Leeming  <leeming@lyx.org>
3644
3645         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3646         As a result, can remove the #include "insets/inset.h" from BufferView.h
3647
3648 2003-09-06  Angus Leeming  <leeming@lyx.org>
3649
3650         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3651         As a result, can remove the #include "insets/inset.h" from BufferView.h
3652
3653 2003-09-06  Angus Leeming  <leeming@lyx.org>
3654
3655         * buffer_funcs.C:
3656         * buffer.h:
3657         * bufferlist.C:
3658         * BufferView.C:
3659         * bufferview_funcs.C:
3660         * BufferView_pimpl.C:
3661         * CutAndPaste.C:
3662         * lyx_cb.C:
3663         * lyxfunc.C:
3664         * paragraph.h:
3665         * ParagraphParameters.C:
3666         * tabular.C:
3667         * text3.C:
3668         * toc.C:
3669         * undo_funcs.C:
3670         * frontends/controllers/ControlDocument.C:
3671         * insets/insetcaption.C: rearrange the #includes into some sort of
3672         coherent order.
3673
3674         * buffer.h: remove #includes ErrorList.h, undo.h
3675
3676 2003-09-06  Angus Leeming  <leeming@lyx.org>
3677
3678         * support/types.h: add a 'depth_type' typedef, used to store the
3679         nesting depth of a paragraph.
3680
3681         * paragraph.h:
3682         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3683         defining explicitly.
3684
3685         * buffer.h:
3686         * paragraph_funcs.h:
3687         * ParagraphParameters.h:
3688         * sgml.h: use lyx::depth_type rather than Paragraph or
3689         ParameterStruct's depth_type.
3690
3691         * buffer.h
3692         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3693
3694         * BufferView.C:
3695         * BufferView_pimpl.C:
3696         * CutAndPaste.C:
3697         * ParagraphParameters.C:
3698         * buffer_funcs.C:
3699         * bufferlist.C:
3700         * bufferview_funcs.C:
3701         * lyx_cb.C:
3702         * lyxfunc.C:
3703         * tabular.C:
3704         * text3.C:
3705         * toc.C:
3706         * undo_funcs.C:
3707         * frontends/LyXView.C:
3708         * frontends/controllers/ControlDocument.C:
3709         * frontends/controllers/ControlErrorList.C:
3710         * insets/insetbibitem.C:
3711         * insets/insetbranch.C:
3712         * insets/insetcaption.C:
3713         * insets/insetcollapsable.C:
3714         * insets/insetenv.C:
3715         * insets/insetert.C:
3716         * insets/insetfloat.C:
3717         * insets/insetfoot.C:
3718         * insets/insetfootlike.C:
3719         * insets/insetnewline.C:
3720         * insets/insetquotes.C:
3721         * insets/insettabular.C:
3722         * insets/insettext.C:
3723         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3724
3725         * frontends/controllers/ControlChanges.C: #include "changes.h".
3726
3727 2003-09-06  Angus Leeming  <leeming@lyx.org>
3728
3729         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3730         than #including paragraph.h.
3731
3732         * ParagraphList.h:
3733         * RowList.h: deleted. Superfluous.
3734
3735         * CutAndPaste.h:
3736         * iterators.h:
3737         * lyxcursor.h:
3738         * lyxtext.h:
3739         * text_funcs.h:
3740         * undo.h:
3741         * undo_funcs.h:
3742         * insets/inset.h:
3743         * insets/insettext.h: use ParagraphList_fwd.h rather than
3744         ParagraphList.h.
3745
3746         * paragraph.h: don't forward declare ParagraphList.
3747
3748         * buffer.h:
3749         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3750         rather than ParagraphList.h. paragraph.h is still needed for the
3751         Paragraph::depth_type parameters.
3752
3753         * textcursor.h: enable it to compile stand-alone in light of the
3754         above changes.
3755
3756         * bufferview_funcs.C:
3757         * iterators.C:
3758         * lyxfunc.C:
3759         * lyxrow_funcs.C:
3760         * paragraph.C:
3761         * rowpainter.C:
3762         * text.C:
3763         * text2.C:
3764         * text3.C:
3765         * text_funcs.C:
3766         * textcursor.C:
3767         * undo.C:
3768         * frontends/controllers/ControlParagraph.C:
3769         * frontends/controllers/ControlTabular.C:
3770         * insets/insetmarginal.C:
3771         * insets/insetminipage.C:
3772         * insets/insetnote.C:
3773         * insets/insetoptarg.C: add header files needed to compile again.
3774
3775 2003-09-06  Angus Leeming  <leeming@lyx.org>
3776
3777         * RowList_fwd.h: new file, forward-declaring Row rather than
3778         #including lyxrow.h.
3779
3780         * lyxrow_funcs.h:
3781         * lyxtext.h:
3782         * paragraph.h:
3783         * insets/insettext.h: use it instead of RowList.h
3784
3785         * bufferview_funcs.C:
3786         * lyxfunc.C:
3787         * lyxrow_funcs.C:
3788         * paragraph.C:
3789         * rowpainter.C:
3790         * text.C:
3791         * text2.C:
3792         * text3.C: #include "RowList.h".
3793
3794 2003-09-05  Angus Leeming  <leeming@lyx.org>
3795
3796         * factory.C (createInset):
3797         * vspace.C (c-tor): replace sscanf call with an istringstream.
3798         * ispell.C: re-add missing HP/UX headers.
3799         * lyxserver.C: re-add missing  os2 headers.
3800
3801 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3802
3803         * BranchList.C:
3804         * graph.C:
3805         * ispell.C:
3806         * lastfiles.C:
3807         * lyx_cb.C:
3808         * lyxserver.C:
3809         * texrow.C:
3810         * text3.C: re-add missing system headers, needed for 2.95.2.
3811
3812 2003-09-05  Angus Leeming  <leeming@lyx.org>
3813
3814         Changes most place everywhere due to the removal of using directives
3815         from support/std_sstream.h.
3816
3817 2003-09-05  Angus Leeming  <leeming@lyx.org>
3818
3819         Replace LString.h with support/std_string.h,
3820         Lsstream.h with support/std_sstream.h,
3821         support/LIstream.h with support/std_istream.h,
3822         support/LOstream.h with support/std_ostream.h.
3823
3824         Changes resulting throughout the tree.
3825
3826 2003-09-05  Angus Leeming  <leeming@lyx.org>
3827
3828         * sgml.h: ensure that the header file can be compiled stand-alone.
3829         * *.C: strip out redundant #includes. (320 in total.)
3830
3831 2003-09-04  Angus Leeming  <leeming@lyx.org>
3832
3833         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3834         here (from getPackages).
3835
3836         * debug.[Ch]: add a new EXTERNAL tag.
3837
3838 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3839
3840         * text2.C (cursorEnd): simplify
3841         (setCursor): adjust
3842         (getColumnNearX): adjust
3843
3844         * text.C (computeBidiTables): adjust
3845         (fill): adjust
3846
3847         * rowpainter.C (paintChars): adjust
3848         (paintSelection): adjust
3849         (paintChangeBar): adjust
3850         (paintText): adjust
3851
3852         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3853         lastPos instead.
3854         (numberOfSeparators): adjust
3855
3856 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3857
3858         * LyXAction.C:
3859         * box.[Ch]:
3860         * lfuns.h:
3861         * lyxfunc.C:
3862         * text3.C: Restricts the mouse click functionality
3863         of insets like bibtex, include, toc and floatlist to the visible
3864         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3865         up the dialogs. Cursor has to be in front of the inset (i.e.
3866         start of row) for this to function.
3867
3868 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3869
3870         * bufferview_funcs.C (currentState): output row information
3871
3872 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3873
3874         * bufferview_funcs.C (currentState): output paragraph position
3875
3876 2003-09-04  Angus Leeming  <leeming@lyx.org>
3877
3878         * FloatList.h: move out #include "Floating.h".
3879         * LaTeX.h: move out #include "DepTable.h".
3880         * LyXAction.h: move out #include "funcrequest.h".
3881         * buffer.h: move out #include "author.h", "iterators.h".
3882         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3883         * lyx_main.h: move out #include "errorlist.h".
3884         * lyxfunc.h: move out #include "FuncStatus.h".
3885         * lyxtext: move out #include "lyxcursor.h".
3886         * paragraph_pimpl.h: move out #include "counters.h".
3887
3888 2003-09-03  Angus Leeming  <leeming@lyx.org>
3889
3890         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3891         preamble_snippets list, enabling us to add snippets to the preamble
3892         only if the snippet was not there already.
3893
3894 2003-09-04  Angus Leeming  <leeming@lyx.org>
3895
3896         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3897
3898 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3899
3900         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3901         update
3902
3903 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3904
3905         * BranchList.C: point fix, earlier forgotten
3906
3907 2003-09-02  Angus Leeming  <leeming@lyx.org>
3908
3909         * box.C (contains): renamed from 'contained' after a fantastic
3910         amount of hot air.
3911
3912 2003-09-02  John Levon  <levon@movementarian.org>
3913
3914         * BufferView.C:
3915         * lyxcursor.h:
3916         * lyxcursor.C:
3917         * lyxfunc.C:
3918         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3919
3920 2003-09-02  John Levon  <levon@movementarian.org>
3921
3922         * text2.C: simplification of cursorEnd(), including partial
3923         fix for bug 1376
3924
3925 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3926
3927         * buffer.C (readFile): add a space
3928
3929 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3930
3931         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3932
3933 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3934
3935         * buffer.C (readFile): new function, take a filename and a
3936         ParagraphList::iterator
3937         (readFile): adjust
3938         (readFile): adjust, make it private. don't use setStream, make
3939         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3940         always contain the filename.
3941
3942         * BufferView.C (insertLyXFile): simplify and make it work for
3943         gzipped files.
3944
3945 2003-08-30  John Levon  <levon@movementarian.org>
3946
3947         * Makefile.am: fix dist (from Kayvan)
3948
3949 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3950
3951         * most files: change to use const Buffer refs
3952
3953 2003-08-27  André Pönitz  <poenitz@gmx.net>
3954
3955         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3956         on top of ownerPar().
3957
3958 2003-08-27  John Levon  <levon@movementarian.org>
3959
3960         * funcrequest.C: properly initialise POD members
3961
3962 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3963
3964         * lyxtext.h (top_y): move top_y from here
3965         * text.C:
3966         * text2.C:
3967         * text3.C:
3968         * BufferView.[Ch]:
3969         * BufferView_pimpl.[Ch]: to here
3970         * frontends/screen.C:
3971         * insets/insettabular.C:
3972         * insets/insettext.C: adjust
3973         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3974
3975 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3976
3977         * BufferView.[Ch]:
3978         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3979
3980 2003-08-26  André Pönitz  <poenitz@gmx.net>
3981
3982         * paragraph_func.[Ch] (outerPar): new function
3983
3984         * paragraph.C:
3985         * paragraph_funcs.C:
3986         * paragraph_funcs.h:
3987         * paragraph_pimpl.C:
3988         * text2.C: remove Inset::par_owner
3989
3990 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
3991
3992         * lyxrow_funcs.C:
3993         * lyxtext.h:
3994         * text.C:
3995         * text2.C: eliminates the needFullRow/display() stuff
3996         altogether, putting the logic in metrics/draw in the insets.
3997
3998 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
3999
4000         * text2.C (redoParagraphInternal, redoParagraphs):
4001         * text.C (redoParagraph): add a call to updateRowPositions at the
4002         end of each 'metrics-like' call. Remove all others.
4003         (getRow): remove the 'y-computing' version.
4004         (getRowNearY): do not compute nor return the real y. Solve the
4005         'y < 0' problem and simplify.
4006
4007 2003-08-22  Angus Leeming  <leeming@lyx.org>
4008
4009         * *.[Ch]: clean-up of licence and author blurbs.
4010         Also move config.h out of a few .h files and into a few .C files.
4011
4012 2003-08-22  André Pönitz  <poenitz@gmx.net>
4013
4014         * lyxrow.[Ch]: add x_ and *fill_ members
4015
4016         * lyxtext.h:
4017         * text.C:
4018         * rowpainter.C:
4019         * text2.C: adjust/remove prepareToPrint() calls
4020
4021 2003-08-22  André Pönitz  <poenitz@gmx.net>
4022
4023         * lyxrow.[Ch]: add  end_ member
4024
4025         * lyxrow_funcs.C: use LyXRow::end_
4026
4027         * lyxtext.h (singleWidth): add LyXFont parameter
4028
4029         * rowpainter.C:
4030         * text2.C: adjust LyXText::singleWidth() calls
4031
4032         * text.C (redoParagraph): simplify row breaking logic
4033
4034
4035 2003-08-19  André Pönitz  <poenitz@gmx.net>
4036
4037         * funcrequest.C: initialize button_ member
4038
4039         * text3.C:
4040         * rowpainter.[Ch]: interface consolidation
4041
4042 2003-08-18  André Pönitz  <poenitz@gmx.net>
4043
4044         * BufferView.C:
4045         * BufferView_pimpl.C:
4046         * lyxfind.C:
4047         * paragraph_funcs.C:
4048         * rowpainter.C:
4049         * text3.C: remove LyXScreen::draw() and fitCursor calls
4050
4051         * BranchList.h: remove spurious semicolons
4052
4053         * MenuBackend.C: fix branchlist related crash
4054
4055 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4056
4057         * BranchList.[Ch]:
4058         * InsetList.[Ch]:
4059         * LColor.[Ch]:
4060         * LyXAction.C:
4061         * Makefile.am:
4062         * MenuBackend.[Ch]:
4063         * bufferparams.[Ch]:
4064         * factory.C:
4065         * lfuns.h:
4066         * lyxfunc.C:
4067         * text3.C: implements the 'branch inset'
4068         idea. This allows the output of various versions of a document
4069         from a single source version, selectively outputing or suppressing
4070         output of parts of the text.
4071         This implementation contains a 'branch list editor' in a separate
4072         tab of the document settings dialog. Branches are user definable
4073         and have a "display colour" to distinguish them on-screen.
4074
4075         ColorHandler was somewhat cleaned up.
4076         (1) make possible a dynamically growing LColor list by allowing
4077         the graphic context cache to grow along (vector);
4078         (2) eliminate an IMHO unnecessary step in colour allocation.
4079
4080 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4081
4082         * BufferView_pimpl.C: compile fix
4083
4084 2003-08-15  André Pönitz  <poenitz@gmx.net>
4085
4086         * rowpainter.C: remove extra metrics calls
4087
4088         * lyxtext.h: merge the two constructors into a single one,
4089           pass reference to owner's par list
4090
4091         * BufferView_pimpl.C:
4092         * text.C:
4093         * text2.C: adjust
4094
4095 2003-08-15  André Pönitz  <poenitz@gmx.net>
4096
4097         * lyxrow_funcs.[Ch]:
4098         * lyxtext.h:
4099         * paragraph.h:
4100         * paragraph_funcs.C:
4101         * rowpainter.C:
4102         * text.C:
4103         * text2.C:
4104         * text3.C:
4105         * text_funcs.C: split LyXText::rowlist_ into individual
4106         Paragraph::rows_ chunks
4107
4108         * BufferView.[Ch]:
4109         * BufferView_pimpl.[Ch]:
4110         * lyxfind.C:
4111         * lyxtext.h:
4112         * text3.C: remove toggleSelection()
4113
4114 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4115
4116         * bufferlist.C: beautify two alerts (shorter text of buttons)
4117         * buffer.C: Remove redundant ' ' from message
4118         * tabular.h:
4119         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4120         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4121         rename VALIGN_CENTER to VALIGN_MIDDLE
4122
4123 2003-08-11  André Pönitz  <poenitz@gmx.net>
4124
4125         * lyxtext.h (getPar):
4126         * text.C: new function
4127
4128 2003-08-11  André Pönitz  <poenitz@gmx.net>
4129
4130         * Makefile.am:
4131         * tracer.[Ch]: remove unneeded files
4132
4133         * InsetList.[Ch]: remove resizeInsetsLyXText()
4134
4135         * lyxtext.h:
4136         * text.C:
4137         * text2.C:
4138         * text3.C: merge insertParagraphs() and appendParagraph()
4139         remove breakAgain(), update()
4140
4141         * BufferView_pimpl.[Ch]:
4142         * bufferview_funcs.[Ch]:
4143         * lyxfunc.C:
4144         * paragraph.[Ch]:
4145         * rowpainter.C:
4146         * tabular.C: adjust after text & InsetList changes.
4147
4148 2003-08-08  André Pönitz  <poenitz@gmx.net>
4149
4150         * text.C (insertChar, backspace): replace rowlist fiddling
4151         with rebreak of full par
4152
4153         * lyxtext.h:
4154         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4155         checkParagraph, updateInset): removed
4156
4157 2003-08-07  André Pönitz  <poenitz@gmx.net>
4158
4159         * paragraph.C:
4160         * text3.C: merge some LFUN handlers, remove dead code
4161
4162 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4163
4164         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4165
4166 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4167
4168         * text2.C (DEPM): fix part of bug 1255 and 1256
4169
4170 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4171
4172         * BufferView_pimpl.C (workAreaDispatch): change to use
4173         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4174         that are no mouse related.
4175
4176 2003-08-05  André Pönitz  <poenitz@gmx.net>
4177
4178         * BufferView.[Ch]:
4179         * BufferView_pimpl.[Ch]:
4180         * bufferview_funcs.C:
4181         * text2.C:
4182         * text3.C: rip out "deep update"
4183
4184         * textcursor.[Ch] (last_sel_cursor): remove unused member
4185
4186 2003-08-04  André Pönitz  <poenitz@gmx.net>
4187
4188         * BufferView.[Ch]:
4189         * BufferView_pimpl.[Ch]:
4190         * ParagraphParameters.C:
4191         * bufferview_funcs.C:
4192         * lyx_cb.C:
4193         * lyxfind.C:
4194         * lyxfunc.C:
4195         * text.C:
4196         * text2.C:
4197         * text3.C: replace "complicated" BufferView::update(...) calls with
4198         simpler ones.
4199
4200         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4201
4202 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4203
4204         * Makefile.am (lyx_SOURCES): add paper.h
4205
4206 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4207
4208         * Makefile.am: move things around so that both lyx-qt and
4209         lyx-xforms can be built (according to --with-frontend). Then lyx
4210         is a symbolic link to lyx-[firstfrontend]
4211
4212 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4213
4214         * Always use std::endl with lyxerr
4215
4216 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4217
4218         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4219
4220 2003-08-01  André Pönitz  <poenitz@gmx.net>
4221
4222         * BufferView.[Ch]:
4223         * BufferView_pimpl.[Ch]:
4224         * lyxfunc.C:
4225         * text3.C: merge BufferView::repaint() and BufferView::update()
4226
4227 2003-08-01  José Matos  <jamatos@lyx.org>
4228
4229         * buffer.[Ch]: file_format is no longer a buffer data element.
4230
4231 2003-08-01  André Pönitz  <poenitz@gmx.net>
4232
4233         * BufferView.C:
4234         * lyxtext.h:
4235         * text.C:
4236         * text2.C: make redoParagraph more independent of current cursor
4237
4238         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4239         * text.C:
4240         * text2.C: remove unneeded members
4241
4242 2003-07-30  André Pönitz  <poenitz@gmx.net>
4243
4244         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4245
4246         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4247           create a single function...
4248
4249         * paragraph_funcs.C (moveItem): ... here.
4250
4251         * text.C:
4252           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4253
4254 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4255
4256         * LColor.[Ch]: Add comment and greyedout logical colors.
4257
4258 2003-07-30  André Pönitz  <poenitz@gmx.net>
4259
4260         * tabular.C: don't use Assert too heavily. This crashes where it
4261           shouldn't
4262
4263 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4264
4265         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4266         is disabled (bug 1232)
4267
4268 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4269
4270         * factory.C: limited 'arg' scope
4271
4272 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4273
4274         * factory.C: fixed Note submenu issues
4275
4276 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4277
4278         * factory.C: submenu for Note/Comment/Greyedout
4279
4280 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4281
4282         * lyx_main.C (LyX):
4283         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4284
4285 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4286
4287         * LaTeXFeatures.C:
4288         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4289         greyedout. Patch provided by Jürgen Spitzmüller.
4290
4291 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4292
4293         * kbmap.C (read): fix error message when reading bind files
4294
4295 2003-07-29  Angus Leeming  <leeming@lyx.org>
4296
4297         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4298         certainly does not do what it purports to do. I am doing it, and
4299         us, a favour by killing it.
4300
4301 2003-07-28  José Matos  <jamatos@lyx.org>
4302
4303         * buffer.C (readBody, do_writeFile):
4304         * paragraph.C(readParagraph): \end_document replaces \the_end.
4305
4306 2003-07-29  André Pönitz  <poenitz@gmx.net>
4307
4308         * BufferView.[Ch]:
4309         * BufferView_pimpl.[Ch]:
4310         * lyxfunc.C:
4311         * text2.C:
4312         * text3.C:
4313         * textcursor.[Ch]: remove toggleToggle & Co
4314
4315 2003-07-28  José Matos  <jamatos@fep.up.pt>
4316
4317         * buffer.C (readParagraph):
4318         * params_func (readParToken, readParagraph):
4319         * paragraph.C (write): \layout -> \begin_layout.
4320
4321 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4322
4323         * lyxlex_pimpl.C (setFile): clean up slightly.
4324
4325         * bufferparams.h: add compressed var
4326
4327         * buffer_funcs.C (readFile): adjust for LyXLex change
4328         (newFile): ditto + simplify
4329
4330         * buffer.C (writeFile): handle writing of compressed files
4331
4332         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4333         Check if the file is compressed and set a bufferparm if so.
4334
4335         * Makefile.am (lyx_LDADD): remove explicit -lz
4336
4337 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4338
4339         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4340         makeDocBookFile): put the real LyX version in the first line of
4341         the file
4342
4343         * version.h:
4344         * version.C.in: remove lyx_docversion
4345
4346         * tabular.C (write_attribute): add a template-based version to
4347         write enums properly
4348
4349 2003-07-28  André Pönitz  <poenitz@gmx.net>
4350
4351         * lyxtext.h:
4352         * text.C:
4353         * text2.C:
4354         * text3.C: use doubles again for x-coordinates. They are needed.
4355
4356 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4357
4358         * messages.C (getLocaleDir): use lyx_localedir()
4359
4360         * lyxlex_pimpl.C (setFile): compress stuff
4361
4362         * buffer.C (writeFile): add some compression stuff
4363         (do_writeFile): new func, dont call expliti close... will this
4364         breake anything?
4365
4366         * Makefile.am (lyx_LDADD): add -lz
4367
4368 2003-07-28  José Matos  <jamatos@fep.up.pt>
4369
4370         * buffer.C: increment file format.
4371         * paragraph_funcs (readParagraph, readParToken):
4372         * paragraph.C (readParagraph): add \end_layout.
4373
4374 2003-07-27  Angus Leeming  <leeming@lyx.org>
4375
4376         * Makefile.am: remove special casing for configure-time setting of
4377         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4378
4379         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4380         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4381
4382 2003-07-26  André Pönitz  <poenitz@gmx.net>
4383
4384         * paragraph_func.[Ch]:
4385         * paragraph.C (realizeFont): inline it whereever it is used
4386
4387         * rowpainter.C:
4388         * text.C:
4389         * text2.C:
4390         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4391
4392
4393 2003-07-26  André Pönitz  <poenitz@gmx.net>
4394
4395         *       lyxtext.h:
4396         * text.C:
4397         * text2.C: get rid of LyXText::need_break_row
4398
4399 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4400
4401         * toc.[Ch]: put namespace toc inside namespace lyx
4402
4403         * MenuBackend.C (expandToc2): adjust for lyx::toc
4404         (expandToc): ditto
4405
4406         * lyxfunc.C (dispatch): adjust for lyx::find
4407
4408         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4409         lyx::find instead. Reorganize a bit.
4410         (LyXReplace): rename to replace
4411         (LyXFind): rename to find
4412
4413         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4414         (dispatch): ditto
4415
4416 2003-07-26  André Pönitz  <poenitz@gmx.net>
4417
4418         * text.C (setHeightOfRow): restrict scope of temporary variable
4419
4420         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4421           code (never has been used?)
4422
4423 2003-07-27  Asger Alstrup  <alstrup@local>
4424
4425         * text.C (fill): Optimise algorithm to exploit that we can reuse
4426         the LyXFont for many characters.
4427         (setHeightOfRow): Same thing.
4428         (rowBreakPoint): Same thing.
4429
4430 2003-07-26  Asger Alstrup  <alstrup@local>
4431
4432         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4433
4434         * text.C (singleWidth): Spurious font copying in hot-spot
4435         singleWidth avoided. Reorder tests for arabic for efficiency.
4436
4437         * text.C (fill): handle empty paragraphs better.
4438
4439 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4440
4441         * ispell.C:
4442         * encoding.h: add includes
4443
4444         * lyxrc.C: remove reading of bind files
4445
4446         * lyx_main.C (init): setup bindings and menus only if we have a
4447         gui.
4448
4449         * kbmap.C (read): new method. Do the actual reading of bind
4450         files.
4451
4452         * converter.C (dvipdfm_options):
4453         * bufferparams.C:
4454         * lyxrc.C (read):
4455         (output): adapt PAPER_* enums.
4456
4457         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4458
4459         * bufferparams.h: remove paper-related enums from there
4460
4461         * paper.h: New file. A trivial header file to hold paper-related
4462         enums. It should later expand to contain many paper-related
4463         horrors access.
4464
4465         * lyxrc.C: declare extern displayTranslator
4466
4467 2003-07-27  José Matos  <jamatos@fep.up.pt>
4468
4469         * tabular.[Ch] (linuxdoc): add support for tables and figures
4470         (linuxdoc).
4471
4472 2003-07-27  José Matos  <jamatos@fep.up.pt>
4473
4474         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4475         consistency in both functions.
4476         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4477
4478 2003-07-26  Asger Alstrup  <alstrup@local>
4479
4480         * rowpainter.C (paintRows): Change algorithm to work directly on
4481         the insets rather than asking every character in the document
4482         whether its an inset.
4483
4484 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4485
4486         * buffer.C (openFileWrite): factorize some code
4487
4488 2003-07-26  Angus Leeming  <leeming@lyx.org>
4489
4490         * lyx_cb.C:
4491         * lyx_main.[Ch]: replace occurances of system_tempdir with
4492         os::getTmpDir().
4493
4494 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4495
4496         * rename Inset to InsetOld
4497
4498 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4499
4500         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4501         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4502         which I think is a bit clearer. EDIT is gone, since it was
4503         premature optimisation, and broken for mathed anyway.
4504         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4505         with cursor positioning in insets as well (math insets still do not
4506         work, but that's a different story anyway.) It mysteriously
4507         crashes sometimes with undo in the first paragraph, but I'm fairly
4508         confident that this is a compiler bug.
4509
4510 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4511
4512         * paragraph.C (Paragraph): adjust for new clone return type
4513         (operator==): ditto
4514         (copyIntoMinibuffer): ditto
4515
4516 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4517
4518         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4519         by not having a special case, and always doing a full rebreak of
4520         the document after undo.
4521
4522 2003-07-23  Angus Leeming  <leeming@lyx.org>
4523
4524         * factory.C (createInset): InsetExternal::setParams now takes a
4525         Buffer const * arg.
4526
4527 2003-07-23  Angus Leeming  <leeming@lyx.org>
4528
4529         * factory.C (createInset): changed interface to the external and
4530         graphics mailers' string2params functions.
4531
4532 2003-07-23  Angus Leeming  <leeming@lyx.org>
4533
4534         * factory.C (createInset): pass a
4535         Buffer const * parameter to InsetExternalMailer's string2params.
4536
4537 2003-07-22  John Levon  <levon@movementarian.org>
4538
4539         * Thesaurus.h: include the right aiksaurus header
4540
4541 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4542
4543         * MenuBackend.C (expand): check menu shortcuts unconditionally
4544
4545 2003-07-21  Angus Leeming  <leeming@lyx.org>
4546
4547         * factory.C (createInset): pass a
4548         buffer_path parameter to InsetGraphicsMailer's string2params.
4549
4550 2003-07-21  Angus Leeming  <leeming@lyx.org>
4551
4552         * BufferView_pimpl.C (buffer):
4553         * buffer.C (d-tor):
4554         * lyx_main.C (LyX):
4555         * lyxfunc.C (dispatch):
4556         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4557         rather than the grfx shortcut.
4558
4559 2003-07-21  André Pönitz  <poenitz@gmx.net>
4560
4561         * rowpainter.C: remove unused variables
4562
4563         * tabular_funcs.C:
4564         * tabular_funcs.h: move to tabular.C
4565         * Makefile.am: adjust
4566
4567         * tabular.[Ch]: basic optical cleaning
4568
4569         * author.h: pass references, not values
4570
4571 2003-07-18  André Pönitz  <poenitz@gmx.net>
4572
4573         * lyxtext.h:
4574         * metricsinfo.C:
4575         * metricsinfo.h:
4576         * rowpainter.C:
4577         * text.C:
4578         * text2.C:
4579         * text3.C: two-phase drawing for InsetText and InsetTabular
4580         some float -> int changes.
4581
4582 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4583
4584         * lyx_main.C: fix the fix
4585
4586 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4587
4588         * lyx_main.C: fix a crash in batch mode if no files specified
4589         * converter.C: ws
4590
4591 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4592
4593         * format.[Ch] (papersize): moved to BufferParams
4594         * converter.[Ch] (dvips_options): moved to BufferParams
4595         (dvipdfm_options): moved to anon namespace
4596         * bufferparams.[Ch]: added above functions.
4597
4598 2003-07-17  André Pönitz  <poenitz@gmx.net>
4599
4600         * lyxtext.h:
4601         * rowpainter.C:
4602         * text2.C: don't call inset->update() anymore
4603
4604         * metricsinfo.[Ch]: add convenience constructor
4605
4606 2003-07-16  André Pönitz  <poenitz@gmx.net>
4607
4608         * lyxcursor.[Ch]:
4609         * lyxfunc.[Ch]:
4610         * text.C:
4611         * text2.C: replace the LyXCursor::irow_ member with
4612          on-demand computation of the value
4613
4614 2003-07-16  John Levon  <levon@movementarian.org>
4615
4616         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4617
4618 2003-07-15  André Pönitz  <poenitz@gmx.net>
4619
4620         * text.C:
4621         * text2.C: remove no more needed refresh_row
4622
4623 2003-07-15  André Pönitz  <poenitz@gmx.net>
4624
4625         * lyxtext.h:
4626         * rowpainter.C:
4627         * text2.C:
4628         * text3.C: refresh_status tristate -> need_update bool
4629
4630 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4631
4632         * lyxtext.h (init): remove reinit argument (act as if always true)
4633         * text2.C: adjust to that
4634
4635 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4636
4637         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4638         * text3.C: use it to delete selections in some cases
4639         (bugs 441, 673, 702, 954).
4640
4641 2003-07-14  André Pönitz  <poenitz@gmx.net>
4642
4643         * rowpainter.[Ch]: reduce interface
4644
4645 2003-07-14  André Pönitz  <poenitz@gmx.net>
4646
4647         * BufferView_pimpl.C:
4648         * text2.C: adjust after removing unused BufferView * argument
4649
4650 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4651
4652         * text2.C (init): fix a crash fired on resize
4653
4654 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4655
4656         * buffer.[Ch]: added new closing signal
4657         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4658         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4659         BufferView::Pimpl via the closing the signal
4660
4661 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4662
4663         * buffer.[Ch]: take out all bv-related from buffer
4664         * BufferView.C:
4665         * BufferView_pimpl.[Ch]: connect to new signals
4666         * CutAndPaste.C: removed useless asserts
4667         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4668         * lyxvc.[Ch]:
4669         * vc-backend.[Ch]:
4670         * lyxfunc.C: moved view-related funciontality from vc here
4671         * paragraph.C: removed outdated comments
4672         * text.C: ws
4673
4674 2003-07-10  André Pönitz  <poenitz@gmx.net>
4675
4676         * BufferView_pimpl.C:
4677         * tabular.h:
4678         * tabular_funcs.C:
4679         * text.C:
4680         * text2.C: remove InsetText::InnerCache, clean up consequences
4681
4682 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4683
4684         * ispell.C: fix two typos in error messages
4685
4686 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4687
4688         * Extend Note inset to other forms of annotation like Comment
4689         and Greyedout. Right button click gives dialog.
4690
4691         Files modified or added (+):
4692
4693         * insetnote.[Ch]
4694         * FormNote.[Ch]      +
4695         * ControlNote.[Ch]   +
4696         * form_note.fd       +
4697         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4698         frontends/controllers
4699         * xforms/Dialogs.C
4700         * factory.C
4701
4702 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4703
4704         * aspell.C: add missing namespace lyx::support
4705
4706 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4707
4708         * BufferView.[Ch] (newFile): Add
4709         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4710         * LaTeX.[Ch] (message): added this signal and use it
4711         * buffer.[Ch] (busy, message): added these signals and use them
4712         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4713         * converter.C:
4714         * exporter.C:
4715         * format.C:
4716         * importer.C: use buffer signals instead of direct bv calling
4717         * lyx_cb.[Ch] (ShowMessage): removed
4718         * lyx_main.C:
4719         * lyxfunc.C:
4720         * paragraph_funcs.C:
4721         * text2.C: use buffer signals
4722
4723 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4724
4725         * introduce namespace lyx::graphics
4726
4727 2003-07-02  André Pönitz  <poenitz@gmx.net>
4728
4729         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4730
4731 2003-07-01  André Pönitz  <poenitz@gmx.net>
4732
4733         * text.C:
4734         * text2.C:
4735         * text3.C:
4736         * text_funcs.[Ch]:
4737         * textcursor.h:
4738         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4739           text*.C to text_func.C
4740
4741 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4742
4743         * introduce namespace lyx::support
4744
4745 2003-06-30  André Pönitz  <poenitz@gmx.net>
4746
4747         * Chktex.C:
4748         * funcrequest.C:
4749         * lyxtext.h:
4750         * text.C: re-enable --with-included-string
4751
4752 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4753
4754         * textcursor.C: add <config.h>
4755
4756         * text.C (getWord): remove const from word_location arg
4757
4758         * lyxvc.C (getLogFile): fix const type order
4759
4760         * lyxtext.h: remove const from word_location arg, add arg name
4761
4762         * lyxlayout.h: currect type on labeltype.
4763
4764         * importer.C: correct \file
4765
4766         * converter.C (intToFormat): use std:: on ret val, ws changes
4767
4768         * bufferlist.h: correct \file
4769
4770         * buffer.C (makeLinuxDocFile): fix const type order
4771         (makeDocBookFile): ditto
4772         (fillWithBibKeys): use std:: on stdlib args.
4773
4774         * CutAndPaste.C: fix authors.
4775         (availableSelections): use std:: on return vector
4776
4777 2003-06-27  André Pönitz  <poenitz@gmx.net>
4778
4779         * BufferView_pimpl.C:
4780         * bufferview_funcs.C:
4781         * lyxcursor.C:
4782         * lyxcursor.h:
4783         * lyxfunc.C:
4784         * lyxtext.h:
4785         * rowpainter.C:
4786         * text.C:
4787         * text2.C:
4788         * text3.C: remove LyXCursor::row_ member
4789
4790         * lyxtext.h:
4791         * text.C: rename fullRebreak() to partialRebreak() and implement
4792           a fullRebreak() that really bereks fully
4793
4794         * textcursor.h: new struct for cursor-related data
4795
4796 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4797
4798         * lyx_main.C (LyX): get full path of document loaded on the
4799         command line
4800
4801 2003-06-26  André Pönitz  <poenitz@gmx.net>
4802
4803         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4804           remove unused/broken operator>,<,>=.
4805
4806         *       text.C: remove only use of broken operator<= in an Assert().
4807
4808 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4809
4810         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4811         moved errorlist_.clear to showErrorList
4812
4813 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4814
4815         * converter.C (scanLog, runLaTeX):
4816         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4817         move the bv->showErrorList call to the callers
4818         * lyxfunc.C: i.e. here...
4819         * text2.C: and here
4820         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4821         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4822         namespace, the second to...
4823         * buffer_funcs (BufferFormat, parseErrors): added
4824         * errorlist.C (ErrorList(TeXErrors const &)): removed
4825
4826 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4827
4828         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4829
4830 2003-06-24  "Garst R. Reese" <reese@isn.net>
4831
4832         * debug.C: fix typo
4833
4834 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4835
4836         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4837
4838         * version.C.in: change docversion to 1.4
4839
4840 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4841
4842         * buffer.C: fix a bug just introduced
4843
4844 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4845
4846         * buffer.[Ch]: added the parseError signal and use it, removed
4847         sgmlError
4848         * BufferView.[Ch] (addError): moved to ...
4849         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4850         to the Buffer::parseError signal to catch (guess what) parse errors
4851         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4852
4853 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4854
4855         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4856         ability to create a buffer and to return an existing one from
4857         the list. Moved these functions to...
4858         * buffer_funcs.[Ch]: added
4859         * BufferView.[Ch] (loadLyXFile): added
4860         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4861         job removed from bufferlist::loadLyXFile.
4862         * buffer.C (setReadOnly): make it work without view
4863         (i.e added an if (users))
4864
4865 2003-06-19  Angus Leeming  <leeming@lyx.org>
4866
4867         * lfuns.h:
4868         * LyXAction.C (init):
4869         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4870         with LFUN_DIALOG_SHOW <name> <data>.
4871
4872 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4873
4874         * CutAndPaste.C (availableSelections): small compilation fix for
4875         ancient (gcc 2.9x) compilers
4876
4877 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4878
4879         * text3.C (cursorNext): add tmp var
4880
4881         * text2.C (updateCounters): for function calling out of for clause
4882         (replaceSelectionWithString): ditto
4883         (insertStringAsParagraphs): ditto
4884         (getColumnNearX): add tmp var
4885         (setCursorFromCoordinates): add tmp var
4886         (cursorDownParagraph): add tmp var
4887         (deleteEmptyParagraphMechanism): add tmp var
4888
4889         * text.C (insertChar): add tmp var
4890
4891         * rowpainter.C (paintDepthBar): add tmp var
4892
4893         * CutAndPaste.C (availableSelections): potentially check all
4894         paragraphs in a cut to fill the shown strings.
4895
4896 2003-06-18  André Pönitz  <poenitz@gmx.net>
4897
4898         * kbmap.[Ch]: use vector<> instead of list<>
4899
4900 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4901
4902         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4903         pasteSelection with index
4904
4905         * text2.C (pasteSelection): modify, call pasteSelection with index
4906
4907         * paragraph.C (asString): reimplement version with no interval to
4908         call the one with interval.
4909
4910         * lyxtext.h: add index arg to pasteSelection
4911
4912         * MenuBackend.C (MenuItem): handle PasteRecent
4913         (Menu::read::Menutags): add md_pasterecent
4914         (read): handle it
4915         (expandPasteRecent): new function
4916         (expand): use it
4917
4918         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4919
4920         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4921         the limited stack
4922         (availableSelections): new function
4923
4924 2003-06-17  Angus Leeming  <leeming@lyx.org>
4925
4926         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4927
4928 2003-06-17  Angus Leeming  <leeming@lyx.org>
4929
4930         * lfuns.h:
4931         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4932
4933         * lyxfunc.C (dispatch): invoke it.
4934
4935 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4936
4937         * iterators.C (operator++, ParPosition): reintroduce some
4938         const_cast for the benefit of older compilers.
4939
4940 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4941
4942         * text3.C (dispatch): do not modify clipboard when doing
4943         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4944         LFUN_DELETE_SKIP on a selection selection
4945
4946 2003-06-16  André Pönitz  <poenitz@gmx.net>
4947
4948         * BufferView.C:
4949         * buffer.C:
4950         * buffer.h:
4951         * paragraph.C:
4952         * tabular.[Ch]: IU of clone() and getLabelList();
4953
4954 2003-06-13  André Pönitz  <poenitz@gmx.net>
4955
4956         * tabular.h: compactification
4957
4958 2003-06-12  André Pönitz  <poenitz@gmx.net>
4959
4960         * tabular.C:
4961         * tabular.h:
4962         * tabular_funcs.h: some renaming plus whitespace
4963
4964 2003-06-12  André Pönitz  <poenitz@gmx.net>
4965
4966         * BufferView.C:
4967         * BufferView_pimpl.C:
4968         * CutAndPaste.C:
4969         * buffer.C:
4970         * iterators.[Ch]:
4971         * lyxfunc.C:
4972         * text.C:
4973         * toc.C: Return a Paragraph & for ParIterator::operator*()
4974
4975 2003-06-11  John Levon  <levon@movementarian.org>
4976
4977         * lyx_main.C:
4978         * ToolbarBackend.h:
4979         * ToolbarBackend.C: add "Toolbars" section and
4980         put the flags there
4981
4982 2003-06-10  Angus Leeming  <leeming@lyx.org>
4983
4984         * lfuns.h:
4985         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4986
4987         * lyxfunc.C (dispatch): invoke it.
4988
4989 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4990
4991         * main.C: protect <ios> with HAVE_IOS
4992         (main): protect sync_with_stdio with HAVE_IOS
4993
4994 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
4995
4996         * text2.C (cutSelection): adjust
4997         (pasteSelection): adjust
4998
4999         * messages.C: handle get of empty string
5000
5001         * main.C (main): use sync_with_stdio(false)
5002
5003         * lyxfunc.C (dispatch): adjust
5004
5005         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5006         (WriteAs): remove unneeded BufferView arg.
5007
5008         * bufferparams.h: use correct types on papersize, papersize2 and
5009         paperpackage.
5010
5011         * bufferparams.C (readToken): adjust for type
5012         (writeLaTeX): add missing cases to switch.
5013
5014         * bufferlist.C (quitWriteBuffer): adjust
5015         (close): adjust
5016
5017         * buffer.C (asciiParagraph): remove some commented code.
5018
5019         * CutAndPaste.C: remove current_view extern variable.
5020         (cutSelection): add BufferParams arg.
5021         (eraseSelection): add BufferParams arg.
5022         (pasteSelection): add Buffer const & arg
5023
5024 2003-06-07  John Levon  <levon@movementarian.org>
5025
5026         * buffer.C:
5027         * paragraph_funcs.C:
5028         * paragraph_pimpl.C:
5029         * text.C:
5030         * text2.C:
5031         * paragraph.h:
5032         * paragraph.C: allow InsetERT to freely space lines,
5033         and some consolidation of code
5034
5035 2003-06-06  José Matos  <jamatos@fep.up.pt>
5036
5037         * buffer.C (makeDocBookFile): fix bug #821
5038
5039 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5040
5041         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5042
5043 2003-06-04  Angus Leeming  <leeming@lyx.org>
5044
5045         * buffer.C: bump format to 224.
5046
5047 2003-06-05  André Pönitz  <poenitz@gmx.net>
5048
5049         * text2.C (redoParagraphs): remove two const_cast<>
5050
5051 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5052
5053         * ParagraphList.h: remove last remnants of NO_STD_LIST
5054
5055 2003-06-03  Angus Leeming  <leeming@lyx.org>
5056
5057         * factory.C (createInset): small change to the way InsetExternal's params
5058         are set.
5059
5060 2003-06-04  André Pönitz  <poenitz@gmx.net>
5061
5062         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5063
5064         * paragraph_pimpl.h:
5065         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5066
5067         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5068
5069         * undo_funcs.C: make some simple cases of undo work again
5070
5071 2003-06-03  John Levon  <levon@movementarian.org>
5072
5073         * ispell.C: HPUX doesn't have sys/select.h
5074         (from Albert Chin)
5075
5076 2003-06-03  John Levon  <levon@movementarian.org>
5077
5078         * CutAndPaste.C: update tabular and include inset
5079         buffer references
5080
5081         * buffer.h:
5082         * paragraph.h:
5083         * paragraph.C: remove owningBuffer(), don't pass Buffer
5084         to clone()
5085
5086         * factory.C: insetGraphicsParams changed
5087
5088 2003-06-02  John Levon  <levon@movementarian.org>
5089
5090         * LyXAction.C:
5091         * factory.C:
5092         * lfuns.h:
5093         * lyxfunc.C:
5094         * text3.C: remove insetparent
5095
5096 2003-06-02  John Levon  <levon@movementarian.org>
5097
5098         * buffer.h:
5099         * buffer.C: fix inset_iterator.end(), move out of line
5100         (bug 1149)
5101
5102 2003-06-01  John Levon  <levon@movementarian.org>
5103
5104         * text3.C: use a proper cut/paste when doing inset
5105         insert (from Jürgen Spitzmüller)
5106
5107 2003-06-01  John Levon  <levon@movementarian.org>
5108
5109         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5110
5111 2003-05-30  André Pönitz  <poenitz@gmx.net>
5112
5113         * rowpainter.C: unify second drawing phase
5114
5115 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5116
5117         * trans_mgr.C: remove one case of current_view
5118
5119         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5120
5121         * paragraph_funcs.h: remove paragraph.h include
5122
5123         * paragraph.h: delete NO_STD_LIST stuff
5124
5125         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5126
5127         * buffer.h: remove paragraph.h include
5128
5129         * ParagraphList.C: delete file
5130
5131         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5132
5133         * toc.C (getTocList): adjust
5134
5135         * paragraph_pimpl.C (validate): adjust
5136
5137         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5138
5139         * paragraph.C (Paragraph): adjust
5140         (getPositionOfInset): use const_iterator, adjust
5141         (bibitem): use const_iterator, adjust
5142         (setInsetOwner): adjust
5143
5144         * iterators.C (operator++): adjust
5145
5146         * InsetList.[Ch]: Replace selfmade iterator with standard
5147         vector::iterator also introduce const_iterator. Remove getPos,
5148         getInset and setInset from InsetTable. Adjust accordingly.
5149
5150         * BufferView.C (lockInset): adjust
5151         (ChangeInsets): adjust
5152
5153         * tabular.[Ch]: delete commented same_id functions
5154
5155 2003-05-28  John Levon  <levon@movementarian.org>
5156
5157         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5158
5159 2003-05-28  André Pönitz  <poenitz@gmx.net>
5160
5161         * metricsinfo.[Ch]: remove 'fullredraw' member
5162
5163 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5164
5165         * lyxtextclass.C (operator): remove caching.
5166
5167 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5168
5169         * text3.C: adjust
5170
5171         * text2.C (cursorBottom): adjust
5172         (setCounter): use ParagraphList::find, adjust
5173
5174         * text.C (workWidth): use ParagraphList::find, adjust
5175
5176         * lyxcursor.C (LyXCursor): adjust
5177
5178         * buffer.C (inset_iterator): adjust
5179
5180         * ParagraphList.h: make iterator(value_type) private, make
5181         ParagraphList a friend of iterator.
5182
5183         * ParagraphList.C (find): new function
5184
5185         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5186
5187 2003-05-27  André Pönitz  <poenitz@gmx.net>
5188
5189         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5190
5191 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5192
5193         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5194
5195 2003-05-26  John Levon  <levon@movementarian.org>
5196
5197         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5198
5199 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5200
5201         * remove same_id from function signatures, adjust.
5202
5203 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5204
5205         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5206
5207         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5208
5209         * paragraph.C (Paragraph): get rid of same_ids parameter
5210
5211         * ParagraphList.C (insert): adjust
5212         (push_back): adjust
5213
5214 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5215
5216         * paragraph_funcs.C (breakParagraph): adjust
5217         (breakParagraphConservative): adjust
5218
5219         * buffer.C (readParagraph): adjust
5220
5221         * ParagraphList.C (insert): take a reference instead of a pointer
5222         (insert): adjust
5223
5224         * paragraph.[Ch] (id): new function
5225
5226         * bufferlist.C (newFile): adjust
5227
5228         * ParagraphList.C (ParagraphList): adjust
5229         (assign): adjust
5230         (push_back): take a reference instead of a pointer.
5231
5232         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5233
5234         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5235         instead.
5236
5237         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5238         set else use old code.
5239
5240         * ParagraphList.C: remove all NO_NEXT code and only compile this
5241         code of NO_STD_LIST is set.
5242
5243 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5244
5245         * BufferView_pimpl.C:
5246         * TextCache.C:
5247         * TextCache.h:
5248         * bufferlist.C:
5249         * errorlist.h:
5250         * format.C:
5251         * format.h:
5252         * graph.C:
5253         * lyxfunc.C:
5254         * lyxrc.C:
5255         * graphics/GraphicsConverter.C:
5256         * graphics/PreviewLoader.C: header adjustment
5257
5258 2003-05-23  Angus Leeming  <leeming@lyx.org>
5259
5260         * LaTeXFeatures.[Ch] (useBabel): new method.
5261         * bufferparams.C (writeLaTeX): use it.
5262
5263 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5264
5265         * ParagraphList.h (set): remove unused function.
5266
5267 2003-05-23  André Pönitz  <poenitz@gmx.net>
5268
5269         * BufferView.C:
5270         * BufferView_pimpl.C:
5271         * buffer.C:
5272         * buffer.h:
5273         * lyxfunc.C:
5274         * undo_funcs.C: setUndo reworked
5275
5276         * iterators.[Ch]: add access to topmost ParagraphList
5277
5278         * lyxtext.[Ch] (workWidth): add a const
5279
5280 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5281
5282         * texrow.[Ch] (increasePos): remove function
5283         * exporter.C (export): removed unused var and outdated comment
5284
5285 2003-05-23  Angus Leeming  <leeming@lyx.org>
5286
5287         * latexrunparams.h: rename fragile as moving_arg.
5288         * paragraph.C (simpleTeXOnePar): ditto.
5289         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5290
5291 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5292
5293         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5294         (createUndo): ditto
5295         (textUndoOrRedo): comment out a currently unused var.
5296
5297         * paragraph.h (NO_NEXT): enable NO_NEXT
5298
5299         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5300
5301         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5302
5303         * exporter.C (Export): adjust for removeAutoInsets removal.
5304
5305         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5306
5307         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5308
5309         * BufferView.[Ch] (removeAutoInsets): delete function
5310
5311 2003-05-22  Angus Leeming  <leeming@lyx.org>
5312
5313         * latexrunparams.h: add a free_spacing variable.
5314
5315         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5316         to pass moving_arg, as the data is stored in runparams.fragile.
5317
5318         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5319         to Inset::latexOptional or to simpleTeXOnePar.
5320
5321         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5322         free_spacing arg to Inset::latexOptional.
5323
5324         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5325         free_spacing arg.
5326
5327 2003-05-22  Angus Leeming  <leeming@lyx.org>
5328
5329         * latexrunparams.h: add fragile and use_babel variables.
5330
5331         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5332         * buffer.C (makeLaTeXFile): store this returned value in
5333         runparams.use_babel, thus passing it to the inset::latex methods.
5334
5335         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5336         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5337
5338         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5339         longer has a fragile arg, as it is stored in runparams.fragile.
5340
5341         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5342         moving_arg parameter as the data is stored in runparams.fragile.
5343
5344         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5345         a fragile parameter as the data is stored in runparams.fragile.
5346
5347 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5348
5349         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5350
5351 2003-05-22  Angus Leeming  <leeming@lyx.org>
5352
5353         * latexrunparams.h: add a 'bool nice' which defaults to false.
5354
5355         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5356         now encapsulated within runparams.
5357
5358         * bufferlist.C (updateIncludedTeXfiles):
5359         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5360
5361 2003-05-22  Angus Leeming  <leeming@lyx.org>
5362
5363         * latexrunparams.h: new file containing struct LatexRunParams.
5364         * Makefile.am: add new file.
5365
5366         * LaTeX.[Ch] (c-tor, run):
5367         * buffer.[Ch] (makeLaTeXFile):
5368         * bufferlist.[Ch] (updateIncludedTeXfiles):
5369         * converter.C (convert, scanLog):
5370         * converter.[Ch] (runLaTeX):
5371         * exporter.C (Export):
5372         * paragraph.[Ch] (simpleTeXOnePar):
5373         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5374         * paragraph_funcs.[Ch] (latexParagraphs):
5375         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5376         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5377         pass around a LatexRunParams parameter.
5378
5379 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5380
5381         * paragraph.[Ch]: remove unused constructor
5382
5383         * ParagraphList.C (erase): new function, taking two iterators
5384
5385 2003-05-22  André Pönitz  <poenitz@gmx.net>
5386
5387         * undo_funcs.C: remove duplicated code
5388
5389         * iterator.[Ch]: operator=
5390
5391 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5392
5393         * tabular.C (SetMultiColumn): ws changes
5394
5395         * rowpainter.C (paintFirst): get rid of a ->previous
5396
5397         * lyx_cb.C (getPossibleLabel): parlist simplification
5398
5399         * BufferView.C (ChangeInsets): simplify slightly.
5400
5401 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5402
5403         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5404         * lfuns.h: new LFUN_SPACE
5405         * lyxfunc.C: protected space has a new lfun
5406         * paragraph_funcs.C: read new space insets
5407         * text3.C:
5408         * factory.C: handle new space insets
5409
5410 2003-05-22  André Pönitz  <poenitz@gmx.net>
5411
5412         * BufferView.C:
5413         * BufferView_pimpl.C:
5414         * buffer.[Ch]:
5415         * lyxfunc.C:
5416         * undo_funcs.C: return a ParIterator from getParFromID.
5417
5418         * iterators.[Ch]: add two const's
5419
5420 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5421
5422         * toc.C (getTocList): adjust
5423
5424         * iterators.[Ch]: rework for parlist
5425
5426         * buffer.C (par_iterator_begin): adjust
5427         (par_iterator_end): adjust
5428
5429         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5430
5431         * BufferView.C (removeAutoInsets): adjust
5432         (ChangeInsets): adjust
5433
5434 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5435
5436         * text.C (top_y): fix bug 1110
5437
5438 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5439
5440         * errorlist.[Ch]: added
5441         * buffer.C:
5442         * BufferView.[Ch]:
5443         * BufferView_pimpl.C:
5444         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5445         instead
5446
5447 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5448
5449         * Makefile.am: ensure that lyx is relinked upon changes to the
5450         various "convenience" libs.
5451
5452 2003-05-20  Angus Leeming  <leeming@lyx.org>
5453
5454         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5455         files are compiled in alphabetical order again.
5456
5457         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5458
5459 2003-05-19  Angus Leeming  <leeming@lyx.org>
5460
5461         * gettext.[Ch]: remove "char const * _(char const *)".
5462
5463 2003-05-19  André Pönitz  <poenitz@gmx.net>
5464
5465         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5466
5467         * Makefile.am:
5468         * BufferView.C:
5469         * DepTable.h:
5470         * LaTeXFeatures.C:
5471         * buffer.C:
5472         * lyxfont.C:
5473         * lyxlex.h:
5474         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5475
5476 2003-05-19  André Pönitz  <poenitz@gmx.net>
5477
5478         * buffer.C:
5479         * lyxlayout.[Ch]:
5480         * lyxtextclass.[Ch]:
5481         * paragraph.C:
5482         * paragraph_funcs.[Ch]:
5483         * text2.C:
5484         * text3.C: more insetenv work
5485
5486 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5487
5488         * ParagraphParameters.C (params2string): small bug fixed
5489
5490 2003-05-16  André Pönitz  <poenitz@gmx.net>
5491
5492         * debug.C:
5493         * bufferview_funcs.C: patch from Kornel Benko to prevent
5494           crash when _(...) is called twice in a statement
5495
5496 2003-05-16  André Pönitz  <poenitz@gmx.net>
5497
5498         * BufferView.C:
5499         * lyxfunc.C:
5500         * text.C:
5501         * text2.C:
5502         * text3.C:
5503         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5504
5505 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5506
5507         * lyx_main.C (init): remove spurious static_cast
5508
5509 2003-05-14  André Pönitz  <poenitz@gmx.net>
5510
5511         * BufferView.C: fix format string
5512
5513 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5514
5515         * BufferView.[Ch] (insertErrors): removed
5516         * BufferView.[Ch] (showErrorList): added
5517         * buffer.C (runChkTeX):
5518         * converter.C (scanLog): call showErrorList instead of inserterrors
5519
5520 2003-05-13  André Pönitz  <poenitz@gmx.net>
5521
5522         * BufferView_pimpl.C:
5523         * buffer.C:
5524         * bufferview_func.C:
5525         * MenuBackend.C:
5526         * lyxfunc.C:
5527         * lyxrc.C:
5528         * tex-accent.C:
5529         * text3.C:
5530         * toc.C:
5531         * tabular_funcs.h: tostr() from its own header
5532
5533         * ParagraphParameters.C:
5534         * ToolbarBackend.C:
5535         * bufferparams.C:
5536         * format.C:
5537         * lyxlex_pimpl.C:
5538         * text3.C: STRCONV()
5539
5540 2003-05-12  André Pönitz  <poenitz@gmx.net>
5541
5542         * BufferView.C:
5543         * BufferView_pimpl.C:
5544         * CutAndPaste.C:
5545         * LaTeX.C:
5546         * LaTeXFeatures.C:
5547         * ParagraphParameters.C:
5548         * buffer.C:
5549         * bufferlist.C:
5550         * bufferparams.C:
5551         * bufferview_funcs.C:
5552         * converter.C:
5553         * counters.C:
5554         * debug.C:
5555         * exporter.C:
5556         * format.C:
5557         * importer.C:
5558         * lyx_cb.C:
5559         * lyx_main.C:
5560         * lyxfont.C:
5561         * lyxfunc.C:
5562         * lyxvc.C:
5563         * paragraph.C:
5564         * paragraph_funcs.C:
5565         * tabular.C:
5566         * tabular_funcs.C:
5567         * text2.C:
5568         * text3.C:  boost::format -> bformat  all over the place
5569
5570
5571 2003-05-09  André Pönitz  <poenitz@gmx.net>
5572
5573         * LColor.[Ch]: Pimpl the #include <map> away
5574
5575 2003-05-09  John Levon  <levon@movementarian.org>
5576
5577         * bufferlist.C: never remove emergency saves
5578
5579 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5580
5581         * Makefile.am: better lib building
5582
5583 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5584
5585         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5586         instead.
5587         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5588         (simpleTeXSpecialChars): adjust
5589         (simpleTeXSpecialChars): adjust
5590         * paragraph.C (simpleTeXOnePar): adjust
5591         * buffer.C (makeLaTeXFile): adjust
5592
5593         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5594
5595         * text2.C (changeDepth): parlist cleanup
5596         (getColumnNearX): ditto
5597
5598         * rowpainter.C (getLabelFont): parlist cleanup
5599
5600         * bufferlist.C (newFile): parlist cleanup
5601
5602         * CutAndPaste.C (eraseSelection): parlist cleanup
5603
5604         * BufferView_pimpl.C (trackChanges): parlist cleanup
5605         (dispatch): ditto
5606
5607         * BufferView.C (lockInset): parlist cleanup.
5608         (ChangeInsets): ditto
5609
5610 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5611
5612         * CutAndPaste.h: Update file header.
5613
5614         * CutAndPaste.C: Update file header.
5615         Store the parts cut out of the Document in a limited_stack.
5616         (copySelection): adjust
5617         (pasteSelection): new function, takes the index in the limited stack.
5618         (nrOfParagraphs): adjust
5619         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5620         simplify error inset insertion.
5621         (checkPastePossible): adjust
5622
5623 2003-05-06  John Levon  <levon@movementarian.org>
5624
5625         * text2.C: don't cast wrap inset to float
5626
5627 2003-05-05  André Pönitz  <poenitz@gmx.net>
5628
5629         * iterator.C:
5630         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5631
5632         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5633           few naked Paragraph *.
5634
5635 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5636
5637         * bufferparams.C: Output warning if a document with missing
5638         TeX document class is loaded
5639         * exporter.C: Disable TeX exports if the document class is missing
5640         * lyxtextclass.C:
5641         * lyxtextclass.h:
5642         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5643         isTeXClassAvailable()
5644
5645 2003-05-03  John Levon  <levon@movementarian.org>
5646
5647         * BufferView.h:
5648         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5649         explicit cursor show/hide
5650
5651         * BufferView_pimpl.h:
5652         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5653         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5654
5655         * lyxfunc.C: hide cursor before dispatching.
5656
5657         * lyx_cb.C:
5658         * lyxfind.C:
5659         * text.C:
5660         * text3.C: remove explicit cursor hides
5661
5662 2003-05-02  André Pönitz  <poenitz@gmx.net>
5663
5664         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5665
5666         * undo_funcs.C:
5667         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5668           linked lists
5669
5670         * text2.C: tiny whitespace
5671
5672 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5673
5674         * undo_funcs.C: almost only ws changes.
5675
5676         * ParagraphList.C (splice): just return if pl is empty.
5677
5678 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5679
5680         * ParagraphList.C (splice): new function.
5681
5682         * CutAndPaste.C (pasteSelection): use it
5683
5684 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5685
5686         * CutAndPaste.C (pasteSelection): remove the last next and
5687         previous from this file.
5688
5689 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5690
5691         * CutAndPaste.C (pasteSelection): more clean up, user proper
5692         ParagraphList functions for pasteing.
5693
5694         * ParagraphList.C (insert): new function, three arg insert
5695
5696 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5697
5698         * ParagraphList.C (insert): new function, three arg insert
5699
5700         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5701         not on paragraphs.
5702
5703 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5704
5705         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5706
5707 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5708
5709         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5710
5711 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5712
5713         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5714         (copySelection): clean up a bit.
5715         (pasteSelection): use make_pair
5716
5717         * ParagraphList.C (ParagraphList): implement copy constructor
5718         (operator=): implement, base on copy constructor.
5719         (assign): new func
5720
5721         * paragraph.C (erase): return a bool
5722
5723         * paragraph_pimpl.C (erasePos): remove function, move contents...
5724         (erase): ... here. Return a bool.
5725         (erase): call erase instead of erasePos.
5726
5727 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5728
5729         * ParagraphList.h: define PitPosPair
5730         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5731         ParagraphList, fix a bug on pasting multiple pars
5732         * text2.C: change interface to C&P
5733
5734 2003-04-30  André Pönitz  <poenitz@gmx.net>
5735
5736         * undo_func.C: revert part of yesterday's patch 2
5737
5738 2003-04-30  John Levon  <levon@movementarian.org>
5739
5740         * LColor.C: s/tabular/table/
5741
5742 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5743
5744         * text3.C (dispatch): do not convert iterator -> pointer
5745         * undo_funcs.C (setCursorParUndo): ditto
5746         * text_funcs.C (transposeChars): ditto
5747
5748         * text2.C (setLayout): ws changes only
5749
5750         * text.C (breakParagraph): do not convert iterator -> pointer
5751         (insertChar): ditto
5752         (acceptChange): ditto
5753         (rejectChange): ditto
5754         (changeCase): ditto
5755         (Delete): ditto
5756         (backspace): ditto
5757
5758         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5759         pointer
5760
5761 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5762
5763         * text3.C (gotoInset): YABG (yet another bad getChar)
5764
5765 2003-04-29  André Pönitz  <poenitz@gmx.net>
5766
5767         * paragraph.h: make operator= private unimplemented as long as
5768           it is unusable
5769
5770         * ParagraphList.C: whitespace
5771
5772         * paragraph.[Ch]:
5773         * paragraph_pimpl.[Ch]:
5774         * paragraph_funcs.C:
5775         * CutAndPaste.C:
5776         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5777
5778         * text2.C:
5779           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5780
5781 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5782
5783         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5784         * paragraph.[Ch] (erase):
5785         * paragraph_pimpl.[Ch] (erase): change return type and value
5786         * text2.C (cutSelection): some rework
5787
5788 2003-04-28  John Levon  <levon@movementarian.org>
5789
5790         * bufferlist.C: changes for unsaved changes dialog
5791
5792 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5793
5794         * bufferlist.C (newFile): set language (messages_) for new
5795         documents also.
5796
5797         * buffer.C (readFile): ws changes only.
5798
5799 2003-04-28  André Pönitz  <poenitz@gmx.net>
5800
5801         * undo_funcs.C:
5802         * lyxfunc.C:
5803         * buffer.[Ch]:
5804         * BufferView_pimpl.C:
5805         * BufferView.C: getParFromID related ParagraphList::iterator changes
5806
5807 2003-04-28  André Pönitz  <poenitz@gmx.net>
5808
5809         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5810           Changes
5811
5812 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5813
5814         * messages.C: remove one more localedir class variable.
5815
5816 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5817
5818         * messages.C (getLocaleDir): singleton generation function
5819         (Pimpl): use it.
5820         (Messages): add a default constructor.
5821
5822         * main.C (main): do not setup localedir here, do not call
5823         gettext_init.
5824
5825         * gettext.C (_): use it.
5826         (gettext_init): delete funciton
5827
5828 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5829
5830         * gettext.C (getLyXMessages): new singleton generating function.
5831
5832         * buffer.C (updateDocLang): adjust
5833
5834         * Makefile.am (messages.o): add target
5835         (main.o): remove target
5836
5837 2003-04-27  John Levon  <levon@movementarian.org>
5838
5839         * bufferlist.C:
5840         * lyx_cb.C:
5841         * lyxfunc.C:
5842         * lyxvc.C: specify cancel button in Alert::prompt
5843
5844 2003-04-26  John Levon  <levon@movementarian.org>
5845
5846         * text3.C:
5847         * lyxfunc.C:
5848         * lfuns.h:
5849         * LyXAction.C: add LFUN_INSET_SETTINGS
5850
5851         * lyxfunc.C: don't enable tabular-feature when there's
5852         just any locking inset
5853
5854 2003-04-26  John Levon  <levon@movementarian.org>
5855
5856         * bufferlist.C: re-add Cancel to buffer close question
5857
5858         * lyxfunc.C: fix import UI a bit
5859
5860 2003-04-25  John Levon  <levon@movementarian.org>
5861
5862         * gettext.C: remove the broken asserts for now
5863
5864 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5865
5866         * messages.C: make case where setlocale cannot comply work better.
5867
5868         * buffer.C (updateDocLang): new function
5869         (changeLanguage): use it
5870         (readFile): use it
5871
5872         * text2.C (setCounter): use B_ a bit.
5873
5874         * lyxlayout.C (Read): be sure to trim the label strings.
5875
5876         * messages.C (Messages): fix typo in comment
5877
5878         * buffer.C (readFile): set message_ after file is loaded.
5879         (makeDocBookFile): remove double return
5880         (changeLanguage): reset message_ upon language change.
5881         (B_): new func, use this to get translated buffer strings.
5882
5883         * main.C: add myself and Jean Marc as authors.
5884
5885 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5886
5887         * messages.[hC]: pimplify Messages, and three different pimpls to be
5888         used in different circumstances.
5889
5890         * gettext.[Ch]: change for use with new message code.
5891
5892 2003-04-24 André Pönitz <poenitz@gmx.net>
5893
5894         * factory.C: support for eqref
5895
5896 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5897
5898         * messages.[Ch]: add missing char
5899
5900         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5901
5902         * messages.[Ch]: New files
5903
5904 2003-04-18  John Levon  <levon@movementarian.org>
5905
5906         * BufferView.h:
5907         * BufferView.C:
5908         * BufferView_pimpl.C:
5909         * lfuns.h:
5910         * LyXAction.C:
5911         * lyxtext.h:
5912         * text2.C: remove layout-copy/paste (bug 778)
5913
5914 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5915
5916         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5917
5918 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5919
5920         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5921         if they succeed. Act accordingly.
5922
5923 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5924
5925         * text2.C (setCharFont): adjust
5926         (setCounter): adjust
5927         (insertStringAsLines): adjust
5928
5929         * text.C (leftMargin): adjust
5930         (setHeightOfRow): adjust
5931
5932         * rowpainter.C (paintFirst): adjust
5933         (paintLast): adjust
5934
5935         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5936         (outerHook): ditto
5937         (isFirstInSequence): ditto
5938         (getEndLabel): ditto
5939         (outerFont): adjust
5940
5941         * paragraph.C (getParLanguage): comment out some hard stuff.
5942
5943         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5944         (sgmlError): ditto
5945         (simpleDocBookOnePar): ditto
5946         (makeDocBookFile): use ParagraphList::iterator
5947
5948         * CutAndPaste.C (pasteSelection): adjust
5949
5950 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5951
5952         * text2.C (getFont): adjust
5953         (getLayoutFont): adjust
5954         (getLabelFont): adjust
5955
5956         * paragraph_funcs.C (TeXOnePar): adjust
5957
5958         * buffer.C (simpleLinuxDocOnePar): adjust
5959         (simpleDocBookOnePar): adjust
5960
5961         * CutAndPaste.C (pasteSelection): adjust
5962
5963         * BufferView.C (getEncoding): adjust
5964
5965         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5966
5967 2003-04-16  John Levon  <levon@movementarian.org>
5968
5969         * lyxfind.C: use parlist stuff for search/changes
5970
5971 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5972
5973         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5974
5975         * text2.C (deleteEmptyParagraphMechanism): adjust
5976
5977         * text2.[Ch] (ownerParagraph): delete func (both of them
5978
5979 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5980
5981         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5982
5983 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5984
5985         * ParagraphList.C: prepare for NO_NEXT
5986
5987 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5988
5989         * text2.C (getFont): adjust
5990         (getLayoutFont): adjust
5991         (getLabelFont): adjust
5992
5993         * paragraph.C (getFont): adjust
5994         (getLabelFont): adjust
5995         (getLayoutFont): adjust
5996
5997         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5998
5999 2003-04-15  John Levon  <levon@movementarian.org>
6000
6001         From Angus Leeming
6002
6003         * lyx_main.C: handle Include in .ui files
6004
6005 2003-04-15  John Levon  <levon@movementarian.org>
6006
6007         * MenuBackend.C: make the doc files length shorter
6008
6009         * ToolbarBackend.h:
6010         * ToolbarBackend.C: handle toolbar placement flags,
6011         Minibuffer
6012
6013 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6014
6015         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6016         adjust
6017
6018         * paragraph_funcs.C (TeXOnePar): adjust
6019
6020         * paragraph.C (getLabelFont): add outerfont arg, adjust
6021         (getLayoutFont): ditto
6022         (simpleTeXOnePar): adjust
6023
6024         * paragraph_pimpl.C (realizeFont): delete func
6025
6026 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6027
6028         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6029         row argument, constify cur argument.
6030
6031 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6032
6033         * text2.C (getFont): adjust
6034         (getLayoutFont): adjust
6035         (getLabelFont): adjust
6036
6037         * paragraph_funcs.C (TeXOnePar): adjust
6038         (outerFont): new func...
6039         (realizeFont): ...moved out from here, changed this to facilitate
6040         transition
6041
6042         * paragraph.C (getFont): take outerfont as arg, adjust
6043         (simpleTeXOnePar): add outerfont arg, adjust
6044
6045         * buffer.C (simpleLinuxDocOnePar): adjust
6046         (simpleDocBookOnePar): adjust
6047
6048         * CutAndPaste.C (pasteSelection): adjust
6049
6050         * BufferView.C (getEncoding): adjust
6051
6052 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6053
6054         * text2.C (setCharFont): adjust
6055         (setCounter): adjust
6056
6057         * text.C (leftMargin): adjust
6058         (setHeightOfRow): adjust
6059
6060         * rowpainter.C (paintFirst): adjust
6061         (paintLast): adjust
6062
6063         * paragraph_pimpl.C (realizeFont): adjust
6064
6065         * paragraph.C (isFirstInSequence): move from here...
6066         * paragraph_funcs.C (isFirstInSequence): ...to here
6067
6068         * paragraph.C (outerHook): move from here...
6069         * paragraph_funcs.C (outerHook): ...to here
6070
6071         * paragraph.C (depthHook): move from here...
6072         * paragraph_funcs.C (depthHook): ...to here
6073
6074         * paragraph.C (getEndLabel): move from here...
6075         * paragraph_funcs.C (getEndLabel): ...to here
6076
6077         * text2.C (realizeFont): move from here...
6078         * paragraph_funcs.C (realizeFont): ...to here
6079
6080 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6081
6082         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6083
6084 2003-04-14  Angus Leeming  <leeming@lyx.org>
6085
6086         * LColor.[Ch]: scrap LColor mathcursor.
6087
6088 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6089
6090         * lyxlex.[Ch] (text): delete function
6091         * trans.C (Load): adjust
6092         * paragraph_funcs.C (readParToken): adjust
6093
6094 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6095
6096         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6097         vector<char> instead of a char[].
6098
6099         * lyxlex_pimpl.C (getString): adjust
6100         (next): adjust
6101         (lex): use getString
6102         (eatLine): adjust
6103         (nextToken): adjust
6104
6105         * lyxlex.C (text): use pimpl_->getString()
6106         (getBool): ditto
6107         (findToken): ditto
6108
6109 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6110
6111         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6112         (makeFontEntriesLayoutSpecific): temp var for par.size()
6113         (setLayout): temp var for ownerParagraphs().end()
6114         (fullRebreak): temp var for rows().end()
6115         (selectionAsString): temp var for boost::next(startpit), realize
6116         that the while really is a regular for loop.
6117         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6118         setCursor in one place.
6119         (setParagraph): temp vr for ownerParagraphs().end()
6120         (updateCounters): make the while loop a for loop
6121         (cutSelection): temp var for ownerParagraphs().end()
6122         (updateInset): make the do {} while() a regular for loop
6123         (getCursorX): use temp vars
6124         (setCurrentFont): use temp vars
6125         (getColumnNearX): use temp vars
6126
6127 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6128
6129         * text.C (transformChar): use temp var for getChar
6130         (computeBidiTables): use temp var for row->par()
6131         (fill): move temp vars for row->par() and pit->layout() earlier in
6132         the function.
6133         (labelFill): use temp var for row->par()
6134         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6135         asc and desc, realize that pit never changes and that firstpit is
6136         just a duplicate and not needed. Exchange rit->par() with pit in a
6137         lot of places.
6138         (breakAgain): use a temp var for boost::next(rit)
6139         (breakAgainOneRow): ditto
6140         (breakParagraph): use a temp var for rows().begin()
6141         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6142         (cursorRightOneWord): use temp var for cursor.par() and
6143         cursor.pos(), remove usage of tmpcursor.
6144         (cursorLeftOneWord): use temp var for cursor.par() and
6145         cursor.pos() only set cur at end of function.
6146
6147 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6148
6149         * text.C, text2.C: exchange all usage of Paragraph::next with
6150         boost::next(ParagraphList::iterator)
6151
6152         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6153
6154         * text2.C (cursorTop): simplify implementation
6155         (cursorBottom): ditto
6156         (setParagraph): use ParagraphList::iterator
6157         (setCurrentFont): adjust
6158         (getColumnNearX): adjust
6159         (cursorRight): adjust
6160         (cursorLeft): remove usage of Paragraph::previous
6161         (cursorUpParagraph): ditto
6162         (deleteEmptyParagraphMechanism): slight cleanup
6163
6164         * text.C (isBoundary): take a Paragraph const & instead of a
6165         pointer as arg.
6166         (addressBreakPoint): ditto
6167         (leftMargin): remove usage of Paragraph::previous.
6168         (setHeightOfRow): ditto
6169         (cursorLeftOneWord): ditto
6170         (selectNextWordToSpellcheck): ditto
6171         (Delete): ditto
6172         (backspace): ditto
6173         (breakParagraph): remove one usage of Paragraph::next
6174         (redoParagraph): ditto
6175         (acceptChange): ditto
6176         (insertChar): adjust
6177         (rowBreakPoint): adjust
6178
6179         * bufferview_funcs.C (toggleAndShow): adjust
6180
6181 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6182
6183         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6184         methods to access it.
6185         * lyxtext.h:
6186         * text.C: Added updateRowPositions to compute all row positions.
6187         Make top_y and getRowNearY() to use the cached y position
6188
6189 2003-04-11  John Levon  <levon@movementarian.org>
6190
6191         * text.C (rowBreakPoint): reintroduce the labelEnd
6192         checks, code copied from the row fill stuff. Deep voodoo.
6193
6194         * text.C (fill): add a comment and debugging for the
6195         next poor soul.
6196
6197 2003-04-11  John Levon  <levon@movementarian.org>
6198
6199         * text.C: make sure fullrow insets get wrapped to the next line,
6200         even when they're in a manual label
6201
6202 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6203
6204         * text2.C (insertParagraph): make it take ParagraphList::iterator
6205         as arg.
6206         (setLayout): make it return ParagraphList::iterator
6207         (redoParagraphs): ditto
6208         (setCounter): ditto
6209         (checkParagraph): ditto
6210
6211         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6212
6213         * text2.C: adjust several funcs.
6214         (realizeFont): take a ParagraphList::iterator as arg.
6215         (getLayoutFont): ditto
6216         (getLabelFont): ditto
6217         (setCharFont): ditto
6218
6219         * text.C: adjust several funcs.
6220
6221 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6222
6223         * text.C (selectNextWordToSpellcheck): don't accidentally
6224         skip insets
6225
6226 2003-04-10  John Levon  <levon@movementarian.org>
6227
6228         * ToolbarBackend.C (getIcon): special handling for
6229         LFUN_MATH_DELIM
6230
6231 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6232
6233         * text2.C (cursorRight): a getChar assert fixed
6234
6235 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6236
6237         * text2.C (getFont): change to take a ParagraphList::iterator
6238         instead of Paragraph*
6239         Adjust several functions.
6240
6241         * text.C (transformChar): change to take a ParagraphList::iterator
6242         instead of Paragraph*
6243         (singleWidth): ditto
6244         Adjust several functions.
6245
6246         * rowpainter.C: adjust several functions
6247         * rowpainter.h:store a ParagraphList::iterator and not a
6248         Paragraph&.
6249
6250
6251 2003-04-09  John Levon  <levon@movementarian.org>
6252
6253         * lyxfunc.C:
6254         * lfuns.h:
6255         * LyXAction.h:
6256         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6257         and the "help" bits as well
6258
6259 2003-04-09  John Levon  <levon@movementarian.org>
6260
6261         * ToolbarBackend.h:
6262         * ToolbarBackend.C: allow multiple toolbars
6263
6264 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6265
6266         * undo_funcs.C (setCursorParUndo): adjust
6267
6268         * text_funcs.C (transposeChars): adjust
6269
6270         * text3.C (gotoNextInset): adjust
6271         (dispatch): adjust
6272
6273         * text2.C (setLayout): adjust
6274         (changeDepth): adjust
6275         (setFont): adjust
6276         (redoParagraphs): adjust
6277         (selectionAsString): adjust
6278         (setParagraph): adjust
6279         (insertInset): adjust
6280         (cutSelection): adjust
6281         (copySelection): adjust
6282         (pasteSelection): adjust
6283         (insertStringAsLines): adjust
6284         (updateInset): adjust
6285         (setCursor): change to take a ParagraphList::iterator parameter
6286         (setCursorIntern): change to take a ParagraphList::iterator parameter
6287         (setCurrentFont): adjust
6288         (cursorLeft): adjust
6289         (cursorRight): adjust
6290         (deleteEmptyParagraphMechanism): adjust
6291
6292         * text.C (breakParagraph): adjust
6293         (insertChar): adjust
6294         (acceptChange): adjust
6295         (rejectChange): adjust
6296         (selectNextWordToSpellcheck): adjust
6297         (changeCase): adjust
6298         (Delete): adjust
6299         (backspace): adjust
6300
6301         * lyxfind.C (SearchForward): adjust
6302         (SearchBackward): adjust
6303         (nextChange): adjust
6304
6305         * lyxcursor.C (par): adjust
6306
6307         * lyxcursor.h: store a ParagraphList::iterator instead of a
6308         Paragraph*
6309
6310         * lyx_cb.C (getPossibleLabel): adjust
6311
6312         * bufferview_funcs.C (toggleAndShow): adjust
6313
6314         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6315         (dispatch): adjust
6316
6317         * BufferView.C (removeAutoInsets): adjust
6318         (lockedInsetStoreUndo): adjust
6319
6320 2003-04-09  John Levon  <levon@movementarian.org>
6321
6322         * ToolbarBackend.C: try icon without argument
6323         if with argument fails
6324
6325 2003-04-08  John Levon  <levon@movementarian.org>
6326
6327         * ToolbarBackend.h:
6328         * ToolbarBackend.C: add getIcon(), handle tooltip,
6329         and change from "Icon" to "Item".
6330
6331 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6332
6333         * BufferView.C (lockInset): another bad getchar crunched
6334
6335 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6336
6337         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6338         again)
6339
6340 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6341
6342         * lyxfind.C (searchForward, searchBackwards): bug 782
6343
6344 2003-04-07  John Levon  <levon@movementarian.org>
6345
6346         * paragraph.C: remove dead comment
6347
6348         * text.C: remove troublesome depth-fiddling code
6349         in leftMargin() and rightMargin() (bug 1017)
6350
6351         * text.C: fix breaking of rows in nested lists
6352         (bug 1004)
6353
6354         * text2.C (updateCounters): fix up depth values
6355         (bug 1013)
6356
6357 2003-04-07  John Levon  <levon@movementarian.org>
6358
6359         * BufferView_pimpl.C: clear message when doc finishes resizing,
6360         and after a mouse event
6361
6362         * lyxfunc.C: clear message after exiting inset
6363
6364 2003-04-07  John Levon  <levon@movementarian.org>
6365
6366         * bufferview_funcs.C: show math status not outside
6367         status in the statusbar
6368
6369 2003-04-07  John Levon  <levon@movementarian.org>
6370
6371         * lyxfunc.C: note status changed after a depth change
6372
6373 2003-04-04  Angus Leeming  <leeming@lyx.org>
6374
6375         * LaTeX.h: move AuxInfo operator==, != out of line.
6376         Remove LaTeX virtual destructor; nothing derives from it.
6377         Move operator()() out of public area and rename it startscript().
6378         Change protected for private.
6379
6380 2003-04-04  Angus Leeming  <leeming@lyx.org>
6381
6382         * lyxfunc.C:
6383         * text2.C: remove unneeded #includes.
6384
6385 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6386
6387         * text2.C (dEPM): fix the heigth of the next row
6388
6389 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6390
6391         * text.C: squashed an invalid getChar requester + some ws changes
6392
6393 2003-04-03  John Levon  <levon@movementarian.org>
6394
6395         * bufferview_funcs.h:
6396         * bufferview_funcs.C:
6397         * lyxfunc.C:
6398         * lyxtext.h:
6399         * text2.C: make getStatus work for the env depth lfuns
6400
6401 2003-04-03  John Levon  <levon@movementarian.org>
6402
6403         * bufferview_funcs.h:
6404         * bufferview_funcs.C:
6405         * lyxfunc.C:
6406         * lyxtext.h:
6407         * text2.C: parlistize decDepth(), by merging it with incDepth()
6408
6409 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6410
6411         * lyxrow.h: store a ParagraphList::iterator instead of a
6412         Paragraph* and adjust other class functions to suit.
6413
6414         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6415         above.
6416
6417 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6418
6419         * text2.C (setCursor): do not anchor to cursor row for the time being
6420
6421 2003-04-02  John Levon  <levon@movementarian.org>
6422
6423         * LyXAction.C:
6424         * lfuns.h:
6425         * lyx_main.C:
6426         * lyxtext.h:
6427         * text.C:
6428         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6429
6430 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6431
6432         * paragraph.h: make ParagraphList and ParagraphList::iterator
6433         friends of Paragraph.
6434
6435         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6436
6437         * ParagraphList.C: Use the private next_ and previous_ from
6438         Paragraph.
6439
6440 2003-04-01  John Levon  <levon@movementarian.org>
6441
6442         * ToolbarBackend.h:
6443         * ToolbarBackend.C:
6444         * Makefile.am: rename, remove defaults gunk
6445
6446         * MenuBackend.h:
6447         * MenuBackend.C: remove defaults gunk
6448
6449         * Languages.h:
6450         * Languages.C: remove defaults gunk
6451
6452         * lyx_main.h:
6453         * lyx_main.C: error out if files couldn't be found.
6454
6455 2003-04-02  John Levon  <levon@movementarian.org>
6456
6457         * text2.C: make incDepth() use parlist
6458
6459 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6460
6461         * undo_funcs.C (firstUndoParagraph): adjust
6462
6463         * text3.C (gotoInset): adjust
6464         (dispatch): adjust, and rewrite loop.
6465
6466         * text2.C (init): adjust, and rewrite loop.
6467         (redoParagraphs): adjust
6468         (updateInset): adjust, and rewrite loop.
6469         (deleteEmptyParagraphMechanism): adjust
6470
6471         * tabular.C (LyXTabular): adjust
6472         (SetMultiColumn): adjust
6473         (TeXRow): adjust
6474
6475         * lyxtext.[Ch] (ownerParagraph): delete function
6476         (ownerParagraphs): new function returns a ParagraphList.
6477
6478         * BufferView.C (removeAutoInsets): adjust
6479         (insertErrors): adjust
6480         (setCursorFromRow): adjust
6481
6482 2003-04-01  Angus Leeming  <leeming@lyx.org>
6483
6484         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6485         in the frontends.
6486
6487 2003-04-02  John Levon  <levon@movementarian.org>
6488
6489         * lyxtext.h:
6490         * text.C:
6491         * Makefile.am:
6492         * text_funcs.h:
6493         * text_funcs.C: make transposeChars a free function
6494
6495         * lyxrow_funcs.C: remove wrong comment
6496
6497 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6498
6499         * lyxtext.h: adjust
6500         * rowpainter.C: adjust
6501         * text.C: adjust
6502         * text2.C: adjust
6503         * text3.C: adjust
6504
6505         * lyxrow_funcs. [Ch]: new files
6506
6507         * lyxrow.[Ch]: remove next and previous pointers
6508         (next,previous): remove accessor functions
6509         (isParEnd): move to lyxrow_funcs
6510         (lastPos): move to lyxrow_funcs
6511         (nextRowIsAllInset): move to lyxrow_funcs
6512         (lastPrintablePos): move to lyxrow_funcs
6513         (numberOfSeparators): move to lyxrow_funcs
6514         (numberOfHfills): move to lyxrow_funcs
6515         (numberOfLabelHfills): move to lyxrow_funcs
6516         (hfillExpansion): move to lyxrow_funcs
6517
6518         * lyxfunc.C: adjust
6519
6520         * bufferview_funcs.C (toggleAndShow): adjust
6521
6522         * RowList.h: Remove class RowList from file leave just a
6523         std::list<Row>.
6524
6525         * RowList.C: delete file
6526
6527         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6528         and lyxrow_funcs.h
6529
6530 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6531
6532         * text3.C (cursorPrevious): adjust
6533         (cursorNext): adjust
6534         (dispatch): adjust
6535
6536         * text2.C (redoHeightOfParagraph): adjust
6537         (redoDrawingOfParagraph): adjust
6538         (setCursor): adjust
6539
6540         * text.C (breakParagraph): adjust
6541         (insertChar): adjust
6542         (backspace): adjust
6543
6544         * rowpainter.C (RowPainter): adjust
6545         (leftMargin): simplify and adjust
6546         (most rowpainter functions): adjust.
6547
6548         * rowpainter.h: store the row as RowList::iterator not as Row*
6549
6550         * lyxcursor.C (row): taka RowList::iterator as arg
6551         (irow): ditto
6552
6553         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6554         of Row*.
6555
6556 2003-04-01  Angus Leeming  <leeming@lyx.org>
6557
6558         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6559         stuff like bool Bool.
6560
6561 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6562
6563         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6564         rewrite a loop
6565
6566 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6567
6568         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6569         RowList::iterator.
6570
6571         * lyxtext.h (rows): drop one version and leve a const variant that
6572         returns a RowList::iterator.
6573
6574 2003-03-31  Angus Leeming  <leeming@lyx.org>
6575
6576         * text.C (fill): ensure that the signature is the same as that in the
6577         header file.
6578
6579 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6580
6581         * text2.C (redoParagraphs): adjust
6582         (updateCounters): adjust
6583         (checkParagraph): adjust
6584         (getColumnNearX): adjust and reformat a bit.
6585
6586         * text.C (top_y): adjust
6587         (workWidth): adjust
6588         (leftMargin): adjust
6589         (prepareToPrint): adjust
6590         (getRow): adjust
6591         (getRowNearY): adjust
6592
6593         * lyxtext.h: make rowlist_ mutable.
6594
6595         * RowList.h: add const_iterator
6596         * RowList.C: adjust for RowList::const_iterator.
6597
6598         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6599         adjust.
6600
6601 2003-03-31  John Levon  <levon@movementarian.org>
6602
6603         * lyxrc.h:
6604         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6605
6606         * lyx_main.C: set default fonts from using lyx_gui funcs
6607
6608         * exporter.C: pdf_mode moved from lyxrc
6609
6610         * lyx_cb.C:
6611         * lyxfunc.C: changes from above
6612
6613 2003-03-31  John Levon  <levon@movementarian.org>
6614
6615         * lyx_main.C: fix to the last fix
6616
6617 2003-03-31  John Levon  <levon@movementarian.org>
6618
6619         * bufferlist.C: "Load original" -> "Load Original"
6620
6621         * converter.C:
6622         * exporter.C:
6623         * importer.C:
6624         * lyx_main.C:
6625         * format.C: more Alert cleanups
6626
6627 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6628
6629         * text2.C (removeParagraph): make it take a RowList::iterator as
6630         arg, adjust.
6631         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6632         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6633
6634         * text.C (anchor_row): make it take a RowList::iterator as arg,
6635         adjust.
6636         (computeBidiTables): make it take a const reference to Row instead
6637         of Row pointer, adjust.
6638         (leftMargin): make it take a RowList::iterator as arg, adjust.
6639         (rowBreakPoint): adjust
6640         (breakAgainOneRow): make it take a RowList::iterator as arg,
6641         adjust.
6642         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6643
6644         * bufferview_funcs.C (toggleAndShow): adjust
6645
6646 2003-03-30  John Levon  <levon@movementarian.org>
6647
6648         * Makefile.am:
6649         * BoostFormat.h:
6650         * boost-inst.C: moved to support
6651
6652         * several files: changes as a result
6653
6654 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6655
6656         * text2.C (LyXText): adjust.
6657         (init): adjust
6658         (removeRow): make it take a RowList::iterator as arg, adjust.
6659         (fullRebreak): adjust
6660         (deleteEmptyParagraphMechanism): adjust
6661         (clearPaint): adjust
6662         (postPaint): adjust
6663
6664         * text.C (top_y): adjust
6665         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6666         (breakAgain): make it take a RowList::iterator as arg, adjust.
6667         (breakParagraph): adjust
6668         (insertChar): adjust
6669         (backspace): adjust
6670
6671         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6672         need_break_row, and refresh_row.
6673
6674         * text3.C (dispatch): adjust
6675
6676         * text2.C (checkParagraph): adjust
6677         (setCursor): adjust
6678         (setCursorFromCoordinates): adjust
6679
6680         * text.C (top_y): adjust
6681         (workWidth): adjust
6682         (getRow): make it return a RowList::iterator, adjust
6683         (getRowNearY): make it return a RowList::iterator, adjust
6684
6685         * text2.C (init): adjust
6686         (insertRow): remove function
6687         (insertParagraph): adjust
6688         (redoParagraphs): adjust
6689         (fullRebreak): adjust
6690         (updateCounters): adjust
6691
6692         * text.C (top_y): rewrite to use RowList iterators.
6693         (top_y): adjust
6694         (setHeightOfRow): rewrite to sue RowList iterators.
6695         (appendParagraph): adjust
6696         (breakAgain): adjust
6697         (breakAgainOneRow): adjust
6698         (breakParagraph): adjust
6699         (getRow): adjust
6700         (getRowNearY): adjust, and remove commented code.
6701
6702         * lyxtext.h (firstRow): delete function
6703         (lastRow): delete function
6704         (rows): new function (const and non-const versions.)
6705         (insertRow): delete function
6706
6707         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6708
6709 2003-03-29  John Levon  <levon@movementarian.org>
6710
6711         * BufferView_pimpl.C: always update scrollbar top
6712         because pasting text when we're anchored could mean we
6713         miss an update altogether
6714
6715 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6716
6717         * text2.C (init): use rowlist_.end() and not 0.
6718         (insertRow): change to take a RowList::iterator as arg, adjust
6719         for this.
6720         (insertParagraph): change to take a RowList::iterator as arg,
6721         adjust for this.
6722         (redoParagraphs): remove some debug msgs.
6723
6724         * text.C (appendParagraph): change to take a RowList::iterator
6725         arg, adjust for this.
6726         (breakAgain): add an assert
6727         (breakAgainOneRow): ditto
6728
6729 2003-03-29  John Levon  <levon@movementarian.org>
6730
6731         * text2.C: do not clear selection after inc/decDepth
6732         (bug 550)
6733
6734 2003-03-29  John Levon  <levon@movementarian.org>
6735
6736         * BufferView.C:
6737         * buffer.C: fix broken strerrors according to Lars
6738
6739 2003-03-29  John Levon  <levon@movementarian.org>
6740
6741         * converters.C: more Alert cleanups
6742
6743 2003-03-29  John Levon  <levon@movementarian.org>
6744
6745         * bufferview_funcs.C: remove pointless Alert
6746
6747         * buffer.C: fix confusing error message when
6748         a template is chmoded 000
6749
6750 2003-03-29  John Levon  <levon@movementarian.org>
6751
6752         * BufferView.C:
6753         * BufferView.h:
6754         * BufferView_pimpl.C: Alert fixes
6755
6756         * Makefile.am:
6757         * tabular.C:
6758         * tabular-old.C: remove unused table compat reading
6759
6760 2003-03-29  John Levon  <levon@movementarian.org>
6761
6762         * BufferView.C:
6763         * buffer.C:
6764         * lyx_cb.h:
6765         * lyx_cb.C: more Alert cleanups
6766
6767         * lyxfunc.C: don't allow chktex if not latex document
6768
6769 2003-03-29  John Levon  <levon@movementarian.org>
6770
6771         * lyx_cb.C:
6772         * BufferView.C:
6773         * buffer.C: warnings pushed down from support/,
6774         kill err_alert
6775
6776 2003-03-29  John Levon  <levon@movementarian.org>
6777
6778         * lyxfunc.C: safety check for C-r (revert)
6779
6780 2003-03-29  John Levon  <levon@movementarian.org>
6781
6782         * bufferlist.h:
6783         * bufferlist.C: several UI fixes using Alert::prompt.
6784         Fix the pointless looping quit code. Fix stupid revert
6785         behaviour (bug 938)
6786
6787         * lyxvc.h:
6788         * lyxvc.C:
6789         * lyx_cb.C: use Alert::prompt
6790
6791         * lyx_main.C: remove a silly question
6792
6793         * lyxfunc.C: remove a couple of silly questions,
6794         use Alert::prompt
6795
6796 2003-03-28  John Levon  <levon@movementarian.org>
6797
6798         * text2.C: fix bug 974 (End on empty par)
6799
6800 2003-03-28  John Levon  <levon@movementarian.org>
6801
6802         * BufferView_pimpl.C:
6803         * LyXAction.C:
6804         * lfuns.h: remove do-nothing math greek lfuns
6805
6806 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6807
6808         * lyxgluelength.h (isValidGlueLength): add default arg on
6809         parameter 2. Remove default arg from friend in class.
6810
6811         * lyxlength.h (isValidLength): add default arg on parameter 2.
6812         Remove default arg from friend in class.
6813
6814         * text2.C (LyXText): adjust, initialize refresh_row.
6815         (init): adjust
6816         (removeRow): adjust
6817         (insertRow): adjust
6818         (insertParagraph): adjst
6819         (redoParagraphs): adjust
6820         (fullRebreak): adjust
6821         (updateCounters): adjust
6822         (deleteEmptyParagraphMechanism): first attempt at fixing a
6823         crashing bug.
6824
6825         * text.C (top_y): adjust
6826         (setHeightOfRow): adjust
6827         (getRow): adjust
6828         (getRowNearY): adjust
6829
6830         * lyxtext.h: include RowList.h
6831         (~LyXText): not needed anymore, deleted.
6832         (firstRow): modify for RowList
6833         (lastRow): new function
6834         Delete firstrow and lastrow class variables, add a Rowlist
6835         rowlist_ class variable.
6836
6837         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6838         paragraph is empty.
6839
6840         * RowList.C (insert): fix case where it == begin().
6841
6842 2003-03-26  Angus Leeming  <leeming@lyx.org>
6843
6844         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6845         the thesaurus dialog.
6846
6847 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6848
6849         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6850
6851         * RowList.[Ch]: new files
6852
6853         * ParagraphList.C (erase): handle the case where it == begin
6854         correctly.
6855
6856 2003-03-25  John Levon  <levon@movementarian.org>
6857
6858         * Makefile.am:
6859         * aspell_local.h:
6860         * aspell.C: add new aspell support
6861
6862         * lyxrc.h:
6863         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6864         have it accessible.
6865
6866 2003-03-25  Angus Leeming  <leeming@lyx.org>
6867
6868         * lfuns.h:
6869         * LyXAction.C (init): new LFUN_INSET_INSERT.
6870
6871         * BufferView_pimpl.C (dispatch): split out part of the
6872         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6873
6874         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6875         LFUN_INSET_APPLY.
6876
6877 2003-03-25  Angus Leeming  <leeming@lyx.org>
6878
6879         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6880
6881 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6882
6883         * text2.C:
6884         * text3.C: remove useless row->height(0)
6885
6886 2003-03-25  John Levon  <levon@movementarian.org>
6887
6888         * lyxtext.h:
6889         * text2.C:
6890         * text3.C: rename the refreshing stuff to better names
6891
6892 2003-03-24  John Levon  <levon@movementarian.org>
6893
6894         * BufferView_pimpl.h:
6895         * BufferView_pimpl.C: update layout choice on a mouse
6896         press/release
6897
6898 2003-03-23  John Levon  <levon@movementarian.org>
6899
6900         * Makefile.am: fix commandtags.h reference
6901
6902 2003-03-22  John Levon  <levon@movementarian.org>
6903
6904         * BufferView_pimpl.C:
6905         * lyxtext.h:
6906         * rowpainter.C:
6907         * rowpainter.h:
6908         * text.C:
6909         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6910
6911 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6912
6913         * lyxtext.h:
6914         * text.C: take the rtl methods out of line
6915
6916 2003-03-21 André Pönitz <poenitz@gmx.net>
6917
6918         * metricsinfo.[Ch]: new files containing structures to be passed around
6919         during the two-phase-drawing...
6920
6921 2003-03-21 André Pönitz <poenitz@gmx.net>
6922
6923         * lyxtextclass.C: read 'environment' tag.
6924
6925 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6926
6927         * text2.C (removeRow): fix bug 964
6928
6929 2003-03-20  John Levon  <levon@movementarian.org>
6930
6931         * rowpainter.C:
6932         * text.C:
6933         * text2.C: paint cleanups. Inset::update() dropped font
6934         parameter
6935
6936 2003-03-19  John Levon  <levon@movementarian.org>
6937
6938         * lyxfunc.C: only fitcursor/markDirty if available()
6939
6940 2003-03-19  John Levon  <levon@movementarian.org>
6941
6942         * commandtags.h: rename to ...
6943
6944         * lfuns.h: ... this, and renumber / cleanup
6945
6946 2003-03-19  John Levon  <levon@movementarian.org>
6947
6948         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6949         fit the cursor after an lfun
6950
6951         * BufferView.h:
6952         * BufferView.C:
6953         * BufferView_pimpl.h:
6954         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6955
6956         * LyXAction.C: layout-character should have ReadOnly
6957
6958         * ParagraphParameters.C:
6959         * buffer.C:
6960         * bufferview_funcs.C:
6961         * lyx_cb.C:
6962         * lyxfind.C:
6963         * lyxtext.h:
6964         * text.C:
6965         * text2.C:
6966         * text3.C:
6967         * undo_funcs.C: changes from above
6968
6969 2003-03-18  John Levon  <levon@movementarian.org>
6970
6971         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6972         remove it from update()
6973
6974         * lyxfunc.C: update layout choice after an lfun
6975
6976         * text3.C: remove extra updateLayoutChoice()s
6977
6978 2003-03-18  John Levon  <levon@movementarian.org>
6979
6980         * text.C: top_y change means full repaint, fix
6981         a drawing bug with cursor movement
6982
6983 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6984
6985         * lyxtext.h:
6986         * text.C:
6987         * text2.C: anchor row on setCursor
6988
6989 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
6990
6991         * lyxtext.h: remove almost all mutable keywords
6992         * text.C:
6993         * text2.C:
6994         * text3.C: remove const keywords accordingly
6995
6996 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
6997
6998         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6999         anon namespace
7000         (TeXEnvironment): ditto
7001         (TeXOnePar): ditto
7002
7003 2003-03-17  John Levon  <levon@movementarian.org>
7004
7005         * text.C (rowBreakPoint): remove attempt to fix displayed
7006         math insets inside a manual label
7007
7008 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7009
7010         * lyxtext.h: remove BufferView* as first arg from almost all class
7011         functions.
7012         * other files: adjust.
7013
7014 2003-03-17  John Levon  <levon@movementarian.org>
7015
7016         * lyxtext.h:
7017         * undo_funcs.C:
7018         * text2.C: more paint cleanups
7019
7020         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7021
7022         * rowpainter.h:
7023         * rowpainter.C: remove "smart" background painting code
7024
7025 2003-03-16  John Levon  <levon@movementarian.org>
7026
7027         * lyxtext.h:
7028         * text.C:
7029         * text2.C:
7030         * text3.C: add helper functions for setting refresh_row/y
7031
7032 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7033
7034         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7035         newline inset which *can* get inserted in the pass_thru layouts.
7036         This is primarily for literate documents.
7037
7038 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7039
7040         * buffer.C: increment LYX_FORMAT to 223
7041
7042 2003-03-14 André Pönitz <poenitz@gmx.net>
7043
7044         * textclass.h: prepare for environment handling, ws changes
7045         * lyxlayout.C: read latexheader and latexfooter tags
7046
7047 2003-03-14  John Levon  <levon@movementarian.org>
7048
7049         * text2.C: rewrite ::status() a bit
7050
7051 2003-03-13  John Levon  <levon@movementarian.org>
7052
7053         * lyxtext.h: add some docs
7054
7055 2003-03-13  John Levon  <levon@movementarian.org>
7056
7057         * lyxtext.h:
7058         * text.C:
7059         * text2.C:
7060         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7061
7062 2003-03-13  John Levon  <levon@movementarian.org>
7063
7064         * text3.C: fix appendix redrawing
7065
7066 2003-03-13  John Levon  <levon@movementarian.org>
7067
7068         * text.C (setHeightOfRow):
7069         * rowpainter.h:
7070         * rowpainter.C: make appendix mark have the text
7071           "Appendix" so the user knows what it is
7072
7073         * LColor.h:
7074         * LColor.C: s/appendixline/appendix/ from above
7075
7076 2003-03-13  John Levon  <levon@movementarian.org>
7077
7078         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7079
7080         * text.C: fix a getChar(pos) bug properly
7081
7082 2003-03-13  Angus Leeming  <leeming@lyx.org>
7083
7084         * commandtags.h:
7085         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7086         Probably only temporary. Let's see how things pan out.
7087
7088         * BufferView.C (unlockInset):
7089         * BufferView_pimpl.C (fitCursor):
7090         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7091
7092         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7093         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7094
7095         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7096         new functions that convert ParagraphParameters to and from a string.
7097
7098         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7099         BufferView::Pimpl's dispatch.
7100         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7101
7102 2003-03-13 André Pönitz <poenitz@gmx.net>
7103
7104         * lyxfunc.C:
7105         * text3.C:
7106         * factory.C: make it aware of InsetEnv
7107
7108 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7109
7110         * text2.C (setCursor): never ask for one past last
7111         (setCursor): add some debugging messages.
7112
7113         * text.C (singleWidth): never ask for one past last
7114         (singleWidth): ditto
7115         (leftMargin): ditto
7116         (rightMargin): ditto
7117         (rowBreakPoint): ditto
7118         (setHeightOfRow): ditto
7119         (prepareToPrint): ditto
7120
7121         * rowpainter.C (paintBackground): never ask for one past last
7122         (paintText): never ask for one past last
7123
7124         * paragraph_pimpl.C (getChar): make the assert stricter, never
7125         allow the one past last pos to be taken
7126
7127         * paragraph.C (getChar): ws changes only
7128
7129         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7130         (numberOfSeparators): ditto
7131         (numberOfHfills): ditto
7132
7133 2003-03-12  John Levon  <levon@movementarian.org>
7134
7135         * author.h:
7136         * author.C:
7137         * bufferparams.h:
7138         * bufferparams.C:
7139         * paragraph_funcs.C: fix per-buffer authorlists
7140
7141 2003-03-12  John Levon  <levon@movementarian.org>
7142
7143         * text.C: fix newline in right address
7144
7145 2003-03-12  Angus Leeming  <leeming@lyx.org>
7146
7147         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7148         duplicate those in LyXFunc::dispatch.
7149
7150         * commandtags.h:
7151         * LyXAction.C:
7152         * ToolbarDefaults.C:
7153         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7154         Add LFUN_FONTFREE_UPDATE.
7155
7156         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7157         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7158
7159         * bufferview_func.[Ch]: several new functions to facilliate
7160         transfer of data to and from the character dialog.
7161
7162 2003-03-12  John Levon  <levon@movementarian.org>
7163
7164         * buffer.C:
7165         * paragraph.h:
7166         * paragraph.C:
7167         * paragraph_funcs.C:
7168         * paragraph_pimpl.C:
7169         * sgml.C:
7170         * tabular.C:
7171         * text.C:
7172         * text3.C: remove META_NEWLINE in favour of an inset
7173
7174         * rowpainter.h:
7175         * rowpainter.C: remove paintNewline (done by inset)
7176
7177 2003-03-12  John Levon  <levon@movementarian.org>
7178
7179         * paragraph_pimpl.C: complain about bad getChar()s
7180         for a while at least
7181
7182 2003-03-12  John Levon  <levon@movementarian.org>
7183
7184         * buffer.h:
7185         * buffer.C: move paragraph read into a separate function,
7186         a little renaming to reflect that.
7187
7188         * bufferparams.h:
7189         * bufferparams.C: remove the author_ids map, not necessary now
7190
7191         * factory.h:
7192         * factory.C: moved Buffer::readInset to here
7193
7194         * paragraph_funcs.h:
7195         * paragraph_funcs.C: readParagraph free function moved from
7196         buffer.C
7197
7198         * tabular.C: name change
7199
7200 2003-03-12  John Levon  <levon@movementarian.org>
7201
7202         * buffer.C:
7203         * ParagraphParameters.C: move par params input to
7204         a read() method
7205
7206         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7207         behave like a normal read from the stream wrt reading
7208         a line vs. a \\token
7209
7210 2003-03-12  John Levon  <levon@movementarian.org>
7211
7212         * paragraph.C:
7213         * ParagraphParameters.h:
7214         * ParagraphParameters.C: move output code to a
7215         ::write() method
7216
7217 2003-03-12  John Levon  <levon@movementarian.org>
7218
7219         * BufferView.C (insertLyXFile):
7220         * buffer.h:
7221         * buffer.C:
7222         * tabular.C: use a parlist iterator for creating the
7223           document.
7224
7225 2003-03-12  John Levon  <levon@movementarian.org>
7226
7227         * buffer.C: make current_change static local not
7228           static file-scope
7229
7230 2003-03-12  John Levon  <levon@movementarian.org>
7231
7232         * buffer.C: fix insertStringAsLines for change tracking
7233
7234 2003-03-12  John Levon  <levon@movementarian.org>
7235
7236         * BufferView.C:
7237         * tabular.C:
7238         * buffer.h:
7239         * buffer.C:
7240         * bufferparams.h:
7241         * bufferparams.C: move author list into params. Rename some
7242           functions. Move the header reading into a separate token
7243           loop. Move the header token reading into BufferParams.
7244
7245 2003-03-12  John Levon  <levon@movementarian.org>
7246
7247         * changes.C: put debug inside lyxerr.debugging() checks
7248
7249 2003-03-11 André Pönitz <poenitz@gmx.net>
7250
7251         * factory.C: make it aware of InsetHFill
7252
7253 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7254
7255         * buffer.C (latexParagraphs): move function from here...
7256         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7257         args.
7258
7259 2003-03-10  Angus Leeming  <leeming@lyx.org>
7260
7261         * LyXAction.C (init): fix bug in poplating array with multiple entries
7262         with the same LFUN (spotted by JMarc).
7263
7264 2003-03-10  John Levon  <levon@movementarian.org>
7265
7266         * text.C:
7267         * text2.C: move getColumnNearX() near its
7268         only call site
7269
7270 2003-03-10  John Levon  <levon@movementarian.org>
7271
7272         * text.C: fix break before a minipage
7273
7274 2003-03-10  John Levon  <levon@movementarian.org>
7275
7276         * text.C: fix the last commit
7277
7278 2003-03-09  John Levon  <levon@movementarian.org>
7279
7280         * lyxtext.h:
7281         * text.C:
7282         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7283         bug 365 (don't break before insets unless needed). Don't
7284         return a value > last under any circumstances.
7285
7286 2003-03-09  Angus Leeming  <leeming@lyx.org>
7287
7288         * BufferView_pimpl.C (trackChanges, dispatch): call
7289         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7290
7291 2003-03-09  Angus Leeming  <leeming@lyx.org>
7292
7293         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7294         than Dialogs::showAboutlyx().
7295
7296 2003-03-09  Angus Leeming  <leeming@lyx.org>
7297
7298         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7299         than Dialogs::showTabularCreate().
7300
7301 2003-03-09  John Levon  <levon@movementarian.org>
7302
7303         * lyxtext.h:
7304         * text.C:
7305         * text2.C: 3rd arg to nextBreakPoint was always the same.
7306           Use references.
7307
7308 2003-03-08  John Levon  <levon@movementarian.org>
7309
7310         * lyxrow.C:
7311         * paragraph.C:
7312         * paragraph.h:
7313         * rowpainter.C:
7314         * text.C:
7315         * text2.C: Remove the "main" bit from the "main body"
7316           notion.
7317
7318 2003-03-08  John Levon  <levon@movementarian.org>
7319
7320         * text.C (leftMargin): The left margin of an empty
7321         manual label paragraph should not include the label width
7322         string length.
7323
7324         * text.C (prepareToPrint): don't attempt to measure hfills
7325         for empty manual label paragraphs - the answer should be 0
7326
7327 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7328
7329         * CutAndPaste.C: remove commented code and reindent.
7330
7331 2003-03-08  John Levon  <levon@movementarian.org>
7332
7333         * lyxfunc.h:
7334         * lyxfunc.C: move reloadBuffer()
7335
7336         * BufferView.h:
7337         * BufferView.C: to here
7338
7339         * lyxvc.C: add comment
7340
7341         * vc-backend.h:
7342         * vc-backend.C: call bv->reload() to avoid
7343           getStatus() check on MENURELOAD
7344
7345 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7346
7347         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7348         to an old format .dep file.
7349
7350 2003-03-07  Angus Leeming  <leeming@lyx.org>
7351
7352         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7353         when the LFUN_MOUSE_RELEASE should have been handled by
7354         inset->localDispatch.
7355
7356 2003-03-07  Angus Leeming  <leeming@lyx.org>
7357
7358         * BufferView_pimpl.C (dispatch):
7359         * LyXAction.C (init):
7360         * ToolbarDefaults.C (init):
7361         * commandtags.h:
7362         * lyxfunc.C (getStatus):
7363         remove LFUN_INSET_GRAPHICS.
7364
7365         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7366
7367 2003-03-07  Angus Leeming  <leeming@lyx.org>
7368
7369         * commandtags.h:
7370         * LyXAction.C (init):
7371         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7372
7373         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7374
7375         * commandtags.h:
7376         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7377
7378         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7379         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7380
7381 2003-03-07  Angus Leeming  <leeming@lyx.org>
7382
7383         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7384         remove "ert".
7385
7386 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7387
7388         * ParagraphList.C (front): new function
7389         (back): implement
7390
7391 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7392
7393         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7394         and top_row_offset_. removed var first_y.
7395         * text.C (top_y):
7396         * text2.C (LyXText, removeRow):
7397         * text3.C:
7398         * BufferView_pimpl.C:
7399         use these methods instead of using first_y
7400
7401 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7402
7403         * text2.C (pasteSelection): adjust for checkPastePossible
7404
7405         * CutAndPaste.C: remove Paragraph * buf and replace with
7406         ParagraphList paragraphs.
7407         (DeleteBuffer): delete
7408         (cutSelection): change the tc type to textclass_type
7409         (copySelection): change the tc type to textclass_type
7410         (copySelection): adjust for ParagraphList
7411         (pasteSelection): change the tc type to textclass_type
7412         (pasteSelection): adjust for Paragraphlist
7413         (nrOfParagraphs): simplify for ParagraphList
7414         (checkPastePossible): simplify for ParagraphList
7415         (checkPastePossible): remove unused arg
7416
7417         * ParagraphList.C (insert): handle the case where there are no
7418         paragraphs yet.
7419
7420         * CutAndPaste.h: make CutAndPaste a namespace.
7421
7422         * text3.C (dispatch): adjust
7423
7424         * text.C (breakParagraph): add a ParagraphList as arg
7425
7426         * paragraph_funcs.C (breakParagraph): change to take a
7427         BufferParams and a ParagraphList as args.
7428         (breakParagraphConservative): ditto
7429         (mergeParagraph): ditto
7430         (TeXDeeper): add a ParagraphList arg
7431         (TeXEnvironment): ditto
7432         (TeXOnePar): ditto
7433
7434         * buffer.C (readLyXformat2): adjust
7435         (insertStringAsLines): adjust
7436         (latexParagraphs): adjust
7437
7438         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7439         (cutSelection): adjust
7440         (pasteSelection): adjust
7441
7442         * BufferView_pimpl.C (insertInset): adjust
7443
7444 2003-03-05  Angus Leeming  <leeming@lyx.org>
7445
7446         * commandtags.h:
7447         * LyXAction.C (init):
7448         * BufferView_pimpl.C (dispatch):
7449         * lyxfunc.C (getStatus):
7450         remove LFUN_CHILD_INSERT.
7451
7452         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7453
7454 2003-03-05  Angus Leeming  <leeming@lyx.org>
7455
7456         * commandtags.h:
7457         * LyXAction.C (init):
7458         * src/factory.C (createInset):
7459         * lyxfunc.C (getStatus):
7460         * text3.C (dispatch):
7461         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7462
7463         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7464
7465 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7466
7467         * ParagraphList.C (insert): handle insert right before end()
7468         (erase): fix cases where it can be first or last paragraph.
7469
7470 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7471
7472         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7473         Paragraph::next and Paragraph::previous
7474         (TeXOnePar): ditto
7475
7476         * text.C (breakParagraph): adjust
7477
7478         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7479         BufferParams& as arg.
7480         (breakParagraph): use ParagraphList::insert
7481         (breakParagraphConservative): take a Buffer* instead of a
7482         BufferParams& as arg.
7483         (breakParagraphConservative): use ParagraphList::insert.
7484
7485         * buffer.C (insertStringAsLines): un-const it
7486         (insertStringAsLines): adjust
7487
7488         * ParagraphList.C (insert): new function
7489
7490         * CutAndPaste.C (pasteSelection): adjust
7491
7492         * text.C (backspace): adjust
7493
7494         * tabular.C (SetMultiColumn): adjust
7495
7496         * CutAndPaste.C (cutSelection): adjust
7497         (pasteSelection): adjust
7498
7499         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7500         Buffer const * as arg
7501
7502         * ParagraphList.C (erase): new function
7503         * paragraph_funcs.C (mergeParagraph): use it
7504         (mergeParagraph): make it take a Buffer* instead of a
7505         BufferParams* as arg
7506
7507         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7508         as arg
7509         (breakParagraphConservative): ditto
7510
7511         * paragraph.h: remove the breakParagraph friend
7512
7513         * paragraph.C (eraseIntern): new function
7514         (setChange): new function
7515
7516         * paragraph_funcs.C (mergeParagraph): make it take a
7517         ParagraphList::iterator instead of a Paragraph *, adjust
7518         accordingly.
7519
7520         * paragraph.h: move an #endif so that the change tracking stuff
7521         also works in the NO_NEXT case.
7522
7523 2003-03-04  Angus Leeming  <leeming@lyx.org>
7524
7525         * commandtags.h:
7526         * LyXAction.C: new LFUN_INSET_MODIFY.
7527
7528         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7529         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7530
7531 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7532
7533         * several files: ws changes only
7534
7535         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7536         (TeXEnvironment): ditto
7537         (TeXDeeper): ditto
7538
7539         * buffer.C (makeLaTeXFile): adjust
7540         (latexParagraphs): make it take ParagraphList::iterator as args
7541
7542 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7543
7544         * buffer.C (latexParagraphs): adjust
7545
7546         * paragraph.C (TeXOnePar): move function...
7547         (optArgInset): move function...
7548         (TeXEnvironment): move function...
7549         * paragraph_pimpl.C (TeXDeeper): move function...
7550         * paragraph_funcs.C: ...here
7551
7552         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7553
7554 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7555
7556         * buffer.C (readInset): remove compability code for old Figure and
7557         InsetInfo insets
7558
7559 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7560
7561         * buffer.C: ws changes
7562         (readInset):
7563
7564         * BufferView_pimpl.C: ditto
7565         * author.C: ditto
7566         * buffer.h: ditto
7567         * bufferlist.h: ditto
7568         * changes.h: ditto
7569         * lyxfunc.C: ditto
7570
7571 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7572
7573         * converter.[Ch]: split into itself +
7574         * graph.[Ch]
7575         * format.[Ch]
7576         * Makefile.am: += graph.[Ch] + format.[Ch]
7577         * MenuBackend.C
7578         * buffer.C
7579         * exporter.C
7580         * importer.C
7581         * lyx_main.C
7582         * lyxfunc.C
7583         * lyxrc.C: added #include "format.h"
7584
7585 2003-02-27  Angus Leeming  <leeming@lyx.org>
7586
7587         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7588           a label.
7589
7590         * factory.C (createInset): add "label" to the factory.
7591
7592         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7593           string and do no more.
7594
7595 2003-02-27  Angus Leeming  <leeming@lyx.org>
7596
7597         * commandtags.h:
7598         * LyXAction.C (init):
7599         * factory.C (createInset):
7600         * BufferView_pimpl.C (dispatch):
7601           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7602
7603         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7604
7605         * lyxfunc.C (dispatch):
7606         * text3.C (dispatch): pass name to params2string.
7607
7608 2003-02-26  Angus Leeming  <leeming@lyx.org>
7609
7610         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7611           blocks together.
7612           Rearrange the ~includes. Strip out the unnecessary ones.
7613
7614         * factory.C (createInset): reformat.
7615           create new insets for the various LFUN_XYZ_APPLY lfuns.
7616
7617 2003-02-26  John Levon  <levon@movementarian.org>
7618
7619         * lyxrow.h:
7620         * lyxrow.C: add isParStart,isParEnd helpers
7621
7622         * paragraph.h: make isInserted/DeletedText take refs
7623
7624         * paragraph_funcs.h:
7625         * paragraph_funcs.C: remove #if 0'd code
7626
7627         * lyxtext.h:
7628         * text3.C:
7629         * text2.C:
7630         * text.C: use lyxrow helpers above.
7631           Move draw and paint routines to RowPainter.
7632           Make several methods use refs not pointers.
7633           Make backgroundColor() const.
7634           Add markChangeInDraw(), isInInset().
7635           Merge changeRegionCase into changeCase.
7636           Make workWidth() shouldn't-happen code into an Assert.
7637
7638         * rowpainter.h:
7639         * rowpainter.C: new class for painting a row.
7640
7641         * vspace.h:
7642         * vspace.C: make inPixels take a ref
7643
7644 2003-02-26  Angus Leeming  <leeming@lyx.org>
7645
7646         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7647         LFUN_REF_APPLY.
7648
7649 2003-02-25  John Levon  <levon@movementarian.org>
7650
7651         * ispell.C: give the forked command a more accurate name
7652
7653 2003-02-22  John Levon  <levon@movementarian.org>
7654
7655         * toc.h:
7656         * toc.C: make TocItem store an id not a Paragraph *
7657           (bug #913)
7658
7659 2003-02-21  Angus Leeming  <leeming@lyx.org>
7660
7661         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7662           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7663           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7664           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7665           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7666           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7667
7668         * BufferView_pimpl.C (dispatch):
7669         * LyXAction.C (init):
7670         * factory.C (createInset):
7671         * lyxfunc.C (getStatus, dispatch):
7672         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7673
7674 2003-02-21  Angus Leeming  <leeming@lyx.org>
7675
7676         * BufferView_pimpl.C (MenuInsertLyXFile):
7677         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7678         * lyxfunc.C (menuNew, open, doImport):
7679           no longer pass a LyXView & to fileDlg.
7680
7681 2003-02-21  Angus Leeming  <leeming@lyx.org>
7682
7683         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7684         * LyXAction.C: change, BIBKEY to BIBITEM.
7685         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7686         Change InsetBibKey to InsetBibitem.
7687         Change BIBKEY_CODE to BIBITEM_CODE.
7688         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7689         * factory.C: replace insetbib.h with insetbibitem.h.
7690         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7691         * paragraph.C: replace insetbib.h with insetbibitem.h.
7692         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7693         Change bibkey() to bibitem().
7694         * text.C: remove insetbib.h.
7695         * text2.C: replace insetbib.h with insetbibitem.h.
7696         change bibkey() to bibitem().
7697         * text3.C: remove insetbib.h.
7698         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7699
7700 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7701
7702         * lyxrc.C (output): enclose user email in quotes (in case there are
7703         several words)
7704
7705 2003-02-18  John Levon  <levon@movementarian.org>
7706
7707         * buffer.h: add std::
7708
7709 2003-02-17  John Levon  <levon@movementarian.org>
7710
7711         * SpellBase.h:
7712         * ispell.h:
7713         * ispell.C:
7714         * pspell.h:
7715         * pspell.C: reworking. Especially in ispell, a large
7716           number of clean ups and bug fixes.
7717
7718         * lyxfunc.C: fix revert to behave sensibly
7719
7720 2003-02-17 André Pönitz <poenitz@gmx.net>
7721
7722         * LyXAction.C:
7723         * commandtags.h: new LFUN_INSERT_BIBKEY
7724
7725         * layout.h:
7726         * lyxlayout.C:
7727         * buffer.C:
7728         * factory.C:
7729         * text.C:
7730         * text2.C:
7731         * text3.C:
7732         * paragraph.[Ch]:
7733         * paragraph_func.C: remove special bibkey handling
7734
7735 2003-02-17  John Levon  <levon@movementarian.org>
7736
7737         * text.C (Delete): fix case where delete at the end of
7738           the very first paragraph would not merge the pars
7739
7740 2003-02-17  John Levon  <levon@movementarian.org>
7741
7742         * lyxrow.C: fix lastPrintablePos()
7743
7744 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7745
7746         * bufferparams.C (writeLaTeX): add a std:here
7747
7748         * buffer.C: and remove a using directive there
7749
7750 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7751
7752         * buffer.C (makeLaTeXFile): move the code that generates the
7753           preamble...
7754
7755         * bufferparams.C (writeLaTeX): ... in this new method
7756
7757         * LaTeXFeatures.C (getEncodingSet): make const
7758           (getLanguages): make const
7759
7760         * MenuBackend.C (binding): returns the binding associated to this
7761           action
7762           (add): sets the status of each item by calling getStatus. Adds
7763           some intelligence.
7764           (read): add support for OptSubMenu
7765           (expand): remove extra separator at the end of expanded menu
7766
7767 2003-02-15  John Levon  <levon@movementarian.org>
7768
7769         * BufferView.C:
7770         * BufferView_pimpl.C:
7771         * bufferlist.h:
7772         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7773           inset code that had no actual effect. Remove unneeded status
7774           code.
7775
7776 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7777
7778         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7779           in preamble
7780
7781 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7782
7783         * text.C (drawLengthMarker): also draw an arrow marker for
7784           symbolic lengths (medskip...)
7785
7786 2003-02-14  John Levon  <levon@movementarian.org>
7787
7788         * tabular.h:
7789         * tabular.C: better method names
7790
7791 2003-02-14  John Levon  <levon@movementarian.org>
7792
7793         * BufferView_pimpl.C:
7794         * bufferlist.C:
7795         * buffer.C:
7796         * converter.C:
7797         * lyx_cb.C:
7798         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7799           it's a more accurate name. Remove some pointless uses.
7800
7801 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7802
7803         * text2.C (LyXText): change order of initilizers to shut off
7804           warnings
7805
7806 2003-02-14  John Levon  <levon@movementarian.org>
7807
7808         * buffer.C: use ParIterator for getParFromID()
7809
7810         * paragraph.h:
7811         * paragraph.C:
7812         * paragraph_pimpl.h:
7813         * paragraph_pimpl.C: remove unused getParFromID()
7814
7815 2003-02-14  John Levon  <levon@movementarian.org>
7816
7817         * buffer.C: remove some very old #if 0'd parse code
7818
7819 2003-02-13  John Levon  <levon@movementarian.org>
7820
7821         * text.h:
7822         * text.C:
7823         * text2.C: move hfillExpansion(), numberOfSeparators(),
7824           rowLast(), rowLastPrintable(), numberofHfills(),
7825           numberOfLabelHfills() ...
7826
7827         * lyxrow.h:
7828         * lyxrow.C: ... to member functions here.
7829
7830         * paragraph.h:
7831         * paragraph.C:
7832         * lyxtext.h:
7833         * text.C: remove LyXText::beginningOfMainBody(), and call
7834           p->beginningOfMainBody() directly. Move the check for
7835           LABEL_MANUAL into the latter.
7836
7837         * text.h:
7838         * text.C:
7839         * text2.C:
7840         * vspace.C:
7841         * BufferView.h:
7842         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7843
7844         * text.h:
7845         * text.C:
7846         * text2.C:
7847         * text3.C:
7848         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7849           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7850
7851 2003-02-13  John Levon  <levon@movementarian.org>
7852
7853         * CutAndPaste.C: remove debug
7854
7855 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7856
7857         * paragraph.C (asString): remove two unused variables
7858
7859         * lyxtextclass.C (readTitleType):
7860           (Read):
7861           (LyXTextClass): handle new members titletype_ and titlename_
7862
7863         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7864
7865 2003-02-09  John Levon  <levon@movementarian.org>
7866
7867         * buffer.h:
7868         * buffer.C: replace hand-coded list with a map for the dep clean
7869
7870 2003-02-08  John Levon  <levon@movementarian.org>
7871
7872         * LaTeX.C: consolidate code into showRunMessage() helper
7873
7874 2003-02-08  John Levon  <levon@movementarian.org>
7875
7876         * lyxfind.C:
7877         * lyxtext.h:
7878         * text2.C:
7879         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7880           and pass the size in explicitly
7881
7882         * BufferView_pimpl.h:
7883         * BufferView_pimpl.C:
7884         * BufferView.h:
7885         * BufferView.C: add getCurrentChange()
7886
7887         * BufferView_pimpl.h:
7888         * BufferView_pimpl.C: handle change lfuns
7889
7890         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7891           for changes. Mark pasted paragraphs as new.
7892
7893         * support/lyxtime.h:
7894         * support/lyxtime.C:
7895         * DepTable.C: abstract time_t as lyx::time_type
7896
7897         * LColor.h:
7898         * LColor.C: add colours for new text, deleted text, changebars
7899
7900         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7901           package use "usenames" option.
7902
7903         * commandtags.h:
7904         * lyxfunc.C:
7905         * LyXAction.C: add change lfuns
7906
7907         * Makefile.am:
7908         * author.h:
7909         * author.C: author handling
7910
7911         * buffer.h:
7912         * buffer.C: add a per-buffer author list, with first entry as
7913           current author. Handle new .lyx tokens for change tracking. Output
7914           author list to .lyx file. Output dvipost stuff to .tex preamble.
7915           Bump lyx format to 222.
7916
7917         * bufferlist.h:
7918         * bufferlist.C: add setCurrentAuthor() to reset current author details
7919           in all buffers.
7920
7921         * bufferparams.h:
7922         * bufferparams.C: add param for tracking
7923
7924         * bufferview_funcs.C: output change info in minibuffer
7925
7926         * Makefile.am:
7927         * changes.h:
7928         * changes.C: add change-tracking structure
7929
7930         * debug.h:
7931         * debug.C: add CHANGES debug flag
7932
7933         * lyxfind.h:
7934         * lyxfind.C: add code for finding the next change piece
7935
7936         * lyxrc.h:
7937         * lyxrc.C: add user_name and user_email
7938
7939         * lyxrow.h:
7940         * lyxrow.C: add a metric for the top of the text line
7941
7942         * lyxtext.h:
7943         * text.C: implement accept/rejectChange()
7944
7945         * lyxtext.h:
7946         * text.C: paint changebars. Paint new/deleted text in the chosen
7947         colours. Strike through deleted text.
7948
7949         * paragraph.h:
7950         * paragraph.C:
7951         * paragraph_pimpl.h:
7952         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7953           in the current change to the insert functions. Rework erase to
7954           mark text as deleted, adding an eraseIntern() and a range-based
7955           erase(). Implement per-paragraph change lookup and
7956           accept/reject.
7957
7958         * paragraph_funcs.C: Fixup paste for change tracking.
7959
7960         * tabular.C: mark added row/columns as new.
7961
7962         * text.C: fix rowLast() to never return -1. Don't allow
7963           spellchecking of deleted text. Track transpose changes. Don't
7964           allow paragraph break or merge where appropriate.
7965
7966         * text2.C: leave cursor at end of selection after a cut.
7967
7968 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7969
7970         * text.C (getLengthMarkerHeight):
7971         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7972         visible on screen too.
7973
7974 2003-02-07  John Levon  <levon@movementarian.org>
7975
7976         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7977
7978 2003-02-05  Angus Leeming  <leeming@lyx.org>
7979
7980         * lyxserver.C (read_ready): revert my patch of 11 September last year
7981         as it sends PC cpu through the roof. Presumably this means that
7982         the lyxserver will no longer run on an Alpha...
7983
7984 2003-01-30  Angus Leeming  <leeming@lyx.org>
7985
7986         * factory.C (createInset): create an InsetCommandParam of type "index"
7987         and use it to 'do the right thing'.
7988
7989         * text2.C (getStringToIndex): ensure that cursor position is always
7990         reset to the reset_cursor position.
7991
7992 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7993
7994         * lyxfunc.C (getStatus): "buffer-export custom" should never be
7995         disabled.
7996
7997 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
7998
7999         * bufferview.C:
8000         * lyxcb.C:
8001         * lyxfunc.C: Output messages with identical spelling, punctuation,
8002         and spaces
8003
8004 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8005
8006         * MenuBackend.C (expandFormats): List only viewable export formats
8007         in "View" menu
8008
8009         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8010         message
8011
8012         * lyxfunc.C (getStatus): Make sure that formats other than
8013         "fax" can also be disabled
8014
8015 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8016
8017         * text3.C (dispatch): put the lfuns that insert insets in 3
8018         groups, and call doInsertInset with appropriate arguments.
8019         (doInsertInset): new function, that creates an inset and inserts
8020         it according to some boolean parameters.
8021
8022 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8023
8024         * buffer.C (readFile): remember to pass on 'par' when calling
8025         readFile recursively.
8026
8027 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8028
8029         * MenuBackend.C (expandFormats): add "..." to import formats.
8030
8031 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8032
8033         * paragraph.C (asString): Remove XForms RTL hacks.
8034
8035 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8036         * buffer.C: fix typo
8037
8038 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8039
8040         * Makefile.am (LIBS): delete var
8041         (lyx_LDADD): add @LIBS@ here instead.
8042
8043 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8044
8045         * Clarify the meaning of "wheel mouse jump"
8046
8047 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8048
8049         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8050         tabular in a float
8051
8052 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8053
8054         * importer.C (Loaders): do not preallocate 3 elements in the
8055         vector, since one ends up with 6 elements otherwise
8056
8057 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8058
8059         * DepTable.C (write): write the file name as last element of the
8060         .dep file (because it may contain spaces)
8061         (read): read info in the right order
8062
8063 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8064
8065         * paragraph_pimpl.C (simpleTeXBlanks):
8066         (simpleTeXSpecialChars):
8067         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8068
8069         * tabular.C (latex): add some missing case statements. Reindent.
8070
8071         * MenuBackend.C (expandToc): remove unused variable.
8072
8073 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8074
8075         * LColor.C:
8076         * LaTeX.C:
8077         * LyXAction.C:
8078         * MenuBackend.C:
8079         * buffer.C:
8080         * exporter.C:
8081         * lyxfunc.C:
8082         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8083         and the like.
8084
8085 2003-01-05  John Levon  <levon@movementarian.org>
8086
8087         * BufferView.h:
8088         * BufferView.C: add getEncoding()
8089
8090         * kbsequence.h:
8091         * kbsequence.C: do not store last keypress
8092
8093         * lyxfunc.h:
8094         * lyxfunc.C: store last keypress here instead. Pass encoding
8095           to getISOEncoded()
8096
8097 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8098
8099         * lyx_main.C (init): remove annoying error message when following
8100         symbolic links (bug #780)
8101
8102 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8103
8104         * text.C (insertChar):
8105         * lyxrc.C (getDescription): remove extra spaces
8106
8107 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8108
8109         * lyxrc.C (getDescription): remove extra spaces
8110
8111 2002-12-20  John Levon  <levon@movementarian.org>
8112
8113         * text3.C: hack fix for page up/down across tall rows
8114
8115 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8116
8117         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8118         not been invoked
8119
8120 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8121
8122         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8123         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8124         thesaurus is not compiled in
8125
8126 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8127
8128         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8129
8130 2002-12-16  Angus Leeming  <leeming@lyx.org>
8131
8132         * lyxrc.[Ch]:
8133         * lyx_main.C (init): remove override_x_deadkeys stuff.
8134
8135 2002-12-12  John Levon  <levon@movementarian.org>
8136
8137         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8138           insert. Only remove shift modifier under strict
8139           circumstances.
8140
8141 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8142
8143         * MenuBackend.C (expandToc): fix crash.
8144
8145 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8146
8147         * MenuBackend.C (expandToc): gettext on float names.
8148
8149 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8150
8151         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8152         implement bool empty() [bug 490]
8153
8154 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8155
8156         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8157
8158 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8159
8160         * several files: ws changes
8161
8162 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8163
8164         * text2.C (setCounter): clean up a bit, use boost.format.
8165         (updateCounters): initialize par upon declaration.
8166
8167         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8168         if the layout exists. We do not just store the layout any more.
8169         (SwitchLayoutsBetweenClasses): use boost.format
8170
8171 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8172
8173         * converter.C (convert): if from and to files are the same, use a
8174         temporary files as intermediary
8175
8176 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8177
8178         * commandtags.h:
8179         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8180
8181 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8182
8183         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8184
8185 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8186
8187         * tabular.C (asciiPrintCell): use string(size, char) instead of
8188         explicit loop.
8189
8190         * sgml.C (openTag): fix order of arguments to string constructor
8191         (closeTag): ditto
8192
8193         * lyxfunc.C (dispatch): use boost.format
8194
8195         * lots of files: change "c" -> 'c'
8196
8197 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8198
8199         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8200
8201 2002-11-25  Angus Leeming  <leeming@lyx.org>
8202
8203         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8204
8205         * lyx_main.C (init): compile fix.
8206
8207 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8208
8209         * lyx_cb.C (start): boost.formatify
8210         do not include <iostream>
8211
8212         * lengthcommon.C: ws only
8213
8214         * boost-inst.C,BoostFormat.h: add more explict instantations
8215
8216 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8217
8218         * lots of files: handle USE_BOOST_FORMAT
8219
8220 2002-11-21  John Levon  <levon@movementarian.org>
8221
8222         * pspell.C: fix compile
8223
8224 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8225
8226         * lyxfunc.C (dispatch): use boost::format
8227         (open): ditto
8228         (doImport): ditto
8229
8230         * lyxfont.C (stateText): use boost::format
8231
8232         * lyx_main.C (LyX): use boost::format
8233         (init): ditto
8234         (queryUserLyXDir): ditto
8235         (readRcFile): ditto
8236         (parse_dbg): ditto
8237         (typedef boost::function): use the recommened syntax.
8238
8239         * importer.C (Import): use boost::format
8240
8241         * debug.C (showLevel): use boost::format
8242
8243         * converter.C (view): use boost::format
8244         (convert): ditto
8245         (move): ditto
8246         (scanLog): ditto
8247
8248         * bufferview_funcs.C (currentState): use boost::format
8249
8250         * bufferlist.C (emergencyWrite): use boost::format
8251
8252         * buffer.C (readLyXformat2): use boost::format
8253         (parseSingleLyXformat2Token): ditto
8254
8255         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8256
8257         * LaTeX.C (run): use boost::format
8258
8259         * Chktex.C (scanLogFile): use boost::format
8260
8261         * BufferView_pimpl.C (savePosition): use boost::format
8262         (restorePosition): ditto
8263         (MenuInsertLyXFile): ditto
8264
8265         * BoostFormat.h: help file for explicit instation.
8266
8267 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8268
8269         * tabular.C (latex): Support for block alignment in fixed width
8270         columns.
8271
8272 2002-11-17  John Levon  <levon@movementarian.org>
8273
8274         * BufferView_pimpl.C:
8275         * lyx_cb.C:
8276         * lyxfunc.C: split filedialog into open/save
8277
8278 2002-11-08  Juergen Vigna  <jug@sad.it>
8279
8280         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8281         by my last patch (hopefully).
8282
8283 2002-11-08  John Levon  <levon@movementarian.org>
8284
8285         * iterators.h:
8286         * iterators.C:
8287         * buffer.h:
8288         * buffer.C:
8289         * paragraph.h:
8290         * paragraph.C:
8291         * toc.h:
8292         * toc.C: ParConstIterator, and use it (from Lars)
8293
8294 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8295
8296         * lyxtextclass.[Ch]: revise and add doxygen comments
8297
8298 2002-11-07  John Levon  <levon@movementarian.org>
8299
8300         * text.C: fix progress value for spellchecker
8301
8302         * toc.C: fix navigate menu for insetwrap inside minipage
8303
8304         * paragraph_funcs.C: added FIXME for suspect code
8305
8306 2002-11-07  John Levon  <levon@movementarian.org>
8307
8308         * BufferView_pimpl.C: fix redrawing of insets
8309           on buffer switch
8310
8311 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8312
8313         * text2.C (updateCounters): fix bug 668
8314
8315 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8316
8317         * text3.C (dispatch): Do not make the buffer dirty when moving the
8318         cursor.
8319
8320 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8321
8322         * vc-backend.C: STRCONV
8323         (scanMaster): ditto
8324
8325         * text2.C (setCounter): STRCONV
8326
8327         * paragraph.C (asString): STRCONV
8328
8329         * lyxlength.C (asString): STRCONV
8330         (asLatexString): ditto
8331
8332         * lyxgluelength.C (asString): STRCONV
8333         (asLatexString): ditto
8334
8335         * lyxfunc.C (dispatch): STRCONV
8336         (open): ditto
8337
8338         * lyxfont.C (stateText): STRCONV
8339
8340         * importer.C (Import): STRCONV
8341
8342         * counters.C (labelItem): STRCONV
8343         (numberLabel): ditto
8344         (numberLabel): remove unused ostringstream o
8345
8346         * chset.C: STRCONV
8347         (loadFile): ditto
8348
8349         * bufferview_funcs.C (currentState): STRCONV
8350
8351         * buffer.C (readFile): STRCONV
8352         (asciiParagraph): ditto
8353         (makeLaTeXFile): ditto
8354
8355         * Spacing.C (writeEnvirBegin): STRCONV
8356
8357         * LaTeXFeatures.C (getLanguages): STRCONV
8358         (getPackages): ditto
8359         (getMacros): ditto
8360         (getBabelOptions): ditto
8361         (getTClassPreamble): ditto
8362         (getLyXSGMLEntities): ditto
8363         (getIncludedFiles): ditto
8364
8365         * LaTeX.C: STRCONV
8366         (run): ditto
8367         (scanAuxFile): ditto
8368         (deplog): ditto
8369
8370         * LString.h: add the STRCONV macros
8371
8372         * BufferView_pimpl.C (savePosition): STRCONV
8373         (restorePosition): ditto
8374         (MenuInsertLyXFile): ditto
8375
8376         * vc-backend.C (scanMaster): change from submatch[...] to
8377         submatch.str(...)
8378
8379         * funcrequest.C: include config.h
8380
8381         * factory.C: include config.h
8382
8383         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8384
8385         * box.C: include config.h
8386
8387         * LaTeX.C (scanAuxFile): change from submatch[...] to
8388         submatch.str(...)
8389         (deplog): ditto
8390
8391 2002-10-25  Angus Leeming  <leeming@lyx.org>
8392
8393         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8394
8395         * ispell.[Ch] (setError): new method.
8396         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8397         Use setError() insetead of goto END.
8398
8399         * lyx_cb.C (AutoSave): move out child process into new class
8400         AutoSaveBuffer.
8401
8402 2002-10-30  John Levon  <levon@movementarian.org>
8403
8404         * text3.C: make start appendix undoable
8405
8406 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8407
8408         * lyxlength.C (inPixels): Fix returned value.
8409
8410         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8411         environment.
8412
8413 2002-10-24  Angus Leeming  <leeming@lyx.org>
8414
8415         * lyxgluelength.h: no need to forward declare BufferParams
8416         or BufferView, so don't.
8417
8418 2002-10-21  John Levon  <levon@movementarian.org>
8419
8420         * BufferView.C: menuUndo ->undo, redo
8421
8422         * BufferView.h: document, remove dead, make some methods private
8423
8424         * paragraph_funcs.h:
8425         * paragraph_funcs.C:
8426         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8427
8428         * buffer.h:
8429         * buffer.C:
8430         * sgml.h:
8431         * sgml.C: move sgml open/close tag into sgml.C
8432
8433         * bufferview_funcs.h: unused prototype
8434
8435         * lyxfunc.h:
8436         * lyxfunc.C: remove unused
8437
8438         * lyxtext.h:
8439         * text.C: remove unused
8440
8441 2002-10-21  John Levon  <levon@movementarian.org>
8442
8443         * BufferView.h:
8444         * BufferView.C:
8445         * BufferView_pimpl.h:
8446         * BufferView_pimpl.C: fix mouse wheel handling based on
8447           patch from Darren Freeman
8448
8449 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8450
8451         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8452
8453 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8454
8455         * lyxlength.C (inPixels): Fix hanfling of negative length.
8456         Fix LyXLength::MU case.
8457
8458 2002-10-16  John Levon  <levon@movementarian.org>
8459
8460         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8461
8462 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8463
8464         * converter.C (view): add support for $$i (file name) and $$p
8465         (file path) for the viewer command. If $$i is not specified, then
8466         it is appended to the command (for compatibility with old syntax)
8467
8468 2002-10-14  Juergen Vigna  <jug@sad.it>
8469
8470         * undo_funcs.C (textHandleUndo): alter the order in which the
8471         new undopar is added to the LyXText, as we have to set first
8472         the right prev/next and then add it as otherwise the rebuild of
8473         LyXText is not correct. Also reset the cursor to the right paragraph,
8474         with this IMO we could remove the hack in "redoParagraphs()".
8475
8476 2002-10-09  Angus Leeming  <leeming@lyx.org>
8477
8478         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8479         to turn off an optimisation if a new inset is to be inserted.
8480
8481 2002-10-11 André Pönitz <poenitz@gmx.net>
8482
8483         * lyxtext.h: make some functions public to allow access
8484         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8485
8486 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8487
8488         * text3.C (dispatch): when changing layout, avoid an infinite loop
8489         [bug #652]
8490
8491 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8492
8493         * lyxrc.C (read): treat a viewer or converter command of "none" as
8494         if it were empty.
8495
8496         * MenuBackend.C (expandFormats): for an update, also allow the
8497         formats that are not viewable
8498
8499         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8500         script if it is newer than the lyxrc.defaults in user directory
8501
8502 2002-10-07 André Pönitz <poenitz@gmx.net>
8503
8504         * text.C: Vitaly Lipatov's small i18n fix
8505
8506 2002-09-25  Angus Leeming  <leeming@lyx.org>
8507
8508         * ispell.h: doxygen fix.
8509
8510 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8511
8512         * buffer.h (readFile): Add a new argument to the method, to allow
8513         reading of old-format templates.
8514
8515 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8516
8517         * toc.C (getTocList): Get TOC from InsetWrap.
8518
8519 2002-09-16  John Levon  <levon@movementarian.org>
8520
8521         * lyxfunc.C: check tabular for cut/copy too
8522
8523 2002-09-12  John Levon  <levon@movementarian.org>
8524
8525         * LyXAction.C: tidy
8526
8527         * factory.h:
8528         * factory.C: add header
8529
8530         * paragraph_funcs.h:
8531         * paragraph_funcs.C: cleanup
8532
8533 2002-09-11  John Levon  <levon@movementarian.org>
8534
8535         * PrinterParams.h: odd/even default to true
8536
8537 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8538
8539         * PrinterParams.h: update printer parameters for new xforms dialog
8540
8541 2002-09-11  Angus Leeming  <leeming@lyx.org>
8542
8543         * lyxserver.C (read_ready): re-write to make it more transparent
8544         and to make it work in coherent fashion under Tru64 Unix.
8545
8546 2002-09-11  André Pönitz <poenitz@gmx.net>
8547
8548         * commandtags.h:
8549         * LyXAction.C:
8550         * text3.C: implement LFUN_WORDSEL
8551
8552 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8553
8554         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8555         make floatlist_ a boost::shared_ptr<FloatList>
8556
8557         * lyxtextclass.C: include FloatList.h
8558         (LyXTextClass): initialize floatlist_
8559         (TextClassTags): add TC_NOFLOAT
8560         (Read): match "nofloat" to TC_NOFLOAT and use it.
8561         (readFloat): modify call to floatlist_
8562         (floats): ditto
8563         (floats): ditto
8564
8565         * FloatList.[Ch] (FloatList): remove commented out float
8566         initialization.
8567         (erase): new function
8568
8569 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8570
8571         * MenuBackend.C (expandToc): fix crash when there is no document
8572         open
8573
8574 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8575
8576         * many files: Add insetwrap.
8577
8578 2002-09-09  John Levon  <levon@movementarian.org>
8579
8580         * text2.C: remove confusing and awkward depth wraparound
8581
8582 2002-09-09  John Levon  <levon@movementarian.org>
8583
8584         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8585
8586         * buffer.h:
8587         * buffer.C: remove getIncludeonlyList()
8588
8589         * paragraph.C:
8590         * lyxfunc.C: remove headers
8591
8592 2002-09-09  Juergen Vigna  <jug@sad.it>
8593
8594         * text.C (getColumnNearX): fix form Michael this is most
8595         probably a cut&paste bug.
8596
8597 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8598
8599         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8600
8601         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8602         references, ws changes.
8603
8604         * text2.C (init): update counters after init
8605         (insertParagraph): no need to set counter on idividual paragraphs.
8606         (setCounter): access the counters object in the textclass object
8607         on in the buffer object.
8608         (updateCounters): ditto
8609
8610         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8611         shared_ptr<Counters> to avoid loading counters.h in all
8612         compilation units.
8613         (LyXTextClass): initialize ctrs_
8614         (TextClassTags): add TC_COUNTER, and ...
8615         (Read): use it here.
8616         (CounterTags): new tags
8617         (readCounter): new function
8618         (counters): new funtion
8619         (defaultLayoutName): return a const reference
8620
8621         * counters.C (Counters): remove contructor
8622         (newCounter): remove a couple of unneeded statements.
8623         (newCounter): simplify a bit.
8624         (numberLabel): some small formatting changes.
8625
8626         * buffer.[Ch]: remove all traces of counters, move the Counters
8627         object to the LyXTextClass.
8628
8629 2002-09-06  Alain Castera  <castera@in2p3.fr>
8630
8631         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8632         package to set the horizontal alignment on fixed width columns.
8633
8634         * lyx_sty.C:
8635         * lyx_sty.h: added tabularnewline macro def.
8636
8637         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8638
8639 2002-09-06  John Levon  <levon@movementarian.org>
8640
8641         * LyXAction.C: tooltips for sub/superscript
8642
8643         * MenuBackend.C: a bit more verbose
8644
8645         * lyxfunc.C: tiny clean
8646
8647         * undo_funcs.C: document undo_frozen
8648
8649 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8650
8651         * counters.C (Counters): add missing algorithm counter.
8652
8653         * text2.C (setCounter): lookup the counter with layouts latexname
8654         instead of by section number.
8655         (setCounter): use a hackish way to lookup the correct enum
8656         counter.
8657         a float name->type change
8658         reset enum couners with counter name directly instead of depth value.
8659
8660         * counters.C (Counters): remove the push_backs, change to use the
8661         float type not the float name.
8662         (labelItem): remove unused string, float name->type change
8663
8664         * counters.h: don't include vector, loose the enums and sects vectors
8665
8666 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8667
8668         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8669         (Read): add float->TC_FLOAT to textclassTags
8670         (Read): and handle it in the switch
8671         (readFloat): new function
8672
8673         * FloatList.C (FloatList): comment out the hardcoded float
8674         definitions.
8675
8676         * lyxlayout.h: ws change.
8677
8678 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8679
8680         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8681
8682 2002-09-03  Angus Leeming  <leeming@lyx.org>
8683
8684         * BufferView_pimpl.h: qualified name is not allowed in member
8685         declaration: WorkArea & Pimpl::workarea() const;
8686
8687         * factory.C: added using std::endl directive.
8688
8689         * text3.C: added using std::find and std::vector directives.
8690
8691 2002-08-29  André Pönitz <poenitz@gmx.net>
8692
8693         * lyxtext.h:
8694         * text2.C: remove unused member number_of_rows
8695
8696         * Makefile.am:
8697         * BufferView2.C: remove file, move contents to...
8698         * BufferView.C: ... here
8699
8700         * BufferView_pimpl.C:
8701         * factory.C: move more inset creation to factory
8702
8703         * vspace.C: avoid direct usage of LyXText, ws changes
8704
8705         * BufferView.[Ch]:
8706                 don't provide direct access to WorkArea, use two simple
8707                 acessors haveSelction() and workHeight() instead
8708
8709
8710 2002-08-29  John Levon  <levon@movementarian.org>
8711
8712         * BufferView_pimpl.C (dispatch): do not continue when
8713           no buffer
8714
8715 2002-08-28  André Pönitz <poenitz@gmx.net>
8716
8717         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8718
8719         * BufferView.h:
8720         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8721
8722 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8723
8724         * buffer.C: increment LYX_FORMAT to 221
8725
8726         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8727         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8728
8729         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8730
8731         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8732
8733 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8734
8735         * factory.C (createInset): use LyXTextClass::floats
8736
8737         * MenuBackend.C (expandFloatListInsert):
8738         (expandFloatInsert):
8739         (expandToc):
8740
8741         * text2.C (setCounter):
8742
8743         * LaTeXFeatures.C (useFloat):
8744         (getFloatDefinitions):
8745
8746         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8747
8748         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8749         floatlist_, with accessor floats().
8750
8751         * FloatList.h: remove global FloatList
8752
8753 2002-08-26  André Pönitz <poenitz@gmx.net>
8754
8755         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8756
8757         * BufferView.h:
8758         * BufferView2.C:
8759         * BufferView_pimpl.C:
8760         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8761
8762 2002-08-25  John Levon  <levon@movementarian.org>
8763
8764         * LyXAction.C: fix margin note description
8765
8766 2002-08-24  John Levon  <levon@movementarian.org>
8767
8768         * buffer.C:
8769         * bufferlist.C:
8770         * bufferview_funcs.C:
8771         * lyxfont.C:
8772         * undo_funcs.C: cleanups
8773
8774         * lyxfunc.C: disable CUT/COPY when no selection
8775
8776 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8777
8778         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8779         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8780
8781         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8782         Add backward compatibility to "mono", "gray" and "no".
8783
8784 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8785
8786         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8787         (and file_format >= 200).
8788
8789 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8790
8791         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8792
8793 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8794
8795         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8796
8797 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8798
8799         * BufferView_pimpl.C:
8800         * LyXAction.C:
8801         * buffer.C:
8802         * commandtags.h:
8803         * lyxfunc.C:
8804         * paragraph.[Ch]:
8805         * text2.C:
8806         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8807         inset and code to make it  work with the paragraph code. The inset
8808         can be anywhere in the paragraph, but will only do the expected
8809         thing in LaTeX if the layout file contains the parameter line
8810                         OptionalArgs    1
8811         (or more generally, a nonzero value) for that layout.
8812
8813 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8814
8815         * paragraph.h: remove the declaration of undefined counters class
8816         function.
8817
8818 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8819
8820         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8821         Dr. Richard Hawkins.
8822
8823 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8824
8825         * paragraph_funcs.h: remove some unneeded includes
8826
8827         * text.C (backspace): pasteParagraph now in global scipe
8828
8829         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8830         (pasteSelection): ditto
8831
8832         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8833         * paragraph_funcs.C (pasteParagraph): ... here
8834
8835 2002-08-20  André Pönitz <poenitz@gmx.net>
8836
8837         * commandtags.h: new LFUNs for swapping/copying table row/colums
8838
8839         * LyXAction.C:
8840         * lyxfunc.C: support for new lfuns
8841
8842 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8843
8844         * tabular.C:
8845         * buffer.[Ch]: remove NO_COMPABILITY stuff
8846
8847 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8848
8849         * boost.C (throw_exception): new file, with helper function for
8850         boost compiled without exceptions.
8851
8852         * paragraph.h:
8853         * lyxlength.C:
8854         * buffer.C:
8855         * ParameterStruct.h:
8856         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8857
8858         * bufferlist.C (emergencyWriteAll): use boost bind
8859
8860         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8861
8862         * text.C: include paragraph_funcs.h
8863         (breakParagraph): breakParagraph is now in global scope
8864
8865         * paragraph_funcs.[Ch]: new files
8866
8867         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8868         global scope
8869
8870         * buffer.C: include paragraph_funcs.h
8871         (insertStringAsLines): breakParagraph is now in global scope
8872
8873         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8874         paragraph_funcs.C
8875
8876         * CutAndPaste.C: include paragraph_funcs.h
8877         (cutSelection): breakParagraphConservative is now in global scope
8878         (pasteSelection): ditto
8879
8880         * buffer.h: declare oprator== and operator!= for
8881         Buffer::inset_iterator
8882
8883         * bufferlist.C (emergencyWrite): don't use fmt(...)
8884
8885         * text3.C: add using std::endl
8886
8887         * BufferView.C (moveCursorUpdate): remove default arg
8888
8889 2002-08-20  André Pönitz <poenitz@gmx.net>
8890
8891         * buffer.[Ch]: move inline functions to .C
8892
8893         * BufferView2.C:
8894         * BufferView_pimpl.C:
8895         * text.C:
8896         * buffer.[Ch]: use improved inset_iterator
8897
8898         * buffer.C:
8899         * paragraph.[Ch]: write one paragraph at a time
8900
8901 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8902
8903         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8904         style if style is not specified.
8905
8906 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8907
8908         * text2.C (setCounter): when searching for right label for a
8909         caption, make sure to recurse to parent insets (so that a caption
8910         in a minipage in a figure float works) (bug #568)
8911
8912 2002-08-20  André Pönitz <poenitz@gmx.net>
8913
8914         * text3.C: new file for LyXText::dispatch() and helpers
8915
8916         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8917
8918         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8919
8920 2002-08-19  André Pönitz <poenitz@gmx.net>
8921
8922         * lyxtext.h:
8923         * text.C: new LyXText::dispatch()
8924
8925         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8926
8927 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8928
8929         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8930
8931         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8932         Hebrew text.
8933
8934 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8935
8936         * Makefile.am: use $(variables) instead of @substitutions@
8937
8938 2002-08-15  André Pönitz <poenitz@gmx.net>
8939
8940         * lyxfunc.C:
8941         * BufferView_pimpl.C: streamlining mathed <-> outer world
8942         interaction
8943
8944         * commandtags.h:
8945         * LyXAction.C: remove unused LFUN_MATH
8946
8947 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8948
8949         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8950
8951 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8952
8953         * paragraph.C (Paragraph): reformat a bit
8954         (cutIntoMinibuffer): use builtin InsetList function instad of
8955         doing it manually.
8956         (getInset): ditto
8957
8958         * buffer.C: include boost/bind.hpp, add using std::for_each
8959         (writeFileAscii): use ParagraphList iterators
8960         (validate): use for_each for validate traversal of paragraphs
8961         (getBibkeyList): use ParagraphList iterators
8962         (resizeInsets): use for_each to resizeInsetsLyXText for all
8963         paragraphs.
8964         (getParFromID): use ParagraphList iterators
8965
8966         * BufferView2.C (lockInset): use paragraph list and iterators
8967
8968 2002-08-14  John Levon  <levon@movementarian.org>
8969
8970         * lyxserver.C: remove spurious xforms include
8971
8972 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8973
8974         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8975
8976 2002-08-13  André Pönitz <poenitz@gmx.net>
8977
8978         * LyXAction.[Ch]:
8979         * lyxfunc.C: further cleaning
8980
8981 2002-08-13  André Pönitz <poenitz@gmx.net>
8982
8983         * funcrequest.h: new constructor
8984
8985         * funcrequest.C: move stuff here from .h
8986
8987         * Makefile.am:
8988         * BufferView_pimpl.C:
8989         * LyXAction.C:
8990         * toc.C:
8991         * lyxfunc.C: subsequent changes
8992
8993         * lyxfunc.h: new view() member function
8994
8995         * lyxfunc.C: subsequent changes
8996
8997 2002-08-13  Angus Leeming  <leeming@lyx.org>
8998
8999         * BufferView2.C:
9000         * BufferView_pimpl.C:
9001         * buffer.C:
9002         * converter.C:
9003         * importer.C:
9004         * lyxfunc.C:
9005         * lyxvc.C:
9006         * toc.C:
9007         * vc-backend.C:
9008         changes due to the changed LyXView interface that now returns references
9009         to member variables not pointers.
9010
9011 2002-08-13  Angus Leeming  <leeming@lyx.org>
9012
9013         * WordLangTuple (word, lang_code): return references to strings,
9014         not strings.
9015
9016         * BufferView.h:
9017         * SpellBase.h:
9018         * lyxtext.h: forward-declare WordLangTuple.
9019
9020         * BufferView2.C:
9021         * ispell.C:
9022         * pspell.C:
9023         * text.C: #include "WordLangTuple.h".
9024
9025         * lyxtext.h:
9026         * text.C: (selectNextWordToSpellcheck): constify return type.
9027
9028 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9029
9030         * buffer.C:
9031         * buffer.h:
9032         * lyxtext.h:
9033         * paragraph.C:
9034         * paragraph_pimpl.h:
9035         * text.C:
9036         * text2.C:
9037         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9038         suggested by Angus.
9039         Made updateCounter always count from start of buffer, and removed
9040         second argument (par).
9041         Reverted floats number display to '#'. Perhaps I'll try again when the
9042         code base is sanitized a bit.
9043
9044 2002-08-12  Angus Leeming  <leeming@lyx.org>
9045
9046         * buffer.[Ch] (getLabelList): constify.
9047
9048 2002-08-07  André Pönitz <poenitz@gmx.net>
9049
9050         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9051
9052         * funcrequest.h: extension to keep mouse (x,y) position
9053
9054 2002-08-12  Juergen Vigna  <jug@sad.it>
9055
9056         * BufferView2.C (insertErrors): forbid undo when inserting error
9057         insets.
9058
9059         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9060
9061 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9062
9063         * ParagraphList.[Ch]: new files
9064
9065         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9066
9067         * BufferView2.C (lockInset): ParagraphList changes
9068         * toc.C: ditto
9069         * text2.C: ditto
9070         * bufferlist.C: ditto
9071         * buffer.h: ditto
9072         * buffer.C: ditto
9073
9074 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9075
9076         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9077         unused class variable counter_,
9078
9079         * paragraph.[Ch] (getFirstCounter): delete unused function
9080
9081         * counters.C: include LAssert.h
9082         (reset): add a new function with no arg, change other version to
9083         not have def. arg and to not allow empty arg.
9084
9085         * text2.C (setCounter): remove empty arg from call to Counters::reset
9086
9087 2002-08-11  John Levon  <levon@movementarian.org>
9088
9089         * Makefile.am: add WordLangTuple.h
9090
9091 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9092
9093         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9094         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9095
9096         * insets/insettext.C: InsetList changes
9097
9098         * graphics/GraphicsSupport.C (operator()): InsetList changes
9099
9100         * toc.C (getTocList): InsetList changes
9101
9102         * paragraph_pimpl.[Ch]: InsetList changes
9103
9104         * paragraph.[Ch]: InsetList changes
9105
9106         * buffer.C (inset_iterator): InsetList changes
9107         (setParagraph): ditto
9108         * buffer.h (inset_iterator): ditto
9109         * iterators.C (operator++): ditto
9110         * iterators.h: ditto
9111
9112         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9113
9114         * InsetList.[Ch]: new files, most InsetList handling moved out of
9115         paragraph.C.
9116
9117         * BufferView2.C (removeAutoInsets): InsetList changes
9118         (lockInset): ditto
9119         (ChangeInsets): ditto
9120
9121 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9122
9123         * paragraph_pimpl.h (empty): new function
9124
9125         * paragraph.[Ch] (empty): new function
9126
9127         * other files: use the new Paragraph::empty function
9128
9129 2002-08-09  John Levon  <levon@movementarian.org>
9130
9131         * lyxtext.h: remove unused refresh_height
9132
9133 2002-08-09  John Levon  <levon@movementarian.org>
9134
9135         * Makefile.am:
9136         * sgml.h:
9137         * sgml.C:
9138         * buffer.C:
9139         * paragraph.h:
9140         * paragraph.C: move sgml char escaping out of paragraph
9141
9142         * paragraph.h:
9143         * paragraph.C: remove id setter
9144
9145         * buffer.C:
9146         * paragraph.C:
9147         * paragraph_pimpl.C: remove dead tex_code_break_column
9148
9149         * bufferview_funcs.C: small cleanup
9150
9151         * lyxfunc.C: remove dead proto
9152
9153         * lyxtext.h: make some stuff private. Remove some dead stuff.
9154
9155         * lyxgluelength.C: make as[LyX]String() readable
9156
9157 2002-08-08  John Levon  <levon@movementarian.org>
9158
9159         * LyXAction.h:
9160         * LyXAction.C:
9161         * MenuBackend.C:
9162         * ToolbarDefaults.C:
9163         * lyxfunc.C:
9164         * lyxrc.C:
9165         * toc.C: lyxaction cleanup
9166
9167 2002-08-08  John Levon  <levon@movementarian.org>
9168
9169         * BufferView2.C: small cleanup
9170
9171         * lyxfind.h:
9172         * lyxfind.C: move unnecessary header into the .C
9173
9174 2002-08-08  John Levon  <levon@movementarian.org>
9175
9176         * funcrequest.h: just tedious nonsense
9177
9178         * lyx_main.h:
9179         * lyx_main.C: cleanups
9180
9181         * buffer.C:
9182         * vspace.C: remove dead header lyx_main.h
9183
9184 2002-08-07  Angus Leeming  <leeming@lyx.org>
9185
9186         * Paragraph.[Ch]:
9187         * paragraph_pimpl.h:
9188         Forward declare class Counters in paragraph.h by moving the ctrs member
9189         variable into Paragraph::Pimpl.
9190         (counters): new method, returning a reference to pimpl_->ctrs.
9191
9192         * text2.C: ensuing changes.
9193
9194 2002-08-07  John Levon  <levon@movementarian.org>
9195
9196         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9197
9198         * BufferView_pimpl.C: announce X selection on double/triple
9199           click
9200
9201         * lyx_main.C: use correct bool in batch dispatch
9202
9203         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9204
9205 2002-08-07  André Pönitz <poenitz@gmx.net>
9206
9207         * funcrequest.h: new class to wrap a kb_action and its argument
9208
9209         * BufferView.[Ch]:
9210         * BufferView_pimpl[Ch]:
9211         * LaTeX.C:
9212         * LyXAction.[Ch]:
9213         * lyxfunc.[Ch]:
9214         * lyxrc.C: subsequent changes
9215
9216
9217 2002-08-07  John Levon  <levon@movementarian.org>
9218
9219         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9220           document options change.
9221
9222 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9223
9224         * counters.[Ch]
9225         * text2.C
9226         * paragraph.[Ch]
9227         * makefile.am: move counters functionality over from
9228         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9229
9230 2002-08-06  John Levon  <levon@movementarian.org>
9231
9232         * WordLangTuple.h: new file for word + language code tuple
9233
9234         * SpellBase.h:
9235         * pspell.h:
9236         * pspell.C:
9237         * ispell.h:
9238         * ispell.C:
9239         * lyxtext.h:
9240         * text.C:
9241         * text2.C:
9242         * BufferView.h:
9243         * BufferView2.C: use WordLangTuple
9244
9245         * layout.h:
9246         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9247
9248 2002-08-06  John Levon  <levon@movementarian.org>
9249
9250         * lyx_main.C: fix cmdline batch handling
9251
9252 2002-08-06  André Pönitz <poenitz@gmx.net>
9253
9254         * lyxrc.C: set default for show_banner to true
9255
9256 2002-08-06  John Levon  <levon@movementarian.org>
9257
9258         * pspell.C: fix a crash, and allow new aspell to work
9259
9260 2002-08-06  John Levon  <levon@movementarian.org>
9261
9262         * lyxfunc.C:
9263         * kbmap.C: small cleanup
9264
9265         * vspace.h:
9266         * vspace.C: add const
9267
9268 2002-08-05  John Levon  <levon@movementarian.org>
9269
9270         * LyXAction.C: back to tabular-insert
9271
9272 2002-08-04  John Levon  <levon@movementarian.org>
9273
9274         * BufferView.h:
9275         * BufferView.C: cosmetic change
9276
9277         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9278
9279         * bufferlist.C:
9280         * buffer.h:
9281         * buffer.C:
9282         * lyxcb.h:
9283         * lyxcb.C:
9284         * lyxserver.C:
9285         * lyxvc.C:
9286         * vc-backend.C:
9287         * BufferView2.C: purge all "Lyx" not "LyX" strings
9288
9289         * lyxcursor.h:
9290         * lyxcursor.C: attempt to add some documentation
9291
9292         * lyxfunc.C:
9293         * commandtags.h:
9294         * LyXAction.C:
9295         * ToolbarDefaults.C:
9296         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9297           merge with LFUN_TABULAR_INSERT
9298
9299         * Makefile.am:
9300         * SpellBase.h:
9301         * ispell.h:
9302         * ispell.C:
9303         * pspell.h:
9304         * pspell.C: split up i/pspell implementations into separate
9305           files, many cleanups
9306
9307         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9308
9309         * text2.C: some cleanup
9310
9311         * lyxfunc.C: don't check for isp_command == "none" any more, it
9312           didn't make any sense
9313
9314 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9315
9316         * counters.[Ch]
9317         * text2.C
9318         * paragraph.[Ch]
9319         * makefile.am: move counters functionality over
9320         from text2.C/paragraph.[Ch] to counters.[Ch], and
9321         make proper C++.
9322 2002-08-02  John Levon  <levon@movementarian.org>
9323
9324         * buffer.C: s/lyxconvert/lyx2lyx/
9325
9326 2002-08-02  Angus Leeming  <leeming@lyx.org>
9327
9328         * lyxlex.C: revert John's change as it breaks reading of the user
9329         preamble.
9330
9331 2002-08-02  Angus Leeming  <leeming@lyx.org>
9332
9333         * importer.C (Import):
9334         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9335         changes due to LyXView::view() now returning a boost::shared_ptr.
9336
9337 2002-08-02  John Levon  <levon@movementarian.org>
9338
9339         * lyxlex.C: small cleanup
9340
9341 2002-08-02  John Levon  <levon@movementarian.org>
9342
9343         * text2.C (status): small cleanup, no logic change
9344
9345 2002-08-01  John Levon  <levon@movementarian.org>
9346
9347         * buffer.h:
9348         * buffer.C (writeFile): don't output alerts, caller
9349           handles this
9350
9351         * bufferlist.C:
9352         * lyx_cb.C: from above
9353
9354         * lyxfunc.C: allow to open non-existent files
9355
9356 2002-07-31  John Levon  <levon@movementarian.org>
9357
9358         * lyxserver.C: don't let incidental errors get
9359           in the way (errno)
9360
9361 2002-07-30  John Levon  <levon@movementarian.org>
9362
9363         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9364
9365 2002-07-30  John Levon  <levon@movementarian.org>
9366
9367         * lyxserver.h:
9368         * lyxserver.C: remove I/O callback too
9369
9370 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9371
9372         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9373         log.
9374
9375 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9376
9377         * many files: strip,frontStrip -> trim,ltrim,rtrim
9378
9379 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9380
9381         * PrinterParams.h: remove extern containsOnly, and include
9382         support/lstrings.h instead.
9383
9384         * LaTeX.C (scanAuxFile): modify because of strip changes
9385         (deplog): ditto
9386         * buffer.C (makeLaTeXFile): ditto
9387         * bufferparams.C (writeFile): ditt
9388         * lyxfont.C (stateText): ditto
9389         * lyxserver.C (read_ready): ditto
9390         * vc-backend.C (scanMaster): ditto
9391
9392         * BufferView_pimpl.h: ws changes
9393
9394         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9395
9396 2002-07-26  André Pönitz <poenitz@gmx.net>
9397
9398         * kb_sequence.C: remove unnedred usings
9399
9400 2002-07-26  Juergen Vigna  <jug@sad.it>
9401
9402         * lyxfind.C (LyXReplace): we have to check better if the returned
9403         text is not of theLockingInset()->getLockingInset().
9404
9405 2002-07-25  Juergen Vigna  <jug@sad.it>
9406
9407         * lyxfind.C (LyXReplace): don't replace if we don't get the
9408         right LyXText.
9409
9410         * undo_funcs.C (createUndo): remove debugging code.
9411
9412 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9413
9414         * buffer.C (parseSingleLyXformat2Token): Use default placement
9415         when reading old floats.
9416
9417         * FloatList.C (FloatList): Change the default placement of figure
9418         and tables to "tbp".
9419
9420 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9421
9422         * MenuBackend.C: using std::max
9423
9424 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9425
9426         * MenuBackend.C (expandToc):
9427         (expandToc2): code moved from xforms menu frontend. It is now
9428         generic and TOCs are transparent to menu frontends.
9429
9430 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9431
9432         * toc.C (getTocList): protect against buf=0
9433
9434         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9435         Menu as first parameter. Now, this calls itself recursively to
9436         expand a whole tree (this will be useful for TOC handling)
9437         (expandFloatInsert): remove 'wide' version of floats
9438
9439         * MenuBackend.h (submenuname): returns the name of the submenu.
9440         (submenu): returns the submenu itself, provided it has been
9441         created by MenuBackend::expand
9442
9443 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9444
9445         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9446         insets which have noFontChange == true. (bug #172)
9447
9448 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9449
9450         * BufferView_pimpl.C: add connection objects and use them...
9451         (Pimpl): here.
9452
9453 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9454
9455         * MenuBackend.C (expandLastfiles):
9456         (expandDocuments):
9457         (expandFormats):
9458         (expandFloatListInsert):
9459         (expandFloatInsert):
9460         (expand): split expand in parts
9461
9462 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9463
9464         * lyx_gui.C: use lyx_gui::exit()
9465
9466 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9467
9468         * LyXAction.C: show the failing pseudo action
9469
9470 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9471
9472         * buffer.C (readFile): Run the lyxconvert script in order to read
9473         old files.
9474
9475 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9476
9477         * LyXAction.C:
9478         * commandtags.h:
9479         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9480
9481 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9482
9483         * LyXAction.C:
9484         * commandtags.h:
9485         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9486
9487 2002-07-22  Herbert Voss  <voss@lyx.org>
9488
9489         * lengthcommon.C:
9490         * lyxlength.[Ch]: add support for the vertical lengths
9491
9492 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9493
9494         * toc.[Ch]: std:: fixes
9495
9496 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9497
9498         * lyxrc.C: do not include lyx_main.h
9499
9500         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9501         for layouts
9502
9503         * lyxrc.C:
9504         * encoding.C:
9505         * bufferlist.C:
9506         * BufferView2.C: include "lyxlex.h"
9507
9508         * tabular.h:
9509         * bufferparams.h: do not #include "lyxlex.h"
9510
9511         * lyxtextclasslist.C (Add): remove method
9512         (classlist): renamed to classlist_
9513
9514         * paragraph_pimpl.C:
9515         * paragraph.C:
9516         * text2.C:
9517         * CutAndPaste.C:
9518         * bufferview_funcs.C:
9519         * bufferlist.C:
9520         * text.C:
9521         * LaTeXFeatures.C:
9522         * buffer.C:
9523         * toc.C (getTocList): use BufferParams::getLyXTextClass
9524
9525         * toc.C (getTocList): use InsetFloat::addToToc
9526
9527         * toc.[Ch]: new files, containing helper functions to handle table
9528         of contents
9529
9530         * lyxfunc.C (dispatch): no need to remove spaces around command
9531         given as a string
9532         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9533         first command of the sequence; it is not very clever, but I do not
9534         have a better idea, actually
9535
9536         * LyXAction.C (LookupFunc): make sure to remove space at the
9537         beginning and end of the command
9538
9539 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9540
9541         * MenuBackend.C (getMenubar): new method: return the menubar of
9542         this menu set
9543         (read): treat differently reading of menu and menubar (in
9544         particular, the menubar has no name now)
9545         (Menu::menubar): remove
9546
9547         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9548         saving is finished
9549
9550 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9551
9552         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9553         a bibitem inset in a RTL paragraph.
9554
9555 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9556
9557         * paragraph_pimpl.C: constify
9558
9559         * BufferView_pimpl.C:
9560         * LaTeX.C:
9561         * lyxfunc.C: fix dispatch in a nicer way
9562
9563 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9564
9565         * lyxfunc.C (dispatch):
9566         * BufferView_pimpl.C:
9567         * BufferView_pimpl.h:
9568         * BufferView.C:
9569         * BufferView.h: rename Dispatch() to dispatch()
9570
9571         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9572
9573         * lyxlayout.C (Read): honor DependsOn tag
9574
9575         * lyxlayout.[Ch] (depends_on): new method
9576
9577         * version.C.in: update lyx_docversion
9578
9579         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9580
9581         * paragraph.C (validate): remove from here...
9582         * paragraph_pimpl.C (validate): ... and move here
9583         (isTextAt): make it const
9584
9585         * buffer.C (getLists): ws cleanup
9586
9587 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9588
9589         * language.C (read): Use iso8859-1 encoding in latex_lang
9590         (this prevents LyX from crashing when using iso10646-1 encoding).
9591
9592 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9593
9594         * text2.C (toggleInset): if cursor is inside an inset, close the
9595         inset and leave cursor _after_ it
9596
9597 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9598
9599         * lyxfunc.C: move minibuffer completion handling out of here
9600
9601 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9602
9603         * BufferView_pimpl.C:
9604         * LaTeX.C: fix dispatch calls
9605
9606 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9607
9608         * text.C (drawChars): Fix Arabic text rendering.
9609
9610 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9611
9612         * LyXAction.C:
9613         * commandtags.h:
9614         * lyxfunc.C: remove message-push/pop
9615
9616         * lyxserver.C:
9617         * lyxfunc.h:
9618         * lyxfunc.C: rationalise some code by removing verboseDispatch
9619           in favour of a bool argument to dispatch()
9620
9621 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9622
9623         * lyx_main.C (init): make sure to read symlinks as absolute paths
9624
9625 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9626
9627         * lyxfunc.h:
9628         * lyxfunc.C: no need for commandshortcut to be a member
9629
9630 2002-07-15  André Pönitz <poenitz@gmx.net>
9631
9632         * converter.C: add support for $$s (scripts from lib/scripts dir)
9633         * lyx_main.C: white space
9634
9635 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9636
9637         * bufferlist.C:
9638         * lyxrc.h:
9639         * lyxrc.C: remove second exit confirmation
9640
9641 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9642
9643         * BufferView.h:
9644         * BufferView.C:
9645         * BufferView2.C:
9646         * BufferView_pimpl.h:
9647         * BufferView_pimpl.C:
9648         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9649
9650 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9651
9652         * MenuBackend.C (expand): add numeric shortcuts to document menu
9653
9654         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9655
9656 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9657
9658         * lyxfont.C (setLyXFamily):
9659         (setLyXSeries):
9660         (setLyXShape):
9661         (setLyXSize):
9662         (setLyXMisc):
9663         (lyxRead):
9664         * debug.C (value):
9665         * buffer.C (asciiParagraph): use ascii_lowercase
9666
9667 2002-07-15  Mike Fabian  <mfabian@suse.de>
9668
9669         * lyxlex_pimpl.C (search_kw):
9670         * lyxlex.C (getLongString):
9671         * converter.h (operator<):
9672         * converter.C (operator<):
9673         * buffer.C (parseSingleLyXformat2Token):
9674         (asciiParagraph):
9675         * ToolbarDefaults.C (read):
9676         * MenuBackend.C (checkShortcuts):
9677         (read):
9678         * LColor.C (getFromGUIName):
9679         (getFromLyXName): use the compare_ascii_no_case instead of
9680         compare_no_case, because in turkish, 'i' is not the lowercase
9681         version of 'I', and thus turkish locale breaks parsing of tags.
9682
9683 2002-07-16  Angus Leeming  <leeming@lyx.org>
9684
9685         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9686         now takes a Buffer const & argument.
9687
9688 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9689
9690         * BufferView.C (resize): check there's a buffer to resize
9691
9692 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9693
9694         * lyxfunc.C: remove dead code
9695
9696         * lyxserver.h:
9697         * lyxserver.C: use lyx_guii::set_read_callback
9698
9699 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9700
9701         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9702         an inset in a RTL paragraph.
9703
9704 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9705
9706         * lyxfunc.C: repaint after a font size update
9707
9708 2002-07-15  André Pönitz <poenitz@gmx.net>
9709
9710         * lyxlength.C: inBP should be able to return negative values
9711
9712 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9713
9714         * lyxfunc.C: use lyx_gui::update_fonts()
9715
9716 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9717
9718         * lyxfunc.C: use lyx_gui::update_color()
9719
9720 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9721
9722         * bufferlist.C:
9723         * lyxfunc.h:
9724         * lyxfunc.C:
9725         * lyxrc.h:
9726         * lyxrc.C: remove file->new asks for name option, and let
9727           buffer-new take an argument
9728
9729 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9730
9731         * BufferView_pimpl.C: remove unneeded extra repaint()
9732
9733 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9734
9735         * LyXAction.C: allow command-sequence with NoBuffer
9736
9737         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9738
9739 2002-07-10  Angus Leeming  <leeming@lyx.org>
9740
9741         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9742
9743 2002-07-09  Angus Leeming  <leeming@lyx.org>
9744
9745         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9746
9747 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9748
9749         * lengthcommon.h: whitespace
9750
9751         * lyxfunc.C: update scrollbar after goto paragraph
9752
9753         * lyxtext.h: factor out page break drawing, and fix it so
9754           page break/added space paints as selected nicely
9755
9756 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9757
9758         * BufferView_pimpl.C: add FIXMEs, clean up a little
9759
9760 2002-07-09  André Pönitz <poenitz@gmx.net>
9761
9762         * lyxfont.[Ch]: support for wasy symbols
9763
9764 2002-07-08  André Pönitz <poenitz@gmx.net>
9765
9766         * BufferView_pimpl.C: apply John's patch for #93.
9767
9768 2002-07-05  Angus Leeming  <leeming@lyx.org>
9769
9770         * BufferView_pimpl.C (buffer): generate previews if desired.
9771
9772         * LColor.h: add "preview" to the color enum.
9773
9774         * LColor.C (LColor): add a corresponding entry to the items array.
9775
9776         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9777         with this buffer.
9778
9779 2002-07-05  Angus Leeming  <leeming@lyx.org>
9780
9781         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9782         The body of the code is now in the method that is passed an ostream &
9783         rather than a file name.
9784         Pass an additional only_preamble parameter, useful for the forthcoming
9785         preview stuff.
9786
9787 2002-07-03  André Pönitz <poenitz@gmx.net>
9788
9789         * lyxfunc.C: simplify getStatus() a bit for math stuff
9790
9791 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9792
9793         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9794
9795 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9796
9797         * text.C (changeRegionCase): do not change case of all the
9798         document when region ends at paragraph end (bug #461)
9799
9800 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9801
9802         * paragraph.C (startTeXParParams):
9803         (endTeXParParams): add \protect when necessary
9804
9805 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9806
9807         * BufferView_pimpl.C (workAreaExpose): remove warning
9808
9809 2002-06-27  Angus Leeming  <leeming@lyx.org>
9810
9811         * Makefile.am: add lyxlayout_ptr_fwd.h.
9812
9813 2002-06-26  André Pönitz <poenitz@gmx.net>
9814
9815         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9816
9817 2002-06-25  Angus Leeming  <leeming@lyx.org>
9818
9819         * lyxfunc.C (dispatch): Comment out the call to
9820         grfx::GCache::changeDisplay. The method no longer exists now that the
9821         pixmap generation part of the graphics loader has been moved into
9822         InsetGraphics.
9823
9824 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9825
9826         * text2.C: layout as layout
9827
9828         * text.C: layout as layout
9829
9830         * tabular.C (OldFormatRead): layout as layout
9831
9832         * paragraph_pimpl.C (TeXDeeper): layout as layout
9833         (realizeFont): layout as layout
9834
9835         * paragraph.C (writeFile): layout as layout
9836         (validate): layout as layout
9837         (getFont): layout as layout
9838         (getLabelFont): layout as layout
9839         (getLayoutFont): layout as layout
9840         (breakParagraph): layout as layout
9841         (stripLeadingSpaces): layout as layout
9842         (getEndLabel): layout as layout
9843         (getMaxDepthAfter): layout as layout
9844         (applyLayout): layout as layout
9845         (TeXOnePar): layout as layout
9846         (simpleTeXOnePar): layout as layout
9847         (TeXEnvironment): layout as layout
9848         (layout): layout as layout
9849         (layout): layout as layout
9850
9851         * lyxtextclass.C (compare_name): new functor to work with
9852         shared_ptr, layout as layout
9853         (Read): layout as layout
9854         (hasLayout): layout as layout
9855         (operator): layout as layout
9856         (delete_layout): layout as layout
9857         (defaultLayout): layout as layout
9858
9859         * lyxlayout_ptr_fwd.h: new file
9860
9861         * lyxlayout.C (Read): layout as layout
9862
9863         * lyx_cb.C (MenuInsertLabel): layout as layout
9864
9865         * bufferlist.C (newFile): layout as layout
9866
9867         * buffer.C (readLyXformat2): layout as layout
9868         (parseSingleLyXformat2Token): layout as layout
9869         (insertStringAsLines): layout as layout
9870         (asciiParagraph): layout as layout
9871         (latexParagraphs): layout as layout
9872         (makeLinuxDocFile): layout as layout
9873         (simpleLinuxDocOnePar): layout as layout
9874         (makeDocBookFile): layout as layout
9875         (simpleDocBookOnePar): layout as layout
9876         (getLists): layout as layout
9877
9878         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9879
9880         * CutAndPaste.C (cutSelection): layout as layout
9881         (pasteSelection): layout as layout
9882         (SwitchLayoutsBetweenClasses): layout as layout
9883
9884         * BufferView_pimpl.C (Dispatch): layout as layout
9885         (smartQuote): layout as layout
9886
9887         * BufferView2.C (unlockInset): layout as layout
9888
9889 2002-06-24  André Pönitz <poenitz@gmx.net>
9890
9891         * lyxfunc.C: fix #487
9892
9893 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9894
9895         * lyxrc.h:
9896         * lyxrc.C:
9897         * lyxfunc.C: remove display_shortcuts, show_banner
9898
9899 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9900
9901         * Buffer_pimpl.C: oops, update on resize
9902
9903 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9904
9905         * buffer.C:
9906         * converter.C:
9907         * exporter.C:
9908         * lyxfunc.C:
9909         * BufferView.h:
9910         * BufferView.C: use repaint()
9911
9912         * BufferView_pimpl.h:
9913         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9914           as it's a clearer description. Remove superfluous
9915           redraws.
9916
9917 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9918
9919         * text.C: fix bug 488. Not ideal, but getting
9920           getWord() to work properly for the insets that
9921           matter is more difficult ...
9922
9923 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9924
9925         * BufferView_pimpl.C:
9926         * LyXAction.C:
9927         * commandtags.h:
9928         * lyxfunc.C: remove the six million index lyxfuncs to just
9929           one, and DTRT (bug 458)
9930
9931 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9932
9933         * BufferView.h:
9934         * BufferView.C:
9935         * BufferView_pimpl.h:
9936         * BufferView_pimpl.C: clean up resize() stuff,
9937           and unnecessary updateScreen()s
9938
9939 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9940
9941         * BufferView.h:
9942         * BufferView.C:
9943         * BufferView_pimpl.h:
9944         * BufferView_pimpl.C:
9945         * lyxfind.h:
9946         * lyxfind.C:
9947         * minibuffer.C: remove focus management of workarea,
9948           not needed. Use screen's greyOut()
9949
9950 2002-06-17  Herbert Voss  <voss@lyx.org>
9951
9952         * converter.C: (convert) do not post a message, when converting
9953         fails, let the calling function decide what to do in this case
9954
9955 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9956
9957         * lyxfunc.C: tidy up a little
9958
9959 2002-06-16    <alstrup@diku.dk>
9960
9961         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9962         Got rid of FORMS_H_LOCATION include. Now we are
9963         GUII.
9964
9965 2002-06-15  LyX Development team  <lyx@rilke>
9966
9967         * buffer.[Ch] (sgmlOpenTag):
9968         (sgmlCloseTag): Added support for avoiding pernicious mixed
9969         content. Return number of lines written.
9970
9971         (makeLinuxDocFile):
9972         (makeDocBookFile): Fixed calls to sgml*Tag.
9973         Simple white space clean.
9974
9975         (simpleDocBookOnePar): Simple white space clean.
9976
9977         * tabular.[Ch] (docBook): Renamed to docbook and got another
9978         argument to related with the pernicious mixed content.
9979
9980         (docbookRow): Fixed calls for docbook inset method.
9981
9982 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
9983
9984         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9985         so it's X11 independent.
9986
9987         * kb*.[Ch]: ditto.
9988
9989         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9990
9991 2002-06-15  Lyx Development team  <lyx@electronia>
9992
9993         * intl.h: Renamed getTrans to getTransManager.
9994
9995 2002-06-14  Angus Leeming  <leeming@lyx.org>
9996
9997         * Makefile.am: nuke forgotten stl_string_fwd.h.
9998
9999 2002-06-12  Angus Leeming  <leeming@lyx.org>
10000
10001         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10002
10003 2002-06-13  Angus Leeming  <leeming@lyx.org>
10004
10005         * LaTeX.C:
10006         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10007
10008 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10009
10010         * kbmap.C (getiso): add support for cyrillic and greek
10011
10012 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10013
10014         * BufferView.h:
10015         * BufferView.C:
10016         * BufferView_pimpl.h:
10017         * BufferView_pimpl.C: move bogus scrolling logic
10018           to xforms
10019
10020 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10021
10022         * lyxfunc.C:
10023         * BufferView_pimpl.C: view->resize() change
10024
10025 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10026
10027         * BufferView_pimpl.C: topCursorVisible
10028           prototype change
10029
10030 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10031
10032         * Makefile.am:
10033         * lyx_gui.h:
10034         * lyx_gui.C: move to frontends/
10035
10036         * main.C:
10037         * lyx_main.h:
10038         * lyx_main.C: changes from above
10039
10040 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10041
10042         * intl.C:
10043         * intl.h:
10044         * kbmap.C:
10045         * kbsequence.C:
10046         * lyx_cb.C:
10047         * lyx_main.C: minor tidy
10048
10049 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10050
10051         * BufferView_pimpl.h:
10052         * BufferView_pimpl.C:
10053         * BufferView.h:
10054         * BufferView.C: make painter() const,
10055           remove dead code
10056
10057         * BufferView2.C: use screen() accessor
10058
10059         * lyx_main.h:
10060         * lyx_main.C: some minor cleanup
10061
10062 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10063
10064         * BufferView_pimpl.h:
10065         * BufferView_pimpl.C: remove enter/leaveView,
10066           use workHeight()
10067
10068 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10069
10070         * BufferView.h:
10071         * BufferView.C:
10072         * BufferView2.C:
10073         * BufferView_pimpl.h:
10074         * BufferView_pimpl.C: only construct screen once,
10075           rename
10076
10077         * lyxrc.C: remove pointless comment
10078
10079 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10080
10081         * BufferView.h:
10082         * BufferView.C: remove active() and belowMouse()
10083
10084         * BufferView_pimpl.h:
10085         * BufferView_pimpl.C: use workarea() not workarea_,
10086           and make it use a scoped_ptr instead
10087
10088 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10089
10090         * lyx_gui.C: add debug message on BadWindow
10091
10092 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10093
10094         * sp_spell.C: fdopen is not part of the C++ standard.
10095
10096         * paragraph.C (InsetIterator): use >= instead of ==
10097
10098 2002-06-07  Angus Leeming  <leeming@lyx.org>
10099
10100         Fixes needed to compile with Compaq cxx 6.5.
10101         * BufferView_pimpl.C:
10102         * DepTable.C:
10103         * buffer.C:
10104         * converter.C:
10105         * encoding.C:
10106         * lyx_gui.C:
10107         * lyx_main.C:
10108         * lyxtextclasslist.C:
10109         * minibuffer.C:
10110         * sp_spell.C:
10111         * tabular_funcs.C:
10112         * vc-backend.C:
10113         all c-library variables have been moved into namespace std. Wrap
10114         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10115
10116         * lyxlength.C:
10117         * tabular-old.C:
10118         * tabular.C:
10119         Add a using std::abs declaration.
10120
10121         * kbmap.h (modifier_pair):
10122         * paragraph.h (InsetTable, InsetList):
10123         * lyxfont.h (FontBits):
10124         type definition made public.
10125
10126         * bufferlist.C (emergencyWriteAll): the compiler complains that
10127         there is more than one possible lyx::class_fun template to choose from.
10128         I re-named the void specialisation as lyx::void_class_fun.
10129
10130         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10131
10132         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10133         the compiler is is unable to find tostr in write_attribute.
10134
10135 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10136
10137         * buffer.C (sgmlError): hide #warning
10138
10139 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10140
10141         * xtl/*: get rid of xtl, which is not in use anyway
10142
10143         * LyXAction.C (init):
10144         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10145         were unimplemented xtl experimentation
10146
10147 2002-06-04  André Pönitz <poenitz@gmx.net>
10148
10149         * lyxfunc.C: disable array operation on simple formulae
10150
10151 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10152
10153         * converter.C: constify a bit
10154
10155 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10156
10157         * lyx_gui.C: check xforms version correctly
10158
10159 2002-04-30  Herbert Voss  <voss@lyx.org>
10160
10161         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10162         "keep" option
10163
10164 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10165
10166         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10167           attempt to register it with a VCS)
10168
10169 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10170
10171         * lyx_main.C (init): honor variables LYX_DIR_13x and
10172         LYX_USERDIR_13x
10173
10174 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10175
10176         * buffer.h:
10177         * buffer.C:
10178         * lyx_main.C: fix a crash on bad command line,
10179           and give a useful exit status on error
10180
10181         * lyxfunc.C (doImport): allow -i lyx to work
10182
10183 2002-03-30  André Pönitz <poenitz@gmx.net>
10184
10185         * lyxfunc.C: mathed font changes
10186
10187 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10188
10189         * LaTeX.C:
10190         * importer.h:
10191         * importer.C:
10192         * lyx_sty.h:
10193         * lyx_sty.C:
10194         * lyxlex.C:
10195         * lyxrow.h:
10196         * lyxtext.h:
10197         * paragraph.h:
10198         * paragraph.C:
10199         * texrow.h:
10200         * texrow.C:
10201         * text.C:
10202         * trans_mgr.h: srcdocs, and some minor cleanups
10203
10204 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10205
10206         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10207         call getFont all the time)
10208
10209 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10210
10211         * switch from SigC signals to boost::signals
10212
10213 2002-05-29  André Pönitz <poenitz@gmx.net>
10214
10215         * paragraph_pimpl.C (getChar): don't call size() too often...
10216
10217 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10218
10219         * paragraph_pimpl.C (insertChar): do not try to update tables when
10220         appending (pos == size())
10221
10222         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10223         in order to reduce drastically the number of comparisons needed to
10224         parse a large document
10225
10226 2002-05-29  André Pönitz <poenitz@gmx.net>
10227
10228         * text.C:
10229         * text2.C:
10230         * lyxtextclass.C:
10231         * sp_pspell.h:
10232         * textclasslist.[Ch]:
10233         * sp_ispell.h: whitespace change
10234
10235 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10236
10237         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10238         lyxaction directly now.
10239
10240 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10241
10242         * trans.C:
10243         * lyxfont.C:
10244         * lyxvc.C: remove unused headers
10245
10246 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10247
10248         * Makefile.am:
10249         * buffer.h:
10250         * undostack.h:
10251         * undostack.C:
10252         * undo_funcs.h:
10253         * undo_funcs.C: some cleanups. Use shared_ptr
10254           and a template for the undo stacks.
10255
10256 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10257
10258         * BufferView_pimpl.h:
10259         * BufferView_pimpl.C:
10260         * kbmap.h:
10261         * kbmap.C:
10262         * kbsequence.h:
10263         * kbsequence.C:
10264         * lyxfunc.h:
10265         * lyxfunc.C:
10266         * text2.C: use key_state/mouse_state
10267
10268 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10269
10270         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10271         and LSubstring
10272
10273         * chset.C: change include order
10274         (loadFile): use boost regex and get rid of LRegex and LSubstring
10275
10276         * Makefile.am (BOOST_LIBS): new variable
10277         (lyx_LDADD): use it
10278
10279         * LaTeX.C: change include order.
10280         (scanAuxFile): use boost regex and get rid of LRegex and
10281         LSubstring
10282         (deplog): ditto
10283
10284 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10285
10286         * ColorHandler.h:
10287         * ColorHandler.C:
10288         * FontInfo.h:
10289         * FontInfo.C: moved to frontends/xforms/
10290
10291         * FontLoader.h:
10292         * FontLoader.C: moved into frontends for GUIIzation
10293
10294         * Makefile.am:
10295         * lyx_gui.C:
10296         * lyxfont.C:
10297         * lyxfunc.C: changes from above
10298
10299 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10300
10301         * LColor.C: remove spurious X include
10302
10303         * BufferView_pimpl.C:
10304         * Makefile.am:
10305         * font.h:
10306         * font.C:
10307         * text.C:
10308         * text2.C: move font metrics to frontends/
10309
10310 2002-05-24  Juergen Vigna  <jug@sad.it>
10311
10312         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10313         setting the undo_cursor.
10314
10315         * ParagraphParameters.h: include local includes first.
10316
10317 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10318
10319         * BufferView_pimpl.C:
10320         * BufferView_pimpl.h:
10321         * Makefile.am:
10322         * WorkArea.h:
10323         * WorkArea.C:
10324         * screen.C: move WorkArea into frontends/
10325
10326         * lyxscreen.h:
10327         * screen.C:
10328         * text.C:
10329         * BufferView.C:
10330         * BufferView2.C: move LyXScreen into frontends/
10331
10332         * lyxlookup.h:
10333         * lyxlookup.C:
10334         * lyx_gui.C: move lyxlookup into frontends/xforms/
10335
10336 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10337
10338         * BufferView2.C:
10339         * BufferView_pimpl.C:
10340         * FontLoader.C:
10341         * LyXView.h:
10342         * LyXView.C:
10343         * Makefile.am:
10344         * WorkArea.C:
10345         * XFormsView.h:
10346         * XFormsView.C:
10347         * buffer.C:
10348         * bufferlist.C:
10349         * bufferview_funcs.C:
10350         * converter.C:
10351         * importer.C:
10352         * lyx_cb.C:
10353         * lyx_gui.C:
10354         * lyx_main.C:
10355         * lyx_find.C:
10356         * lyxfunc.C:
10357         * lyxvc.C:
10358         * minibuffer.C:
10359         * text.C:
10360         * text2.C:
10361         * trans.C:
10362         * vc-backend.C: move LyX/XFormsView into frontends/
10363
10364 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10365
10366         * Makefile.am:
10367         * PainterBase.C:
10368         * PainterBase.h:
10369         * Painter.C:
10370         * Painter.h:
10371         * WorkArea.C:
10372         * WorkArea.h:
10373         * screen.C:
10374         * tabular.C:
10375         * text.C:
10376         * text2.C: move Painter to frontends/
10377
10378 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10379
10380         * buffer.C: comment out some some code that depend upon lyx_format
10381         < 220
10382
10383         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10384         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10385
10386         * buffer.h (NO_COMPABILITY): turn off compability
10387
10388         * ColorHandler.C: include scoped_array.hpp
10389
10390         * font.C: Use more specific smart_ptr header.
10391         * Painter.C: ditto
10392         * gettext.C: ditto
10393         * ShareContainer.h: ditto
10394         * lyx_main.h: ditto
10395         * kbmap.h: ditto
10396         * FontInfo.h: ditto
10397         * BufferView_pimpl.h: ditto
10398         * ColorHandler.h: ditto
10399
10400         * kbmap.C (defkey): change call to shared_ptr::reset
10401
10402 2002-05-21  Juergen Vigna  <jug@sad.it>
10403
10404         * buffer.C (insertErtContents): fix to insert ert asis if it is
10405         non empty. Skip it completely if it contains only whitespaces.
10406
10407 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10408
10409         * BufferView_pimpl.C:
10410         * BufferView2.C: clear selection on paste (bug 393)
10411
10412 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10413
10414         * DepTable.C: include ctime
10415
10416 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10417
10418         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10419
10420 2002-05-14  Juergen Vigna  <jug@sad.it>
10421
10422         * text.C (breakParagraph): fixed function to honor the keepempty
10423         layout in the right maner and also to permit the right breaking
10424         algorithm on empty or non empyt keepempty paragraphs.
10425
10426         * paragraph.C (breakParagraph): we have to check also if the par
10427         is really empty (!size()) for isempty otherwise we do the wrong
10428         paragraph break.
10429
10430 2002-05-10  Juergen Vigna  <jug@sad.it>
10431
10432         * buffer.[Ch] : The following are only changes to the ert
10433         compatibility read reading old LaTeX layout and font stuff and
10434         convert it to ERTInsets.
10435
10436         * buffer.h: added isErtInset().
10437
10438         * buffer.C (struct ErtComp): add a fromlayout bool to check
10439         if we're inside a LaTeX layout.
10440         (isErtInset): new helper function.
10441         (insertErtContents): look for other ert insets before this one
10442         and insert the contents there, so that we don't have subsequent
10443         ERT insets with nothing between them. This way we create only one
10444         inset with multiple paragraphs. Also check if we don't insert only
10445         spaces ' ' as they are ignored anyway afterwards in the .tex file
10446         so if we have only spaces we will ignore this latex part in the
10447         new file.
10448         (parseSingleLyXformat2Token \\layout): better compatibility when
10449         reading layout-latex stuff.
10450         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10451         language tag.
10452         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10453         stuff after reading the inset only get the information back from
10454         the stack.
10455
10456 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10457
10458         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10459
10460         * LaTeXFeatures.C (getBabelOptions): New method.
10461
10462 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10463
10464         * BufferView_pimpl.C (Dispatch): work around missing argument for
10465         'layout'
10466
10467 2002-05-08  Juergen Vigna  <jug@sad.it>
10468
10469         * text.C (leftMargin): handle paragraph leftindent.
10470
10471         * paragraph.C (writeFile): write the new \\leftindent tag.
10472         (validate): handle leftindent code.
10473         (TeXEnvironment): handle paragraphleftindent code again.
10474
10475         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10476
10477         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10478         for paragrap_extra indent code and new token \\leftindent.
10479         (latexParagraphs): handle the leftindent as environment.
10480
10481         * ParameterStruct.h: added leftindent support.
10482
10483         * ParagraphParameters.C (leftIndent): added support functions for
10484         the paragraph left indent.
10485
10486         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10487         more appropriate.
10488
10489 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10490
10491         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10492         inside insetERT.
10493
10494         * text.C (computeBidiTables): No bidi in insetERT.
10495
10496         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10497         in RTL documents.
10498
10499 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10500
10501         * version.C.in: pre 5
10502
10503 2002-05-02  José Matos  <jamatos@fep.up.pt>
10504         * buffer.C (makeDocBookFile): white space changes, add newline to
10505         command styles.
10506         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10507
10508         * tabular.C (docBook): fix typo.
10509
10510 2002-05-03  Juergen Vigna  <jug@sad.it>
10511
10512         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10513         change in LyXText as we can not be sure it was not freed.
10514         (drawOneRow): remove unused code.
10515
10516         * text.C (drawInset): redo the calculation of the need_break_row as
10517         it could have a row which was already freed.
10518         (draw): look at the return value of drawInset and return false if
10519         it also returned false.
10520         (paintRowText): look at the return value of draw and return false if
10521         it also returned false.
10522
10523         * lyxtext.h: added bool return type to drawInset() and draw() so that
10524         if we have a change in the row so that the rowbreak has to be redone
10525         we abort drawing as it will be called again.
10526
10527 2002-05-02  Juergen Vigna  <jug@sad.it>
10528
10529         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10530         a change in the maintext also if we're inside an inset.
10531         (Dispatch): set the cursor again after a break line and after the
10532         screen has been updated as it could be we're in a different row.
10533
10534         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10535         to set the cursor behind the pargraph with > size().
10536         (setCursor): check also for the same paragraph when checking where
10537         to put the cursor if we have a NFR inset.
10538
10539         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10540         parts of layout read further up as it still was in the wrong
10541         position.
10542
10543 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10544
10545         * screen.C (drawFromTo): change sine fullRebreak always return
10546         true.
10547
10548         * buffer.C (parseSingleLyXformat2Token): reindent some
10549
10550         * BufferView_pimpl.C (update): change since fullRebreak always
10551         return true.
10552         (Dispatch): git rid of the last hardcoded "Standard"s.
10553
10554 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10555
10556         * text2.[Ch] (fullRebreak): make it return void now that we always
10557         returned true.
10558
10559 2002-04-30  Juergen Vigna  <jug@sad.it>
10560
10561         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10562         ert compatibility check for "latex" layout.
10563
10564 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10565
10566         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10567         minipages: use col% instead of p%, and also use the current font.
10568         (makeLaTeXFile): Fix use babel condition.
10569         (parseSingleLyXformat2Token): Correct font when reading old floats.
10570
10571 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10572
10573         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10574         inserting list of floats.
10575
10576 2002-04-25  Herbert Voss  <voss@lyx.org>
10577
10578         * MenuBackend.C (expand): don't add the graphics extensions to the
10579         export menu
10580
10581 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10582
10583         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10584         non-existing layout, do not complain if it was the default layout
10585         of the original class (bug #342)
10586
10587 2002-04-24  Juergen Vigna  <jug@sad.it>
10588
10589         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10590         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10591
10592 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10593
10594         * buffer.C (getBibkeyList): If using \bibliography, return the
10595         option field with the reference itself. Enables us to provide natbib
10596         support when using \bibliography.
10597
10598 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10599
10600         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10601
10602         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10603         natbib is provided by the LaTeX class.
10604
10605 2002-04-23  Juergen Vigna  <jug@sad.it>
10606
10607         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10608         Wakeup functions.
10609
10610         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10611
10612 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10613
10614         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10615
10616         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10617         ensuremath around textordmasculine, textordfeminine and
10618         textdegree.
10619
10620 2002-04-19  Juergen Vigna  <jug@sad.it>
10621
10622         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10623         reinitializing the buffer otherwise row-dimensions may be wrong.
10624         (update): reset also the selection cursors if they do exits otherwise
10625         their x/y positions may be wrong.
10626
10627         * text2.C (cursorDown): don't enter the inset if we came from a row
10628         above and are one row over the inset.
10629
10630         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10631         really leaving an inset.
10632
10633 2002-04-18  Juergen Vigna  <jug@sad.it>
10634
10635         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10636         of the selected paragraph does not have the selected layout also if
10637         the last one had!
10638
10639         * text2.C (setLayout): fixed bug which did not change last selected
10640         paragraph.
10641
10642         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10643         changed the read and substituted \\end_float with \\end_inset!
10644
10645         * BufferView_pimpl.C (cursorPrevious):
10646         (cursorNext): fixed to make it work with rows heigher than the work
10647         area without moving the cursor only the draw of the row.
10648         (workAreaMotionNotify): fix jumping over high rows.
10649
10650 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10651
10652         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10653         Ressler.
10654
10655 2002-04-16  Juergen Vigna  <jug@sad.it>
10656
10657         * text2.C (setCursor): set also the irow().
10658         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10659         (cursorUp):
10660         (cursorDown): support for locking an inset if the x_fix value goes
10661         inside it. That way I can transverse insets too with cursor up/down.
10662
10663         * lyxrow.h: added irow helper function same as other (i) functions.
10664
10665         * BufferView_pimpl.C (cursorPrevious):
10666         (cursorNext): fixed for insets!
10667
10668 2002-04-15  Juergen Vigna  <jug@sad.it>
10669
10670         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10671         position otherwise it is wrong in some cases.
10672
10673         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10674         inside the inset before the call.
10675
10676 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10677
10678         * buffer.[Ch] (getBibkeyList): make it const.
10679
10680 2002-04-12  Juergen Vigna  <jug@sad.it>
10681
10682         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10683
10684         * text2.C (getCursorX): new helper function
10685         (setCursor): compute also ix_
10686         (setCursorFromCoordinates): set also ix.
10687
10688         * lyxcursor.h: added ix_ and helper functions.
10689
10690         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10691
10692         * buffer.C (insertStringAsLines): dont break paragraph if the this
10693         paragraph is inside an inset which does not permit it!
10694
10695         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10696         also with no chars on this paragraph.
10697         (paintRowText): only paint stuff if it's inside the workarea!
10698
10699         * paragraph.C (breakParagraph): honor keepempty flag and break the
10700         paragraph always below not above.
10701
10702         * BufferView2.C (unlockInset): update the paragraph layout on inset
10703         unlock as we changed paragraph in such a case.
10704
10705         * lyxfind.C (LyXFind): clear the former selection if not found!
10706
10707         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10708         again called in insertChar().
10709
10710         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10711         an inset which uses the whole row!
10712         (rightMargin): ditto.
10713         (insertChar): force a rebreak if we inserted an inset!
10714
10715 2002-03-28  Herbert Voss  <voss@lyx.org>
10716
10717         * lyxlength.[Ch]: add inBP() to get the right PS-point
10718         units (BigPoint). With inPixels we have rounding errors
10719
10720 2002-04-11  Juergen Vigna  <jug@sad.it>
10721
10722         * text2.C (setCursorFromCoordinates): set iy to the right value.
10723         (setCursor): add check if row->previous exists!
10724
10725         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10726         an old float_type as this was the case in the old code!
10727
10728         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10729
10730         * BufferView2.C (showLockedInsetCursor): use iy
10731         (fitLockedInsetCursor): ditto
10732
10733         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10734         locked insets as there we have the right value now.
10735
10736         * lyxcursor.C: added iy_ variable and iy functions to set to the
10737         baseline of cursor-y of the locked inset.
10738
10739         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10740         (setCursor): fixed for insets which need a full row.
10741
10742         * text.C (rowLastPrintable): don't ignore the last space when before
10743         an inset which needs a full row.
10744         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10745         as last character of a row when before a inset which needs a full row.
10746
10747 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10748
10749         * version.C.in: update date
10750
10751         * text2.C (fullRebreak): try to always return true and see what
10752         happens...
10753
10754 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10755
10756         * MenuBackend.C (expand): use Floating::listName
10757
10758         * FloatList.C (FloatList): add listName argument to the built-in
10759         floats
10760
10761         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10762         text associated with the float.
10763
10764 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10765
10766         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10767
10768 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10769
10770         * ShareContainer.h: add a couple of missing typenames.
10771
10772 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10773
10774         * lyxrc.C (getDescription): use _() correctly rather than N_().
10775
10776 2002-03-28  Herbert Voss  <voss@lyx.org>
10777
10778         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10779         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10780
10781 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10782
10783         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10784         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10785
10786 2002-03-29  Juergen Vigna  <jug@sad.it>
10787
10788         * lyxfunc.C (dispatch): add a missing fitCursor call.
10789
10790         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10791         it was scrolled by a cursor move, so return the bool status.
10792
10793         * BufferView.C (fitCursor): return the bool flag also to the outside
10794         world as this is needed.
10795
10796         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10797
10798         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10799         call the edit() as it is not needed (and wrong) IMO.
10800         (workAreaButtonPress): set the screen_first variable before evt.
10801         unlock the inset as this may change screen_first and then we have
10802         a wrong y position for the click!
10803
10804 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10805
10806         * MenuBackend.C (expand): another translation that I missed
10807
10808 2002-03-28  Juergen Vigna  <jug@sad.it>
10809
10810         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10811
10812         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10813
10814 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10815
10816         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10817
10818         * MenuBackend.C (expand): fix export/view/update when there is no
10819         document open.
10820
10821 2002-03-27  Herbert Voss  <voss@lyx.org>
10822
10823         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10824         and text%
10825
10826 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10827
10828         * bufferview_funcs.C (currentState): only show paragraph number
10829         for is DEVEL_VERSION is set.
10830
10831         * lyxfunc.C (dispatch): put warning in INFO channel
10832
10833         * MenuBackend.C (expand): translate the name of floats
10834
10835         * FloatList.C (FloatList): mark the float names for translation
10836
10837         * converter.C (convert): use LibScriptSearch
10838
10839 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10840
10841         * MenuBackend.C (defaults): fix default menu (we might as well get
10842         rid of it...)
10843
10844 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10845
10846         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10847         directory.
10848
10849 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10850
10851         * lyxvc.C: reorder includes.
10852
10853 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10854
10855         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10856           properly
10857
10858 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10859
10860         * CutAndPaste.C: change layouts earlier on paste
10861           to avoid crashing when calling getFont()
10862
10863 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10864
10865         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10866         irritating #error.
10867
10868 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10869
10870         * WorkArea.C: remove 'Pending' debug message.
10871
10872         * most files: ws cleanup
10873
10874         * buffer.[Ch]: ws changes
10875
10876         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10877
10878 2002-03-21  Juergen Vigna  <jug@sad.it>
10879
10880         * tabular.C (SetMultiColumn): collapse also the contents of the
10881         cells and set the last border right. Added a Buffer const * param.
10882
10883 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10884
10885         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10886         linking or not.
10887
10888 2002-03-19  Juergen Vigna  <jug@sad.it>
10889
10890         * text2.C (clearSelection): reset also xsel_cache.
10891
10892         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10893         where it needs to be called (John tells us to do so too :)
10894         (selectionLost): reset sel_cache.
10895
10896         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10897
10898 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10899
10900         * text2.C (setCursorIntern): put debuging code in INSETS channel
10901
10902 2002-03-19  André Pönitz <poenitz@gmx.net>
10903
10904         * lyxfunc.C: tiny whitespace change
10905
10906 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10907
10908         * ToolbarDefaults.C (init):
10909         * LyXAction.C (init):
10910         * commandtags.h:
10911         * BufferView_pimpl.C (Dispatch):
10912         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10913
10914 2002-03-19  Allan Rae  <rae@lyx.org>
10915
10916         * exporter.C (Export): removeAutoInsets before doing anything else.
10917         While I've just introduced a dependency on BufferView this really is
10918         the best place to clean the buffer otherwise you need to cleanup in
10919         a dozen places before calling export or cleanup in a dozen functions
10920         that export calls.
10921
10922         * converter.C (runLaTeX):
10923         (scanLog): Better handling of removeAutoInsets and screen updates.
10924
10925         * lyxfunc.C (dispatch): small whitespace changes
10926
10927 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10928
10929         * WorkArea.C (C_WorkAreaEvent): return a value.
10930         (event_cb): return 1 if we handled the event, 0 otherwise.
10931
10932         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10933
10934 2002-03-18  Juergen Vigna  <jug@sad.it>
10935
10936         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10937         (GetAdditionalWidth): ditto.
10938         (RightLine): ditto.
10939         (LeftLine): ditto.
10940
10941         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10942         inset if we're there actually (probably not used right now but this
10943         is the direction to go for unifying code).
10944         (paste): disable code to clear the selection.
10945
10946         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10947         inside an InsetText and move the check further up as it is in the
10948         wrong place.
10949
10950         * text2.C (pasteSelection): set a selection over the pasted text.
10951
10952 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10953
10954         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10955         and libgraphics to build on Cygwin.
10956
10957 2002-03-15  Juergen Vigna  <jug@sad.it>
10958
10959         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10960         inserting an Inset into the paragraph. I know this is not the best
10961         fix but we already use current_view in CutAndPaste so we will remove
10962         all of it's using at the same time.
10963
10964         * buffer.C (sgmlError): deactivated function till it is rewritten in
10965         the right mode, now it can create problems.
10966
10967         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10968         before accessing it.
10969
10970 2002-03-14  Juergen Vigna  <jug@sad.it>
10971
10972         * undo_funcs.C (textHandleUndo): do the right thing when updating
10973         the inset after the undo/redo.
10974
10975         * text2.C (setCursor): just some testcode for #44 not ready yet.
10976
10977         * undo_funcs.C (textHandleUndo): set the next() and previous()
10978         pointers of the paragraph to 0 before deleting otherwise we have
10979         problems with the Paragraph::[destructor].
10980
10981         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10982         on a paragraph insertion.
10983
10984 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10985
10986         * buffer.C (asciiParagraph): use += operator for char append to
10987         string.
10988
10989         * paragraph.C (getFontSettings): compare >= not just >
10990         (highestFontInRange): ditto
10991         (setFont): ditto
10992
10993 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10994
10995         * paragraph.C: change several algorithm to be more appripriate for
10996         the problem domain. This is lookip in FontList and in the InsetList.
10997
10998 2002-03-13  André Pönitz <poenitz@gmx.net>
10999
11000         * commandtags.h:
11001         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11002
11003 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11004
11005         * commandtags.h:
11006         * LyXAction.C:
11007         * lyxfunc.C:
11008         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11009
11010 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11011
11012         * Painter.C (display): anon helper function, adjust code for this
11013         change.
11014         (pixmap): remove function.
11015
11016         * Painter.h: remove private display variable.
11017
11018         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11019
11020 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11021
11022         * WorkArea.[Ch]: remove figinset_canvas cruft.
11023
11024 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11025
11026         * lyxtextclass.C (operator): add one item cache optimization.
11027
11028         * bufferlist.h: doxy changes
11029
11030         * bufferlist.C: ws changes
11031
11032         * DepTable.[Ch] (ext_exist): place const in the right spot.
11033
11034         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11035         call resizeInsets.
11036         (workAreaExpose): call resizeInsets when the with BufferView changes.
11037         (Dispatch): adjust for protectedBlank removal
11038         (specialChar): call updateInset if the insert went ok.
11039
11040         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11041         specialChar instead.
11042
11043         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11044
11045         * BufferView.h: doxy change
11046
11047         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11048
11049         * lyxtextclass.C (operator[]): remove non-const version
11050         (defaultLayout): remove non-const version
11051
11052 2002-03-12  Juergen Vigna  <jug@sad.it>
11053
11054         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11055         did resize the LyXText too.
11056
11057         * buffer.C (readLyXformat2): set layout information on newly allocated
11058         paragraphs.
11059
11060         * tabular.C (OldFormatRead): set layout information on the paragraph.
11061
11062 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11063
11064         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11065
11066 2002-03-11  Juergen Vigna  <jug@sad.it>
11067
11068         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11069         plainly wrong.
11070         (resizeCurrentBuffer): force also the insets to resize themselfes.
11071         (moveCursorUpdate): fixed up for InsetText.
11072
11073 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11074
11075         * commandtags.h:
11076         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11077         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11078         value of Dialogs::tooltipsEnabled().
11079         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11080
11081 2002-03-08  Juergen Vigna  <jug@sad.it>
11082
11083         * BufferView_pimpl.C (updateInset): update inset inside inset also
11084         if it isn't inside theLockingInset().
11085
11086 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11087
11088         * buffer.C (asciiParagraph): redo some of the word and line length
11089         handling.
11090         (getLists): look for Caption instead of caption.
11091
11092 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11093
11094         * buffer.C (Buffer): initialize niceFile to true
11095         (makeLaTeXFile):
11096         (makeLinuxDocFile):
11097         (makeDocBookFile): make sure niceFile is true on exit
11098
11099 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11100
11101         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11102
11103 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11104
11105         * LyXSendto.C: remove.
11106         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11107         * lyx_gui.C: remove now-redundant comment.
11108         * ColorHandler.h: remove forward declaration of class WorkArea.
11109         * lyxfunc.C: remove #include "WorkArea.h".
11110
11111 2002-03-07  Juergen Vigna  <jug@sad.it>
11112
11113         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11114         got moved away with the DEPM and also set the inset_owner always
11115         right which before could have been omitted.
11116
11117 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11118
11119         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11120         wanted layout is not found.
11121
11122 2002-03-07  Juergen Vigna  <jug@sad.it>
11123
11124         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11125
11126 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11127
11128         * paragraph.C (breakParagraph): use default layout not layout of
11129         prev paragraph.
11130         (Paragraph): clear ParagraphParameters.
11131
11132 2002-03-06  Juergen Vigna  <jug@sad.it>
11133
11134         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11135         otherwise it would not be a valid lenght. Fixed a special case in
11136         the minipage compatibility read where we end the document with a
11137         minipage.
11138
11139         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11140         was set as it could be 0 for InsetTexts first entry.
11141
11142 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11143
11144         * paragraph.C (writeFile): if layout is empty write out
11145         defaultLayoutName().
11146
11147         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11148         file without named layout we set layout to defaultLayoutName().
11149
11150 2002-03-06  Juergen Vigna  <jug@sad.it>
11151
11152         * CutAndPaste.C (copySelection): set layout for new paragraph.
11153
11154         * text.C (prepareToPrint): leave ERT inset left aligned
11155         (leftMargin): don't indent paragraphs inside ERT insets
11156
11157 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11158
11159         * paragraph.C (breakParagraph): dont call clear do the work manually
11160
11161         * paragraph.[Ch] (clear): remove function
11162
11163 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11164
11165         * paragraph.C (Paragraph): dont call clear, the work has already
11166         been done.
11167
11168         * lyxtextclass.C (operator): assert if n is empty
11169
11170         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11171         work manually instead.
11172
11173 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11174
11175         * BufferView_pimpl.C: protect selectionLost against text == 0
11176
11177 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11178
11179         * text.C (breakParagraph): fix a setting layout to '0' problem.
11180
11181 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11182
11183         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11184         final location of file, for the included files, and graphics.
11185
11186 2002-03-05  Juergen Vigna  <jug@sad.it>
11187
11188         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11189
11190 2002-03-04  Juergen Vigna  <jug@sad.it>
11191
11192         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11193
11194         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11195         last column of multicolumn cells.
11196         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11197
11198 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11199
11200         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11201         file if it doesn't go to a temporary file.
11202
11203         * buffer.C (sgmlOpenTag):
11204         (sgmlCloseTag):  remove extra newline insertion.
11205
11206 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11207
11208         * text.C (getRowNearY): comment out debug msg
11209
11210 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11211
11212         * text2.C: first -> first_y
11213
11214         * text.C (getRowNearY): add some attemts at a possible
11215         optimization, not working.
11216
11217         * tabular.[Ch]: add BufferParams to several function so that newly
11218         created paragraph can be initialized to he default layotu for the
11219         buffers textclass.
11220
11221         * tabular-old.C (ReadOld): add buf->params to call of Init
11222
11223         * screen.C: rename text->first to text->first_y
11224
11225         * paragraph.C (breakParagraph): always set layout in the broken
11226         paragraph
11227
11228         * lyxtextclass.C (Read): remove lowercase
11229         (hasLayout): ditto
11230         (operator): ditto
11231         (delete_layout): ditto
11232
11233         * lyxtext.h: rename first -> first_y
11234
11235         * lyxlayout.C (Read): remove lowercase
11236         (name): ditto
11237         (setName): ditto
11238         (obsoleted_by): ditto
11239
11240         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11241
11242         * buffer.C (insertErtContents): add params are to InsetERT
11243         (parseSingleLyXformat2Token): add code to check if a paragraphs
11244         layout really exist.
11245         (parseSingleLyXformat2Token): add params to several inset
11246         constructors
11247         (asciiParagraph): remove lowercase, do the layout comparisons with
11248         no_case
11249
11250         * BufferView_pimpl.C (cursorNext): first -> first_y
11251         (resizeCurrentBuffer): first -> first_y
11252         (updateScrollbar): first -> first_y
11253         (scrollCB): first -> first_y
11254         (workAreaMotionNotify): first -> first_y
11255         (workAreaButtonPress): first -> first_y
11256         (checkInsetHit): first -> first_y
11257         (cursorPrevious): first -> first_y
11258         (cursorNext): first -> first_y
11259         (Dispatch): add buffer_->params to severl inset contructors
11260
11261 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11262
11263         * lyxlayout.C (Read): remove some debug info that I forgot.
11264
11265         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11266         clean up the code slightly.
11267         (makeLinuxDocFile): ditto
11268         (makeDocBookFile): ditto
11269
11270         * text2.C: layout as string
11271
11272         * text.C: layout as string
11273
11274         * paragraph_pimpl.C: layout as string
11275
11276         * paragraph.[Ch]: layout as string
11277
11278         * lyxtextclasslist.[Ch]: layout as string
11279
11280         * lyxtextclass.[Ch]: layout as string
11281
11282         * lyxtext.h: layout as string
11283
11284         * lyxlayout.[Ch]: layout as string
11285
11286         * lyx_cb.C: layout as string
11287
11288         * bufferview_funcs.C: layout as string
11289
11290         * bufferparams.C: layout as string
11291
11292         * buffer.C: layout as string
11293
11294         * LyXView.[Ch]: layout as string
11295
11296         * LaTeXFeatures.[Ch]: layout as string
11297
11298         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11299
11300         * BufferView_pimpl.C: change current_layout to string, remove
11301         lyx::layout_type.
11302         (Dispatch):
11303         (smartQuote):
11304         (insertInset):
11305         (workAreaButtonRelease): layout as string
11306
11307         * BufferView2.C (unlockInset): adjust
11308
11309         * vspace.C (asLatexCommand): use an explict temp variable.
11310
11311 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11312
11313         * Makefile.am: use FRONTEND_*
11314
11315 2002-03-01  Juergen Vigna  <jug@sad.it>
11316
11317         * tabular.C (SetWidthOfMulticolCell): changed to something better
11318         I hope but still work in progress.
11319         (recalculateMulticolumnsOfColumn): renamed function from
11320         recalculateMulticolCells as it is more appropriate now.
11321         (SetWidthOfCell): calculate multicols better.
11322
11323 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11324
11325         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11326
11327         * lyxfunc.C (processKeySym): print sequence also if it is
11328         `deleted' (complete)
11329
11330         * kbsequence.C (print): print sequence even if it is deleted
11331         (complete would be a better word, actually).
11332
11333         * lyxfunc.C (dispatch): print complete options after a prefix key
11334
11335         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11336
11337 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11338
11339         * text2.C (setCharFont): eliminate setCharFont code duplication.
11340
11341 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11342
11343         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11344         LFUN_TABULAR_FEATURE (bug #177)
11345
11346 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11347
11348         * Makefile.am: remove figure.h
11349
11350 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11351
11352         * Bufferview_pimpl.C:
11353         * CutAndPasteC:
11354         * LaTeX.C:
11355         * LyXSendto.C:
11356         * buffer.C:
11357         * bufferlist.C:
11358         * converter.C:
11359         * language.C:
11360         * lyxfunc.C:
11361         * lyxvc.C:
11362         * paragraph.C:
11363         * text.C:
11364         * text2.C: remove #include "lyx_gui_misc.h".
11365
11366         * LaTeX.C: added #include <cstdio>
11367
11368 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11369
11370         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11371         that the paragraph following this one can have.
11372
11373         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11374
11375         * vspace.C (asLatexCommand): fix bogus gcc warning
11376
11377         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11378
11379 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11380
11381         * text2.C (setLayout): get rid of redundant code
11382
11383 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11384
11385         * text2.C (incDepth): make sure depth cannot be increased beyond
11386         reasonable values.
11387
11388 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11389
11390         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11391         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11392
11393         * PainterBase.h (image):
11394         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11395         a LyXImage const *.
11396
11397 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11398
11399         * BufferView.C:
11400         * BufferView.h:
11401         * BufferView_pimpl.C:
11402         * BufferView_pimpl.h:
11403         * LaTeXFeatures.C:
11404         * LyXAction.C:
11405         * LyXView.C:
11406         * Makefile.am:
11407         * UpdateList.h:
11408         * UpdateList.C:
11409         * buffer.C:
11410         * figure.h:
11411         * figureForm.C:
11412         * figureForm.h:
11413         * figure_form.C:
11414         * figure_form.h:
11415         * lyx_cb.C:
11416         * lyx_gui.C:
11417         * lyx_gui_misc.C:
11418         * lyxfunc.C:
11419         * sp_base.h:
11420         * sp_ispell.h:
11421         * sp_pspell.h:
11422         * sp_spell.C: remove fig inset, and the crap house of
11423           cards that follows it
11424
11425 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11426
11427         * Makefile.am:
11428         * lyxserver.C:
11429         * os2_defines.h:
11430         * os2_errortable.h:
11431         * nt_defines.h: move .h into support/
11432
11433         * vms_defines.h: remove
11434
11435         * WorkArea.C: add space in debug output
11436
11437         * text2.C:
11438         * paragraph.C:
11439         * buffer.C: add WITH_WARNINGS
11440
11441         * vc-backend.h:
11442         * vc-backend.C:
11443         * bufferlist.C: s/retrive/retrieve/, add docs
11444
11445         * vspace.h:
11446         * vspace.C:
11447         * kbmap.h:
11448         * lyxlength.h:
11449         * lyxgluelength.h:
11450         * length_common.h:
11451         * chset.h:
11452         * chset.C: add docs
11453
11454         * lyxgui.C: add ID to X error handler
11455
11456         * lyxtestclass.c: fix typo
11457
11458 2002-02-26  Juergen Vigna  <jug@sad.it>
11459
11460         * tabular_funcs.C (write_attribute): changed so that some default
11461         attributes are not written at all.
11462         (getTokenValue): set default values before trying to read the
11463         value so we have the return value always set as default if we don't
11464         find the token we search for.
11465
11466         * tabular.C (Write): write bools as bools not as strings!
11467
11468 2002-02-22  Juergen Vigna  <jug@sad.it>
11469
11470         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11471         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11472
11473         * text.C (leftMargin): don't add an indent for paragraphs inside
11474         tabular cells (fix #208).
11475
11476 2002-02-21  José Matos  <jamatos@fep.up.pt>
11477
11478         * tabular.C (docBook): fixed support for long tables.
11479
11480 2002-02-20  Juergen Vigna  <jug@sad.it>
11481
11482         * text2.C (getFont): get the drawing font of the Inset if this
11483         paragraph is inside an inset (only important for InsetERT for now).
11484
11485         * buffer.C (insertErtContents): use new lanugage params in ERT
11486         constructor.
11487
11488         * CutAndPaste.C: commenting out seemingly uneeded code.
11489
11490 2002-02-19  Allan Rae  <rae@lyx.org>
11491
11492         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11493         Iterators might be simple to use but they also get invalidated.
11494         (removeAutoInsets): renamed saved cursor tracking variables and added
11495         some comments to clarify what everything does.
11496
11497 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11498
11499         * Chktex.C:
11500         * LaTeX.C:
11501         * LyXSendto.C:
11502         * converter.C:
11503         * lyx_cb.C:
11504         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11505         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11506
11507         * lyxfunc.C:
11508         * vc-backend.h: remove #include "support/syscall.h"
11509
11510         * LaTeX.C:
11511         * LyXSendto.C:
11512         * converter.C: rearrange #includes in Lars' approved fashion.
11513
11514         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11515         forward declare class Timeout in the header file.
11516
11517         * XFormsView.C: changes due to the above.
11518
11519         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11520         similar to LyXView.
11521
11522         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11523         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11524
11525 2002-02-18  José Matos  <jamatos@fep.up.pt>
11526
11527         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11528         insets contents.
11529
11530 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11531
11532         * a lot of small ws changes
11533         * add a lot of using std::XXX
11534         * use std construcs some places where approp.
11535         * use some exisint stuff from lyxfunctional where approp.
11536         * Make file changes to use partial linking (lets test this now...)
11537
11538 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11539
11540         * Chktex.C:
11541         * buffer.C:
11542         remove #include "support/syscontr.h" as it's redundant. Always has been.
11543
11544         * Chktex.C:
11545         * LaTeX.C:
11546         * LyXSendto.C:
11547         * converter.C:
11548         * lyx_cb.C:
11549         * vc-backend.C:
11550         change Systemcalls::System to Systemcalls::Wait and
11551         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11552         No change of functionality, just reflects the stripped down Systemcalls
11553         class.
11554
11555 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11556
11557         * debug.[Ch]: add a GRAPHICS type to the enum.
11558
11559 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11560
11561         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11562
11563         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11564         there is an inset.
11565
11566 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11567
11568         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11569         match the changes below.
11570
11571         * text2.C (toggleInset): if there is not editable inset at cursor
11572         position, try to see if cursor is _inside_ a collapsable inset
11573         and close it.
11574
11575 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11576
11577         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11578         document menu has a nice checkbox
11579
11580 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11581
11582         * lyxlength.C (asLatexString): change PW to output as percent of
11583         \textwidth.
11584
11585         * lengthcommon.C: change '%' to 't%'
11586
11587         * lyxfunc.C (dispatch): a few comments from Martin
11588
11589 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11590
11591         * WorkArea.h:
11592         * WorkArea.C:
11593         * BufferView_pimpl.h:
11594         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11595           the X selection.
11596
11597 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11598
11599         * vspace.C (inPixels): fix compiler warning
11600
11601 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11602
11603         * lyxfunc.C (getStatus): fix status message for disabled commands.
11604
11605 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11606
11607         * BufferView_pimpl.C: fix crash on close buffer
11608         during selection (#227)
11609
11610 2002-01-27  Herbert Voss  <voss@lyx.org>
11611
11612         * buffer.C: link old Figure to new graphic inset
11613
11614 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11615
11616         * FontLoader.C (getFontinfo): Change the latex font names in order
11617         to match the names of type1inst.
11618
11619 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11620
11621         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11622
11623         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11624         (extchanged): ditto
11625         (ext_exist): ditto
11626         (remove_files_with_extension): ditto
11627         (remove_file): ditto
11628         (write): ditto
11629
11630         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11631         document is smaller than the work area height. Do not initialize
11632         static variables to 0.
11633
11634 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11635
11636         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11637
11638         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11639         LFUN_LAYOUT_PARAGRAPHS.
11640
11641         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11642         tabular. It is possible to provide a possible cell, which will
11643         typically be the actcell from the corresponding insettabular
11644
11645         * lyxfunc.C (getStatus): small cleanup; disable
11646         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11647         true
11648
11649 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11650
11651         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11652
11653         * paragraph.C (startTeXParParams):
11654         (endTeXParParams): new methods. The LaTeX code to
11655         start/end paragraph formatting
11656         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11657         empty (fixes bug #200)
11658
11659         * vspace.C (inPixels): adapt to the change below
11660         (inPixels): [later] more cleanups (remove unused variables)
11661
11662         * lyxlength.C (inPixels): change to use a width and a height as
11663         parameter.
11664
11665 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11666
11667         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11668         Replaced with \paperwidth
11669
11670         * DepTable.C (insert): add std:: qualifier
11671
11672 2002-01-18  Allan Rae  <rae@lyx.org>
11673
11674         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11675         updated also?
11676
11677         * text.C (drawInset): Turned out I didn't know enough about how
11678         rebreaking worked.  This fixes most of the redraw problems.  I see
11679         an occasional cursor trail when a line is broken now and the cursor
11680         placement can seem out by a few pixels also after a rebreak.
11681
11682 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11683
11684         * buffer.C (parseSingleLyXformat2Token): update because minipage
11685         width is now a LyXLength
11686
11687         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11688
11689         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11690         math insets
11691
11692 2002-01-17  Juergen Vigna  <jug@sad.it>
11693
11694         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11695
11696         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11697         is set correctly and the inset is updated correctly.
11698
11699 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11700
11701         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11702         the beginning of the loop.
11703
11704 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11705
11706         * lyxrc.C: improve help for use_scalable_fonts
11707
11708 2002-01-17  Allan Rae  <rae@lyx.org>
11709
11710         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11711
11712 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11713
11714         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11715         make sure to set their inset_owner to the right value (bug #171)
11716
11717 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11718
11719         * DepTable.h
11720         * DepTable.C: Implement mtime checking to reduce time spent doing
11721         CRCs.
11722
11723 2002-01-16  Juergen Vigna  <jug@sad.it>
11724
11725         * tabular.C (GetAdditionalHeight): one of error fixed.
11726
11727         * lyxrc.C (output): small fix in writing use_pspell.
11728
11729 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11730
11731         * sp_base.h: #include LString.h
11732
11733 2002-01-16  Allan Rae  <rae@lyx.org>
11734
11735         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11736         Can someone check this please?
11737
11738         * text.C (drawInset): It was possible that p.row would be removed by
11739         breakAgainOneRow upsetting a few other settings.  There may be another
11740         small tweak possible by setting need_break_row = 0 when p.row has been
11741         removed but I don't know enough about the logic here.
11742
11743 2002-01-15  Allan Rae  <rae@lyx.org>
11744
11745         * text.C (insertChar): removed conditional truism.
11746
11747         * BufferView2.C (removeAutoInsets): More tweaks.
11748         cur_par_prev could be a stray pointer.  Check for trailing empty line
11749         in case last line was cur_par and only had an error inset on it.
11750
11751 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11752
11753         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11754         absolute
11755
11756         * vc-backend.C (most methods):
11757         * exporter.C (Export):
11758         * converter.C (convert):
11759         (runLaTeX):
11760         * LyXSendto.C (SendtoApplyCB):
11761         * lyxfunc.C (dispatch):
11762         (menuNew):
11763         (open):
11764         (doImport):
11765         * lyx_cb.C (AutoSave):
11766         (InsertAsciiFile):
11767         * BufferView_pimpl.C (MenuInsertLyXFile):
11768         * buffer.C (runChktex): use Buffer::filePath().
11769
11770         * buffer.h: rename filename to filename_; rename filepath to
11771         filepath_ and make it private
11772         (filePath): new method
11773
11774         * buffer.C (writeFile): use fileName()
11775         (getLatexName):
11776
11777         * lyx_main.C (init): fix starting  of LyX when the binary is a
11778         link from so,ewhere else.
11779
11780         * minibuffer.C: include <cctype> for isprint
11781
11782 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11783
11784         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11785         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11786         name clash with InsetCollapsable's width function.
11787
11788 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11789
11790         * lastfiles.C: include <iterator>
11791
11792 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11793
11794         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11795         std::count.
11796
11797         * buffer.C (makeLaTeXFile): ditto.
11798         Also make loop operation more transparent.
11799
11800 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11801
11802         * ToolbarDefaults.C: remove trailing comma closing namespace.
11803
11804         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11805
11806         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11807         as in WorkArea.
11808
11809         * trans.C (Load): comment out unused variable, allowed.
11810
11811 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11812
11813         * minibuffer.[Ch] (append_char): new method to recieve input from the
11814         drop-down completion browser. If a key was pressed, then recieve this
11815         char and append it to the existing string.
11816         (peek_event): modify the positioning data passed to the completion
11817         browser so that it can be placed above the minibuffer rather than below.
11818 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11819
11820         * LyXAction.C (init): alloe error-next for readonly documents.
11821
11822         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11823         count.
11824
11825 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11826
11827         * bufferlist.C (readFile): create the buffer _after_ checking that
11828         the file exists.
11829
11830         * lyxfunc.C (verboseDispatch): fix handling of arguments
11831
11832         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11833
11834         * lyxrc.C: use string::erase() instead of initializing to "".
11835
11836
11837 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11838
11839         * BufferView_pimpl.h:
11840         * BufferView_pimpl.C:
11841         * WorkArea.h:
11842         * WorkArea.C:
11843         * text2.C: tell X when we have made a selection for copying
11844
11845 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11846
11847         * BufferView_pimpl.C (MenuInsertLyXFile):
11848         * lyxfunc.C (menuNew):
11849         (open):
11850         (doImport): add shortcuts to directory buttons
11851
11852         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11853         open a float)
11854
11855         * lyxfunc.C (setStatusMessage):
11856         (getStatusMessage): new methods
11857         (getStatus):use setStatusMessage instead of setErrorMessage
11858         (dispatch): when function is disabled, set error message here
11859         [instead of in getStatus previously]
11860
11861         * BufferView_pimpl.C (workAreaButtonRelease): update
11862         toolbar/menubar here too.
11863
11864 2002-01-13  Allan Rae  <rae@lyx.org>
11865
11866         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11867         Now seems indestructible.  Remaining task is to audit all other
11868         code affected by deleteEmptyParagraphMechanism.  One small quirk
11869         left is that an empty document with an error in the preamble can
11870         be made to report an error but no error box appears.  I don't know
11871         where it goes.
11872         (removeAutoInsets): Improved comments.
11873
11874 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11875
11876         * Thesaurus.h:
11877         * Thesaurus.C: update for Aiksaurus 0.14
11878
11879 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11880
11881         * text2.C (firstParagraph): removed member function, all uses
11882         replaces with ownerParagraph
11883         (redoParagraphs): here
11884         (updateInset): here
11885         (toggleAppendix): here
11886         * BufferView2.C (insertErrors): here
11887         (setCursorFromRow): here
11888
11889 2002-01-13  Allan Rae  <rae@lyx.org>
11890
11891         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11892         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11893         There is still a way to segfault this although you may have to do this
11894         multiple times: Have an InsetERT with an unknown command in it.
11895         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11896         <down-arrow>, <Enter> again, View->DVI, BANG!
11897
11898         * text2.C (setCursor):
11899         (deleteEmptyParagraphMechanism):
11900         * lyxtext.h (setCursor):
11901         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11902         Making use of the return value may help fix other bugs.
11903
11904 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11905
11906         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11907
11908         * LyXView.C (updateMenubar): call MenuBar::update here
11909         (updateToolbar): but not here
11910         (showState): do not update toolbar/menubar
11911
11912         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11913         should need to care about that.
11914
11915         * lyxfunc.C (verboseDispatch): simplify a bit
11916         (getStatus): have a version which takes a pseudoaction, and
11917         another which requires a (kb_action,string).
11918
11919         * LyXAction.C (retrieveActionArg): make it work also when action
11920         is not a pseudo-action.
11921         (getActionName): simplify a bit
11922         (helpText):
11923
11924 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11925
11926         * lyxfunc.C (verboseDispatch): new families of methods with
11927         several ways to specify a command and a bool to indicate whether
11928         the command name and shortcut should be displayed in minibuffer
11929         (eventually, we could extend that to a finer bitmask like
11930         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11931         (dispatch): the pristine dispatch command which just, well,
11932         dispatchs! Note it still sets its result to minibuffer; I'm not
11933         sure we want that.
11934
11935         * lyxfunc.h: remove setHintMessage
11936
11937         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11938
11939 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11940
11941         * BufferView_pimpl.C (specialChar): delete new inset if we have
11942         not been able to insert it.
11943
11944         * kbmap.C: revert to using int instead of kb_action, since all we
11945         are dealing with is pseudo-actions.
11946
11947         * LyXAction.C (searchActionArg): change to return int instead of
11948         kb_action, since the result is a pseudoaction.
11949
11950 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11951
11952         * buffer.C (insertErtContents): Fix (partially) the font bug.
11953
11954 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11955
11956         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11957         as the other one is broken on my machine!
11958
11959 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11960
11961         * commandtags.h:
11962         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11963
11964 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11965
11966         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11967         reflect their actual use. Provide compatibility code for older lyxrc
11968         files.
11969
11970         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11971         FL_NORMAL_STYLE.
11972         change names of popup font variables in line with the changes to lyxrc.C
11973
11974 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11975
11976         * buffer.C (asciiParagraph): avoid outputing a word twice after
11977         an inset.
11978
11979         * lyxrc.C (getDescription): document that document_path and
11980         template_path can be empty.
11981
11982 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11983
11984         * LaTeXFeatures.C (getMacros):
11985         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11986
11987         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11988
11989         * LaTeXFeatures.C (useFloat): require "float" here instead of in
11990         getPackages.
11991         (getPackages): rename feature "floats" to "float". Use an array to
11992         iterate over 'simple' features (i.e. just a \usepackage). Add
11993         handling of "amsmath" (renamed from "amsstyle").
11994
11995 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
11996
11997         * LaTeXFeatures.C (require): Prevent duplicate entries in the
11998         features list.
11999
12000 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12001
12002         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12003         FuncStaus::FuncStatus & FuncStaus::some_method().
12004
12005 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12006
12007         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12008         of the func_satus stuff. Edited and massaged in various ways by
12009         JMarc.
12010
12011         * lyxfunc.C (getStatus): use FuncStatus
12012
12013 2002-01-08  Juergen Vigna  <jug@sad.it>
12014
12015         * text.C (nextBreakPoint): use function Inset::isChar().
12016
12017         * paragraph.C (TeXOnePar): use function
12018         Inset::forceDefaultParagraphs.
12019
12020         * buffer.C (latexParagraphs): use function
12021         Inset::forceDefaultParagraphs.
12022
12023 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12024
12025         * lyx_gui.C (init): set the style of the menu popups to
12026         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12027
12028 2002-01-07  Juergen Vigna  <jug@sad.it>
12029
12030         * text.C (setHeightOfRow): small fix
12031         (prepareToPrint): don't look at alignment if we don't have the place
12032         for doing it.
12033
12034 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12035
12036         * box.C: New file. Move the Box methods and functions out of box.h,
12037         following Lars' suggestion.
12038
12039 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12040
12041         * box.h: #include "support/LOstream.h", needed for inlined function.
12042
12043         * lyxtextclass.C:
12044         * lyxtextclasslist.C: added some using std declarations.
12045
12046 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12047
12048         * box.h: make signed dimensions to allow insets wider than
12049           the screen (bug #162)
12050
12051         * BufferView_pimpl.C: add some insetHit debug
12052
12053 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12054
12055         * vc-backend.C: add FIXME
12056
12057 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12058
12059         * lyxfunc.C (getStatus): enable code for showing math font status
12060         in toolbar/menu.
12061
12062 2002-01-07  Juergen Vigna  <jug@sad.it>
12063
12064         * text.C (nextBreakPoint): removed debug output not needed anymore.
12065
12066 2002-01-06  Juergen Vigna  <jug@sad.it>
12067
12068         * text.C (nextBreakPoint): fixed up this function we had this bug
12069         since ever but now hopefully we break row better.
12070         (insertChar): we have to check if an inset is the next char as it
12071         could now happen that a large inset is causing a break.
12072
12073 2002-01-05  Juergen Vigna  <jug@sad.it>
12074
12075         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12076         if it doesn't like to be drawed.
12077
12078 2002-01-04  Juergen Vigna  <jug@sad.it>
12079
12080         * BufferView2.C (lockInset): forgot to set a cursor.
12081
12082         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12083
12084 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12085
12086         * FormMathsPanel.C:
12087         * FormMathsPanel.h
12088         * MathsSymbols.C:
12089         * form_maths_panel.C:
12090         * form_maths_panel.h:
12091         * form_maths_panel.fd: implemented sub- and super- buttons in math
12092         panel.
12093
12094         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12095         (or ^ space) to be used as in TeX (req'd by André).
12096
12097         * lyxfunc.C: Allow ^ and _ again to be used both as
12098         super/subscript (mathed) and as themselves (in text).
12099
12100 2002-01-03  Allan Rae  <rae@lyx.org>
12101
12102         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12103         "LyX" or the filename of the current buffer if it has one.  This is a
12104         modified form of John Levon's patch.
12105
12106         * XFormsView.C (setWindowTitle): also set icon title.
12107
12108         * LyXView.h (setWindowTitle): signature changed.
12109         * XFormsView.h (setWindowTitle): ditto.
12110
12111 2002-01-02  Juergen Vigna  <jug@sad.it>
12112
12113         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12114
12115 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12116
12117         * screen.C (topCursorVisible): introduce a temp var for
12118         text->cursor.row(), handle the case where this row is null. (kindo
12119         hachish)
12120
12121         * text2.C (setCursor): add a couple of asserts.
12122
12123         * paragraph.h (inset_iterator): add -> operator
12124
12125         * paragraph.[Ch] (autoDeleteInsets): remove member function
12126
12127         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12128         cursor pos correctly and handle inset deletion by itself.
12129         (insertErrors): move iterator declaration out of for expression
12130
12131         * lyxtextclass.C: add <algorithm>
12132
12133         * Makefile.am: added the new files to sources, removed layout.C
12134
12135         * layout.C: removed file
12136
12137         * layout.h: remove LYX_DUMMY_LAYOUT
12138
12139         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12140         layout.
12141
12142         * lyxlayout.[Ch]:
12143         * lyxtextclass.[Ch]:
12144         * lyxtextclasslist.[Ch]: new files
12145
12146         * include order changes to a lot of files, also changes because of
12147         the six new files.
12148
12149 2001-12-27  Juergen Vigna  <jug@sad.it>
12150
12151         * buffer.C (asciiParagraph): more fixes.
12152
12153         * tabular.C (ascii): make ascii export support export of only the
12154         data separated by a column-delimiter.
12155         (ascii): better support for ascii export.
12156
12157         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12158
12159 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12160
12161         * tabular_funcs.C: use a "using std::getline" instead of the
12162         previous fix from Angus (necessary for cxx + lyxstring)
12163
12164 2001-12-24  Juergen Vigna  <jug@sad.it>
12165
12166         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12167
12168         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12169         problems. First check a minipage also if we have some ert-contents
12170         (not only on par->size(), second set the right depth of the paragraph
12171         on the relink to the root-paragraph-list!
12172
12173         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12174         which then did not anymore update the main paragraphs on undo/redo!
12175
12176 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12177
12178         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12179         code. Support all font-changing funcs (even those which are not in
12180         menu currently). Support for reporting font settings in
12181         mathed (disabled until Andre provides a function on mathed's side).
12182
12183         * func_status.h (toggle): small helper function to set toggle
12184         state on a flag.
12185
12186 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12187
12188         * tabular_funcs.C: getline -> std::getline
12189
12190 2001-12-21  Juergen Vigna  <jug@sad.it>
12191
12192         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12193         accessed and could be 0 (I couldn't generate this but it seems
12194         Michael could!).
12195
12196 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12197
12198         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12199         * tabular_funcs.h: here and include iosfwd
12200
12201 2001-12-20  Juergen Vigna  <jug@sad.it>
12202
12203         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12204         inside inset but undo_par was.
12205
12206 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12207
12208         * Thesaurus.C: always include <config.h> in sources.
12209
12210         * Painter.h:
12211         * lyxlookup.h:
12212         * box.h: do not include <config.h> in header files
12213
12214         * text.C (paintLastRow): remove unused variable
12215
12216         * text.C (transformChar):
12217         (insertChar):
12218         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12219
12220         * Painter.C (text):
12221         * font.C (width): rewrite to use uppercase() instead of
12222         islower/toupper.
12223
12224         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12225
12226 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12227
12228         * lyxfind.C: clean up of find failure position change
12229
12230 2001-12-20  Juergen Vigna  <jug@sad.it>
12231
12232         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12233
12234         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12235         (TeXRow): added to LaTeX a single tabular row.
12236         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12237         (Latex): simplified and finally good LT-h/f support.
12238         (various_functions): just small adaptions for LT-h/f support.
12239
12240         * tabular_funcs.[hC]: added and moved here all not classfunctions
12241         of LyXTabular.
12242
12243 2001-12-19  Juergen Vigna  <jug@sad.it>
12244
12245         * tabular.[Ch]: better support for longtabular options (not finished
12246         yet!)
12247
12248 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12249
12250         * text.C (paintLastRow): use the label font instead of the font of
12251         the last character to compute the size of *_BOX. This makes more
12252         sense and avoids a crash with empty paragraphs.
12253         Use Painter::rectangle to draw EMPTY_BOX.
12254
12255 2001-12-19  Juergen Vigna  <jug@sad.it>
12256
12257         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12258         the paragraphs if the replaced paragraph is not the first one!
12259         Tried to delete not used paragraphs but does not work yet so for
12260         now it's inside #ifdef's and by default off!
12261
12262 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12263
12264         * MenuBackend.C: include "lyx_main.h" instead of declaring
12265         lastfiles (actually was declared as LastFiles* instead of a
12266         scoped_ptr).
12267
12268 2001-12-17  Juergen Vigna  <jug@sad.it>
12269
12270         * tabular.C (AppendColumn): applied John's fix
12271
12272 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12273
12274         * BufferView.h:
12275         * BufferView.C:
12276         * BufferView_pimpl.h:
12277         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12278
12279         * Makefile.am:
12280         * box.h: new start of class for above
12281
12282         * lyxfunc.C: ignore space-only minibuffer dispatches.
12283           Show the command name when it doesn't exist
12284
12285         * minibuffer.C: don't add empty lines to the history
12286
12287         * minibuffer.C: add a space on dropdown completion
12288
12289 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12290
12291         * text.C: fix line above/below drawing in insets
12292
12293 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12294
12295         * lyxlength.C (LyXLength): Initialize private variables.
12296
12297 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12298
12299         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12300         when inserting error insets.
12301
12302 2001-12-13  Juergen Vigna  <jug@sad.it>
12303
12304         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12305         actually sometimes the before-paragraph.
12306         (setUndo): don't clear the redostack if we're not actually undoing!
12307
12308 2001-12-06  Juergen Vigna  <jug@sad.it>
12309
12310         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12311         and fixed redoing of main paragraph, so we can use it now ;)
12312
12313         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12314
12315 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12316
12317         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12318         Juergen's request
12319
12320 2001-12-13  André Pönitz <poenitz@gmx.net>
12321
12322         * undostack.[Ch]:
12323         * undo_func.C: minor cleanup
12324
12325 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12326
12327         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12328         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12329         font in urw-fonts package which is marked as -urw-fontspecific and
12330         does not work (incidentally, changing the encoding in the
12331         fonts.dir of this package to -adobe-fontspecific fixes the
12332         problem).
12333
12334         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12335         is a crash when undoing first paragraph (Juergen, please take a
12336         look). THis does not mean the undo fix is wrong, just that it
12337         uncovers problems.
12338
12339         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12340         the (Paragraph*) version when needed instead of duplicating the
12341         code.
12342
12343         * text.C (workWidth): use Inset::parOwner to find out where the
12344         inset has been inserted. This is a huge performance gain for large
12345         documents with lots of insets. If Inset::parOwner is not set, fall
12346         back on the brute force method
12347
12348         * paragraph_pimpl.C (insertInset):
12349         * paragraph.C (Paragraph):
12350         (cutIntoMinibuffer): set parOwner of insets when
12351         inserting/removing them
12352
12353         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12354
12355 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12356
12357         * commandtags.h:
12358         * LyXAction.C:
12359         * lyx_main.C:
12360         * lyxfunc.C:
12361         * mathed/formulabase.C:
12362         * mathed/math_cursor.[Ch]:
12363         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12364
12365
12366 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12367
12368         * lyxlength.[Ch] (operator!=): new function
12369
12370 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12371
12372         * text.C (workWidth): use Inset::parOwner to find out where the
12373         inset has been inserted. This is a huge performance gain for large
12374         documents with lots of insets. If Inset::parOwner is not set, fall
12375         back on the brute force method
12376
12377         * paragraph_pimpl.C (insertInset):
12378         * paragraph.C (Paragraph):
12379         (cutIntoMinibuffer): set parOwner of insets when
12380         inserting/removing them
12381
12382         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12383
12384 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12385
12386         * tabular-old.C (getTokenValue):
12387         * tabular.C (getTokenValue):
12388         (write_attribute): new versions for LyXLength
12389         (everywhere): adjust the use of widths
12390
12391         * tabular.h: change the type of widths from string to LyXLength
12392
12393 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12394
12395         * paragraph.C: fixed missing line number count when exporting
12396         Environments to LaTeX file
12397
12398         * buffer.C: added informational message for checking line numbers.
12399
12400 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12401
12402         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12403         paragraph, do the 'double space' part, but not the 'empty
12404         paragraph' one.
12405
12406         * text.C (workWidth): small optimization
12407         (getLengthMarkerHeight): use minimal size for negative lengths.
12408
12409 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12410
12411         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12412
12413         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12414
12415 2001-12-11  André Pönitz <poenitz@gmx.net>
12416
12417         * FontLoader.C:
12418         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12419
12420 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12421
12422         * text2.C: keep selection on a setFont()
12423
12424 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12425
12426         * lyx_cb.C: another bv->text misuse, from insert label
12427
12428 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12429
12430         * kbsequence.h:
12431         * kbsequence.C: re-instate nmodifier mask
12432
12433 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12434
12435         * lyx_main.h: make lyxGUI private.
12436
12437 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12438
12439         * lyxfind.C: place the cursor correctly on failed search
12440
12441 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12442
12443         * text.C (getLengthMarkerHeight): for small heights, the arrows
12444         are not always on top/bottom of the text
12445         (drawLengthMarker): smaller arrows; take the left margin in
12446         account; draw also vfills.
12447         (paintFirstRow):
12448         (paintLastRow): remove special code for vfill and standard spaces,
12449         since everything is handled in drawLengthMarker now.
12450
12451 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12452
12453         * buffer.C (insertErtContents): try to handle font and language
12454         interaction a bit better.g
12455
12456         * ColorHandler.C (updateColor): change the hash to cover the whole
12457         LColor enum, ws cleanup
12458         (getGCLinepars): ditto
12459         (getGCLinepars): only lookup in the linecache once.
12460
12461 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12462
12463         * iterators.C (operator++): Make the iterator more robust
12464
12465         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12466         (John's patch)
12467         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12468
12469 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12470
12471         * lyxtext.h:
12472         * text.C: better added space drawing
12473
12474 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12475
12476         * LyXView.C:
12477         * BufferView2.C: fix layout combo update on inset unlock
12478
12479 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12480
12481         * Makefile.am: don't compile unused files
12482
12483 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12484
12485         * lyxfunc.C:
12486         * commandtags.h:
12487         * LyXAction.C: remove old LFUN_LAYOUTNO
12488
12489 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12490
12491         * paragraph_pimpl.h:
12492         * paragraph_pimpl.C: isTextAt() doesn't need font param
12493
12494 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12495
12496         * lyxlex.h:
12497         * lyxlex.C: little cleanup
12498
12499 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12500
12501         * BufferView_pimpl.C: fix insertAscii for insets
12502
12503 2001-12-05  Juergen Vigna  <jug@sad.it>
12504
12505         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12506         set the right font on the "multi" paragraph paste!
12507
12508 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12509
12510         * trans_decl.h:
12511         * trans_mgr.[Ch]:
12512         * trans.[Ch]:
12513         * lyxgluelength.C:
12514         * lyxlength.C: remove out-commented code.
12515
12516         * BufferView_pimpl:
12517         * CutAndPaste.C:
12518         * DepTable.C:
12519         * buffer.C:
12520         * chset.C:
12521         * lastfiles.C:
12522         * lyxlex.C:
12523         * lyxlex_pimpl.C:
12524         * lyxserver.C:
12525         * screen.C:
12526         * tabular-old.C:
12527         * tabular.C:
12528         * text.C:
12529         * trans_mgr.C:
12530         * vc-backend.C: change "while(" to "while ("
12531
12532         * lyxlength.[Ch]: add zero function to check if length is zero or
12533         not
12534         * lyxgluelength.C: use it
12535
12536 2001-12-05  Allan Rae  <rae@lyx.org>
12537
12538         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12539         Works for 2.95.3, from what I understand of Garst's reports this should
12540         work for other g++ versions.  We're screwed if the abs(int) definition
12541         changed between bugfix releases of gcc.
12542
12543 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12544
12545         * text.C: fix chapter label offset !
12546
12547 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12548
12549         * lyxtext.h:
12550         * text.C: fix hfill at end of line, clean up
12551
12552 2001-12-04  Juergen Vigna  <jug@sad.it>
12553
12554         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12555         that we force an update of the inset and it's owners if neccessary.
12556
12557 2001-12-03  Juergen Vigna  <jug@sad.it>
12558
12559         * text.C (rowLast): simplified code
12560
12561 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12562
12563         * lyxfunc.C: fix show options on timeout
12564
12565 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12566
12567         * screen.C (topCursorVisible): scroll half a page when the cursor
12568         reached top of bottom of screen
12569
12570 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12571
12572         * minibuffer.C: deactivate on loss of focus
12573
12574 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12575
12576         * vspace.[Ch] (operator!=): add operator.
12577
12578 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12579
12580         * BufferView_pimpl.C: refuse to open an inset when
12581         there's a selection.
12582
12583 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12584
12585         * BufferView_pimpl.C: allow to click on RHS of full row insets
12586
12587 2001-11-30  Juergen Vigna  <jug@sad.it>
12588
12589         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12590         insets for undo reasons.
12591
12592 2001-11-28  André Pönitz <poenitz@gmx.net>
12593
12594         * vspace.[Ch]: cosmetical changes
12595
12596 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12597
12598         * LyXAction.h:
12599         * LyXAction.C:
12600         * lyxfunc.h:
12601         * lyxfunc.C:
12602         * kbmap.h:
12603         * kbmap.C:
12604         * lyxrc.C:
12605         * kbsequence.h:
12606         * kbsequence.C: part re-write of old kb code
12607
12608         * Painter.C:
12609         * WorkArea.C: remove Lgb_bug_find_hack
12610
12611 2001-11-30  José Matos <jamatos@fep.up.pt>
12612
12613         * buffer.C (makeDocBookFile): add a comment to point a hack.
12614         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12615         Fixed a double write of labels.
12616
12617 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12618
12619         * LaTeX.C:
12620         * LaTeX.h Fixed bug in LaTeX class where it would not
12621         re-run latex if no depfiles were changed, but the .dvi was removed.
12622
12623 2001-11-28  André Pönitz <poenitz@gmx.net>
12624
12625         * all the files from the change on 2001/11/26:
12626         use lyx::layout_type instead of LyXTextClass::size_type
12627         use lyx::textclass_type instead of LyXTextClassList::size_type
12628
12629 2001-11-29  Juergen Vigna  <jug@sad.it>
12630
12631         * text.C: added support for paragraph::isFreeSpacing()
12632
12633         * buffer.C: same as above
12634
12635         * paragraph.h: inserted isFreeSpacing() function to enable
12636         FreeSpacing inside InsetERT.
12637
12638         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12639         of the paragraph's in the cut/copy buffer to 0!
12640
12641         * text2.C (removeRow): remove the assert as it can!
12642
12643         * lyxtext.h: added helper function firstRow returning firstrow and
12644         made firstrow private again.
12645
12646         * BufferView2.C (lockInset): don't relock if we're already locked!
12647
12648         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12649         the only paragraph.
12650         (removeRow): added Assert::(firstrow)
12651
12652         * debug.C: forgot to add INSETTEXT here.
12653
12654 2001-11-28  Juergen Vigna  <jug@sad.it>
12655
12656         * sp_spell.C (initialize): changed error text to more general
12657         spellchecker command use (not only ispell!)
12658
12659         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12660
12661         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12662
12663 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12664
12665         * vspace.C: initialise lyxgluelength on failure
12666
12667 2001-11-28  Allan Rae  <rae@lyx.org>
12668
12669         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12670         declaration & definition that looks like a function declaration.
12671
12672 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12673
12674         * BufferView2.C (copy):
12675         (copyEnvironment): do not clear the selection when doing a copy.
12676
12677         * text.C (paintFirstRow): compilation fix
12678
12679 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12680
12681         * tabular.C (Latex): correct line count when writing latex.
12682
12683 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12684
12685         * paragraph_pimpl.h:
12686         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12687           bug a bit
12688
12689 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12690
12691         * text.C:
12692         * LColor.h:
12693         * LColor.C: change vfillline->added_space
12694
12695         * text.C: add markers and text for added space
12696
12697         * vspace.C: fix comment
12698
12699 2001-11-28  André Pönitz <poenitz@gmx.net>
12700
12701         * paragraph.C: whitespace changes
12702         * all the other files from the change on 2001/11/26:
12703         change *::pos_type into lyx::pos_type
12704
12705 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12706
12707         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12708         language of the document when inserting error insets.
12709
12710 2001-11-26  André Pönitz <poenitz@gmx.net>
12711
12712         * BufferView_pimpl.[Ch]:
12713         *       CutAndPaste.C:
12714         * buffer.[Ch]:
12715         * lyxcursor.[Ch]:
12716         * lyxfind.C:
12717         * lyxfunc.C:
12718         * lyxrow.[Ch]:
12719         * paragraph.[Ch]:
12720         * paragraph_pimpl.[Ch]:
12721         * sp_spell.C:
12722         * text.C:
12723         * text2.C: reduce header dependencies, introduce type for positions
12724
12725 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12726
12727         * <various>: change to use Alert.h
12728
12729 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12730
12731         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12732         when encountering an unknown token.
12733         (readLyXformat2): Show an error message if there were unknown tokens.
12734
12735 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12736
12737         * BufferView2.C:
12738         * BufferView_pimpl.C:
12739         * buffer.C:
12740         * paragraph.h:
12741         * text.C:
12742         * text2.C: use par->isInset()
12743
12744 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12745
12746         * paragraph_pimpl.h:
12747         * paragraph_pimpl.C: cleanup
12748
12749 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12750
12751         * text2.C (removeRow):
12752         * text.C (setHeightOfRow): remove useless (and costly) call to
12753         getRow.
12754
12755 2001-11-20  Allan Rae  <rae@lyx.org>
12756
12757         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12758         Now need Inset*::checkInsertChar() to return true for appropriate
12759         cases so that the characters in the minibuffer will actually be
12760         inserted.
12761
12762 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12763
12764         * text.C: change the order of the includes.
12765         (workWidth): initialize it at once.
12766         (workWidth): make maxw unsigned
12767         (setHeightOfRow): remove unused variable (inset)
12768         (selectSelectedWord): remove unused variable (inset)
12769         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12770
12771 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12772
12773         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12774         server is not running.
12775         (openConnection):
12776         (closeConnection): add debug info when server is disabled.
12777
12778         * ColorHandler.C (getGCForeground): send debug message to GUI
12779         channel.
12780
12781         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12782
12783         * kbmap.C (bind): modify because return conventions of
12784         kb_sequence::parse have changed.
12785
12786         * kbsequence.C (parse): only ignore spaces and not any stupid
12787         control character. This avoids tests like s[i] <= ' ', which are
12788         guaranteed to fail with 8bit characters and signed chars.
12789         Change return code to string::npos when there have been no error
12790         (0 was a bad idea when error is at first character)
12791
12792 2001-11-14  José Matos  <jamatos@fep.up.pt>
12793
12794         * buffer.h:
12795         * buffer.C (simpleDocBookOnePar): removed unused argument.
12796
12797 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12798
12799         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12800         insets which are part of a word. Paragraph::isLetter takes care of
12801         that now. Use Paragraph::isInset to identify insets.
12802         (selectSelectedWord): do not test for hyphenation break.
12803
12804         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12805         that protected spaces are considered as spaces.
12806
12807         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12808         Inset::isLetter.
12809
12810 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12811
12812         * lyxserver.h:
12813         * lyxserver.C: fix it. and small cleanup.
12814
12815 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12816
12817         * BufferView_pimpl.C: use inline helpers
12818
12819         * LaTeXFeatures.h:
12820         * LaTeXFeatures.C: fix typos
12821
12822         * Spacing.h:
12823         * Spacing.C: move spacing_string into class
12824
12825         * ToolbarDefaults.C: move stuff into namespace anon
12826
12827         * layout.h: update enum
12828
12829         * lyxfunc.C: use better debug
12830
12831         * minibuffer.h: fix typo
12832
12833         * debug.h:
12834         * debug.C:
12835         * WorkArea.C: add and use Debug::WORKAREA
12836
12837         * lyxtext.h:
12838         * text.C:
12839         * text2.C: code re-organisation, inline helpers
12840
12841 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12842
12843         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12844         std::vector.empty().
12845
12846 2001-11-09  Allan Rae  <rae@lyx.org>
12847
12848         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12849         '\n's after tables.  Tabular and ERT inset work now makes this no
12850         longer necessary.
12851
12852 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12853
12854         * minibuffer.h:
12855         * minibuffer.C: fix crash, improve drop-down completion
12856
12857 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12858
12859         * lyxserver.h:
12860         * lyxserver.C: invalidate fd's when doing endPipe()
12861
12862 2001-11-08  José Matos  <jamatos@fep.up.pt>
12863
12864         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12865         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12866
12867         * paragraph.h:
12868         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12869
12870 2001-11-07  José Matos  <jamatos@fep.up.pt>
12871
12872         * buffer.h:
12873         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12874         const qualifier.
12875
12876         * buffer.C (sgmlOpenTag):
12877         * buffer.C (sgmlCloseTag): removed debug info.
12878
12879         * buffer.h (sgmlOpenTag):
12880         * buffer.h (sgmlCloseTag): made public.
12881
12882 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12883
12884         * buffer.C (saveParamsAsDefaults):
12885         * lyx_cb.C (MenuLayoutSave): remove
12886
12887         * LyXAction.C (init):
12888         * commandtags.h:
12889         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12890
12891 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12892
12893         * buffer.C (setPaperStuff): removed from here...
12894
12895         * bufferparams.C (setPaperStuff): ... and moved there.
12896
12897 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12898
12899         * minibuffer.h:
12900         * minibuffer.C:
12901         * XFormsView.C: add support for drop-down completion
12902
12903 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12904
12905         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12906         commands.
12907
12908 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12909
12910         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12911         disabled.
12912
12913 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12914
12915         * lyx_main.C: change ref to known bugs
12916
12917 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12918
12919         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12920         to work around older babel problems.
12921
12922 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12923
12924         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12925
12926 2001-10-24  Juergen Vigna  <jug@sad.it>
12927
12928         * tabular-old.C (ReadOld): below variable changes reflected.
12929
12930         * tabular.[Ch]: added ltType struct for longtable header/footer
12931         defines and changed all instances where they are used. Added
12932         future support for double top/bottom rows.
12933
12934 2001-10-24  José Matos  <jamatos@fep.up.pt>
12935
12936         * buffer.h (docbookHandleCaption):
12937         * buffer.C (docbookHandleCaption): removed unused function.
12938         (makeDocBookFile): moved docbook supported version to v4.1.
12939
12940 2001-10-24  José Matos  <jamatos@fep.up.pt>
12941
12942         * tabular.h:
12943         * tabular.C (docbookRow): new function to export docbook code of a row.
12944         (DocBook): now honors the longtable flags.
12945
12946 2001-10-23  José Matos  <jamatos@fep.up.pt>
12947
12948         * LaTeXFeatures.h:
12949         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12950         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12951
12952         * buffer.C (makeLinuxDocFile):
12953         (makeDocBookFile): reworked the preamble, more clean, and with
12954         support for lyx defined entities. Changed the document declaration
12955         to be more XML friendly.
12956
12957         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12958         if we need to output XML that should be done with a filter.
12959
12960 2001-10-22  Juergen Vigna  <jug@sad.it>
12961
12962         * sp_pspell.h (class PSpell): add alive function needed in the
12963         controller to see if the spellchecker could be started.
12964
12965 2001-10-22  Juergen Vigna  <jug@sad.it>
12966
12967         * buffer.C (insertStringAsLines): modify the font for inserting
12968         chars in certain conditions by calling checkInsertChar(font).
12969
12970 2001-10-19  Juergen Vigna  <jug@sad.it>
12971
12972         * text.C (workWidth): use getRow instead of wrong algorithm.
12973         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12974
12975 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12976
12977         * lyxserver.h:
12978         * lyxserver.C:
12979         * lyx_main.h:
12980         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12981
12982 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12983
12984         * text.C (workWidth): do not search for the exact row when
12985         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12986         optimization for big documents.
12987
12988 2001-10-18  Juergen Vigna  <jug@sad.it>
12989
12990         * text.C (workWidth): new function with added Inset * parameter.
12991
12992 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12993
12994         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12995
12996         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12997         change return type of getColumnNearX.
12998
12999
13000         * text.C (changeRegionCase): use uppercase/lowercase instead of
13001         toupper/tolower.
13002         (leftMargin):
13003         (rightMargin): simplify code by factoring out the uses of
13004         textclasslist.
13005         (labelFill):
13006         (numberOfHfills):
13007         (setHeightOfRow):
13008         (appendParagraph): use Paragraph::size_type
13009
13010 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13011
13012         * vspace.C (asLatexString): add a missing break
13013
13014 2001-10-15  Herbert Voss  <voss@perce.de>
13015
13016         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13017
13018 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13019
13020         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13021         is not available.
13022
13023 2001-10-10  André Pönitz <poenitz@gmx.net>
13024
13025         * lyxfunc.C: removed greek_kb_flag.
13026
13027 2001-10-10  Herbert Voss  <voss@perce.de>
13028
13029         * lyx_main.C: delete global string help_lyxdir.
13030
13031 2001-10-09  Herbert Voss  <voss@perce.de>
13032
13033         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13034
13035         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13036
13037         * lyx_main.C: added global string help_lyxdir.
13038
13039         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13040
13041 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13042
13043         * lyxrc.C (set_font_norm_type): support iso8859-4
13044
13045 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13046
13047         * LaTeX.C (deplog): add another regex for MikTeX
13048
13049 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13050
13051         * lyxrc.C (set_font_norm_type): support iso8859-3
13052
13053 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13054
13055         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13056
13057         * LaTeXFeatures.C: remove special case of french and index
13058
13059         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13060         before \begin{document}). This solves several incompatibilities.
13061
13062 2001-10-03  Garst Reese  <reese@isn.net>
13063
13064         * lyx_cb.C: change CheckTex error msg.
13065
13066 2001-10-03  José Matos  <jamatos@fep.up.pt>
13067
13068         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13069
13070 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13071
13072         * .cvsignore: update
13073
13074         * lyx_main.C (commandLineVersionInfo): use new style version info.
13075
13076         * buffer.C (writeFile):
13077         (makeLaTeXFile):
13078         (makeLinuxDocFile):
13079         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13080
13081         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13082
13083         * version.h: update to use stuff in version.C
13084
13085         * version.C.in: new file. Contains version information determined
13086         at compile time. This is a merging of version.h and
13087         version_info.h.in.
13088
13089 2001-10-03  Juergen Vigna  <jug@sad.it>
13090
13091         * BufferView_pimpl.C (update): don't change "dirty" status in
13092         updateInset call.
13093
13094 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13095
13096         * WorkArea.C (c-tor): re-position version string slightly.
13097
13098 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13099
13100         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13101         revert to previous code.
13102
13103         WorkArea.[Ch]: (show, destroySplash): methods removed.
13104
13105         WorkArea.C: rework code so that it's an amalgam of the codes before and
13106         after the splash screen was moved to WorkArea.
13107
13108 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13109
13110         * lyxrc.C (read):
13111         * vspace.C (inPixels):
13112         (lyx_advance):
13113         * kbmap.C (bind):
13114         * buffer.C (insertStringAsLines):
13115         (asciiParagraph): fix types to be large enough
13116
13117         * lyxlex_pimpl.h: change member status from short to int
13118
13119         * layout.h: fix type of endlabeltype
13120
13121         * kbmap.C (bind):
13122         * kbsequence.C (parse): change return type to string::size_type
13123
13124         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13125         variable
13126
13127         * Bullet.C (bulletSize):
13128         (bulletEntry): do not use short ints as parameters
13129
13130         * BufferView2.C (insertLyXFile): change a char to an int.
13131
13132         * WorkArea.C (WorkArea): remove unneeded floats in computation
13133
13134 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13135
13136         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13137
13138         * paragraph.C (asString): Do not ignore newline/hfill chars when
13139         copying to the clipboard.
13140
13141 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13142
13143         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13144         after a multi-line inset.
13145
13146 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13147
13148         * paragraph.C (validate): Set NeedLyXFootnoteCode
13149
13150 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13151
13152         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13153         and decrease-error to decrease.
13154
13155 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13156
13157         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13158         it more readable (should be equivalent)
13159
13160 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13161
13162         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13163
13164 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13165
13166         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13167         of a cursor (row, etc.) after a character has been deleted
13168         (deleteEmptyParagraphMechanism): call the method above on _all_
13169         cursors held by the LyXText when a double space has been
13170         detected/deleted.
13171
13172 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13173
13174         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13175         pixmap.
13176         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13177
13178         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13179         background. Use greyOut() and the new show() methods to toggle between
13180         the foreground and background. Add code to remove the splash after
13181         its initial showing.
13182
13183         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13184         (create_forms): no longer call Dialogs::showSplash.
13185
13186 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13187
13188         * .cvsignore: add version_info.h
13189
13190 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13191
13192         * version_info.h.in: new file
13193
13194         * Makefile.am: add version_info.h.in
13195
13196         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13197         version_info.h instead of VERSION_INFO
13198
13199 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13200
13201         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13202         The ERT inset now returns string().
13203
13204 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13205
13206         * lyxtext.h, text.C (selectNextWord): renamed as
13207         selectNextWordToSpellcheck.
13208
13209         * text.C (selectNextWordToSpellcheck): Modified to not select
13210         words inside an ERT inset.
13211
13212 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13213
13214         * lyx_cb.C (MenuLayoutSave): change a bit the question
13215
13216         * sp_base.h: include <sys/types.h>
13217
13218 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13219
13220         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13221
13222 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13223
13224         * several files: fix typos in user-visible strings
13225
13226 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13227
13228         * text2.C (pasteSelection): do not set the selection, since it
13229         will be cleared later. Actually, the intent was to fix the way the
13230         selection was set, but I figured rmoving the code was just as good.
13231
13232 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13233
13234         * FontLoader.C (available): Check if font is available without
13235         loading the font.
13236
13237 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13238
13239         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13240
13241 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13242
13243         * lyxrc.[Ch]: added display_graphics variable and associated code.
13244
13245 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13246
13247         * bufferparams.C (hasClassDefaults): new method. Returns true if
13248         the buffer parameters correspond to known class defaults
13249
13250 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13251
13252         * XFormsView.C (show): set minimum size to the main window.
13253
13254 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13255
13256         * text2.C (copySelection):
13257         (cutSelection):
13258         * lyxfind.C (LyXReplace):
13259         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13260         LyXText::selectionAsString.
13261
13262         * paragraph.C (asString): add "label" argument to the second form
13263
13264         * text2.C (selectionAsString): add "label" argument and pass it to
13265         Paragraph::asString.
13266
13267 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13268
13269         * lyx_main.C (commandLineHelp): remove version information
13270
13271 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13272
13273         * lyx_main.C: add -version commandline option
13274
13275 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13276
13277         * paragraph.h: make the optional constructor arg required instead.
13278         some modifications to other files because of this.
13279
13280         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13281
13282         * lyxserver.C (C_LyXComm_callback): make it static
13283
13284         * lyx_main.C (error_handler): make it static
13285
13286         * lyx_gui.C (LyX_XErrHandler): make it static
13287
13288         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13289
13290         * WorkArea.C: make the extern "C" methods static.
13291
13292         * Makefile.am (lyx_LDADD): simplify
13293
13294 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13295
13296         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13297         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13298
13299         * LyXAction.C (init):
13300         * lyxfunc.C (dispatch): associated code removal.
13301
13302 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13303
13304         * lyxfont.h (isSymbolFont): shut off warning
13305
13306         * text.C (setHeightOfRow):
13307         (getVisibleRow): fix crash with empty paragraphs which have a
13308         bottom line
13309
13310 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13311
13312         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13313         code.
13314
13315 2001-09-04  José Matos  <jamatos@fep.up.pt>
13316         * buffer.C
13317         * buffer.h
13318         * tabular.C (docbook): rename docBook method to docbook.
13319
13320 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13321
13322         * Makefile.am: add dependencies to main.o.
13323
13324 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13325
13326         * FontLoader.C (available): Return false if !lyxrc.use_gui
13327
13328 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13329
13330         * FontInfo.C (query):
13331         * converter.C (view):
13332         * importer.C (Import):
13333         * exporter.C (Export): Can not -> cannot.
13334
13335 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13336
13337         * BufferView_pimpl.C: allow to create index inset even if
13338           string is empty
13339
13340 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13341
13342         * buffer.C (getLists): replace boost::tie code with an explicit pair
13343         as boost::tie can break some compilers.
13344
13345         * iterators.h: Added a std:: declaration to the return type of
13346         ParIterator::size.
13347
13348 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13349
13350         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13351           case.
13352
13353 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13354
13355         * iterators.[Ch]: New files. Provide paragraph iterators.
13356
13357         * buffer.C (changeLanguage): Use paragraph iterators.
13358         (isMultiLingual): ditto
13359
13360         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13361
13362 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13363
13364         * FontLoader.C: Support for cmr font.
13365
13366 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13367
13368         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13369         (available): New method.
13370
13371         * FontInfo.C (getFontname): Use scalable fonts even when
13372         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13373         found.
13374
13375 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13376
13377         * converter.C (Formats::view): reverted! Incorrect fix.
13378
13379 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13380
13381         * converter.C (Formats::view): only output the -paper option
13382         if the dvi viewer is xdvi, thereby fixing bug #233429.
13383
13384 2001-08-23  Herbert Voss  <voss@perce>
13385
13386         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13387
13388 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13389
13390         * Spacing.h (Spacing): Set space to Default on in the default
13391         constructor.
13392
13393 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13394
13395         * vc-backend.h (RCS::versionString): add RCS to version
13396         (CVS::versionString): add CVS to version
13397
13398         * vc-backend.C (scanMaster): do not add CVS to version.
13399         (scanMaster): do not add RCS to version
13400
13401         * lyxvc.C (versionString): new method
13402
13403         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13404
13405 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13406
13407         * Spacing.C (set): initialize fval
13408
13409 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13410
13411         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13412         " or \.
13413
13414 2001-08-16  Juergen Vigna  <jug@sad.it>
13415
13416         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13417
13418 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13419
13420         * BufferView_pimpl.C:
13421         * figureForm.C:
13422         * lyxtext.h:
13423         * text2.C: setParagraph takes linespacing now
13424
13425 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13426
13427         * LyxAction.C: add internal LFUN_CITATION_INSERT
13428
13429         * LyXView.C: actually apply fix
13430
13431         * bufferlist.C: fix open non-existent file
13432
13433         * lyxfind.C: fix indentation
13434
13435         * lyxfunc.C: remove unneeded assert, fix typo
13436
13437 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13438
13439         * MenuBackend.C: use "Floatname List"
13440
13441 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13442
13443         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13444         when converting LaTeX layout to insetERT.
13445         Generate a non-collapsed float when reading old float
13446
13447 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13448
13449         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13450         ERT insets.
13451
13452 2001-08-13  Juergen Vigna  <jug@sad.it>
13453
13454         * text.C (fill): return 0 instead of 20 as this seems to be the more
13455         correct value.
13456
13457 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13458
13459         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13460         lyxrc.font_norm.
13461
13462 2001-08-13  Juergen Vigna  <jug@sad.it>
13463
13464         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13465         casesensitive off.
13466         (SearchBackward): comment out the unlocking of the inset_owner this
13467         should not be needed!
13468
13469 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13470
13471         * Many files: Remove inherit_language, and add latex_language
13472
13473         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13474         collapsible insets.
13475
13476 2001-08-10  Juergen Vigna  <jug@sad.it>
13477
13478         * text.C (prepareToPrint): fixed hfill-width in draw!
13479
13480         * BufferView2.C (selectLastWord): save the selection cursor as this
13481         now is cleared in the function LyXText::clearSelection!
13482
13483 2001-08-08  Juergen Vigna  <jug@sad.it>
13484
13485         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13486         BACKSPACE type functions.
13487
13488         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13489         is only cutted from the document but not put in the cut-buffer, where
13490         still the old stuff should be.
13491
13492         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13493
13494         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13495
13496         * tabular.C (SetWidthOfCell): fixed special case where the width
13497         was not updated!
13498         (LeftLine): handle '|' in align_special.
13499         (RightLine): ditto
13500         (LeftAlreadyDrawed): ditto
13501         (SetWidthOfCell): ditto
13502
13503 2001-08-07  Juergen Vigna  <jug@sad.it>
13504
13505         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13506
13507 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13508
13509         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13510         * lyxlex.[hC]: ditto
13511
13512 2001-08-06  Juergen Vigna  <jug@sad.it>
13513
13514         * text.C (getVisibleRow): fix up row clearing a bit.
13515
13516 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13517
13518         * minibuffer.C: make sure the X server sees the changes in the input.
13519
13520 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13521
13522         * paragraph.C (getFont): split into...
13523         (getLabelFont): this
13524         (getLayoutFont): and this
13525         * paragraph_pimpl.C (realizeFont): calling this
13526
13527         * text2.C (getFont): split into...
13528         (getLayoutFont): this
13529         (getLabelFont): and this
13530         (realizeFont): all three calling this
13531
13532         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13533         files where used.
13534
13535 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13536
13537         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13538
13539 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13540
13541         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13542         layouts from the Quote inset insertion.
13543
13544 2001-08-03  Juergen Vigna  <jug@sad.it>
13545
13546         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13547
13548         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13549         only if status not is already CHANGED_IN_DRAW (second level).
13550
13551         * text.C (draw): don't set the need_break_row when inside an
13552         InsetText LyXText.
13553
13554 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13555
13556         * buffer.C (parseSingleLyXformat2Token): handle more latex
13557         conversion cases.
13558
13559         * bufferview_funcs.[hC]: change function names to
13560         begin with small char, adjust other files.
13561
13562 2001-08-02  André Pönitz <poenitz@gmx.net>
13563
13564         * lyxfunc.C:
13565         BufferView_pimpl.C: remove broken special code for math-greek
13566
13567 2001-08-02  Juergen Vigna  <jug@sad.it>
13568
13569         * BufferView_pimpl.C (update): redone this function so that we
13570         update the text again if there was a CHANGE_IN_DRAW.
13571
13572         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13573         (drawFromTo): added a new internal bool which is used by draw() and
13574         redraw() function.
13575         (general): some cursor drawing problems fixed.
13576
13577 2001-08-01  Juergen Vigna  <jug@sad.it>
13578
13579         * lyxfind.C (LyXFind): fixed
13580         (SearchForward): ditto
13581         (SearchBackward): ditto
13582
13583         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13584         spurius drawing of the cursor in the main area.
13585
13586         * text2.C (status): small fix which could lead to a segfault!
13587         (clearSelection): remove unneeded BufferView param.
13588
13589 2001-08-01  André Pönitz <poenitz@gmx.net>
13590
13591         * lyxfunc.C: small change due to changed mathed interface
13592
13593 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13594
13595         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13596
13597 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13598
13599         * lyxfunc.c: fail gracefully if file doesn't exist
13600
13601         * LyXSendto.C:
13602         * buffer.C:
13603         * lyxfunc.C:
13604         * BufferView_pimpl.C: IsDirWriteable() proto changed
13605
13606         * LyXView.C: fix updateWindowTitle() to store the last title
13607
13608 2001-07-31  Juergen Vigna  <jug@sad.it>
13609
13610         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13611         the font (wrong since using of Paragraph::highestFontInRange).
13612
13613         * paragraph.C (highestFontInRange): added a default_size parameter.
13614
13615         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13616         (setHeightOfRow): reformat
13617
13618 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13619
13620         * converter.[hC] + affected files: move to (inital-char)lowercase
13621         function names.
13622
13623         * ParagraphParameters.C (ParagraphParameters): remove commented code
13624
13625         * PainterBase.[Ch]: remove commented code
13626
13627         * LaTeXFeatures.h: add "bool floats" for float.sty
13628
13629         * LaTeXFeatures.C (LaTeXFeatures): init floats
13630         (require): handle float
13631         (getPackages): do it with floats
13632
13633 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13634
13635         * BufferView_pimpl.C (Dispatch): improve handling of
13636         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13637
13638         * commandtags.h: #include lyxfont.h here temporarily to avoid
13639         keybinding bug.
13640
13641         * bufferlist.h: include LString.h here.
13642
13643 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13644
13645         * text2.C (getStringToIndex): new method.
13646
13647 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13648
13649         * *: Reduced header file dependencies all over.
13650
13651 2001-07-30  Baruch Even  <baruch@lyx.org>
13652
13653         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13654
13655 2001-07-29  Baruch Even  <baruch@lyx.org>
13656
13657         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13658
13659 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13660
13661         * ParameterStruct.h (endif): add a default constructor to make
13662         sure that all variables is initialized.
13663
13664         * ParagraphParameters.C (ParagraphParameters): adjust
13665
13666 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13667
13668         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13669         index; also, check that there is something to index, and that it
13670         does not span over several paragraphs.
13671         (doubleClick): use WHOLE_WORD_STRICT for double click.
13672
13673         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13674
13675         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13676         scheme.
13677
13678 2001-07-26  Baruch Even  <baruch@lyx.org>
13679
13680         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13681         an InsetFig figure, backwards compatible reading of old figure code.
13682
13683 2001-07-27  Juergen Vigna  <jug@sad.it>
13684
13685         * text2.C: font.realize function adaption.
13686
13687         * text.C (draw): add a warnings lyxerr text if needed.
13688
13689         * layout.C: font.realize function adaption.
13690
13691         * language.C: add inherit_language and implement it's handlings
13692
13693         * bufferview_funcs.C (StyleReset): remove language parameter from
13694         font creation (should be language_inherit now).
13695
13696         * bufferparams.C (writeFile): handle ignore_language.
13697
13698         * paragraph.C (getFontSettings): the language has to be resolved
13699         otherwise we have problems in LyXFont!
13700
13701         * lyxfont.C (lyxWriteChanges): added document_language parameter
13702         (update): removed unneeded language parameter
13703
13704         * paragraph.C (validate): fixed wrong output of color-package when
13705         using interface colors for certain fonts in certain environments,
13706         which should not seen as that on the final output.
13707
13708 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13709
13710         * BufferView_pimpl.C:
13711         * Thesaurus.h:
13712         * Thesaurus.C:
13713         * Makefile.am:
13714         * commandtags.h:
13715         * LyXAction.C: add thesaurus support
13716
13717         * lyxfind.h:
13718         * lyxfind.C: add "once" parameter, for thesaurus, to not
13719           move to the next match
13720
13721 2001-07-26  Juergen Vigna  <jug@sad.it>
13722
13723         * lyxfont.C (realize): honor ignore_language too!
13724         (resolved): ditto.
13725
13726         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13727
13728         * text.C (draw): one place more for ignore_language to not draw
13729         itself!
13730
13731 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13732
13733         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13734
13735 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13736
13737         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13738         the minipage conversion problem.
13739
13740 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13741
13742         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13743         insert an inset.
13744
13745 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13746
13747         * BufferView.h: don't forward declare WorkArea
13748
13749         * BufferView.C: don't include WorkArea.h
13750
13751 2001-07-25  André Pönitz <poenitz@gmx.net>
13752
13753         * commandtags.h:
13754         * LyXAction.C:
13755         * lyxfunc.C:  new LFUN 'math-space'
13756
13757         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13758
13759 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13760
13761         * text2.C (toggleInset): call open/close
13762
13763 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13764
13765         * lyxfunc.C (dispatch): add debug for the disabled case
13766
13767         * font.C (buttonText): make similar to rectText
13768
13769         * buffer.C (readInset): comment out parsing of insetlist and
13770         insttheorem
13771
13772         * PainterBase.C (rectText): small correction
13773
13774         * BufferView_pimpl.C: comment out insettheorem and insetlist
13775         * LyXAction.C: ditto
13776         * commandtags.h: ditto
13777
13778 2001-07-24  Juergen Vigna  <jug@sad.it>
13779
13780         * text.C (draw): honor the ignore_language.
13781
13782         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13783
13784 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13785
13786         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13787         char inset.
13788
13789 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13790
13791         * lyxtext.h: remove unused (and unimplemented) methods
13792
13793 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13794
13795         * text.C (getVisibleRow): honor background color
13796
13797         * PainterBase.h:
13798         * Painter.h: remove default color argument for fillRectangle
13799
13800         * text.C (backgroundColor): new method
13801
13802 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13803
13804         * text.C (getVisibleRow): adjust
13805
13806         * font.[Ch] (rectText): new method, metrics
13807         (buttonText): new method, metrics
13808
13809         * PainterBase.[hC]: make rectText and buttonText always draw and take
13810         fewer paramteres.
13811
13812 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13813
13814         * ToolbarDefaults.C (read):
13815         * MenuBackend.C (read): allow escaping in all strings
13816
13817         * BufferView_pimpl.C (insertAndEditInset): new method.
13818         (Dispatch): use insertAndEditInset whenever appropriate.
13819
13820         * BufferView_pimpl.C (insertNote): removed
13821
13822         * BufferView_pimpl.C (smartQuote): new method, moved from
13823         BufferView; if an insetquote cannot be inserted, insert a '"'
13824         character instead.
13825
13826         * BufferView2.C: remove insertCorrectQuote();
13827
13828         * lyxfunc.C (getStatus): Add support for all remaingin
13829         inset-insert lfuns.
13830
13831         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13832
13833         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13834         command (necessary to pass " as parameter of self-insert.
13835
13836         * text.C (selectWordWhenUnderCursor):
13837         (selectWord): add word_location parameter
13838         (selectWordWhenUnderCursor): same + remove special code for word
13839         boundary.
13840         (selectNextWord): use kind() to guess type of insetspecialchar,
13841         not latex().
13842
13843         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13844         (insertErtContents): create ert insets as collapsed.
13845         (readInset): better compatibility code for Info inset.
13846
13847 2001-07-20  Juergen Vigna  <jug@sad.it>
13848
13849         * lyxfunc.C (dispatch): use always LyXFind now!
13850
13851         * text2.C (init): add a reinit flag so that the LyXText can be
13852         reinited instead of deleted and reallocated (used in InsetText).
13853
13854         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13855
13856         * text.C: ditto
13857
13858         * text2.C: ditto
13859
13860 2001-07-18  Juergen Vigna  <jug@sad.it>
13861
13862         * text.C (selectNextWord): handle insets inside inset by calling
13863         always the bv->text functions so that we can go up the_locking_inset!
13864
13865         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13866         in strange locations when inside an inset!
13867
13868         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13869         handling to include insets.
13870
13871         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13872
13873 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13874
13875         * LyXAction.C (init):
13876         * commandtags.h:
13877         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13878         LIGATURE_BREAK, since the name is so stupid.
13879
13880 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13881
13882         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13883         InsetInfos.
13884
13885         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13886
13887         * sp_form.[Ch]: remove.
13888
13889         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13890
13891         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13892         InsetInfo.
13893
13894         * src/buffer.C (readInset): ditto.
13895
13896 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13897
13898         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13899         menuSeparator(), endOfSentenceDot(), ldots() and
13900         hyphenationPoint(), which are therefore removed.
13901         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13902
13903         * LyXAction.C (init):
13904         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13905
13906         * paragraph.C (getWord): removed.
13907
13908         * BufferView_pimpl.C (Dispatch): use last word or selection for
13909         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13910
13911         * lyx_main.C (queryUserLyXDir): do not ask before creating
13912         user_dir, except if it has been named explicitely.
13913
13914 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13915
13916         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13917         a document of zero size.
13918
13919 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13920
13921         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13922         approriately in the c-tor and in require().
13923         (getPackages): output the appropriate LaTeX for natbib support.
13924
13925         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13926         variables "use_natbib" and "use_numerical_citations" when reading the
13927         LyX file.
13928         (readInset): read the various natbib cite commands.
13929         (validate): white-space change.
13930
13931         * bufferparams.[Ch]: new variables "bool use_natbib" and
13932         "bool use_numerical_citations".
13933         (writeFile): output them in the LyX file.
13934
13935 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13936
13937         * lyxfunc.C (getStatus): add support for all the inset insertion
13938         commands.
13939
13940         * text2.C (insertInset):
13941         * paragraph.C (insetAllowed):
13942         * BufferView_pimpl.C (insertInset): update to take in account the
13943         renaming of insertInsetAllowed
13944
13945         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13946
13947         * text2.C (getInset): new method. returns inset at cursor position.
13948
13949         * BufferView_pimpl.C (Dispatch): changes because of this.
13950
13951         * LyXAction.C (init): rename open-stuff to inset-toggle.
13952
13953         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13954
13955         * text2.C (toggleInset): renamed from openStuff; use
13956         Inset::open().
13957
13958 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13959
13960         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13961
13962         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13963
13964 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13965
13966         * buffer.C (readLyXformat2): Add filename to the error dialog
13967
13968 2001-07-18  Juergen Vigna  <jug@sad.it>
13969
13970         * tabular.C (GetCellNumber): put an assert here instead of the check!
13971
13972 2001-07-17  Juergen Vigna  <jug@sad.it>
13973
13974         * BufferView_pimpl.C (toggleSelection): adapted too.
13975
13976         * text.C (selectNextWord): adapted for use with insets.
13977         (selectSelectedWord): ditto
13978
13979 2001-07-17  Juergen Vigna  <jug@sad.it>
13980
13981         * sp_spell.C (PSpell): fix initialitation order.
13982
13983 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13984
13985         * paragraph.C: spacing
13986
13987 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
13988
13989         * sp_spell.C: repair language selection for pspell
13990
13991 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13992
13993         * lyxfunc.h: change more methods to begin with lower char.
13994
13995 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
13996
13997         * buffer.C (parseSingleLyXformat2Token): Generate error insets
13998         for unknown layouts.
13999
14000 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14001
14002         * buffer.C (readLyXformat2): Generate an error dialog if there are
14003         unknown layouts.
14004
14005 2001-07-16  Juergen Vigna  <jug@sad.it>
14006
14007         * sp_spell.C: always compile ISpell part.
14008
14009         * lyxrc.C: added use_pspell entry and it's handling.
14010
14011 2001-07-13  Juergen Vigna  <jug@sad.it>
14012
14013         * sp_spell.C: removed double includes.
14014
14015 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14016
14017         Consistent use of Lsstream.h:
14018         * Lsstream.h: added using std::stringstream for consistencies sake.
14019
14020         * buffer.C: removed using std::stringstream
14021
14022         * lyxfont.C (stateText):
14023         * paragraph.C (asString):
14024         * text.C (selectNextWord, selectSelectedWord):
14025         * text2.C (setCounter):
14026         * vspace.C (asString, asLatexString):
14027         std::ostringstream -> ostringstream.
14028
14029 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14030
14031         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14032         * commandtags.h: add LFUN_HELP_ABOUTLYX
14033         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14034
14035 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14036
14037         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14038         cursorToggle()
14039         * lyx_gui_misc.C: remove spellchecker
14040         * lyxfunc.C: showSpellchecker
14041         * sp_base.h: added
14042         * sp_ispell.h: added
14043         * sp_pspell.h: added
14044         * sp_spell.C: added
14045         * sp_form.[Ch]: removed
14046         * spellchecker.[Ch]: removed
14047
14048 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14049
14050         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14051         is set.
14052         (simpleTeXSpecialChars): Simply print the input character without
14053         any special translation if pass_thru is set.
14054
14055         * layout.h: Added bool pass_thru to layout class for being able to
14056         implement pass through of a paragraph for Literate Programming.
14057
14058         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14059         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14060         * layout.C (Read): add "passthru" to list of layout tags and add
14061         code to set the pass_thru boolean when it is read.
14062
14063 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14064
14065         * trans_decl.h: remove allowed from KmodInfo
14066
14067         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14068         remove allowed code
14069         (Load): adjust
14070
14071         * paragraph_pimpl.C (erase): use boost::prior
14072
14073         * Painter.C (text): use data() instead of c_str() when length is
14074         also provided.
14075         * WorkArea.C (putClipboard): ditto
14076         * font.h (width): ditto
14077
14078         * BufferView2.C: use it-> instead of (*it). for iterators
14079         * texrow.C: ditto
14080         * paragraph_pimpl.C: ditto
14081         * paragraph.C: ditto
14082         * minibuffer.C: ditto
14083         * language.C: ditto
14084         * kbmap.C: ditto
14085         * encoding.C: ditto
14086         * counters.C: ditto
14087         * converter.C: ditto
14088         * chset.C: ditto
14089         * Variables.C: ditto
14090         * TextCache.C: ditto
14091         * MenuBackend.C: ditto
14092         * LyXAction.C: ditto
14093         * LColor.C: ditto
14094         * FloatList.C: ditto
14095         * DepTable.C: ditto
14096         * ColorHandler.C (LyXColorHandler): ditto
14097
14098 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14099
14100         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14101
14102         * text2.C (openStuff): reintroduce this method (which had been
14103         nuked in NEW_INSETS frenzy).
14104
14105         * lyxfunc.C (Dispatch): when an action has not been handled, use
14106         its name in the error message, not its number.
14107
14108         * paragraph.C (inInset): change method name to begin with lowercase.
14109
14110         * undo_funcs.C:
14111         * text2.C: updates because of this.
14112
14113 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14114
14115         * ToolbarDefaults.C (add): add spaces in error message
14116
14117 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14118
14119         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14120         (readLyXformat2): rename return_par to first_par, use lyxlex's
14121         pushToken and remove the manual push handling.
14122         (parseSingleLyXformat2Token): add another ert comp. variable:
14123         in_tabular, rename return_par to first_par. handle newlines better
14124
14125 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14126
14127         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14128
14129 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14130
14131         * text2.C (getParFromID): removed
14132
14133         * buffer.C (getParFromID): new method moved form lyxtext.
14134         * BufferView2.C (insertErrors): adjust
14135         (setCursorFromRow): adjust
14136         * BufferView_pimpl.C (restorePosition): adjust
14137         * lyxfunc.C (Dispatch): adjust
14138         * undo_funcs.C (textUndo): adjust
14139         (textRedo): adjust
14140         (textHandleUndo): adjust
14141         (textHandleUndo): adjust
14142
14143 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14144
14145         * buffer.C: up' the LYX_FORMAT
14146
14147         * lyxfont.h: turn NO_LATEX on as default
14148
14149         * buffer.C (insertErtContents): new methods of tex style compability.
14150         (parseSingleLyXformat2Token): use it several places.
14151         * tabular.C (OldFormatRead): and here
14152
14153 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14154
14155         * text2.C: remove some commented code.
14156         reindent file.
14157
14158         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14159         * trans.C: changes because of the above.
14160
14161 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14162
14163         * text2.C (setCounter): Fix counters bug with bibliography layout.
14164
14165 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14166
14167         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14168         own member functions
14169         (simpleTeXSpecialChars): ditto
14170
14171 2001-07-06  Juergen Vigna  <jug@sad.it>
14172
14173         * a lot of files: changed the access to LyXText::status and the
14174         call of undo-functions.
14175
14176         * undo.[Ch]: added a inset_id to the undo informations.
14177
14178         * undo_funcs.[Ch]: added and moved here all undo functions.
14179
14180         * lyxtext.h: give the status enum a weight, made status_ a private
14181         variable and made accessor functions for it, removed the whole bunch
14182         of undo-functions as they are now in their own file, make some
14183         functions publically available. Added function ownerParagraph with
14184         int parameter.
14185
14186         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14187         made InInset() a const function, added getParFromID() function.
14188
14189         * buffer.[Ch]: added const version for inset_iterator functions,
14190         added getInsetFromID() function.
14191
14192         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14193         changed undo functions for new version.
14194
14195 2001-07-05  Juergen Vigna  <jug@sad.it>
14196
14197         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14198         unknow mechanism does not call the proper constructor but only this
14199         one also if I request the other!?
14200
14201 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14202
14203         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14204
14205         * text2.C (LyXText): use initialization lists.
14206
14207         * lyxtext.h (Selection): initialize set_ and mark_
14208         (init): remove method
14209
14210 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14211
14212         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14213
14214 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14215
14216         * screen.[Ch]: change method names to begin with lowercase
14217
14218         * BufferView_pimpl.C (updateScrollbar): simplify further and
14219         hopefully make it a bit faster.
14220
14221 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14222
14223         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14224         calling directly xforms functions.
14225
14226         * Painter.C (Painter):
14227         * lyx_cb.C (MenuWrite):
14228         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14229         fl_display.
14230
14231         * lyx_gui.C: remove bogus guiruntime extern declaration.
14232
14233 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14234
14235         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14236         in NEW_INSETS
14237         (redoDrawingOfParagraph): ditto
14238         (redoParagraphs): ditto
14239         (cutSelection): don't create a object for CutAndPaste use the
14240         static method directly
14241         (pasteSelection): ditto
14242
14243         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14244         LyXview (+ rename)
14245
14246 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14247
14248         * modifications to some other files because of this.
14249
14250         * Makefile.am (lyx_SOURCES): add XFormsView
14251
14252         * XFormsView.[Ch]: new files
14253
14254         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14255         the main window. Move the gui dependent stuff to XFormsView
14256
14257 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14258
14259         * tabular.C (GetCellInset): update cur_cell also in the row/col
14260         version of this function.
14261
14262         * lyxfunc.C: no need to include figure_form.h here.
14263
14264         * FontLoader.h:
14265         * lyxfunc.h:
14266         * lyxscreen.h:
14267         * text2.C:
14268         * lyxvc.C: no need to include forms.h here.
14269
14270 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14271
14272         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14273
14274         * lyxfunc.C (Dispatch):
14275         * Spacing.C (set):
14276         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14277         constructor argument.
14278
14279 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14280
14281         * paragraph.C (Paragraph): dont't clear, and just set layout.
14282         (makeSameLayout): use params's copy contructor.
14283
14284         * ParagraphParameters.[Ch] (makeSame): delete method
14285
14286 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14287
14288         * Variables.[Ch]: fix indentation, rename set to isSet
14289
14290 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14291
14292         * lyxfunc.C (Dispatch): fix typo
14293
14294 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14295
14296         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14297         upper_bound.
14298
14299         * bufferlist.C: include assert.h for emergencyWrite().
14300
14301 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14302
14303         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14304           give up at last (bug #425202) !
14305
14306 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14307
14308         * lyx_gui_misc.C:
14309         * sp_form.h:
14310         * sp_form.C:
14311         * spellchecker.h:
14312         * spellchecker.C: strip spellchecker options and bring up
14313           preferences tab instead
14314
14315 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14316
14317         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14318         the istringstream constructor
14319
14320 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14321
14322         * paragraph.C (getLayout): fix return value
14323
14324         * paragraph.h: do not declare getLayout as inline.
14325
14326         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14327
14328 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14329
14330         * lyxcursor.h (operator<): new func
14331         (operator>): new func
14332         (operator>=): new func
14333         (operator<=): new func
14334
14335         * text.C (changeCase): use selection.start and selection.end
14336         (changeRegionCase): require from to be <= to. Require par to be a
14337         valid paragraph.
14338
14339         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14340
14341 2001-06-27  Juergen Vigna  <jug@sad.it>
14342
14343         * text.C (cursorLeftOneWord): changed to return the cursor and added
14344         overlay with BufferView * parameter which calls this one.
14345         (getWord): added
14346         (selectWord): use new getWord function.
14347         (changeCase): renamed from changeWordCase as and extended to work
14348         also on selections.
14349
14350         * lyxtext.h: added enum word_location
14351
14352         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14353         changeCase as this operates now also on selections.
14354
14355 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14356
14357         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14358
14359         * many files: send debug output to Debug::INFO instead of
14360         Debug::ANY.
14361
14362         * converter.C (View):
14363         (Convert):
14364         (Move): send debug output to Debug::FILES instead of console.
14365
14366 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14367
14368         * lyxfunc.C (getStatus): use func_status
14369
14370         * func_status.h: new header, describing the results of
14371         LyXFunc::getStatus;
14372
14373         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14374         LFUN_MATH_HALIGN.
14375
14376 2001-06-25  The LyX Project  <jug@sad.it>
14377
14378         * buffer.C (sgmlOpenTag):
14379         (sgmlCloseTag):
14380         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14381
14382 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14383
14384         * text2.C: remove some dead code
14385
14386         * tabular.C (GetCellInset): store the last cell checked (gotten)
14387
14388         * tabular.h: add the helper for the speedup
14389
14390         * lyxtext.h: remove some dead code
14391
14392 2001-06-26  The LyX Project  <Asger>
14393
14394         * paragraph.C: Change export to LaTeX of alignment to
14395         \begin{center} and family for better roundtrip work with reLyX.
14396
14397         * Tune the math drawing a bit.
14398
14399 2001-06-25  The LyX Project  <Asger>
14400
14401         * LColor.C (LColor): New color for math background. New color
14402         for buttons.
14403
14404 2001-06-25  The LyX Project  <jug@sad.it>
14405
14406         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14407
14408         * lyxfunc.C (Open):
14409         * bufferlist.C (newFile): do not restrict to files ending with
14410         .lyx
14411
14412         * BufferView_pimpl.C (MenuInsertLyXFile):
14413
14414 2001-06-24  The LyX Project  <jug@sad.it>
14415
14416         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14417         of compare_no_case
14418
14419 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14420
14421         * lyxtext.h: rename most methods to begin with a small char.
14422         Lots of changes because of this.
14423
14424         * paragraph.C (Paragraph): do not call fitToSize
14425         (erase): call Pimpl::erase
14426         (insertChar): call Pimpl::insertChar
14427         (insertInset): call Pipl::insertInset
14428         (breakParagraph): do not call fitToSize
14429         (breakParagraphConservative): do not call fitToSize
14430         (fitToSize): remove method
14431
14432         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14433
14434 2001-06-24  The LyX Project  <Asger>
14435
14436         * Fix Qt compilation^2
14437
14438 2001-06-24  The LyX Project  <jug@sad.it>
14439
14440         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14441         depthHook(getDepth()-1).
14442
14443         * paragraph.h:
14444         * ParagraphParameters.h:
14445         * ParameterStruct.h: change type of depth to unsigned int ==
14446         depth_type. Many adaptations to other files before of that.
14447
14448 2001-06-24  The LyX Project  <Asger>
14449
14450         * Fix Qt compilation.
14451
14452 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14453
14454         * paragraph.h: renamed several methods to begin with small letter.
14455         several changes to many parts of the code because of this.
14456
14457 2001-06-23  The LyX Project  <jug@sad.it>
14458
14459         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14460         rewritten to discard all double spaces when KeepEmpty is off
14461         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14462         to only handle newlines but not fiddle with spaces and friends.
14463
14464         * lyxfunc.C (MenuNew): when doing 'new from template', use
14465         template_path as default directory
14466
14467 2001-06-23  The LyX Project  <Asger>
14468
14469         * Clean-up of header file includes all over
14470         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14471
14472 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14473
14474         * paragraph.h: renamed from lyxparagraph.h
14475
14476 2001-06-23  Asger  <lyx@violet.home.sad.it>
14477
14478         * Buffer.h: Removed Buffer::resize
14479         * BufferList.h: Removed BufferList::resize
14480         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14481         the document lazily when we change the width, or the font settings.
14482
14483 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14484
14485         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14486
14487 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14488
14489         * buffer.h: remove out of date comment
14490
14491 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14492
14493         * lyxscreen.h:
14494         * screen.C: fix "theoretical" GC leak
14495
14496 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14497
14498         * LaTeX.C (scanAuxFile):
14499         (deplog): remove trailing \r when reading stream (useful under
14500         win32)
14501
14502 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14503
14504         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14505         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14506         and BufferView::theLockingInset(Inset*), so should use them and not
14507         access bv_->text->the_locking_inset directly.
14508
14509         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14510
14511 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14512
14513         * Makefile.am:
14514         * tex-defs.h: remove old unused file
14515
14516 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14517
14518         * BufferView_pimpl.C: fix typo, remove minibuffer message
14519           when buffer has loaded
14520
14521 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14522
14523         * lyxfunc.C (Dispatch): use stringstream
14524         (MenuNew): use stringstream
14525         (Open): use stringstream
14526
14527         * importer.C (Import): use stringstream
14528
14529         * bufferview_funcs.C (CurrentState): use stringstream
14530
14531         * LaTeX.C (run): use stringstream
14532
14533         * BufferView_pimpl.C (savePosition): use stringstream
14534         (restorePosition): use stringstream
14535         (MenuInsertLyXFile): use stringstream
14536
14537 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14538
14539         * BufferView.C:
14540         * Bullet.C:
14541         * ColorHandler.C:
14542         * FontInfo.C:
14543         * FontLoader.C:
14544         * LColor.C:
14545         * LaTeXFeatures.C:
14546         * Painter.C:
14547         * gettext.C:
14548         * lyx_gui_misc.C:
14549         * lyxserver.C:
14550         * vspace.C: removed // -*- C++ -*- as first line.
14551
14552         * lyxfind.h:
14553         * version.h: added // -*- C++ -*- as first line.
14554
14555 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14556
14557         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14558
14559         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14560         of string
14561
14562 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14563
14564         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14565         of floats.
14566
14567 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14568
14569         * gettext.C: include LString.h even when --disable-nls is on.
14570
14571 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14572
14573         * converter.h (Get): changed argument type from int to
14574         FormatList::size_type to avoid unnecessary conversion.
14575
14576         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14577         before using it.
14578
14579 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14580
14581         * gettext.h: include LString.h even when --disable-nls is on.
14582
14583 2001-06-07  Juergen Vigna  <jug@sad.it>
14584
14585         * text.C (BreakAgain): subst spaces with tabs.
14586
14587         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14588         (resizeInsetsLyXText): set force on resizeLyXText.
14589
14590 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14591
14592         * gettext.h (gettext_init):
14593         (locale_init): use a real definition instead of a macro
14594
14595 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14596
14597         * Bufferview_pimpl.C:
14598         * LColor.h:
14599         * LColor.C: further lcolor tidies
14600
14601 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14602
14603         * BufferView_pimpl.C (updateScrollbar): simplify.
14604
14605         * BufferView2.C: don't include insets/insetinfo.h, change
14606         prototype for insertInset and call the Pimpl version. let
14607         updateInset call Pimpl version.
14608
14609         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14610         gotoInset to BufferView::Pimpl
14611
14612 2001-06-01  Juergen Vigna  <jug@sad.it>
14613
14614         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14615         inside a LockingInset (is the update needed at all?).
14616
14617 2001-05-31  Juergen Vigna  <jug@sad.it>
14618
14619         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14620         here not the old one otherwise how should we compare it afterwards
14621         if it's the same!
14622
14623 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14624
14625         * lyxfont.C:
14626         * tabular.C:
14627         * tabular-old.C:
14628         * FontInfo.C: bring C functions into global namespace when
14629         necessary
14630
14631 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14632
14633         * LString.h: make sure config.h has been loaded before LString.h.
14634
14635         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14636         (one for each char read by EatLine!).
14637
14638         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14639         variables.
14640
14641 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14642
14643         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14644         to the same as the par we break from
14645
14646 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14647
14648         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14649
14650         * MenuBackend.C (expand): also create menu entries for wide
14651         versions of the floats.
14652
14653         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14654
14655         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14656
14657         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14658         frontends/Makefile.am
14659
14660         * text2.C: adjust
14661         * text.C: adjust
14662
14663
14664         * tabular.C (getTokenValue): add std::
14665
14666         * tabular-old.C (getTokenValue): add std::
14667         (getTokenValue): ditto
14668         (getTokenValue): ditto
14669
14670         * screen.C (ToggleSelection): adjust
14671
14672         * lyxtext.h: put selection cursors inside a Selection struct.
14673
14674         * lyxfunc.C (moveCursorUpdate): adjust
14675
14676         * lyxfont.C (latexWriteStartChanges): add std::
14677
14678         * lyxfind.C: adjust
14679
14680         * font.h: delete with(char const *, LyXFont const &)
14681
14682         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14683
14684         * FontInfo.C (getFontname): add std::
14685
14686         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14687         (workAreaButtonPress): adjust
14688         (tripleClick): adjust
14689         (update): adjust
14690         (moveCursorUpdate): adjust
14691         (Dispatch): adjust
14692
14693         * BufferView2.C (gotoInset): adjust
14694
14695 2001-05-30  Juergen Vigna  <jug@sad.it>
14696
14697         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14698         to check pspell I add this as default as I now have new pspell
14699         libraries and they seem to use this.
14700
14701 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14702
14703         * text2.C (CutSelection): make the cursor valid before the call to
14704         ClearSelection.
14705
14706 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14707
14708         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14709         relied on 0 terminated strings and other horrors. Bug found due to
14710         the new assert in lyxstring!
14711
14712         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14713         KP_ keys.
14714
14715 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14716
14717         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14718         to latinkeys.bind.
14719
14720         * lyxfunc.C (processKeySym): change method of getting to the
14721         self-insert char.
14722
14723         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14724         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14725         * BufferView_pimpl.[Ch]: here as private methods.
14726
14727 2001-05-28  Juergen Vigna  <jug@sad.it>
14728
14729         * text.C (SetHeightOfRow): added the update() call again as it is
14730         needed to initialize inset dimensions!
14731
14732 2001-05-16  Juergen Vigna  <jug@sad.it>
14733
14734         * text2.C (SetCharFont): Add new function with BufferView * and
14735         bool toggleall parameters for setting insets internal fonts.
14736         (SetFont): Freeze the undo as we may change fonts in Insets and
14737         all this change should be inside only one Undo!
14738
14739         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14740         setting font's in insets as for them we have the SetFont function!
14741
14742 2001-05-15  Juergen Vigna  <jug@sad.it>
14743
14744         * text2.C (ClearSelection): to be sure we REALLY don't have any
14745         selection anymore!
14746
14747         * tabular.C (TeXCellPreamble): fixed the left border problem for
14748         multicolumn cells.
14749
14750 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14751
14752         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14753         dependancy file
14754
14755 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14756
14757         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14758         LFUN_BREAKPARAGRAPH.
14759
14760         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14761         help test to "internal only", similar for LFUN_INSERT_URL
14762
14763         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14764         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14765         auto_region_delete and deadkeys.
14766
14767 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14768
14769         * LColor.h:
14770         * LColor.C: remove some dead entries, tidy a little
14771
14772 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14773
14774         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14775         commented code.
14776         (Dispatch): implement LFUN_ESCAPE
14777
14778         * commandtags.h: add LFUN_ESCAPE
14779
14780         * LyXAction.C (init): add entry for LFUN_ESCAPE
14781
14782         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14783         Remove commented code.
14784         (insertNote): moved here
14785         (open_new_inset): moved here
14786
14787         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14788         BufferView_pimpl
14789
14790 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14791
14792         * kbmap.C (findbinding): clean it up and make it work correctly.
14793
14794         * lyx_main.C (init): do not pass argc and argv as parameters
14795
14796 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14797
14798         * buffer.C: fix path for OS/2 & Win32
14799
14800         * lyx_gui.C:
14801         * lyx_main:
14802         * lyx_main.C: Added os:: class.
14803
14804         * os2_defines.h: update
14805
14806 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14807
14808         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14809         better by trying again with reduced state.
14810
14811 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14812
14813         * lyxrc.C (read): print error about invalid key sequence only when
14814         debugging (because not all latinX keysyms are known to some X
14815         servers)
14816
14817         * kbsequence.C (getiso): add a few std:: qualifiers
14818         (getiso): comment out extra return statement.
14819
14820 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14821
14822         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14823         handling.
14824         (Dispatch): enhance the accent inset a bit. (not perfect)
14825
14826 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14827
14828         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14829
14830 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14831
14832         * bufferlist.C (emergencyWrite): fix assert() call
14833
14834 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14835
14836         * text.C (InsertChar): Added trivial patch to only send the "you
14837         can not do multiple spaces this way" message once during a
14838         session.
14839
14840 2001-05-08  Baruch Even  <baruch@lyx.org>
14841
14842         * Makefile.am: Changed order of libraries to get LyX to link properly
14843         with the gnome frontend.
14844
14845 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14846
14847         * LaTeXFeatures.h: add a std:: qualifier
14848
14849 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14850
14851         * paragraph.C (String): use stringstream
14852
14853 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14854
14855         * paragraph.C (writeFile): remove footflag arg
14856
14857         * buffer.C (makeLaTeXFile): use stringstream
14858         (latexParagraphs): remove footnot gurba
14859
14860         * LaTeXFeatures.C (getPackages): use stringstream
14861         (getMacros): likewise
14862         (getTClassPreamble): likewise
14863         (getFloatDefinitions): new method
14864
14865         * paragraph.C (writeFile): reindent
14866         (Erase): reindent
14867
14868         * WorkArea.h: revert the xpos + etc changes.
14869
14870         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14871
14872         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14873
14874         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14875         (pasteSelection): likewise
14876         * text2.C (CreateUndo): likewise
14877
14878 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14879
14880         * minibuffer.C (peek_event): temporarily reduce the functionality
14881         of the minibuffer (to allow args on lfuns)
14882
14883         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14884         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14885
14886         * buffer.C (readInset): add compability reading of old float
14887         lists, add reading of new style float list.
14888         (readInset): avoid reevaluation of inscmd.getCmdName()
14889         (getLists): reindent
14890
14891         * MenuBackend.C (MenuItem): implement parsing of
14892         md_floatlistinsert and md_floatinsert.
14893         (expand::LastFiles): move initalizaton of iterators out of loop,
14894         avoid reevaluation.
14895         (expand::Documents): introduce typdedef vector<string> Strings,
14896         and use it.
14897         (expand::ExportFormats): introduce typedef vector<Format const *>
14898         Formats, and use it.
14899         (expand): implement FloatListInsert and FloatInsert.
14900
14901         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14902         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14903         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14904
14905         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14906         handling.
14907         (Dispatch::LFUN_FLOAT_LIST): implement
14908
14909 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14910
14911         * LaTeX.C (run): Fix problem with --export code.
14912
14913 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14914
14915         * BufferView.[Ch] (workarea): removed.
14916         (getClipboard) new method; wrapper for workarea()->getClipboard()
14917
14918         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14919         bug.
14920
14921         * WorkArea.h (width, height, xpos, ypos): These methods all
14922         returned the dimensions of the work_area sub-area of WorkArea,
14923         resulting in a position error if the WorkArea were resized. Now
14924         return the dimensions of the entire WorkArea.
14925
14926         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14927
14928 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14929
14930         * LaTeX.C (deplog): correct the syntax of regex reg1
14931
14932 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14933
14934         * undo.C: remove !NEW_INSETS cruft
14935
14936 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14937
14938         * text2.C: remove !NEW_INSETS cruft
14939
14940         * text.C: remove !NEW_INSETS cruft
14941
14942         * tabular.C: remove !NEW_INSETS cruft
14943
14944         * spellchecker.C: remove !NEW_INSETS cruft
14945
14946         * lyxtext.h: remove !NEW_INSETS cruft
14947
14948         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14949
14950         * lyxfunc.C: remove !NEW_INSETS cruft
14951
14952         * lyxfind.C: remove !NEW_INSETS cruft
14953
14954         * lyx_cb.C: remove !NEW_INSETS cruft
14955
14956         * figureForm.C: remove  !NEW_INSETS cruft
14957
14958         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14959
14960         * buffer.[Ch]: remove !NEW_INSETS cruft
14961
14962         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14963
14964         * CutAndPaste.C: remove !NEW_INSETS cruft
14965
14966         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14967
14968         * BufferView2.C: remove !NEW_INSETS cruft
14969
14970         * BufferView.h: remove !NEW_INSETS cruft
14971
14972 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14973
14974         * Lsstream.h: include LString.h before the sstream headers to
14975         fix problem with gcc 2.95.3 and lyxstring
14976
14977 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14978
14979         * lyx_main.C: add using directives when needed for C functions
14980         declared in std:: namespace.
14981
14982 2001-04-27  Juergen Vigna  <jug@sad.it>
14983
14984         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14985         (SetHeightOfRow): comment out the update call should not be needed!
14986
14987 2001-04-13  Juergen Vigna  <jug@sad.it>
14988
14989         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14990         (LyXTabular): tried to minimize operator= operations (and realized
14991         hopfully Lars wish).
14992
14993 2001-04-27  Juergen Vigna  <jug@sad.it>
14994
14995         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14996
14997 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14998
14999         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15000
15001         * buffer.C (readInset): hack to make listof algorithm work
15002
15003         * BufferView_pimpl.C: hack to make listof algorithm work
15004
15005 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15006
15007         * LyXAction.C: removed all !NEW_INSETS cruft
15008         (init): moved lfun_item in method
15009
15010         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15011
15012 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15013
15014         * BufferView2.C (theLockingInset): white space.
15015
15016 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15017
15018         * minibuffer.C: include <iostream>
15019
15020         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15021
15022         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15023
15024         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15025
15026         * text.[Ch] (TransposeChars): new method
15027
15028 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15029
15030         * call message directly through LyXView instead of through LyXFunc
15031         * BufferView2.C: adjust
15032         * BufferView_pimpl.C: adjust
15033         * FontLoader.C: adjust
15034         * buffer.C: adjust
15035         * bufferview_funcs.C: adjust
15036         * converter.C: adjust
15037         * figureForm.C: adjust
15038         * importer.C: adjust
15039         * lyx_cb.C: adjust
15040         * lyx_gui_misc.C: adjust
15041         * lyxfunc.C: adjust
15042         * lyxvc.C: adjust
15043         * text2.C: adjust
15044         + more files in subdirs
15045
15046         * lyxparagraph.h (size): move up int file
15047         (GetLayout): ditto
15048
15049         * adjust all uses of Assert to lyx::Assert.
15050
15051         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15052         lyxfunctional in namespace lyx
15053         * layout.C (hasLayout): ditto
15054         (GetLayout): ditto
15055         (GetLayout): ditto
15056         (delete_layout): ditto
15057         (NumberOfClass): ditto
15058         * converter.C (GetFormat): ditto
15059         (GetNumber): ditto
15060         (Add): ditto
15061         (Delete): ditto
15062         (SetViewer): ditto
15063         * bufferlist.C (getFileNames): ditto
15064         (emergencyWriteAll): ditto
15065         (exists): ditto
15066         (getBuffer): ditto
15067         * MenuBackend.C (hasSubmenu): ditto
15068         (hasMenu): ditto
15069         (getMenu): ditto
15070         * BufferView_pimpl.C (getInsetByCode): ditto
15071
15072 2001-04-18  Juergen Vigna  <jug@sad.it>
15073
15074         * vspace.C (asLatexString): fixed the 100% problem.
15075
15076 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15077
15078         * lyxfunc.C (Dispatch):
15079         * minibuffer.C:
15080         * minibuffer.h: add a few std:: qualifiers
15081
15082 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15083
15084         * minibuffer.[Ch]: reimplement so that commands is initiated and
15085         run from lyxfunc, simplified som handling, and made the completion
15086         and history code for complete. wip.
15087
15088         * lyxfunc.C (processKeySym): call message
15089         (miniDispatch): new temporary method
15090         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15091         (LFUN_MESSAGE): implement
15092         (LFUN_MESSAGE_PUSH): implement
15093         (LFUN_MESSAGE_POP): implement
15094         (initMiniBuffer): the initial/defualt minibuffer message.
15095
15096         * lyxfont.[Ch]: inline some more getters
15097
15098         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15099
15100         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15101
15102         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15103         (AutoSave): use LFUN_MESSAGE
15104         (Reconfigure): ditto
15105
15106         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15107
15108         * figureForm.C: use LFUN_MESSAGE
15109
15110         * converter.C (runLaTeX): use LFUN_MESSAGE
15111
15112         * bufferview_funcs.C: use LFUN_MESSAGE
15113         (Melt): ditto
15114         (changeDepth): ditto
15115
15116         * bufferparams.h: use boost::
15117
15118         * bufferlist.h: inherit privately from noncopyable
15119
15120         * bufferlist.C (loadLyXFile): remove some commented code.
15121
15122         * buffer.C (runChktex): use LFUN_MESSAGE
15123
15124         * ShareContainer.h: inherit privately from noncopyable
15125
15126         * ParagraphParameters.[hC] (depth): inline it.
15127
15128         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15129         methods.
15130         (message): new method
15131         (messagePush): ditto
15132         (messagePop): ditto
15133         (show): init minibuffer
15134         (showState): direct call
15135
15136         * LaTeX.[Ch]: inherit privately from noncopyable
15137         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15138         instead of WriteStatus.
15139
15140         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15141
15142         * BufferView_pimpl.C (buffer): don't init minibuffer
15143         (workAreaButtonPress): use LFUN_MESSAGE
15144         (workAreaButtonRelease): ditto
15145         (savePosition): ditto
15146         (restorePosition): ditto
15147         (MenuInsertLyXFile): ditto
15148         (workAreaExpose): don't init minibuffer
15149         (update): remove commented code, simplify
15150
15151         * BufferView2.C (openStuff): use LFUN_MESSAGE
15152         (toggleFloat): ditto
15153         (menuUndo): ditto
15154         (menuRedo): ditto
15155         (copyEnvironment): ditto
15156         (pasteEnvironment): ditto
15157         (copy): ditto
15158         (cut): ditto
15159         (paste): ditto
15160         (gotoInset): ditto
15161         (updateInset): remove some commented code
15162
15163         * lastfiles.h: inherit privately from noncopyable
15164         * layout.h: ditto
15165         * lyx_gui.h: ditto
15166         * lyx_main.h: ditto
15167         * lyxlex.h: ditto
15168         * lyxlex_pimpl.h: ditto
15169
15170         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15171         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15172         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15173
15174         * LyXAction.h: inherit privately from noncopyable, add methods
15175         func_begin, func_end, returning iterators to the func map.
15176
15177         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15178         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15179         (func_begin): new method
15180         (func_end): new method
15181
15182         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15183         and not)
15184         (copySelection): ditto
15185         (pasteSelection): ditto
15186
15187         * BufferView.C: whitespace change
15188         * BufferView.h: inherit privately from noncopyable
15189
15190 2001-04-16  Allan Rae  <rae@lyx.org>
15191
15192         * tabular-old.C (l_getline):
15193         * spellchecker.C (sc_check_word):
15194         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15195         an unrecognised preprocessor directive.  So ensure they're wrapped.
15196
15197 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15198
15199         * src/exporter.C (Export): Give an error message when path to file
15200         contains spaces.
15201
15202 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15203
15204         * LaTeX.C (deplog): Always check that foundfile exists.
15205
15206 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15207
15208         * lyx_main.h:
15209         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15210
15211 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15212
15213         * tabular.[Ch] (getLabelList): implement new method
15214
15215         * minibuffer.h: comment ouf setTiimer
15216
15217         * minibuffer.C (ExecutingCB): constify res
15218         (peek_event): constify s
15219         (Set): constify ntext
15220         (Init): constify nicename
15221
15222         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15223
15224         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15225         (savePosition): use two params to Minibuffer::Set
15226         (restorePosition): ditto
15227
15228 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15229
15230         * lyx_main.C: include language.h
15231
15232         * Makefile.am (lyx_main.o): add language.h
15233
15234 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15235
15236         * exporter.C:
15237         * paragraph.C:
15238         * screen.C:
15239         * tabular.C:
15240         * CutAndPaste.C: include gettext.h
15241
15242         * lyxfont.h: remove old hack with ON and OFF.
15243
15244         * lyxparagraph.h:
15245         * lyxfont.h: do not include language.h...
15246
15247         * BufferView2.C:
15248         * LaTeXFeatures.C:
15249         * Painter.C:
15250         * bufferview_funcs.C:
15251         * font.C:
15252         * lyxfont.C:
15253         * text.C:
15254         * text2.C:
15255         * trans_mgr.C:
15256         * paragraph.C: ... but do it here instead
15257
15258 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15259
15260         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15261
15262         * tabular.C: small reformat
15263
15264         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15265         NEW_INSETS version
15266         (GetChar): ditto
15267         (BreakParagraph): ditto
15268         (SetOnlyLayout): ditto
15269         (SetLayout): ditto
15270
15271         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15272         with one arg less.
15273
15274         * lastfiles.C: removed most using decl, add std:: where needed
15275
15276         * buffer.C: ws changes
15277
15278         * MenuBackend.C (class compare_format): put into anon namespace
15279         (expand): constify label, names, action, action2
15280         (expand):
15281
15282         * text.C (SingleWidth): constify font
15283         (IsBoundary): constify rtl2
15284         (GetVisibleRow): constify ww
15285
15286         * LaTeX.C (deplog): constify logfile
15287
15288         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15289         start_x, end_x
15290         (workAreaExpose): constify widthChange, heightChange
15291
15292         * lyxrow.C (par): moved
15293         (height): moved
15294         (next): moved
15295         * lyxrow.h: as inlines here
15296
15297         * lyxfont.h (shape): moved from lyxfont.C
15298         (emph): moved from lyxfont.C
15299
15300         * lyxfont.C (LyXFont): use initialization list for all
15301         constructors
15302         (shape): move to lyxfont.h as inline
15303         (emph): move to lyxfont.h as inline
15304
15305
15306 2001-04-04  Juergen Vigna  <jug@sad.it>
15307
15308         * vspace.C: had to include stdio.h for use of sscanf
15309
15310 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15311
15312         * BufferView.h:
15313         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15314         independent of xforms.
15315
15316 2001-04-02  Juergen Vigna  <jug@sad.it>
15317
15318         * spellchecker.C: fixed namespace placing!
15319
15320 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15321
15322         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15323         the LyXParagraph * is 0.
15324
15325 2001-03-29  Juergen Vigna  <jug@sad.it>
15326
15327         * vspace.C: added support for %, c%, p%, l%.
15328         (stringFromUnit): added helper function.
15329         (asLatexString): changed to give right results for the %-values.
15330
15331         * buffer.C: convert the widthp in a width%.
15332
15333 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15334
15335         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15336         figureForm.[Ch].
15337
15338         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15339         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15340
15341         * lyx_cb.[Ch]: see above.
15342
15343         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15344         form1.[Ch].
15345
15346         * form1.[Ch]:
15347         * lyx.[Ch]: replaced by figure_form.[Ch].
15348
15349         * lyx_gui.C:
15350         * lyx_gui_misc.C:
15351         * lyxfunc.C: changed headers associated with above changes.
15352
15353 2001-03-27  Juergen Vigna  <jug@sad.it>
15354
15355         * BufferView_pimpl.C: set the temporary cursor right!
15356
15357 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15358
15359         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15360
15361 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15362
15363         * LString.h: removed "using std::getline"!
15364
15365         * BufferView_pimpl.C (Dispatch): changes due to changes in
15366         InsetInclude::Params.
15367
15368         * buffer.C (tag_name): removed redundant break statements as they were
15369         producing lots of warnings with my compiler.
15370
15371 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15372
15373         * LString.h: add "using std::getline" when using the real <string>.
15374
15375 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15376
15377         * buffer.C: removed bitset usage.
15378         PAR_TAG moved to an anonymous name space.
15379         (tag_name): new funtion, also in the anonymous namespace.
15380         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15381         (makeDocBookFile): clean code. Completed transition from string arrays
15382         to string vectors.
15383         (SimpleDocBookOnePar): code clean.
15384
15385 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15386
15387         * tabular.C: add some comments.
15388
15389 2001-03-22  Juergen Vigna  <jug@sad.it>
15390
15391         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15392         compatibility read a bit and fixed bug with minipage in different
15393         depth.
15394
15395 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15396
15397         * buffer.C (pop_tag): removed.
15398         (push_tag): removed.
15399         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15400         array replaced with vector. Added support for CDATA sections.
15401         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15402         at any nest level.
15403         (makeDocBookFile): XML conformant declaration of CDATA section,
15404         fixed bug related to <emphasis> in the first paragraph char.
15405         (sgmlOpenTag): exclude empty tags.
15406         (sgmlCloseTag): ditto.
15407
15408         * buffer.h (pop_tag): removed.
15409         (push_tag): removed.
15410
15411 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15412
15413         * language.h (Languages): added size_type and size().
15414
15415 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15416
15417         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15418         response on compability reading of minipages. One probliem is that
15419         the old usage of minipages was «flertydig»
15420
15421         * several files here and in subdirs: don't use static at file
15422         scope use anon namespaces instead.
15423
15424 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15425
15426         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15427         LaTeX output. This is necessary for Literate document
15428         processing.
15429
15430 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15431
15432         * buffer.C: insert hfill when needed.
15433
15434         * tabular.C (l_getline): use string::erase, small whitespace change.
15435
15436         * BufferView_pimpl.C: try the anon namespace.
15437         * WorkArea.C: ditto
15438
15439 2001-03-16  Juergen Vigna  <jug@sad.it>
15440
15441         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15442         otherwise it won't open options-dialogs.
15443
15444         * buffer.C: honor pextraWidth(p) on converting minipages.
15445
15446         * tabular.C (l_getline): changed the functions to strip trailing \r.
15447
15448 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15449
15450         * BufferView_pimpl.C:
15451         * minibuffer..C: added "using SigC::slot" declaration.
15452
15453 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15454
15455         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15456
15457         * text2.C: ditto
15458
15459         * text.C: ditto
15460
15461         * paragraph.C: ditto
15462
15463         * lyxtext.h: NO_PEXTRA
15464
15465         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15466
15467         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15468         * ParameterStruct.h: ditto
15469         * ParagraphParameters.h: ditto
15470         * lyxparagraph.h: ditto
15471
15472 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15473
15474         * buffer.C: add compability for minipage alignment.
15475         (latexParagraphs): remove unwanted pextra check.
15476
15477         * several files: remove CXX_WORKING_NAMESPACES
15478
15479         * buffer.C (pop_tag): tie is in namespace boost
15480
15481         * BufferView.h: noncopyable is in namespace boost
15482         * lyxlex.h: ditto
15483         * lyx_main.h: ditto
15484         * lyx_gui.h: ditto
15485         * layout.h: ditto
15486         * lastfiles.h: ditto
15487         * bufferlist.h: ditto
15488         * ShareContainer.h: ditto
15489         * LyXView.h: ditto
15490         * LyXAction.h: ditto
15491         * LaTeX.h: ditto
15492
15493 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15494
15495         * Merging changes from BRANCH_MVC back into HEAD.
15496
15497         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15498
15499 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15500
15501         * BufferView_pimpl.C: change from intl.C
15502
15503         * combox.h:
15504         * combox.C:
15505         * Makefile.am: move combox.*
15506
15507         * form1.h:
15508         * form1.C:
15509         * lyx_gui.C:
15510         * intl.h:
15511         * intl.C: remove dialog (covered by prefs)
15512
15513 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15514
15515         * lyxfunc.C (Dispatch): removed redundant break statement.
15516
15517 2001-03-14  Juergen Vigna  <jug@sad.it>
15518
15519         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15520
15521 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15522
15523         * buffer.C: add hack to fix compability reading of minipages.
15524
15525 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15526
15527         * buffer.C (getLists): Cleanup.
15528
15529 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15530
15531         * lyxfont.C (update): don't honor toggleall on font size.
15532
15533 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15534
15535         * bmtable.c:
15536         * bmtable.h:
15537         * Makefile.am: moved to frontends/xforms/
15538
15539         * lyx_gui_misc.C:
15540         * lyxfunc.C:
15541         * BufferView_pimpl.C: changes for moved mathpanel
15542
15543 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15544
15545         * gettext.h: fix gettext_init() in --disable-nls
15546
15547 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15548
15549         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15550
15551 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15552
15553         * lyx.C:
15554         * lyx.h: strip external form
15555
15556 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15557
15558         * BufferView_pimpl.C: add comment, destroySplash()
15559
15560 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15561
15562         * BufferView_pimpl.C:
15563         * LyXAction.C:
15564         * buffer.C:
15565         * commandtags.h:
15566         * lyxfunc.C: use re-worked insetinclude
15567
15568 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15569
15570         * buffer.C: add using std::stringstream.
15571
15572         * lyx_cb.C: readd using std::ios.
15573
15574         * buffer.C: add using std::map.
15575
15576         * BufferView_pimpl.C: add using std::vector.
15577
15578         * ShareContainer.h: add std:: to swap.
15579
15580         * buffer.h: add some typedefs
15581         * buffer.C (getLists): use them
15582         (getLists): renamed from getTocList.
15583         add a counter for the different float types and use it in the
15584         generated string.
15585         (getLists): use the same counter for the NEW_INSETS and the "non"
15586         NEW_INSETS
15587
15588         * lyx_cb.h: remove unused items, includes, using etc.
15589
15590         * ShareContainer.h: remove some commented code, add more comments
15591         and "documentation".
15592
15593 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15594
15595         * buffer.C (getTocList): make the list also when NEW_INSETS is
15596         defined.
15597
15598         * buffer.h: remove TocType
15599
15600         * buffer.C (getTocList): change to return a map<string,
15601         vector<TocItem> >, implement for dynamic number of list.
15602
15603         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15604         * text2.C (PasteSelection): adjust
15605         * CutAndPaste.C (pasteSelection): adjust
15606
15607         * FloatList.C (FloatList): update from the new_insets branch.
15608         * Floating.[Ch]: ditto
15609         * LaTeXFeatures.C: ditto
15610         * buffer.C: ditto
15611         * lyxlex_pimpl.C: ditto
15612
15613         * paragraph.C (Last): remove when NEW_INSETS is defined.
15614
15615         * other file: changes because of the above.
15616
15617 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15618
15619         * lyxparagraph.h: rename next to next_, previous to previous_,
15620         make them private for NEW_INSETS. Rename Next() to next(),
15621         Previous() to previous().
15622
15623         * other files: changes because of the above.
15624
15625 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15626
15627         * BufferView.h:
15628         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15629         problem.
15630
15631 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15632
15633         * main.C (main): pass lyx_localedir to gettext_init().
15634
15635         * gettext.h: remove locale_init and gettext_init macros
15636
15637         * gettext.C (locale_init): new function
15638         (gettext_init): new function
15639
15640         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15641         setlocale().
15642
15643 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15644
15645         * Moved credits to frontends:
15646         * credits.[Ch]: removed
15647         * credits_form.[Ch]: removed
15648         * lyx_gui_misc.C: remove credits stuff
15649         * Makefile.am:
15650
15651 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15652
15653         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15654
15655         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15656         unneeded destructor.
15657
15658         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15659         a standalone pointer again.
15660
15661         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15662
15663 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15664
15665         * Makefile.am:
15666         * filedlg.h:
15667         * filedlg.C:
15668         * LyXAction.C:
15669         * ToolbarDefaults.C:
15670         * bufferlist.C:
15671         * commandtags.h:
15672         * form1.C:
15673         * form1.h:
15674         * lyx_cb.C:
15675         * lyx_cb.h:
15676         * lyxfunc.h:
15677         * lyxfunc.C:
15678         * BufferView_pimpl.C: use new file dialog in GUII
15679
15680         * lyx_cb.h:
15681         * lyx_cb.C: remove LayoutsCB to Toolbar
15682
15683 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15684
15685         * ShareContainer.h (get): add std:: qualifier
15686
15687 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15688
15689         * ShareContainer.h: define a proper ShareContainer::value_type
15690         type (and use typename to please compaq cxx)
15691
15692 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15693
15694         * lyxparagraph.h: move serveral local vars to
15695         ParameterStruct/ParagraphParameters., use ShareContainer in
15696         FontTable., make vars in FontTable private and add getter and
15697         setter.
15698
15699         * paragraph.C: changes because of the above.
15700
15701         * lyxfont.h: remove copy constructor and copy assignment. (the
15702         default ones is ok), move number inside FontBits. move inlines to
15703         lyxfont.C
15704
15705         * lyxfont.C: add number to initializaton of statics, move several
15706         inlines here. constify several local vars. some whitespace
15707         cleanup. Dont hide outerscope variables.
15708
15709         * Spacing.h: add two new constructors to match the set methods.
15710
15711         * ShareContainer.h: new file, will perhaps be moved to support
15712
15713         * ParameterStruct.h: new file
15714
15715         * ParagraphParameters.h: new file
15716
15717         * ParagraphParameters.C: new file
15718
15719         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15720         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15721
15722         * BufferView_pimpl.C: ParagraphParameter changes.
15723         * buffer.C: Likewise.
15724         * bufferview_funcs.C: Likewise.
15725         * text.C: Likewise.
15726         * text2.C: Likewise.
15727
15728 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15729
15730         * lyxfind.C (LyXReplace): do not redefine default argument in
15731         implementation.
15732         (IsStringInText): ditto
15733         (SearchForward): ditto
15734         (SearchBackward): ditto
15735
15736 2001-03-06  Juergen Vigna  <jug@sad.it>
15737
15738         * lyxfind.C (IsStringInText): put parentes around expressions.
15739
15740 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15741
15742         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15743
15744 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15745
15746         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15747
15748         * stl_string_fwd.h: add comment
15749
15750         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15751
15752         * tabular.h:
15753         * tabular.C: remove unused DocBook methods
15754
15755         * intl.C:
15756         * language.C:
15757         * paragraph.C:
15758         * buffer.C:
15759         killed DO_USE_DEFAULT_LANGUAGE
15760
15761 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15762
15763         * lyx_gui.C: do not include language.h.
15764
15765         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15766         arguments in function implementation.
15767
15768 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15769
15770         * BufferView_pimpl.C: add <ctime>
15771
15772 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15773
15774         * BufferView_pimpl.C: add using std::find_if
15775
15776 2001-02-27  José Matos  <jamatos@fep.up.pt>
15777
15778         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15779         by OnlyPath.
15780
15781 2001-02-11  José Matos  <jamatos@fep.up.pt>
15782
15783         * buffer.C (makeDocBookFile): command styles now have a parameter as
15784         "title" by default.
15785
15786 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15787
15788         * layout_forms.[Ch]: removed
15789         * lyx_cb.[Ch]: out character
15790         * lyx_gui.C: out character
15791         * lyx_gui_misc.C: out character
15792         * bufferview_funcs.C: : out character,
15793         added toggleall as parameter in ToggleAndShow
15794
15795 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15796
15797         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15798
15799         * text2.C (SetCurrentFont): Disable number property at boundary.
15800
15801 2001-02-26  Juergen Vigna  <jug@sad.it>
15802
15803         * lyxfunc.C (getStatus): added a string argument override function so
15804         that this is correctly called from LyXFunc::Dispatch if it contains a
15805         do_not_use_argument which is used!
15806         (Dispatch): added check for "custom" export and call appropriate func.
15807
15808 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15809
15810         * lyxrc.C: Add language_command_local, language_use_babel and
15811         language_global_options.
15812
15813         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15814
15815         * buffer.C (makeLaTeXFile): Use language_use_babel and
15816         language_global_options.
15817
15818 2001-02-23  Juergen Vigna  <jug@sad.it>
15819
15820         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15821         which works with LyXText and putted it inside BufferView. Here now we
15822         only call for that part the BufferView::Dispatch() function.
15823
15824         * BufferView.C (Dispatch): added.
15825
15826         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15827         functions which needs to use a LyXText over from LyXFunc.
15828         (MenuInsertLyXFile): added
15829         (getInsetByCode): added
15830         (moveCursorUpdate): added
15831         (static TEXT): added
15832
15833 2001-02-22  Juergen Vigna  <jug@sad.it>
15834
15835         * BufferView_pimpl.C (update): call a status update to see if LyXText
15836         needs it.
15837
15838 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15839
15840         * vc-backend.C (revert): implement for CVS
15841         (getLog): implement for CVS
15842
15843 2001-02-20  Juergen Vigna  <jug@sad.it>
15844
15845         * text2.C (ClearSelection): added BufferView param for inset_owner call
15846
15847         * lyxfunc.C (TEXT): added this function and use it instead of
15848         directly owner->view()-text of getLyXText().
15849
15850 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15851
15852         * src/layout_forms.C: out preamble
15853         * src/layout_forms.h: out preamble
15854         * src/lyx_cb.C: out preamble
15855         * src/lyx_cb.h: out preamble
15856         * src/lyx_gui.C: out preamble
15857         * src/lyx_gui_misc.C: out preamble
15858         * src/lyxfunc.C: connect with guii preamble
15859
15860 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15861
15862         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15863
15864 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15865
15866         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15867         whether to run bibtex.
15868
15869 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15870
15871         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15872
15873 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15874
15875         * Makefile.am (lyx_SOURCES): removed bibforms.h
15876
15877         * vspace.h: doxygen
15878
15879         * text.C (GetVisibleRow): make several local vars const
15880
15881         * tabular.C: small cleanup.
15882
15883         * lyxserver.C (callback): use compare instead of strncmp
15884
15885         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15886         inlines to after class or to paragraph.C
15887
15888         * lyxfont.h: remove friend operator!=
15889
15890         * converter.h: move friend bool operator< to non friend and after
15891         class def.
15892
15893         * combox.h: small cleanup
15894
15895         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15896         to inlines after class def.
15897
15898         * buffer.C (pop_tag): use string operations instead of strcmp
15899
15900         * bmtable.c: doxygen, small cleanup
15901
15902         * LaTeX.h: remove friend operator==
15903
15904 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15905
15906         * screen.C:
15907         * lyxrc.[Ch]:
15908         * lyxfunc.C:
15909         * lyxfont.[Ch]:
15910         * lyx_cb.C:
15911         * intl.[Ch]:
15912         * commandtags.h:
15913         * buffer.C:
15914         * WorkArea.[Ch]:
15915         * LyXAction.C:
15916         * BufferView_pimpl.C:
15917         * BufferView.[Ch]: remove cruft
15918
15919 2001-02-14  Juergen Vigna  <jug@sad.it>
15920
15921         * lyxfunc.C: removed #if 0 unused code
15922
15923         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15924
15925         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15926
15927         * text2.C (SetSelection): added a BufferView * parameter
15928
15929 2001-02-13  Juergen Vigna  <jug@sad.it>
15930
15931         * lyxfunc.C (Dispatch): fixed protected blank problem.
15932         * BufferView2.C (protectedBlank): added LyxText * parameter.
15933
15934         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15935         (AppendColumn): same as above for column_info.
15936
15937         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15938         (moveCursorUpdate): use a LyXText param for support of InsetText.
15939
15940         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15941         (tripleClick): ditto
15942
15943         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15944
15945         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15946
15947         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15948
15949         * text2.C (SetSelection): set correct update status if inset_owner
15950         (ToggleFree): ditto
15951
15952 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15953
15954         * tabular.C: remove some commented code.
15955
15956 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15957
15958         * BufferView_pimpl.C: call hideSplash()
15959
15960         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15961
15962         * include_form.h:
15963         * bibforms.h: remove
15964
15965         * lyxfunc.C:
15966         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15967           add LFUN_CHILD_CREATE
15968
15969         * counters.h: fix tiny typo
15970
15971         * lyx_cb.C:
15972         * lyx.h:
15973         * lyx_gui.C:
15974         * lyx.C: move splash to frontends/xforms/
15975
15976         * lyx_gui_misc.C: move Include and Bibform to frontends
15977
15978         * lyxvc.h: clarify comment
15979
15980         * vspace.C: tiny housekeeping
15981
15982 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
15983
15984         * text.C (PrepareToPrint): RTL Fix.
15985
15986         * paragraph.C (GetUChar): New method.
15987         (String):  Use GetUChar.
15988
15989         * buffer.C (asciiParagraph): Use GetUChar.
15990
15991 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
15992
15993         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15994
15995 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
15996
15997         * buffer.h:
15998         * buffer.C: rename to getLogName(), handle
15999           build log / latex log nicely
16000
16001 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16002
16003         * MenuBackend.C:
16004         * MenuBackend.h: remove support for reference menuitem type.
16005
16006 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16007
16008         * BufferView_pimpl.C: housekeeping
16009         * BufferView_pimpl.h:
16010         * LyXView.h:
16011         * Makefile.am:
16012         * Timeout.C:
16013         * Timeout.h:
16014         * minibuffer.h: move Timeout GUI-I
16015
16016 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16017
16018         * lyxrc.C (read): Update converters data-structures.
16019
16020 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16021
16022         * LaTeX.h (operator!=): add operator != for Aux_Info
16023
16024 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16025
16026         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16027
16028         * LaTeXLog.C: deleted, useful code moved to Buffer
16029
16030         * buffer.h:
16031         * buffer.C: new function getLatexLogName()
16032
16033         * lyx_gui_misc.C:
16034         * lyx_gui.C:
16035         * lyxvc.C:
16036         * lyxvc.h:
16037         * lyxfunc.C: use frontends for LaTeX and VC logs
16038
16039 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16040
16041         * LaTeX.h: yet another std:: that Allan forgot.
16042
16043         * Variables.C (set): renamed from isset(), because this clashes
16044         with some HP-UX macros (grr).
16045
16046 2001-02-06  Allan Rae  <rae@lyx.org>
16047
16048         * LaTeX.h: Another bug fix.  Missing std:: this time.
16049
16050 2001-02-04  Allan Rae  <rae@lyx.org>
16051
16052         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16053         floats problem. I've left it commented out because it's not quite
16054         correct.  It should also test that the current object is a table or
16055         figure inset.  But I haven't gotten around to figuring out how to do
16056         that.  I *think* it'll be something like: "table" == inset.type()
16057
16058         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16059         bool.
16060
16061 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16062
16063         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16064         all the citation/databases/styles in the auxilary file.
16065         (run): Rerun latex if there was a babel language error.
16066
16067 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16068
16069         * text.C (Backspace): Preserve the font when changing newline char
16070         with a space.
16071         (BreakParagraph): If the cursor is before a space, delete the space.
16072
16073         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16074
16075 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16076
16077         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16078         new argument (code).
16079         (ChangeCitationsIfUnique): New method.
16080
16081         * paragraph.C (GetPositionOfInset): Handle bibkey.
16082
16083 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16084
16085         * BufferView_pimpl.h: change type of Position::par_pos to
16086         LyXParagraph::size_type.
16087
16088 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16089
16090         * BufferView_pimpl.C (savePosition, restorePosition): Write
16091         messages to minibuffer.
16092
16093 2001-01-28  José Matos  <jamatos@fep.up.pt>
16094
16095         * buffer.C (makeDocBookFile): adds support for document language.
16096         A silly restriction on the name of LatexCommand types where removed.
16097         Added support for CDATA sections, allows to chars unescaped, used
16098         among others in code, to avoid escape < and >.
16099
16100 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16101
16102         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16103         saved positions instrad of a stack. Furthermore, a position is
16104         stored using paragraph id/paragraph position.
16105
16106         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16107         Remove LFUN_REF_BACK.
16108
16109 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16110
16111         * converter.C (dvipdfm_options): New method.
16112
16113 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16114
16115         * vspace.C (isValidLength): Fix for empty input string.
16116
16117 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16118
16119         * LyXAction.C (init): change description of LFUN_FIGURE to
16120         "Insert Graphics"
16121
16122 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16123
16124         * LaTeX.C: add using directive
16125
16126 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16127
16128         * MenuBackend.C (expand): Fix the sorting of the formats.
16129
16130 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16131
16132         * lyx_main.C: tiny error message fix
16133
16134 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16135
16136         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16137         calling fl_initialize(). This fixes the problem with ',' as
16138         decimal separator in text files.
16139
16140 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16141
16142         * trans.C (process): Fix the keymap bug.
16143
16144 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16145
16146         * LaTeX.C (scanAuxFiles): New method. Provides support for
16147         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16148         (scanLogFile) Scan for "run BibTeX" messages.
16149
16150         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16151         OT1 font encoding. Also, load the aecompl package if the ae
16152         package is loaded.
16153
16154         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16155
16156 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16157
16158         * texrow.C (increasePos): turn two error messages into debug
16159         messages.
16160
16161 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16162
16163         * LaTeX.C (scanAux): Handle the \@input macro.
16164         (runBibTeX): Use scanAux().
16165
16166         * language.C (latex_options_): New field.
16167
16168         * LaTeXFeatures.C (getMacros): Add language macros.
16169
16170         * buffer.C (makeLaTeXFile): Small fix.
16171
16172 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16173
16174         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16175
16176         * text2.C: add a using directive.
16177
16178 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16179
16180         * BufferView2.C:
16181         * lyx_gui_misc.h:
16182         * lyxfr1.C:
16183         * lyxfunc.C: kill LyXBell.
16184
16185 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16186
16187         * text.C (IsBoundary): Remove the error message
16188
16189         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16190
16191         * lyxrc.C (setDefaults): Correct initialization value for
16192         font_norm_type.
16193
16194 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16195
16196         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16197         gotoError().
16198
16199         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16200         and GotoNextNote().
16201
16202         * src/LyXAction.C: Added reference-next.
16203
16204         * text.C (InsertChar): Use contains instead of strchr.
16205
16206         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16207
16208 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16209
16210         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16211         alignment commands (when needed).
16212
16213         * text.C (InsertChar): Add ':' to number separator chars.