]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
45a12a1ea3fe52771f9b0fa9ba0c8f196eb951c1
[lyx.git] / src / ChangeLog
1 2004-10-25  José Matos  <jamatos@lyx.org>
2
3         * output_docbook.C (makeCommand): merge two if's that tested the same condition.
4
5 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6
7         * sgml.C (escapeString): fix warning in a better way
8
9 2004-10-25  José Matos  <jamatos@lyx.org>
10
11         * sgml.C (escapeString): import the require boosts header file for
12         tie, and avoid a signed unsigned comparison.
13
14 2004-10-25  José Matos  <jamatos@lyx.org>
15
16         * sgml.h: add #include <string>
17
18 2004-10-25  José Matos  <jamatos@lyx.org>
19
20         * sgml.[Ch] (escapeString): new function to escape all the string.
21
22 2004-10-24  José Matos  <jamatos@lyx.org>
23
24         * paragraph.[Ch] (getFirstWord): new function to get the first
25         word. Useful for description.
26         (simpleDocBookOnePar): remove depth argument, add another that
27         says where to start the paragraph.
28
29         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
30         use the new functions to fix cleanly the support for descriptions.
31         
32 2004-10-24  José Matos  <jamatos@lyx.org>
33
34         * buffer.C (makeLinuxDocFile, makeDocBookFile):
35         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
36         * output_linuxdoc.C (linuxdocParagraphs):
37         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
38         add buffer as argument.
39
40 2004-10-24  José Matos  <jamatos@lyx.org>
41
42         * output_docbook.C (makeEnvironment, searchEnvironment): place
43         CDATA inside paragraphs and fix scope for listitems.
44
45 2004-10-24  José Matos  <jamatos@lyx.org>
46
47         * output_docbook.C: remove using statement for stack.
48
49 2004-10-23  José Matos  <jamatos@lyx.org>
50
51         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
52         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
53         docbook. The new scheme is recursive and makes use of iterators, the
54         same as latex export works.
55         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
56         directly with the paragraph contents. This code was moved up to
57         output_docbook.C (docbookParagraphs).
58         * sgml.C (openTag, closeTag): removed unneeded newlines.
59         (closeEnvTags) removed.
60
61 2003-10-23  André Pönitz  <poenitz@gmx.net>
62
63         * undo.C (textUndoOrRedo):
64         * dociterator.C (asDocIterator): work around crash
65
66         * cursor.C (getStatus): replace ASSERT by more verbose error message
67           and manual correction of the problem. Should increase stability
68           while providing more sensible information.
69
70 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
71
72         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
73
74         * bufferlist.C (previous, next): new methods
75
76         * lfuns.h: 
77         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
78
79 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
80
81         * buffer.C (makeDocBookFile): add dsssl stylesheet control
82         entities to preamble.
83
84 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
85
86         * messages.C (Pimpl): strip off translation context information
87
88 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
89
90         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
91         the cursor is correct (bug 1694)
92
93 2004-10-13  José Matos  <jamatos@lyx.org>
94
95         * output_docbook.C (docbookParagraphs): fix closing tags in the
96         end of the document. 
97
98 2004-10-09  José Matos  <jamatos@lyx.org>
99
100         * buffer.C: format up to 237.
101         * bufferparams.C (write): use tostr to convert booleans to strings.
102         
103 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
104
105         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
106
107 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
108
109         * LaTeX.C: implement use of babel language in xindy.
110
111 2004-10-05  José Matos  <jamatos@lyx.org>
112
113         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
114         Add new translators to help reading and writing the lyx file.
115
116 2004-10-05  José Matos  <jamatos@lyx.org>
117
118         * ParagraphParameters.C (read):
119         * text.C (readParToken): replace nexToken by more appropriate lex
120         methods.
121
122 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
123
124         * LaTeX.C (runMakeIndex):
125         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
126         (usually 'makeindex') configurable.
127
128         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
129         with a variable rather than with a number.
130
131 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
132
133         * output_latex.C (TeXOnePar): make sure font setting is the first
134         thing that gets output (and the last at the end). Should fix bug
135         1404.
136
137 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
138
139         * pch.h: use proper signal include
140
141         * LaTeX.h: Use preferred calling of Boost.Signal
142         * buffer.h: ditto
143
144 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
145
146         * pch.h: dont include <boost/function/function0.hpp>
147
148         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
149
150         * paragraph_pimpl.h: remove usage of ShareContainer
151
152         * paragraph_pimpl.C: remove initialization of ShareContainer.
153
154 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
155
156         Fix bug #1666
157
158         * BufferView.C (putSelectionAt): change the semantics when
159         backwards == true: now, this just swaps cursor and anchor wrt the
160         forward case
161
162         * BufferView.h (putSelectionAt): add some documentation
163
164         * lyxfind.C (findBackwards): rewrite using while(). In particular,
165         make sure backwardChar is done at least once (to avoid getting
166         stuck)
167         (findNextChange): use putSelectionAt in the forward direction
168         (operator()): use Paragraph::isWord
169
170 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
171
172         * Spacing.C (set): c_str fix
173
174 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
175
176         * lyx_cb.C (Reconfigure): quote the name of configure script in
177         case it contains spaces
178
179 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
180
181         * client: new dir
182
183         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
184         (BOOST_LIBS): use top_buildir when looking for the file
185
186 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
187
188         * pch.h: do not use include boost/format.hpp, multiple symbols
189                 will result (gcc bug)
190
191
192 2004-08-23  José Matos  <jamatos@lyx.org>
193
194         * bufferparams.C (readToken): fix reading of the author field.
195
196 2004-08-20  José Matos  <jamatos@lyx.org>
197
198         * lyxrc.C: remove support/translator.h inclusion since it is not used.
199
200 2004-08-20  José Matos  <jamatos@lyx.org>
201
202         * lyxlex.[Ch] (findToken): remove function.
203
204         * ParagraphParameters.C (findToken):
205         * bufferparams.C (findToken): replace call for previous function
206         with local copy. This local function has one more argument, the
207         read string argument.
208
209 2004-08-16  José Matos  <jamatos@lyx.org>
210
211         * ParagraphParameters.C (write):
212         * Spacing.C (writeFile):
213         * bufferparams.C (writeLaTeX):
214         * lyx_cb.C (Reconfigure):
215         * paragraph.C (write):
216         * tabular.C (write): remove unnecessary space at end of line.
217
218
219 2004-08-16  José Matos  <jamatos@lyx.org>
220
221         * text.C (readParagraph): remove debug message.
222
223 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
224
225         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
226         crash
227
228         * output_plaintext.C (asciiParagraph): set depth correctly
229
230         * outputparams.h: add member depth
231
232         * paragraph_funcs.C (ownerPar): remove.
233
234         * text2.C (setCounter): remove first_pit; comment out some
235         non-working code that uses ownerPar
236
237         * BufferView.C (getParentLanguage): remove. Not used anymore, and
238         uses ownerPar
239
240 2004-08-16  José Matos  <jamatos@lyx.org>
241
242         * text.C (readParToken, readParagraph, read): report all unknown tokens.
243         For the same level of importance use the same chanel to report problems.
244         (read): add code to deal with \begin_body and \end_body.
245
246
247 2004-08-15  José Matos  <jamatos@lyx.org>
248
249         * lyxlex.C (getString): fix comment, buffer::readBody is now
250         buffer:readDocument.
251
252         * tex-strings.C (string_papersize): Default -> default,
253         Custom -> custom, for consistency with other options.
254
255 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
256
257         * pch.h: new file
258
259         * Makefile.am: support pch
260
261 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
262
263         * text.C (readParToken): remove the static LyXFont variable and
264         pass it as a parameter instead. This fixes a nasty bug where an
265         inset will be inserted with a bad font in some situations
266         (readParagraph): adapt
267
268         * text2.C (setCounter): reduce number of calls to pars_[pit]
269
270         * text.C (singleWidth): add an assert, fix a test
271
272         * rowpainter.C (paintText): reduce number of calls to singleWidth
273
274         * paragraph.C (isHfill):
275         (isNewline): ws only
276
277 2004-08-14  André Pönitz  <poenitz@gmx.net>
278
279         * text.C:
280         * text2.C:
281         * rowpainter.C:
282         * lyxtext.h (several functions): use a Paragraph & argument
283         instead of par_type
284
285 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
286
287         * metricsinfo.h: add a new field ltr_pos to PainterInfo
288
289         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
290
291         * text.C (singleWidth): remove useless test
292
293 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
294
295         * tabular.h: remove bogus comments
296
297         * tabular.C (getDescentOfRow):
298         (isPartOfMultiColumn): add assertions
299
300         * lyxlength.C (inPixels): remove #warning
301
302 2004-08-14  André Pönitz  <poenitz@gmx.net>
303
304         * paragraph.h: inline getChar()
305
306         * BufferView.h: remove unused declarations
307
308 2004-08-14  José Matos  <jamatos@lyx.org>
309
310         * Buffer.[Ch] (readDocument): new name for old readBody.
311         * Buffer.C: new file format, new keywords: \begin_document,
312         \begin_header, \begin_body, \end_body.
313
314         * bufferparams.C (readToken): replace all calls to lex.nextToken
315         by lex.next(). Do the same to eatLine except where really needed.
316
317         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
318         line when writing to the lyx file.
319
320         * output_plaintext.C (asciiParagraph): fix Bibliography style
321         handling.
322
323         * text.C (read): fix end of file handling.
324
325 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
326
327         * MenuBackend.C (Menu::operator[]): new method to access
328         individual menu items
329         (Menu::hasFunc): new method. search for an item that corresponds
330         to a given func
331         (MenuBackend::specialMenu): new method
332         (MenuBackend::expand): if a special menu has been set, skip
333         entries whose func() appears in this menu
334
335 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
336
337         * text3.C: use Debug::DEBUG a bit more
338
339         * text.C (leftMargin): try to simplify a tiny bit change var x to
340         l_margin. Dont output the wide margins always.
341         (rightMargin): no margin in inner texts
342
343         * rowpainter.h (nestMargin): new func
344         (changebarMargin): new func
345         (rightMargin): new func
346
347         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
348         now functions.
349         (paintLast): ditto
350
351         * factory.C (createInset): modify setDrawFrame
352
353         * cursor.C: use Debug::DEBUG a bit more
354
355 2004-08-14  André Pönitz  <poenitz@gmx.net>
356
357         * coordcache.[Ch]:
358         * Makefile.am: new files to accomodate an 'external' (x,y)-position
359         cache for all insets in (at least partially) visible (top-level)
360         paragraphs.
361
362         * BufferView_pimpl.C: reset external coord cache before every update.
363         This means the coord cache only contains valid entries.
364
365 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
366
367         bug 1096
368         * BufferView_pimpl.C (getInsetByCode): move function out of class
369         and change in to a template in anon namespace. Also fix to do what
370         suits us better.
371
372 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
373
374         bug 1305
375         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
376         of char
377         (breakParagraph): rename par to par_offset and use a local
378         reference. Add code to keep the language over a rebreak.
379         (breakParagraphConservative): rename par to par_offset, use a
380         local reference
381         (mergeParagraph): ditto
382         (outerHook): ditto
383         (isFirstInSequence): ditto
384         (outerFont): rename pit to par_offset
385
386         * paragraph.C: ws change
387         * paragraph.h: ditto
388         * text3.C: ditto
389         * text.C: ditto
390
391 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
392
393         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
394         treatment for ']'
395
396         * paragraph.C (simpleTeXOnePar): when we have a \item with
397         optional argument, enclose the argument with curly brackets (in
398         case it contains a closing square bracket)
399
400         * text2.C (editXY):
401         * text2.C (editXY):
402         * text3.C (checkInsetHit): constify
403
404 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
405
406         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
407         documents (bug 1629)
408
409 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
410
411         Fix toggling of collapsable insets with the mouse (bug 1558)
412
413         * lyxfunc.C (dispatch): adapt to LCursor changes
414
415         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
416         make sure that dispatch is not invoked twice
417
418         * cursor.C (needsUpdate): new method
419         (dispatch): return void
420         (result): new method, to access the DispatchResult of the cursor.
421
422 2004-08-13  José Matos  <jamatos@lyx.org>
423
424         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
425
426 2004-08-13  André Pönitz  <poenitz@gmx.net>
427
428         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
429
430         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
431           multiple cells
432
433 2004-08-12  André Pönitz  <poenitz@gmx.net>
434
435         * text3.C: take out the 'cursor right' form insertInset and only
436         do it in those places when it is really needed. Fixes crash on
437         C-m...
438
439 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
440
441         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
442
443         * BufferView_pimpl.C (setBuffer): initialize the current font of
444         the underlying LyXText
445
446 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
447
448         * kbsequence.C (print): use UI native formatting for menu
449         shortcuts
450
451         * text.C (insertChar): call Paragraph::insertChar with a font
452         argument (cosmetic)
453
454         * paragraph.C (insertInset, insertChar): the version that takes a
455         LyXFont argument is now a wrapper around the other one (the
456         opposite used to be true).
457
458         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
459         argument. Font setting is done in Paragraph now.
460
461 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
462
463         * outputparams.h: add new members intitle and lang.
464
465         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
466         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
467
468 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
469
470         * text3.C (dispatch): remove special handling of button 4 and 5,
471         it is now taken care of in the frontend code.
472
473 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
474
475         * Spacing.h: add <string> (STLPort compile fix)
476
477 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
478
479         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
480
481 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
482
483         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
484         to bool.
485
486         * converter.C (showMessage): inherit from unary_function, make
487         operator() const.
488
489         * buffer.C (writeFile): initialize retval
490
491         * InsetList.h: rename private variable list to list_
492         * InsetList.[Ch]: adjust accordingly.
493
494 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
495
496         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
497         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
498         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
499         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
500         * ParagraphParameters.C, LaTeXFeatures.C: replace
501         "support/std_sstream.h" with <sstream>
502
503 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
504
505         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
506         * lyxsocket.C (LyXServerSocket): ditto
507         (serverCallback): ditto
508
509 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
510
511         * LaTeXFeatures.C: check release date when loading jurabib.
512
513 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
514
515         * lyxserver.C (startPipe): call register_socket_callback
516         (endPipe): call unregister_socket_callback
517
518 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
519
520         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
521         (LyXServerSocket): register the callback
522         (LyXServerSocket): unregister the callback
523         (fd): delete function
524         (serverCallback): improve error checking and setup the callbacks.
525         (dataCallback): change arg to fd.
526         (writeln): new func (copied fro the client socket) used for server
527         write to client.
528         (LyXDataSocket): simplify
529         (~LyXDataSocket): close ann unregiser callback
530         (server): delete function
531         (fd): delete function
532         (readln): small changes, improve some std::string usage
533         (writeln): constify a bit
534
535 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
536
537         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
538         Qt frontend
539
540 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
541
542         * BufferView_pimpl.C (setBuffer): set the layout combox value only
543         after it has been populated
544
545 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
546
547         * text2.C (insertInset): move cursor when inserting inset.
548
549 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
550
551         * kbmap.C (findbindings): a couple of new methods. returns a
552         container of kb_sequence objects. The real work is done by the
553         private recursive version
554         (printbindings): uses findbindings to print out a bracketed list
555         of bindings (renamed from findbinding).
556
557         * MenuBackend.C (binding): use kb_keymap::findbindings
558
559         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
560
561 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
562
563         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
564
565 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
566
567         * paragraph.C (isWord): return true on insets that report
568         isLetter().
569
570         * text.C (getWord): use Paragraph::isWord to decide what is in a
571         word and what is not; fix bug 1609.
572
573 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
574
575         * tex-strings.C: add "none" to string_paperpackages[], fixes
576         off-by-one-error in the paperpackage selection.
577
578         * lyxlex.[Ch]:
579         * tex-strings.[Ch]: char const * string[n]
580         -> char const * const string[]
581
582 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
583
584         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
585         command, return early.
586
587 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
588
589         * debug.h: add DEBUG to enum and fix size of ANY.
590
591         * debug.C: add support for Debug::DEBUG
592         (showTags): cast errorTags.level to unsigned int
593
594         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
595         (redoCurrentBuffer): ditto
596         (updateScrollbar): ditto
597         * cursor.C (dispatch): ditto
598         * text2.C (setLayout): ditto
599         (setFont): ditto
600         (updateCounters): ditto
601         (editXY): ditto
602         (deleteEmptyParagraphMechanism): ditto
603
604 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
605
606         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
607         annotations to cleanup the Makefile slightly.
608
609 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
610
611         * lyxrc.C: do not set user_email to a default value but use empty
612         instead. The entry used to be translated, which does not work
613         since at the point where lyxrc is constructed there is no
614         translation service available
615
616         * messages.C (getLocaleDir): remove and use directly
617         lyx_localedir() instead
618
619 2004-06-02  Angus Leeming  <leeming@lyx.org>
620
621         Fix crash caused by dereferencing null pointer 'exportdata' in
622         OutputParams by creating a new ExportData variable on the heap,
623         storing it in a boost::shared_ptr.
624         The crash was triggered when generating an Instant Preview
625         of an external inset.
626
627         * Makefile.am: add outputparams.C
628
629         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
630         (c-tor): allocate memory to it.
631
632         * exporter.C (c-tor): associated changes.
633
634 2004-06-01  Angus Leeming  <leeming@lyx.org>
635
636         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
637         contains data before calling isInset(0). (Bug 1513.)
638
639 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
640
641         * exporter.C (checkOverwrite): new method
642         * exporter.C (copyFile): new method
643         * exporter.C (Export): copy referenced files to the document dir
644         * exporter.[Ch]: new class ExportedFile
645         * exporter.[Ch]: new class ExportData. Contains currently the
646         names of referenced external files
647         * outputparams.h: add exportdata member.
648
649 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
650
651         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
652         version.C-tmp
653
654 2004-05-19  Angus Leeming  <leeming@lyx.org>
655
656         * LaTeXFeatures.C:
657         * ToolbarBackend.C:
658         * bufferparams.C:
659         * lyxfunc.C: small changes due to the introduction of namespace
660         lyx::frontend and the moving of namespace biblio to lyx::biblio.
661
662 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
663
664         * text3.C (dispatch): supress update when only moving the cursor
665         * cursor.C (selHandle): remove commented code
666
667 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
668
669         * paragraph.C (startTeXParParams): correct column count
670         * CutAndPaste.C (pasteSelection): remove const_cast
671         * output_docbook.C (docbookParagraphs): remove const_cast
672         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
673         const_cast and return ParagraphList::const_iterator
674         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
675         * output_plaintext.C (writeFileAscii): remove const_cast
676         * paragraph.[Ch] (simpleTeXOnePar): make const
677         * paragraph_funcs.C (outerPar): use const iterators
678         * paragraph_pimpl.C (validate): use const iterators
679         * text.C (setHeightOfRow): use const iterators
680
681 2004-05-17  Angus Leeming  <leeming@lyx.org>
682
683         * lfuns.h:
684         * LyXAction.C (init): new LFUN_INSET_REFRESH.
685
686         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
687         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
688         if the citation engine has changed.
689
690 2004-05-14  José Matos  <jamatos@lyx.org>
691
692         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
693         if the textclass does not provide it. Have it different for sgml and
694         xml.
695         support the language of document.
696         * output_docbook.C (docbookParagraphs):
697         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
698         first anchor as the id of the paragraph, remove special case code.
699         * sgml.C (escapeChar): escape only < & >.
700
701 2004-05-14  Angus Leeming  <leeming@lyx.org>
702
703         * bufferparams.h: move biblio::CiteEngine enum here to minimize
704         dependencies on src/frontends/controllers/biblio.h. Define a
705         CiteEngine_enum wrapper class to enable the enum to be forward
706         declared.
707
708 2004-05-12  Angus Leeming  <leeming@lyx.org>
709
710         * buffer.C: up LYX_FORMAT to 234.
711         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
712         use_numerical_citations with a single biblio::CiteEngine cite_engine
713         variable.
714         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
715
716 2004-05-13  José Matos  <jamatos@lyx.org>
717
718         * converter.h:
719         * converter.C (Converter, readFlags): add xml member.
720         * outputparams.h: add XML flavor.
721         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
722
723 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
724
725         * lyxfunc.C (dispatch):
726         (getStatus): fix handling of LFUN_SEQUENCE
727
728 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
729
730         * debug.C (showLevel): do not forget the end-of-line marker
731
732 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
733
734         * kbmap.C (read): do not stop parsing a bind file when an error
735         occurs (bug 1575)
736
737 2004-04-29  Angus Leeming  <leeming@lyx.org>
738
739         * cursor.C:
740         * factory.C:
741         * pariterator.C:
742         * text2.C: wrap a bunch of #warning statements
743         inside #ifdef WITH_WARNINGS blocks.
744
745 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
746
747         * buffer.C: increment format to 233.
748
749 2004-04-28  Angus Leeming  <leeming@lyx.org>
750
751         * BufferView_pimpl.C:
752         * lyxfunc.C:
753         * text3.C:
754         s/updateToolbar()/updateToolbars()/
755         s/Toolbar.h/Toolbars.h/
756
757 2004-04-28  Angus Leeming  <leeming@lyx.org>
758
759         * BufferView.[Ch] (c-tor):
760         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
761         No longer passes these data to the WorkArea generator.
762
763 2004-04-28  Angus Leeming  <leeming@lyx.org>
764
765         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
766
767 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
768
769         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
770
771 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
772
773         * output_latex.C (TeXEnvironment): make sure that there is a line
774         break before \end{foo} for the last paragraph of a document
775         (TeXOnePar): if the paragraph is at the end of the document (or
776         inset) and the language has to be reset, then make sure that the
777         line break is _before_ the language command, not after (fixes bug
778         1225); also make sure that the language reset command is the first
779         thing after the paragraph (to ensure proper nesting of
780         environments and thus fix bug 1404)
781
782 2004-04-21  John Levon  <levon@movementarian.org>
783
784         * ToolbarBackend.h:
785         * ToolbarBackend.C: make "name" be a programmatic name
786         and a gui_name field.
787
788         * lyxfunc.C: display the minibuffer on M-x
789
790 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
791
792         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
793         (bug 1526)
794
795 2004-04-19  Angus Leeming  <leeming@lyx.org>
796
797         * BufferView_pimpl.C (setBuffer): changed preview interface.
798
799         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
800         possible values.
801
802 2004-04-19  John Levon  <levon@movementarian.org>
803
804         * BufferView_pimpl.C:
805         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
806
807 2004-04-05  Angus Leeming  <leeming@lyx.org>
808
809         * text.C (redoParagraphs): add call to updateCounters(), thereby
810         fixing the missing "Figure #:" label from the caption of a
811         figure float.
812
813 2004-04-13  Angus Leeming  <leeming@lyx.org>
814
815         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
816         cursor is clicked out of an inset.
817
818 2004-04-13  Angus Leeming  <leeming@lyx.org>
819
820         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
821         than an InsetOld one.
822
823 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
824
825         * format.[Ch]: add editor to Format
826         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
827         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
828
829 2004-04-08  André Pönitz  <poenitz@gmx.net>
830
831         * metricsinfo.h: remove PainterInfo::width member
832
833 2004-04-08  Angus Leeming  <leeming@lyx.org>
834
835         * lyx_sty.C (boldsymbol_def): modify so that it outputs
836         "\providecommand" rather than "\newcommand", thereby preventing
837         clashes with packages that define "\boldsymbol" themselves.
838         Eg, beamer.
839
840 2004-04-08  Angus Leeming  <leeming@lyx.org>
841
842         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
843         thereby squashing an unnecessary warning.
844
845 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
846
847         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
848         setBuffer()
849
850 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
851
852         * BufferView.C (setCursor): call redoParagraph (some insets could
853         have been opened)
854         (putSelectionAt): remove the 'double update' trick
855
856         * BufferView_pimpl.C (fitCursor): call refreshPar
857         (workAreaDispatch): remove an uneeded update call
858         (dispatch): remove some manual update calls
859
860         * cursor.[Ch]: remove cached_y_, updatePos
861         (selHandle): set noUpdate when appropriate
862
863         * lyxfunc.C (dispatch): track if we need an update
864
865         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
866
867         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
868         (paintSelection): cheap optimization, do not call cursorX when not
869         needed
870         (paintPars): change signature
871         (refreshPar): add
872         (paintText): adjust
873         (paintTextInset): adjust
874
875         * text.C: adjust
876
877 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
878
879         * lengthcommon.C: compilation fix: remove explicit array size from
880         unit_name[] and friends
881
882 2004-04-05  Angus Leeming  <leeming@lyx.org>
883
884         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
885
886         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
887         present only for the preferences dialog.
888         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
889
890 2004-04-05  Angus Leeming  <leeming@lyx.org>
891
892         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
893         to enable the frontends to export changes to lyxrc correctly.
894
895         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
896
897 2004-04-07  André Pönitz  <poenitz@gmx.net>
898
899         * cursor.[Ch] (selClear, adjust): remove math
900
901         * cursor_slice.C: more agressive assert
902
903         * lyxfunc.C:
904         * BufferView_pimpl.C: rework mouse event dispatch
905
906         * dociterator.C:
907         * paragraph.C:
908         * text2.C:
909         * text3.C: adjust
910
911 2004-04-05  André Pönitz  <poenitz@gmx.net>
912
913         * cursor.[Ch] (valign, halign...): remove unneeded functions
914
915 2004-04-05  Angus Leeming  <leeming@lyx.org>
916
917         * lyxlength.[Ch] (unit_name et al.): const-correct.
918
919 2004-04-05  Angus Leeming  <leeming@lyx.org>
920
921         * BufferView_pimpl.C:
922         * buffer.C:
923         * counters.C:
924         * cursor.C:
925         * lyxfunc.C
926         * paragraph.C:
927         * pariterator.C:
928         * text.C:
929         * text2.C:
930         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
931
932 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
933
934         * text3.C (getStatus): add LFUN_BEGINNINGBUF
935
936 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
937
938         * lyxfind.C: add a couple of inTexted() tests + other small fixes
939         * BufferView_pimpl.[Ch] (getStatus)
940         * BufferView.[Ch] (getStatus): add
941         * lyxfunc.C (getStatus): move lfuns handled in
942         BufferView::dispatch to te function above
943         * Cursor.C (setSelection): set selection() = true
944
945 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
946
947         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
948
949 2004-03-31  Angus Leeming  <leeming@lyx.org>
950
951         * lyxfunc.C (dispatch): Fall through to the generic
952         Dialogs::show("preamble").
953
954 2004-03-31  Angus Leeming  <leeming@lyx.org>
955
956         * lyxfunc.C (dispatch): Fall through to the generic
957         Dialogs::show("spellchecker").
958
959 2004-03-31  Angus Leeming  <leeming@lyx.org>
960
961         * lyxfunc.C (getStatus, dispatch): changed invocation of the
962         preferences dialog.
963
964 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
965
966         * BufferView.C
967         * cursor.[Ch]
968         * dociterator.[Ch]:
969         * insetiterator.[Ch]:
970         * lyxfind.C:
971         * lyxfunc.C:
972         * pariterator.[Ch]:
973         * text2.C:
974         * undo.[Ch]: s/DocumentIterator/DocIterator/g
975
976 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
977
978         * BufferView.C (setCursor, putSelectionAt): call edit to open the
979         insets where we are putting the cursor.
980
981 2004-03-31  Angus Leeming  <leeming@lyx.org>
982
983         * lfuns.h:
984         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
985
986         * lyxrc.[Ch] (read, write): overloaded member functions taking
987         a std::[io]stream arguments.
988
989         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
990
991 2004-03-31  Angus Leeming  <leeming@lyx.org>
992
993         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
994         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
995
996         * lyxtextclass.C (load): if the text class couldn't be loaded, then
997         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
998
999 2004-03-31  Angus Leeming  <leeming@lyx.org>
1000
1001         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1002         the LFUN_ALL_INSETS_TOGGLE code.
1003
1004 2004-03-30  Angus Leeming  <leeming@lyx.org>
1005
1006         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1007         has died. Fall through to the generic Dialogs::show("document").
1008
1009 2004-03-30  Angus Leeming  <leeming@lyx.org>
1010
1011         * lfuns.h:
1012         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1013         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1014
1015         * lyxfunc.C (getStatus, dispatch): define the actions for these
1016         lfuns. Little more than a cut and pste job from ControlDocument.C
1017
1018         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1019
1020 2004-03-30  Angus Leeming  <leeming@lyx.org>
1021
1022         * lfuns.h:
1023         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1024         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1025
1026         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1027         open/closed state of ollapsable insets. Usage:
1028
1029         all-inset-toggle <state> <name>, where
1030         <state> == "open" || "closed" || "toggle" and
1031         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1032
1033         * lyxtext.h, text2.C (toggleInset): removed.
1034
1035         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1036         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1037         now passes LFUN_INSET_TOGGLE to the found inset.
1038
1039         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1040         is now invoked as "all-insets-toggle toggle branch".
1041
1042 2004-03-30  Angus Leeming  <leeming@lyx.org>
1043
1044         * dociterator.C:
1045         * insetiterator.C:
1046         * pariterator.[Ch]: added/corrected header blurb.
1047
1048 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1049
1050         * dociterator.[Ch]: add an inset_ member
1051         (backwardPos): implemented
1052         (backwardPos, forwardPos): use inset_ when the stack is empty.
1053         (doc_iterator_begin, doc_iterator_end): implemented
1054         * pariterator.[Ch]: adjust, add begin, end
1055         * insetiterator.[Ch]: adjust, add begin, end
1056         * cursor.C:
1057         * document.C:
1058         * BufferView.C:
1059         * BufferView_pimpl.C:
1060         * CutAndPaste.C: adjust
1061
1062 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1063
1064         * buffer.C: increment file format to 232.
1065         * LaTeXFeatures.C: add bibtopic package.
1066         * bufferparams.[Ch]: param \use_bibtopic.
1067
1068         * lyxrc.[Ch]: add lyxrc bibtex_command
1069         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1070
1071         * buffer.C: increment file format to 231.
1072
1073 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1074
1075         * dociterator.C: implement forwardPar
1076         * iterators.[Ch]: remove, replaced by
1077         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1078         * BufferView.C:
1079         * BufferView_pimpl.C:
1080         * CutAndPaste.C:
1081         * buffer.C:
1082         * bufferview_funcs.C:
1083         * cursor.C:
1084         * lyxfind.C
1085         * lyxfunc.C
1086         * paragraph_funcs.C
1087         * toc.C:
1088         * Makefile.am: adjust
1089
1090 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1091
1092         * CutAndPaste.C (pasteSelection): fix 2 crashes
1093         (eraseSelection): fix a crash
1094         * paragraph_funcs.C: remove a warning
1095
1096 2004-03-28  Angus Leeming  <leeming@lyx.org>
1097
1098         * lfuns.h:
1099         * LyXAction.C (init): new LFUN_PRINT.
1100
1101         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1102
1103 2004-03-27  Angus Leeming  <leeming@lyx.org>
1104
1105         * lfuns.h:
1106         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1107
1108         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1109
1110 2004-03-27  Angus Leeming  <leeming@lyx.org>
1111
1112         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1113         insetlist always contains non-null pointers to insets.
1114
1115 2004-03-26  Angus Leeming  <leeming@lyx.org>
1116
1117         * src/BufferView_pimpl.C:
1118         * src/CutAndPaste.C:
1119         * src/buffer.C:
1120         * src/iterators.C:
1121         * src/output_plaintext.C:
1122         * src/outputparams.h:
1123         * src/paragraph_funcs.C:
1124         * src/rowpainter.C:
1125         * src/text.C:
1126         * src/text2.C:
1127         * src/frontends/controllers/ControlErrorList.C:
1128         * src/frontends/gtk/FileDialogPrivate.C:
1129         * src/frontends/gtk/GPainter.C:
1130         * src/frontends/gtk/GToolbar.C:
1131         * src/frontends/qt2/QRef.C:
1132         * src/mathed/math_scriptinset.C: squash compiler warnings.
1133
1134 2004-03-26  Angus Leeming  <leeming@lyx.org>
1135
1136         * ispell.C (LaunchIspell::start):
1137         * lyx_cb.C (AutoSaveBuffer::start):
1138         invoke run(DontWait) rather than runNonBlocking().
1139
1140 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1141
1142         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1143
1144 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1145
1146         * kbsequence.C (print): adjust
1147
1148         * kbmap.C (printKeySym): rename and change signature
1149         (printKey): use LyXKeySym::print()
1150
1151 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1152
1153         * undo.C: add using std::advance to compile for stlport
1154
1155 2004-03-24  Angus Leeming  <leeming@lyx.org>
1156
1157         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1158         it leads to a crash when no buffer is present.
1159
1160 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1161             Martin Vermeer  <martin.vermeer@hut.fi>
1162
1163         * lyxfunc.C (dispatch):
1164         * bufferparams.C (readToken): use the new LColor::setColor
1165
1166         * LColor.[Ch] (setColor): new version that takes two strings as
1167         argument and creates a new color entry if necessary
1168
1169 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1170
1171         * buffer.C (makeLaTeXFile): if the main latex file that is
1172         processed is usually a subdocument of some master, then pretend
1173         for a while that it is actually the master
1174
1175 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1176
1177         * buffer.C (getLabelList):
1178         (getBibkeyList): use getMasterBuffer()
1179         (getMasterBuffer): new method. Returns the main document in the
1180         case where one is using included documents.
1181
1182 2004-03-25  André Pönitz  <poenitz@gmx.net>
1183
1184         * Makefile.am:
1185         * iterators.[Ch]:
1186         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1187
1188         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1189
1190         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1191         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1192
1193         * ParameterStruct.h: merge with ParagraphParameters
1194
1195         * lyxtext.h: remove LyXText::parOffset() and getPar()
1196
1197         * text3.C: Remove all 'manual' update calls. We do now one per user
1198         interaction which is completely sufficient.
1199
1200         * Bidi.C:
1201         * BufferView.[Ch]:
1202         * BufferView_pimpl.C:
1203         * FontIterator.[Ch]:
1204         * MenuBackend.C:
1205         * ParagraphParameters.[Ch]:
1206         * buffer.C:
1207         * buffer.h:
1208         * bufferlist.C:
1209         * cursor.[Ch]:
1210         * cursor_slice.[Ch]:
1211         * dociterator.[Ch]:
1212         * errorlist.[Ch]:
1213         * factory.C:
1214         * lfuns.h:
1215         * lyxfind.C:
1216         * lyxfunc.C:
1217         * output_docbook.[Ch]:
1218         * output_latex.[Ch]:
1219         * output_linuxdoc.[Ch]:
1220         * output_plaintext.[Ch]:
1221         * paragraph.[Ch]:
1222         * paragraph_funcs.[Ch]:
1223         * paragraph_pimpl.[Ch]:
1224         * rowpainter.C:
1225         * tabular.[Ch]:
1226         * text.C:
1227         * text2.C:
1228         * toc.C:
1229         * undo.[Ch]: adjust
1230
1231         * frontends/controllers/ControlDocument.C:
1232         * frontends/controllers/ControlErrorList.C:
1233         * frontends/controllers/ControlSpellchecker.C:
1234         * insets/inset.C:
1235         * insets/inset.h:
1236         * insets/insetbase.h:
1237         * insets/insetbibitem.C:
1238         * insets/insetbox.C:
1239         * insets/insetbranch.C:
1240         * insets/insetcaption.C:
1241         * insets/insetcharstyle.C:
1242         * insets/insetcharstyle.h:
1243         * insets/insetcollapsable.C:
1244         * insets/insetcollapsable.h:
1245         * insets/insetert.C:
1246         * insets/insetfloat.C:
1247         * insets/insetfoot.C:
1248         * insets/insetmarginal.C:
1249         * insets/insetnote.C:
1250         * insets/insetoptarg.C:
1251         * insets/insettabular.C:
1252         * insets/insettext.C:
1253         * insets/insettext.h:
1254         * insets/insetwrap.C:
1255         * mathed/math_mboxinset.C:
1256         * mathed/math_nestinset.C:
1257         * mathed/math_scriptinset.C:
1258         * mathed/math_scriptinset.h:
1259         * support/types.h:
1260
1261 2004-03-24  Angus Leeming  <leeming@lyx.org>
1262
1263         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1264         deal with any child processes that have finished but are waiting to
1265         communicate this fact to the rest of LyX.
1266
1267 2004-03-24  Angus Leeming  <leeming@lyx.org>
1268
1269         64-bit compile fixes.
1270
1271         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1272         (c-tor): pass lyx::pos_types rather than ints.
1273
1274         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1275         lyx::pos_type.
1276
1277         * text.C (Delete): compile fix.
1278         (getPar): ensure that function declaration is the same as that in
1279         the header file.
1280
1281 2004-03-23  Angus Leeming  <leeming@lyx.org>
1282
1283         * ispell.C (LaunchIspell):
1284         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1285         a boost::shred_ptr rather than a std::auto_ptr.
1286
1287 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1288
1289         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1290         handle LFUN_FILE_INSERT_*
1291
1292         * lyxrc.C (setDefaults, getDescription, output, read):
1293         * lyxrc.h: remove ps_command
1294
1295 2004-03-22  Angus Leeming  <leeming@lyx.org>
1296
1297         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1298         Ensure that error_handler is processed once only and that all data
1299         is saved before attempting to output any warning messages.
1300
1301         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1302
1303 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1304
1305         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1306
1307 2004-03-19  André Pönitz  <poenitz@gmx.net>
1308
1309         * cursor.[Ch] (reset): take main text inset as argument
1310
1311         * BufferView: adjust
1312         * BufferView_pimpl.C: adjust
1313
1314         * paragraph.[Ch]: fix completely broken operator=()
1315
1316 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1317
1318         * LColor.C (getFromLyXName): make sure that the color name is used
1319         as lowercase.
1320
1321 2004-03-17  Angus Leeming  <leeming@lyx.org>
1322
1323         * lfuns.h:
1324         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1325
1326         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1327         dialog and to kill a forked process.
1328
1329 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1330
1331         * text2.C (setCursorFromCoordinates): fix font problem
1332
1333 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1334
1335         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1336         bogus "rebuild cursor" code
1337
1338 2004-03-11  André Pönitz  <poenitz@gmx.net>
1339
1340         * buffer.[Ch]: use InsetText instead of LyXText as container for
1341         the main lyx text.
1342
1343         * dociterator.[Ch]: drop the BufferView * member which is not needed
1344         anymore after the change to buffer.C
1345
1346         * paragraph_funcs.C:
1347         * text.C:
1348         * text2.C:
1349         * BufferView.[Ch]:
1350         * BufferView_pimpl.[Ch]:
1351         * cursor.[Ch]:
1352         * cursor_slice.[Ch]: adjust
1353
1354         * text3.C: fix bug in mathDispatch
1355
1356 2004-03-08  André Pönitz  <poenitz@gmx.net>
1357
1358         * undo.[Ch]: use 'StableDocumentIterator' as base for
1359         the Undo struct.
1360
1361 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1362
1363         * LaTeXFeatures.C:
1364         * bufferparams.[Ch]: add jurabib support and param.
1365
1366         * LaTeX.C: add FIXME/comment.
1367
1368 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1369
1370         * buffer.C: increment file format to 230.
1371
1372 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1373
1374         * cursor.C (dispatch): avoid infinite loops
1375
1376 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1377
1378         * rowpainter.C (paintSelection): fix x coordinates
1379
1380 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1381
1382         * text.C (rowBreakPoint): fix breaking before displayed insets
1383
1384 2004-03-01  André Pönitz  <poenitz@gmx.net>
1385
1386         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1387
1388         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1389
1390         * Makefile.am:
1391         * BufferView.C:
1392         * BufferView_pimpl.C:
1393         * buffer.C:
1394         * lyxfind.C:
1395         * lyxfunc.C:
1396         * text.C:
1397         * text2.C:
1398         * text3.C: adjust
1399
1400 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1401
1402         * lyxtext.h:
1403         * text.C:
1404         * text2.C:
1405         * rowpainter.C:
1406         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1407         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1408
1409 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1410
1411         * Bidi.[Ch] (computeTables): const correctness
1412         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1413         fill_hfill, fill_label_hfill and x from Row
1414         * lyxtext.h: prepareToPrint returns a RowMetrics
1415         * rowPainter.C: adjust
1416         * text.C (prepareToPrint): use width, not textWidth. adjust
1417         (redoParagraphInternal, cursorX): adjust
1418         * text2.C (getColumnNearX): adjust
1419         (init): put a default value to the top LyXText::width
1420
1421 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1422
1423         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1424
1425 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1426
1427         * lyxtext.h: add FontIterator class
1428
1429         * text.C (FontIterator, operator*, operator->, operator++): add
1430         (rowBreakPoint, setRowWidth): adjust (fixing a
1431         rebreaking bug)
1432
1433 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1434
1435         * BufferView_pimpl.C (workAreaDispatch): allow also
1436         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1437
1438 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1439
1440         * text.C (rowBreakPoint): fix a bug showing with very large insets
1441
1442 2004-02-25  André Pönitz  <poenitz@gmx.net>
1443
1444         * text3.C:
1445         * cursor.[Ch]: move some mathed specific code to mathed
1446
1447 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1448
1449         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1450         use_tempdir in preferences
1451         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1452         tempfile creation
1453         * lyx_main.C: ensure that tempdir is valid
1454         * lyxlex.h: correct typo
1455         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1456         * paragraph.[Ch] (isMultiLingual): make const
1457         * cursor.[Ch] (openable): make const
1458
1459 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1460
1461         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1462
1463 2004-02-20  André Pönitz  <poenitz@gmx.net>
1464
1465         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1466
1467         * cursor.[Ch]: prepare for localized getStatus()
1468
1469         * lyxtext.h:
1470         * tabular.C:
1471         * text.C:
1472         * text2.C:
1473         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1474
1475 2004-02-20  André Pönitz  <poenitz@gmx.net>
1476
1477         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1478
1479 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1480
1481         * text2.C (setCursorFromCoordinates): switch to absolute coords
1482         (cursorUp): adjust
1483         (cursorDown): adjust
1484         * text3.C (dispatch): adjust
1485
1486 2004-02-16  André Pönitz  <poenitz@gmx.net>
1487
1488         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1489           insets/ChangeLog)
1490
1491         * cursor_slice.[Ch]: remove unneeded acessor function
1492
1493         * lyxtext.h: rename rtl() to isRTL()
1494
1495         * rowpainter.C:
1496         * tabular.C:
1497         * text.C:
1498         * text2.C:
1499         * text3.C: adjust
1500
1501 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1502
1503         * rowpainter.C (paintSelection): coord fix
1504
1505 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1506
1507         * Spacing.C: compile fix
1508
1509 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1510
1511         * cursor.C (dispatch): restore current_ before returning
1512
1513 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1514
1515         * text2.C (cursorUp, cursorDown): fix coords
1516         (moveUp): fix crash
1517
1518 2004-02-12  André Pönitz  <poenitz@gmx.net>
1519
1520         * lyxtext.h:
1521         * text.C:
1522         * text2.C:
1523         * text3.C: add LCursor & parameter to most cursor movement functions
1524           remove usage of LyXText::cursorRow() and cursorPar()
1525
1526         * cursor.[Ch]: add textRow() needed members
1527
1528         * BufferView.C:
1529         * BufferView_pimpl.C:
1530         * paragraph.[Ch]:
1531         * BufferView.C:
1532         * BufferView_pimpl.C: adjust
1533
1534 2004-02-11  André Pönitz  <poenitz@gmx.net>
1535
1536         * lyxfunc.C:
1537         * BufferView.[Ch]:
1538         * BufferView_pimpl.C: shift undo/redo handling
1539
1540         * cursor.[Ch]: fix mathed crash
1541
1542         * lyxfind.C:
1543         * lyxtext.h: move selectionAsText to LCursor
1544
1545         * output_latex.C:
1546         * paragraph.C:
1547         * text.C:
1548         * text2.C:
1549         * text3.C: adjust
1550
1551         * rowpainter.C: fix excessive drawing
1552
1553 2004-02-06  André Pönitz  <poenitz@gmx.net>
1554
1555         * BufferView.[Ch]:
1556         * BufferView_pimpl.[Ch]:
1557         * text3.C: move some text specific LFUN handling
1558
1559 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1560
1561         * text3.C (checkInsetHit): adjust coords
1562         * text2.C (getColumnNearX): adjust coords
1563         (edit): adjust coords
1564         * text.C (getRowNearY): add two asserts
1565
1566 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1567
1568         * converter.C:
1569         * format.C: add using std::distance to compile on gcc 2.95/stlport
1570
1571 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1572
1573         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1574
1575 2004-02-04  André Pönitz  <poenitz@gmx.net>
1576
1577         * BufferView.[Ch] (insertInset):
1578         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1579
1580         * text2.C:
1581         * text3.C: adjust
1582
1583 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1584
1585         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1586         on the default clause of the switch
1587         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1588         wasn't catched by LCursor::dispatch
1589
1590 2004-02-03  André Pönitz  <poenitz@gmx.net>
1591
1592         * BufferView.C:
1593         * cursor.[Ch]: some additional asserts
1594
1595         * undo.[Ch]: remove LyXText dependency in interface
1596
1597         * lyxfunc.C: adjust
1598
1599         * lyxtext.h (firstPar, lastPar): remove dead functions
1600
1601         * text.C:
1602         * text2.C:
1603         * text3.C:
1604         * paragraph.[Ch]: adjust
1605
1606 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1607
1608         * lyxfind.C (find): fix argument order in call to ::find
1609
1610 2004-02-02  André Pönitz  <poenitz@gmx.net>
1611
1612         * cursor.[Ch]: remove direct access to anchor
1613
1614         * text.C: remove findText() hack
1615
1616 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1617
1618         * iterators.[Ch] (lockPath): remove in favour of...
1619         * BufferView.[Ch] (setCursor): this addition
1620         * BufferView.C (putSelectionAt): adjust
1621         * undo.C (performUndoOrRedo): adjust
1622         * lyxfunc.C (dispatch): adjust
1623
1624 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1625
1626         * iterators.C (lockPath): add a missing slice
1627         * undo.C (performUndoOrRedo): remove redundant positioning code
1628
1629 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1630
1631         * vc-backend.C (scanMaster): ";" -> ';'
1632
1633 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1634
1635         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1636         std::binary_function
1637
1638         * lyxtextclass.C (compare_name): rename to...
1639         (LayoutNamesEqual): ...this
1640
1641         * lyxlex_pimpl.C (compare_tags): inherit from
1642         std::binary_function, put back into anon namespace
1643
1644         * lyxfind.C (MatchString): inherig from std::binary_function
1645         (findChange): use empty() istead of !size()
1646
1647         * format.C (FormatNamesEqual): new functor
1648         (getFormat): use it
1649         (getNumber): use it
1650         (add): use it
1651         (erase): use it
1652         (setViewer): use it
1653
1654         * converter.C (compare_Converter): rename to...
1655         (ConverterEqual): ...this, and fixup a bit.
1656         (getConverter): use it, and make function const
1657         (getNumber): use it, and make function const
1658         (add): use it
1659         (erase): use it:
1660
1661         * bufferlist.C: add using boost::bind
1662
1663         * MenuBackend.C (MenuNamesEqual): new functor
1664         (hasMenu): use it, and make function const
1665         (hasSubmenu): use nested bind to get rid of compare_memfun.
1666
1667 2004-01-30  André Pönitz  <poenitz@gmx.net>
1668
1669         * BufferView_pimpl.C:
1670         * cursor.C:
1671         * cursor.h:
1672         * cursor_slice.[Ch]:
1673         * lyxfunc.C:
1674         * lyxtext.h:
1675         * paragraph_funcs.C:
1676         * paragraph_funcs.h:
1677         * rowpainter.C:
1678         * text.C:
1679         * text2.C:
1680         * text3.C: move some of the edit(x,y) handling to the insets
1681         some coordinate changes.
1682
1683 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1684
1685         * text.C: add using statements for std::advance and std::distance
1686
1687         * paragraph.C: add using statement for std::distance
1688
1689         * lyxfind.C: add using statement for std::advance
1690
1691         * cursor.C (region): remove std:: from swap
1692         (openable): use nucleus in stead of operator->
1693
1694         * BufferView.C: add using statements for std::distance and std::swap
1695
1696 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
1697
1698         * iterators.C: Remove the pimple, move the needed structures to
1699         the header file. Create accessor for the positions stack.
1700         (asPosIterator): remove function
1701
1702         * PosIterator.C (PosIterator): move constructors to top of file
1703         (PosIterator): reimplement the constructor taking a ParIterator in
1704         terms of setFrom.
1705         (setFrom): new function
1706         (operator!=): inline it
1707
1708 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
1709
1710         * lyxfind.C (replaceAll): use std::advance
1711
1712         * iterators.h: inherit from std::iterator.
1713
1714         * PosIterator.C (advance, distance): remove
1715         * PosIterator.h: interit from std::iterator.
1716
1717 2004-01-26  André Pönitz  <poenitz@gmx.net>
1718
1719         * BufferView.[Ch]:
1720         * BufferView_pimpl.[Ch]:
1721         * InsetList.[Ch]:
1722         * PosIterator.[Ch]:
1723         * buffer.h:
1724         * bufferview_funcs.C:
1725         * cursor.[Ch]:
1726         * cursor_slice.h:
1727         * factory.[Ch]:
1728         * iterators.[Ch]:
1729         * lyxfind.C:
1730         * lyxfunc.C:
1731         * lyxtext.h:
1732         * output_docbook.C:
1733         * output_latex.C:
1734         * output_linuxdoc.C:
1735         * output_plaintext.C:
1736         * paragraph.[Ch]:
1737         * paragraph_funcs.[Ch]:
1738         * paragraph_pimpl.[Ch]:
1739         * rowpainter.C:
1740         * tabular.C:
1741         * tabular.h:
1742         * text.C:
1743         * text2.C:
1744         * text3.C: more IU:  dumps most of the rest of the mathcursor
1745     implementation into cursor.[Ch]; "globalize" a bit of it.
1746
1747 2004-01-25  Angus Leeming  <leeming@lyx.org>
1748
1749         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1750
1751 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1752
1753         * LaTeXFeatures.h: add nice_ and nice() const
1754         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1755
1756 2004-01-20  André Pönitz  <poenitz@gmx.net>
1757
1758         * BufferView.[Ch]:
1759         * BufferView_pimpl.C:
1760         * PosIterator.C:
1761         * bufferview_funcs.C:
1762         * cursor.[Ch]:
1763         * cursor_slice.[Ch]:
1764         * factory.C:
1765         * iterators.C:
1766         * lyx_cb.C:
1767         * lyxfind.C:
1768         * lyxfunc.C:
1769         * lyxtext.h:
1770         * rowpainter.C:
1771         * text.C:
1772         * text2.C:
1773         * text3.C:
1774         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1775           LCursor and mathcursor parts to LCursor and InsetBase.
1776
1777 2004-01-15  André Pönitz  <poenitz@gmx.net>
1778
1779         * cursor_slice.[Ch]: add a few covienience functions
1780
1781         * funcrequest.[Ch]: remove BufferView * member
1782
1783         * BufferView_pimpl.C:
1784         * cursor.C:
1785         * factory.[Ch]:
1786         * lyxfind.[Ch]:
1787         * lyxfunc.C:
1788         * lyxtext.h:
1789         * text3.C:
1790         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1791
1792 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
1793
1794         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1795         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1796
1797 2004-01-13  André Pönitz  <poenitz@gmx.net>
1798
1799         * textcursor.[Ch]:
1800         * lyxtext.h: hide cursor and selection anchor behind accessor function
1801
1802         * BufferView.C:
1803         * BufferView_pimpl.[Ch]:
1804         * PosIterator.C:
1805         * bufferview_funcs.C:
1806         * cursor.h:
1807         * lyxfind.C:
1808         * lyxfunc.C:
1809         * text.C:
1810         * text2.C:
1811         * text3.C:
1812         * undo.C: adjust
1813
1814         * cursor.h:
1815         * cursor_slice.[Ch]: some integer type changes for inset unification
1816
1817         * lyxcursor.[hC]: remove, it's CursorSlice now.
1818
1819         * Makefile.am:
1820         * BufferView_pimpl.[Ch]:
1821         * bufferview_funcs.C:
1822         * cursor_slice.C:
1823         * lyxtext.h:
1824         * text.C:
1825         * text2.C:
1826         * text3.C:
1827         * textcursor.[Ch]: adjust
1828
1829 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
1830
1831         * text2.C (undoSpan): add and use
1832         * text.C (breakParagraph): use undoSpan (fix bug 578)
1833         * lyxtext.h: adjust
1834
1835 2004-01-08  Angus Leeming  <leeming@lyx.org>
1836
1837         * BufferView_pimpl.C (MenuInsertLyXFile):
1838         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1839         * lyxfunc.C (menuNew, open, doImport):
1840         FileFilterList change to the FileDialog open and save functions.
1841
1842 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
1843
1844         * ShareContainer.h: make isEqual and isUnique adaptable
1845
1846         * CutAndPaste.C: make resetOwnerAndChanges adaptable
1847
1848 2004-01-07  Angus Leeming  <leeming@lyx.org>
1849
1850         * LyXAction.C:
1851         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1852
1853         * BufferView_pimpl.C (dispatch): act on these LFUNs.
1854
1855         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1856         functions replacing find, replace and replaceAll.
1857
1858         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1859         LFUN_WORDFIND(FORWARD|BACKWARD).
1860
1861 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1862
1863         * text.C (breakParagraph): remove an outdated #warning
1864
1865 2004-01-07  André Pönitz  <poenitz@gmx.net>
1866
1867         * lyxfind.C: somewhat clearer logic
1868
1869         * text.C: prevent crash in cursorX on unitialized row cache
1870
1871 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
1872
1873         * lyxcursor.[Ch] (operator>): add
1874         * textcursor.C (selStart, selEnd): use std::min and std::max
1875
1876 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
1877
1878         * Chktex.C: include boost/format.hpp
1879
1880 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
1881
1882         * InsetList.C: replace functor MathcIt with adaptable functor
1883         InsetTablePosLess
1884         (insetIterator): modify accordingly
1885
1886         * BranchList.h: move the BranchNamesEqual functor here from...
1887         * BranchList.C: ... to here
1888
1889         * BranchList.C: new BranchListEqual fuctor, use it. Remove
1890         SameName and match.
1891         (add): replace a finding loop with std::find_if.
1892
1893 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
1894
1895         * output_docbook.C: moving LatexParam functionality into
1896         .layout files
1897
1898 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1899
1900         * buffer.C: increment format to 229.
1901
1902 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
1903
1904         * LaTeXFeatures.C:
1905         * lyx_sty.[Ch]: remove minipageindent_def
1906
1907         * LyXAction.C:
1908         * factory.C:
1909         * lfuns.h:
1910         * lyxfunc.C:
1911         * text3.C: remove LFUN_INSET_MINIPAGE
1912
1913 2003-12-28  Angus Leeming  <leeming@lyx.org>
1914
1915         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1916
1917 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
1918
1919         * text2.C (setParagraph): fix off-by-one crash
1920
1921 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
1922
1923         * output_docbook.C: header stuff for AGU
1924
1925 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1926
1927         * text2.C (redoCursor): remove
1928         * text.C:
1929         * text3.C:
1930         * BufferView_pimpl.C: remove calls to redoCursor and
1931         setCursor(cursor.par(), cursor.pos()) all around
1932
1933 2003-12-15  Angus Leeming  <leeming@lyx.org>
1934
1935         * buffer.C: up the format to 228.
1936
1937 2003-12-15  André Pönitz  <poenitz@gmx.net>
1938
1939         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1940         slices
1941
1942         * Makefile.am:
1943
1944         * BufferView_pimpl.C:
1945         * cursor.[Ch]:
1946         * lyxcursor.[Ch]:
1947         * rowpainter.[Ch]:
1948         * lyxtext.h:
1949         * text.C:
1950         * text2.C:
1951         * text3.C: adjust
1952
1953 2003-12-15  Angus Leeming  <leeming@lyx.org>
1954
1955         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1956         than getFromGUIName to manipulate the color.
1957
1958 2003-12-14  Angus Leeming  <leeming@lyx.org>
1959
1960         * BranchList.[Ch]: minimize the API.
1961         (Branch::getBranch, getColor): now return a 'const &'.
1962         (Branch::setSelected) now returns a bool set to true if the
1963         selection status changes.
1964         (BranchList::clear, size, getColor, setColor, setSelected,
1965         allBranches, allSelected, separator): removed.
1966         (BranchList::find): new functions, returning the Branch with
1967         the given name.
1968         (BranchList::add, remove): return a bool indicating that
1969         the operation was successful.
1970
1971         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1972         new InsetBranch::isBranchSlected member function.
1973
1974         * LColor.[Ch]: mimimize the API.
1975         (fill): renamed as addColor and made private.
1976         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1977         versions of these functions taking a string arg have been removed.
1978
1979         * bufferparams.C (readToken):
1980         * lyxfunc.C (dispatch):
1981         * lyxrc.C (read): changes due to the altered BranchList and
1982         LColor APIs.
1983
1984         * factory.C (createInset, readInset): changes due to altered
1985         InsetBranch c-tor.
1986
1987 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1988
1989         * factory.C:
1990         * lyxfunc.C: remove insetminipage. "minipage-insert"
1991         now produces a frameless minipage box inset.
1992
1993 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
1994
1995         * textcursor.[Ch] (selStart,selEnd): add new methods
1996         remove selection::start, end, use LyXCursor::operator<
1997         * lyxcursor.[Ch] (operator<): add
1998         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1999         * BufferView.[Ch] (unsetXSel): add
2000         * text2.C (clearSelection): use unsetXSel,adjust
2001         * text.C: adjust
2002         * text3.C: adjust
2003         * rowpainter.C: adjust
2004         * bufferview_funcs.C (put_selection_at): adjust
2005
2006 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2007
2008         * BufferView_pimpl.C: small coord. correction
2009
2010 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2011
2012         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2013         dragging over the splash screen.
2014
2015 2003-12-11  Angus Leeming  <leeming@lyx.org>
2016
2017         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2018         as it is now handled in LyXText::dispatch.
2019
2020         * text3.C (doInsertInset): remove a level of nesting.
2021
2022 2003-12-11  Angus Leeming  <leeming@lyx.org>
2023
2024         * factory.C (createInset): changes due to the changed interface to
2025         InsetCommandMailer::string2params.
2026
2027 2003-12-10  Angus Leeming  <leeming@lyx.org>
2028
2029         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2030         'dialog-show-new-inset <inset name>'
2031
2032 2003-12-10  Angus Leeming  <leeming@lyx.org>
2033
2034         * buffer.C: up the format to 227.
2035
2036         * factory.C: the box inset is now identified simply by 'Box'.
2037
2038 2003-12-10  Angus Leeming  <leeming@lyx.org>
2039
2040         * buffer.C: up the format to 226.
2041
2042         * factory.C: the note inset is now identified simply by 'Note'.
2043
2044 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2045
2046         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2047         when a pit is enough. Standarize a couple of loops.
2048
2049 2003-12-05  Angus Leeming  <leeming@lyx.org>
2050
2051         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2052         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2053         data to the re-worked "log" dialog.
2054
2055 2003-12-03  André Pönitz  <poenitz@gmx.net>
2056
2057         * PosIterator.C:
2058         * iterators.C:
2059         * lyxtext.h:
2060         * output_latex.C:
2061         * paragraph_funcs.C:
2062         * text.C:
2063         * text2.C: use Inset::getText instead of Inset::getParagraph
2064
2065 2003-12-03  André Pönitz  <poenitz@gmx.net>
2066
2067         * buffer.[Ch]:
2068         * lyxtext.h:
2069         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2070         InsetText::read() as LyXText::read()
2071
2072 2003-12-02  Angus Leeming  <leeming@lyx.org>
2073
2074         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2075         type. Add a comment in the implementation that the function uses
2076         the stream's bad() function rather than fail() as the std::streams
2077         would do.
2078
2079 2003-12-02  André Pönitz  <poenitz@gmx.net>
2080
2081         * lyxlex.[Ch]: make interface more similar to std::stream
2082
2083         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2084
2085 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2086
2087         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2088
2089 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2090
2091         * vspace.[Ch]: remove VSpace::NONE
2092
2093 2003-12-01  André Pönitz  <poenitz@gmx.net>
2094
2095         * buffer.[Ch]:
2096         * lyxtext.h: move ParagraphList member to LyXText
2097         rename LyXText::ownerParagraphs to LyXText::paragraph
2098
2099         * CutAndPaste.C:
2100         * bufferview_funcs.C:
2101         * iterators.[Ch]:
2102         * lyx_cb.C:
2103         * paragraph.C:
2104         * rowpainter.C:
2105         * tabular.C:
2106         * text.C:
2107         * text2.C:
2108         * text3.C: adjust
2109
2110         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2111
2112         * undo.C: fix cursor positioning
2113
2114 2003-12-01  John Levon  <levon@movementarian.org>
2115
2116         * BufferView_pimpl.C: fix a crash on exit with
2117         a buffer open
2118
2119 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2120
2121         * BranchList.C: fix setSelected() method.
2122
2123 2003-11-28  André Pönitz  <poenitz@gmx.net>
2124
2125         * ParagraphParameters.[Ch]:
2126         * ParameterStruct.h: remove space above/below from Paragraph to
2127          InsetVSpace
2128
2129         * BufferView_pimpl.C:
2130         * factory.C:
2131         * lyxfunc.C:
2132         * lyxtext.h:
2133         * output_latex.C:
2134         * paragraph.C:
2135         * paragraph_funcs.C:
2136         * rowpainter.[Ch]:
2137         * text.C:
2138         * text2.C:
2139         * text3.C: adjust
2140
2141 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2142
2143         * factory.C: Syntax change for CharStyles
2144
2145 2003-11-28  André Pönitz  <poenitz@gmx.net>
2146
2147         * BufferView.[Ch]:
2148         * BufferView.[Ch]:
2149         * buffer.[Ch]:
2150         * buffer.[Ch]: move LyXText member
2151
2152 2003-11-28  André Pönitz  <poenitz@gmx.net>
2153
2154         * BufferView.[Ch]: make LyXText * text a private member
2155
2156         * BufferView_pimpl.C:
2157         * cursor.C:
2158         * iterators.C:
2159         * lyx_cb.C:
2160         * lyxfind.C:
2161         * lyxtext.h:
2162         * rowpainter.[Ch]:
2163         * text.C:
2164         * text2.C:
2165         * undo.C: adjust
2166
2167         * output_plaintext.C: cleanup
2168
2169 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2170
2171         * buffer.C:
2172         * lyxtextclass.[Ch]: parametrize SGML document header
2173
2174 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2175
2176         * converter.[Ch]:
2177         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2178         getFlavor().
2179
2180 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2181
2182         * text2.C (setFont): rework using PosIterator (no more recursive)
2183         (setCharFont): no more needed
2184         (setLayout): no more selection cursors fiddling (done by redoCursor)
2185         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2186         destroy remaining ones)
2187
2188 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2189
2190         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2191         * lyxtext.h: ditto
2192         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2193         selection cursors
2194         * lyxfunc.C: adjust
2195         * text3.C: adjust + re-allow multi par depth changes
2196         * textcursor.C: simplify a bit
2197
2198 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2199
2200         * src/buffer.C:
2201         * src/lyxlayout.C:
2202         * src/lyxlayout.h:
2203         * src/lyxtext.h:
2204         * src/output_docbook.C:
2205         * src/output_latex.C:
2206         * src/paragraph.C:
2207         * src/paragraph.h:
2208         * src/sgml.C:
2209         * src/sgml.h:
2210         * src/text2.C: Introducing a number of tags parametrizing various
2211         XML formats that we may want to support
2212
2213 2003-11-25  André Pönitz  <poenitz@gmx.net>
2214
2215         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2216
2217         * lyxtext.h (leftMargin/rightMargin): simplify interface
2218
2219         * rowpainter.C:
2220         * text.C:
2221         * text2.C:
2222         * text3.C: adjust
2223
2224 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2225
2226         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2227         master file to any child files. Fixes bug 546.
2228
2229 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2230
2231         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2232
2233 2003-11-24  André Pönitz  <poenitz@gmx.net>
2234
2235         * rowpainter.C: simplification
2236
2237         * text2.C (updateCounters): remove call to redoParagraph on
2238         changed labels as this is far too expensive.
2239
2240 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2241
2242         * converter.C (convert): fix a crash: this function gets
2243         called with buffer == 0 from importer code.
2244
2245 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2246
2247         * text3.C (cursorPrevious): make sure that we do not compare
2248         iterators form different containers.
2249         (cursorNext): ditto
2250
2251         * rowpainter.C (paintSelection): make sure that we do not compare
2252         iterators from different containers.
2253
2254         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2255         iterators from different ParagraphList containers.
2256         [NEXT] ditto
2257
2258         * text2.C (LyXText): change order of initialization slightly
2259         (operator=): new function. copy all variables except cache_par_
2260         (moveUp): make sure that we do not compare iterators from
2261         different ParagraphList constainers.
2262         (moveDown): ditto
2263
2264         * text.C (firstPar): new function
2265         (lastPar): new function
2266         (endPar): new function
2267
2268         * lyxtext.h: move things around and group public functions, public
2269         variables, private functions, private variables
2270
2271 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2272
2273         * factory.C: change call to InsetERT constructor to avoid
2274         additional invocation of method status
2275         * text2.C (toggleInset): remove redundant update() call
2276         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2277         instead of a Bufferview pointer
2278
2279 2003-11-21  André Pönitz  <poenitz@gmx.net>
2280
2281         * rowpainter.C: simplification
2282
2283 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2284
2285         * text3.C (dispatch): make possible to extend a word/row selection
2286         with the mouse
2287
2288 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2289
2290         * lyxtext.h: x0_,y0_ -> xo_,yo_
2291         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2292         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2293         * rowpainter.C (paintRows): paint full paragraphs
2294
2295 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2296
2297         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2298         screen coordinates)
2299
2300 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2301
2302         * lyxtext.h: add x0_, y0_
2303         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2304         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2305
2306 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2307
2308         * text2.C (setCursorIntern): move the x_target update here *
2309         * text3.C: change some bv() to true/false in calls to
2310         cursorUp/Down/Right/Left
2311         * cursor.C: use helper function.
2312
2313 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2314
2315         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2316         * paragraph_funcs.[Ch]: correct comment
2317         * rowpainter.C: do not paint selections away from bv->cursor()
2318         Fix a long standing selection painting bug.
2319         * text3.C: generalize mouse-selection code to LyXTexts other that
2320         top one
2321         * textcursor.C: do not use y coords if we can use par offsets
2322
2323 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2324
2325         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2326         cursor position after e.g. inset insert)
2327
2328 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2329
2330         * lyxfind.C (replace): adjust to locking removal + some
2331         code simplification
2332
2333 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2334
2335         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2336         of the path
2337
2338 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2339
2340         * lyxlayout.[Ch]:
2341         * output_docbook.C: XML sanitation: new layout
2342         parameters InnerTag and CommandDepth
2343
2344 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2345
2346         * BufferView_pimpl.C:
2347         * factory.C:
2348         * text3.C: Fix the insertion and modification of button-style
2349         insets
2350
2351 2003-11-13  André Pönitz  <poenitz@gmx.net>
2352
2353         * InsetList.[Ch]: remove deleteLyXText
2354
2355         * paragraph.[Ch]: cache beginOfBody position
2356
2357         * Bidi.C:
2358         * text.C:
2359         * text2.C:
2360         * text3.C: remove superfluous update() calls
2361
2362         * vspace.C: cleanup
2363
2364 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2365
2366         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2367         * BufferView.C (fitLockedInsetCursor): remove
2368         * cursor.[Ch] (getDim): add
2369         * text.C (getRowNearY): add faster version
2370         * text3.C: remove some update calls
2371
2372 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2373
2374         * LaTeXFeatures.C:
2375         * LyXAction.C:
2376         * MenuBackend.C:
2377         * MenuBackend.h:
2378         * dispatchresult.h:
2379         * factory.C:
2380         * lfuns.h:
2381         * lyxfunc.C:
2382         * lyxtextclass.C:
2383         * lyxtextclass.h:
2384         * text3.C: The Character Style /XML short element patch.
2385
2386 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2387
2388         * text3.C:
2389         * factory.C: Small step to solving 'unable to insert some insets'
2390         problem
2391
2392 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2393
2394         * cursor.[Ch] (updatePos): new function for updating the y
2395         position of the tip inset
2396         * bufferview_funcs.C (put_selection_at):
2397         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2398
2399 2003-11-11  André Pönitz  <poenitz@gmx.net>
2400
2401         * text.C: remove big comment on invalid Paragraph pointers as it is
2402         not valid anymore
2403
2404 2003-11-11  André Pönitz  <poenitz@gmx.net>
2405
2406         * text_funcs.[Ch]: merge with ...
2407
2408         * text.C: ... this
2409
2410         * lyxtext.h:
2411         * text2.C:
2412         * text3.C: adjust
2413
2414         * Makefile.am: remove text_funcs.[Ch]
2415
2416 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2417
2418         * cursor.C (getPos): return absolute cached y coord
2419
2420         * BufferView_pimpl.C (fitCursor): new simplistic code
2421         (workAreaDispatch): add a fitCursor call
2422
2423 2003-11-10  André Pönitz  <poenitz@gmx.net>
2424
2425         * BufferView.[Ch]:
2426         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2427
2428 2003-11-10  André Pönitz  <poenitz@gmx.net>
2429
2430         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2431         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2432         indicate that the cursor needs to leave an inset
2433
2434         * lyxtext.h: remove inset locking
2435
2436         * cursor.[Ch]: re-implement functionality provided by inset locking
2437
2438         * BufferView.[Ch]:
2439         * BufferView_pimpl.[Ch]:
2440         * LyXAction.C:
2441         * bufferview_funcs.[Ch]:
2442         * factory.C:
2443         * funcrequest.[Ch]:
2444         * iterators.C:
2445         * lyx_cb.C:
2446         * lyxfind.C:
2447         * lyxfunc.C:
2448         * text.C:
2449         * text2.C:
2450         * text3.C:
2451         * undo.C: adjust
2452
2453 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2454
2455         * PosIterator.[Ch]: replace the stack with a vector, add inset
2456         accesor
2457         * iterators.[C]: adjust
2458
2459 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2460
2461         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2462         replaced
2463         * paragraph_funcs.C (readParToken): put the correct id in the
2464         error item, not the id of the top paragraph
2465
2466 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2467
2468         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2469         * bufferview_funcs.C (put_selection_at): use the above
2470
2471 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2472
2473         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2474
2475 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2476
2477         * output_linuxdoc.h:
2478         * output_plaintext.h:
2479         * output.h:
2480         * output_docbook.h: add #include statements
2481
2482 2003-11-05  José Matos  <jamatos@lyx.org>
2483
2484         * output_docbook.[Ch]:
2485         * output_latex.[Ch]:
2486         * output_linuxdoc.[Ch]:
2487         * output_plaintext.[Ch]: New files for output formats.
2488         * output.[Ch]: New file for helper functions.
2489
2490         * buffer.[Ch]:
2491         * paragraph_funcs.[Ch]: output functions moved to new files.
2492
2493         * outputparams.h: rename of latexrunparams.h
2494
2495         * LaTeX.[Ch]:
2496         * buffer.[Ch]:
2497         * bufferlist.[Ch]:
2498         * converter.[Ch]:
2499         * exporter.C:
2500         * paragraph.[Ch]:
2501         * paragraph_funcs.[Ch]:
2502         * paragraph_pimpl.[Ch]:
2503         * tabular.[Ch]: rename ascii to plaintext
2504         and LatexRunParams to OutputParams.
2505
2506 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2507
2508         * iterators.[Ch] (text): require bv argument
2509         * undo.C (recordUndo):
2510         * lyxfunc.C (dispatch):
2511         * bufferview_funcs.C (put_selection_at): adjust
2512
2513 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2514
2515         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2516
2517 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2518
2519         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2520         nestings
2521
2522 2003-11-04  André Pönitz  <poenitz@gmx.net>
2523
2524         * cursor.[Ch]: restructure
2525
2526         * BufferView.[Ch]:
2527         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2528
2529         * iterators.[Ch] (asCursor): remove
2530
2531         * lfuns.h: remove LFUN_INSET_EDIT
2532
2533         * lyxfunc.C:
2534         * tabular.C:
2535         * text.C:
2536         * text2.C:
2537         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2538
2539 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2540
2541         * lyxfind.[Ch]: complete overhaul
2542         * BufferView_pimpl.C:
2543         * lyxfunc.C: adjust
2544         * paragraph.[Ch] (insert): add
2545
2546 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2547
2548         * BufferView.[Ch]:
2549         * lyxtext.h:
2550         * text.C: remove dead spellcheck code
2551
2552 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2553
2554         * dispatchresult.h: add a val setter
2555
2556         * cursor.C (dispatch): use a tempvar for data_[i]
2557
2558 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2559
2560         * PosIterator.[Ch]: compile fix
2561
2562 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2563
2564         * text.C (cursorPar): deactivate the cursor cache
2565
2566 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2567
2568         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2569
2570 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2571
2572         * text3.C (dispatch): adjust for new DisptchResult semantics.
2573
2574         * lyxfunc.C (dispatch): handle update when return from
2575         Cursor::dispatch, adjust for new DispatchResult semantics.
2576
2577         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2578         DispatchResult(true) mean to not update. Add class functions for
2579         setting dispatched and update, as well as reading.
2580
2581         * cursor.C (dispatch): don't handle update here
2582
2583 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2584
2585         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2586         * trans_mgr.C: adjust
2587
2588         * paragraph_funcs.C (readParToken): exception safety
2589
2590         * lyxvc.h: store the vcs pointer in a scoped_ptr
2591         * lyxvc.C: adjust
2592
2593         * lyxsocket.C (serverCallback): exception safety
2594
2595         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2596
2597         * ispell.C (clone): make it return a auto_ptr
2598
2599         * factory.C (createInset): exception safety
2600         (readInset): exception safety
2601
2602         * bufferlist.C (newBuffer): exception safety
2603
2604         * Thesaurus.C (Thesaurus): use initialization for aik_
2605
2606         * MenuBackend.C (expandToc): exception safety.
2607
2608 2003-11-03  André Pönitz  <poenitz@gmx.net>
2609
2610         * buffer.C:
2611         * buffer.h:
2612         * bufferview_funcs.C: remove getInsetFromId()
2613
2614         * lyxcursor.[Ch]:
2615         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2616
2617         * lyxfunc.C:
2618         * text2.C:
2619         * text3.C: adjust
2620
2621 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2622
2623         * PosIterator.C (distance, advance): new
2624         * bufferview_funcs.[Ch] (put_selection_at): new
2625         * iterators.[Ch] (lockPath): new
2626
2627 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2628
2629         * iterators.[Ch] (asPosIterator): added
2630         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2631         * PosIterator.[Ch]: added
2632
2633 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2634
2635         * text3.C:
2636         * lyxfunc.C:
2637         * cursor.C (dispatch):
2638         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2639
2640         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2641         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2642         contructor, add a class function dispatched. Remove operator>=
2643
2644 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2645
2646         * debug.C: only use the default constructor for debugstream
2647         (lyxerr) here.
2648
2649         * main.C (main): include debug.h and setup the lyxerr streambuf
2650         here.
2651
2652 2003-10-31  José Matos  <jamatos@lyx.org>
2653
2654         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2655
2656         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2657         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2658         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2659         * paragraph_pimpl.C (simpleTeXSpecialC):
2660         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2661         add LatexRunParams argument.
2662
2663         * exporter.C (Export): change call accordingly.
2664
2665         * latexrunparams.h: add new member to take care of the other backends.
2666 2003-10-30  José Matos  <jamatos@lyx.org>
2667
2668         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2669         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2670         factorise code for paragraph output.
2671         * buffer.[Ch]:
2672         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2673         move functions.
2674
2675 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2676
2677         * text3.C (dispatch):
2678         * lyxfunc.C (dispatch):
2679         * cursor.C (dispatch):
2680         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2681
2682         * dispatchresult.h: make the dispatch_result_t ctor explicit
2683
2684 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
2685
2686         * sgml.[Ch]:
2687         * buffer.C: small refactoring of docbook stuff
2688
2689 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2690
2691         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2692         meaning.
2693
2694 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2695
2696         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2697         operator dispatch_result_t, and operators for == != and >=
2698
2699         * cursor.C (dispatch): adjust for operator dispatch_result_t
2700         removal. comment out call to update
2701
2702         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2703
2704 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2705
2706         * text3.C:
2707         * text2.C:
2708         * text.C:
2709         * lyxtext.h:
2710         * lyxfunc.C:
2711         * cursor.C:
2712         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2713         (dispatch):
2714
2715         * dispatchresult.h: new file, DispatchResult broken out of
2716         insets/insetbase.h
2717
2718         * Makefile.am (lyx_SOURCES): add dispatchresult.h
2719
2720 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2721
2722         * text.C (rowBreakPoint): put a hack inside #if 0
2723
2724 2003-10-28  André Pönitz  <poenitz@gmx.net>
2725
2726         * lyxtext.h:
2727         * metricsinfo.C:
2728         * paragraph_funcs.C:
2729         * rowpainter.C:
2730         * text.C:
2731         * text2.C: general cleanup (lots of small stuff)
2732
2733 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
2734
2735         * text2.C (cursorEnd): simple fix to the "end key goes to one
2736         before the end on last row" bug
2737
2738 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2739
2740         * text.C (backspace): fix the "zombie characters"
2741
2742 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2743
2744         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2745
2746 2003-10-27  André Pönitz  <poenitz@gmx.net>
2747
2748         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2749
2750         * factory.C: handle new InsetPagebreak, InsetLine
2751
2752         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2753         and move handling into new InsetPagebreak, InsetLine
2754
2755         * BufferView_pimpl.C:
2756         * LyXAction.C:
2757         * ParagraphParameters.C:
2758         * ParameterStruct.h:
2759         * lyxfunc.C:
2760         * lyxtext.h:
2761         * paragraph.C:
2762         * paragraph.h:
2763         * paragraph_funcs.C:
2764         * paragraph_pimpl.C:
2765         * rowpainter.C:
2766         * text.C:
2767         * text2.C:
2768         * text3.C: adjust
2769
2770 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2771
2772         * text.C:
2773         * lyxrow_funcs.[Ch]:
2774         * Bidi.C:
2775         * paragraph.C:
2776         * lyxtext.h:
2777         * rowpainter.C:
2778         * text2.C:
2779         * text3.C: remove lastPos uses in favour of Row::endpos
2780
2781 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2782
2783         * undo.C (performUndoOrRedo): fix two crashes by setting a
2784         cursor by hand and reordering some calls. Use bv->lockInset instead
2785         of inset->edit because the latter loses cursor information
2786
2787 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
2788
2789         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2790         by Martin
2791         (rowBreakPoint): fix width. change point to point + 1.
2792         Add a missing check.
2793
2794 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
2795
2796         * MenuBackend.C:
2797         * lyxfunc.C: fix (at least partly) the problems
2798         with the Nav menu and headers inside branch insets
2799         reported by Kayvan
2800
2801 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
2802
2803         * paragraph.C (getChar): add strong asserts
2804
2805         * lyxrow_funcs.C (lastPos): remove hideous hack
2806
2807         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2808         (fill): adjust to that (avoid an infinite loop)
2809
2810 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2811
2812         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2813
2814 2003-10-23  André Pönitz  <poenitz@gmx.net>
2815
2816         * RowList_fwd.h: change list<> to vector<> to gain speed
2817         after suggestion from Alfredo
2818
2819 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
2820
2821         * lyxtext.h: move the bidi stuff from here...
2822         * text.C: and here
2823         * text2.C: and here
2824         * Bidi.[Ch]: ... to here
2825
2826 2003-10-23  André Pönitz  <poenitz@gmx.net>
2827
2828         * lyxtext.h:
2829         * text.C (isLastRow, isFirstRow): new functions
2830
2831         * paragraph.h: new width cache member
2832
2833         * rowpainter.C: replace RowList::iterator with Row & where possible
2834
2835         * lyxfunc.C: replace several view()->text with a single call
2836
2837         * toc.C: fix 'unused' warning
2838
2839 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2840
2841         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2842         when woring with stream::pos_type
2843         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2844
2845 2003-10-22  André Pönitz  <poenitz@gmx.net>
2846
2847         * lyxtext.h:
2848         * text.C: use Row & instead of RowList::iterator
2849
2850         * lyxrow.h: rename end() to endpos()
2851
2852         * rowpainter.C:
2853         * text.C:
2854         * text2.C: adjust
2855
2856 2003-10-22  Angus Leeming  <leeming@lyx.org>
2857
2858         * buffer.[Ch] (fully_loaded): new member function, returning true
2859         only when the file has been loaded fully.
2860         Used to prevent the premature generation of previews and by the
2861         citation inset to prevent computation of the natbib-style label.
2862
2863         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2864         templates are all set up.
2865
2866         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2867
2868 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2869
2870         * text.C: fixed an "oops" in the "is a bit silly"
2871         bug fix
2872
2873 2003-10-21  André Pönitz  <poenitz@gmx.net>
2874
2875         * FuncStatus.[Ch]: small stuff, whitespace
2876
2877         * lyxfont.[Ch]: operator<<() for debug reasons
2878
2879         * lyxfunc.C:
2880         * lyxrow_funcs.C:
2881         * lyxtext.h: whitespace, spelling
2882
2883         * paragraph.C: naming of variables
2884
2885         * text.C:
2886         * text2.C: small stuff
2887
2888
2889 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2890
2891         * text.C: (1) finish off the inset display() work;
2892         (2) fix the "is a bit silly" bug (accessing char
2893         past end of par).
2894
2895 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
2896
2897         * text.C: re-introduce display() for insets, fixing the
2898         various bugs (stretch of line above, math inset
2899         positioning, ...)
2900
2901 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2902
2903         * text.C (rightMargin): remove spurious semicolon
2904
2905         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2906         1415)
2907
2908 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
2909
2910         * text3.C: fix one crash due to wrong cursor def
2911
2912 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2913
2914         * vc-backend.C (scanMaster): make the regex static
2915
2916         * LaTeX.C (scanAuxFile): make the regexs static
2917
2918         * text3.C (doInsertInset, dispatch, dispatch):
2919         * text2.C (cursorUp, cursorDown):
2920         * text.C (selectNextWordToSpellcheck):
2921         * BufferView_pimpl.C (dispatch):
2922         * lyxfunc.C (dispatch):  localDispatch -> dispatch
2923
2924 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2925
2926         * lyxsocket.C: include <cerrno>
2927
2928 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2929
2930         * lyxfunc.C (dispatch): remove textcache stuff
2931
2932         * bufferlist.C (release): remove textcache stuff
2933         (closeAll): ditto
2934
2935         * TextCache.C: delete file
2936         * TextCache.h: delete file
2937
2938         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2939
2940         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2941         delete of the bv_->text.
2942         (resizeCurrentBuffer): remove texcache stuff
2943         (workAreaResize): ditto
2944
2945 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2946
2947         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2948         action.
2949
2950 2003-10-16  André Pönitz  <poenitz@gmx.net>
2951
2952         * lyxrow.[Ch]:
2953         * paragraph.h:
2954         * rowpainter.C:
2955         * text.C:
2956         * text2.C:
2957         * text3.C: speed up by storing y positions per paragraph plus per-row
2958         offset instead of having a 'full' y position in the row.
2959
2960 2003-10-15  André Pönitz  <poenitz@gmx.net>
2961
2962         * iterators.[Ch]:
2963         * iterators.[Ch]:
2964         * undo.[Ch]: make undo aware of inner insets
2965
2966 2003-10-14  Angus Leeming  <leeming@lyx.org>
2967
2968         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2969         static member functions LyX::ref() and LyX::cref.
2970         (lastfiles): new accessor functions for the new lastfiles_ member var.
2971         (addLyXView, views_): add a new LyXView to the list of views_.
2972         (updateInset): loop over all LyXViews to call their own updateInset
2973         member function, returning a pointer to the Buffer owning the inset.
2974
2975         * BufferView_pimpl.C (loadLyXFile):
2976         * MenuBackend.C (expandLastfiles):
2977         * bufferlist.C (MenuWrite, QuitLyX):
2978         lastfiles is no longer a global variable.
2979         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2980
2981         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2982         static function. Access through LyX::cref().emergencyCleanup().
2983
2984 2003-10-14  André Pönitz  <poenitz@gmx.net>
2985
2986         * iterators.[Ch]: new direct access to innermost LyXText and Inset
2987
2988         * undo.[Ch]: restoring part of 'undo in insets'
2989
2990         * Makefile.am:
2991         * undo_funcs.[Ch]: merge with undo.[Ch]
2992
2993         * tabular.C: small cleansing stuff
2994
2995 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
2996
2997         * paragraph_funcs.C (readParToken): report unknown insets as error
2998         boxes. Use the outer paragraph as location (also for unknown
2999         tokens).
3000
3001         * factory.C (readInset): do not abort on reading an unknown inset.
3002         Eat it and return 0.
3003
3004 2003-10-13  Angus Leeming  <leeming@lyx.org>
3005
3006         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3007
3008         * lyxrc.C: displayTranslator is now a function,
3009         declared in GraphicsTypes.h.
3010
3011 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3012
3013         * format.C: new placeholder $$a to pass the socket address.
3014
3015         * bufferlist.[Ch]: new function getBufferFromTmp.
3016
3017         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3018           files in the temporary dir.
3019
3020 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3021
3022         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3023
3024         * Makefile.am: add lyxsocket.[Ch].
3025
3026         * lyx_main.C (error_handler): handle SIGPIPE.
3027
3028 2003-10-13  André Pönitz  <poenitz@gmx.net>
3029
3030         * BufferView_pimpl.C:
3031         * lyxtext.h:
3032         * text.C:
3033         * text2.C:
3034         * text3.C:
3035         * undo_funcs.[Ch]: use paroffset_type instead of
3036           ParagraphList::iterators to prevent multiple conversion
3037           (and get a more robust interface)
3038
3039 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3040
3041         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3042         * lyxtext.h: ditto
3043         * text3.C (dispatch): ditto
3044
3045 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3046
3047         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3048         move the onlyfile, use onlyfile instead of foundfile in a couple
3049         of places.
3050
3051         * DepTable.C (update): flush the error stream a bit more
3052
3053 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3054
3055         * lyxserver.C (callback): adjust
3056
3057         * lyxfunc.C (getStatus): add a missing brace in commented code
3058         (ensureBufferClean): reindent
3059         (dispatch): delete version taking a string
3060
3061 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3062
3063         * LaTeX.C (deplog): move found file handlig from here...
3064         (handleFoundFile): .. to new function here.
3065         (deplog): make sure to discover several files mentioned on the
3066         same log line.
3067
3068 2003-10-10  André Pönitz  <poenitz@gmx.net>
3069
3070         * lyxfunc.C:
3071         * lyxtext.h:
3072         * tabular.C:
3073         * text.C:
3074         * text2.C:
3075         * text3.C: fix some of the tabular crashes
3076
3077 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3078
3079         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3080
3081         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3082
3083 2003-10-09  André Pönitz  <poenitz@gmx.net>
3084
3085         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3086
3087         * BufferView.C:
3088         * BufferView_pimpl.C:
3089         * bufferview_funcs.C:
3090         * lyx_cb.C:
3091         * lyxcursor.C:
3092         * lyxfind.C:
3093         * lyxfunc.C:
3094         * lyxtext.h:
3095         * text.C:
3096         * text2.C:
3097         * text3.C:
3098         * text_funcs.[Ch]:
3099         * textcursor.[Ch]:
3100         * undo_funcs.C: adjust
3101
3102 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3103
3104         * text2.C (incrementItemDepth): new function, use a backtracking
3105         algorithm to discover the correct item depth.
3106         (resetEnumCounterIfNeeded): new function, use a backtracking
3107         algorithm to discover if counter reset is needed.
3108         (setCounter): use them. Simplify a bit. Add different labels for
3109         different item depths for itemize.
3110
3111         * paragraph.C (Paragraph): remove initialization of enumdepth
3112         (operator=): ditto
3113
3114         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3115         enumerate and itemize. Change the type of itemdepth to signed char.
3116
3117 2003-10-08  André Pönitz  <poenitz@gmx.net>
3118
3119         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3120           thing assignable.
3121         * text.C:
3122         * text2.C: adjust
3123
3124         * tabular.[Ch]: fix crash after 'row-insert'
3125
3126 2003-10-08  Angus Leeming  <leeming@lyx.org>
3127
3128         Fix doxygen warnings.
3129
3130         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3131         Remove CutAndPaste:: prefix from header file declaration.
3132
3133         * LColor.h (fill): remove LColor:: prefix from declaration.
3134
3135         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3136         use lyx::depth_type rather than Paragraph::depth_type so that
3137         header file and .C file match.
3138
3139         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3140
3141         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3142         * aspell.C: \file aspell_local.C -> \file aspell.C
3143         * gettext.C: \file gettext.C -> \file src/gettext.C
3144         * gettext.h: \file gettext.h -> \file src/gettext.h
3145         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3146         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3147         * text.C: \file text.C -> \file src/text.C
3148
3149         * toc.C: move comment so that doxygen is not confused.
3150
3151 2003-10-07  Angus Leeming  <leeming@lyx.org>
3152
3153         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3154
3155 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3156
3157         * aspell.C:
3158         * aspell_local.h: add forgotten std::string's.
3159
3160 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3161
3162         * LaTeXFeatures.C:
3163         * LyXAction.C:
3164         * factory.C:
3165         * lfuns.h:
3166         * lyxfunc.C:
3167         * text3.C: The Box patch. Fancybox support, minipage, parbox
3168
3169 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3170
3171         * CutAndPaste.h:
3172         * DepTable.h:
3173         * FloatList.h:
3174         * LaTeXFeatures.h:
3175         * ParagraphParameters.h:
3176         * TextCache.h:
3177         * Thesaurus.h:
3178         * bufferlist.h:
3179         * exporter.h:
3180         * importer.h:
3181         * lastfiles.h:
3182         * lyxfind.h:
3183         * lyxfont.h:
3184         * lyxlex.h:
3185         * lyxtextclasslist.h:
3186         * messages.h:
3187         * paragraph.h:
3188         * paragraph_pimpl.C:
3189         * textcursor.h: add <string> and other small fixes to make Lars'
3190         std::string patch compile with STLport.
3191
3192 2003-10-06  Angus Leeming  <leeming@lyx.org>
3193
3194         * LColor.h: Add missing #include <string>.
3195
3196 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3197
3198         * All most all file in all subdirs: Make <string> be the prefered
3199         way of getting to std::string, add using declarations.
3200
3201 2003-10-06  André Pönitz  <poenitz@gmx.net>
3202
3203         * metricsinfo.C: initialize LyXFont before changing attribute.
3204         (fixes the 'math in \emph is upright' bug)
3205
3206 2003-10-06  André Pönitz  <poenitz@gmx.net>
3207
3208         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3209
3210 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3211
3212         * graph.C:
3213         * paragraph_pimpl.C: Small fixes to build using STLport
3214
3215 2003-10-02  André Pönitz  <poenitz@gmx.net>
3216
3217         * lyxfunc.C:
3218         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3219
3220 2003-10-01  André Pönitz  <poenitz@gmx.net>
3221
3222         * factory.C: assert early
3223
3224 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3225
3226         * lyx_main.C: remove the global debug object
3227
3228         * debug.h: adjust for new debugstream
3229
3230         * debug.C: adjust for new debugstream and keep the global debug
3231         object here.
3232
3233 2003-09-22  Angus Leeming  <leeming@lyx.org>
3234
3235         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3236         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3237         an incomplete class LyXFont.
3238
3239 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3240
3241         * factory.C: bug fix in branches
3242
3243 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3244
3245         * lyxfunc.C (processKeySym): adjust
3246         (dispatch): adjust
3247         (dispatch): change arg name from ev to func, adjust
3248         (sendDispatchMessage): ditto
3249
3250         * lyx_main.C (defaultKeyBindings): adjust keybindings
3251         (deadKeyBindings): ditto
3252
3253         * kbsequence.C (addkey): return a FuncRequest
3254
3255         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3256
3257         * kbmap.C (bind): take a FuncRequest as arg, adjust
3258         (read): adjust
3259         (lookup): adjust
3260         (defkey): change to take a FuncRequest as arg, adjust
3261         (findbinding): take a FuncRequest as arg, adjust.
3262
3263         * funcrequest.h (operator=): added
3264
3265         * funcrequest.C (FuncRequest): default kb_action changed from
3266         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3267
3268         * buffer.C (dispatch): simplify
3269         (dispatch): adjust to take a FuncRequest as arg, adjust
3270
3271         * boost.C (assertion_failed): change assertion message slightly
3272
3273         * ToolbarBackend.C (read): simplify
3274
3275         * MenuBackend.C (binding): adjust call to findbinding, add a
3276         message if no binding is found.
3277         (read): simplify
3278         (expandToc): correct by adding a empty FuncRequest
3279
3280         * LyXAction.C: include <boost/assert.hpp>
3281         (isPseudoAction): delete function
3282         (LookupFunc): change name to...
3283         (lookupFunc): this. change return type to FuncRequest.
3284         (getActionName): take kb_action as arg, simplify
3285         (funcHasFlag): add an assert, simplify.
3286
3287 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3288
3289         * toc.C (action): return a FuncRequest, simplify
3290
3291         * lyxfunc.C (processKeySym): adjust
3292         (getStatus): delete version that takes an int.
3293         (getStatus): adjust
3294         (dispatch): delete version that takes action as int
3295         (dispatch): adjust
3296         (sendDispatchMessage): simplify and adjust
3297
3298         * funcrequest.C (getArg): take unsigned int as arg
3299
3300         * ToolbarBackend.C (read): adjust
3301         (add): delete version that takes func as a string.
3302         (getIton): take a FuncRequest as arg
3303
3304         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3305         action.
3306
3307         * MenuBackend.C (MenuItem): add a new construct that only takes a
3308         Kind, simplify the constructor use for submenus.
3309         (add): adjust
3310         (expandLastfiles): adjust
3311         (expandDocuments): adjust
3312         (expandFormats): adjust
3313         (expandFloatListInsert): adjust
3314         (expandFloatInsert): adjust
3315         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3316
3317         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3318         Remove class variables lyx_pseudo_map and lyx_arg_map
3319
3320         * LyXAction.C (searchActionArg): delete function
3321         (getPseudoAction): delete function
3322         (retrieveActionArg): delete function
3323         (LookupFunc): make it return kb_action, simplify.
3324         (getActionName): simplify
3325
3326         * factory.C (createInset): fix new bug
3327
3328 2003-09-19  Angus Leeming  <leeming@lyx.org>
3329
3330         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3331         masterFilename_ parameter in the include inset.
3332
3333         * factory.C (createInset): changes due to the changes to InsetInclude.
3334
3335 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3336
3337         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3338
3339 2003-09-18  Angus Leeming  <leeming@lyx.org>
3340
3341         * buffer.C:
3342         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3343         Inset::fillWithBibKeys.
3344         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3345
3346 2003-09-18  Angus Leeming  <leeming@lyx.org>
3347
3348         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3349         variables.
3350         (ctor): pass and store a 'Buffer const &'
3351         (buffer): new member function.
3352
3353         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3354         '*this' to the LaTeXFeatures ctor.
3355
3356 2003-09-18  Angus Leeming  <leeming@lyx.org>
3357
3358         * LColor.h:
3359         * lyxfont.C:
3360         * lyxfont.h:
3361         * lyxtext.h:
3362         * text.C: rename EnumLColor as LColor_color.
3363
3364 2003-09-18  Angus Leeming  <leeming@lyx.org>
3365
3366         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3367         remove #include "insets/insetbase.h" from cursor.h.
3368
3369 2003-09-18  Angus Leeming  <leeming@lyx.org>
3370
3371         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3372         InsetOld_code to remove #include "inset.h".
3373
3374         * iterators.C: add #include "insets/inset.h"
3375
3376 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3377
3378         * BufferView.C: remove more locking stuff that apparently doesn't
3379         do anything sensible.
3380
3381 2003-09-16  André Pönitz  <poenitz@gmx.net>
3382
3383         * paragraph.[Ch]:
3384         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3385           performance boost.
3386
3387 2003-09-16  Angus Leeming  <leeming@lyx.org>
3388
3389         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3390
3391         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3392         arg/return type.
3393
3394         * paragraph.h: remove #include "lyxfont.h". Forward declare
3395         LyXFont_size.
3396
3397 2003-09-16  Angus Leeming  <leeming@lyx.org>
3398
3399         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3400         of support/textutils.h.
3401         (isWord): move the contents of support/textutils.h's IsWordChar here.
3402
3403         * buffer.C:
3404         * lyxfind.C:
3405         * rowpainter.C:
3406         * text.C:
3407         * text2.C: add #include "paragraph.h".
3408
3409         * rowpainter.C:
3410         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3411
3412 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3413
3414         * main.C:
3415         * lyx_main.C:
3416         * lyx_cb.C:
3417         * buffer.C:
3418         * LaTeX.C: use namespace alias for lyx::support::os
3419
3420 2003-09-16  Angus Leeming  <leeming@lyx.org>
3421
3422         * bufferparams.C:
3423         * bufferview_funcs.C:
3424         * factory.C:
3425         * lyxfunc.C:
3426         * paragraph_pimpl.C:
3427         * rowpainter.C:
3428         * text.C: add #include "LColor.h".
3429
3430 2003-09-16  Angus Leeming  <leeming@lyx.org>
3431
3432         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3433         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3434         return LyXFont &.
3435         Store the FontBits::color variable as an int rather than as an
3436         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3437         file.
3438
3439         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3440         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3441         string calls together.
3442
3443         * lyxrc.C: add #include "LColor.h".
3444
3445 2003-09-15  Angus Leeming  <leeming@lyx.org>
3446
3447         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3448         a cow_ptr.
3449
3450 2003-09-15  Angus Leeming  <leeming@lyx.org>
3451
3452         * LColor.h: add an EnumLColor wrapper for LColor::color.
3453
3454         * lyxfont.[Ch] (color, setColor, realColor):
3455         * lyxtext.h, text.C (backgroundColor):
3456         pass EnumLColor args to/from the functions, rather than LColor::color
3457         ones.
3458
3459         * lyxfont.h:
3460         * lyxtext.h: forward declare EnumLColor.
3461
3462         * lyx_main.C: add #include "LColor.h".
3463
3464 2003-09-15  Angus Leeming  <leeming@lyx.org>
3465
3466         * .cvsignore: add lyx-gtk.
3467
3468 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3469
3470         * Chktex.C
3471         * LaTeX.C
3472         * LaTeXFeatures.C
3473         * ParagraphParameters.C
3474         * Spacing.C
3475         * buffer.C
3476         * bufferparams.C
3477         * bufferview_funcs.C
3478         * chset.C
3479         * counters.C
3480         * funcrequest.C
3481         * lyxfont.C
3482         * lyxgluelength.C
3483         * lyxlength.C
3484         * paragraph.C
3485         * paragraph_funcs.C
3486         * text3.C
3487         * vc-backend.C: remove usage of STRCONV
3488
3489 2003-09-15  Angus Leeming  <leeming@lyx.org>
3490
3491         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3492         explicitly define the color passed to the painter.
3493
3494 2003-09-15  Angus Leeming  <leeming@lyx.org>
3495
3496         * bufferparams.C (BufferParams): reorder member initializers to avoid
3497         compiler warning.
3498
3499 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3500
3501         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3502         * text.C (updateRowPositions): remove an unusual nop
3503
3504 2003-09-12  André Pönitz  <poenitz@gmx.net>
3505
3506         * BufferView_pimpl.C:
3507         * Bullet.C:
3508         * layout.h:
3509         * lyxfunc.C:
3510         * lyxlayout.[Ch]:
3511         * lyxtextclass.C:
3512         * rowpainter.C:
3513         * text.C:
3514         * text2.C:
3515         * Counters.[Ch]: finish the 'automatic counters' job
3516
3517 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3518
3519         * aspell.C: include <boost/assert.cpp> (compile fix)
3520
3521 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3522
3523         * boost.C (assertion_failed): use lyx::support::abort instead of
3524         assert.
3525
3526 2003-09-10  Angus Leeming  <leeming@lyx.org>
3527
3528         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3529         with their _fwd progeny.
3530
3531 2003-09-09  Angus Leeming  <leeming@lyx.org>
3532
3533         134 files throughtout the source tree: replace 'using namespace abc;'
3534         directives with the appropriate 'using abc::xyz;' declarations.
3535
3536 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3537
3538         * boost.C (emergencyCleanup): moved here from LAssert.c
3539         (assertion_failed): new function, called by BOOST_ASSERT
3540
3541         * several files: change Assert to BOOST_ASSERT
3542
3543 2003-09-09  Angus Leeming  <leeming@lyx.org>
3544
3545         * buffer.[Ch]: Add an Impl class and move Buffer's member
3546         variables into it. As a result move several header files out of
3547         buffer.h.
3548
3549         Add header files to lots of .C files all over the tree as a result.
3550
3551 2003-09-09  Angus Leeming  <leeming@lyx.org>
3552
3553         * buffer.[Ch]: make Buffer's member variables private. Add
3554         accessor functions.
3555
3556         Lots of changes all over the tree as a result.
3557
3558 2003-09-08  Angus Leeming  <leeming@lyx.org>
3559
3560         * graph.C: #include <config.h>.
3561
3562 2003-09-08  Angus Leeming  <leeming@lyx.org>
3563
3564         * BranchList.C:
3565         * BufferView.C:
3566         * BufferView_pimpl.C:
3567         * CutAndPaste.C:
3568         * DepTable.C:
3569         * LaTeX.C:
3570         * LaTeXFeatures.C:
3571         * LyXAction.C:
3572         * MenuBackend.C:
3573         * TextCache.C:
3574         * aspell.C:
3575         * buffer.C:
3576         * bufferlist.C:
3577         * changes.C:
3578         * chset.C:
3579         * converter.C:
3580         * counters.C:
3581         * debug.C:
3582         * graph.C:
3583         * ispell.C:
3584         * lyx_cb.C:
3585         * lyxfind.C:
3586         * lyxfunc.C:
3587         * lyxlex_pimpl.C:
3588         * lyxrc.C:
3589         * lyxrow.C:
3590         * paragraph.C:
3591         * rowpainter.C:
3592         * texrow.C:
3593         * text.C:
3594         * text2.C:
3595         * toc.C: remove redundant using directives.
3596
3597 2003-09-07  Angus Leeming  <leeming@lyx.org>
3598
3599         * LaTeXFeatures.h: remove #include "support/types.h".
3600         * ToolbarBackend.h: remove #include <algorithm>.
3601         * changes.h: remove #include <ctime>.
3602         * debug.h: remove #include <iosfwd>.
3603         * graph.h: remove #include "support/std_string.h".
3604         * lyx_main.h: remove #include <csignal>.
3605         * lyxlex_pimpl.h: remove #include <fstream>.
3606         * sgml.h: remove #include <algorithm>, <utility>.
3607         * toc.h: remove #include "support/std_ostream.h".
3608         Add #include <iosfwd>.
3609
3610 2003-09-07  Angus Leeming  <leeming@lyx.org>
3611
3612         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3613
3614         * converter.h: forward declare LatexRunParams.
3615         * encoding.h: remove #include "lyxrc.h".
3616         * lyxtext.h: remove #include "LColor.h".
3617         * lyxtextclass.h: remove #include "support/types.h".
3618         * trans.h: remove #include "tex-accent.h".
3619         * trans_mgr.h: remove #include "tex-accent.h".
3620         * insets/inset.h: remove #include "support/types.h", <vector>.
3621         * insets/insetcollapsable.h: remove #include "LColor.h".
3622         * insets/insetinclude.h: remove #include "dimension.h".
3623         * insets/insetlatexaccent.h: remove #include "dimension.h".
3624         * insets/insetoptarg.h:: remove #include "insettext.h".
3625         * insets/insettext.h: remove #include "dimension.h",
3626         <boost/shared_ptr.hpp>
3627
3628         * insets/renderers.h: add #include "dimension.h".
3629         * insets/updatableinset.h: add #include "support/types.h".
3630
3631         * many .C files: Associated changes.
3632
3633 2003-09-06  Angus Leeming  <leeming@lyx.org>
3634
3635         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3636         one, inside testInvariant.
3637
3638         * PrinterParams.C: new file.
3639         * PrinterParams.[Ch]: move the function bodies out of line.
3640
3641 2003-09-06  Angus Leeming  <leeming@lyx.org>
3642
3643         * ParagraphParameters.h: forward declare ParameterStruct rather than
3644         including its header file.
3645         (depth): moved out-of-line.
3646
3647 2003-09-06  Angus Leeming  <leeming@lyx.org>
3648
3649         * BufferView_pimpl.h:
3650         * kbmap.h:
3651         * kbsequence.h:
3652         * lyxfunc.h: forward declare LyXKeySym rather than
3653         #include "frontends/LyXKeySym.h".
3654
3655         * BufferView_pimpl.C:
3656         * kbmap.C:
3657         * kbsequence.C:
3658         * lyxfunc.C: associated changes.
3659
3660 2003-09-06  Angus Leeming  <leeming@lyx.org>
3661
3662         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3663         As a result, can remove the #include "insets/inset.h" from BufferView.h
3664
3665 2003-09-06  Angus Leeming  <leeming@lyx.org>
3666
3667         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3668         As a result, can remove the #include "insets/inset.h" from BufferView.h
3669
3670 2003-09-06  Angus Leeming  <leeming@lyx.org>
3671
3672         * buffer_funcs.C:
3673         * buffer.h:
3674         * bufferlist.C:
3675         * BufferView.C:
3676         * bufferview_funcs.C:
3677         * BufferView_pimpl.C:
3678         * CutAndPaste.C:
3679         * lyx_cb.C:
3680         * lyxfunc.C:
3681         * paragraph.h:
3682         * ParagraphParameters.C:
3683         * tabular.C:
3684         * text3.C:
3685         * toc.C:
3686         * undo_funcs.C:
3687         * frontends/controllers/ControlDocument.C:
3688         * insets/insetcaption.C: rearrange the #includes into some sort of
3689         coherent order.
3690
3691         * buffer.h: remove #includes ErrorList.h, undo.h
3692
3693 2003-09-06  Angus Leeming  <leeming@lyx.org>
3694
3695         * support/types.h: add a 'depth_type' typedef, used to store the
3696         nesting depth of a paragraph.
3697
3698         * paragraph.h:
3699         * ParameterStruct.h: use this lyx::depth_type typedef rather than
3700         defining explicitly.
3701
3702         * buffer.h:
3703         * paragraph_funcs.h:
3704         * ParagraphParameters.h:
3705         * sgml.h: use lyx::depth_type rather than Paragraph or
3706         ParameterStruct's depth_type.
3707
3708         * buffer.h
3709         * paragraph_funcs.h: no need to #include paragraph.h anymore.
3710
3711         * BufferView.C:
3712         * BufferView_pimpl.C:
3713         * CutAndPaste.C:
3714         * ParagraphParameters.C:
3715         * buffer_funcs.C:
3716         * bufferlist.C:
3717         * bufferview_funcs.C:
3718         * lyx_cb.C:
3719         * lyxfunc.C:
3720         * tabular.C:
3721         * text3.C:
3722         * toc.C:
3723         * undo_funcs.C:
3724         * frontends/LyXView.C:
3725         * frontends/controllers/ControlDocument.C:
3726         * frontends/controllers/ControlErrorList.C:
3727         * insets/insetbibitem.C:
3728         * insets/insetbranch.C:
3729         * insets/insetcaption.C:
3730         * insets/insetcollapsable.C:
3731         * insets/insetenv.C:
3732         * insets/insetert.C:
3733         * insets/insetfloat.C:
3734         * insets/insetfoot.C:
3735         * insets/insetfootlike.C:
3736         * insets/insetnewline.C:
3737         * insets/insetquotes.C:
3738         * insets/insettabular.C:
3739         * insets/insettext.C:
3740         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3741
3742         * frontends/controllers/ControlChanges.C: #include "changes.h".
3743
3744 2003-09-06  Angus Leeming  <leeming@lyx.org>
3745
3746         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3747         than #including paragraph.h.
3748
3749         * ParagraphList.h:
3750         * RowList.h: deleted. Superfluous.
3751
3752         * CutAndPaste.h:
3753         * iterators.h:
3754         * lyxcursor.h:
3755         * lyxtext.h:
3756         * text_funcs.h:
3757         * undo.h:
3758         * undo_funcs.h:
3759         * insets/inset.h:
3760         * insets/insettext.h: use ParagraphList_fwd.h rather than
3761         ParagraphList.h.
3762
3763         * paragraph.h: don't forward declare ParagraphList.
3764
3765         * buffer.h:
3766         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3767         rather than ParagraphList.h. paragraph.h is still needed for the
3768         Paragraph::depth_type parameters.
3769
3770         * textcursor.h: enable it to compile stand-alone in light of the
3771         above changes.
3772
3773         * bufferview_funcs.C:
3774         * iterators.C:
3775         * lyxfunc.C:
3776         * lyxrow_funcs.C:
3777         * paragraph.C:
3778         * rowpainter.C:
3779         * text.C:
3780         * text2.C:
3781         * text3.C:
3782         * text_funcs.C:
3783         * textcursor.C:
3784         * undo.C:
3785         * frontends/controllers/ControlParagraph.C:
3786         * frontends/controllers/ControlTabular.C:
3787         * insets/insetmarginal.C:
3788         * insets/insetminipage.C:
3789         * insets/insetnote.C:
3790         * insets/insetoptarg.C: add header files needed to compile again.
3791
3792 2003-09-06  Angus Leeming  <leeming@lyx.org>
3793
3794         * RowList_fwd.h: new file, forward-declaring Row rather than
3795         #including lyxrow.h.
3796
3797         * lyxrow_funcs.h:
3798         * lyxtext.h:
3799         * paragraph.h:
3800         * insets/insettext.h: use it instead of RowList.h
3801
3802         * bufferview_funcs.C:
3803         * lyxfunc.C:
3804         * lyxrow_funcs.C:
3805         * paragraph.C:
3806         * rowpainter.C:
3807         * text.C:
3808         * text2.C:
3809         * text3.C: #include "RowList.h".
3810
3811 2003-09-05  Angus Leeming  <leeming@lyx.org>
3812
3813         * factory.C (createInset):
3814         * vspace.C (c-tor): replace sscanf call with an istringstream.
3815         * ispell.C: re-add missing HP/UX headers.
3816         * lyxserver.C: re-add missing  os2 headers.
3817
3818 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
3819
3820         * BranchList.C:
3821         * graph.C:
3822         * ispell.C:
3823         * lastfiles.C:
3824         * lyx_cb.C:
3825         * lyxserver.C:
3826         * texrow.C:
3827         * text3.C: re-add missing system headers, needed for 2.95.2.
3828
3829 2003-09-05  Angus Leeming  <leeming@lyx.org>
3830
3831         Changes most place everywhere due to the removal of using directives
3832         from support/std_sstream.h.
3833
3834 2003-09-05  Angus Leeming  <leeming@lyx.org>
3835
3836         Replace LString.h with support/std_string.h,
3837         Lsstream.h with support/std_sstream.h,
3838         support/LIstream.h with support/std_istream.h,
3839         support/LOstream.h with support/std_ostream.h.
3840
3841         Changes resulting throughout the tree.
3842
3843 2003-09-05  Angus Leeming  <leeming@lyx.org>
3844
3845         * sgml.h: ensure that the header file can be compiled stand-alone.
3846         * *.C: strip out redundant #includes. (320 in total.)
3847
3848 2003-09-04  Angus Leeming  <leeming@lyx.org>
3849
3850         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3851         here (from getPackages).
3852
3853         * debug.[Ch]: add a new EXTERNAL tag.
3854
3855 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3856
3857         * text2.C (cursorEnd): simplify
3858         (setCursor): adjust
3859         (getColumnNearX): adjust
3860
3861         * text.C (computeBidiTables): adjust
3862         (fill): adjust
3863
3864         * rowpainter.C (paintChars): adjust
3865         (paintSelection): adjust
3866         (paintChangeBar): adjust
3867         (paintText): adjust
3868
3869         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3870         lastPos instead.
3871         (numberOfSeparators): adjust
3872
3873 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3874
3875         * LyXAction.C:
3876         * box.[Ch]:
3877         * lfuns.h:
3878         * lyxfunc.C:
3879         * text3.C: Restricts the mouse click functionality
3880         of insets like bibtex, include, toc and floatlist to the visible
3881         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3882         up the dialogs. Cursor has to be in front of the inset (i.e.
3883         start of row) for this to function.
3884
3885 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3886
3887         * bufferview_funcs.C (currentState): output row information
3888
3889 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
3890
3891         * bufferview_funcs.C (currentState): output paragraph position
3892
3893 2003-09-04  Angus Leeming  <leeming@lyx.org>
3894
3895         * FloatList.h: move out #include "Floating.h".
3896         * LaTeX.h: move out #include "DepTable.h".
3897         * LyXAction.h: move out #include "funcrequest.h".
3898         * buffer.h: move out #include "author.h", "iterators.h".
3899         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3900         * lyx_main.h: move out #include "errorlist.h".
3901         * lyxfunc.h: move out #include "FuncStatus.h".
3902         * lyxtext: move out #include "lyxcursor.h".
3903         * paragraph_pimpl.h: move out #include "counters.h".
3904
3905 2003-09-03  Angus Leeming  <leeming@lyx.org>
3906
3907         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3908         preamble_snippets list, enabling us to add snippets to the preamble
3909         only if the snippet was not there already.
3910
3911 2003-09-04  Angus Leeming  <leeming@lyx.org>
3912
3913         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3914
3915 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3916
3917         * lyxfunc.C (dispatch): if fitCursor did something be sure to
3918         update
3919
3920 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
3921
3922         * BranchList.C: point fix, earlier forgotten
3923
3924 2003-09-02  Angus Leeming  <leeming@lyx.org>
3925
3926         * box.C (contains): renamed from 'contained' after a fantastic
3927         amount of hot air.
3928
3929 2003-09-02  John Levon  <levon@movementarian.org>
3930
3931         * BufferView.C:
3932         * lyxcursor.h:
3933         * lyxcursor.C:
3934         * lyxfunc.C:
3935         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3936
3937 2003-09-02  John Levon  <levon@movementarian.org>
3938
3939         * text2.C: simplification of cursorEnd(), including partial
3940         fix for bug 1376
3941
3942 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3943
3944         * buffer.C (readFile): add a space
3945
3946 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
3947
3948         * BufferView_pimpl.C (update): remove bogus fitCursor() call
3949
3950 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3951
3952         * buffer.C (readFile): new function, take a filename and a
3953         ParagraphList::iterator
3954         (readFile): adjust
3955         (readFile): adjust, make it private. don't use setStream, make
3956         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3957         always contain the filename.
3958
3959         * BufferView.C (insertLyXFile): simplify and make it work for
3960         gzipped files.
3961
3962 2003-08-30  John Levon  <levon@movementarian.org>
3963
3964         * Makefile.am: fix dist (from Kayvan)
3965
3966 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3967
3968         * most files: change to use const Buffer refs
3969
3970 2003-08-27  André Pönitz  <poenitz@gmx.net>
3971
3972         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3973         on top of ownerPar().
3974
3975 2003-08-27  John Levon  <levon@movementarian.org>
3976
3977         * funcrequest.C: properly initialise POD members
3978
3979 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3980
3981         * lyxtext.h (top_y): move top_y from here
3982         * text.C:
3983         * text2.C:
3984         * text3.C:
3985         * BufferView.[Ch]:
3986         * BufferView_pimpl.[Ch]: to here
3987         * frontends/screen.C:
3988         * insets/insettabular.C:
3989         * insets/insettext.C: adjust
3990         * rowpainter.[Ch] (paintRows): remove LyXText & argument
3991
3992 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
3993
3994         * BufferView.[Ch]:
3995         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3996
3997 2003-08-26  André Pönitz  <poenitz@gmx.net>
3998
3999         * paragraph_func.[Ch] (outerPar): new function
4000
4001         * paragraph.C:
4002         * paragraph_funcs.C:
4003         * paragraph_funcs.h:
4004         * paragraph_pimpl.C:
4005         * text2.C: remove Inset::par_owner
4006
4007 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4008
4009         * lyxrow_funcs.C:
4010         * lyxtext.h:
4011         * text.C:
4012         * text2.C: eliminates the needFullRow/display() stuff
4013         altogether, putting the logic in metrics/draw in the insets.
4014
4015 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4016
4017         * text2.C (redoParagraphInternal, redoParagraphs):
4018         * text.C (redoParagraph): add a call to updateRowPositions at the
4019         end of each 'metrics-like' call. Remove all others.
4020         (getRow): remove the 'y-computing' version.
4021         (getRowNearY): do not compute nor return the real y. Solve the
4022         'y < 0' problem and simplify.
4023
4024 2003-08-22  Angus Leeming  <leeming@lyx.org>
4025
4026         * *.[Ch]: clean-up of licence and author blurbs.
4027         Also move config.h out of a few .h files and into a few .C files.
4028
4029 2003-08-22  André Pönitz  <poenitz@gmx.net>
4030
4031         * lyxrow.[Ch]: add x_ and *fill_ members
4032
4033         * lyxtext.h:
4034         * text.C:
4035         * rowpainter.C:
4036         * text2.C: adjust/remove prepareToPrint() calls
4037
4038 2003-08-22  André Pönitz  <poenitz@gmx.net>
4039
4040         * lyxrow.[Ch]: add  end_ member
4041
4042         * lyxrow_funcs.C: use LyXRow::end_
4043
4044         * lyxtext.h (singleWidth): add LyXFont parameter
4045
4046         * rowpainter.C:
4047         * text2.C: adjust LyXText::singleWidth() calls
4048
4049         * text.C (redoParagraph): simplify row breaking logic
4050
4051
4052 2003-08-19  André Pönitz  <poenitz@gmx.net>
4053
4054         * funcrequest.C: initialize button_ member
4055
4056         * text3.C:
4057         * rowpainter.[Ch]: interface consolidation
4058
4059 2003-08-18  André Pönitz  <poenitz@gmx.net>
4060
4061         * BufferView.C:
4062         * BufferView_pimpl.C:
4063         * lyxfind.C:
4064         * paragraph_funcs.C:
4065         * rowpainter.C:
4066         * text3.C: remove LyXScreen::draw() and fitCursor calls
4067
4068         * BranchList.h: remove spurious semicolons
4069
4070         * MenuBackend.C: fix branchlist related crash
4071
4072 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4073
4074         * BranchList.[Ch]:
4075         * InsetList.[Ch]:
4076         * LColor.[Ch]:
4077         * LyXAction.C:
4078         * Makefile.am:
4079         * MenuBackend.[Ch]:
4080         * bufferparams.[Ch]:
4081         * factory.C:
4082         * lfuns.h:
4083         * lyxfunc.C:
4084         * text3.C: implements the 'branch inset'
4085         idea. This allows the output of various versions of a document
4086         from a single source version, selectively outputing or suppressing
4087         output of parts of the text.
4088         This implementation contains a 'branch list editor' in a separate
4089         tab of the document settings dialog. Branches are user definable
4090         and have a "display colour" to distinguish them on-screen.
4091
4092         ColorHandler was somewhat cleaned up.
4093         (1) make possible a dynamically growing LColor list by allowing
4094         the graphic context cache to grow along (vector);
4095         (2) eliminate an IMHO unnecessary step in colour allocation.
4096
4097 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4098
4099         * BufferView_pimpl.C: compile fix
4100
4101 2003-08-15  André Pönitz  <poenitz@gmx.net>
4102
4103         * rowpainter.C: remove extra metrics calls
4104
4105         * lyxtext.h: merge the two constructors into a single one,
4106           pass reference to owner's par list
4107
4108         * BufferView_pimpl.C:
4109         * text.C:
4110         * text2.C: adjust
4111
4112 2003-08-15  André Pönitz  <poenitz@gmx.net>
4113
4114         * lyxrow_funcs.[Ch]:
4115         * lyxtext.h:
4116         * paragraph.h:
4117         * paragraph_funcs.C:
4118         * rowpainter.C:
4119         * text.C:
4120         * text2.C:
4121         * text3.C:
4122         * text_funcs.C: split LyXText::rowlist_ into individual
4123         Paragraph::rows_ chunks
4124
4125         * BufferView.[Ch]:
4126         * BufferView_pimpl.[Ch]:
4127         * lyxfind.C:
4128         * lyxtext.h:
4129         * text3.C: remove toggleSelection()
4130
4131 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4132
4133         * bufferlist.C: beautify two alerts (shorter text of buttons)
4134         * buffer.C: Remove redundant ' ' from message
4135         * tabular.h:
4136         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4137         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4138         rename VALIGN_CENTER to VALIGN_MIDDLE
4139
4140 2003-08-11  André Pönitz  <poenitz@gmx.net>
4141
4142         * lyxtext.h (getPar):
4143         * text.C: new function
4144
4145 2003-08-11  André Pönitz  <poenitz@gmx.net>
4146
4147         * Makefile.am:
4148         * tracer.[Ch]: remove unneeded files
4149
4150         * InsetList.[Ch]: remove resizeInsetsLyXText()
4151
4152         * lyxtext.h:
4153         * text.C:
4154         * text2.C:
4155         * text3.C: merge insertParagraphs() and appendParagraph()
4156         remove breakAgain(), update()
4157
4158         * BufferView_pimpl.[Ch]:
4159         * bufferview_funcs.[Ch]:
4160         * lyxfunc.C:
4161         * paragraph.[Ch]:
4162         * rowpainter.C:
4163         * tabular.C: adjust after text & InsetList changes.
4164
4165 2003-08-08  André Pönitz  <poenitz@gmx.net>
4166
4167         * text.C (insertChar, backspace): replace rowlist fiddling
4168         with rebreak of full par
4169
4170         * lyxtext.h:
4171         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4172         checkParagraph, updateInset): removed
4173
4174 2003-08-07  André Pönitz  <poenitz@gmx.net>
4175
4176         * paragraph.C:
4177         * text3.C: merge some LFUN handlers, remove dead code
4178
4179 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4180
4181         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4182
4183 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4184
4185         * text2.C (DEPM): fix part of bug 1255 and 1256
4186
4187 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4188
4189         * BufferView_pimpl.C (workAreaDispatch): change to use
4190         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4191         that are no mouse related.
4192
4193 2003-08-05  André Pönitz  <poenitz@gmx.net>
4194
4195         * BufferView.[Ch]:
4196         * BufferView_pimpl.[Ch]:
4197         * bufferview_funcs.C:
4198         * text2.C:
4199         * text3.C: rip out "deep update"
4200
4201         * textcursor.[Ch] (last_sel_cursor): remove unused member
4202
4203 2003-08-04  André Pönitz  <poenitz@gmx.net>
4204
4205         * BufferView.[Ch]:
4206         * BufferView_pimpl.[Ch]:
4207         * ParagraphParameters.C:
4208         * bufferview_funcs.C:
4209         * lyx_cb.C:
4210         * lyxfind.C:
4211         * lyxfunc.C:
4212         * text.C:
4213         * text2.C:
4214         * text3.C: replace "complicated" BufferView::update(...) calls with
4215         simpler ones.
4216
4217         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4218
4219 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4220
4221         * Makefile.am (lyx_SOURCES): add paper.h
4222
4223 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4224
4225         * Makefile.am: move things around so that both lyx-qt and
4226         lyx-xforms can be built (according to --with-frontend). Then lyx
4227         is a symbolic link to lyx-[firstfrontend]
4228
4229 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4230
4231         * Always use std::endl with lyxerr
4232
4233 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4234
4235         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4236
4237 2003-08-01  André Pönitz  <poenitz@gmx.net>
4238
4239         * BufferView.[Ch]:
4240         * BufferView_pimpl.[Ch]:
4241         * lyxfunc.C:
4242         * text3.C: merge BufferView::repaint() and BufferView::update()
4243
4244 2003-08-01  José Matos  <jamatos@lyx.org>
4245
4246         * buffer.[Ch]: file_format is no longer a buffer data element.
4247
4248 2003-08-01  André Pönitz  <poenitz@gmx.net>
4249
4250         * BufferView.C:
4251         * lyxtext.h:
4252         * text.C:
4253         * text2.C: make redoParagraph more independent of current cursor
4254
4255         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4256         * text.C:
4257         * text2.C: remove unneeded members
4258
4259 2003-07-30  André Pönitz  <poenitz@gmx.net>
4260
4261         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4262
4263         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4264           create a single function...
4265
4266         * paragraph_funcs.C (moveItem): ... here.
4267
4268         * text.C:
4269           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4270
4271 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4272
4273         * LColor.[Ch]: Add comment and greyedout logical colors.
4274
4275 2003-07-30  André Pönitz  <poenitz@gmx.net>
4276
4277         * tabular.C: don't use Assert too heavily. This crashes where it
4278           shouldn't
4279
4280 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4281
4282         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4283         is disabled (bug 1232)
4284
4285 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4286
4287         * factory.C: limited 'arg' scope
4288
4289 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4290
4291         * factory.C: fixed Note submenu issues
4292
4293 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4294
4295         * factory.C: submenu for Note/Comment/Greyedout
4296
4297 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4298
4299         * lyx_main.C (LyX):
4300         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4301
4302 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4303
4304         * LaTeXFeatures.C:
4305         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4306         greyedout. Patch provided by Jürgen Spitzmüller.
4307
4308 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4309
4310         * kbmap.C (read): fix error message when reading bind files
4311
4312 2003-07-29  Angus Leeming  <leeming@lyx.org>
4313
4314         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4315         certainly does not do what it purports to do. I am doing it, and
4316         us, a favour by killing it.
4317
4318 2003-07-28  José Matos  <jamatos@lyx.org>
4319
4320         * buffer.C (readBody, do_writeFile):
4321         * paragraph.C(readParagraph): \end_document replaces \the_end.
4322
4323 2003-07-29  André Pönitz  <poenitz@gmx.net>
4324
4325         * BufferView.[Ch]:
4326         * BufferView_pimpl.[Ch]:
4327         * lyxfunc.C:
4328         * text2.C:
4329         * text3.C:
4330         * textcursor.[Ch]: remove toggleToggle & Co
4331
4332 2003-07-28  José Matos  <jamatos@fep.up.pt>
4333
4334         * buffer.C (readParagraph):
4335         * params_func (readParToken, readParagraph):
4336         * paragraph.C (write): \layout -> \begin_layout.
4337
4338 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4339
4340         * lyxlex_pimpl.C (setFile): clean up slightly.
4341
4342         * bufferparams.h: add compressed var
4343
4344         * buffer_funcs.C (readFile): adjust for LyXLex change
4345         (newFile): ditto + simplify
4346
4347         * buffer.C (writeFile): handle writing of compressed files
4348
4349         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4350         Check if the file is compressed and set a bufferparm if so.
4351
4352         * Makefile.am (lyx_LDADD): remove explicit -lz
4353
4354 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4355
4356         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4357         makeDocBookFile): put the real LyX version in the first line of
4358         the file
4359
4360         * version.h:
4361         * version.C.in: remove lyx_docversion
4362
4363         * tabular.C (write_attribute): add a template-based version to
4364         write enums properly
4365
4366 2003-07-28  André Pönitz  <poenitz@gmx.net>
4367
4368         * lyxtext.h:
4369         * text.C:
4370         * text2.C:
4371         * text3.C: use doubles again for x-coordinates. They are needed.
4372
4373 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4374
4375         * messages.C (getLocaleDir): use lyx_localedir()
4376
4377         * lyxlex_pimpl.C (setFile): compress stuff
4378
4379         * buffer.C (writeFile): add some compression stuff
4380         (do_writeFile): new func, dont call expliti close... will this
4381         breake anything?
4382
4383         * Makefile.am (lyx_LDADD): add -lz
4384
4385 2003-07-28  José Matos  <jamatos@fep.up.pt>
4386
4387         * buffer.C: increment file format.
4388         * paragraph_funcs (readParagraph, readParToken):
4389         * paragraph.C (readParagraph): add \end_layout.
4390
4391 2003-07-27  Angus Leeming  <leeming@lyx.org>
4392
4393         * Makefile.am: remove special casing for configure-time setting of
4394         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4395
4396         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4397         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4398
4399 2003-07-26  André Pönitz  <poenitz@gmx.net>
4400
4401         * paragraph_func.[Ch]:
4402         * paragraph.C (realizeFont): inline it whereever it is used
4403
4404         * rowpainter.C:
4405         * text.C:
4406         * text2.C:
4407         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4408
4409
4410 2003-07-26  André Pönitz  <poenitz@gmx.net>
4411
4412         *       lyxtext.h:
4413         * text.C:
4414         * text2.C: get rid of LyXText::need_break_row
4415
4416 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4417
4418         * toc.[Ch]: put namespace toc inside namespace lyx
4419
4420         * MenuBackend.C (expandToc2): adjust for lyx::toc
4421         (expandToc): ditto
4422
4423         * lyxfunc.C (dispatch): adjust for lyx::find
4424
4425         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4426         lyx::find instead. Reorganize a bit.
4427         (LyXReplace): rename to replace
4428         (LyXFind): rename to find
4429
4430         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4431         (dispatch): ditto
4432
4433 2003-07-26  André Pönitz  <poenitz@gmx.net>
4434
4435         * text.C (setHeightOfRow): restrict scope of temporary variable
4436
4437         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4438           code (never has been used?)
4439
4440 2003-07-27  Asger Alstrup  <alstrup@local>
4441
4442         * text.C (fill): Optimise algorithm to exploit that we can reuse
4443         the LyXFont for many characters.
4444         (setHeightOfRow): Same thing.
4445         (rowBreakPoint): Same thing.
4446
4447 2003-07-26  Asger Alstrup  <alstrup@local>
4448
4449         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4450
4451         * text.C (singleWidth): Spurious font copying in hot-spot
4452         singleWidth avoided. Reorder tests for arabic for efficiency.
4453
4454         * text.C (fill): handle empty paragraphs better.
4455
4456 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4457
4458         * ispell.C:
4459         * encoding.h: add includes
4460
4461         * lyxrc.C: remove reading of bind files
4462
4463         * lyx_main.C (init): setup bindings and menus only if we have a
4464         gui.
4465
4466         * kbmap.C (read): new method. Do the actual reading of bind
4467         files.
4468
4469         * converter.C (dvipdfm_options):
4470         * bufferparams.C:
4471         * lyxrc.C (read):
4472         (output): adapt PAPER_* enums.
4473
4474         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4475
4476         * bufferparams.h: remove paper-related enums from there
4477
4478         * paper.h: New file. A trivial header file to hold paper-related
4479         enums. It should later expand to contain many paper-related
4480         horrors access.
4481
4482         * lyxrc.C: declare extern displayTranslator
4483
4484 2003-07-27  José Matos  <jamatos@fep.up.pt>
4485
4486         * tabular.[Ch] (linuxdoc): add support for tables and figures
4487         (linuxdoc).
4488
4489 2003-07-27  José Matos  <jamatos@fep.up.pt>
4490
4491         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4492         consistency in both functions.
4493         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4494
4495 2003-07-26  Asger Alstrup  <alstrup@local>
4496
4497         * rowpainter.C (paintRows): Change algorithm to work directly on
4498         the insets rather than asking every character in the document
4499         whether its an inset.
4500
4501 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4502
4503         * buffer.C (openFileWrite): factorize some code
4504
4505 2003-07-26  Angus Leeming  <leeming@lyx.org>
4506
4507         * lyx_cb.C:
4508         * lyx_main.[Ch]: replace occurances of system_tempdir with
4509         os::getTmpDir().
4510
4511 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4512
4513         * rename Inset to InsetOld
4514
4515 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4516
4517         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4518         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4519         which I think is a bit clearer. EDIT is gone, since it was
4520         premature optimisation, and broken for mathed anyway.
4521         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4522         with cursor positioning in insets as well (math insets still do not
4523         work, but that's a different story anyway.) It mysteriously
4524         crashes sometimes with undo in the first paragraph, but I'm fairly
4525         confident that this is a compiler bug.
4526
4527 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4528
4529         * paragraph.C (Paragraph): adjust for new clone return type
4530         (operator==): ditto
4531         (copyIntoMinibuffer): ditto
4532
4533 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4534
4535         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4536         by not having a special case, and always doing a full rebreak of
4537         the document after undo.
4538
4539 2003-07-23  Angus Leeming  <leeming@lyx.org>
4540
4541         * factory.C (createInset): InsetExternal::setParams now takes a
4542         Buffer const * arg.
4543
4544 2003-07-23  Angus Leeming  <leeming@lyx.org>
4545
4546         * factory.C (createInset): changed interface to the external and
4547         graphics mailers' string2params functions.
4548
4549 2003-07-23  Angus Leeming  <leeming@lyx.org>
4550
4551         * factory.C (createInset): pass a
4552         Buffer const * parameter to InsetExternalMailer's string2params.
4553
4554 2003-07-22  John Levon  <levon@movementarian.org>
4555
4556         * Thesaurus.h: include the right aiksaurus header
4557
4558 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4559
4560         * MenuBackend.C (expand): check menu shortcuts unconditionally
4561
4562 2003-07-21  Angus Leeming  <leeming@lyx.org>
4563
4564         * factory.C (createInset): pass a
4565         buffer_path parameter to InsetGraphicsMailer's string2params.
4566
4567 2003-07-21  Angus Leeming  <leeming@lyx.org>
4568
4569         * BufferView_pimpl.C (buffer):
4570         * buffer.C (d-tor):
4571         * lyx_main.C (LyX):
4572         * lyxfunc.C (dispatch):
4573         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4574         rather than the grfx shortcut.
4575
4576 2003-07-21  André Pönitz  <poenitz@gmx.net>
4577
4578         * rowpainter.C: remove unused variables
4579
4580         * tabular_funcs.C:
4581         * tabular_funcs.h: move to tabular.C
4582         * Makefile.am: adjust
4583
4584         * tabular.[Ch]: basic optical cleaning
4585
4586         * author.h: pass references, not values
4587
4588 2003-07-18  André Pönitz  <poenitz@gmx.net>
4589
4590         * lyxtext.h:
4591         * metricsinfo.C:
4592         * metricsinfo.h:
4593         * rowpainter.C:
4594         * text.C:
4595         * text2.C:
4596         * text3.C: two-phase drawing for InsetText and InsetTabular
4597         some float -> int changes.
4598
4599 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4600
4601         * lyx_main.C: fix the fix
4602
4603 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4604
4605         * lyx_main.C: fix a crash in batch mode if no files specified
4606         * converter.C: ws
4607
4608 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4609
4610         * format.[Ch] (papersize): moved to BufferParams
4611         * converter.[Ch] (dvips_options): moved to BufferParams
4612         (dvipdfm_options): moved to anon namespace
4613         * bufferparams.[Ch]: added above functions.
4614
4615 2003-07-17  André Pönitz  <poenitz@gmx.net>
4616
4617         * lyxtext.h:
4618         * rowpainter.C:
4619         * text2.C: don't call inset->update() anymore
4620
4621         * metricsinfo.[Ch]: add convenience constructor
4622
4623 2003-07-16  André Pönitz  <poenitz@gmx.net>
4624
4625         * lyxcursor.[Ch]:
4626         * lyxfunc.[Ch]:
4627         * text.C:
4628         * text2.C: replace the LyXCursor::irow_ member with
4629          on-demand computation of the value
4630
4631 2003-07-16  John Levon  <levon@movementarian.org>
4632
4633         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4634
4635 2003-07-15  André Pönitz  <poenitz@gmx.net>
4636
4637         * text.C:
4638         * text2.C: remove no more needed refresh_row
4639
4640 2003-07-15  André Pönitz  <poenitz@gmx.net>
4641
4642         * lyxtext.h:
4643         * rowpainter.C:
4644         * text2.C:
4645         * text3.C: refresh_status tristate -> need_update bool
4646
4647 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4648
4649         * lyxtext.h (init): remove reinit argument (act as if always true)
4650         * text2.C: adjust to that
4651
4652 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4653
4654         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4655         * text3.C: use it to delete selections in some cases
4656         (bugs 441, 673, 702, 954).
4657
4658 2003-07-14  André Pönitz  <poenitz@gmx.net>
4659
4660         * rowpainter.[Ch]: reduce interface
4661
4662 2003-07-14  André Pönitz  <poenitz@gmx.net>
4663
4664         * BufferView_pimpl.C:
4665         * text2.C: adjust after removing unused BufferView * argument
4666
4667 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4668
4669         * text2.C (init): fix a crash fired on resize
4670
4671 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4672
4673         * buffer.[Ch]: added new closing signal
4674         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4675         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4676         BufferView::Pimpl via the closing the signal
4677
4678 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
4679
4680         * buffer.[Ch]: take out all bv-related from buffer
4681         * BufferView.C:
4682         * BufferView_pimpl.[Ch]: connect to new signals
4683         * CutAndPaste.C: removed useless asserts
4684         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4685         * lyxvc.[Ch]:
4686         * vc-backend.[Ch]:
4687         * lyxfunc.C: moved view-related funciontality from vc here
4688         * paragraph.C: removed outdated comments
4689         * text.C: ws
4690
4691 2003-07-10  André Pönitz  <poenitz@gmx.net>
4692
4693         * BufferView_pimpl.C:
4694         * tabular.h:
4695         * tabular_funcs.C:
4696         * text.C:
4697         * text2.C: remove InsetText::InnerCache, clean up consequences
4698
4699 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
4700
4701         * ispell.C: fix two typos in error messages
4702
4703 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
4704
4705         * Extend Note inset to other forms of annotation like Comment
4706         and Greyedout. Right button click gives dialog.
4707
4708         Files modified or added (+):
4709
4710         * insetnote.[Ch]
4711         * FormNote.[Ch]      +
4712         * ControlNote.[Ch]   +
4713         * form_note.fd       +
4714         * Makefile.am in frontends/xforms, frontends/xforms/forms,
4715         frontends/controllers
4716         * xforms/Dialogs.C
4717         * factory.C
4718
4719 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4720
4721         * aspell.C: add missing namespace lyx::support
4722
4723 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
4724
4725         * BufferView.[Ch] (newFile): Add
4726         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4727         * LaTeX.[Ch] (message): added this signal and use it
4728         * buffer.[Ch] (busy, message): added these signals and use them
4729         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4730         * converter.C:
4731         * exporter.C:
4732         * format.C:
4733         * importer.C: use buffer signals instead of direct bv calling
4734         * lyx_cb.[Ch] (ShowMessage): removed
4735         * lyx_main.C:
4736         * lyxfunc.C:
4737         * paragraph_funcs.C:
4738         * text2.C: use buffer signals
4739
4740 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4741
4742         * introduce namespace lyx::graphics
4743
4744 2003-07-02  André Pönitz  <poenitz@gmx.net>
4745
4746         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4747
4748 2003-07-01  André Pönitz  <poenitz@gmx.net>
4749
4750         * text.C:
4751         * text2.C:
4752         * text3.C:
4753         * text_funcs.[Ch]:
4754         * textcursor.h:
4755         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4756           text*.C to text_func.C
4757
4758 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4759
4760         * introduce namespace lyx::support
4761
4762 2003-06-30  André Pönitz  <poenitz@gmx.net>
4763
4764         * Chktex.C:
4765         * funcrequest.C:
4766         * lyxtext.h:
4767         * text.C: re-enable --with-included-string
4768
4769 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4770
4771         * textcursor.C: add <config.h>
4772
4773         * text.C (getWord): remove const from word_location arg
4774
4775         * lyxvc.C (getLogFile): fix const type order
4776
4777         * lyxtext.h: remove const from word_location arg, add arg name
4778
4779         * lyxlayout.h: currect type on labeltype.
4780
4781         * importer.C: correct \file
4782
4783         * converter.C (intToFormat): use std:: on ret val, ws changes
4784
4785         * bufferlist.h: correct \file
4786
4787         * buffer.C (makeLinuxDocFile): fix const type order
4788         (makeDocBookFile): ditto
4789         (fillWithBibKeys): use std:: on stdlib args.
4790
4791         * CutAndPaste.C: fix authors.
4792         (availableSelections): use std:: on return vector
4793
4794 2003-06-27  André Pönitz  <poenitz@gmx.net>
4795
4796         * BufferView_pimpl.C:
4797         * bufferview_funcs.C:
4798         * lyxcursor.C:
4799         * lyxcursor.h:
4800         * lyxfunc.C:
4801         * lyxtext.h:
4802         * rowpainter.C:
4803         * text.C:
4804         * text2.C:
4805         * text3.C: remove LyXCursor::row_ member
4806
4807         * lyxtext.h:
4808         * text.C: rename fullRebreak() to partialRebreak() and implement
4809           a fullRebreak() that really bereks fully
4810
4811         * textcursor.h: new struct for cursor-related data
4812
4813 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
4814
4815         * lyx_main.C (LyX): get full path of document loaded on the
4816         command line
4817
4818 2003-06-26  André Pönitz  <poenitz@gmx.net>
4819
4820         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4821           remove unused/broken operator>,<,>=.
4822
4823         *       text.C: remove only use of broken operator<= in an Assert().
4824
4825 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4826
4827         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4828         moved errorlist_.clear to showErrorList
4829
4830 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
4831
4832         * converter.C (scanLog, runLaTeX):
4833         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4834         move the bv->showErrorList call to the callers
4835         * lyxfunc.C: i.e. here...
4836         * text2.C: and here
4837         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4838         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4839         namespace, the second to...
4840         * buffer_funcs (BufferFormat, parseErrors): added
4841         * errorlist.C (ErrorList(TeXErrors const &)): removed
4842
4843 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4844
4845         * ToolbarBackend.C (getIcon): complain when icon cannot be found
4846
4847 2003-06-24  "Garst R. Reese" <reese@isn.net>
4848
4849         * debug.C: fix typo
4850
4851 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4852
4853         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4854
4855         * version.C.in: change docversion to 1.4
4856
4857 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
4858
4859         * buffer.C: fix a bug just introduced
4860
4861 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
4862
4863         * buffer.[Ch]: added the parseError signal and use it, removed
4864         sgmlError
4865         * BufferView.[Ch] (addError): moved to ...
4866         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4867         to the Buffer::parseError signal to catch (guess what) parse errors
4868         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4869
4870 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
4871
4872         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4873         ability to create a buffer and to return an existing one from
4874         the list. Moved these functions to...
4875         * buffer_funcs.[Ch]: added
4876         * BufferView.[Ch] (loadLyXFile): added
4877         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4878         job removed from bufferlist::loadLyXFile.
4879         * buffer.C (setReadOnly): make it work without view
4880         (i.e added an if (users))
4881
4882 2003-06-19  Angus Leeming  <leeming@lyx.org>
4883
4884         * lfuns.h:
4885         * LyXAction.C (init):
4886         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4887         with LFUN_DIALOG_SHOW <name> <data>.
4888
4889 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4890
4891         * CutAndPaste.C (availableSelections): small compilation fix for
4892         ancient (gcc 2.9x) compilers
4893
4894 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
4895
4896         * text3.C (cursorNext): add tmp var
4897
4898         * text2.C (updateCounters): for function calling out of for clause
4899         (replaceSelectionWithString): ditto
4900         (insertStringAsParagraphs): ditto
4901         (getColumnNearX): add tmp var
4902         (setCursorFromCoordinates): add tmp var
4903         (cursorDownParagraph): add tmp var
4904         (deleteEmptyParagraphMechanism): add tmp var
4905
4906         * text.C (insertChar): add tmp var
4907
4908         * rowpainter.C (paintDepthBar): add tmp var
4909
4910         * CutAndPaste.C (availableSelections): potentially check all
4911         paragraphs in a cut to fill the shown strings.
4912
4913 2003-06-18  André Pönitz  <poenitz@gmx.net>
4914
4915         * kbmap.[Ch]: use vector<> instead of list<>
4916
4917 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
4918
4919         * text3.C (dispatch): handle arg to LFUN_PASTE, call
4920         pasteSelection with index
4921
4922         * text2.C (pasteSelection): modify, call pasteSelection with index
4923
4924         * paragraph.C (asString): reimplement version with no interval to
4925         call the one with interval.
4926
4927         * lyxtext.h: add index arg to pasteSelection
4928
4929         * MenuBackend.C (MenuItem): handle PasteRecent
4930         (Menu::read::Menutags): add md_pasterecent
4931         (read): handle it
4932         (expandPasteRecent): new function
4933         (expand): use it
4934
4935         * MenuBackend.h: add PasteRecent to MenuItem::Kind
4936
4937         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4938         the limited stack
4939         (availableSelections): new function
4940
4941 2003-06-17  Angus Leeming  <leeming@lyx.org>
4942
4943         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4944
4945 2003-06-17  Angus Leeming  <leeming@lyx.org>
4946
4947         * lfuns.h:
4948         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4949
4950         * lyxfunc.C (dispatch): invoke it.
4951
4952 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4953
4954         * iterators.C (operator++, ParPosition): reintroduce some
4955         const_cast for the benefit of older compilers.
4956
4957 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4958
4959         * text3.C (dispatch): do not modify clipboard when doing
4960         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4961         LFUN_DELETE_SKIP on a selection selection
4962
4963 2003-06-16  André Pönitz  <poenitz@gmx.net>
4964
4965         * BufferView.C:
4966         * buffer.C:
4967         * buffer.h:
4968         * paragraph.C:
4969         * tabular.[Ch]: IU of clone() and getLabelList();
4970
4971 2003-06-13  André Pönitz  <poenitz@gmx.net>
4972
4973         * tabular.h: compactification
4974
4975 2003-06-12  André Pönitz  <poenitz@gmx.net>
4976
4977         * tabular.C:
4978         * tabular.h:
4979         * tabular_funcs.h: some renaming plus whitespace
4980
4981 2003-06-12  André Pönitz  <poenitz@gmx.net>
4982
4983         * BufferView.C:
4984         * BufferView_pimpl.C:
4985         * CutAndPaste.C:
4986         * buffer.C:
4987         * iterators.[Ch]:
4988         * lyxfunc.C:
4989         * text.C:
4990         * toc.C: Return a Paragraph & for ParIterator::operator*()
4991
4992 2003-06-11  John Levon  <levon@movementarian.org>
4993
4994         * lyx_main.C:
4995         * ToolbarBackend.h:
4996         * ToolbarBackend.C: add "Toolbars" section and
4997         put the flags there
4998
4999 2003-06-10  Angus Leeming  <leeming@lyx.org>
5000
5001         * lfuns.h:
5002         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5003
5004         * lyxfunc.C (dispatch): invoke it.
5005
5006 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5007
5008         * main.C: protect <ios> with HAVE_IOS
5009         (main): protect sync_with_stdio with HAVE_IOS
5010
5011 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5012
5013         * text2.C (cutSelection): adjust
5014         (pasteSelection): adjust
5015
5016         * messages.C: handle get of empty string
5017
5018         * main.C (main): use sync_with_stdio(false)
5019
5020         * lyxfunc.C (dispatch): adjust
5021
5022         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5023         (WriteAs): remove unneeded BufferView arg.
5024
5025         * bufferparams.h: use correct types on papersize, papersize2 and
5026         paperpackage.
5027
5028         * bufferparams.C (readToken): adjust for type
5029         (writeLaTeX): add missing cases to switch.
5030
5031         * bufferlist.C (quitWriteBuffer): adjust
5032         (close): adjust
5033
5034         * buffer.C (asciiParagraph): remove some commented code.
5035
5036         * CutAndPaste.C: remove current_view extern variable.
5037         (cutSelection): add BufferParams arg.
5038         (eraseSelection): add BufferParams arg.
5039         (pasteSelection): add Buffer const & arg
5040
5041 2003-06-07  John Levon  <levon@movementarian.org>
5042
5043         * buffer.C:
5044         * paragraph_funcs.C:
5045         * paragraph_pimpl.C:
5046         * text.C:
5047         * text2.C:
5048         * paragraph.h:
5049         * paragraph.C: allow InsetERT to freely space lines,
5050         and some consolidation of code
5051
5052 2003-06-06  José Matos  <jamatos@fep.up.pt>
5053
5054         * buffer.C (makeDocBookFile): fix bug #821
5055
5056 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5057
5058         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5059
5060 2003-06-04  Angus Leeming  <leeming@lyx.org>
5061
5062         * buffer.C: bump format to 224.
5063
5064 2003-06-05  André Pönitz  <poenitz@gmx.net>
5065
5066         * text2.C (redoParagraphs): remove two const_cast<>
5067
5068 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5069
5070         * ParagraphList.h: remove last remnants of NO_STD_LIST
5071
5072 2003-06-03  Angus Leeming  <leeming@lyx.org>
5073
5074         * factory.C (createInset): small change to the way InsetExternal's params
5075         are set.
5076
5077 2003-06-04  André Pönitz  <poenitz@gmx.net>
5078
5079         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5080
5081         * paragraph_pimpl.h:
5082         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5083
5084         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5085
5086         * undo_funcs.C: make some simple cases of undo work again
5087
5088 2003-06-03  John Levon  <levon@movementarian.org>
5089
5090         * ispell.C: HPUX doesn't have sys/select.h
5091         (from Albert Chin)
5092
5093 2003-06-03  John Levon  <levon@movementarian.org>
5094
5095         * CutAndPaste.C: update tabular and include inset
5096         buffer references
5097
5098         * buffer.h:
5099         * paragraph.h:
5100         * paragraph.C: remove owningBuffer(), don't pass Buffer
5101         to clone()
5102
5103         * factory.C: insetGraphicsParams changed
5104
5105 2003-06-02  John Levon  <levon@movementarian.org>
5106
5107         * LyXAction.C:
5108         * factory.C:
5109         * lfuns.h:
5110         * lyxfunc.C:
5111         * text3.C: remove insetparent
5112
5113 2003-06-02  John Levon  <levon@movementarian.org>
5114
5115         * buffer.h:
5116         * buffer.C: fix inset_iterator.end(), move out of line
5117         (bug 1149)
5118
5119 2003-06-01  John Levon  <levon@movementarian.org>
5120
5121         * text3.C: use a proper cut/paste when doing inset
5122         insert (from Jürgen Spitzmüller)
5123
5124 2003-06-01  John Levon  <levon@movementarian.org>
5125
5126         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5127
5128 2003-05-30  André Pönitz  <poenitz@gmx.net>
5129
5130         * rowpainter.C: unify second drawing phase
5131
5132 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5133
5134         * trans_mgr.C: remove one case of current_view
5135
5136         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5137
5138         * paragraph_funcs.h: remove paragraph.h include
5139
5140         * paragraph.h: delete NO_STD_LIST stuff
5141
5142         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5143
5144         * buffer.h: remove paragraph.h include
5145
5146         * ParagraphList.C: delete file
5147
5148         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5149
5150         * toc.C (getTocList): adjust
5151
5152         * paragraph_pimpl.C (validate): adjust
5153
5154         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5155
5156         * paragraph.C (Paragraph): adjust
5157         (getPositionOfInset): use const_iterator, adjust
5158         (bibitem): use const_iterator, adjust
5159         (setInsetOwner): adjust
5160
5161         * iterators.C (operator++): adjust
5162
5163         * InsetList.[Ch]: Replace selfmade iterator with standard
5164         vector::iterator also introduce const_iterator. Remove getPos,
5165         getInset and setInset from InsetTable. Adjust accordingly.
5166
5167         * BufferView.C (lockInset): adjust
5168         (ChangeInsets): adjust
5169
5170         * tabular.[Ch]: delete commented same_id functions
5171
5172 2003-05-28  John Levon  <levon@movementarian.org>
5173
5174         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5175
5176 2003-05-28  André Pönitz  <poenitz@gmx.net>
5177
5178         * metricsinfo.[Ch]: remove 'fullredraw' member
5179
5180 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5181
5182         * lyxtextclass.C (operator): remove caching.
5183
5184 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5185
5186         * text3.C: adjust
5187
5188         * text2.C (cursorBottom): adjust
5189         (setCounter): use ParagraphList::find, adjust
5190
5191         * text.C (workWidth): use ParagraphList::find, adjust
5192
5193         * lyxcursor.C (LyXCursor): adjust
5194
5195         * buffer.C (inset_iterator): adjust
5196
5197         * ParagraphList.h: make iterator(value_type) private, make
5198         ParagraphList a friend of iterator.
5199
5200         * ParagraphList.C (find): new function
5201
5202         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5203
5204 2003-05-27  André Pönitz  <poenitz@gmx.net>
5205
5206         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5207
5208 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5209
5210         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5211
5212 2003-05-26  John Levon  <levon@movementarian.org>
5213
5214         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5215
5216 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5217
5218         * remove same_id from function signatures, adjust.
5219
5220 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5221
5222         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5223
5224         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5225
5226         * paragraph.C (Paragraph): get rid of same_ids parameter
5227
5228         * ParagraphList.C (insert): adjust
5229         (push_back): adjust
5230
5231 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5232
5233         * paragraph_funcs.C (breakParagraph): adjust
5234         (breakParagraphConservative): adjust
5235
5236         * buffer.C (readParagraph): adjust
5237
5238         * ParagraphList.C (insert): take a reference instead of a pointer
5239         (insert): adjust
5240
5241         * paragraph.[Ch] (id): new function
5242
5243         * bufferlist.C (newFile): adjust
5244
5245         * ParagraphList.C (ParagraphList): adjust
5246         (assign): adjust
5247         (push_back): take a reference instead of a pointer.
5248
5249         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5250
5251         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5252         instead.
5253
5254         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5255         set else use old code.
5256
5257         * ParagraphList.C: remove all NO_NEXT code and only compile this
5258         code of NO_STD_LIST is set.
5259
5260 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5261
5262         * BufferView_pimpl.C:
5263         * TextCache.C:
5264         * TextCache.h:
5265         * bufferlist.C:
5266         * errorlist.h:
5267         * format.C:
5268         * format.h:
5269         * graph.C:
5270         * lyxfunc.C:
5271         * lyxrc.C:
5272         * graphics/GraphicsConverter.C:
5273         * graphics/PreviewLoader.C: header adjustment
5274
5275 2003-05-23  Angus Leeming  <leeming@lyx.org>
5276
5277         * LaTeXFeatures.[Ch] (useBabel): new method.
5278         * bufferparams.C (writeLaTeX): use it.
5279
5280 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5281
5282         * ParagraphList.h (set): remove unused function.
5283
5284 2003-05-23  André Pönitz  <poenitz@gmx.net>
5285
5286         * BufferView.C:
5287         * BufferView_pimpl.C:
5288         * buffer.C:
5289         * buffer.h:
5290         * lyxfunc.C:
5291         * undo_funcs.C: setUndo reworked
5292
5293         * iterators.[Ch]: add access to topmost ParagraphList
5294
5295         * lyxtext.[Ch] (workWidth): add a const
5296
5297 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5298
5299         * texrow.[Ch] (increasePos): remove function
5300         * exporter.C (export): removed unused var and outdated comment
5301
5302 2003-05-23  Angus Leeming  <leeming@lyx.org>
5303
5304         * latexrunparams.h: rename fragile as moving_arg.
5305         * paragraph.C (simpleTeXOnePar): ditto.
5306         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5307
5308 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5309
5310         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5311         (createUndo): ditto
5312         (textUndoOrRedo): comment out a currently unused var.
5313
5314         * paragraph.h (NO_NEXT): enable NO_NEXT
5315
5316         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5317
5318         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5319
5320         * exporter.C (Export): adjust for removeAutoInsets removal.
5321
5322         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5323
5324         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5325
5326         * BufferView.[Ch] (removeAutoInsets): delete function
5327
5328 2003-05-22  Angus Leeming  <leeming@lyx.org>
5329
5330         * latexrunparams.h: add a free_spacing variable.
5331
5332         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5333         to pass moving_arg, as the data is stored in runparams.fragile.
5334
5335         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5336         to Inset::latexOptional or to simpleTeXOnePar.
5337
5338         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5339         free_spacing arg to Inset::latexOptional.
5340
5341         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5342         free_spacing arg.
5343
5344 2003-05-22  Angus Leeming  <leeming@lyx.org>
5345
5346         * latexrunparams.h: add fragile and use_babel variables.
5347
5348         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5349         * buffer.C (makeLaTeXFile): store this returned value in
5350         runparams.use_babel, thus passing it to the inset::latex methods.
5351
5352         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5353         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5354
5355         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5356         longer has a fragile arg, as it is stored in runparams.fragile.
5357
5358         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5359         moving_arg parameter as the data is stored in runparams.fragile.
5360
5361         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5362         a fragile parameter as the data is stored in runparams.fragile.
5363
5364 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5365
5366         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5367
5368 2003-05-22  Angus Leeming  <leeming@lyx.org>
5369
5370         * latexrunparams.h: add a 'bool nice' which defaults to false.
5371
5372         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5373         now encapsulated within runparams.
5374
5375         * bufferlist.C (updateIncludedTeXfiles):
5376         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5377
5378 2003-05-22  Angus Leeming  <leeming@lyx.org>
5379
5380         * latexrunparams.h: new file containing struct LatexRunParams.
5381         * Makefile.am: add new file.
5382
5383         * LaTeX.[Ch] (c-tor, run):
5384         * buffer.[Ch] (makeLaTeXFile):
5385         * bufferlist.[Ch] (updateIncludedTeXfiles):
5386         * converter.C (convert, scanLog):
5387         * converter.[Ch] (runLaTeX):
5388         * exporter.C (Export):
5389         * paragraph.[Ch] (simpleTeXOnePar):
5390         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5391         * paragraph_funcs.[Ch] (latexParagraphs):
5392         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5393         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5394         pass around a LatexRunParams parameter.
5395
5396 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5397
5398         * paragraph.[Ch]: remove unused constructor
5399
5400         * ParagraphList.C (erase): new function, taking two iterators
5401
5402 2003-05-22  André Pönitz  <poenitz@gmx.net>
5403
5404         * undo_funcs.C: remove duplicated code
5405
5406         * iterator.[Ch]: operator=
5407
5408 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5409
5410         * tabular.C (SetMultiColumn): ws changes
5411
5412         * rowpainter.C (paintFirst): get rid of a ->previous
5413
5414         * lyx_cb.C (getPossibleLabel): parlist simplification
5415
5416         * BufferView.C (ChangeInsets): simplify slightly.
5417
5418 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5419
5420         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5421         * lfuns.h: new LFUN_SPACE
5422         * lyxfunc.C: protected space has a new lfun
5423         * paragraph_funcs.C: read new space insets
5424         * text3.C:
5425         * factory.C: handle new space insets
5426
5427 2003-05-22  André Pönitz  <poenitz@gmx.net>
5428
5429         * BufferView.C:
5430         * BufferView_pimpl.C:
5431         * buffer.[Ch]:
5432         * lyxfunc.C:
5433         * undo_funcs.C: return a ParIterator from getParFromID.
5434
5435         * iterators.[Ch]: add two const's
5436
5437 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5438
5439         * toc.C (getTocList): adjust
5440
5441         * iterators.[Ch]: rework for parlist
5442
5443         * buffer.C (par_iterator_begin): adjust
5444         (par_iterator_end): adjust
5445
5446         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5447
5448         * BufferView.C (removeAutoInsets): adjust
5449         (ChangeInsets): adjust
5450
5451 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5452
5453         * text.C (top_y): fix bug 1110
5454
5455 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5456
5457         * errorlist.[Ch]: added
5458         * buffer.C:
5459         * BufferView.[Ch]:
5460         * BufferView_pimpl.C:
5461         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5462         instead
5463
5464 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5465
5466         * Makefile.am: ensure that lyx is relinked upon changes to the
5467         various "convenience" libs.
5468
5469 2003-05-20  Angus Leeming  <leeming@lyx.org>
5470
5471         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5472         files are compiled in alphabetical order again.
5473
5474         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5475
5476 2003-05-19  Angus Leeming  <leeming@lyx.org>
5477
5478         * gettext.[Ch]: remove "char const * _(char const *)".
5479
5480 2003-05-19  André Pönitz  <poenitz@gmx.net>
5481
5482         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5483
5484         * Makefile.am:
5485         * BufferView.C:
5486         * DepTable.h:
5487         * LaTeXFeatures.C:
5488         * buffer.C:
5489         * lyxfont.C:
5490         * lyxlex.h:
5491         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5492
5493 2003-05-19  André Pönitz  <poenitz@gmx.net>
5494
5495         * buffer.C:
5496         * lyxlayout.[Ch]:
5497         * lyxtextclass.[Ch]:
5498         * paragraph.C:
5499         * paragraph_funcs.[Ch]:
5500         * text2.C:
5501         * text3.C: more insetenv work
5502
5503 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5504
5505         * ParagraphParameters.C (params2string): small bug fixed
5506
5507 2003-05-16  André Pönitz  <poenitz@gmx.net>
5508
5509         * debug.C:
5510         * bufferview_funcs.C: patch from Kornel Benko to prevent
5511           crash when _(...) is called twice in a statement
5512
5513 2003-05-16  André Pönitz  <poenitz@gmx.net>
5514
5515         * BufferView.C:
5516         * lyxfunc.C:
5517         * text.C:
5518         * text2.C:
5519         * text3.C:
5520         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5521
5522 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5523
5524         * lyx_main.C (init): remove spurious static_cast
5525
5526 2003-05-14  André Pönitz  <poenitz@gmx.net>
5527
5528         * BufferView.C: fix format string
5529
5530 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5531
5532         * BufferView.[Ch] (insertErrors): removed
5533         * BufferView.[Ch] (showErrorList): added
5534         * buffer.C (runChkTeX):
5535         * converter.C (scanLog): call showErrorList instead of inserterrors
5536
5537 2003-05-13  André Pönitz  <poenitz@gmx.net>
5538
5539         * BufferView_pimpl.C:
5540         * buffer.C:
5541         * bufferview_func.C:
5542         * MenuBackend.C:
5543         * lyxfunc.C:
5544         * lyxrc.C:
5545         * tex-accent.C:
5546         * text3.C:
5547         * toc.C:
5548         * tabular_funcs.h: tostr() from its own header
5549
5550         * ParagraphParameters.C:
5551         * ToolbarBackend.C:
5552         * bufferparams.C:
5553         * format.C:
5554         * lyxlex_pimpl.C:
5555         * text3.C: STRCONV()
5556
5557 2003-05-12  André Pönitz  <poenitz@gmx.net>
5558
5559         * BufferView.C:
5560         * BufferView_pimpl.C:
5561         * CutAndPaste.C:
5562         * LaTeX.C:
5563         * LaTeXFeatures.C:
5564         * ParagraphParameters.C:
5565         * buffer.C:
5566         * bufferlist.C:
5567         * bufferparams.C:
5568         * bufferview_funcs.C:
5569         * converter.C:
5570         * counters.C:
5571         * debug.C:
5572         * exporter.C:
5573         * format.C:
5574         * importer.C:
5575         * lyx_cb.C:
5576         * lyx_main.C:
5577         * lyxfont.C:
5578         * lyxfunc.C:
5579         * lyxvc.C:
5580         * paragraph.C:
5581         * paragraph_funcs.C:
5582         * tabular.C:
5583         * tabular_funcs.C:
5584         * text2.C:
5585         * text3.C:  boost::format -> bformat  all over the place
5586
5587
5588 2003-05-09  André Pönitz  <poenitz@gmx.net>
5589
5590         * LColor.[Ch]: Pimpl the #include <map> away
5591
5592 2003-05-09  John Levon  <levon@movementarian.org>
5593
5594         * bufferlist.C: never remove emergency saves
5595
5596 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5597
5598         * Makefile.am: better lib building
5599
5600 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5601
5602         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5603         instead.
5604         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5605         (simpleTeXSpecialChars): adjust
5606         (simpleTeXSpecialChars): adjust
5607         * paragraph.C (simpleTeXOnePar): adjust
5608         * buffer.C (makeLaTeXFile): adjust
5609
5610         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5611
5612         * text2.C (changeDepth): parlist cleanup
5613         (getColumnNearX): ditto
5614
5615         * rowpainter.C (getLabelFont): parlist cleanup
5616
5617         * bufferlist.C (newFile): parlist cleanup
5618
5619         * CutAndPaste.C (eraseSelection): parlist cleanup
5620
5621         * BufferView_pimpl.C (trackChanges): parlist cleanup
5622         (dispatch): ditto
5623
5624         * BufferView.C (lockInset): parlist cleanup.
5625         (ChangeInsets): ditto
5626
5627 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5628
5629         * CutAndPaste.h: Update file header.
5630
5631         * CutAndPaste.C: Update file header.
5632         Store the parts cut out of the Document in a limited_stack.
5633         (copySelection): adjust
5634         (pasteSelection): new function, takes the index in the limited stack.
5635         (nrOfParagraphs): adjust
5636         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5637         simplify error inset insertion.
5638         (checkPastePossible): adjust
5639
5640 2003-05-06  John Levon  <levon@movementarian.org>
5641
5642         * text2.C: don't cast wrap inset to float
5643
5644 2003-05-05  André Pönitz  <poenitz@gmx.net>
5645
5646         * iterator.C:
5647         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5648
5649         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5650           few naked Paragraph *.
5651
5652 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5653
5654         * bufferparams.C: Output warning if a document with missing
5655         TeX document class is loaded
5656         * exporter.C: Disable TeX exports if the document class is missing
5657         * lyxtextclass.C:
5658         * lyxtextclass.h:
5659         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5660         isTeXClassAvailable()
5661
5662 2003-05-03  John Levon  <levon@movementarian.org>
5663
5664         * BufferView.h:
5665         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5666         explicit cursor show/hide
5667
5668         * BufferView_pimpl.h:
5669         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5670         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5671
5672         * lyxfunc.C: hide cursor before dispatching.
5673
5674         * lyx_cb.C:
5675         * lyxfind.C:
5676         * text.C:
5677         * text3.C: remove explicit cursor hides
5678
5679 2003-05-02  André Pönitz  <poenitz@gmx.net>
5680
5681         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5682
5683         * undo_funcs.C:
5684         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5685           linked lists
5686
5687         * text2.C: tiny whitespace
5688
5689 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5690
5691         * undo_funcs.C: almost only ws changes.
5692
5693         * ParagraphList.C (splice): just return if pl is empty.
5694
5695 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5696
5697         * ParagraphList.C (splice): new function.
5698
5699         * CutAndPaste.C (pasteSelection): use it
5700
5701 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5702
5703         * CutAndPaste.C (pasteSelection): remove the last next and
5704         previous from this file.
5705
5706 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5707
5708         * CutAndPaste.C (pasteSelection): more clean up, user proper
5709         ParagraphList functions for pasteing.
5710
5711         * ParagraphList.C (insert): new function, three arg insert
5712
5713 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5714
5715         * ParagraphList.C (insert): new function, three arg insert
5716
5717         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5718         not on paragraphs.
5719
5720 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5721
5722         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5723
5724 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5725
5726         * CutAndPaste.C (pasteSelection): remove some unneeded code.
5727
5728 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5729
5730         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5731         (copySelection): clean up a bit.
5732         (pasteSelection): use make_pair
5733
5734         * ParagraphList.C (ParagraphList): implement copy constructor
5735         (operator=): implement, base on copy constructor.
5736         (assign): new func
5737
5738         * paragraph.C (erase): return a bool
5739
5740         * paragraph_pimpl.C (erasePos): remove function, move contents...
5741         (erase): ... here. Return a bool.
5742         (erase): call erase instead of erasePos.
5743
5744 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
5745
5746         * ParagraphList.h: define PitPosPair
5747         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5748         ParagraphList, fix a bug on pasting multiple pars
5749         * text2.C: change interface to C&P
5750
5751 2003-04-30  André Pönitz  <poenitz@gmx.net>
5752
5753         * undo_func.C: revert part of yesterday's patch 2
5754
5755 2003-04-30  John Levon  <levon@movementarian.org>
5756
5757         * LColor.C: s/tabular/table/
5758
5759 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
5760
5761         * text3.C (dispatch): do not convert iterator -> pointer
5762         * undo_funcs.C (setCursorParUndo): ditto
5763         * text_funcs.C (transposeChars): ditto
5764
5765         * text2.C (setLayout): ws changes only
5766
5767         * text.C (breakParagraph): do not convert iterator -> pointer
5768         (insertChar): ditto
5769         (acceptChange): ditto
5770         (rejectChange): ditto
5771         (changeCase): ditto
5772         (Delete): ditto
5773         (backspace): ditto
5774
5775         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5776         pointer
5777
5778 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5779
5780         * text3.C (gotoInset): YABG (yet another bad getChar)
5781
5782 2003-04-29  André Pönitz  <poenitz@gmx.net>
5783
5784         * paragraph.h: make operator= private unimplemented as long as
5785           it is unusable
5786
5787         * ParagraphList.C: whitespace
5788
5789         * paragraph.[Ch]:
5790         * paragraph_pimpl.[Ch]:
5791         * paragraph_funcs.C:
5792         * CutAndPaste.C:
5793         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
5794
5795         * text2.C:
5796           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5797
5798 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
5799
5800         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5801         * paragraph.[Ch] (erase):
5802         * paragraph_pimpl.[Ch] (erase): change return type and value
5803         * text2.C (cutSelection): some rework
5804
5805 2003-04-28  John Levon  <levon@movementarian.org>
5806
5807         * bufferlist.C: changes for unsaved changes dialog
5808
5809 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5810
5811         * bufferlist.C (newFile): set language (messages_) for new
5812         documents also.
5813
5814         * buffer.C (readFile): ws changes only.
5815
5816 2003-04-28  André Pönitz  <poenitz@gmx.net>
5817
5818         * undo_funcs.C:
5819         * lyxfunc.C:
5820         * buffer.[Ch]:
5821         * BufferView_pimpl.C:
5822         * BufferView.C: getParFromID related ParagraphList::iterator changes
5823
5824 2003-04-28  André Pönitz  <poenitz@gmx.net>
5825
5826         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5827           Changes
5828
5829 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5830
5831         * messages.C: remove one more localedir class variable.
5832
5833 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5834
5835         * messages.C (getLocaleDir): singleton generation function
5836         (Pimpl): use it.
5837         (Messages): add a default constructor.
5838
5839         * main.C (main): do not setup localedir here, do not call
5840         gettext_init.
5841
5842         * gettext.C (_): use it.
5843         (gettext_init): delete funciton
5844
5845 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5846
5847         * gettext.C (getLyXMessages): new singleton generating function.
5848
5849         * buffer.C (updateDocLang): adjust
5850
5851         * Makefile.am (messages.o): add target
5852         (main.o): remove target
5853
5854 2003-04-27  John Levon  <levon@movementarian.org>
5855
5856         * bufferlist.C:
5857         * lyx_cb.C:
5858         * lyxfunc.C:
5859         * lyxvc.C: specify cancel button in Alert::prompt
5860
5861 2003-04-26  John Levon  <levon@movementarian.org>
5862
5863         * text3.C:
5864         * lyxfunc.C:
5865         * lfuns.h:
5866         * LyXAction.C: add LFUN_INSET_SETTINGS
5867
5868         * lyxfunc.C: don't enable tabular-feature when there's
5869         just any locking inset
5870
5871 2003-04-26  John Levon  <levon@movementarian.org>
5872
5873         * bufferlist.C: re-add Cancel to buffer close question
5874
5875         * lyxfunc.C: fix import UI a bit
5876
5877 2003-04-25  John Levon  <levon@movementarian.org>
5878
5879         * gettext.C: remove the broken asserts for now
5880
5881 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5882
5883         * messages.C: make case where setlocale cannot comply work better.
5884
5885         * buffer.C (updateDocLang): new function
5886         (changeLanguage): use it
5887         (readFile): use it
5888
5889         * text2.C (setCounter): use B_ a bit.
5890
5891         * lyxlayout.C (Read): be sure to trim the label strings.
5892
5893         * messages.C (Messages): fix typo in comment
5894
5895         * buffer.C (readFile): set message_ after file is loaded.
5896         (makeDocBookFile): remove double return
5897         (changeLanguage): reset message_ upon language change.
5898         (B_): new func, use this to get translated buffer strings.
5899
5900         * main.C: add myself and Jean Marc as authors.
5901
5902 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5903
5904         * messages.[hC]: pimplify Messages, and three different pimpls to be
5905         used in different circumstances.
5906
5907         * gettext.[Ch]: change for use with new message code.
5908
5909 2003-04-24 André Pönitz <poenitz@gmx.net>
5910
5911         * factory.C: support for eqref
5912
5913 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5914
5915         * messages.[Ch]: add missing char
5916
5917         * Makefile.am (lyx_SOURCES): add messages.[Ch]
5918
5919         * messages.[Ch]: New files
5920
5921 2003-04-18  John Levon  <levon@movementarian.org>
5922
5923         * BufferView.h:
5924         * BufferView.C:
5925         * BufferView_pimpl.C:
5926         * lfuns.h:
5927         * LyXAction.C:
5928         * lyxtext.h:
5929         * text2.C: remove layout-copy/paste (bug 778)
5930
5931 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5932
5933         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5934
5935 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
5936
5937         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5938         if they succeed. Act accordingly.
5939
5940 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5941
5942         * text2.C (setCharFont): adjust
5943         (setCounter): adjust
5944         (insertStringAsLines): adjust
5945
5946         * text.C (leftMargin): adjust
5947         (setHeightOfRow): adjust
5948
5949         * rowpainter.C (paintFirst): adjust
5950         (paintLast): adjust
5951
5952         * paragraph_funcs.C (depthHook): ParagraphList::iterators
5953         (outerHook): ditto
5954         (isFirstInSequence): ditto
5955         (getEndLabel): ditto
5956         (outerFont): adjust
5957
5958         * paragraph.C (getParLanguage): comment out some hard stuff.
5959
5960         * buffer.C (insertStringAsLines): take a ParagraphList as arg
5961         (sgmlError): ditto
5962         (simpleDocBookOnePar): ditto
5963         (makeDocBookFile): use ParagraphList::iterator
5964
5965         * CutAndPaste.C (pasteSelection): adjust
5966
5967 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5968
5969         * text2.C (getFont): adjust
5970         (getLayoutFont): adjust
5971         (getLabelFont): adjust
5972
5973         * paragraph_funcs.C (TeXOnePar): adjust
5974
5975         * buffer.C (simpleLinuxDocOnePar): adjust
5976         (simpleDocBookOnePar): adjust
5977
5978         * CutAndPaste.C (pasteSelection): adjust
5979
5980         * BufferView.C (getEncoding): adjust
5981
5982         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5983
5984 2003-04-16  John Levon  <levon@movementarian.org>
5985
5986         * lyxfind.C: use parlist stuff for search/changes
5987
5988 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5989
5990         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5991
5992         * text2.C (deleteEmptyParagraphMechanism): adjust
5993
5994         * text2.[Ch] (ownerParagraph): delete func (both of them
5995
5996 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5997
5998         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5999
6000 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6001
6002         * ParagraphList.C: prepare for NO_NEXT
6003
6004 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6005
6006         * text2.C (getFont): adjust
6007         (getLayoutFont): adjust
6008         (getLabelFont): adjust
6009
6010         * paragraph.C (getFont): adjust
6011         (getLabelFont): adjust
6012         (getLayoutFont): adjust
6013
6014         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6015
6016 2003-04-15  John Levon  <levon@movementarian.org>
6017
6018         From Angus Leeming
6019
6020         * lyx_main.C: handle Include in .ui files
6021
6022 2003-04-15  John Levon  <levon@movementarian.org>
6023
6024         * MenuBackend.C: make the doc files length shorter
6025
6026         * ToolbarBackend.h:
6027         * ToolbarBackend.C: handle toolbar placement flags,
6028         Minibuffer
6029
6030 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6031
6032         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6033         adjust
6034
6035         * paragraph_funcs.C (TeXOnePar): adjust
6036
6037         * paragraph.C (getLabelFont): add outerfont arg, adjust
6038         (getLayoutFont): ditto
6039         (simpleTeXOnePar): adjust
6040
6041         * paragraph_pimpl.C (realizeFont): delete func
6042
6043 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6044
6045         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6046         row argument, constify cur argument.
6047
6048 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6049
6050         * text2.C (getFont): adjust
6051         (getLayoutFont): adjust
6052         (getLabelFont): adjust
6053
6054         * paragraph_funcs.C (TeXOnePar): adjust
6055         (outerFont): new func...
6056         (realizeFont): ...moved out from here, changed this to facilitate
6057         transition
6058
6059         * paragraph.C (getFont): take outerfont as arg, adjust
6060         (simpleTeXOnePar): add outerfont arg, adjust
6061
6062         * buffer.C (simpleLinuxDocOnePar): adjust
6063         (simpleDocBookOnePar): adjust
6064
6065         * CutAndPaste.C (pasteSelection): adjust
6066
6067         * BufferView.C (getEncoding): adjust
6068
6069 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6070
6071         * text2.C (setCharFont): adjust
6072         (setCounter): adjust
6073
6074         * text.C (leftMargin): adjust
6075         (setHeightOfRow): adjust
6076
6077         * rowpainter.C (paintFirst): adjust
6078         (paintLast): adjust
6079
6080         * paragraph_pimpl.C (realizeFont): adjust
6081
6082         * paragraph.C (isFirstInSequence): move from here...
6083         * paragraph_funcs.C (isFirstInSequence): ...to here
6084
6085         * paragraph.C (outerHook): move from here...
6086         * paragraph_funcs.C (outerHook): ...to here
6087
6088         * paragraph.C (depthHook): move from here...
6089         * paragraph_funcs.C (depthHook): ...to here
6090
6091         * paragraph.C (getEndLabel): move from here...
6092         * paragraph_funcs.C (getEndLabel): ...to here
6093
6094         * text2.C (realizeFont): move from here...
6095         * paragraph_funcs.C (realizeFont): ...to here
6096
6097 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6098
6099         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6100
6101 2003-04-14  Angus Leeming  <leeming@lyx.org>
6102
6103         * LColor.[Ch]: scrap LColor mathcursor.
6104
6105 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6106
6107         * lyxlex.[Ch] (text): delete function
6108         * trans.C (Load): adjust
6109         * paragraph_funcs.C (readParToken): adjust
6110
6111 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6112
6113         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6114         vector<char> instead of a char[].
6115
6116         * lyxlex_pimpl.C (getString): adjust
6117         (next): adjust
6118         (lex): use getString
6119         (eatLine): adjust
6120         (nextToken): adjust
6121
6122         * lyxlex.C (text): use pimpl_->getString()
6123         (getBool): ditto
6124         (findToken): ditto
6125
6126 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6127
6128         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6129         (makeFontEntriesLayoutSpecific): temp var for par.size()
6130         (setLayout): temp var for ownerParagraphs().end()
6131         (fullRebreak): temp var for rows().end()
6132         (selectionAsString): temp var for boost::next(startpit), realize
6133         that the while really is a regular for loop.
6134         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6135         setCursor in one place.
6136         (setParagraph): temp vr for ownerParagraphs().end()
6137         (updateCounters): make the while loop a for loop
6138         (cutSelection): temp var for ownerParagraphs().end()
6139         (updateInset): make the do {} while() a regular for loop
6140         (getCursorX): use temp vars
6141         (setCurrentFont): use temp vars
6142         (getColumnNearX): use temp vars
6143
6144 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6145
6146         * text.C (transformChar): use temp var for getChar
6147         (computeBidiTables): use temp var for row->par()
6148         (fill): move temp vars for row->par() and pit->layout() earlier in
6149         the function.
6150         (labelFill): use temp var for row->par()
6151         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6152         asc and desc, realize that pit never changes and that firstpit is
6153         just a duplicate and not needed. Exchange rit->par() with pit in a
6154         lot of places.
6155         (breakAgain): use a temp var for boost::next(rit)
6156         (breakAgainOneRow): ditto
6157         (breakParagraph): use a temp var for rows().begin()
6158         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6159         (cursorRightOneWord): use temp var for cursor.par() and
6160         cursor.pos(), remove usage of tmpcursor.
6161         (cursorLeftOneWord): use temp var for cursor.par() and
6162         cursor.pos() only set cur at end of function.
6163
6164 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6165
6166         * text.C, text2.C: exchange all usage of Paragraph::next with
6167         boost::next(ParagraphList::iterator)
6168
6169         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6170
6171         * text2.C (cursorTop): simplify implementation
6172         (cursorBottom): ditto
6173         (setParagraph): use ParagraphList::iterator
6174         (setCurrentFont): adjust
6175         (getColumnNearX): adjust
6176         (cursorRight): adjust
6177         (cursorLeft): remove usage of Paragraph::previous
6178         (cursorUpParagraph): ditto
6179         (deleteEmptyParagraphMechanism): slight cleanup
6180
6181         * text.C (isBoundary): take a Paragraph const & instead of a
6182         pointer as arg.
6183         (addressBreakPoint): ditto
6184         (leftMargin): remove usage of Paragraph::previous.
6185         (setHeightOfRow): ditto
6186         (cursorLeftOneWord): ditto
6187         (selectNextWordToSpellcheck): ditto
6188         (Delete): ditto
6189         (backspace): ditto
6190         (breakParagraph): remove one usage of Paragraph::next
6191         (redoParagraph): ditto
6192         (acceptChange): ditto
6193         (insertChar): adjust
6194         (rowBreakPoint): adjust
6195
6196         * bufferview_funcs.C (toggleAndShow): adjust
6197
6198 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6199
6200         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6201         methods to access it.
6202         * lyxtext.h:
6203         * text.C: Added updateRowPositions to compute all row positions.
6204         Make top_y and getRowNearY() to use the cached y position
6205
6206 2003-04-11  John Levon  <levon@movementarian.org>
6207
6208         * text.C (rowBreakPoint): reintroduce the labelEnd
6209         checks, code copied from the row fill stuff. Deep voodoo.
6210
6211         * text.C (fill): add a comment and debugging for the
6212         next poor soul.
6213
6214 2003-04-11  John Levon  <levon@movementarian.org>
6215
6216         * text.C: make sure fullrow insets get wrapped to the next line,
6217         even when they're in a manual label
6218
6219 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6220
6221         * text2.C (insertParagraph): make it take ParagraphList::iterator
6222         as arg.
6223         (setLayout): make it return ParagraphList::iterator
6224         (redoParagraphs): ditto
6225         (setCounter): ditto
6226         (checkParagraph): ditto
6227
6228         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6229
6230         * text2.C: adjust several funcs.
6231         (realizeFont): take a ParagraphList::iterator as arg.
6232         (getLayoutFont): ditto
6233         (getLabelFont): ditto
6234         (setCharFont): ditto
6235
6236         * text.C: adjust several funcs.
6237
6238 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6239
6240         * text.C (selectNextWordToSpellcheck): don't accidentally
6241         skip insets
6242
6243 2003-04-10  John Levon  <levon@movementarian.org>
6244
6245         * ToolbarBackend.C (getIcon): special handling for
6246         LFUN_MATH_DELIM
6247
6248 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6249
6250         * text2.C (cursorRight): a getChar assert fixed
6251
6252 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6253
6254         * text2.C (getFont): change to take a ParagraphList::iterator
6255         instead of Paragraph*
6256         Adjust several functions.
6257
6258         * text.C (transformChar): change to take a ParagraphList::iterator
6259         instead of Paragraph*
6260         (singleWidth): ditto
6261         Adjust several functions.
6262
6263         * rowpainter.C: adjust several functions
6264         * rowpainter.h:store a ParagraphList::iterator and not a
6265         Paragraph&.
6266
6267
6268 2003-04-09  John Levon  <levon@movementarian.org>
6269
6270         * lyxfunc.C:
6271         * lfuns.h:
6272         * LyXAction.h:
6273         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6274         and the "help" bits as well
6275
6276 2003-04-09  John Levon  <levon@movementarian.org>
6277
6278         * ToolbarBackend.h:
6279         * ToolbarBackend.C: allow multiple toolbars
6280
6281 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6282
6283         * undo_funcs.C (setCursorParUndo): adjust
6284
6285         * text_funcs.C (transposeChars): adjust
6286
6287         * text3.C (gotoNextInset): adjust
6288         (dispatch): adjust
6289
6290         * text2.C (setLayout): adjust
6291         (changeDepth): adjust
6292         (setFont): adjust
6293         (redoParagraphs): adjust
6294         (selectionAsString): adjust
6295         (setParagraph): adjust
6296         (insertInset): adjust
6297         (cutSelection): adjust
6298         (copySelection): adjust
6299         (pasteSelection): adjust
6300         (insertStringAsLines): adjust
6301         (updateInset): adjust
6302         (setCursor): change to take a ParagraphList::iterator parameter
6303         (setCursorIntern): change to take a ParagraphList::iterator parameter
6304         (setCurrentFont): adjust
6305         (cursorLeft): adjust
6306         (cursorRight): adjust
6307         (deleteEmptyParagraphMechanism): adjust
6308
6309         * text.C (breakParagraph): adjust
6310         (insertChar): adjust
6311         (acceptChange): adjust
6312         (rejectChange): adjust
6313         (selectNextWordToSpellcheck): adjust
6314         (changeCase): adjust
6315         (Delete): adjust
6316         (backspace): adjust
6317
6318         * lyxfind.C (SearchForward): adjust
6319         (SearchBackward): adjust
6320         (nextChange): adjust
6321
6322         * lyxcursor.C (par): adjust
6323
6324         * lyxcursor.h: store a ParagraphList::iterator instead of a
6325         Paragraph*
6326
6327         * lyx_cb.C (getPossibleLabel): adjust
6328
6329         * bufferview_funcs.C (toggleAndShow): adjust
6330
6331         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6332         (dispatch): adjust
6333
6334         * BufferView.C (removeAutoInsets): adjust
6335         (lockedInsetStoreUndo): adjust
6336
6337 2003-04-09  John Levon  <levon@movementarian.org>
6338
6339         * ToolbarBackend.C: try icon without argument
6340         if with argument fails
6341
6342 2003-04-08  John Levon  <levon@movementarian.org>
6343
6344         * ToolbarBackend.h:
6345         * ToolbarBackend.C: add getIcon(), handle tooltip,
6346         and change from "Icon" to "Item".
6347
6348 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6349
6350         * BufferView.C (lockInset): another bad getchar crunched
6351
6352 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6353
6354         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6355         again)
6356
6357 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6358
6359         * lyxfind.C (searchForward, searchBackwards): bug 782
6360
6361 2003-04-07  John Levon  <levon@movementarian.org>
6362
6363         * paragraph.C: remove dead comment
6364
6365         * text.C: remove troublesome depth-fiddling code
6366         in leftMargin() and rightMargin() (bug 1017)
6367
6368         * text.C: fix breaking of rows in nested lists
6369         (bug 1004)
6370
6371         * text2.C (updateCounters): fix up depth values
6372         (bug 1013)
6373
6374 2003-04-07  John Levon  <levon@movementarian.org>
6375
6376         * BufferView_pimpl.C: clear message when doc finishes resizing,
6377         and after a mouse event
6378
6379         * lyxfunc.C: clear message after exiting inset
6380
6381 2003-04-07  John Levon  <levon@movementarian.org>
6382
6383         * bufferview_funcs.C: show math status not outside
6384         status in the statusbar
6385
6386 2003-04-07  John Levon  <levon@movementarian.org>
6387
6388         * lyxfunc.C: note status changed after a depth change
6389
6390 2003-04-04  Angus Leeming  <leeming@lyx.org>
6391
6392         * LaTeX.h: move AuxInfo operator==, != out of line.
6393         Remove LaTeX virtual destructor; nothing derives from it.
6394         Move operator()() out of public area and rename it startscript().
6395         Change protected for private.
6396
6397 2003-04-04  Angus Leeming  <leeming@lyx.org>
6398
6399         * lyxfunc.C:
6400         * text2.C: remove unneeded #includes.
6401
6402 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6403
6404         * text2.C (dEPM): fix the heigth of the next row
6405
6406 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6407
6408         * text.C: squashed an invalid getChar requester + some ws changes
6409
6410 2003-04-03  John Levon  <levon@movementarian.org>
6411
6412         * bufferview_funcs.h:
6413         * bufferview_funcs.C:
6414         * lyxfunc.C:
6415         * lyxtext.h:
6416         * text2.C: make getStatus work for the env depth lfuns
6417
6418 2003-04-03  John Levon  <levon@movementarian.org>
6419
6420         * bufferview_funcs.h:
6421         * bufferview_funcs.C:
6422         * lyxfunc.C:
6423         * lyxtext.h:
6424         * text2.C: parlistize decDepth(), by merging it with incDepth()
6425
6426 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6427
6428         * lyxrow.h: store a ParagraphList::iterator instead of a
6429         Paragraph* and adjust other class functions to suit.
6430
6431         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6432         above.
6433
6434 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6435
6436         * text2.C (setCursor): do not anchor to cursor row for the time being
6437
6438 2003-04-02  John Levon  <levon@movementarian.org>
6439
6440         * LyXAction.C:
6441         * lfuns.h:
6442         * lyx_main.C:
6443         * lyxtext.h:
6444         * text.C:
6445         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6446
6447 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6448
6449         * paragraph.h: make ParagraphList and ParagraphList::iterator
6450         friends of Paragraph.
6451
6452         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6453
6454         * ParagraphList.C: Use the private next_ and previous_ from
6455         Paragraph.
6456
6457 2003-04-01  John Levon  <levon@movementarian.org>
6458
6459         * ToolbarBackend.h:
6460         * ToolbarBackend.C:
6461         * Makefile.am: rename, remove defaults gunk
6462
6463         * MenuBackend.h:
6464         * MenuBackend.C: remove defaults gunk
6465
6466         * Languages.h:
6467         * Languages.C: remove defaults gunk
6468
6469         * lyx_main.h:
6470         * lyx_main.C: error out if files couldn't be found.
6471
6472 2003-04-02  John Levon  <levon@movementarian.org>
6473
6474         * text2.C: make incDepth() use parlist
6475
6476 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6477
6478         * undo_funcs.C (firstUndoParagraph): adjust
6479
6480         * text3.C (gotoInset): adjust
6481         (dispatch): adjust, and rewrite loop.
6482
6483         * text2.C (init): adjust, and rewrite loop.
6484         (redoParagraphs): adjust
6485         (updateInset): adjust, and rewrite loop.
6486         (deleteEmptyParagraphMechanism): adjust
6487
6488         * tabular.C (LyXTabular): adjust
6489         (SetMultiColumn): adjust
6490         (TeXRow): adjust
6491
6492         * lyxtext.[Ch] (ownerParagraph): delete function
6493         (ownerParagraphs): new function returns a ParagraphList.
6494
6495         * BufferView.C (removeAutoInsets): adjust
6496         (insertErrors): adjust
6497         (setCursorFromRow): adjust
6498
6499 2003-04-01  Angus Leeming  <leeming@lyx.org>
6500
6501         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6502         in the frontends.
6503
6504 2003-04-02  John Levon  <levon@movementarian.org>
6505
6506         * lyxtext.h:
6507         * text.C:
6508         * Makefile.am:
6509         * text_funcs.h:
6510         * text_funcs.C: make transposeChars a free function
6511
6512         * lyxrow_funcs.C: remove wrong comment
6513
6514 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6515
6516         * lyxtext.h: adjust
6517         * rowpainter.C: adjust
6518         * text.C: adjust
6519         * text2.C: adjust
6520         * text3.C: adjust
6521
6522         * lyxrow_funcs. [Ch]: new files
6523
6524         * lyxrow.[Ch]: remove next and previous pointers
6525         (next,previous): remove accessor functions
6526         (isParEnd): move to lyxrow_funcs
6527         (lastPos): move to lyxrow_funcs
6528         (nextRowIsAllInset): move to lyxrow_funcs
6529         (lastPrintablePos): move to lyxrow_funcs
6530         (numberOfSeparators): move to lyxrow_funcs
6531         (numberOfHfills): move to lyxrow_funcs
6532         (numberOfLabelHfills): move to lyxrow_funcs
6533         (hfillExpansion): move to lyxrow_funcs
6534
6535         * lyxfunc.C: adjust
6536
6537         * bufferview_funcs.C (toggleAndShow): adjust
6538
6539         * RowList.h: Remove class RowList from file leave just a
6540         std::list<Row>.
6541
6542         * RowList.C: delete file
6543
6544         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6545         and lyxrow_funcs.h
6546
6547 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6548
6549         * text3.C (cursorPrevious): adjust
6550         (cursorNext): adjust
6551         (dispatch): adjust
6552
6553         * text2.C (redoHeightOfParagraph): adjust
6554         (redoDrawingOfParagraph): adjust
6555         (setCursor): adjust
6556
6557         * text.C (breakParagraph): adjust
6558         (insertChar): adjust
6559         (backspace): adjust
6560
6561         * rowpainter.C (RowPainter): adjust
6562         (leftMargin): simplify and adjust
6563         (most rowpainter functions): adjust.
6564
6565         * rowpainter.h: store the row as RowList::iterator not as Row*
6566
6567         * lyxcursor.C (row): taka RowList::iterator as arg
6568         (irow): ditto
6569
6570         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6571         of Row*.
6572
6573 2003-04-01  Angus Leeming  <leeming@lyx.org>
6574
6575         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6576         stuff like bool Bool.
6577
6578 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6579
6580         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6581         rewrite a loop
6582
6583 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6584
6585         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6586         RowList::iterator.
6587
6588         * lyxtext.h (rows): drop one version and leve a const variant that
6589         returns a RowList::iterator.
6590
6591 2003-03-31  Angus Leeming  <leeming@lyx.org>
6592
6593         * text.C (fill): ensure that the signature is the same as that in the
6594         header file.
6595
6596 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6597
6598         * text2.C (redoParagraphs): adjust
6599         (updateCounters): adjust
6600         (checkParagraph): adjust
6601         (getColumnNearX): adjust and reformat a bit.
6602
6603         * text.C (top_y): adjust
6604         (workWidth): adjust
6605         (leftMargin): adjust
6606         (prepareToPrint): adjust
6607         (getRow): adjust
6608         (getRowNearY): adjust
6609
6610         * lyxtext.h: make rowlist_ mutable.
6611
6612         * RowList.h: add const_iterator
6613         * RowList.C: adjust for RowList::const_iterator.
6614
6615         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6616         adjust.
6617
6618 2003-03-31  John Levon  <levon@movementarian.org>
6619
6620         * lyxrc.h:
6621         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6622
6623         * lyx_main.C: set default fonts from using lyx_gui funcs
6624
6625         * exporter.C: pdf_mode moved from lyxrc
6626
6627         * lyx_cb.C:
6628         * lyxfunc.C: changes from above
6629
6630 2003-03-31  John Levon  <levon@movementarian.org>
6631
6632         * lyx_main.C: fix to the last fix
6633
6634 2003-03-31  John Levon  <levon@movementarian.org>
6635
6636         * bufferlist.C: "Load original" -> "Load Original"
6637
6638         * converter.C:
6639         * exporter.C:
6640         * importer.C:
6641         * lyx_main.C:
6642         * format.C: more Alert cleanups
6643
6644 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6645
6646         * text2.C (removeParagraph): make it take a RowList::iterator as
6647         arg, adjust.
6648         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6649         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6650
6651         * text.C (anchor_row): make it take a RowList::iterator as arg,
6652         adjust.
6653         (computeBidiTables): make it take a const reference to Row instead
6654         of Row pointer, adjust.
6655         (leftMargin): make it take a RowList::iterator as arg, adjust.
6656         (rowBreakPoint): adjust
6657         (breakAgainOneRow): make it take a RowList::iterator as arg,
6658         adjust.
6659         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6660
6661         * bufferview_funcs.C (toggleAndShow): adjust
6662
6663 2003-03-30  John Levon  <levon@movementarian.org>
6664
6665         * Makefile.am:
6666         * BoostFormat.h:
6667         * boost-inst.C: moved to support
6668
6669         * several files: changes as a result
6670
6671 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6672
6673         * text2.C (LyXText): adjust.
6674         (init): adjust
6675         (removeRow): make it take a RowList::iterator as arg, adjust.
6676         (fullRebreak): adjust
6677         (deleteEmptyParagraphMechanism): adjust
6678         (clearPaint): adjust
6679         (postPaint): adjust
6680
6681         * text.C (top_y): adjust
6682         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6683         (breakAgain): make it take a RowList::iterator as arg, adjust.
6684         (breakParagraph): adjust
6685         (insertChar): adjust
6686         (backspace): adjust
6687
6688         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6689         need_break_row, and refresh_row.
6690
6691         * text3.C (dispatch): adjust
6692
6693         * text2.C (checkParagraph): adjust
6694         (setCursor): adjust
6695         (setCursorFromCoordinates): adjust
6696
6697         * text.C (top_y): adjust
6698         (workWidth): adjust
6699         (getRow): make it return a RowList::iterator, adjust
6700         (getRowNearY): make it return a RowList::iterator, adjust
6701
6702         * text2.C (init): adjust
6703         (insertRow): remove function
6704         (insertParagraph): adjust
6705         (redoParagraphs): adjust
6706         (fullRebreak): adjust
6707         (updateCounters): adjust
6708
6709         * text.C (top_y): rewrite to use RowList iterators.
6710         (top_y): adjust
6711         (setHeightOfRow): rewrite to sue RowList iterators.
6712         (appendParagraph): adjust
6713         (breakAgain): adjust
6714         (breakAgainOneRow): adjust
6715         (breakParagraph): adjust
6716         (getRow): adjust
6717         (getRowNearY): adjust, and remove commented code.
6718
6719         * lyxtext.h (firstRow): delete function
6720         (lastRow): delete function
6721         (rows): new function (const and non-const versions.)
6722         (insertRow): delete function
6723
6724         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6725
6726 2003-03-29  John Levon  <levon@movementarian.org>
6727
6728         * BufferView_pimpl.C: always update scrollbar top
6729         because pasting text when we're anchored could mean we
6730         miss an update altogether
6731
6732 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6733
6734         * text2.C (init): use rowlist_.end() and not 0.
6735         (insertRow): change to take a RowList::iterator as arg, adjust
6736         for this.
6737         (insertParagraph): change to take a RowList::iterator as arg,
6738         adjust for this.
6739         (redoParagraphs): remove some debug msgs.
6740
6741         * text.C (appendParagraph): change to take a RowList::iterator
6742         arg, adjust for this.
6743         (breakAgain): add an assert
6744         (breakAgainOneRow): ditto
6745
6746 2003-03-29  John Levon  <levon@movementarian.org>
6747
6748         * text2.C: do not clear selection after inc/decDepth
6749         (bug 550)
6750
6751 2003-03-29  John Levon  <levon@movementarian.org>
6752
6753         * BufferView.C:
6754         * buffer.C: fix broken strerrors according to Lars
6755
6756 2003-03-29  John Levon  <levon@movementarian.org>
6757
6758         * converters.C: more Alert cleanups
6759
6760 2003-03-29  John Levon  <levon@movementarian.org>
6761
6762         * bufferview_funcs.C: remove pointless Alert
6763
6764         * buffer.C: fix confusing error message when
6765         a template is chmoded 000
6766
6767 2003-03-29  John Levon  <levon@movementarian.org>
6768
6769         * BufferView.C:
6770         * BufferView.h:
6771         * BufferView_pimpl.C: Alert fixes
6772
6773         * Makefile.am:
6774         * tabular.C:
6775         * tabular-old.C: remove unused table compat reading
6776
6777 2003-03-29  John Levon  <levon@movementarian.org>
6778
6779         * BufferView.C:
6780         * buffer.C:
6781         * lyx_cb.h:
6782         * lyx_cb.C: more Alert cleanups
6783
6784         * lyxfunc.C: don't allow chktex if not latex document
6785
6786 2003-03-29  John Levon  <levon@movementarian.org>
6787
6788         * lyx_cb.C:
6789         * BufferView.C:
6790         * buffer.C: warnings pushed down from support/,
6791         kill err_alert
6792
6793 2003-03-29  John Levon  <levon@movementarian.org>
6794
6795         * lyxfunc.C: safety check for C-r (revert)
6796
6797 2003-03-29  John Levon  <levon@movementarian.org>
6798
6799         * bufferlist.h:
6800         * bufferlist.C: several UI fixes using Alert::prompt.
6801         Fix the pointless looping quit code. Fix stupid revert
6802         behaviour (bug 938)
6803
6804         * lyxvc.h:
6805         * lyxvc.C:
6806         * lyx_cb.C: use Alert::prompt
6807
6808         * lyx_main.C: remove a silly question
6809
6810         * lyxfunc.C: remove a couple of silly questions,
6811         use Alert::prompt
6812
6813 2003-03-28  John Levon  <levon@movementarian.org>
6814
6815         * text2.C: fix bug 974 (End on empty par)
6816
6817 2003-03-28  John Levon  <levon@movementarian.org>
6818
6819         * BufferView_pimpl.C:
6820         * LyXAction.C:
6821         * lfuns.h: remove do-nothing math greek lfuns
6822
6823 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6824
6825         * lyxgluelength.h (isValidGlueLength): add default arg on
6826         parameter 2. Remove default arg from friend in class.
6827
6828         * lyxlength.h (isValidLength): add default arg on parameter 2.
6829         Remove default arg from friend in class.
6830
6831         * text2.C (LyXText): adjust, initialize refresh_row.
6832         (init): adjust
6833         (removeRow): adjust
6834         (insertRow): adjust
6835         (insertParagraph): adjst
6836         (redoParagraphs): adjust
6837         (fullRebreak): adjust
6838         (updateCounters): adjust
6839         (deleteEmptyParagraphMechanism): first attempt at fixing a
6840         crashing bug.
6841
6842         * text.C (top_y): adjust
6843         (setHeightOfRow): adjust
6844         (getRow): adjust
6845         (getRowNearY): adjust
6846
6847         * lyxtext.h: include RowList.h
6848         (~LyXText): not needed anymore, deleted.
6849         (firstRow): modify for RowList
6850         (lastRow): new function
6851         Delete firstrow and lastrow class variables, add a Rowlist
6852         rowlist_ class variable.
6853
6854         * lyxrow.C (lastPos): use empty() and not !size() to check if a
6855         paragraph is empty.
6856
6857         * RowList.C (insert): fix case where it == begin().
6858
6859 2003-03-26  Angus Leeming  <leeming@lyx.org>
6860
6861         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6862         the thesaurus dialog.
6863
6864 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
6865
6866         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6867
6868         * RowList.[Ch]: new files
6869
6870         * ParagraphList.C (erase): handle the case where it == begin
6871         correctly.
6872
6873 2003-03-25  John Levon  <levon@movementarian.org>
6874
6875         * Makefile.am:
6876         * aspell_local.h:
6877         * aspell.C: add new aspell support
6878
6879         * lyxrc.h:
6880         * lyxrc.C: Make use_pspell be use_spell_lib. Always
6881         have it accessible.
6882
6883 2003-03-25  Angus Leeming  <leeming@lyx.org>
6884
6885         * lfuns.h:
6886         * LyXAction.C (init): new LFUN_INSET_INSERT.
6887
6888         * BufferView_pimpl.C (dispatch): split out part of the
6889         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6890
6891         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6892         LFUN_INSET_APPLY.
6893
6894 2003-03-25  Angus Leeming  <leeming@lyx.org>
6895
6896         * lyxfunc.C (dispatch): changes to the Dialogs interface.
6897
6898 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
6899
6900         * text2.C:
6901         * text3.C: remove useless row->height(0)
6902
6903 2003-03-25  John Levon  <levon@movementarian.org>
6904
6905         * lyxtext.h:
6906         * text2.C:
6907         * text3.C: rename the refreshing stuff to better names
6908
6909 2003-03-24  John Levon  <levon@movementarian.org>
6910
6911         * BufferView_pimpl.h:
6912         * BufferView_pimpl.C: update layout choice on a mouse
6913         press/release
6914
6915 2003-03-23  John Levon  <levon@movementarian.org>
6916
6917         * Makefile.am: fix commandtags.h reference
6918
6919 2003-03-22  John Levon  <levon@movementarian.org>
6920
6921         * BufferView_pimpl.C:
6922         * lyxtext.h:
6923         * rowpainter.C:
6924         * rowpainter.h:
6925         * text.C:
6926         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6927
6928 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
6929
6930         * lyxtext.h:
6931         * text.C: take the rtl methods out of line
6932
6933 2003-03-21 André Pönitz <poenitz@gmx.net>
6934
6935         * metricsinfo.[Ch]: new files containing structures to be passed around
6936         during the two-phase-drawing...
6937
6938 2003-03-21 André Pönitz <poenitz@gmx.net>
6939
6940         * lyxtextclass.C: read 'environment' tag.
6941
6942 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
6943
6944         * text2.C (removeRow): fix bug 964
6945
6946 2003-03-20  John Levon  <levon@movementarian.org>
6947
6948         * rowpainter.C:
6949         * text.C:
6950         * text2.C: paint cleanups. Inset::update() dropped font
6951         parameter
6952
6953 2003-03-19  John Levon  <levon@movementarian.org>
6954
6955         * lyxfunc.C: only fitcursor/markDirty if available()
6956
6957 2003-03-19  John Levon  <levon@movementarian.org>
6958
6959         * commandtags.h: rename to ...
6960
6961         * lfuns.h: ... this, and renumber / cleanup
6962
6963 2003-03-19  John Levon  <levon@movementarian.org>
6964
6965         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6966         fit the cursor after an lfun
6967
6968         * BufferView.h:
6969         * BufferView.C:
6970         * BufferView_pimpl.h:
6971         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6972
6973         * LyXAction.C: layout-character should have ReadOnly
6974
6975         * ParagraphParameters.C:
6976         * buffer.C:
6977         * bufferview_funcs.C:
6978         * lyx_cb.C:
6979         * lyxfind.C:
6980         * lyxtext.h:
6981         * text.C:
6982         * text2.C:
6983         * text3.C:
6984         * undo_funcs.C: changes from above
6985
6986 2003-03-18  John Levon  <levon@movementarian.org>
6987
6988         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6989         remove it from update()
6990
6991         * lyxfunc.C: update layout choice after an lfun
6992
6993         * text3.C: remove extra updateLayoutChoice()s
6994
6995 2003-03-18  John Levon  <levon@movementarian.org>
6996
6997         * text.C: top_y change means full repaint, fix
6998         a drawing bug with cursor movement
6999
7000 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7001
7002         * lyxtext.h:
7003         * text.C:
7004         * text2.C: anchor row on setCursor
7005
7006 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7007
7008         * lyxtext.h: remove almost all mutable keywords
7009         * text.C:
7010         * text2.C:
7011         * text3.C: remove const keywords accordingly
7012
7013 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7014
7015         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7016         anon namespace
7017         (TeXEnvironment): ditto
7018         (TeXOnePar): ditto
7019
7020 2003-03-17  John Levon  <levon@movementarian.org>
7021
7022         * text.C (rowBreakPoint): remove attempt to fix displayed
7023         math insets inside a manual label
7024
7025 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7026
7027         * lyxtext.h: remove BufferView* as first arg from almost all class
7028         functions.
7029         * other files: adjust.
7030
7031 2003-03-17  John Levon  <levon@movementarian.org>
7032
7033         * lyxtext.h:
7034         * undo_funcs.C:
7035         * text2.C: more paint cleanups
7036
7037         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7038
7039         * rowpainter.h:
7040         * rowpainter.C: remove "smart" background painting code
7041
7042 2003-03-16  John Levon  <levon@movementarian.org>
7043
7044         * lyxtext.h:
7045         * text.C:
7046         * text2.C:
7047         * text3.C: add helper functions for setting refresh_row/y
7048
7049 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7050
7051         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7052         newline inset which *can* get inserted in the pass_thru layouts.
7053         This is primarily for literate documents.
7054
7055 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7056
7057         * buffer.C: increment LYX_FORMAT to 223
7058
7059 2003-03-14 André Pönitz <poenitz@gmx.net>
7060
7061         * textclass.h: prepare for environment handling, ws changes
7062         * lyxlayout.C: read latexheader and latexfooter tags
7063
7064 2003-03-14  John Levon  <levon@movementarian.org>
7065
7066         * text2.C: rewrite ::status() a bit
7067
7068 2003-03-13  John Levon  <levon@movementarian.org>
7069
7070         * lyxtext.h: add some docs
7071
7072 2003-03-13  John Levon  <levon@movementarian.org>
7073
7074         * lyxtext.h:
7075         * text.C:
7076         * text2.C:
7077         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7078
7079 2003-03-13  John Levon  <levon@movementarian.org>
7080
7081         * text3.C: fix appendix redrawing
7082
7083 2003-03-13  John Levon  <levon@movementarian.org>
7084
7085         * text.C (setHeightOfRow):
7086         * rowpainter.h:
7087         * rowpainter.C: make appendix mark have the text
7088           "Appendix" so the user knows what it is
7089
7090         * LColor.h:
7091         * LColor.C: s/appendixline/appendix/ from above
7092
7093 2003-03-13  John Levon  <levon@movementarian.org>
7094
7095         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7096
7097         * text.C: fix a getChar(pos) bug properly
7098
7099 2003-03-13  Angus Leeming  <leeming@lyx.org>
7100
7101         * commandtags.h:
7102         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7103         Probably only temporary. Let's see how things pan out.
7104
7105         * BufferView.C (unlockInset):
7106         * BufferView_pimpl.C (fitCursor):
7107         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7108
7109         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7110         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7111
7112         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7113         new functions that convert ParagraphParameters to and from a string.
7114
7115         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7116         BufferView::Pimpl's dispatch.
7117         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7118
7119 2003-03-13 André Pönitz <poenitz@gmx.net>
7120
7121         * lyxfunc.C:
7122         * text3.C:
7123         * factory.C: make it aware of InsetEnv
7124
7125 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7126
7127         * text2.C (setCursor): never ask for one past last
7128         (setCursor): add some debugging messages.
7129
7130         * text.C (singleWidth): never ask for one past last
7131         (singleWidth): ditto
7132         (leftMargin): ditto
7133         (rightMargin): ditto
7134         (rowBreakPoint): ditto
7135         (setHeightOfRow): ditto
7136         (prepareToPrint): ditto
7137
7138         * rowpainter.C (paintBackground): never ask for one past last
7139         (paintText): never ask for one past last
7140
7141         * paragraph_pimpl.C (getChar): make the assert stricter, never
7142         allow the one past last pos to be taken
7143
7144         * paragraph.C (getChar): ws changes only
7145
7146         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7147         (numberOfSeparators): ditto
7148         (numberOfHfills): ditto
7149
7150 2003-03-12  John Levon  <levon@movementarian.org>
7151
7152         * author.h:
7153         * author.C:
7154         * bufferparams.h:
7155         * bufferparams.C:
7156         * paragraph_funcs.C: fix per-buffer authorlists
7157
7158 2003-03-12  John Levon  <levon@movementarian.org>
7159
7160         * text.C: fix newline in right address
7161
7162 2003-03-12  Angus Leeming  <leeming@lyx.org>
7163
7164         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7165         duplicate those in LyXFunc::dispatch.
7166
7167         * commandtags.h:
7168         * LyXAction.C:
7169         * ToolbarDefaults.C:
7170         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7171         Add LFUN_FONTFREE_UPDATE.
7172
7173         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7174         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7175
7176         * bufferview_func.[Ch]: several new functions to facilliate
7177         transfer of data to and from the character dialog.
7178
7179 2003-03-12  John Levon  <levon@movementarian.org>
7180
7181         * buffer.C:
7182         * paragraph.h:
7183         * paragraph.C:
7184         * paragraph_funcs.C:
7185         * paragraph_pimpl.C:
7186         * sgml.C:
7187         * tabular.C:
7188         * text.C:
7189         * text3.C: remove META_NEWLINE in favour of an inset
7190
7191         * rowpainter.h:
7192         * rowpainter.C: remove paintNewline (done by inset)
7193
7194 2003-03-12  John Levon  <levon@movementarian.org>
7195
7196         * paragraph_pimpl.C: complain about bad getChar()s
7197         for a while at least
7198
7199 2003-03-12  John Levon  <levon@movementarian.org>
7200
7201         * buffer.h:
7202         * buffer.C: move paragraph read into a separate function,
7203         a little renaming to reflect that.
7204
7205         * bufferparams.h:
7206         * bufferparams.C: remove the author_ids map, not necessary now
7207
7208         * factory.h:
7209         * factory.C: moved Buffer::readInset to here
7210
7211         * paragraph_funcs.h:
7212         * paragraph_funcs.C: readParagraph free function moved from
7213         buffer.C
7214
7215         * tabular.C: name change
7216
7217 2003-03-12  John Levon  <levon@movementarian.org>
7218
7219         * buffer.C:
7220         * ParagraphParameters.C: move par params input to
7221         a read() method
7222
7223         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7224         behave like a normal read from the stream wrt reading
7225         a line vs. a \\token
7226
7227 2003-03-12  John Levon  <levon@movementarian.org>
7228
7229         * paragraph.C:
7230         * ParagraphParameters.h:
7231         * ParagraphParameters.C: move output code to a
7232         ::write() method
7233
7234 2003-03-12  John Levon  <levon@movementarian.org>
7235
7236         * BufferView.C (insertLyXFile):
7237         * buffer.h:
7238         * buffer.C:
7239         * tabular.C: use a parlist iterator for creating the
7240           document.
7241
7242 2003-03-12  John Levon  <levon@movementarian.org>
7243
7244         * buffer.C: make current_change static local not
7245           static file-scope
7246
7247 2003-03-12  John Levon  <levon@movementarian.org>
7248
7249         * buffer.C: fix insertStringAsLines for change tracking
7250
7251 2003-03-12  John Levon  <levon@movementarian.org>
7252
7253         * BufferView.C:
7254         * tabular.C:
7255         * buffer.h:
7256         * buffer.C:
7257         * bufferparams.h:
7258         * bufferparams.C: move author list into params. Rename some
7259           functions. Move the header reading into a separate token
7260           loop. Move the header token reading into BufferParams.
7261
7262 2003-03-12  John Levon  <levon@movementarian.org>
7263
7264         * changes.C: put debug inside lyxerr.debugging() checks
7265
7266 2003-03-11 André Pönitz <poenitz@gmx.net>
7267
7268         * factory.C: make it aware of InsetHFill
7269
7270 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7271
7272         * buffer.C (latexParagraphs): move function from here...
7273         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7274         args.
7275
7276 2003-03-10  Angus Leeming  <leeming@lyx.org>
7277
7278         * LyXAction.C (init): fix bug in poplating array with multiple entries
7279         with the same LFUN (spotted by JMarc).
7280
7281 2003-03-10  John Levon  <levon@movementarian.org>
7282
7283         * text.C:
7284         * text2.C: move getColumnNearX() near its
7285         only call site
7286
7287 2003-03-10  John Levon  <levon@movementarian.org>
7288
7289         * text.C: fix break before a minipage
7290
7291 2003-03-10  John Levon  <levon@movementarian.org>
7292
7293         * text.C: fix the last commit
7294
7295 2003-03-09  John Levon  <levon@movementarian.org>
7296
7297         * lyxtext.h:
7298         * text.C:
7299         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7300         bug 365 (don't break before insets unless needed). Don't
7301         return a value > last under any circumstances.
7302
7303 2003-03-09  Angus Leeming  <leeming@lyx.org>
7304
7305         * BufferView_pimpl.C (trackChanges, dispatch): call
7306         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7307
7308 2003-03-09  Angus Leeming  <leeming@lyx.org>
7309
7310         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7311         than Dialogs::showAboutlyx().
7312
7313 2003-03-09  Angus Leeming  <leeming@lyx.org>
7314
7315         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7316         than Dialogs::showTabularCreate().
7317
7318 2003-03-09  John Levon  <levon@movementarian.org>
7319
7320         * lyxtext.h:
7321         * text.C:
7322         * text2.C: 3rd arg to nextBreakPoint was always the same.
7323           Use references.
7324
7325 2003-03-08  John Levon  <levon@movementarian.org>
7326
7327         * lyxrow.C:
7328         * paragraph.C:
7329         * paragraph.h:
7330         * rowpainter.C:
7331         * text.C:
7332         * text2.C: Remove the "main" bit from the "main body"
7333           notion.
7334
7335 2003-03-08  John Levon  <levon@movementarian.org>
7336
7337         * text.C (leftMargin): The left margin of an empty
7338         manual label paragraph should not include the label width
7339         string length.
7340
7341         * text.C (prepareToPrint): don't attempt to measure hfills
7342         for empty manual label paragraphs - the answer should be 0
7343
7344 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7345
7346         * CutAndPaste.C: remove commented code and reindent.
7347
7348 2003-03-08  John Levon  <levon@movementarian.org>
7349
7350         * lyxfunc.h:
7351         * lyxfunc.C: move reloadBuffer()
7352
7353         * BufferView.h:
7354         * BufferView.C: to here
7355
7356         * lyxvc.C: add comment
7357
7358         * vc-backend.h:
7359         * vc-backend.C: call bv->reload() to avoid
7360           getStatus() check on MENURELOAD
7361
7362 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7363
7364         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7365         to an old format .dep file.
7366
7367 2003-03-07  Angus Leeming  <leeming@lyx.org>
7368
7369         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7370         when the LFUN_MOUSE_RELEASE should have been handled by
7371         inset->localDispatch.
7372
7373 2003-03-07  Angus Leeming  <leeming@lyx.org>
7374
7375         * BufferView_pimpl.C (dispatch):
7376         * LyXAction.C (init):
7377         * ToolbarDefaults.C (init):
7378         * commandtags.h:
7379         * lyxfunc.C (getStatus):
7380         remove LFUN_INSET_GRAPHICS.
7381
7382         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7383
7384 2003-03-07  Angus Leeming  <leeming@lyx.org>
7385
7386         * commandtags.h:
7387         * LyXAction.C (init):
7388         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7389
7390         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7391
7392         * commandtags.h:
7393         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7394
7395         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7396         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7397
7398 2003-03-07  Angus Leeming  <leeming@lyx.org>
7399
7400         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7401         remove "ert".
7402
7403 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7404
7405         * ParagraphList.C (front): new function
7406         (back): implement
7407
7408 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7409
7410         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7411         and top_row_offset_. removed var first_y.
7412         * text.C (top_y):
7413         * text2.C (LyXText, removeRow):
7414         * text3.C:
7415         * BufferView_pimpl.C:
7416         use these methods instead of using first_y
7417
7418 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7419
7420         * text2.C (pasteSelection): adjust for checkPastePossible
7421
7422         * CutAndPaste.C: remove Paragraph * buf and replace with
7423         ParagraphList paragraphs.
7424         (DeleteBuffer): delete
7425         (cutSelection): change the tc type to textclass_type
7426         (copySelection): change the tc type to textclass_type
7427         (copySelection): adjust for ParagraphList
7428         (pasteSelection): change the tc type to textclass_type
7429         (pasteSelection): adjust for Paragraphlist
7430         (nrOfParagraphs): simplify for ParagraphList
7431         (checkPastePossible): simplify for ParagraphList
7432         (checkPastePossible): remove unused arg
7433
7434         * ParagraphList.C (insert): handle the case where there are no
7435         paragraphs yet.
7436
7437         * CutAndPaste.h: make CutAndPaste a namespace.
7438
7439         * text3.C (dispatch): adjust
7440
7441         * text.C (breakParagraph): add a ParagraphList as arg
7442
7443         * paragraph_funcs.C (breakParagraph): change to take a
7444         BufferParams and a ParagraphList as args.
7445         (breakParagraphConservative): ditto
7446         (mergeParagraph): ditto
7447         (TeXDeeper): add a ParagraphList arg
7448         (TeXEnvironment): ditto
7449         (TeXOnePar): ditto
7450
7451         * buffer.C (readLyXformat2): adjust
7452         (insertStringAsLines): adjust
7453         (latexParagraphs): adjust
7454
7455         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7456         (cutSelection): adjust
7457         (pasteSelection): adjust
7458
7459         * BufferView_pimpl.C (insertInset): adjust
7460
7461 2003-03-05  Angus Leeming  <leeming@lyx.org>
7462
7463         * commandtags.h:
7464         * LyXAction.C (init):
7465         * BufferView_pimpl.C (dispatch):
7466         * lyxfunc.C (getStatus):
7467         remove LFUN_CHILD_INSERT.
7468
7469         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7470
7471 2003-03-05  Angus Leeming  <leeming@lyx.org>
7472
7473         * commandtags.h:
7474         * LyXAction.C (init):
7475         * src/factory.C (createInset):
7476         * lyxfunc.C (getStatus):
7477         * text3.C (dispatch):
7478         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7479
7480         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7481
7482 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7483
7484         * ParagraphList.C (insert): handle insert right before end()
7485         (erase): fix cases where it can be first or last paragraph.
7486
7487 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7488
7489         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7490         Paragraph::next and Paragraph::previous
7491         (TeXOnePar): ditto
7492
7493         * text.C (breakParagraph): adjust
7494
7495         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7496         BufferParams& as arg.
7497         (breakParagraph): use ParagraphList::insert
7498         (breakParagraphConservative): take a Buffer* instead of a
7499         BufferParams& as arg.
7500         (breakParagraphConservative): use ParagraphList::insert.
7501
7502         * buffer.C (insertStringAsLines): un-const it
7503         (insertStringAsLines): adjust
7504
7505         * ParagraphList.C (insert): new function
7506
7507         * CutAndPaste.C (pasteSelection): adjust
7508
7509         * text.C (backspace): adjust
7510
7511         * tabular.C (SetMultiColumn): adjust
7512
7513         * CutAndPaste.C (cutSelection): adjust
7514         (pasteSelection): adjust
7515
7516         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7517         Buffer const * as arg
7518
7519         * ParagraphList.C (erase): new function
7520         * paragraph_funcs.C (mergeParagraph): use it
7521         (mergeParagraph): make it take a Buffer* instead of a
7522         BufferParams* as arg
7523
7524         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7525         as arg
7526         (breakParagraphConservative): ditto
7527
7528         * paragraph.h: remove the breakParagraph friend
7529
7530         * paragraph.C (eraseIntern): new function
7531         (setChange): new function
7532
7533         * paragraph_funcs.C (mergeParagraph): make it take a
7534         ParagraphList::iterator instead of a Paragraph *, adjust
7535         accordingly.
7536
7537         * paragraph.h: move an #endif so that the change tracking stuff
7538         also works in the NO_NEXT case.
7539
7540 2003-03-04  Angus Leeming  <leeming@lyx.org>
7541
7542         * commandtags.h:
7543         * LyXAction.C: new LFUN_INSET_MODIFY.
7544
7545         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7546         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7547
7548 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7549
7550         * several files: ws changes only
7551
7552         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7553         (TeXEnvironment): ditto
7554         (TeXDeeper): ditto
7555
7556         * buffer.C (makeLaTeXFile): adjust
7557         (latexParagraphs): make it take ParagraphList::iterator as args
7558
7559 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7560
7561         * buffer.C (latexParagraphs): adjust
7562
7563         * paragraph.C (TeXOnePar): move function...
7564         (optArgInset): move function...
7565         (TeXEnvironment): move function...
7566         * paragraph_pimpl.C (TeXDeeper): move function...
7567         * paragraph_funcs.C: ...here
7568
7569         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7570
7571 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7572
7573         * buffer.C (readInset): remove compability code for old Figure and
7574         InsetInfo insets
7575
7576 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7577
7578         * buffer.C: ws changes
7579         (readInset):
7580
7581         * BufferView_pimpl.C: ditto
7582         * author.C: ditto
7583         * buffer.h: ditto
7584         * bufferlist.h: ditto
7585         * changes.h: ditto
7586         * lyxfunc.C: ditto
7587
7588 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7589
7590         * converter.[Ch]: split into itself +
7591         * graph.[Ch]
7592         * format.[Ch]
7593         * Makefile.am: += graph.[Ch] + format.[Ch]
7594         * MenuBackend.C
7595         * buffer.C
7596         * exporter.C
7597         * importer.C
7598         * lyx_main.C
7599         * lyxfunc.C
7600         * lyxrc.C: added #include "format.h"
7601
7602 2003-02-27  Angus Leeming  <leeming@lyx.org>
7603
7604         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7605           a label.
7606
7607         * factory.C (createInset): add "label" to the factory.
7608
7609         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7610           string and do no more.
7611
7612 2003-02-27  Angus Leeming  <leeming@lyx.org>
7613
7614         * commandtags.h:
7615         * LyXAction.C (init):
7616         * factory.C (createInset):
7617         * BufferView_pimpl.C (dispatch):
7618           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7619
7620         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7621
7622         * lyxfunc.C (dispatch):
7623         * text3.C (dispatch): pass name to params2string.
7624
7625 2003-02-26  Angus Leeming  <leeming@lyx.org>
7626
7627         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7628           blocks together.
7629           Rearrange the ~includes. Strip out the unnecessary ones.
7630
7631         * factory.C (createInset): reformat.
7632           create new insets for the various LFUN_XYZ_APPLY lfuns.
7633
7634 2003-02-26  John Levon  <levon@movementarian.org>
7635
7636         * lyxrow.h:
7637         * lyxrow.C: add isParStart,isParEnd helpers
7638
7639         * paragraph.h: make isInserted/DeletedText take refs
7640
7641         * paragraph_funcs.h:
7642         * paragraph_funcs.C: remove #if 0'd code
7643
7644         * lyxtext.h:
7645         * text3.C:
7646         * text2.C:
7647         * text.C: use lyxrow helpers above.
7648           Move draw and paint routines to RowPainter.
7649           Make several methods use refs not pointers.
7650           Make backgroundColor() const.
7651           Add markChangeInDraw(), isInInset().
7652           Merge changeRegionCase into changeCase.
7653           Make workWidth() shouldn't-happen code into an Assert.
7654
7655         * rowpainter.h:
7656         * rowpainter.C: new class for painting a row.
7657
7658         * vspace.h:
7659         * vspace.C: make inPixels take a ref
7660
7661 2003-02-26  Angus Leeming  <leeming@lyx.org>
7662
7663         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7664         LFUN_REF_APPLY.
7665
7666 2003-02-25  John Levon  <levon@movementarian.org>
7667
7668         * ispell.C: give the forked command a more accurate name
7669
7670 2003-02-22  John Levon  <levon@movementarian.org>
7671
7672         * toc.h:
7673         * toc.C: make TocItem store an id not a Paragraph *
7674           (bug #913)
7675
7676 2003-02-21  Angus Leeming  <leeming@lyx.org>
7677
7678         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7679           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7680           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7681           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7682           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7683           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7684
7685         * BufferView_pimpl.C (dispatch):
7686         * LyXAction.C (init):
7687         * factory.C (createInset):
7688         * lyxfunc.C (getStatus, dispatch):
7689         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7690
7691 2003-02-21  Angus Leeming  <leeming@lyx.org>
7692
7693         * BufferView_pimpl.C (MenuInsertLyXFile):
7694         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7695         * lyxfunc.C (menuNew, open, doImport):
7696           no longer pass a LyXView & to fileDlg.
7697
7698 2003-02-21  Angus Leeming  <leeming@lyx.org>
7699
7700         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7701         * LyXAction.C: change, BIBKEY to BIBITEM.
7702         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7703         Change InsetBibKey to InsetBibitem.
7704         Change BIBKEY_CODE to BIBITEM_CODE.
7705         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7706         * factory.C: replace insetbib.h with insetbibitem.h.
7707         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7708         * paragraph.C: replace insetbib.h with insetbibitem.h.
7709         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7710         Change bibkey() to bibitem().
7711         * text.C: remove insetbib.h.
7712         * text2.C: replace insetbib.h with insetbibitem.h.
7713         change bibkey() to bibitem().
7714         * text3.C: remove insetbib.h.
7715         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7716
7717 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7718
7719         * lyxrc.C (output): enclose user email in quotes (in case there are
7720         several words)
7721
7722 2003-02-18  John Levon  <levon@movementarian.org>
7723
7724         * buffer.h: add std::
7725
7726 2003-02-17  John Levon  <levon@movementarian.org>
7727
7728         * SpellBase.h:
7729         * ispell.h:
7730         * ispell.C:
7731         * pspell.h:
7732         * pspell.C: reworking. Especially in ispell, a large
7733           number of clean ups and bug fixes.
7734
7735         * lyxfunc.C: fix revert to behave sensibly
7736
7737 2003-02-17 André Pönitz <poenitz@gmx.net>
7738
7739         * LyXAction.C:
7740         * commandtags.h: new LFUN_INSERT_BIBKEY
7741
7742         * layout.h:
7743         * lyxlayout.C:
7744         * buffer.C:
7745         * factory.C:
7746         * text.C:
7747         * text2.C:
7748         * text3.C:
7749         * paragraph.[Ch]:
7750         * paragraph_func.C: remove special bibkey handling
7751
7752 2003-02-17  John Levon  <levon@movementarian.org>
7753
7754         * text.C (Delete): fix case where delete at the end of
7755           the very first paragraph would not merge the pars
7756
7757 2003-02-17  John Levon  <levon@movementarian.org>
7758
7759         * lyxrow.C: fix lastPrintablePos()
7760
7761 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7762
7763         * bufferparams.C (writeLaTeX): add a std:here
7764
7765         * buffer.C: and remove a using directive there
7766
7767 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7768
7769         * buffer.C (makeLaTeXFile): move the code that generates the
7770           preamble...
7771
7772         * bufferparams.C (writeLaTeX): ... in this new method
7773
7774         * LaTeXFeatures.C (getEncodingSet): make const
7775           (getLanguages): make const
7776
7777         * MenuBackend.C (binding): returns the binding associated to this
7778           action
7779           (add): sets the status of each item by calling getStatus. Adds
7780           some intelligence.
7781           (read): add support for OptSubMenu
7782           (expand): remove extra separator at the end of expanded menu
7783
7784 2003-02-15  John Levon  <levon@movementarian.org>
7785
7786         * BufferView.C:
7787         * BufferView_pimpl.C:
7788         * bufferlist.h:
7789         * bufferlist.C: remove pointless BufferStorage bloat. Remove
7790           inset code that had no actual effect. Remove unneeded status
7791           code.
7792
7793 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7794
7795         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7796           in preamble
7797
7798 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
7799
7800         * text.C (drawLengthMarker): also draw an arrow marker for
7801           symbolic lengths (medskip...)
7802
7803 2003-02-14  John Levon  <levon@movementarian.org>
7804
7805         * tabular.h:
7806         * tabular.C: better method names
7807
7808 2003-02-14  John Levon  <levon@movementarian.org>
7809
7810         * BufferView_pimpl.C:
7811         * bufferlist.C:
7812         * buffer.C:
7813         * converter.C:
7814         * lyx_cb.C:
7815         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7816           it's a more accurate name. Remove some pointless uses.
7817
7818 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7819
7820         * text2.C (LyXText): change order of initilizers to shut off
7821           warnings
7822
7823 2003-02-14  John Levon  <levon@movementarian.org>
7824
7825         * buffer.C: use ParIterator for getParFromID()
7826
7827         * paragraph.h:
7828         * paragraph.C:
7829         * paragraph_pimpl.h:
7830         * paragraph_pimpl.C: remove unused getParFromID()
7831
7832 2003-02-14  John Levon  <levon@movementarian.org>
7833
7834         * buffer.C: remove some very old #if 0'd parse code
7835
7836 2003-02-13  John Levon  <levon@movementarian.org>
7837
7838         * text.h:
7839         * text.C:
7840         * text2.C: move hfillExpansion(), numberOfSeparators(),
7841           rowLast(), rowLastPrintable(), numberofHfills(),
7842           numberOfLabelHfills() ...
7843
7844         * lyxrow.h:
7845         * lyxrow.C: ... to member functions here.
7846
7847         * paragraph.h:
7848         * paragraph.C:
7849         * lyxtext.h:
7850         * text.C: remove LyXText::beginningOfMainBody(), and call
7851           p->beginningOfMainBody() directly. Move the check for
7852           LABEL_MANUAL into the latter.
7853
7854         * text.h:
7855         * text.C:
7856         * text2.C:
7857         * vspace.C:
7858         * BufferView.h:
7859         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7860
7861         * text.h:
7862         * text.C:
7863         * text2.C:
7864         * text3.C:
7865         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7866           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7867
7868 2003-02-13  John Levon  <levon@movementarian.org>
7869
7870         * CutAndPaste.C: remove debug
7871
7872 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7873
7874         * paragraph.C (asString): remove two unused variables
7875
7876         * lyxtextclass.C (readTitleType):
7877           (Read):
7878           (LyXTextClass): handle new members titletype_ and titlename_
7879
7880         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7881
7882 2003-02-09  John Levon  <levon@movementarian.org>
7883
7884         * buffer.h:
7885         * buffer.C: replace hand-coded list with a map for the dep clean
7886
7887 2003-02-08  John Levon  <levon@movementarian.org>
7888
7889         * LaTeX.C: consolidate code into showRunMessage() helper
7890
7891 2003-02-08  John Levon  <levon@movementarian.org>
7892
7893         * lyxfind.C:
7894         * lyxtext.h:
7895         * text2.C:
7896         * BufferView.C: change setSelectionOverString() to setSelectionRange()
7897           and pass the size in explicitly
7898
7899         * BufferView_pimpl.h:
7900         * BufferView_pimpl.C:
7901         * BufferView.h:
7902         * BufferView.C: add getCurrentChange()
7903
7904         * BufferView_pimpl.h:
7905         * BufferView_pimpl.C: handle change lfuns
7906
7907         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7908           for changes. Mark pasted paragraphs as new.
7909
7910         * support/lyxtime.h:
7911         * support/lyxtime.C:
7912         * DepTable.C: abstract time_t as lyx::time_type
7913
7914         * LColor.h:
7915         * LColor.C: add colours for new text, deleted text, changebars
7916
7917         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7918           package use "usenames" option.
7919
7920         * commandtags.h:
7921         * lyxfunc.C:
7922         * LyXAction.C: add change lfuns
7923
7924         * Makefile.am:
7925         * author.h:
7926         * author.C: author handling
7927
7928         * buffer.h:
7929         * buffer.C: add a per-buffer author list, with first entry as
7930           current author. Handle new .lyx tokens for change tracking. Output
7931           author list to .lyx file. Output dvipost stuff to .tex preamble.
7932           Bump lyx format to 222.
7933
7934         * bufferlist.h:
7935         * bufferlist.C: add setCurrentAuthor() to reset current author details
7936           in all buffers.
7937
7938         * bufferparams.h:
7939         * bufferparams.C: add param for tracking
7940
7941         * bufferview_funcs.C: output change info in minibuffer
7942
7943         * Makefile.am:
7944         * changes.h:
7945         * changes.C: add change-tracking structure
7946
7947         * debug.h:
7948         * debug.C: add CHANGES debug flag
7949
7950         * lyxfind.h:
7951         * lyxfind.C: add code for finding the next change piece
7952
7953         * lyxrc.h:
7954         * lyxrc.C: add user_name and user_email
7955
7956         * lyxrow.h:
7957         * lyxrow.C: add a metric for the top of the text line
7958
7959         * lyxtext.h:
7960         * text.C: implement accept/rejectChange()
7961
7962         * lyxtext.h:
7963         * text.C: paint changebars. Paint new/deleted text in the chosen
7964         colours. Strike through deleted text.
7965
7966         * paragraph.h:
7967         * paragraph.C:
7968         * paragraph_pimpl.h:
7969         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7970           in the current change to the insert functions. Rework erase to
7971           mark text as deleted, adding an eraseIntern() and a range-based
7972           erase(). Implement per-paragraph change lookup and
7973           accept/reject.
7974
7975         * paragraph_funcs.C: Fixup paste for change tracking.
7976
7977         * tabular.C: mark added row/columns as new.
7978
7979         * text.C: fix rowLast() to never return -1. Don't allow
7980           spellchecking of deleted text. Track transpose changes. Don't
7981           allow paragraph break or merge where appropriate.
7982
7983         * text2.C: leave cursor at end of selection after a cut.
7984
7985 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7986
7987         * text.C (getLengthMarkerHeight):
7988         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7989         visible on screen too.
7990
7991 2003-02-07  John Levon  <levon@movementarian.org>
7992
7993         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7994
7995 2003-02-05  Angus Leeming  <leeming@lyx.org>
7996
7997         * lyxserver.C (read_ready): revert my patch of 11 September last year
7998         as it sends PC cpu through the roof. Presumably this means that
7999         the lyxserver will no longer run on an Alpha...
8000
8001 2003-01-30  Angus Leeming  <leeming@lyx.org>
8002
8003         * factory.C (createInset): create an InsetCommandParam of type "index"
8004         and use it to 'do the right thing'.
8005
8006         * text2.C (getStringToIndex): ensure that cursor position is always
8007         reset to the reset_cursor position.
8008
8009 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8010
8011         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8012         disabled.
8013
8014 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8015
8016         * bufferview.C:
8017         * lyxcb.C:
8018         * lyxfunc.C: Output messages with identical spelling, punctuation,
8019         and spaces
8020
8021 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8022
8023         * MenuBackend.C (expandFormats): List only viewable export formats
8024         in "View" menu
8025
8026         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8027         message
8028
8029         * lyxfunc.C (getStatus): Make sure that formats other than
8030         "fax" can also be disabled
8031
8032 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8033
8034         * text3.C (dispatch): put the lfuns that insert insets in 3
8035         groups, and call doInsertInset with appropriate arguments.
8036         (doInsertInset): new function, that creates an inset and inserts
8037         it according to some boolean parameters.
8038
8039 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8040
8041         * buffer.C (readFile): remember to pass on 'par' when calling
8042         readFile recursively.
8043
8044 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8045
8046         * MenuBackend.C (expandFormats): add "..." to import formats.
8047
8048 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8049
8050         * paragraph.C (asString): Remove XForms RTL hacks.
8051
8052 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8053         * buffer.C: fix typo
8054
8055 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8056
8057         * Makefile.am (LIBS): delete var
8058         (lyx_LDADD): add @LIBS@ here instead.
8059
8060 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8061
8062         * Clarify the meaning of "wheel mouse jump"
8063
8064 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8065
8066         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8067         tabular in a float
8068
8069 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8070
8071         * importer.C (Loaders): do not preallocate 3 elements in the
8072         vector, since one ends up with 6 elements otherwise
8073
8074 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8075
8076         * DepTable.C (write): write the file name as last element of the
8077         .dep file (because it may contain spaces)
8078         (read): read info in the right order
8079
8080 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8081
8082         * paragraph_pimpl.C (simpleTeXBlanks):
8083         (simpleTeXSpecialChars):
8084         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8085
8086         * tabular.C (latex): add some missing case statements. Reindent.
8087
8088         * MenuBackend.C (expandToc): remove unused variable.
8089
8090 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8091
8092         * LColor.C:
8093         * LaTeX.C:
8094         * LyXAction.C:
8095         * MenuBackend.C:
8096         * buffer.C:
8097         * exporter.C:
8098         * lyxfunc.C:
8099         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8100         and the like.
8101
8102 2003-01-05  John Levon  <levon@movementarian.org>
8103
8104         * BufferView.h:
8105         * BufferView.C: add getEncoding()
8106
8107         * kbsequence.h:
8108         * kbsequence.C: do not store last keypress
8109
8110         * lyxfunc.h:
8111         * lyxfunc.C: store last keypress here instead. Pass encoding
8112           to getISOEncoded()
8113
8114 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8115
8116         * lyx_main.C (init): remove annoying error message when following
8117         symbolic links (bug #780)
8118
8119 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8120
8121         * text.C (insertChar):
8122         * lyxrc.C (getDescription): remove extra spaces
8123
8124 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8125
8126         * lyxrc.C (getDescription): remove extra spaces
8127
8128 2002-12-20  John Levon  <levon@movementarian.org>
8129
8130         * text3.C: hack fix for page up/down across tall rows
8131
8132 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8133
8134         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8135         not been invoked
8136
8137 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8138
8139         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8140         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8141         thesaurus is not compiled in
8142
8143 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8144
8145         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8146
8147 2002-12-16  Angus Leeming  <leeming@lyx.org>
8148
8149         * lyxrc.[Ch]:
8150         * lyx_main.C (init): remove override_x_deadkeys stuff.
8151
8152 2002-12-12  John Levon  <levon@movementarian.org>
8153
8154         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8155           insert. Only remove shift modifier under strict
8156           circumstances.
8157
8158 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8159
8160         * MenuBackend.C (expandToc): fix crash.
8161
8162 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8163
8164         * MenuBackend.C (expandToc): gettext on float names.
8165
8166 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8167
8168         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8169         implement bool empty() [bug 490]
8170
8171 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8172
8173         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8174
8175 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8176
8177         * several files: ws changes
8178
8179 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8180
8181         * text2.C (setCounter): clean up a bit, use boost.format.
8182         (updateCounters): initialize par upon declaration.
8183
8184         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8185         if the layout exists. We do not just store the layout any more.
8186         (SwitchLayoutsBetweenClasses): use boost.format
8187
8188 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8189
8190         * converter.C (convert): if from and to files are the same, use a
8191         temporary files as intermediary
8192
8193 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8194
8195         * commandtags.h:
8196         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8197
8198 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8199
8200         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8201
8202 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8203
8204         * tabular.C (asciiPrintCell): use string(size, char) instead of
8205         explicit loop.
8206
8207         * sgml.C (openTag): fix order of arguments to string constructor
8208         (closeTag): ditto
8209
8210         * lyxfunc.C (dispatch): use boost.format
8211
8212         * lots of files: change "c" -> 'c'
8213
8214 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8215
8216         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8217
8218 2002-11-25  Angus Leeming  <leeming@lyx.org>
8219
8220         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8221
8222         * lyx_main.C (init): compile fix.
8223
8224 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8225
8226         * lyx_cb.C (start): boost.formatify
8227         do not include <iostream>
8228
8229         * lengthcommon.C: ws only
8230
8231         * boost-inst.C,BoostFormat.h: add more explict instantations
8232
8233 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8234
8235         * lots of files: handle USE_BOOST_FORMAT
8236
8237 2002-11-21  John Levon  <levon@movementarian.org>
8238
8239         * pspell.C: fix compile
8240
8241 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8242
8243         * lyxfunc.C (dispatch): use boost::format
8244         (open): ditto
8245         (doImport): ditto
8246
8247         * lyxfont.C (stateText): use boost::format
8248
8249         * lyx_main.C (LyX): use boost::format
8250         (init): ditto
8251         (queryUserLyXDir): ditto
8252         (readRcFile): ditto
8253         (parse_dbg): ditto
8254         (typedef boost::function): use the recommened syntax.
8255
8256         * importer.C (Import): use boost::format
8257
8258         * debug.C (showLevel): use boost::format
8259
8260         * converter.C (view): use boost::format
8261         (convert): ditto
8262         (move): ditto
8263         (scanLog): ditto
8264
8265         * bufferview_funcs.C (currentState): use boost::format
8266
8267         * bufferlist.C (emergencyWrite): use boost::format
8268
8269         * buffer.C (readLyXformat2): use boost::format
8270         (parseSingleLyXformat2Token): ditto
8271
8272         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8273
8274         * LaTeX.C (run): use boost::format
8275
8276         * Chktex.C (scanLogFile): use boost::format
8277
8278         * BufferView_pimpl.C (savePosition): use boost::format
8279         (restorePosition): ditto
8280         (MenuInsertLyXFile): ditto
8281
8282         * BoostFormat.h: help file for explicit instation.
8283
8284 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8285
8286         * tabular.C (latex): Support for block alignment in fixed width
8287         columns.
8288
8289 2002-11-17  John Levon  <levon@movementarian.org>
8290
8291         * BufferView_pimpl.C:
8292         * lyx_cb.C:
8293         * lyxfunc.C: split filedialog into open/save
8294
8295 2002-11-08  Juergen Vigna  <jug@sad.it>
8296
8297         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8298         by my last patch (hopefully).
8299
8300 2002-11-08  John Levon  <levon@movementarian.org>
8301
8302         * iterators.h:
8303         * iterators.C:
8304         * buffer.h:
8305         * buffer.C:
8306         * paragraph.h:
8307         * paragraph.C:
8308         * toc.h:
8309         * toc.C: ParConstIterator, and use it (from Lars)
8310
8311 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8312
8313         * lyxtextclass.[Ch]: revise and add doxygen comments
8314
8315 2002-11-07  John Levon  <levon@movementarian.org>
8316
8317         * text.C: fix progress value for spellchecker
8318
8319         * toc.C: fix navigate menu for insetwrap inside minipage
8320
8321         * paragraph_funcs.C: added FIXME for suspect code
8322
8323 2002-11-07  John Levon  <levon@movementarian.org>
8324
8325         * BufferView_pimpl.C: fix redrawing of insets
8326           on buffer switch
8327
8328 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8329
8330         * text2.C (updateCounters): fix bug 668
8331
8332 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8333
8334         * text3.C (dispatch): Do not make the buffer dirty when moving the
8335         cursor.
8336
8337 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8338
8339         * vc-backend.C: STRCONV
8340         (scanMaster): ditto
8341
8342         * text2.C (setCounter): STRCONV
8343
8344         * paragraph.C (asString): STRCONV
8345
8346         * lyxlength.C (asString): STRCONV
8347         (asLatexString): ditto
8348
8349         * lyxgluelength.C (asString): STRCONV
8350         (asLatexString): ditto
8351
8352         * lyxfunc.C (dispatch): STRCONV
8353         (open): ditto
8354
8355         * lyxfont.C (stateText): STRCONV
8356
8357         * importer.C (Import): STRCONV
8358
8359         * counters.C (labelItem): STRCONV
8360         (numberLabel): ditto
8361         (numberLabel): remove unused ostringstream o
8362
8363         * chset.C: STRCONV
8364         (loadFile): ditto
8365
8366         * bufferview_funcs.C (currentState): STRCONV
8367
8368         * buffer.C (readFile): STRCONV
8369         (asciiParagraph): ditto
8370         (makeLaTeXFile): ditto
8371
8372         * Spacing.C (writeEnvirBegin): STRCONV
8373
8374         * LaTeXFeatures.C (getLanguages): STRCONV
8375         (getPackages): ditto
8376         (getMacros): ditto
8377         (getBabelOptions): ditto
8378         (getTClassPreamble): ditto
8379         (getLyXSGMLEntities): ditto
8380         (getIncludedFiles): ditto
8381
8382         * LaTeX.C: STRCONV
8383         (run): ditto
8384         (scanAuxFile): ditto
8385         (deplog): ditto
8386
8387         * LString.h: add the STRCONV macros
8388
8389         * BufferView_pimpl.C (savePosition): STRCONV
8390         (restorePosition): ditto
8391         (MenuInsertLyXFile): ditto
8392
8393         * vc-backend.C (scanMaster): change from submatch[...] to
8394         submatch.str(...)
8395
8396         * funcrequest.C: include config.h
8397
8398         * factory.C: include config.h
8399
8400         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8401
8402         * box.C: include config.h
8403
8404         * LaTeX.C (scanAuxFile): change from submatch[...] to
8405         submatch.str(...)
8406         (deplog): ditto
8407
8408 2002-10-25  Angus Leeming  <leeming@lyx.org>
8409
8410         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8411
8412         * ispell.[Ch] (setError): new method.
8413         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8414         Use setError() insetead of goto END.
8415
8416         * lyx_cb.C (AutoSave): move out child process into new class
8417         AutoSaveBuffer.
8418
8419 2002-10-30  John Levon  <levon@movementarian.org>
8420
8421         * text3.C: make start appendix undoable
8422
8423 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8424
8425         * lyxlength.C (inPixels): Fix returned value.
8426
8427         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8428         environment.
8429
8430 2002-10-24  Angus Leeming  <leeming@lyx.org>
8431
8432         * lyxgluelength.h: no need to forward declare BufferParams
8433         or BufferView, so don't.
8434
8435 2002-10-21  John Levon  <levon@movementarian.org>
8436
8437         * BufferView.C: menuUndo ->undo, redo
8438
8439         * BufferView.h: document, remove dead, make some methods private
8440
8441         * paragraph_funcs.h:
8442         * paragraph_funcs.C:
8443         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8444
8445         * buffer.h:
8446         * buffer.C:
8447         * sgml.h:
8448         * sgml.C: move sgml open/close tag into sgml.C
8449
8450         * bufferview_funcs.h: unused prototype
8451
8452         * lyxfunc.h:
8453         * lyxfunc.C: remove unused
8454
8455         * lyxtext.h:
8456         * text.C: remove unused
8457
8458 2002-10-21  John Levon  <levon@movementarian.org>
8459
8460         * BufferView.h:
8461         * BufferView.C:
8462         * BufferView_pimpl.h:
8463         * BufferView_pimpl.C: fix mouse wheel handling based on
8464           patch from Darren Freeman
8465
8466 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8467
8468         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8469
8470 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8471
8472         * lyxlength.C (inPixels): Fix hanfling of negative length.
8473         Fix LyXLength::MU case.
8474
8475 2002-10-16  John Levon  <levon@movementarian.org>
8476
8477         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8478
8479 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8480
8481         * converter.C (view): add support for $$i (file name) and $$p
8482         (file path) for the viewer command. If $$i is not specified, then
8483         it is appended to the command (for compatibility with old syntax)
8484
8485 2002-10-14  Juergen Vigna  <jug@sad.it>
8486
8487         * undo_funcs.C (textHandleUndo): alter the order in which the
8488         new undopar is added to the LyXText, as we have to set first
8489         the right prev/next and then add it as otherwise the rebuild of
8490         LyXText is not correct. Also reset the cursor to the right paragraph,
8491         with this IMO we could remove the hack in "redoParagraphs()".
8492
8493 2002-10-09  Angus Leeming  <leeming@lyx.org>
8494
8495         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8496         to turn off an optimisation if a new inset is to be inserted.
8497
8498 2002-10-11 André Pönitz <poenitz@gmx.net>
8499
8500         * lyxtext.h: make some functions public to allow access
8501         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8502
8503 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8504
8505         * text3.C (dispatch): when changing layout, avoid an infinite loop
8506         [bug #652]
8507
8508 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8509
8510         * lyxrc.C (read): treat a viewer or converter command of "none" as
8511         if it were empty.
8512
8513         * MenuBackend.C (expandFormats): for an update, also allow the
8514         formats that are not viewable
8515
8516         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8517         script if it is newer than the lyxrc.defaults in user directory
8518
8519 2002-10-07 André Pönitz <poenitz@gmx.net>
8520
8521         * text.C: Vitaly Lipatov's small i18n fix
8522
8523 2002-09-25  Angus Leeming  <leeming@lyx.org>
8524
8525         * ispell.h: doxygen fix.
8526
8527 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8528
8529         * buffer.h (readFile): Add a new argument to the method, to allow
8530         reading of old-format templates.
8531
8532 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8533
8534         * toc.C (getTocList): Get TOC from InsetWrap.
8535
8536 2002-09-16  John Levon  <levon@movementarian.org>
8537
8538         * lyxfunc.C: check tabular for cut/copy too
8539
8540 2002-09-12  John Levon  <levon@movementarian.org>
8541
8542         * LyXAction.C: tidy
8543
8544         * factory.h:
8545         * factory.C: add header
8546
8547         * paragraph_funcs.h:
8548         * paragraph_funcs.C: cleanup
8549
8550 2002-09-11  John Levon  <levon@movementarian.org>
8551
8552         * PrinterParams.h: odd/even default to true
8553
8554 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8555
8556         * PrinterParams.h: update printer parameters for new xforms dialog
8557
8558 2002-09-11  Angus Leeming  <leeming@lyx.org>
8559
8560         * lyxserver.C (read_ready): re-write to make it more transparent
8561         and to make it work in coherent fashion under Tru64 Unix.
8562
8563 2002-09-11  André Pönitz <poenitz@gmx.net>
8564
8565         * commandtags.h:
8566         * LyXAction.C:
8567         * text3.C: implement LFUN_WORDSEL
8568
8569 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8570
8571         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8572         make floatlist_ a boost::shared_ptr<FloatList>
8573
8574         * lyxtextclass.C: include FloatList.h
8575         (LyXTextClass): initialize floatlist_
8576         (TextClassTags): add TC_NOFLOAT
8577         (Read): match "nofloat" to TC_NOFLOAT and use it.
8578         (readFloat): modify call to floatlist_
8579         (floats): ditto
8580         (floats): ditto
8581
8582         * FloatList.[Ch] (FloatList): remove commented out float
8583         initialization.
8584         (erase): new function
8585
8586 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8587
8588         * MenuBackend.C (expandToc): fix crash when there is no document
8589         open
8590
8591 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8592
8593         * many files: Add insetwrap.
8594
8595 2002-09-09  John Levon  <levon@movementarian.org>
8596
8597         * text2.C: remove confusing and awkward depth wraparound
8598
8599 2002-09-09  John Levon  <levon@movementarian.org>
8600
8601         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8602
8603         * buffer.h:
8604         * buffer.C: remove getIncludeonlyList()
8605
8606         * paragraph.C:
8607         * lyxfunc.C: remove headers
8608
8609 2002-09-09  Juergen Vigna  <jug@sad.it>
8610
8611         * text.C (getColumnNearX): fix form Michael this is most
8612         probably a cut&paste bug.
8613
8614 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8615
8616         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8617
8618         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8619         references, ws changes.
8620
8621         * text2.C (init): update counters after init
8622         (insertParagraph): no need to set counter on idividual paragraphs.
8623         (setCounter): access the counters object in the textclass object
8624         on in the buffer object.
8625         (updateCounters): ditto
8626
8627         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8628         shared_ptr<Counters> to avoid loading counters.h in all
8629         compilation units.
8630         (LyXTextClass): initialize ctrs_
8631         (TextClassTags): add TC_COUNTER, and ...
8632         (Read): use it here.
8633         (CounterTags): new tags
8634         (readCounter): new function
8635         (counters): new funtion
8636         (defaultLayoutName): return a const reference
8637
8638         * counters.C (Counters): remove contructor
8639         (newCounter): remove a couple of unneeded statements.
8640         (newCounter): simplify a bit.
8641         (numberLabel): some small formatting changes.
8642
8643         * buffer.[Ch]: remove all traces of counters, move the Counters
8644         object to the LyXTextClass.
8645
8646 2002-09-06  Alain Castera  <castera@in2p3.fr>
8647
8648         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8649         package to set the horizontal alignment on fixed width columns.
8650
8651         * lyx_sty.C:
8652         * lyx_sty.h: added tabularnewline macro def.
8653
8654         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8655
8656 2002-09-06  John Levon  <levon@movementarian.org>
8657
8658         * LyXAction.C: tooltips for sub/superscript
8659
8660         * MenuBackend.C: a bit more verbose
8661
8662         * lyxfunc.C: tiny clean
8663
8664         * undo_funcs.C: document undo_frozen
8665
8666 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8667
8668         * counters.C (Counters): add missing algorithm counter.
8669
8670         * text2.C (setCounter): lookup the counter with layouts latexname
8671         instead of by section number.
8672         (setCounter): use a hackish way to lookup the correct enum
8673         counter.
8674         a float name->type change
8675         reset enum couners with counter name directly instead of depth value.
8676
8677         * counters.C (Counters): remove the push_backs, change to use the
8678         float type not the float name.
8679         (labelItem): remove unused string, float name->type change
8680
8681         * counters.h: don't include vector, loose the enums and sects vectors
8682
8683 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8684
8685         * lyxtextclass.C (TextClassTags): add TC_FLOAT
8686         (Read): add float->TC_FLOAT to textclassTags
8687         (Read): and handle it in the switch
8688         (readFloat): new function
8689
8690         * FloatList.C (FloatList): comment out the hardcoded float
8691         definitions.
8692
8693         * lyxlayout.h: ws change.
8694
8695 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
8696
8697         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8698
8699 2002-09-03  Angus Leeming  <leeming@lyx.org>
8700
8701         * BufferView_pimpl.h: qualified name is not allowed in member
8702         declaration: WorkArea & Pimpl::workarea() const;
8703
8704         * factory.C: added using std::endl directive.
8705
8706         * text3.C: added using std::find and std::vector directives.
8707
8708 2002-08-29  André Pönitz <poenitz@gmx.net>
8709
8710         * lyxtext.h:
8711         * text2.C: remove unused member number_of_rows
8712
8713         * Makefile.am:
8714         * BufferView2.C: remove file, move contents to...
8715         * BufferView.C: ... here
8716
8717         * BufferView_pimpl.C:
8718         * factory.C: move more inset creation to factory
8719
8720         * vspace.C: avoid direct usage of LyXText, ws changes
8721
8722         * BufferView.[Ch]:
8723                 don't provide direct access to WorkArea, use two simple
8724                 acessors haveSelction() and workHeight() instead
8725
8726
8727 2002-08-29  John Levon  <levon@movementarian.org>
8728
8729         * BufferView_pimpl.C (dispatch): do not continue when
8730           no buffer
8731
8732 2002-08-28  André Pönitz <poenitz@gmx.net>
8733
8734         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8735
8736         * BufferView.h:
8737         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8738
8739 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
8740
8741         * buffer.C: increment LYX_FORMAT to 221
8742
8743         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8744         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8745
8746         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8747
8748         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8749
8750 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8751
8752         * factory.C (createInset): use LyXTextClass::floats
8753
8754         * MenuBackend.C (expandFloatListInsert):
8755         (expandFloatInsert):
8756         (expandToc):
8757
8758         * text2.C (setCounter):
8759
8760         * LaTeXFeatures.C (useFloat):
8761         (getFloatDefinitions):
8762
8763         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8764
8765         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8766         floatlist_, with accessor floats().
8767
8768         * FloatList.h: remove global FloatList
8769
8770 2002-08-26  André Pönitz <poenitz@gmx.net>
8771
8772         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8773
8774         * BufferView.h:
8775         * BufferView2.C:
8776         * BufferView_pimpl.C:
8777         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8778
8779 2002-08-25  John Levon  <levon@movementarian.org>
8780
8781         * LyXAction.C: fix margin note description
8782
8783 2002-08-24  John Levon  <levon@movementarian.org>
8784
8785         * buffer.C:
8786         * bufferlist.C:
8787         * bufferview_funcs.C:
8788         * lyxfont.C:
8789         * undo_funcs.C: cleanups
8790
8791         * lyxfunc.C: disable CUT/COPY when no selection
8792
8793 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
8794
8795         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8796         in "enum UNIT"; e.g. PTW for Percent of TextWidth
8797
8798         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8799         Add backward compatibility to "mono", "gray" and "no".
8800
8801 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
8802
8803         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8804         (and file_format >= 200).
8805
8806 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8807
8808         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8809
8810 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8811
8812         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8813
8814 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
8815
8816         * BufferView_pimpl.C:
8817         * LyXAction.C:
8818         * buffer.C:
8819         * commandtags.h:
8820         * lyxfunc.C:
8821         * paragraph.[Ch]:
8822         * text2.C:
8823         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8824         inset and code to make it  work with the paragraph code. The inset
8825         can be anywhere in the paragraph, but will only do the expected
8826         thing in LaTeX if the layout file contains the parameter line
8827                         OptionalArgs    1
8828         (or more generally, a nonzero value) for that layout.
8829
8830 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
8831
8832         * paragraph.h: remove the declaration of undefined counters class
8833         function.
8834
8835 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
8836
8837         * text2.C (setCounter):  fixed enumeration mis-count as reported by
8838         Dr. Richard Hawkins.
8839
8840 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8841
8842         * paragraph_funcs.h: remove some unneeded includes
8843
8844         * text.C (backspace): pasteParagraph now in global scipe
8845
8846         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8847         (pasteSelection): ditto
8848
8849         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8850         * paragraph_funcs.C (pasteParagraph): ... here
8851
8852 2002-08-20  André Pönitz <poenitz@gmx.net>
8853
8854         * commandtags.h: new LFUNs for swapping/copying table row/colums
8855
8856         * LyXAction.C:
8857         * lyxfunc.C: support for new lfuns
8858
8859 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
8860
8861         * tabular.C:
8862         * buffer.[Ch]: remove NO_COMPABILITY stuff
8863
8864 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
8865
8866         * boost.C (throw_exception): new file, with helper function for
8867         boost compiled without exceptions.
8868
8869         * paragraph.h:
8870         * lyxlength.C:
8871         * buffer.C:
8872         * ParameterStruct.h:
8873         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8874
8875         * bufferlist.C (emergencyWriteAll): use boost bind
8876
8877         * BufferView_pimpl.C (moveCursorUpdate): remove inline
8878
8879         * text.C: include paragraph_funcs.h
8880         (breakParagraph): breakParagraph is now in global scope
8881
8882         * paragraph_funcs.[Ch]: new files
8883
8884         * paragraph.C (breakParagraph,breakParagraphConservative): move to
8885         global scope
8886
8887         * buffer.C: include paragraph_funcs.h
8888         (insertStringAsLines): breakParagraph is now in global scope
8889
8890         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8891         paragraph_funcs.C
8892
8893         * CutAndPaste.C: include paragraph_funcs.h
8894         (cutSelection): breakParagraphConservative is now in global scope
8895         (pasteSelection): ditto
8896
8897         * buffer.h: declare oprator== and operator!= for
8898         Buffer::inset_iterator
8899
8900         * bufferlist.C (emergencyWrite): don't use fmt(...)
8901
8902         * text3.C: add using std::endl
8903
8904         * BufferView.C (moveCursorUpdate): remove default arg
8905
8906 2002-08-20  André Pönitz <poenitz@gmx.net>
8907
8908         * buffer.[Ch]: move inline functions to .C
8909
8910         * BufferView2.C:
8911         * BufferView_pimpl.C:
8912         * text.C:
8913         * buffer.[Ch]: use improved inset_iterator
8914
8915         * buffer.C:
8916         * paragraph.[Ch]: write one paragraph at a time
8917
8918 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8919
8920         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8921         style if style is not specified.
8922
8923 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8924
8925         * text2.C (setCounter): when searching for right label for a
8926         caption, make sure to recurse to parent insets (so that a caption
8927         in a minipage in a figure float works) (bug #568)
8928
8929 2002-08-20  André Pönitz <poenitz@gmx.net>
8930
8931         * text3.C: new file for LyXText::dispatch() and helpers
8932
8933         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8934
8935         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8936
8937 2002-08-19  André Pönitz <poenitz@gmx.net>
8938
8939         * lyxtext.h:
8940         * text.C: new LyXText::dispatch()
8941
8942         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8943
8944 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
8945
8946         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8947
8948         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8949         Hebrew text.
8950
8951 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8952
8953         * Makefile.am: use $(variables) instead of @substitutions@
8954
8955 2002-08-15  André Pönitz <poenitz@gmx.net>
8956
8957         * lyxfunc.C:
8958         * BufferView_pimpl.C: streamlining mathed <-> outer world
8959         interaction
8960
8961         * commandtags.h:
8962         * LyXAction.C: remove unused LFUN_MATH
8963
8964 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8965
8966         * paragraph.[Ch]: add some NO_NEXT ifdefs.
8967
8968 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8969
8970         * paragraph.C (Paragraph): reformat a bit
8971         (cutIntoMinibuffer): use builtin InsetList function instad of
8972         doing it manually.
8973         (getInset): ditto
8974
8975         * buffer.C: include boost/bind.hpp, add using std::for_each
8976         (writeFileAscii): use ParagraphList iterators
8977         (validate): use for_each for validate traversal of paragraphs
8978         (getBibkeyList): use ParagraphList iterators
8979         (resizeInsets): use for_each to resizeInsetsLyXText for all
8980         paragraphs.
8981         (getParFromID): use ParagraphList iterators
8982
8983         * BufferView2.C (lockInset): use paragraph list and iterators
8984
8985 2002-08-14  John Levon  <levon@movementarian.org>
8986
8987         * lyxserver.C: remove spurious xforms include
8988
8989 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8990
8991         * lyxfunc.C (getStatus): disable math-extern outside of math mode
8992
8993 2002-08-13  André Pönitz <poenitz@gmx.net>
8994
8995         * LyXAction.[Ch]:
8996         * lyxfunc.C: further cleaning
8997
8998 2002-08-13  André Pönitz <poenitz@gmx.net>
8999
9000         * funcrequest.h: new constructor
9001
9002         * funcrequest.C: move stuff here from .h
9003
9004         * Makefile.am:
9005         * BufferView_pimpl.C:
9006         * LyXAction.C:
9007         * toc.C:
9008         * lyxfunc.C: subsequent changes
9009
9010         * lyxfunc.h: new view() member function
9011
9012         * lyxfunc.C: subsequent changes
9013
9014 2002-08-13  Angus Leeming  <leeming@lyx.org>
9015
9016         * BufferView2.C:
9017         * BufferView_pimpl.C:
9018         * buffer.C:
9019         * converter.C:
9020         * importer.C:
9021         * lyxfunc.C:
9022         * lyxvc.C:
9023         * toc.C:
9024         * vc-backend.C:
9025         changes due to the changed LyXView interface that now returns references
9026         to member variables not pointers.
9027
9028 2002-08-13  Angus Leeming  <leeming@lyx.org>
9029
9030         * WordLangTuple (word, lang_code): return references to strings,
9031         not strings.
9032
9033         * BufferView.h:
9034         * SpellBase.h:
9035         * lyxtext.h: forward-declare WordLangTuple.
9036
9037         * BufferView2.C:
9038         * ispell.C:
9039         * pspell.C:
9040         * text.C: #include "WordLangTuple.h".
9041
9042         * lyxtext.h:
9043         * text.C: (selectNextWordToSpellcheck): constify return type.
9044
9045 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9046
9047         * buffer.C:
9048         * buffer.h:
9049         * lyxtext.h:
9050         * paragraph.C:
9051         * paragraph_pimpl.h:
9052         * text.C:
9053         * text2.C:
9054         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9055         suggested by Angus.
9056         Made updateCounter always count from start of buffer, and removed
9057         second argument (par).
9058         Reverted floats number display to '#'. Perhaps I'll try again when the
9059         code base is sanitized a bit.
9060
9061 2002-08-12  Angus Leeming  <leeming@lyx.org>
9062
9063         * buffer.[Ch] (getLabelList): constify.
9064
9065 2002-08-07  André Pönitz <poenitz@gmx.net>
9066
9067         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9068
9069         * funcrequest.h: extension to keep mouse (x,y) position
9070
9071 2002-08-12  Juergen Vigna  <jug@sad.it>
9072
9073         * BufferView2.C (insertErrors): forbid undo when inserting error
9074         insets.
9075
9076         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9077
9078 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9079
9080         * ParagraphList.[Ch]: new files
9081
9082         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9083
9084         * BufferView2.C (lockInset): ParagraphList changes
9085         * toc.C: ditto
9086         * text2.C: ditto
9087         * bufferlist.C: ditto
9088         * buffer.h: ditto
9089         * buffer.C: ditto
9090
9091 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9092
9093         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9094         unused class variable counter_,
9095
9096         * paragraph.[Ch] (getFirstCounter): delete unused function
9097
9098         * counters.C: include LAssert.h
9099         (reset): add a new function with no arg, change other version to
9100         not have def. arg and to not allow empty arg.
9101
9102         * text2.C (setCounter): remove empty arg from call to Counters::reset
9103
9104 2002-08-11  John Levon  <levon@movementarian.org>
9105
9106         * Makefile.am: add WordLangTuple.h
9107
9108 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9109
9110         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9111         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9112
9113         * insets/insettext.C: InsetList changes
9114
9115         * graphics/GraphicsSupport.C (operator()): InsetList changes
9116
9117         * toc.C (getTocList): InsetList changes
9118
9119         * paragraph_pimpl.[Ch]: InsetList changes
9120
9121         * paragraph.[Ch]: InsetList changes
9122
9123         * buffer.C (inset_iterator): InsetList changes
9124         (setParagraph): ditto
9125         * buffer.h (inset_iterator): ditto
9126         * iterators.C (operator++): ditto
9127         * iterators.h: ditto
9128
9129         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9130
9131         * InsetList.[Ch]: new files, most InsetList handling moved out of
9132         paragraph.C.
9133
9134         * BufferView2.C (removeAutoInsets): InsetList changes
9135         (lockInset): ditto
9136         (ChangeInsets): ditto
9137
9138 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9139
9140         * paragraph_pimpl.h (empty): new function
9141
9142         * paragraph.[Ch] (empty): new function
9143
9144         * other files: use the new Paragraph::empty function
9145
9146 2002-08-09  John Levon  <levon@movementarian.org>
9147
9148         * lyxtext.h: remove unused refresh_height
9149
9150 2002-08-09  John Levon  <levon@movementarian.org>
9151
9152         * Makefile.am:
9153         * sgml.h:
9154         * sgml.C:
9155         * buffer.C:
9156         * paragraph.h:
9157         * paragraph.C: move sgml char escaping out of paragraph
9158
9159         * paragraph.h:
9160         * paragraph.C: remove id setter
9161
9162         * buffer.C:
9163         * paragraph.C:
9164         * paragraph_pimpl.C: remove dead tex_code_break_column
9165
9166         * bufferview_funcs.C: small cleanup
9167
9168         * lyxfunc.C: remove dead proto
9169
9170         * lyxtext.h: make some stuff private. Remove some dead stuff.
9171
9172         * lyxgluelength.C: make as[LyX]String() readable
9173
9174 2002-08-08  John Levon  <levon@movementarian.org>
9175
9176         * LyXAction.h:
9177         * LyXAction.C:
9178         * MenuBackend.C:
9179         * ToolbarDefaults.C:
9180         * lyxfunc.C:
9181         * lyxrc.C:
9182         * toc.C: lyxaction cleanup
9183
9184 2002-08-08  John Levon  <levon@movementarian.org>
9185
9186         * BufferView2.C: small cleanup
9187
9188         * lyxfind.h:
9189         * lyxfind.C: move unnecessary header into the .C
9190
9191 2002-08-08  John Levon  <levon@movementarian.org>
9192
9193         * funcrequest.h: just tedious nonsense
9194
9195         * lyx_main.h:
9196         * lyx_main.C: cleanups
9197
9198         * buffer.C:
9199         * vspace.C: remove dead header lyx_main.h
9200
9201 2002-08-07  Angus Leeming  <leeming@lyx.org>
9202
9203         * Paragraph.[Ch]:
9204         * paragraph_pimpl.h:
9205         Forward declare class Counters in paragraph.h by moving the ctrs member
9206         variable into Paragraph::Pimpl.
9207         (counters): new method, returning a reference to pimpl_->ctrs.
9208
9209         * text2.C: ensuing changes.
9210
9211 2002-08-07  John Levon  <levon@movementarian.org>
9212
9213         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9214
9215         * BufferView_pimpl.C: announce X selection on double/triple
9216           click
9217
9218         * lyx_main.C: use correct bool in batch dispatch
9219
9220         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9221
9222 2002-08-07  André Pönitz <poenitz@gmx.net>
9223
9224         * funcrequest.h: new class to wrap a kb_action and its argument
9225
9226         * BufferView.[Ch]:
9227         * BufferView_pimpl[Ch]:
9228         * LaTeX.C:
9229         * LyXAction.[Ch]:
9230         * lyxfunc.[Ch]:
9231         * lyxrc.C: subsequent changes
9232
9233
9234 2002-08-07  John Levon  <levon@movementarian.org>
9235
9236         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9237           document options change.
9238
9239 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9240
9241         * counters.[Ch]
9242         * text2.C
9243         * paragraph.[Ch]
9244         * makefile.am: move counters functionality over from
9245         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9246
9247 2002-08-06  John Levon  <levon@movementarian.org>
9248
9249         * WordLangTuple.h: new file for word + language code tuple
9250
9251         * SpellBase.h:
9252         * pspell.h:
9253         * pspell.C:
9254         * ispell.h:
9255         * ispell.C:
9256         * lyxtext.h:
9257         * text.C:
9258         * text2.C:
9259         * BufferView.h:
9260         * BufferView2.C: use WordLangTuple
9261
9262         * layout.h:
9263         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9264
9265 2002-08-06  John Levon  <levon@movementarian.org>
9266
9267         * lyx_main.C: fix cmdline batch handling
9268
9269 2002-08-06  André Pönitz <poenitz@gmx.net>
9270
9271         * lyxrc.C: set default for show_banner to true
9272
9273 2002-08-06  John Levon  <levon@movementarian.org>
9274
9275         * pspell.C: fix a crash, and allow new aspell to work
9276
9277 2002-08-06  John Levon  <levon@movementarian.org>
9278
9279         * lyxfunc.C:
9280         * kbmap.C: small cleanup
9281
9282         * vspace.h:
9283         * vspace.C: add const
9284
9285 2002-08-05  John Levon  <levon@movementarian.org>
9286
9287         * LyXAction.C: back to tabular-insert
9288
9289 2002-08-04  John Levon  <levon@movementarian.org>
9290
9291         * BufferView.h:
9292         * BufferView.C: cosmetic change
9293
9294         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9295
9296         * bufferlist.C:
9297         * buffer.h:
9298         * buffer.C:
9299         * lyxcb.h:
9300         * lyxcb.C:
9301         * lyxserver.C:
9302         * lyxvc.C:
9303         * vc-backend.C:
9304         * BufferView2.C: purge all "Lyx" not "LyX" strings
9305
9306         * lyxcursor.h:
9307         * lyxcursor.C: attempt to add some documentation
9308
9309         * lyxfunc.C:
9310         * commandtags.h:
9311         * LyXAction.C:
9312         * ToolbarDefaults.C:
9313         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9314           merge with LFUN_TABULAR_INSERT
9315
9316         * Makefile.am:
9317         * SpellBase.h:
9318         * ispell.h:
9319         * ispell.C:
9320         * pspell.h:
9321         * pspell.C: split up i/pspell implementations into separate
9322           files, many cleanups
9323
9324         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9325
9326         * text2.C: some cleanup
9327
9328         * lyxfunc.C: don't check for isp_command == "none" any more, it
9329           didn't make any sense
9330
9331 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9332
9333         * counters.[Ch]
9334         * text2.C
9335         * paragraph.[Ch]
9336         * makefile.am: move counters functionality over
9337         from text2.C/paragraph.[Ch] to counters.[Ch], and
9338         make proper C++.
9339 2002-08-02  John Levon  <levon@movementarian.org>
9340
9341         * buffer.C: s/lyxconvert/lyx2lyx/
9342
9343 2002-08-02  Angus Leeming  <leeming@lyx.org>
9344
9345         * lyxlex.C: revert John's change as it breaks reading of the user
9346         preamble.
9347
9348 2002-08-02  Angus Leeming  <leeming@lyx.org>
9349
9350         * importer.C (Import):
9351         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9352         changes due to LyXView::view() now returning a boost::shared_ptr.
9353
9354 2002-08-02  John Levon  <levon@movementarian.org>
9355
9356         * lyxlex.C: small cleanup
9357
9358 2002-08-02  John Levon  <levon@movementarian.org>
9359
9360         * text2.C (status): small cleanup, no logic change
9361
9362 2002-08-01  John Levon  <levon@movementarian.org>
9363
9364         * buffer.h:
9365         * buffer.C (writeFile): don't output alerts, caller
9366           handles this
9367
9368         * bufferlist.C:
9369         * lyx_cb.C: from above
9370
9371         * lyxfunc.C: allow to open non-existent files
9372
9373 2002-07-31  John Levon  <levon@movementarian.org>
9374
9375         * lyxserver.C: don't let incidental errors get
9376           in the way (errno)
9377
9378 2002-07-30  John Levon  <levon@movementarian.org>
9379
9380         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9381
9382 2002-07-30  John Levon  <levon@movementarian.org>
9383
9384         * lyxserver.h:
9385         * lyxserver.C: remove I/O callback too
9386
9387 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9388
9389         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9390         log.
9391
9392 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9393
9394         * many files: strip,frontStrip -> trim,ltrim,rtrim
9395
9396 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9397
9398         * PrinterParams.h: remove extern containsOnly, and include
9399         support/lstrings.h instead.
9400
9401         * LaTeX.C (scanAuxFile): modify because of strip changes
9402         (deplog): ditto
9403         * buffer.C (makeLaTeXFile): ditto
9404         * bufferparams.C (writeFile): ditt
9405         * lyxfont.C (stateText): ditto
9406         * lyxserver.C (read_ready): ditto
9407         * vc-backend.C (scanMaster): ditto
9408
9409         * BufferView_pimpl.h: ws changes
9410
9411         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9412
9413 2002-07-26  André Pönitz <poenitz@gmx.net>
9414
9415         * kb_sequence.C: remove unnedred usings
9416
9417 2002-07-26  Juergen Vigna  <jug@sad.it>
9418
9419         * lyxfind.C (LyXReplace): we have to check better if the returned
9420         text is not of theLockingInset()->getLockingInset().
9421
9422 2002-07-25  Juergen Vigna  <jug@sad.it>
9423
9424         * lyxfind.C (LyXReplace): don't replace if we don't get the
9425         right LyXText.
9426
9427         * undo_funcs.C (createUndo): remove debugging code.
9428
9429 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9430
9431         * buffer.C (parseSingleLyXformat2Token): Use default placement
9432         when reading old floats.
9433
9434         * FloatList.C (FloatList): Change the default placement of figure
9435         and tables to "tbp".
9436
9437 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9438
9439         * MenuBackend.C: using std::max
9440
9441 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9442
9443         * MenuBackend.C (expandToc):
9444         (expandToc2): code moved from xforms menu frontend. It is now
9445         generic and TOCs are transparent to menu frontends.
9446
9447 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9448
9449         * toc.C (getTocList): protect against buf=0
9450
9451         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9452         Menu as first parameter. Now, this calls itself recursively to
9453         expand a whole tree (this will be useful for TOC handling)
9454         (expandFloatInsert): remove 'wide' version of floats
9455
9456         * MenuBackend.h (submenuname): returns the name of the submenu.
9457         (submenu): returns the submenu itself, provided it has been
9458         created by MenuBackend::expand
9459
9460 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9461
9462         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9463         insets which have noFontChange == true. (bug #172)
9464
9465 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9466
9467         * BufferView_pimpl.C: add connection objects and use them...
9468         (Pimpl): here.
9469
9470 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9471
9472         * MenuBackend.C (expandLastfiles):
9473         (expandDocuments):
9474         (expandFormats):
9475         (expandFloatListInsert):
9476         (expandFloatInsert):
9477         (expand): split expand in parts
9478
9479 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9480
9481         * lyx_gui.C: use lyx_gui::exit()
9482
9483 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9484
9485         * LyXAction.C: show the failing pseudo action
9486
9487 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9488
9489         * buffer.C (readFile): Run the lyxconvert script in order to read
9490         old files.
9491
9492 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9493
9494         * LyXAction.C:
9495         * commandtags.h:
9496         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9497
9498 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9499
9500         * LyXAction.C:
9501         * commandtags.h:
9502         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9503
9504 2002-07-22  Herbert Voss  <voss@lyx.org>
9505
9506         * lengthcommon.C:
9507         * lyxlength.[Ch]: add support for the vertical lengths
9508
9509 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9510
9511         * toc.[Ch]: std:: fixes
9512
9513 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9514
9515         * lyxrc.C: do not include lyx_main.h
9516
9517         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9518         for layouts
9519
9520         * lyxrc.C:
9521         * encoding.C:
9522         * bufferlist.C:
9523         * BufferView2.C: include "lyxlex.h"
9524
9525         * tabular.h:
9526         * bufferparams.h: do not #include "lyxlex.h"
9527
9528         * lyxtextclasslist.C (Add): remove method
9529         (classlist): renamed to classlist_
9530
9531         * paragraph_pimpl.C:
9532         * paragraph.C:
9533         * text2.C:
9534         * CutAndPaste.C:
9535         * bufferview_funcs.C:
9536         * bufferlist.C:
9537         * text.C:
9538         * LaTeXFeatures.C:
9539         * buffer.C:
9540         * toc.C (getTocList): use BufferParams::getLyXTextClass
9541
9542         * toc.C (getTocList): use InsetFloat::addToToc
9543
9544         * toc.[Ch]: new files, containing helper functions to handle table
9545         of contents
9546
9547         * lyxfunc.C (dispatch): no need to remove spaces around command
9548         given as a string
9549         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9550         first command of the sequence; it is not very clever, but I do not
9551         have a better idea, actually
9552
9553         * LyXAction.C (LookupFunc): make sure to remove space at the
9554         beginning and end of the command
9555
9556 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9557
9558         * MenuBackend.C (getMenubar): new method: return the menubar of
9559         this menu set
9560         (read): treat differently reading of menu and menubar (in
9561         particular, the menubar has no name now)
9562         (Menu::menubar): remove
9563
9564         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9565         saving is finished
9566
9567 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9568
9569         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9570         a bibitem inset in a RTL paragraph.
9571
9572 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9573
9574         * paragraph_pimpl.C: constify
9575
9576         * BufferView_pimpl.C:
9577         * LaTeX.C:
9578         * lyxfunc.C: fix dispatch in a nicer way
9579
9580 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9581
9582         * lyxfunc.C (dispatch):
9583         * BufferView_pimpl.C:
9584         * BufferView_pimpl.h:
9585         * BufferView.C:
9586         * BufferView.h: rename Dispatch() to dispatch()
9587
9588         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9589
9590         * lyxlayout.C (Read): honor DependsOn tag
9591
9592         * lyxlayout.[Ch] (depends_on): new method
9593
9594         * version.C.in: update lyx_docversion
9595
9596         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9597
9598         * paragraph.C (validate): remove from here...
9599         * paragraph_pimpl.C (validate): ... and move here
9600         (isTextAt): make it const
9601
9602         * buffer.C (getLists): ws cleanup
9603
9604 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9605
9606         * language.C (read): Use iso8859-1 encoding in latex_lang
9607         (this prevents LyX from crashing when using iso10646-1 encoding).
9608
9609 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9610
9611         * text2.C (toggleInset): if cursor is inside an inset, close the
9612         inset and leave cursor _after_ it
9613
9614 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9615
9616         * lyxfunc.C: move minibuffer completion handling out of here
9617
9618 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9619
9620         * BufferView_pimpl.C:
9621         * LaTeX.C: fix dispatch calls
9622
9623 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9624
9625         * text.C (drawChars): Fix Arabic text rendering.
9626
9627 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9628
9629         * LyXAction.C:
9630         * commandtags.h:
9631         * lyxfunc.C: remove message-push/pop
9632
9633         * lyxserver.C:
9634         * lyxfunc.h:
9635         * lyxfunc.C: rationalise some code by removing verboseDispatch
9636           in favour of a bool argument to dispatch()
9637
9638 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9639
9640         * lyx_main.C (init): make sure to read symlinks as absolute paths
9641
9642 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9643
9644         * lyxfunc.h:
9645         * lyxfunc.C: no need for commandshortcut to be a member
9646
9647 2002-07-15  André Pönitz <poenitz@gmx.net>
9648
9649         * converter.C: add support for $$s (scripts from lib/scripts dir)
9650         * lyx_main.C: white space
9651
9652 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9653
9654         * bufferlist.C:
9655         * lyxrc.h:
9656         * lyxrc.C: remove second exit confirmation
9657
9658 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9659
9660         * BufferView.h:
9661         * BufferView.C:
9662         * BufferView2.C:
9663         * BufferView_pimpl.h:
9664         * BufferView_pimpl.C:
9665         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9666
9667 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9668
9669         * MenuBackend.C (expand): add numeric shortcuts to document menu
9670
9671         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9672
9673 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9674
9675         * lyxfont.C (setLyXFamily):
9676         (setLyXSeries):
9677         (setLyXShape):
9678         (setLyXSize):
9679         (setLyXMisc):
9680         (lyxRead):
9681         * debug.C (value):
9682         * buffer.C (asciiParagraph): use ascii_lowercase
9683
9684 2002-07-15  Mike Fabian  <mfabian@suse.de>
9685
9686         * lyxlex_pimpl.C (search_kw):
9687         * lyxlex.C (getLongString):
9688         * converter.h (operator<):
9689         * converter.C (operator<):
9690         * buffer.C (parseSingleLyXformat2Token):
9691         (asciiParagraph):
9692         * ToolbarDefaults.C (read):
9693         * MenuBackend.C (checkShortcuts):
9694         (read):
9695         * LColor.C (getFromGUIName):
9696         (getFromLyXName): use the compare_ascii_no_case instead of
9697         compare_no_case, because in turkish, 'i' is not the lowercase
9698         version of 'I', and thus turkish locale breaks parsing of tags.
9699
9700 2002-07-16  Angus Leeming  <leeming@lyx.org>
9701
9702         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9703         now takes a Buffer const & argument.
9704
9705 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
9706
9707         * BufferView.C (resize): check there's a buffer to resize
9708
9709 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
9710
9711         * lyxfunc.C: remove dead code
9712
9713         * lyxserver.h:
9714         * lyxserver.C: use lyx_guii::set_read_callback
9715
9716 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9717
9718         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9719         an inset in a RTL paragraph.
9720
9721 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9722
9723         * lyxfunc.C: repaint after a font size update
9724
9725 2002-07-15  André Pönitz <poenitz@gmx.net>
9726
9727         * lyxlength.C: inBP should be able to return negative values
9728
9729 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9730
9731         * lyxfunc.C: use lyx_gui::update_fonts()
9732
9733 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
9734
9735         * lyxfunc.C: use lyx_gui::update_color()
9736
9737 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9738
9739         * bufferlist.C:
9740         * lyxfunc.h:
9741         * lyxfunc.C:
9742         * lyxrc.h:
9743         * lyxrc.C: remove file->new asks for name option, and let
9744           buffer-new take an argument
9745
9746 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
9747
9748         * BufferView_pimpl.C: remove unneeded extra repaint()
9749
9750 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
9751
9752         * LyXAction.C: allow command-sequence with NoBuffer
9753
9754         * lyxfunc.C: don't insist on trailing ';' for command-sequence
9755
9756 2002-07-10  Angus Leeming  <leeming@lyx.org>
9757
9758         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9759
9760 2002-07-09  Angus Leeming  <leeming@lyx.org>
9761
9762         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9763
9764 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9765
9766         * lengthcommon.h: whitespace
9767
9768         * lyxfunc.C: update scrollbar after goto paragraph
9769
9770         * lyxtext.h: factor out page break drawing, and fix it so
9771           page break/added space paints as selected nicely
9772
9773 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
9774
9775         * BufferView_pimpl.C: add FIXMEs, clean up a little
9776
9777 2002-07-09  André Pönitz <poenitz@gmx.net>
9778
9779         * lyxfont.[Ch]: support for wasy symbols
9780
9781 2002-07-08  André Pönitz <poenitz@gmx.net>
9782
9783         * BufferView_pimpl.C: apply John's patch for #93.
9784
9785 2002-07-05  Angus Leeming  <leeming@lyx.org>
9786
9787         * BufferView_pimpl.C (buffer): generate previews if desired.
9788
9789         * LColor.h: add "preview" to the color enum.
9790
9791         * LColor.C (LColor): add a corresponding entry to the items array.
9792
9793         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9794         with this buffer.
9795
9796 2002-07-05  Angus Leeming  <leeming@lyx.org>
9797
9798         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9799         The body of the code is now in the method that is passed an ostream &
9800         rather than a file name.
9801         Pass an additional only_preamble parameter, useful for the forthcoming
9802         preview stuff.
9803
9804 2002-07-03  André Pönitz <poenitz@gmx.net>
9805
9806         * lyxfunc.C: simplify getStatus() a bit for math stuff
9807
9808 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9809
9810         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9811
9812 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9813
9814         * text.C (changeRegionCase): do not change case of all the
9815         document when region ends at paragraph end (bug #461)
9816
9817 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9818
9819         * paragraph.C (startTeXParParams):
9820         (endTeXParParams): add \protect when necessary
9821
9822 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9823
9824         * BufferView_pimpl.C (workAreaExpose): remove warning
9825
9826 2002-06-27  Angus Leeming  <leeming@lyx.org>
9827
9828         * Makefile.am: add lyxlayout_ptr_fwd.h.
9829
9830 2002-06-26  André Pönitz <poenitz@gmx.net>
9831
9832         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9833
9834 2002-06-25  Angus Leeming  <leeming@lyx.org>
9835
9836         * lyxfunc.C (dispatch): Comment out the call to
9837         grfx::GCache::changeDisplay. The method no longer exists now that the
9838         pixmap generation part of the graphics loader has been moved into
9839         InsetGraphics.
9840
9841 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9842
9843         * text2.C: layout as layout
9844
9845         * text.C: layout as layout
9846
9847         * tabular.C (OldFormatRead): layout as layout
9848
9849         * paragraph_pimpl.C (TeXDeeper): layout as layout
9850         (realizeFont): layout as layout
9851
9852         * paragraph.C (writeFile): layout as layout
9853         (validate): layout as layout
9854         (getFont): layout as layout
9855         (getLabelFont): layout as layout
9856         (getLayoutFont): layout as layout
9857         (breakParagraph): layout as layout
9858         (stripLeadingSpaces): layout as layout
9859         (getEndLabel): layout as layout
9860         (getMaxDepthAfter): layout as layout
9861         (applyLayout): layout as layout
9862         (TeXOnePar): layout as layout
9863         (simpleTeXOnePar): layout as layout
9864         (TeXEnvironment): layout as layout
9865         (layout): layout as layout
9866         (layout): layout as layout
9867
9868         * lyxtextclass.C (compare_name): new functor to work with
9869         shared_ptr, layout as layout
9870         (Read): layout as layout
9871         (hasLayout): layout as layout
9872         (operator): layout as layout
9873         (delete_layout): layout as layout
9874         (defaultLayout): layout as layout
9875
9876         * lyxlayout_ptr_fwd.h: new file
9877
9878         * lyxlayout.C (Read): layout as layout
9879
9880         * lyx_cb.C (MenuInsertLabel): layout as layout
9881
9882         * bufferlist.C (newFile): layout as layout
9883
9884         * buffer.C (readLyXformat2): layout as layout
9885         (parseSingleLyXformat2Token): layout as layout
9886         (insertStringAsLines): layout as layout
9887         (asciiParagraph): layout as layout
9888         (latexParagraphs): layout as layout
9889         (makeLinuxDocFile): layout as layout
9890         (simpleLinuxDocOnePar): layout as layout
9891         (makeDocBookFile): layout as layout
9892         (simpleDocBookOnePar): layout as layout
9893         (getLists): layout as layout
9894
9895         * LaTeXFeatures.C (getTClassPreamble): layout as layout
9896
9897         * CutAndPaste.C (cutSelection): layout as layout
9898         (pasteSelection): layout as layout
9899         (SwitchLayoutsBetweenClasses): layout as layout
9900
9901         * BufferView_pimpl.C (Dispatch): layout as layout
9902         (smartQuote): layout as layout
9903
9904         * BufferView2.C (unlockInset): layout as layout
9905
9906 2002-06-24  André Pönitz <poenitz@gmx.net>
9907
9908         * lyxfunc.C: fix #487
9909
9910 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9911
9912         * lyxrc.h:
9913         * lyxrc.C:
9914         * lyxfunc.C: remove display_shortcuts, show_banner
9915
9916 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9917
9918         * Buffer_pimpl.C: oops, update on resize
9919
9920 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9921
9922         * buffer.C:
9923         * converter.C:
9924         * exporter.C:
9925         * lyxfunc.C:
9926         * BufferView.h:
9927         * BufferView.C: use repaint()
9928
9929         * BufferView_pimpl.h:
9930         * BufferView_pimpl.C: s/updateScreen()/repaint()/
9931           as it's a clearer description. Remove superfluous
9932           redraws.
9933
9934 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
9935
9936         * text.C: fix bug 488. Not ideal, but getting
9937           getWord() to work properly for the insets that
9938           matter is more difficult ...
9939
9940 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9941
9942         * BufferView_pimpl.C:
9943         * LyXAction.C:
9944         * commandtags.h:
9945         * lyxfunc.C: remove the six million index lyxfuncs to just
9946           one, and DTRT (bug 458)
9947
9948 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9949
9950         * BufferView.h:
9951         * BufferView.C:
9952         * BufferView_pimpl.h:
9953         * BufferView_pimpl.C: clean up resize() stuff,
9954           and unnecessary updateScreen()s
9955
9956 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
9957
9958         * BufferView.h:
9959         * BufferView.C:
9960         * BufferView_pimpl.h:
9961         * BufferView_pimpl.C:
9962         * lyxfind.h:
9963         * lyxfind.C:
9964         * minibuffer.C: remove focus management of workarea,
9965           not needed. Use screen's greyOut()
9966
9967 2002-06-17  Herbert Voss  <voss@lyx.org>
9968
9969         * converter.C: (convert) do not post a message, when converting
9970         fails, let the calling function decide what to do in this case
9971
9972 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
9973
9974         * lyxfunc.C: tidy up a little
9975
9976 2002-06-16    <alstrup@diku.dk>
9977
9978         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9979         Got rid of FORMS_H_LOCATION include. Now we are
9980         GUII.
9981
9982 2002-06-15  LyX Development team  <lyx@rilke>
9983
9984         * buffer.[Ch] (sgmlOpenTag):
9985         (sgmlCloseTag): Added support for avoiding pernicious mixed
9986         content. Return number of lines written.
9987
9988         (makeLinuxDocFile):
9989         (makeDocBookFile): Fixed calls to sgml*Tag.
9990         Simple white space clean.
9991
9992         (simpleDocBookOnePar): Simple white space clean.
9993
9994         * tabular.[Ch] (docBook): Renamed to docbook and got another
9995         argument to related with the pernicious mixed content.
9996
9997         (docbookRow): Fixed calls for docbook inset method.
9998
9999 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10000
10001         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10002         so it's X11 independent.
10003
10004         * kb*.[Ch]: ditto.
10005
10006         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10007
10008 2002-06-15  Lyx Development team  <lyx@electronia>
10009
10010         * intl.h: Renamed getTrans to getTransManager.
10011
10012 2002-06-14  Angus Leeming  <leeming@lyx.org>
10013
10014         * Makefile.am: nuke forgotten stl_string_fwd.h.
10015
10016 2002-06-12  Angus Leeming  <leeming@lyx.org>
10017
10018         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10019
10020 2002-06-13  Angus Leeming  <leeming@lyx.org>
10021
10022         * LaTeX.C:
10023         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10024
10025 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10026
10027         * kbmap.C (getiso): add support for cyrillic and greek
10028
10029 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10030
10031         * BufferView.h:
10032         * BufferView.C:
10033         * BufferView_pimpl.h:
10034         * BufferView_pimpl.C: move bogus scrolling logic
10035           to xforms
10036
10037 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10038
10039         * lyxfunc.C:
10040         * BufferView_pimpl.C: view->resize() change
10041
10042 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10043
10044         * BufferView_pimpl.C: topCursorVisible
10045           prototype change
10046
10047 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10048
10049         * Makefile.am:
10050         * lyx_gui.h:
10051         * lyx_gui.C: move to frontends/
10052
10053         * main.C:
10054         * lyx_main.h:
10055         * lyx_main.C: changes from above
10056
10057 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10058
10059         * intl.C:
10060         * intl.h:
10061         * kbmap.C:
10062         * kbsequence.C:
10063         * lyx_cb.C:
10064         * lyx_main.C: minor tidy
10065
10066 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10067
10068         * BufferView_pimpl.h:
10069         * BufferView_pimpl.C:
10070         * BufferView.h:
10071         * BufferView.C: make painter() const,
10072           remove dead code
10073
10074         * BufferView2.C: use screen() accessor
10075
10076         * lyx_main.h:
10077         * lyx_main.C: some minor cleanup
10078
10079 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10080
10081         * BufferView_pimpl.h:
10082         * BufferView_pimpl.C: remove enter/leaveView,
10083           use workHeight()
10084
10085 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10086
10087         * BufferView.h:
10088         * BufferView.C:
10089         * BufferView2.C:
10090         * BufferView_pimpl.h:
10091         * BufferView_pimpl.C: only construct screen once,
10092           rename
10093
10094         * lyxrc.C: remove pointless comment
10095
10096 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10097
10098         * BufferView.h:
10099         * BufferView.C: remove active() and belowMouse()
10100
10101         * BufferView_pimpl.h:
10102         * BufferView_pimpl.C: use workarea() not workarea_,
10103           and make it use a scoped_ptr instead
10104
10105 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10106
10107         * lyx_gui.C: add debug message on BadWindow
10108
10109 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10110
10111         * sp_spell.C: fdopen is not part of the C++ standard.
10112
10113         * paragraph.C (InsetIterator): use >= instead of ==
10114
10115 2002-06-07  Angus Leeming  <leeming@lyx.org>
10116
10117         Fixes needed to compile with Compaq cxx 6.5.
10118         * BufferView_pimpl.C:
10119         * DepTable.C:
10120         * buffer.C:
10121         * converter.C:
10122         * encoding.C:
10123         * lyx_gui.C:
10124         * lyx_main.C:
10125         * lyxtextclasslist.C:
10126         * minibuffer.C:
10127         * sp_spell.C:
10128         * tabular_funcs.C:
10129         * vc-backend.C:
10130         all c-library variables have been moved into namespace std. Wrap
10131         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10132
10133         * lyxlength.C:
10134         * tabular-old.C:
10135         * tabular.C:
10136         Add a using std::abs declaration.
10137
10138         * kbmap.h (modifier_pair):
10139         * paragraph.h (InsetTable, InsetList):
10140         * lyxfont.h (FontBits):
10141         type definition made public.
10142
10143         * bufferlist.C (emergencyWriteAll): the compiler complains that
10144         there is more than one possible lyx::class_fun template to choose from.
10145         I re-named the void specialisation as lyx::void_class_fun.
10146
10147         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10148
10149         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10150         the compiler is is unable to find tostr in write_attribute.
10151
10152 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10153
10154         * buffer.C (sgmlError): hide #warning
10155
10156 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10157
10158         * xtl/*: get rid of xtl, which is not in use anyway
10159
10160         * LyXAction.C (init):
10161         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10162         were unimplemented xtl experimentation
10163
10164 2002-06-04  André Pönitz <poenitz@gmx.net>
10165
10166         * lyxfunc.C: disable array operation on simple formulae
10167
10168 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10169
10170         * converter.C: constify a bit
10171
10172 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10173
10174         * lyx_gui.C: check xforms version correctly
10175
10176 2002-04-30  Herbert Voss  <voss@lyx.org>
10177
10178         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10179         "keep" option
10180
10181 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10182
10183         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10184           attempt to register it with a VCS)
10185
10186 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10187
10188         * lyx_main.C (init): honor variables LYX_DIR_13x and
10189         LYX_USERDIR_13x
10190
10191 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10192
10193         * buffer.h:
10194         * buffer.C:
10195         * lyx_main.C: fix a crash on bad command line,
10196           and give a useful exit status on error
10197
10198         * lyxfunc.C (doImport): allow -i lyx to work
10199
10200 2002-03-30  André Pönitz <poenitz@gmx.net>
10201
10202         * lyxfunc.C: mathed font changes
10203
10204 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10205
10206         * LaTeX.C:
10207         * importer.h:
10208         * importer.C:
10209         * lyx_sty.h:
10210         * lyx_sty.C:
10211         * lyxlex.C:
10212         * lyxrow.h:
10213         * lyxtext.h:
10214         * paragraph.h:
10215         * paragraph.C:
10216         * texrow.h:
10217         * texrow.C:
10218         * text.C:
10219         * trans_mgr.h: srcdocs, and some minor cleanups
10220
10221 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10222
10223         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10224         call getFont all the time)
10225
10226 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10227
10228         * switch from SigC signals to boost::signals
10229
10230 2002-05-29  André Pönitz <poenitz@gmx.net>
10231
10232         * paragraph_pimpl.C (getChar): don't call size() too often...
10233
10234 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10235
10236         * paragraph_pimpl.C (insertChar): do not try to update tables when
10237         appending (pos == size())
10238
10239         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10240         in order to reduce drastically the number of comparisons needed to
10241         parse a large document
10242
10243 2002-05-29  André Pönitz <poenitz@gmx.net>
10244
10245         * text.C:
10246         * text2.C:
10247         * lyxtextclass.C:
10248         * sp_pspell.h:
10249         * textclasslist.[Ch]:
10250         * sp_ispell.h: whitespace change
10251
10252 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10253
10254         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10255         lyxaction directly now.
10256
10257 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10258
10259         * trans.C:
10260         * lyxfont.C:
10261         * lyxvc.C: remove unused headers
10262
10263 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10264
10265         * Makefile.am:
10266         * buffer.h:
10267         * undostack.h:
10268         * undostack.C:
10269         * undo_funcs.h:
10270         * undo_funcs.C: some cleanups. Use shared_ptr
10271           and a template for the undo stacks.
10272
10273 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10274
10275         * BufferView_pimpl.h:
10276         * BufferView_pimpl.C:
10277         * kbmap.h:
10278         * kbmap.C:
10279         * kbsequence.h:
10280         * kbsequence.C:
10281         * lyxfunc.h:
10282         * lyxfunc.C:
10283         * text2.C: use key_state/mouse_state
10284
10285 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10286
10287         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10288         and LSubstring
10289
10290         * chset.C: change include order
10291         (loadFile): use boost regex and get rid of LRegex and LSubstring
10292
10293         * Makefile.am (BOOST_LIBS): new variable
10294         (lyx_LDADD): use it
10295
10296         * LaTeX.C: change include order.
10297         (scanAuxFile): use boost regex and get rid of LRegex and
10298         LSubstring
10299         (deplog): ditto
10300
10301 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10302
10303         * ColorHandler.h:
10304         * ColorHandler.C:
10305         * FontInfo.h:
10306         * FontInfo.C: moved to frontends/xforms/
10307
10308         * FontLoader.h:
10309         * FontLoader.C: moved into frontends for GUIIzation
10310
10311         * Makefile.am:
10312         * lyx_gui.C:
10313         * lyxfont.C:
10314         * lyxfunc.C: changes from above
10315
10316 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10317
10318         * LColor.C: remove spurious X include
10319
10320         * BufferView_pimpl.C:
10321         * Makefile.am:
10322         * font.h:
10323         * font.C:
10324         * text.C:
10325         * text2.C: move font metrics to frontends/
10326
10327 2002-05-24  Juergen Vigna  <jug@sad.it>
10328
10329         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10330         setting the undo_cursor.
10331
10332         * ParagraphParameters.h: include local includes first.
10333
10334 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10335
10336         * BufferView_pimpl.C:
10337         * BufferView_pimpl.h:
10338         * Makefile.am:
10339         * WorkArea.h:
10340         * WorkArea.C:
10341         * screen.C: move WorkArea into frontends/
10342
10343         * lyxscreen.h:
10344         * screen.C:
10345         * text.C:
10346         * BufferView.C:
10347         * BufferView2.C: move LyXScreen into frontends/
10348
10349         * lyxlookup.h:
10350         * lyxlookup.C:
10351         * lyx_gui.C: move lyxlookup into frontends/xforms/
10352
10353 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10354
10355         * BufferView2.C:
10356         * BufferView_pimpl.C:
10357         * FontLoader.C:
10358         * LyXView.h:
10359         * LyXView.C:
10360         * Makefile.am:
10361         * WorkArea.C:
10362         * XFormsView.h:
10363         * XFormsView.C:
10364         * buffer.C:
10365         * bufferlist.C:
10366         * bufferview_funcs.C:
10367         * converter.C:
10368         * importer.C:
10369         * lyx_cb.C:
10370         * lyx_gui.C:
10371         * lyx_main.C:
10372         * lyx_find.C:
10373         * lyxfunc.C:
10374         * lyxvc.C:
10375         * minibuffer.C:
10376         * text.C:
10377         * text2.C:
10378         * trans.C:
10379         * vc-backend.C: move LyX/XFormsView into frontends/
10380
10381 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10382
10383         * Makefile.am:
10384         * PainterBase.C:
10385         * PainterBase.h:
10386         * Painter.C:
10387         * Painter.h:
10388         * WorkArea.C:
10389         * WorkArea.h:
10390         * screen.C:
10391         * tabular.C:
10392         * text.C:
10393         * text2.C: move Painter to frontends/
10394
10395 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10396
10397         * buffer.C: comment out some some code that depend upon lyx_format
10398         < 220
10399
10400         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10401         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10402
10403         * buffer.h (NO_COMPABILITY): turn off compability
10404
10405         * ColorHandler.C: include scoped_array.hpp
10406
10407         * font.C: Use more specific smart_ptr header.
10408         * Painter.C: ditto
10409         * gettext.C: ditto
10410         * ShareContainer.h: ditto
10411         * lyx_main.h: ditto
10412         * kbmap.h: ditto
10413         * FontInfo.h: ditto
10414         * BufferView_pimpl.h: ditto
10415         * ColorHandler.h: ditto
10416
10417         * kbmap.C (defkey): change call to shared_ptr::reset
10418
10419 2002-05-21  Juergen Vigna  <jug@sad.it>
10420
10421         * buffer.C (insertErtContents): fix to insert ert asis if it is
10422         non empty. Skip it completely if it contains only whitespaces.
10423
10424 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10425
10426         * BufferView_pimpl.C:
10427         * BufferView2.C: clear selection on paste (bug 393)
10428
10429 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10430
10431         * DepTable.C: include ctime
10432
10433 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10434
10435         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10436
10437 2002-05-14  Juergen Vigna  <jug@sad.it>
10438
10439         * text.C (breakParagraph): fixed function to honor the keepempty
10440         layout in the right maner and also to permit the right breaking
10441         algorithm on empty or non empyt keepempty paragraphs.
10442
10443         * paragraph.C (breakParagraph): we have to check also if the par
10444         is really empty (!size()) for isempty otherwise we do the wrong
10445         paragraph break.
10446
10447 2002-05-10  Juergen Vigna  <jug@sad.it>
10448
10449         * buffer.[Ch] : The following are only changes to the ert
10450         compatibility read reading old LaTeX layout and font stuff and
10451         convert it to ERTInsets.
10452
10453         * buffer.h: added isErtInset().
10454
10455         * buffer.C (struct ErtComp): add a fromlayout bool to check
10456         if we're inside a LaTeX layout.
10457         (isErtInset): new helper function.
10458         (insertErtContents): look for other ert insets before this one
10459         and insert the contents there, so that we don't have subsequent
10460         ERT insets with nothing between them. This way we create only one
10461         inset with multiple paragraphs. Also check if we don't insert only
10462         spaces ' ' as they are ignored anyway afterwards in the .tex file
10463         so if we have only spaces we will ignore this latex part in the
10464         new file.
10465         (parseSingleLyXformat2Token \\layout): better compatibility when
10466         reading layout-latex stuff.
10467         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10468         language tag.
10469         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10470         stuff after reading the inset only get the information back from
10471         the stack.
10472
10473 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10474
10475         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10476
10477         * LaTeXFeatures.C (getBabelOptions): New method.
10478
10479 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10480
10481         * BufferView_pimpl.C (Dispatch): work around missing argument for
10482         'layout'
10483
10484 2002-05-08  Juergen Vigna  <jug@sad.it>
10485
10486         * text.C (leftMargin): handle paragraph leftindent.
10487
10488         * paragraph.C (writeFile): write the new \\leftindent tag.
10489         (validate): handle leftindent code.
10490         (TeXEnvironment): handle paragraphleftindent code again.
10491
10492         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10493
10494         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10495         for paragrap_extra indent code and new token \\leftindent.
10496         (latexParagraphs): handle the leftindent as environment.
10497
10498         * ParameterStruct.h: added leftindent support.
10499
10500         * ParagraphParameters.C (leftIndent): added support functions for
10501         the paragraph left indent.
10502
10503         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10504         more appropriate.
10505
10506 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10507
10508         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10509         inside insetERT.
10510
10511         * text.C (computeBidiTables): No bidi in insetERT.
10512
10513         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10514         in RTL documents.
10515
10516 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10517
10518         * version.C.in: pre 5
10519
10520 2002-05-02  José Matos  <jamatos@fep.up.pt>
10521         * buffer.C (makeDocBookFile): white space changes, add newline to
10522         command styles.
10523         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10524
10525         * tabular.C (docBook): fix typo.
10526
10527 2002-05-03  Juergen Vigna  <jug@sad.it>
10528
10529         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10530         change in LyXText as we can not be sure it was not freed.
10531         (drawOneRow): remove unused code.
10532
10533         * text.C (drawInset): redo the calculation of the need_break_row as
10534         it could have a row which was already freed.
10535         (draw): look at the return value of drawInset and return false if
10536         it also returned false.
10537         (paintRowText): look at the return value of draw and return false if
10538         it also returned false.
10539
10540         * lyxtext.h: added bool return type to drawInset() and draw() so that
10541         if we have a change in the row so that the rowbreak has to be redone
10542         we abort drawing as it will be called again.
10543
10544 2002-05-02  Juergen Vigna  <jug@sad.it>
10545
10546         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10547         a change in the maintext also if we're inside an inset.
10548         (Dispatch): set the cursor again after a break line and after the
10549         screen has been updated as it could be we're in a different row.
10550
10551         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10552         to set the cursor behind the pargraph with > size().
10553         (setCursor): check also for the same paragraph when checking where
10554         to put the cursor if we have a NFR inset.
10555
10556         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10557         parts of layout read further up as it still was in the wrong
10558         position.
10559
10560 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10561
10562         * screen.C (drawFromTo): change sine fullRebreak always return
10563         true.
10564
10565         * buffer.C (parseSingleLyXformat2Token): reindent some
10566
10567         * BufferView_pimpl.C (update): change since fullRebreak always
10568         return true.
10569         (Dispatch): git rid of the last hardcoded "Standard"s.
10570
10571 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10572
10573         * text2.[Ch] (fullRebreak): make it return void now that we always
10574         returned true.
10575
10576 2002-04-30  Juergen Vigna  <jug@sad.it>
10577
10578         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10579         ert compatibility check for "latex" layout.
10580
10581 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10582
10583         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10584         minipages: use col% instead of p%, and also use the current font.
10585         (makeLaTeXFile): Fix use babel condition.
10586         (parseSingleLyXformat2Token): Correct font when reading old floats.
10587
10588 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10589
10590         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10591         inserting list of floats.
10592
10593 2002-04-25  Herbert Voss  <voss@lyx.org>
10594
10595         * MenuBackend.C (expand): don't add the graphics extensions to the
10596         export menu
10597
10598 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10599
10600         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10601         non-existing layout, do not complain if it was the default layout
10602         of the original class (bug #342)
10603
10604 2002-04-24  Juergen Vigna  <jug@sad.it>
10605
10606         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10607         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10608
10609 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10610
10611         * buffer.C (getBibkeyList): If using \bibliography, return the
10612         option field with the reference itself. Enables us to provide natbib
10613         support when using \bibliography.
10614
10615 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10616
10617         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10618
10619         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10620         natbib is provided by the LaTeX class.
10621
10622 2002-04-23  Juergen Vigna  <jug@sad.it>
10623
10624         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10625         Wakeup functions.
10626
10627         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10628
10629 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10630
10631         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10632
10633         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10634         ensuremath around textordmasculine, textordfeminine and
10635         textdegree.
10636
10637 2002-04-19  Juergen Vigna  <jug@sad.it>
10638
10639         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10640         reinitializing the buffer otherwise row-dimensions may be wrong.
10641         (update): reset also the selection cursors if they do exits otherwise
10642         their x/y positions may be wrong.
10643
10644         * text2.C (cursorDown): don't enter the inset if we came from a row
10645         above and are one row over the inset.
10646
10647         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10648         really leaving an inset.
10649
10650 2002-04-18  Juergen Vigna  <jug@sad.it>
10651
10652         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10653         of the selected paragraph does not have the selected layout also if
10654         the last one had!
10655
10656         * text2.C (setLayout): fixed bug which did not change last selected
10657         paragraph.
10658
10659         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10660         changed the read and substituted \\end_float with \\end_inset!
10661
10662         * BufferView_pimpl.C (cursorPrevious):
10663         (cursorNext): fixed to make it work with rows heigher than the work
10664         area without moving the cursor only the draw of the row.
10665         (workAreaMotionNotify): fix jumping over high rows.
10666
10667 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10668
10669         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10670         Ressler.
10671
10672 2002-04-16  Juergen Vigna  <jug@sad.it>
10673
10674         * text2.C (setCursor): set also the irow().
10675         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10676         (cursorUp):
10677         (cursorDown): support for locking an inset if the x_fix value goes
10678         inside it. That way I can transverse insets too with cursor up/down.
10679
10680         * lyxrow.h: added irow helper function same as other (i) functions.
10681
10682         * BufferView_pimpl.C (cursorPrevious):
10683         (cursorNext): fixed for insets!
10684
10685 2002-04-15  Juergen Vigna  <jug@sad.it>
10686
10687         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10688         position otherwise it is wrong in some cases.
10689
10690         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10691         inside the inset before the call.
10692
10693 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
10694
10695         * buffer.[Ch] (getBibkeyList): make it const.
10696
10697 2002-04-12  Juergen Vigna  <jug@sad.it>
10698
10699         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10700
10701         * text2.C (getCursorX): new helper function
10702         (setCursor): compute also ix_
10703         (setCursorFromCoordinates): set also ix.
10704
10705         * lyxcursor.h: added ix_ and helper functions.
10706
10707         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10708
10709         * buffer.C (insertStringAsLines): dont break paragraph if the this
10710         paragraph is inside an inset which does not permit it!
10711
10712         * text.C (breakParagraph): honor keepempty flag and break the paragraph
10713         also with no chars on this paragraph.
10714         (paintRowText): only paint stuff if it's inside the workarea!
10715
10716         * paragraph.C (breakParagraph): honor keepempty flag and break the
10717         paragraph always below not above.
10718
10719         * BufferView2.C (unlockInset): update the paragraph layout on inset
10720         unlock as we changed paragraph in such a case.
10721
10722         * lyxfind.C (LyXFind): clear the former selection if not found!
10723
10724         * text2.C (insertInset): freeze Undo after setUndo so that it is not
10725         again called in insertChar().
10726
10727         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10728         an inset which uses the whole row!
10729         (rightMargin): ditto.
10730         (insertChar): force a rebreak if we inserted an inset!
10731
10732 2002-03-28  Herbert Voss  <voss@lyx.org>
10733
10734         * lyxlength.[Ch]: add inBP() to get the right PS-point
10735         units (BigPoint). With inPixels we have rounding errors
10736
10737 2002-04-11  Juergen Vigna  <jug@sad.it>
10738
10739         * text2.C (setCursorFromCoordinates): set iy to the right value.
10740         (setCursor): add check if row->previous exists!
10741
10742         * buffer.C (parseSingleLyXformat2Token): reset font after read of
10743         an old float_type as this was the case in the old code!
10744
10745         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10746
10747         * BufferView2.C (showLockedInsetCursor): use iy
10748         (fitLockedInsetCursor): ditto
10749
10750         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10751         locked insets as there we have the right value now.
10752
10753         * lyxcursor.C: added iy_ variable and iy functions to set to the
10754         baseline of cursor-y of the locked inset.
10755
10756         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10757         (setCursor): fixed for insets which need a full row.
10758
10759         * text.C (rowLastPrintable): don't ignore the last space when before
10760         an inset which needs a full row.
10761         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10762         as last character of a row when before a inset which needs a full row.
10763
10764 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10765
10766         * version.C.in: update date
10767
10768         * text2.C (fullRebreak): try to always return true and see what
10769         happens...
10770
10771 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10772
10773         * MenuBackend.C (expand): use Floating::listName
10774
10775         * FloatList.C (FloatList): add listName argument to the built-in
10776         floats
10777
10778         * Floating.[Ch]: add listName member, which is the 'List of XXX'
10779         text associated with the float.
10780
10781 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10782
10783         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10784
10785 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10786
10787         * ShareContainer.h: add a couple of missing typenames.
10788
10789 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
10790
10791         * lyxrc.C (getDescription): use _() correctly rather than N_().
10792
10793 2002-03-28  Herbert Voss  <voss@lyx.org>
10794
10795         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10796         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10797
10798 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10799
10800         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10801         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10802
10803 2002-03-29  Juergen Vigna  <jug@sad.it>
10804
10805         * lyxfunc.C (dispatch): add a missing fitCursor call.
10806
10807         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10808         it was scrolled by a cursor move, so return the bool status.
10809
10810         * BufferView.C (fitCursor): return the bool flag also to the outside
10811         world as this is needed.
10812
10813         * screen.C (toggleToggle): don't subtract the offset if it's positive.
10814
10815         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10816         call the edit() as it is not needed (and wrong) IMO.
10817         (workAreaButtonPress): set the screen_first variable before evt.
10818         unlock the inset as this may change screen_first and then we have
10819         a wrong y position for the click!
10820
10821 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10822
10823         * MenuBackend.C (expand): another translation that I missed
10824
10825 2002-03-28  Juergen Vigna  <jug@sad.it>
10826
10827         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10828
10829         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10830
10831 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10832
10833         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10834
10835         * MenuBackend.C (expand): fix export/view/update when there is no
10836         document open.
10837
10838 2002-03-27  Herbert Voss  <voss@lyx.org>
10839
10840         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10841         and text%
10842
10843 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10844
10845         * bufferview_funcs.C (currentState): only show paragraph number
10846         for is DEVEL_VERSION is set.
10847
10848         * lyxfunc.C (dispatch): put warning in INFO channel
10849
10850         * MenuBackend.C (expand): translate the name of floats
10851
10852         * FloatList.C (FloatList): mark the float names for translation
10853
10854         * converter.C (convert): use LibScriptSearch
10855
10856 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10857
10858         * MenuBackend.C (defaults): fix default menu (we might as well get
10859         rid of it...)
10860
10861 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10862
10863         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10864         directory.
10865
10866 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10867
10868         * lyxvc.C: reorder includes.
10869
10870 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
10871
10872         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10873           properly
10874
10875 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
10876
10877         * CutAndPaste.C: change layouts earlier on paste
10878           to avoid crashing when calling getFont()
10879
10880 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
10881
10882         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10883         irritating #error.
10884
10885 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10886
10887         * WorkArea.C: remove 'Pending' debug message.
10888
10889         * most files: ws cleanup
10890
10891         * buffer.[Ch]: ws changes
10892
10893         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10894
10895 2002-03-21  Juergen Vigna  <jug@sad.it>
10896
10897         * tabular.C (SetMultiColumn): collapse also the contents of the
10898         cells and set the last border right. Added a Buffer const * param.
10899
10900 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10901
10902         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10903         linking or not.
10904
10905 2002-03-19  Juergen Vigna  <jug@sad.it>
10906
10907         * text2.C (clearSelection): reset also xsel_cache.
10908
10909         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10910         where it needs to be called (John tells us to do so too :)
10911         (selectionLost): reset sel_cache.
10912
10913         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10914
10915 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10916
10917         * text2.C (setCursorIntern): put debuging code in INSETS channel
10918
10919 2002-03-19  André Pönitz <poenitz@gmx.net>
10920
10921         * lyxfunc.C: tiny whitespace change
10922
10923 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10924
10925         * ToolbarDefaults.C (init):
10926         * LyXAction.C (init):
10927         * commandtags.h:
10928         * BufferView_pimpl.C (Dispatch):
10929         * lyxfunc.C (dispatch): remove LFUN_DEPTH
10930
10931 2002-03-19  Allan Rae  <rae@lyx.org>
10932
10933         * exporter.C (Export): removeAutoInsets before doing anything else.
10934         While I've just introduced a dependency on BufferView this really is
10935         the best place to clean the buffer otherwise you need to cleanup in
10936         a dozen places before calling export or cleanup in a dozen functions
10937         that export calls.
10938
10939         * converter.C (runLaTeX):
10940         (scanLog): Better handling of removeAutoInsets and screen updates.
10941
10942         * lyxfunc.C (dispatch): small whitespace changes
10943
10944 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10945
10946         * WorkArea.C (C_WorkAreaEvent): return a value.
10947         (event_cb): return 1 if we handled the event, 0 otherwise.
10948
10949         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10950
10951 2002-03-18  Juergen Vigna  <jug@sad.it>
10952
10953         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10954         (GetAdditionalWidth): ditto.
10955         (RightLine): ditto.
10956         (LeftLine): ditto.
10957
10958         * BufferView2.C (copy): use getLyXText() so that we do it inside an
10959         inset if we're there actually (probably not used right now but this
10960         is the direction to go for unifying code).
10961         (paste): disable code to clear the selection.
10962
10963         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10964         inside an InsetText and move the check further up as it is in the
10965         wrong place.
10966
10967         * text2.C (pasteSelection): set a selection over the pasted text.
10968
10969 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
10970
10971         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10972         and libgraphics to build on Cygwin.
10973
10974 2002-03-15  Juergen Vigna  <jug@sad.it>
10975
10976         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10977         inserting an Inset into the paragraph. I know this is not the best
10978         fix but we already use current_view in CutAndPaste so we will remove
10979         all of it's using at the same time.
10980
10981         * buffer.C (sgmlError): deactivated function till it is rewritten in
10982         the right mode, now it can create problems.
10983
10984         * paragraph.C (isLineSeparator): check if getInset returns != 0,
10985         before accessing it.
10986
10987 2002-03-14  Juergen Vigna  <jug@sad.it>
10988
10989         * undo_funcs.C (textHandleUndo): do the right thing when updating
10990         the inset after the undo/redo.
10991
10992         * text2.C (setCursor): just some testcode for #44 not ready yet.
10993
10994         * undo_funcs.C (textHandleUndo): set the next() and previous()
10995         pointers of the paragraph to 0 before deleting otherwise we have
10996         problems with the Paragraph::[destructor].
10997
10998         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10999         on a paragraph insertion.
11000
11001 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11002
11003         * buffer.C (asciiParagraph): use += operator for char append to
11004         string.
11005
11006         * paragraph.C (getFontSettings): compare >= not just >
11007         (highestFontInRange): ditto
11008         (setFont): ditto
11009
11010 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11011
11012         * paragraph.C: change several algorithm to be more appripriate for
11013         the problem domain. This is lookip in FontList and in the InsetList.
11014
11015 2002-03-13  André Pönitz <poenitz@gmx.net>
11016
11017         * commandtags.h:
11018         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11019
11020 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11021
11022         * commandtags.h:
11023         * LyXAction.C:
11024         * lyxfunc.C:
11025         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11026
11027 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11028
11029         * Painter.C (display): anon helper function, adjust code for this
11030         change.
11031         (pixmap): remove function.
11032
11033         * Painter.h: remove private display variable.
11034
11035         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11036
11037 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11038
11039         * WorkArea.[Ch]: remove figinset_canvas cruft.
11040
11041 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11042
11043         * lyxtextclass.C (operator): add one item cache optimization.
11044
11045         * bufferlist.h: doxy changes
11046
11047         * bufferlist.C: ws changes
11048
11049         * DepTable.[Ch] (ext_exist): place const in the right spot.
11050
11051         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11052         call resizeInsets.
11053         (workAreaExpose): call resizeInsets when the with BufferView changes.
11054         (Dispatch): adjust for protectedBlank removal
11055         (specialChar): call updateInset if the insert went ok.
11056
11057         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11058         specialChar instead.
11059
11060         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11061
11062         * BufferView.h: doxy change
11063
11064         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11065
11066         * lyxtextclass.C (operator[]): remove non-const version
11067         (defaultLayout): remove non-const version
11068
11069 2002-03-12  Juergen Vigna  <jug@sad.it>
11070
11071         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11072         did resize the LyXText too.
11073
11074         * buffer.C (readLyXformat2): set layout information on newly allocated
11075         paragraphs.
11076
11077         * tabular.C (OldFormatRead): set layout information on the paragraph.
11078
11079 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11080
11081         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11082
11083 2002-03-11  Juergen Vigna  <jug@sad.it>
11084
11085         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11086         plainly wrong.
11087         (resizeCurrentBuffer): force also the insets to resize themselfes.
11088         (moveCursorUpdate): fixed up for InsetText.
11089
11090 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11091
11092         * commandtags.h:
11093         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11094         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11095         value of Dialogs::tooltipsEnabled().
11096         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11097
11098 2002-03-08  Juergen Vigna  <jug@sad.it>
11099
11100         * BufferView_pimpl.C (updateInset): update inset inside inset also
11101         if it isn't inside theLockingInset().
11102
11103 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11104
11105         * buffer.C (asciiParagraph): redo some of the word and line length
11106         handling.
11107         (getLists): look for Caption instead of caption.
11108
11109 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11110
11111         * buffer.C (Buffer): initialize niceFile to true
11112         (makeLaTeXFile):
11113         (makeLinuxDocFile):
11114         (makeDocBookFile): make sure niceFile is true on exit
11115
11116 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11117
11118         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11119
11120 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11121
11122         * LyXSendto.C: remove.
11123         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11124         * lyx_gui.C: remove now-redundant comment.
11125         * ColorHandler.h: remove forward declaration of class WorkArea.
11126         * lyxfunc.C: remove #include "WorkArea.h".
11127
11128 2002-03-07  Juergen Vigna  <jug@sad.it>
11129
11130         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11131         got moved away with the DEPM and also set the inset_owner always
11132         right which before could have been omitted.
11133
11134 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11135
11136         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11137         wanted layout is not found.
11138
11139 2002-03-07  Juergen Vigna  <jug@sad.it>
11140
11141         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11142
11143 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11144
11145         * paragraph.C (breakParagraph): use default layout not layout of
11146         prev paragraph.
11147         (Paragraph): clear ParagraphParameters.
11148
11149 2002-03-06  Juergen Vigna  <jug@sad.it>
11150
11151         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11152         otherwise it would not be a valid lenght. Fixed a special case in
11153         the minipage compatibility read where we end the document with a
11154         minipage.
11155
11156         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11157         was set as it could be 0 for InsetTexts first entry.
11158
11159 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11160
11161         * paragraph.C (writeFile): if layout is empty write out
11162         defaultLayoutName().
11163
11164         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11165         file without named layout we set layout to defaultLayoutName().
11166
11167 2002-03-06  Juergen Vigna  <jug@sad.it>
11168
11169         * CutAndPaste.C (copySelection): set layout for new paragraph.
11170
11171         * text.C (prepareToPrint): leave ERT inset left aligned
11172         (leftMargin): don't indent paragraphs inside ERT insets
11173
11174 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11175
11176         * paragraph.C (breakParagraph): dont call clear do the work manually
11177
11178         * paragraph.[Ch] (clear): remove function
11179
11180 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11181
11182         * paragraph.C (Paragraph): dont call clear, the work has already
11183         been done.
11184
11185         * lyxtextclass.C (operator): assert if n is empty
11186
11187         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11188         work manually instead.
11189
11190 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11191
11192         * BufferView_pimpl.C: protect selectionLost against text == 0
11193
11194 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11195
11196         * text.C (breakParagraph): fix a setting layout to '0' problem.
11197
11198 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11199
11200         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11201         final location of file, for the included files, and graphics.
11202
11203 2002-03-05  Juergen Vigna  <jug@sad.it>
11204
11205         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11206
11207 2002-03-04  Juergen Vigna  <jug@sad.it>
11208
11209         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11210
11211         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11212         last column of multicolumn cells.
11213         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11214
11215 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11216
11217         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11218         file if it doesn't go to a temporary file.
11219
11220         * buffer.C (sgmlOpenTag):
11221         (sgmlCloseTag):  remove extra newline insertion.
11222
11223 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11224
11225         * text.C (getRowNearY): comment out debug msg
11226
11227 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11228
11229         * text2.C: first -> first_y
11230
11231         * text.C (getRowNearY): add some attemts at a possible
11232         optimization, not working.
11233
11234         * tabular.[Ch]: add BufferParams to several function so that newly
11235         created paragraph can be initialized to he default layotu for the
11236         buffers textclass.
11237
11238         * tabular-old.C (ReadOld): add buf->params to call of Init
11239
11240         * screen.C: rename text->first to text->first_y
11241
11242         * paragraph.C (breakParagraph): always set layout in the broken
11243         paragraph
11244
11245         * lyxtextclass.C (Read): remove lowercase
11246         (hasLayout): ditto
11247         (operator): ditto
11248         (delete_layout): ditto
11249
11250         * lyxtext.h: rename first -> first_y
11251
11252         * lyxlayout.C (Read): remove lowercase
11253         (name): ditto
11254         (setName): ditto
11255         (obsoleted_by): ditto
11256
11257         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11258
11259         * buffer.C (insertErtContents): add params are to InsetERT
11260         (parseSingleLyXformat2Token): add code to check if a paragraphs
11261         layout really exist.
11262         (parseSingleLyXformat2Token): add params to several inset
11263         constructors
11264         (asciiParagraph): remove lowercase, do the layout comparisons with
11265         no_case
11266
11267         * BufferView_pimpl.C (cursorNext): first -> first_y
11268         (resizeCurrentBuffer): first -> first_y
11269         (updateScrollbar): first -> first_y
11270         (scrollCB): first -> first_y
11271         (workAreaMotionNotify): first -> first_y
11272         (workAreaButtonPress): first -> first_y
11273         (checkInsetHit): first -> first_y
11274         (cursorPrevious): first -> first_y
11275         (cursorNext): first -> first_y
11276         (Dispatch): add buffer_->params to severl inset contructors
11277
11278 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11279
11280         * lyxlayout.C (Read): remove some debug info that I forgot.
11281
11282         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11283         clean up the code slightly.
11284         (makeLinuxDocFile): ditto
11285         (makeDocBookFile): ditto
11286
11287         * text2.C: layout as string
11288
11289         * text.C: layout as string
11290
11291         * paragraph_pimpl.C: layout as string
11292
11293         * paragraph.[Ch]: layout as string
11294
11295         * lyxtextclasslist.[Ch]: layout as string
11296
11297         * lyxtextclass.[Ch]: layout as string
11298
11299         * lyxtext.h: layout as string
11300
11301         * lyxlayout.[Ch]: layout as string
11302
11303         * lyx_cb.C: layout as string
11304
11305         * bufferview_funcs.C: layout as string
11306
11307         * bufferparams.C: layout as string
11308
11309         * buffer.C: layout as string
11310
11311         * LyXView.[Ch]: layout as string
11312
11313         * LaTeXFeatures.[Ch]: layout as string
11314
11315         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11316
11317         * BufferView_pimpl.C: change current_layout to string, remove
11318         lyx::layout_type.
11319         (Dispatch):
11320         (smartQuote):
11321         (insertInset):
11322         (workAreaButtonRelease): layout as string
11323
11324         * BufferView2.C (unlockInset): adjust
11325
11326         * vspace.C (asLatexCommand): use an explict temp variable.
11327
11328 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11329
11330         * Makefile.am: use FRONTEND_*
11331
11332 2002-03-01  Juergen Vigna  <jug@sad.it>
11333
11334         * tabular.C (SetWidthOfMulticolCell): changed to something better
11335         I hope but still work in progress.
11336         (recalculateMulticolumnsOfColumn): renamed function from
11337         recalculateMulticolCells as it is more appropriate now.
11338         (SetWidthOfCell): calculate multicols better.
11339
11340 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11341
11342         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11343
11344         * lyxfunc.C (processKeySym): print sequence also if it is
11345         `deleted' (complete)
11346
11347         * kbsequence.C (print): print sequence even if it is deleted
11348         (complete would be a better word, actually).
11349
11350         * lyxfunc.C (dispatch): print complete options after a prefix key
11351
11352         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11353
11354 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11355
11356         * text2.C (setCharFont): eliminate setCharFont code duplication.
11357
11358 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11359
11360         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11361         LFUN_TABULAR_FEATURE (bug #177)
11362
11363 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11364
11365         * Makefile.am: remove figure.h
11366
11367 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11368
11369         * Bufferview_pimpl.C:
11370         * CutAndPasteC:
11371         * LaTeX.C:
11372         * LyXSendto.C:
11373         * buffer.C:
11374         * bufferlist.C:
11375         * converter.C:
11376         * language.C:
11377         * lyxfunc.C:
11378         * lyxvc.C:
11379         * paragraph.C:
11380         * text.C:
11381         * text2.C: remove #include "lyx_gui_misc.h".
11382
11383         * LaTeX.C: added #include <cstdio>
11384
11385 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11386
11387         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11388         that the paragraph following this one can have.
11389
11390         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11391
11392         * vspace.C (asLatexCommand): fix bogus gcc warning
11393
11394         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11395
11396 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11397
11398         * text2.C (setLayout): get rid of redundant code
11399
11400 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11401
11402         * text2.C (incDepth): make sure depth cannot be increased beyond
11403         reasonable values.
11404
11405 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11406
11407         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11408         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11409
11410         * PainterBase.h (image):
11411         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11412         a LyXImage const *.
11413
11414 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11415
11416         * BufferView.C:
11417         * BufferView.h:
11418         * BufferView_pimpl.C:
11419         * BufferView_pimpl.h:
11420         * LaTeXFeatures.C:
11421         * LyXAction.C:
11422         * LyXView.C:
11423         * Makefile.am:
11424         * UpdateList.h:
11425         * UpdateList.C:
11426         * buffer.C:
11427         * figure.h:
11428         * figureForm.C:
11429         * figureForm.h:
11430         * figure_form.C:
11431         * figure_form.h:
11432         * lyx_cb.C:
11433         * lyx_gui.C:
11434         * lyx_gui_misc.C:
11435         * lyxfunc.C:
11436         * sp_base.h:
11437         * sp_ispell.h:
11438         * sp_pspell.h:
11439         * sp_spell.C: remove fig inset, and the crap house of
11440           cards that follows it
11441
11442 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11443
11444         * Makefile.am:
11445         * lyxserver.C:
11446         * os2_defines.h:
11447         * os2_errortable.h:
11448         * nt_defines.h: move .h into support/
11449
11450         * vms_defines.h: remove
11451
11452         * WorkArea.C: add space in debug output
11453
11454         * text2.C:
11455         * paragraph.C:
11456         * buffer.C: add WITH_WARNINGS
11457
11458         * vc-backend.h:
11459         * vc-backend.C:
11460         * bufferlist.C: s/retrive/retrieve/, add docs
11461
11462         * vspace.h:
11463         * vspace.C:
11464         * kbmap.h:
11465         * lyxlength.h:
11466         * lyxgluelength.h:
11467         * length_common.h:
11468         * chset.h:
11469         * chset.C: add docs
11470
11471         * lyxgui.C: add ID to X error handler
11472
11473         * lyxtestclass.c: fix typo
11474
11475 2002-02-26  Juergen Vigna  <jug@sad.it>
11476
11477         * tabular_funcs.C (write_attribute): changed so that some default
11478         attributes are not written at all.
11479         (getTokenValue): set default values before trying to read the
11480         value so we have the return value always set as default if we don't
11481         find the token we search for.
11482
11483         * tabular.C (Write): write bools as bools not as strings!
11484
11485 2002-02-22  Juergen Vigna  <jug@sad.it>
11486
11487         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11488         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11489
11490         * text.C (leftMargin): don't add an indent for paragraphs inside
11491         tabular cells (fix #208).
11492
11493 2002-02-21  José Matos  <jamatos@fep.up.pt>
11494
11495         * tabular.C (docBook): fixed support for long tables.
11496
11497 2002-02-20  Juergen Vigna  <jug@sad.it>
11498
11499         * text2.C (getFont): get the drawing font of the Inset if this
11500         paragraph is inside an inset (only important for InsetERT for now).
11501
11502         * buffer.C (insertErtContents): use new lanugage params in ERT
11503         constructor.
11504
11505         * CutAndPaste.C: commenting out seemingly uneeded code.
11506
11507 2002-02-19  Allan Rae  <rae@lyx.org>
11508
11509         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11510         Iterators might be simple to use but they also get invalidated.
11511         (removeAutoInsets): renamed saved cursor tracking variables and added
11512         some comments to clarify what everything does.
11513
11514 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11515
11516         * Chktex.C:
11517         * LaTeX.C:
11518         * LyXSendto.C:
11519         * converter.C:
11520         * lyx_cb.C:
11521         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11522         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11523
11524         * lyxfunc.C:
11525         * vc-backend.h: remove #include "support/syscall.h"
11526
11527         * LaTeX.C:
11528         * LyXSendto.C:
11529         * converter.C: rearrange #includes in Lars' approved fashion.
11530
11531         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11532         forward declare class Timeout in the header file.
11533
11534         * XFormsView.C: changes due to the above.
11535
11536         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11537         similar to LyXView.
11538
11539         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11540         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11541
11542 2002-02-18  José Matos  <jamatos@fep.up.pt>
11543
11544         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11545         insets contents.
11546
11547 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11548
11549         * a lot of small ws changes
11550         * add a lot of using std::XXX
11551         * use std construcs some places where approp.
11552         * use some exisint stuff from lyxfunctional where approp.
11553         * Make file changes to use partial linking (lets test this now...)
11554
11555 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11556
11557         * Chktex.C:
11558         * buffer.C:
11559         remove #include "support/syscontr.h" as it's redundant. Always has been.
11560
11561         * Chktex.C:
11562         * LaTeX.C:
11563         * LyXSendto.C:
11564         * converter.C:
11565         * lyx_cb.C:
11566         * vc-backend.C:
11567         change Systemcalls::System to Systemcalls::Wait and
11568         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11569         No change of functionality, just reflects the stripped down Systemcalls
11570         class.
11571
11572 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11573
11574         * debug.[Ch]: add a GRAPHICS type to the enum.
11575
11576 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11577
11578         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11579
11580         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11581         there is an inset.
11582
11583 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11584
11585         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11586         match the changes below.
11587
11588         * text2.C (toggleInset): if there is not editable inset at cursor
11589         position, try to see if cursor is _inside_ a collapsable inset
11590         and close it.
11591
11592 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11593
11594         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11595         document menu has a nice checkbox
11596
11597 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11598
11599         * lyxlength.C (asLatexString): change PW to output as percent of
11600         \textwidth.
11601
11602         * lengthcommon.C: change '%' to 't%'
11603
11604         * lyxfunc.C (dispatch): a few comments from Martin
11605
11606 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11607
11608         * WorkArea.h:
11609         * WorkArea.C:
11610         * BufferView_pimpl.h:
11611         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11612           the X selection.
11613
11614 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11615
11616         * vspace.C (inPixels): fix compiler warning
11617
11618 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11619
11620         * lyxfunc.C (getStatus): fix status message for disabled commands.
11621
11622 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11623
11624         * BufferView_pimpl.C: fix crash on close buffer
11625         during selection (#227)
11626
11627 2002-01-27  Herbert Voss  <voss@lyx.org>
11628
11629         * buffer.C: link old Figure to new graphic inset
11630
11631 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11632
11633         * FontLoader.C (getFontinfo): Change the latex font names in order
11634         to match the names of type1inst.
11635
11636 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11637
11638         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11639
11640         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11641         (extchanged): ditto
11642         (ext_exist): ditto
11643         (remove_files_with_extension): ditto
11644         (remove_file): ditto
11645         (write): ditto
11646
11647         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11648         document is smaller than the work area height. Do not initialize
11649         static variables to 0.
11650
11651 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11652
11653         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11654
11655         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11656         LFUN_LAYOUT_PARAGRAPHS.
11657
11658         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11659         tabular. It is possible to provide a possible cell, which will
11660         typically be the actcell from the corresponding insettabular
11661
11662         * lyxfunc.C (getStatus): small cleanup; disable
11663         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11664         true
11665
11666 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11667
11668         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11669
11670         * paragraph.C (startTeXParParams):
11671         (endTeXParParams): new methods. The LaTeX code to
11672         start/end paragraph formatting
11673         (simpleTeXOnePar): call startTeXParParams also when paragraph is
11674         empty (fixes bug #200)
11675
11676         * vspace.C (inPixels): adapt to the change below
11677         (inPixels): [later] more cleanups (remove unused variables)
11678
11679         * lyxlength.C (inPixels): change to use a width and a height as
11680         parameter.
11681
11682 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11683
11684         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11685         Replaced with \paperwidth
11686
11687         * DepTable.C (insert): add std:: qualifier
11688
11689 2002-01-18  Allan Rae  <rae@lyx.org>
11690
11691         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
11692         updated also?
11693
11694         * text.C (drawInset): Turned out I didn't know enough about how
11695         rebreaking worked.  This fixes most of the redraw problems.  I see
11696         an occasional cursor trail when a line is broken now and the cursor
11697         placement can seem out by a few pixels also after a rebreak.
11698
11699 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11700
11701         * buffer.C (parseSingleLyXformat2Token): update because minipage
11702         width is now a LyXLength
11703
11704         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11705
11706         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11707         math insets
11708
11709 2002-01-17  Juergen Vigna  <jug@sad.it>
11710
11711         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11712
11713         * BufferView2.C (lockInset): call edit() so that theLockingInset()
11714         is set correctly and the inset is updated correctly.
11715
11716 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11717
11718         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11719         the beginning of the loop.
11720
11721 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
11722
11723         * lyxrc.C: improve help for use_scalable_fonts
11724
11725 2002-01-17  Allan Rae  <rae@lyx.org>
11726
11727         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11728
11729 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11730
11731         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11732         make sure to set their inset_owner to the right value (bug #171)
11733
11734 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
11735
11736         * DepTable.h
11737         * DepTable.C: Implement mtime checking to reduce time spent doing
11738         CRCs.
11739
11740 2002-01-16  Juergen Vigna  <jug@sad.it>
11741
11742         * tabular.C (GetAdditionalHeight): one of error fixed.
11743
11744         * lyxrc.C (output): small fix in writing use_pspell.
11745
11746 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
11747
11748         * sp_base.h: #include LString.h
11749
11750 2002-01-16  Allan Rae  <rae@lyx.org>
11751
11752         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
11753         Can someone check this please?
11754
11755         * text.C (drawInset): It was possible that p.row would be removed by
11756         breakAgainOneRow upsetting a few other settings.  There may be another
11757         small tweak possible by setting need_break_row = 0 when p.row has been
11758         removed but I don't know enough about the logic here.
11759
11760 2002-01-15  Allan Rae  <rae@lyx.org>
11761
11762         * text.C (insertChar): removed conditional truism.
11763
11764         * BufferView2.C (removeAutoInsets): More tweaks.
11765         cur_par_prev could be a stray pointer.  Check for trailing empty line
11766         in case last line was cur_par and only had an error inset on it.
11767
11768 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11769
11770         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11771         absolute
11772
11773         * vc-backend.C (most methods):
11774         * exporter.C (Export):
11775         * converter.C (convert):
11776         (runLaTeX):
11777         * LyXSendto.C (SendtoApplyCB):
11778         * lyxfunc.C (dispatch):
11779         (menuNew):
11780         (open):
11781         (doImport):
11782         * lyx_cb.C (AutoSave):
11783         (InsertAsciiFile):
11784         * BufferView_pimpl.C (MenuInsertLyXFile):
11785         * buffer.C (runChktex): use Buffer::filePath().
11786
11787         * buffer.h: rename filename to filename_; rename filepath to
11788         filepath_ and make it private
11789         (filePath): new method
11790
11791         * buffer.C (writeFile): use fileName()
11792         (getLatexName):
11793
11794         * lyx_main.C (init): fix starting  of LyX when the binary is a
11795         link from so,ewhere else.
11796
11797         * minibuffer.C: include <cctype> for isprint
11798
11799 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11800
11801         * buffer.C (parseSingleLyXformat2Token): changes associated with the
11802         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11803         name clash with InsetCollapsable's width function.
11804
11805 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11806
11807         * lastfiles.C: include <iterator>
11808
11809 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11810
11811         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11812         std::count.
11813
11814         * buffer.C (makeLaTeXFile): ditto.
11815         Also make loop operation more transparent.
11816
11817 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
11818
11819         * ToolbarDefaults.C: remove trailing comma closing namespace.
11820
11821         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11822
11823         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11824         as in WorkArea.
11825
11826         * trans.C (Load): comment out unused variable, allowed.
11827
11828 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11829
11830         * minibuffer.[Ch] (append_char): new method to recieve input from the
11831         drop-down completion browser. If a key was pressed, then recieve this
11832         char and append it to the existing string.
11833         (peek_event): modify the positioning data passed to the completion
11834         browser so that it can be placed above the minibuffer rather than below.
11835 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11836
11837         * LyXAction.C (init): alloe error-next for readonly documents.
11838
11839         * BufferView2.C (ChangeRefsIfUnique): use standard version of
11840         count.
11841
11842 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11843
11844         * bufferlist.C (readFile): create the buffer _after_ checking that
11845         the file exists.
11846
11847         * lyxfunc.C (verboseDispatch): fix handling of arguments
11848
11849         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11850
11851         * lyxrc.C: use string::erase() instead of initializing to "".
11852
11853
11854 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
11855
11856         * BufferView_pimpl.h:
11857         * BufferView_pimpl.C:
11858         * WorkArea.h:
11859         * WorkArea.C:
11860         * text2.C: tell X when we have made a selection for copying
11861
11862 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11863
11864         * BufferView_pimpl.C (MenuInsertLyXFile):
11865         * lyxfunc.C (menuNew):
11866         (open):
11867         (doImport): add shortcuts to directory buttons
11868
11869         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11870         open a float)
11871
11872         * lyxfunc.C (setStatusMessage):
11873         (getStatusMessage): new methods
11874         (getStatus):use setStatusMessage instead of setErrorMessage
11875         (dispatch): when function is disabled, set error message here
11876         [instead of in getStatus previously]
11877
11878         * BufferView_pimpl.C (workAreaButtonRelease): update
11879         toolbar/menubar here too.
11880
11881 2002-01-13  Allan Rae  <rae@lyx.org>
11882
11883         * BufferView2.C (removeAutoInsets): finished off earlier fix.
11884         Now seems indestructible.  Remaining task is to audit all other
11885         code affected by deleteEmptyParagraphMechanism.  One small quirk
11886         left is that an empty document with an error in the preamble can
11887         be made to report an error but no error box appears.  I don't know
11888         where it goes.
11889         (removeAutoInsets): Improved comments.
11890
11891 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
11892
11893         * Thesaurus.h:
11894         * Thesaurus.C: update for Aiksaurus 0.14
11895
11896 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11897
11898         * text2.C (firstParagraph): removed member function, all uses
11899         replaces with ownerParagraph
11900         (redoParagraphs): here
11901         (updateInset): here
11902         (toggleAppendix): here
11903         * BufferView2.C (insertErrors): here
11904         (setCursorFromRow): here
11905
11906 2002-01-13  Allan Rae  <rae@lyx.org>
11907
11908         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11909         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11910         There is still a way to segfault this although you may have to do this
11911         multiple times: Have an InsetERT with an unknown command in it.
11912         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11913         <down-arrow>, <Enter> again, View->DVI, BANG!
11914
11915         * text2.C (setCursor):
11916         (deleteEmptyParagraphMechanism):
11917         * lyxtext.h (setCursor):
11918         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11919         Making use of the return value may help fix other bugs.
11920
11921 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11922
11923         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11924
11925         * LyXView.C (updateMenubar): call MenuBar::update here
11926         (updateToolbar): but not here
11927         (showState): do not update toolbar/menubar
11928
11929         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11930         should need to care about that.
11931
11932         * lyxfunc.C (verboseDispatch): simplify a bit
11933         (getStatus): have a version which takes a pseudoaction, and
11934         another which requires a (kb_action,string).
11935
11936         * LyXAction.C (retrieveActionArg): make it work also when action
11937         is not a pseudo-action.
11938         (getActionName): simplify a bit
11939         (helpText):
11940
11941 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11942
11943         * lyxfunc.C (verboseDispatch): new families of methods with
11944         several ways to specify a command and a bool to indicate whether
11945         the command name and shortcut should be displayed in minibuffer
11946         (eventually, we could extend that to a finer bitmask like
11947         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11948         (dispatch): the pristine dispatch command which just, well,
11949         dispatchs! Note it still sets its result to minibuffer; I'm not
11950         sure we want that.
11951
11952         * lyxfunc.h: remove setHintMessage
11953
11954         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11955
11956 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11957
11958         * BufferView_pimpl.C (specialChar): delete new inset if we have
11959         not been able to insert it.
11960
11961         * kbmap.C: revert to using int instead of kb_action, since all we
11962         are dealing with is pseudo-actions.
11963
11964         * LyXAction.C (searchActionArg): change to return int instead of
11965         kb_action, since the result is a pseudoaction.
11966
11967 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
11968
11969         * buffer.C (insertErtContents): Fix (partially) the font bug.
11970
11971 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
11972
11973         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11974         as the other one is broken on my machine!
11975
11976 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
11977
11978         * commandtags.h:
11979         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11980
11981 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
11982
11983         * lyxrc.[Ch]: change names and descriptions of popup font variables to
11984         reflect their actual use. Provide compatibility code for older lyxrc
11985         files.
11986
11987         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11988         FL_NORMAL_STYLE.
11989         change names of popup font variables in line with the changes to lyxrc.C
11990
11991 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11992
11993         * buffer.C (asciiParagraph): avoid outputing a word twice after
11994         an inset.
11995
11996         * lyxrc.C (getDescription): document that document_path and
11997         template_path can be empty.
11998
11999 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12000
12001         * LaTeXFeatures.C (getMacros):
12002         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12003
12004         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12005
12006         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12007         getPackages.
12008         (getPackages): rename feature "floats" to "float". Use an array to
12009         iterate over 'simple' features (i.e. just a \usepackage). Add
12010         handling of "amsmath" (renamed from "amsstyle").
12011
12012 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12013
12014         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12015         features list.
12016
12017 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12018
12019         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12020         FuncStaus::FuncStatus & FuncStaus::some_method().
12021
12022 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12023
12024         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12025         of the func_satus stuff. Edited and massaged in various ways by
12026         JMarc.
12027
12028         * lyxfunc.C (getStatus): use FuncStatus
12029
12030 2002-01-08  Juergen Vigna  <jug@sad.it>
12031
12032         * text.C (nextBreakPoint): use function Inset::isChar().
12033
12034         * paragraph.C (TeXOnePar): use function
12035         Inset::forceDefaultParagraphs.
12036
12037         * buffer.C (latexParagraphs): use function
12038         Inset::forceDefaultParagraphs.
12039
12040 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12041
12042         * lyx_gui.C (init): set the style of the menu popups to
12043         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12044
12045 2002-01-07  Juergen Vigna  <jug@sad.it>
12046
12047         * text.C (setHeightOfRow): small fix
12048         (prepareToPrint): don't look at alignment if we don't have the place
12049         for doing it.
12050
12051 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12052
12053         * box.C: New file. Move the Box methods and functions out of box.h,
12054         following Lars' suggestion.
12055
12056 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12057
12058         * box.h: #include "support/LOstream.h", needed for inlined function.
12059
12060         * lyxtextclass.C:
12061         * lyxtextclasslist.C: added some using std declarations.
12062
12063 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12064
12065         * box.h: make signed dimensions to allow insets wider than
12066           the screen (bug #162)
12067
12068         * BufferView_pimpl.C: add some insetHit debug
12069
12070 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12071
12072         * vc-backend.C: add FIXME
12073
12074 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12075
12076         * lyxfunc.C (getStatus): enable code for showing math font status
12077         in toolbar/menu.
12078
12079 2002-01-07  Juergen Vigna  <jug@sad.it>
12080
12081         * text.C (nextBreakPoint): removed debug output not needed anymore.
12082
12083 2002-01-06  Juergen Vigna  <jug@sad.it>
12084
12085         * text.C (nextBreakPoint): fixed up this function we had this bug
12086         since ever but now hopefully we break row better.
12087         (insertChar): we have to check if an inset is the next char as it
12088         could now happen that a large inset is causing a break.
12089
12090 2002-01-05  Juergen Vigna  <jug@sad.it>
12091
12092         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12093         if it doesn't like to be drawed.
12094
12095 2002-01-04  Juergen Vigna  <jug@sad.it>
12096
12097         * BufferView2.C (lockInset): forgot to set a cursor.
12098
12099         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12100
12101 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12102
12103         * FormMathsPanel.C:
12104         * FormMathsPanel.h
12105         * MathsSymbols.C:
12106         * form_maths_panel.C:
12107         * form_maths_panel.h:
12108         * form_maths_panel.fd: implemented sub- and super- buttons in math
12109         panel.
12110
12111         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12112         (or ^ space) to be used as in TeX (req'd by André).
12113
12114         * lyxfunc.C: Allow ^ and _ again to be used both as
12115         super/subscript (mathed) and as themselves (in text).
12116
12117 2002-01-03  Allan Rae  <rae@lyx.org>
12118
12119         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12120         "LyX" or the filename of the current buffer if it has one.  This is a
12121         modified form of John Levon's patch.
12122
12123         * XFormsView.C (setWindowTitle): also set icon title.
12124
12125         * LyXView.h (setWindowTitle): signature changed.
12126         * XFormsView.h (setWindowTitle): ditto.
12127
12128 2002-01-02  Juergen Vigna  <jug@sad.it>
12129
12130         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12131
12132 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12133
12134         * screen.C (topCursorVisible): introduce a temp var for
12135         text->cursor.row(), handle the case where this row is null. (kindo
12136         hachish)
12137
12138         * text2.C (setCursor): add a couple of asserts.
12139
12140         * paragraph.h (inset_iterator): add -> operator
12141
12142         * paragraph.[Ch] (autoDeleteInsets): remove member function
12143
12144         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12145         cursor pos correctly and handle inset deletion by itself.
12146         (insertErrors): move iterator declaration out of for expression
12147
12148         * lyxtextclass.C: add <algorithm>
12149
12150         * Makefile.am: added the new files to sources, removed layout.C
12151
12152         * layout.C: removed file
12153
12154         * layout.h: remove LYX_DUMMY_LAYOUT
12155
12156         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12157         layout.
12158
12159         * lyxlayout.[Ch]:
12160         * lyxtextclass.[Ch]:
12161         * lyxtextclasslist.[Ch]: new files
12162
12163         * include order changes to a lot of files, also changes because of
12164         the six new files.
12165
12166 2001-12-27  Juergen Vigna  <jug@sad.it>
12167
12168         * buffer.C (asciiParagraph): more fixes.
12169
12170         * tabular.C (ascii): make ascii export support export of only the
12171         data separated by a column-delimiter.
12172         (ascii): better support for ascii export.
12173
12174         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12175
12176 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12177
12178         * tabular_funcs.C: use a "using std::getline" instead of the
12179         previous fix from Angus (necessary for cxx + lyxstring)
12180
12181 2001-12-24  Juergen Vigna  <jug@sad.it>
12182
12183         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12184
12185         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12186         problems. First check a minipage also if we have some ert-contents
12187         (not only on par->size(), second set the right depth of the paragraph
12188         on the relink to the root-paragraph-list!
12189
12190         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12191         which then did not anymore update the main paragraphs on undo/redo!
12192
12193 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12194
12195         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12196         code. Support all font-changing funcs (even those which are not in
12197         menu currently). Support for reporting font settings in
12198         mathed (disabled until Andre provides a function on mathed's side).
12199
12200         * func_status.h (toggle): small helper function to set toggle
12201         state on a flag.
12202
12203 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12204
12205         * tabular_funcs.C: getline -> std::getline
12206
12207 2001-12-21  Juergen Vigna  <jug@sad.it>
12208
12209         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12210         accessed and could be 0 (I couldn't generate this but it seems
12211         Michael could!).
12212
12213 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12214
12215         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12216         * tabular_funcs.h: here and include iosfwd
12217
12218 2001-12-20  Juergen Vigna  <jug@sad.it>
12219
12220         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12221         inside inset but undo_par was.
12222
12223 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12224
12225         * Thesaurus.C: always include <config.h> in sources.
12226
12227         * Painter.h:
12228         * lyxlookup.h:
12229         * box.h: do not include <config.h> in header files
12230
12231         * text.C (paintLastRow): remove unused variable
12232
12233         * text.C (transformChar):
12234         (insertChar):
12235         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12236
12237         * Painter.C (text):
12238         * font.C (width): rewrite to use uppercase() instead of
12239         islower/toupper.
12240
12241         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12242
12243 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12244
12245         * lyxfind.C: clean up of find failure position change
12246
12247 2001-12-20  Juergen Vigna  <jug@sad.it>
12248
12249         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12250
12251         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12252         (TeXRow): added to LaTeX a single tabular row.
12253         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12254         (Latex): simplified and finally good LT-h/f support.
12255         (various_functions): just small adaptions for LT-h/f support.
12256
12257         * tabular_funcs.[hC]: added and moved here all not classfunctions
12258         of LyXTabular.
12259
12260 2001-12-19  Juergen Vigna  <jug@sad.it>
12261
12262         * tabular.[Ch]: better support for longtabular options (not finished
12263         yet!)
12264
12265 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12266
12267         * text.C (paintLastRow): use the label font instead of the font of
12268         the last character to compute the size of *_BOX. This makes more
12269         sense and avoids a crash with empty paragraphs.
12270         Use Painter::rectangle to draw EMPTY_BOX.
12271
12272 2001-12-19  Juergen Vigna  <jug@sad.it>
12273
12274         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12275         the paragraphs if the replaced paragraph is not the first one!
12276         Tried to delete not used paragraphs but does not work yet so for
12277         now it's inside #ifdef's and by default off!
12278
12279 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12280
12281         * MenuBackend.C: include "lyx_main.h" instead of declaring
12282         lastfiles (actually was declared as LastFiles* instead of a
12283         scoped_ptr).
12284
12285 2001-12-17  Juergen Vigna  <jug@sad.it>
12286
12287         * tabular.C (AppendColumn): applied John's fix
12288
12289 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12290
12291         * BufferView.h:
12292         * BufferView.C:
12293         * BufferView_pimpl.h:
12294         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12295
12296         * Makefile.am:
12297         * box.h: new start of class for above
12298
12299         * lyxfunc.C: ignore space-only minibuffer dispatches.
12300           Show the command name when it doesn't exist
12301
12302         * minibuffer.C: don't add empty lines to the history
12303
12304         * minibuffer.C: add a space on dropdown completion
12305
12306 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12307
12308         * text.C: fix line above/below drawing in insets
12309
12310 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12311
12312         * lyxlength.C (LyXLength): Initialize private variables.
12313
12314 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12315
12316         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12317         when inserting error insets.
12318
12319 2001-12-13  Juergen Vigna  <jug@sad.it>
12320
12321         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12322         actually sometimes the before-paragraph.
12323         (setUndo): don't clear the redostack if we're not actually undoing!
12324
12325 2001-12-06  Juergen Vigna  <jug@sad.it>
12326
12327         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12328         and fixed redoing of main paragraph, so we can use it now ;)
12329
12330         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12331
12332 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12333
12334         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12335         Juergen's request
12336
12337 2001-12-13  André Pönitz <poenitz@gmx.net>
12338
12339         * undostack.[Ch]:
12340         * undo_func.C: minor cleanup
12341
12342 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12343
12344         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12345         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12346         font in urw-fonts package which is marked as -urw-fontspecific and
12347         does not work (incidentally, changing the encoding in the
12348         fonts.dir of this package to -adobe-fontspecific fixes the
12349         problem).
12350
12351         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12352         is a crash when undoing first paragraph (Juergen, please take a
12353         look). THis does not mean the undo fix is wrong, just that it
12354         uncovers problems.
12355
12356         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12357         the (Paragraph*) version when needed instead of duplicating the
12358         code.
12359
12360         * text.C (workWidth): use Inset::parOwner to find out where the
12361         inset has been inserted. This is a huge performance gain for large
12362         documents with lots of insets. If Inset::parOwner is not set, fall
12363         back on the brute force method
12364
12365         * paragraph_pimpl.C (insertInset):
12366         * paragraph.C (Paragraph):
12367         (cutIntoMinibuffer): set parOwner of insets when
12368         inserting/removing them
12369
12370         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12371
12372 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12373
12374         * commandtags.h:
12375         * LyXAction.C:
12376         * lyx_main.C:
12377         * lyxfunc.C:
12378         * mathed/formulabase.C:
12379         * mathed/math_cursor.[Ch]:
12380         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12381
12382
12383 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12384
12385         * lyxlength.[Ch] (operator!=): new function
12386
12387 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12388
12389         * text.C (workWidth): use Inset::parOwner to find out where the
12390         inset has been inserted. This is a huge performance gain for large
12391         documents with lots of insets. If Inset::parOwner is not set, fall
12392         back on the brute force method
12393
12394         * paragraph_pimpl.C (insertInset):
12395         * paragraph.C (Paragraph):
12396         (cutIntoMinibuffer): set parOwner of insets when
12397         inserting/removing them
12398
12399         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12400
12401 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12402
12403         * tabular-old.C (getTokenValue):
12404         * tabular.C (getTokenValue):
12405         (write_attribute): new versions for LyXLength
12406         (everywhere): adjust the use of widths
12407
12408         * tabular.h: change the type of widths from string to LyXLength
12409
12410 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12411
12412         * paragraph.C: fixed missing line number count when exporting
12413         Environments to LaTeX file
12414
12415         * buffer.C: added informational message for checking line numbers.
12416
12417 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12418
12419         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12420         paragraph, do the 'double space' part, but not the 'empty
12421         paragraph' one.
12422
12423         * text.C (workWidth): small optimization
12424         (getLengthMarkerHeight): use minimal size for negative lengths.
12425
12426 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12427
12428         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12429
12430         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12431
12432 2001-12-11  André Pönitz <poenitz@gmx.net>
12433
12434         * FontLoader.C:
12435         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12436
12437 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12438
12439         * text2.C: keep selection on a setFont()
12440
12441 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12442
12443         * lyx_cb.C: another bv->text misuse, from insert label
12444
12445 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12446
12447         * kbsequence.h:
12448         * kbsequence.C: re-instate nmodifier mask
12449
12450 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12451
12452         * lyx_main.h: make lyxGUI private.
12453
12454 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12455
12456         * lyxfind.C: place the cursor correctly on failed search
12457
12458 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12459
12460         * text.C (getLengthMarkerHeight): for small heights, the arrows
12461         are not always on top/bottom of the text
12462         (drawLengthMarker): smaller arrows; take the left margin in
12463         account; draw also vfills.
12464         (paintFirstRow):
12465         (paintLastRow): remove special code for vfill and standard spaces,
12466         since everything is handled in drawLengthMarker now.
12467
12468 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12469
12470         * buffer.C (insertErtContents): try to handle font and language
12471         interaction a bit better.g
12472
12473         * ColorHandler.C (updateColor): change the hash to cover the whole
12474         LColor enum, ws cleanup
12475         (getGCLinepars): ditto
12476         (getGCLinepars): only lookup in the linecache once.
12477
12478 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12479
12480         * iterators.C (operator++): Make the iterator more robust
12481
12482         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12483         (John's patch)
12484         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12485
12486 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12487
12488         * lyxtext.h:
12489         * text.C: better added space drawing
12490
12491 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12492
12493         * LyXView.C:
12494         * BufferView2.C: fix layout combo update on inset unlock
12495
12496 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12497
12498         * Makefile.am: don't compile unused files
12499
12500 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12501
12502         * lyxfunc.C:
12503         * commandtags.h:
12504         * LyXAction.C: remove old LFUN_LAYOUTNO
12505
12506 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12507
12508         * paragraph_pimpl.h:
12509         * paragraph_pimpl.C: isTextAt() doesn't need font param
12510
12511 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12512
12513         * lyxlex.h:
12514         * lyxlex.C: little cleanup
12515
12516 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12517
12518         * BufferView_pimpl.C: fix insertAscii for insets
12519
12520 2001-12-05  Juergen Vigna  <jug@sad.it>
12521
12522         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12523         set the right font on the "multi" paragraph paste!
12524
12525 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12526
12527         * trans_decl.h:
12528         * trans_mgr.[Ch]:
12529         * trans.[Ch]:
12530         * lyxgluelength.C:
12531         * lyxlength.C: remove out-commented code.
12532
12533         * BufferView_pimpl:
12534         * CutAndPaste.C:
12535         * DepTable.C:
12536         * buffer.C:
12537         * chset.C:
12538         * lastfiles.C:
12539         * lyxlex.C:
12540         * lyxlex_pimpl.C:
12541         * lyxserver.C:
12542         * screen.C:
12543         * tabular-old.C:
12544         * tabular.C:
12545         * text.C:
12546         * trans_mgr.C:
12547         * vc-backend.C: change "while(" to "while ("
12548
12549         * lyxlength.[Ch]: add zero function to check if length is zero or
12550         not
12551         * lyxgluelength.C: use it
12552
12553 2001-12-05  Allan Rae  <rae@lyx.org>
12554
12555         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12556         Works for 2.95.3, from what I understand of Garst's reports this should
12557         work for other g++ versions.  We're screwed if the abs(int) definition
12558         changed between bugfix releases of gcc.
12559
12560 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12561
12562         * text.C: fix chapter label offset !
12563
12564 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12565
12566         * lyxtext.h:
12567         * text.C: fix hfill at end of line, clean up
12568
12569 2001-12-04  Juergen Vigna  <jug@sad.it>
12570
12571         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12572         that we force an update of the inset and it's owners if neccessary.
12573
12574 2001-12-03  Juergen Vigna  <jug@sad.it>
12575
12576         * text.C (rowLast): simplified code
12577
12578 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12579
12580         * lyxfunc.C: fix show options on timeout
12581
12582 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12583
12584         * screen.C (topCursorVisible): scroll half a page when the cursor
12585         reached top of bottom of screen
12586
12587 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12588
12589         * minibuffer.C: deactivate on loss of focus
12590
12591 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12592
12593         * vspace.[Ch] (operator!=): add operator.
12594
12595 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12596
12597         * BufferView_pimpl.C: refuse to open an inset when
12598         there's a selection.
12599
12600 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12601
12602         * BufferView_pimpl.C: allow to click on RHS of full row insets
12603
12604 2001-11-30  Juergen Vigna  <jug@sad.it>
12605
12606         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12607         insets for undo reasons.
12608
12609 2001-11-28  André Pönitz <poenitz@gmx.net>
12610
12611         * vspace.[Ch]: cosmetical changes
12612
12613 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12614
12615         * LyXAction.h:
12616         * LyXAction.C:
12617         * lyxfunc.h:
12618         * lyxfunc.C:
12619         * kbmap.h:
12620         * kbmap.C:
12621         * lyxrc.C:
12622         * kbsequence.h:
12623         * kbsequence.C: part re-write of old kb code
12624
12625         * Painter.C:
12626         * WorkArea.C: remove Lgb_bug_find_hack
12627
12628 2001-11-30  José Matos <jamatos@fep.up.pt>
12629
12630         * buffer.C (makeDocBookFile): add a comment to point a hack.
12631         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12632         Fixed a double write of labels.
12633
12634 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12635
12636         * LaTeX.C:
12637         * LaTeX.h Fixed bug in LaTeX class where it would not
12638         re-run latex if no depfiles were changed, but the .dvi was removed.
12639
12640 2001-11-28  André Pönitz <poenitz@gmx.net>
12641
12642         * all the files from the change on 2001/11/26:
12643         use lyx::layout_type instead of LyXTextClass::size_type
12644         use lyx::textclass_type instead of LyXTextClassList::size_type
12645
12646 2001-11-29  Juergen Vigna  <jug@sad.it>
12647
12648         * text.C: added support for paragraph::isFreeSpacing()
12649
12650         * buffer.C: same as above
12651
12652         * paragraph.h: inserted isFreeSpacing() function to enable
12653         FreeSpacing inside InsetERT.
12654
12655         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12656         of the paragraph's in the cut/copy buffer to 0!
12657
12658         * text2.C (removeRow): remove the assert as it can!
12659
12660         * lyxtext.h: added helper function firstRow returning firstrow and
12661         made firstrow private again.
12662
12663         * BufferView2.C (lockInset): don't relock if we're already locked!
12664
12665         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12666         the only paragraph.
12667         (removeRow): added Assert::(firstrow)
12668
12669         * debug.C: forgot to add INSETTEXT here.
12670
12671 2001-11-28  Juergen Vigna  <jug@sad.it>
12672
12673         * sp_spell.C (initialize): changed error text to more general
12674         spellchecker command use (not only ispell!)
12675
12676         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12677
12678         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12679
12680 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12681
12682         * vspace.C: initialise lyxgluelength on failure
12683
12684 2001-11-28  Allan Rae  <rae@lyx.org>
12685
12686         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12687         declaration & definition that looks like a function declaration.
12688
12689 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12690
12691         * BufferView2.C (copy):
12692         (copyEnvironment): do not clear the selection when doing a copy.
12693
12694         * text.C (paintFirstRow): compilation fix
12695
12696 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
12697
12698         * tabular.C (Latex): correct line count when writing latex.
12699
12700 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
12701
12702         * paragraph_pimpl.h:
12703         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12704           bug a bit
12705
12706 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12707
12708         * text.C:
12709         * LColor.h:
12710         * LColor.C: change vfillline->added_space
12711
12712         * text.C: add markers and text for added space
12713
12714         * vspace.C: fix comment
12715
12716 2001-11-28  André Pönitz <poenitz@gmx.net>
12717
12718         * paragraph.C: whitespace changes
12719         * all the other files from the change on 2001/11/26:
12720         change *::pos_type into lyx::pos_type
12721
12722 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
12723
12724         * buffer.C (parseSingleLyXformat2Token): Set the language to the
12725         language of the document when inserting error insets.
12726
12727 2001-11-26  André Pönitz <poenitz@gmx.net>
12728
12729         * BufferView_pimpl.[Ch]:
12730         *       CutAndPaste.C:
12731         * buffer.[Ch]:
12732         * lyxcursor.[Ch]:
12733         * lyxfind.C:
12734         * lyxfunc.C:
12735         * lyxrow.[Ch]:
12736         * paragraph.[Ch]:
12737         * paragraph_pimpl.[Ch]:
12738         * sp_spell.C:
12739         * text.C:
12740         * text2.C: reduce header dependencies, introduce type for positions
12741
12742 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12743
12744         * <various>: change to use Alert.h
12745
12746 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
12747
12748         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12749         when encountering an unknown token.
12750         (readLyXformat2): Show an error message if there were unknown tokens.
12751
12752 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
12753
12754         * BufferView2.C:
12755         * BufferView_pimpl.C:
12756         * buffer.C:
12757         * paragraph.h:
12758         * text.C:
12759         * text2.C: use par->isInset()
12760
12761 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
12762
12763         * paragraph_pimpl.h:
12764         * paragraph_pimpl.C: cleanup
12765
12766 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12767
12768         * text2.C (removeRow):
12769         * text.C (setHeightOfRow): remove useless (and costly) call to
12770         getRow.
12771
12772 2001-11-20  Allan Rae  <rae@lyx.org>
12773
12774         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12775         Now need Inset*::checkInsertChar() to return true for appropriate
12776         cases so that the characters in the minibuffer will actually be
12777         inserted.
12778
12779 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12780
12781         * text.C: change the order of the includes.
12782         (workWidth): initialize it at once.
12783         (workWidth): make maxw unsigned
12784         (setHeightOfRow): remove unused variable (inset)
12785         (selectSelectedWord): remove unused variable (inset)
12786         (paintRowText): fix drawing of hfill characters, and clean up a bit.
12787
12788 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12789
12790         * lyxserver.C (emergencyCleanup): do not try to close pipes if
12791         server is not running.
12792         (openConnection):
12793         (closeConnection): add debug info when server is disabled.
12794
12795         * ColorHandler.C (getGCForeground): send debug message to GUI
12796         channel.
12797
12798         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12799
12800         * kbmap.C (bind): modify because return conventions of
12801         kb_sequence::parse have changed.
12802
12803         * kbsequence.C (parse): only ignore spaces and not any stupid
12804         control character. This avoids tests like s[i] <= ' ', which are
12805         guaranteed to fail with 8bit characters and signed chars.
12806         Change return code to string::npos when there have been no error
12807         (0 was a bad idea when error is at first character)
12808
12809 2001-11-14  José Matos  <jamatos@fep.up.pt>
12810
12811         * buffer.h:
12812         * buffer.C (simpleDocBookOnePar): removed unused argument.
12813
12814 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12815
12816         * text.C (selectNextWordToSpellcheck): do not test explicitely for
12817         insets which are part of a word. Paragraph::isLetter takes care of
12818         that now. Use Paragraph::isInset to identify insets.
12819         (selectSelectedWord): do not test for hyphenation break.
12820
12821         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12822         that protected spaces are considered as spaces.
12823
12824         * paragraph.C (isLetter): cleanup the code for ispell extras; use
12825         Inset::isLetter.
12826
12827 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
12828
12829         * lyxserver.h:
12830         * lyxserver.C: fix it. and small cleanup.
12831
12832 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12833
12834         * BufferView_pimpl.C: use inline helpers
12835
12836         * LaTeXFeatures.h:
12837         * LaTeXFeatures.C: fix typos
12838
12839         * Spacing.h:
12840         * Spacing.C: move spacing_string into class
12841
12842         * ToolbarDefaults.C: move stuff into namespace anon
12843
12844         * layout.h: update enum
12845
12846         * lyxfunc.C: use better debug
12847
12848         * minibuffer.h: fix typo
12849
12850         * debug.h:
12851         * debug.C:
12852         * WorkArea.C: add and use Debug::WORKAREA
12853
12854         * lyxtext.h:
12855         * text.C:
12856         * text2.C: code re-organisation, inline helpers
12857
12858 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
12859
12860         * Layout.C: replaced a few cases of std::vector.size() == 0 with
12861         std::vector.empty().
12862
12863 2001-11-09  Allan Rae  <rae@lyx.org>
12864
12865         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12866         '\n's after tables.  Tabular and ERT inset work now makes this no
12867         longer necessary.
12868
12869 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
12870
12871         * minibuffer.h:
12872         * minibuffer.C: fix crash, improve drop-down completion
12873
12874 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
12875
12876         * lyxserver.h:
12877         * lyxserver.C: invalidate fd's when doing endPipe()
12878
12879 2001-11-08  José Matos  <jamatos@fep.up.pt>
12880
12881         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12882         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12883
12884         * paragraph.h:
12885         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12886
12887 2001-11-07  José Matos  <jamatos@fep.up.pt>
12888
12889         * buffer.h:
12890         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12891         const qualifier.
12892
12893         * buffer.C (sgmlOpenTag):
12894         * buffer.C (sgmlCloseTag): removed debug info.
12895
12896         * buffer.h (sgmlOpenTag):
12897         * buffer.h (sgmlCloseTag): made public.
12898
12899 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12900
12901         * buffer.C (saveParamsAsDefaults):
12902         * lyx_cb.C (MenuLayoutSave): remove
12903
12904         * LyXAction.C (init):
12905         * commandtags.h:
12906         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12907
12908 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12909
12910         * buffer.C (setPaperStuff): removed from here...
12911
12912         * bufferparams.C (setPaperStuff): ... and moved there.
12913
12914 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
12915
12916         * minibuffer.h:
12917         * minibuffer.C:
12918         * XFormsView.C: add support for drop-down completion
12919
12920 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
12921
12922         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12923         commands.
12924
12925 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12926
12927         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12928         disabled.
12929
12930 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
12931
12932         * lyx_main.C: change ref to known bugs
12933
12934 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
12935
12936         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12937         to work around older babel problems.
12938
12939 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12940
12941         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12942
12943 2001-10-24  Juergen Vigna  <jug@sad.it>
12944
12945         * tabular-old.C (ReadOld): below variable changes reflected.
12946
12947         * tabular.[Ch]: added ltType struct for longtable header/footer
12948         defines and changed all instances where they are used. Added
12949         future support for double top/bottom rows.
12950
12951 2001-10-24  José Matos  <jamatos@fep.up.pt>
12952
12953         * buffer.h (docbookHandleCaption):
12954         * buffer.C (docbookHandleCaption): removed unused function.
12955         (makeDocBookFile): moved docbook supported version to v4.1.
12956
12957 2001-10-24  José Matos  <jamatos@fep.up.pt>
12958
12959         * tabular.h:
12960         * tabular.C (docbookRow): new function to export docbook code of a row.
12961         (DocBook): now honors the longtable flags.
12962
12963 2001-10-23  José Matos  <jamatos@fep.up.pt>
12964
12965         * LaTeXFeatures.h:
12966         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12967         of the lyx defined sgml entities used in a docbook/linuxdoc document.
12968
12969         * buffer.C (makeLinuxDocFile):
12970         (makeDocBookFile): reworked the preamble, more clean, and with
12971         support for lyx defined entities. Changed the document declaration
12972         to be more XML friendly.
12973
12974         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12975         if we need to output XML that should be done with a filter.
12976
12977 2001-10-22  Juergen Vigna  <jug@sad.it>
12978
12979         * sp_pspell.h (class PSpell): add alive function needed in the
12980         controller to see if the spellchecker could be started.
12981
12982 2001-10-22  Juergen Vigna  <jug@sad.it>
12983
12984         * buffer.C (insertStringAsLines): modify the font for inserting
12985         chars in certain conditions by calling checkInsertChar(font).
12986
12987 2001-10-19  Juergen Vigna  <jug@sad.it>
12988
12989         * text.C (workWidth): use getRow instead of wrong algorithm.
12990         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12991
12992 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
12993
12994         * lyxserver.h:
12995         * lyxserver.C:
12996         * lyx_main.h:
12997         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12998
12999 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13000
13001         * text.C (workWidth): do not search for the exact row when
13002         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13003         optimization for big documents.
13004
13005 2001-10-18  Juergen Vigna  <jug@sad.it>
13006
13007         * text.C (workWidth): new function with added Inset * parameter.
13008
13009 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13010
13011         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13012
13013         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13014         change return type of getColumnNearX.
13015
13016
13017         * text.C (changeRegionCase): use uppercase/lowercase instead of
13018         toupper/tolower.
13019         (leftMargin):
13020         (rightMargin): simplify code by factoring out the uses of
13021         textclasslist.
13022         (labelFill):
13023         (numberOfHfills):
13024         (setHeightOfRow):
13025         (appendParagraph): use Paragraph::size_type
13026
13027 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13028
13029         * vspace.C (asLatexString): add a missing break
13030
13031 2001-10-15  Herbert Voss  <voss@perce.de>
13032
13033         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13034
13035 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13036
13037         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13038         is not available.
13039
13040 2001-10-10  André Pönitz <poenitz@gmx.net>
13041
13042         * lyxfunc.C: removed greek_kb_flag.
13043
13044 2001-10-10  Herbert Voss  <voss@perce.de>
13045
13046         * lyx_main.C: delete global string help_lyxdir.
13047
13048 2001-10-09  Herbert Voss  <voss@perce.de>
13049
13050         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13051
13052         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13053
13054         * lyx_main.C: added global string help_lyxdir.
13055
13056         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13057
13058 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13059
13060         * lyxrc.C (set_font_norm_type): support iso8859-4
13061
13062 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13063
13064         * LaTeX.C (deplog): add another regex for MikTeX
13065
13066 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13067
13068         * lyxrc.C (set_font_norm_type): support iso8859-3
13069
13070 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13071
13072         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13073
13074         * LaTeXFeatures.C: remove special case of french and index
13075
13076         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13077         before \begin{document}). This solves several incompatibilities.
13078
13079 2001-10-03  Garst Reese  <reese@isn.net>
13080
13081         * lyx_cb.C: change CheckTex error msg.
13082
13083 2001-10-03  José Matos  <jamatos@fep.up.pt>
13084
13085         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13086
13087 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13088
13089         * .cvsignore: update
13090
13091         * lyx_main.C (commandLineVersionInfo): use new style version info.
13092
13093         * buffer.C (writeFile):
13094         (makeLaTeXFile):
13095         (makeLinuxDocFile):
13096         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13097
13098         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13099
13100         * version.h: update to use stuff in version.C
13101
13102         * version.C.in: new file. Contains version information determined
13103         at compile time. This is a merging of version.h and
13104         version_info.h.in.
13105
13106 2001-10-03  Juergen Vigna  <jug@sad.it>
13107
13108         * BufferView_pimpl.C (update): don't change "dirty" status in
13109         updateInset call.
13110
13111 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13112
13113         * WorkArea.C (c-tor): re-position version string slightly.
13114
13115 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13116
13117         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13118         revert to previous code.
13119
13120         WorkArea.[Ch]: (show, destroySplash): methods removed.
13121
13122         WorkArea.C: rework code so that it's an amalgam of the codes before and
13123         after the splash screen was moved to WorkArea.
13124
13125 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13126
13127         * lyxrc.C (read):
13128         * vspace.C (inPixels):
13129         (lyx_advance):
13130         * kbmap.C (bind):
13131         * buffer.C (insertStringAsLines):
13132         (asciiParagraph): fix types to be large enough
13133
13134         * lyxlex_pimpl.h: change member status from short to int
13135
13136         * layout.h: fix type of endlabeltype
13137
13138         * kbmap.C (bind):
13139         * kbsequence.C (parse): change return type to string::size_type
13140
13141         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13142         variable
13143
13144         * Bullet.C (bulletSize):
13145         (bulletEntry): do not use short ints as parameters
13146
13147         * BufferView2.C (insertLyXFile): change a char to an int.
13148
13149         * WorkArea.C (WorkArea): remove unneeded floats in computation
13150
13151 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13152
13153         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13154
13155         * paragraph.C (asString): Do not ignore newline/hfill chars when
13156         copying to the clipboard.
13157
13158 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13159
13160         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13161         after a multi-line inset.
13162
13163 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13164
13165         * paragraph.C (validate): Set NeedLyXFootnoteCode
13166
13167 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13168
13169         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13170         and decrease-error to decrease.
13171
13172 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13173
13174         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13175         it more readable (should be equivalent)
13176
13177 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13178
13179         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13180
13181 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13182
13183         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13184         of a cursor (row, etc.) after a character has been deleted
13185         (deleteEmptyParagraphMechanism): call the method above on _all_
13186         cursors held by the LyXText when a double space has been
13187         detected/deleted.
13188
13189 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13190
13191         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13192         pixmap.
13193         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13194
13195         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13196         background. Use greyOut() and the new show() methods to toggle between
13197         the foreground and background. Add code to remove the splash after
13198         its initial showing.
13199
13200         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13201         (create_forms): no longer call Dialogs::showSplash.
13202
13203 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13204
13205         * .cvsignore: add version_info.h
13206
13207 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13208
13209         * version_info.h.in: new file
13210
13211         * Makefile.am: add version_info.h.in
13212
13213         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13214         version_info.h instead of VERSION_INFO
13215
13216 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13217
13218         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13219         The ERT inset now returns string().
13220
13221 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13222
13223         * lyxtext.h, text.C (selectNextWord): renamed as
13224         selectNextWordToSpellcheck.
13225
13226         * text.C (selectNextWordToSpellcheck): Modified to not select
13227         words inside an ERT inset.
13228
13229 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13230
13231         * lyx_cb.C (MenuLayoutSave): change a bit the question
13232
13233         * sp_base.h: include <sys/types.h>
13234
13235 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13236
13237         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13238
13239 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13240
13241         * several files: fix typos in user-visible strings
13242
13243 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13244
13245         * text2.C (pasteSelection): do not set the selection, since it
13246         will be cleared later. Actually, the intent was to fix the way the
13247         selection was set, but I figured rmoving the code was just as good.
13248
13249 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13250
13251         * FontLoader.C (available): Check if font is available without
13252         loading the font.
13253
13254 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13255
13256         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13257
13258 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13259
13260         * lyxrc.[Ch]: added display_graphics variable and associated code.
13261
13262 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13263
13264         * bufferparams.C (hasClassDefaults): new method. Returns true if
13265         the buffer parameters correspond to known class defaults
13266
13267 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13268
13269         * XFormsView.C (show): set minimum size to the main window.
13270
13271 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13272
13273         * text2.C (copySelection):
13274         (cutSelection):
13275         * lyxfind.C (LyXReplace):
13276         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13277         LyXText::selectionAsString.
13278
13279         * paragraph.C (asString): add "label" argument to the second form
13280
13281         * text2.C (selectionAsString): add "label" argument and pass it to
13282         Paragraph::asString.
13283
13284 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13285
13286         * lyx_main.C (commandLineHelp): remove version information
13287
13288 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13289
13290         * lyx_main.C: add -version commandline option
13291
13292 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13293
13294         * paragraph.h: make the optional constructor arg required instead.
13295         some modifications to other files because of this.
13296
13297         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13298
13299         * lyxserver.C (C_LyXComm_callback): make it static
13300
13301         * lyx_main.C (error_handler): make it static
13302
13303         * lyx_gui.C (LyX_XErrHandler): make it static
13304
13305         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13306
13307         * WorkArea.C: make the extern "C" methods static.
13308
13309         * Makefile.am (lyx_LDADD): simplify
13310
13311 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13312
13313         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13314         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13315
13316         * LyXAction.C (init):
13317         * lyxfunc.C (dispatch): associated code removal.
13318
13319 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13320
13321         * lyxfont.h (isSymbolFont): shut off warning
13322
13323         * text.C (setHeightOfRow):
13324         (getVisibleRow): fix crash with empty paragraphs which have a
13325         bottom line
13326
13327 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13328
13329         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13330         code.
13331
13332 2001-09-04  José Matos  <jamatos@fep.up.pt>
13333         * buffer.C
13334         * buffer.h
13335         * tabular.C (docbook): rename docBook method to docbook.
13336
13337 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13338
13339         * Makefile.am: add dependencies to main.o.
13340
13341 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13342
13343         * FontLoader.C (available): Return false if !lyxrc.use_gui
13344
13345 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13346
13347         * FontInfo.C (query):
13348         * converter.C (view):
13349         * importer.C (Import):
13350         * exporter.C (Export): Can not -> cannot.
13351
13352 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13353
13354         * BufferView_pimpl.C: allow to create index inset even if
13355           string is empty
13356
13357 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13358
13359         * buffer.C (getLists): replace boost::tie code with an explicit pair
13360         as boost::tie can break some compilers.
13361
13362         * iterators.h: Added a std:: declaration to the return type of
13363         ParIterator::size.
13364
13365 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13366
13367         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13368           case.
13369
13370 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13371
13372         * iterators.[Ch]: New files. Provide paragraph iterators.
13373
13374         * buffer.C (changeLanguage): Use paragraph iterators.
13375         (isMultiLingual): ditto
13376
13377         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13378
13379 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13380
13381         * FontLoader.C: Support for cmr font.
13382
13383 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13384
13385         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13386         (available): New method.
13387
13388         * FontInfo.C (getFontname): Use scalable fonts even when
13389         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13390         found.
13391
13392 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13393
13394         * converter.C (Formats::view): reverted! Incorrect fix.
13395
13396 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13397
13398         * converter.C (Formats::view): only output the -paper option
13399         if the dvi viewer is xdvi, thereby fixing bug #233429.
13400
13401 2001-08-23  Herbert Voss  <voss@perce>
13402
13403         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13404
13405 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13406
13407         * Spacing.h (Spacing): Set space to Default on in the default
13408         constructor.
13409
13410 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13411
13412         * vc-backend.h (RCS::versionString): add RCS to version
13413         (CVS::versionString): add CVS to version
13414
13415         * vc-backend.C (scanMaster): do not add CVS to version.
13416         (scanMaster): do not add RCS to version
13417
13418         * lyxvc.C (versionString): new method
13419
13420         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13421
13422 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13423
13424         * Spacing.C (set): initialize fval
13425
13426 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13427
13428         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13429         " or \.
13430
13431 2001-08-16  Juergen Vigna  <jug@sad.it>
13432
13433         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13434
13435 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13436
13437         * BufferView_pimpl.C:
13438         * figureForm.C:
13439         * lyxtext.h:
13440         * text2.C: setParagraph takes linespacing now
13441
13442 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13443
13444         * LyxAction.C: add internal LFUN_CITATION_INSERT
13445
13446         * LyXView.C: actually apply fix
13447
13448         * bufferlist.C: fix open non-existent file
13449
13450         * lyxfind.C: fix indentation
13451
13452         * lyxfunc.C: remove unneeded assert, fix typo
13453
13454 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13455
13456         * MenuBackend.C: use "Floatname List"
13457
13458 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13459
13460         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13461         when converting LaTeX layout to insetERT.
13462         Generate a non-collapsed float when reading old float
13463
13464 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13465
13466         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13467         ERT insets.
13468
13469 2001-08-13  Juergen Vigna  <jug@sad.it>
13470
13471         * text.C (fill): return 0 instead of 20 as this seems to be the more
13472         correct value.
13473
13474 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13475
13476         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13477         lyxrc.font_norm.
13478
13479 2001-08-13  Juergen Vigna  <jug@sad.it>
13480
13481         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13482         casesensitive off.
13483         (SearchBackward): comment out the unlocking of the inset_owner this
13484         should not be needed!
13485
13486 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13487
13488         * Many files: Remove inherit_language, and add latex_language
13489
13490         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13491         collapsible insets.
13492
13493 2001-08-10  Juergen Vigna  <jug@sad.it>
13494
13495         * text.C (prepareToPrint): fixed hfill-width in draw!
13496
13497         * BufferView2.C (selectLastWord): save the selection cursor as this
13498         now is cleared in the function LyXText::clearSelection!
13499
13500 2001-08-08  Juergen Vigna  <jug@sad.it>
13501
13502         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13503         BACKSPACE type functions.
13504
13505         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13506         is only cutted from the document but not put in the cut-buffer, where
13507         still the old stuff should be.
13508
13509         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13510
13511         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13512
13513         * tabular.C (SetWidthOfCell): fixed special case where the width
13514         was not updated!
13515         (LeftLine): handle '|' in align_special.
13516         (RightLine): ditto
13517         (LeftAlreadyDrawed): ditto
13518         (SetWidthOfCell): ditto
13519
13520 2001-08-07  Juergen Vigna  <jug@sad.it>
13521
13522         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13523
13524 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13525
13526         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13527         * lyxlex.[hC]: ditto
13528
13529 2001-08-06  Juergen Vigna  <jug@sad.it>
13530
13531         * text.C (getVisibleRow): fix up row clearing a bit.
13532
13533 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13534
13535         * minibuffer.C: make sure the X server sees the changes in the input.
13536
13537 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13538
13539         * paragraph.C (getFont): split into...
13540         (getLabelFont): this
13541         (getLayoutFont): and this
13542         * paragraph_pimpl.C (realizeFont): calling this
13543
13544         * text2.C (getFont): split into...
13545         (getLayoutFont): this
13546         (getLabelFont): and this
13547         (realizeFont): all three calling this
13548
13549         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13550         files where used.
13551
13552 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13553
13554         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13555
13556 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13557
13558         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13559         layouts from the Quote inset insertion.
13560
13561 2001-08-03  Juergen Vigna  <jug@sad.it>
13562
13563         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13564
13565         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13566         only if status not is already CHANGED_IN_DRAW (second level).
13567
13568         * text.C (draw): don't set the need_break_row when inside an
13569         InsetText LyXText.
13570
13571 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13572
13573         * buffer.C (parseSingleLyXformat2Token): handle more latex
13574         conversion cases.
13575
13576         * bufferview_funcs.[hC]: change function names to
13577         begin with small char, adjust other files.
13578
13579 2001-08-02  André Pönitz <poenitz@gmx.net>
13580
13581         * lyxfunc.C:
13582         BufferView_pimpl.C: remove broken special code for math-greek
13583
13584 2001-08-02  Juergen Vigna  <jug@sad.it>
13585
13586         * BufferView_pimpl.C (update): redone this function so that we
13587         update the text again if there was a CHANGE_IN_DRAW.
13588
13589         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13590         (drawFromTo): added a new internal bool which is used by draw() and
13591         redraw() function.
13592         (general): some cursor drawing problems fixed.
13593
13594 2001-08-01  Juergen Vigna  <jug@sad.it>
13595
13596         * lyxfind.C (LyXFind): fixed
13597         (SearchForward): ditto
13598         (SearchBackward): ditto
13599
13600         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13601         spurius drawing of the cursor in the main area.
13602
13603         * text2.C (status): small fix which could lead to a segfault!
13604         (clearSelection): remove unneeded BufferView param.
13605
13606 2001-08-01  André Pönitz <poenitz@gmx.net>
13607
13608         * lyxfunc.C: small change due to changed mathed interface
13609
13610 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13611
13612         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13613
13614 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13615
13616         * lyxfunc.c: fail gracefully if file doesn't exist
13617
13618         * LyXSendto.C:
13619         * buffer.C:
13620         * lyxfunc.C:
13621         * BufferView_pimpl.C: IsDirWriteable() proto changed
13622
13623         * LyXView.C: fix updateWindowTitle() to store the last title
13624
13625 2001-07-31  Juergen Vigna  <jug@sad.it>
13626
13627         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13628         the font (wrong since using of Paragraph::highestFontInRange).
13629
13630         * paragraph.C (highestFontInRange): added a default_size parameter.
13631
13632         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13633         (setHeightOfRow): reformat
13634
13635 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13636
13637         * converter.[hC] + affected files: move to (inital-char)lowercase
13638         function names.
13639
13640         * ParagraphParameters.C (ParagraphParameters): remove commented code
13641
13642         * PainterBase.[Ch]: remove commented code
13643
13644         * LaTeXFeatures.h: add "bool floats" for float.sty
13645
13646         * LaTeXFeatures.C (LaTeXFeatures): init floats
13647         (require): handle float
13648         (getPackages): do it with floats
13649
13650 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13651
13652         * BufferView_pimpl.C (Dispatch): improve handling of
13653         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13654
13655         * commandtags.h: #include lyxfont.h here temporarily to avoid
13656         keybinding bug.
13657
13658         * bufferlist.h: include LString.h here.
13659
13660 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13661
13662         * text2.C (getStringToIndex): new method.
13663
13664 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13665
13666         * *: Reduced header file dependencies all over.
13667
13668 2001-07-30  Baruch Even  <baruch@lyx.org>
13669
13670         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13671
13672 2001-07-29  Baruch Even  <baruch@lyx.org>
13673
13674         * buffer.C (readInset): Changed GRAPHICS to Graphics.
13675
13676 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13677
13678         * ParameterStruct.h (endif): add a default constructor to make
13679         sure that all variables is initialized.
13680
13681         * ParagraphParameters.C (ParagraphParameters): adjust
13682
13683 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13684
13685         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13686         index; also, check that there is something to index, and that it
13687         does not span over several paragraphs.
13688         (doubleClick): use WHOLE_WORD_STRICT for double click.
13689
13690         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13691
13692         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13693         scheme.
13694
13695 2001-07-26  Baruch Even  <baruch@lyx.org>
13696
13697         * buffer.C (readInset): Changed to call up InsetGraphics when reading
13698         an InsetFig figure, backwards compatible reading of old figure code.
13699
13700 2001-07-27  Juergen Vigna  <jug@sad.it>
13701
13702         * text2.C: font.realize function adaption.
13703
13704         * text.C (draw): add a warnings lyxerr text if needed.
13705
13706         * layout.C: font.realize function adaption.
13707
13708         * language.C: add inherit_language and implement it's handlings
13709
13710         * bufferview_funcs.C (StyleReset): remove language parameter from
13711         font creation (should be language_inherit now).
13712
13713         * bufferparams.C (writeFile): handle ignore_language.
13714
13715         * paragraph.C (getFontSettings): the language has to be resolved
13716         otherwise we have problems in LyXFont!
13717
13718         * lyxfont.C (lyxWriteChanges): added document_language parameter
13719         (update): removed unneeded language parameter
13720
13721         * paragraph.C (validate): fixed wrong output of color-package when
13722         using interface colors for certain fonts in certain environments,
13723         which should not seen as that on the final output.
13724
13725 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
13726
13727         * BufferView_pimpl.C:
13728         * Thesaurus.h:
13729         * Thesaurus.C:
13730         * Makefile.am:
13731         * commandtags.h:
13732         * LyXAction.C: add thesaurus support
13733
13734         * lyxfind.h:
13735         * lyxfind.C: add "once" parameter, for thesaurus, to not
13736           move to the next match
13737
13738 2001-07-26  Juergen Vigna  <jug@sad.it>
13739
13740         * lyxfont.C (realize): honor ignore_language too!
13741         (resolved): ditto.
13742
13743         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13744
13745         * text.C (draw): one place more for ignore_language to not draw
13746         itself!
13747
13748 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
13749
13750         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13751
13752 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13753
13754         * buffer.C (parseSingleLyXformat2Token): a more general fix for
13755         the minipage conversion problem.
13756
13757 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13758
13759         * buffer.C (parseSingleLyXformat2Token): check minipage if we
13760         insert an inset.
13761
13762 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13763
13764         * BufferView.h: don't forward declare WorkArea
13765
13766         * BufferView.C: don't include WorkArea.h
13767
13768 2001-07-25  André Pönitz <poenitz@gmx.net>
13769
13770         * commandtags.h:
13771         * LyXAction.C:
13772         * lyxfunc.C:  new LFUN 'math-space'
13773
13774         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13775
13776 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13777
13778         * text2.C (toggleInset): call open/close
13779
13780 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13781
13782         * lyxfunc.C (dispatch): add debug for the disabled case
13783
13784         * font.C (buttonText): make similar to rectText
13785
13786         * buffer.C (readInset): comment out parsing of insetlist and
13787         insttheorem
13788
13789         * PainterBase.C (rectText): small correction
13790
13791         * BufferView_pimpl.C: comment out insettheorem and insetlist
13792         * LyXAction.C: ditto
13793         * commandtags.h: ditto
13794
13795 2001-07-24  Juergen Vigna  <jug@sad.it>
13796
13797         * text.C (draw): honor the ignore_language.
13798
13799         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13800
13801 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13802
13803         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13804         char inset.
13805
13806 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13807
13808         * lyxtext.h: remove unused (and unimplemented) methods
13809
13810 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13811
13812         * text.C (getVisibleRow): honor background color
13813
13814         * PainterBase.h:
13815         * Painter.h: remove default color argument for fillRectangle
13816
13817         * text.C (backgroundColor): new method
13818
13819 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13820
13821         * text.C (getVisibleRow): adjust
13822
13823         * font.[Ch] (rectText): new method, metrics
13824         (buttonText): new method, metrics
13825
13826         * PainterBase.[hC]: make rectText and buttonText always draw and take
13827         fewer paramteres.
13828
13829 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13830
13831         * ToolbarDefaults.C (read):
13832         * MenuBackend.C (read): allow escaping in all strings
13833
13834         * BufferView_pimpl.C (insertAndEditInset): new method.
13835         (Dispatch): use insertAndEditInset whenever appropriate.
13836
13837         * BufferView_pimpl.C (insertNote): removed
13838
13839         * BufferView_pimpl.C (smartQuote): new method, moved from
13840         BufferView; if an insetquote cannot be inserted, insert a '"'
13841         character instead.
13842
13843         * BufferView2.C: remove insertCorrectQuote();
13844
13845         * lyxfunc.C (getStatus): Add support for all remaingin
13846         inset-insert lfuns.
13847
13848         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13849
13850         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13851         command (necessary to pass " as parameter of self-insert.
13852
13853         * text.C (selectWordWhenUnderCursor):
13854         (selectWord): add word_location parameter
13855         (selectWordWhenUnderCursor): same + remove special code for word
13856         boundary.
13857         (selectNextWord): use kind() to guess type of insetspecialchar,
13858         not latex().
13859
13860         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13861         (insertErtContents): create ert insets as collapsed.
13862         (readInset): better compatibility code for Info inset.
13863
13864 2001-07-20  Juergen Vigna  <jug@sad.it>
13865
13866         * lyxfunc.C (dispatch): use always LyXFind now!
13867
13868         * text2.C (init): add a reinit flag so that the LyXText can be
13869         reinited instead of deleted and reallocated (used in InsetText).
13870
13871         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13872
13873         * text.C: ditto
13874
13875         * text2.C: ditto
13876
13877 2001-07-18  Juergen Vigna  <jug@sad.it>
13878
13879         * text.C (selectNextWord): handle insets inside inset by calling
13880         always the bv->text functions so that we can go up the_locking_inset!
13881
13882         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13883         in strange locations when inside an inset!
13884
13885         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13886         handling to include insets.
13887
13888         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13889
13890 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13891
13892         * LyXAction.C (init):
13893         * commandtags.h:
13894         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13895         LIGATURE_BREAK, since the name is so stupid.
13896
13897 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13898
13899         * buffer.C (readInset): enable reading of new InsetNotes as well as old
13900         InsetInfos.
13901
13902         * FontLoader.C: remove FORMS_H_LOCATION cruft.
13903
13904         * sp_form.[Ch]: remove.
13905
13906         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13907
13908         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13909         InsetInfo.
13910
13911         * src/buffer.C (readInset): ditto.
13912
13913 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13914
13915         * BufferView_pimpl.C (specialChar): new method. Obsoletes
13916         menuSeparator(), endOfSentenceDot(), ldots() and
13917         hyphenationPoint(), which are therefore removed.
13918         (Dispatch): handle LFUN_HYPHENATION_BREAK.
13919
13920         * LyXAction.C (init):
13921         * commandtags.h: add LFUN_HYPHENATION_BREAK.
13922
13923         * paragraph.C (getWord): removed.
13924
13925         * BufferView_pimpl.C (Dispatch): use last word or selection for
13926         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13927
13928         * lyx_main.C (queryUserLyXDir): do not ask before creating
13929         user_dir, except if it has been named explicitely.
13930
13931 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
13932
13933         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13934         a document of zero size.
13935
13936 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
13937
13938         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13939         approriately in the c-tor and in require().
13940         (getPackages): output the appropriate LaTeX for natbib support.
13941
13942         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13943         variables "use_natbib" and "use_numerical_citations" when reading the
13944         LyX file.
13945         (readInset): read the various natbib cite commands.
13946         (validate): white-space change.
13947
13948         * bufferparams.[Ch]: new variables "bool use_natbib" and
13949         "bool use_numerical_citations".
13950         (writeFile): output them in the LyX file.
13951
13952 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13953
13954         * lyxfunc.C (getStatus): add support for all the inset insertion
13955         commands.
13956
13957         * text2.C (insertInset):
13958         * paragraph.C (insetAllowed):
13959         * BufferView_pimpl.C (insertInset): update to take in account the
13960         renaming of insertInsetAllowed
13961
13962         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13963
13964         * text2.C (getInset): new method. returns inset at cursor position.
13965
13966         * BufferView_pimpl.C (Dispatch): changes because of this.
13967
13968         * LyXAction.C (init): rename open-stuff to inset-toggle.
13969
13970         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13971
13972         * text2.C (toggleInset): renamed from openStuff; use
13973         Inset::open().
13974
13975 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
13976
13977         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13978
13979         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13980
13981 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
13982
13983         * buffer.C (readLyXformat2): Add filename to the error dialog
13984
13985 2001-07-18  Juergen Vigna  <jug@sad.it>
13986
13987         * tabular.C (GetCellNumber): put an assert here instead of the check!
13988
13989 2001-07-17  Juergen Vigna  <jug@sad.it>
13990
13991         * BufferView_pimpl.C (toggleSelection): adapted too.
13992
13993         * text.C (selectNextWord): adapted for use with insets.
13994         (selectSelectedWord): ditto
13995
13996 2001-07-17  Juergen Vigna  <jug@sad.it>
13997
13998         * sp_spell.C (PSpell): fix initialitation order.
13999
14000 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14001
14002         * paragraph.C: spacing
14003
14004 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14005
14006         * sp_spell.C: repair language selection for pspell
14007
14008 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14009
14010         * lyxfunc.h: change more methods to begin with lower char.
14011
14012 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14013
14014         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14015         for unknown layouts.
14016
14017 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14018
14019         * buffer.C (readLyXformat2): Generate an error dialog if there are
14020         unknown layouts.
14021
14022 2001-07-16  Juergen Vigna  <jug@sad.it>
14023
14024         * sp_spell.C: always compile ISpell part.
14025
14026         * lyxrc.C: added use_pspell entry and it's handling.
14027
14028 2001-07-13  Juergen Vigna  <jug@sad.it>
14029
14030         * sp_spell.C: removed double includes.
14031
14032 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14033
14034         Consistent use of Lsstream.h:
14035         * Lsstream.h: added using std::stringstream for consistencies sake.
14036
14037         * buffer.C: removed using std::stringstream
14038
14039         * lyxfont.C (stateText):
14040         * paragraph.C (asString):
14041         * text.C (selectNextWord, selectSelectedWord):
14042         * text2.C (setCounter):
14043         * vspace.C (asString, asLatexString):
14044         std::ostringstream -> ostringstream.
14045
14046 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14047
14048         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14049         * commandtags.h: add LFUN_HELP_ABOUTLYX
14050         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14051
14052 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14053
14054         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14055         cursorToggle()
14056         * lyx_gui_misc.C: remove spellchecker
14057         * lyxfunc.C: showSpellchecker
14058         * sp_base.h: added
14059         * sp_ispell.h: added
14060         * sp_pspell.h: added
14061         * sp_spell.C: added
14062         * sp_form.[Ch]: removed
14063         * spellchecker.[Ch]: removed
14064
14065 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14066
14067         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14068         is set.
14069         (simpleTeXSpecialChars): Simply print the input character without
14070         any special translation if pass_thru is set.
14071
14072         * layout.h: Added bool pass_thru to layout class for being able to
14073         implement pass through of a paragraph for Literate Programming.
14074
14075         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14076         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14077         * layout.C (Read): add "passthru" to list of layout tags and add
14078         code to set the pass_thru boolean when it is read.
14079
14080 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14081
14082         * trans_decl.h: remove allowed from KmodInfo
14083
14084         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14085         remove allowed code
14086         (Load): adjust
14087
14088         * paragraph_pimpl.C (erase): use boost::prior
14089
14090         * Painter.C (text): use data() instead of c_str() when length is
14091         also provided.
14092         * WorkArea.C (putClipboard): ditto
14093         * font.h (width): ditto
14094
14095         * BufferView2.C: use it-> instead of (*it). for iterators
14096         * texrow.C: ditto
14097         * paragraph_pimpl.C: ditto
14098         * paragraph.C: ditto
14099         * minibuffer.C: ditto
14100         * language.C: ditto
14101         * kbmap.C: ditto
14102         * encoding.C: ditto
14103         * counters.C: ditto
14104         * converter.C: ditto
14105         * chset.C: ditto
14106         * Variables.C: ditto
14107         * TextCache.C: ditto
14108         * MenuBackend.C: ditto
14109         * LyXAction.C: ditto
14110         * LColor.C: ditto
14111         * FloatList.C: ditto
14112         * DepTable.C: ditto
14113         * ColorHandler.C (LyXColorHandler): ditto
14114
14115 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14116
14117         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14118
14119         * text2.C (openStuff): reintroduce this method (which had been
14120         nuked in NEW_INSETS frenzy).
14121
14122         * lyxfunc.C (Dispatch): when an action has not been handled, use
14123         its name in the error message, not its number.
14124
14125         * paragraph.C (inInset): change method name to begin with lowercase.
14126
14127         * undo_funcs.C:
14128         * text2.C: updates because of this.
14129
14130 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14131
14132         * ToolbarDefaults.C (add): add spaces in error message
14133
14134 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14135
14136         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14137         (readLyXformat2): rename return_par to first_par, use lyxlex's
14138         pushToken and remove the manual push handling.
14139         (parseSingleLyXformat2Token): add another ert comp. variable:
14140         in_tabular, rename return_par to first_par. handle newlines better
14141
14142 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14143
14144         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14145
14146 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14147
14148         * text2.C (getParFromID): removed
14149
14150         * buffer.C (getParFromID): new method moved form lyxtext.
14151         * BufferView2.C (insertErrors): adjust
14152         (setCursorFromRow): adjust
14153         * BufferView_pimpl.C (restorePosition): adjust
14154         * lyxfunc.C (Dispatch): adjust
14155         * undo_funcs.C (textUndo): adjust
14156         (textRedo): adjust
14157         (textHandleUndo): adjust
14158         (textHandleUndo): adjust
14159
14160 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14161
14162         * buffer.C: up' the LYX_FORMAT
14163
14164         * lyxfont.h: turn NO_LATEX on as default
14165
14166         * buffer.C (insertErtContents): new methods of tex style compability.
14167         (parseSingleLyXformat2Token): use it several places.
14168         * tabular.C (OldFormatRead): and here
14169
14170 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14171
14172         * text2.C: remove some commented code.
14173         reindent file.
14174
14175         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14176         * trans.C: changes because of the above.
14177
14178 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14179
14180         * text2.C (setCounter): Fix counters bug with bibliography layout.
14181
14182 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14183
14184         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14185         own member functions
14186         (simpleTeXSpecialChars): ditto
14187
14188 2001-07-06  Juergen Vigna  <jug@sad.it>
14189
14190         * a lot of files: changed the access to LyXText::status and the
14191         call of undo-functions.
14192
14193         * undo.[Ch]: added a inset_id to the undo informations.
14194
14195         * undo_funcs.[Ch]: added and moved here all undo functions.
14196
14197         * lyxtext.h: give the status enum a weight, made status_ a private
14198         variable and made accessor functions for it, removed the whole bunch
14199         of undo-functions as they are now in their own file, make some
14200         functions publically available. Added function ownerParagraph with
14201         int parameter.
14202
14203         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14204         made InInset() a const function, added getParFromID() function.
14205
14206         * buffer.[Ch]: added const version for inset_iterator functions,
14207         added getInsetFromID() function.
14208
14209         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14210         changed undo functions for new version.
14211
14212 2001-07-05  Juergen Vigna  <jug@sad.it>
14213
14214         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14215         unknow mechanism does not call the proper constructor but only this
14216         one also if I request the other!?
14217
14218 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14219
14220         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14221
14222         * text2.C (LyXText): use initialization lists.
14223
14224         * lyxtext.h (Selection): initialize set_ and mark_
14225         (init): remove method
14226
14227 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14228
14229         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14230
14231 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14232
14233         * screen.[Ch]: change method names to begin with lowercase
14234
14235         * BufferView_pimpl.C (updateScrollbar): simplify further and
14236         hopefully make it a bit faster.
14237
14238 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14239
14240         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14241         calling directly xforms functions.
14242
14243         * Painter.C (Painter):
14244         * lyx_cb.C (MenuWrite):
14245         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14246         fl_display.
14247
14248         * lyx_gui.C: remove bogus guiruntime extern declaration.
14249
14250 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14251
14252         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14253         in NEW_INSETS
14254         (redoDrawingOfParagraph): ditto
14255         (redoParagraphs): ditto
14256         (cutSelection): don't create a object for CutAndPaste use the
14257         static method directly
14258         (pasteSelection): ditto
14259
14260         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14261         LyXview (+ rename)
14262
14263 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14264
14265         * modifications to some other files because of this.
14266
14267         * Makefile.am (lyx_SOURCES): add XFormsView
14268
14269         * XFormsView.[Ch]: new files
14270
14271         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14272         the main window. Move the gui dependent stuff to XFormsView
14273
14274 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14275
14276         * tabular.C (GetCellInset): update cur_cell also in the row/col
14277         version of this function.
14278
14279         * lyxfunc.C: no need to include figure_form.h here.
14280
14281         * FontLoader.h:
14282         * lyxfunc.h:
14283         * lyxscreen.h:
14284         * text2.C:
14285         * lyxvc.C: no need to include forms.h here.
14286
14287 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14288
14289         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14290
14291         * lyxfunc.C (Dispatch):
14292         * Spacing.C (set):
14293         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14294         constructor argument.
14295
14296 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14297
14298         * paragraph.C (Paragraph): dont't clear, and just set layout.
14299         (makeSameLayout): use params's copy contructor.
14300
14301         * ParagraphParameters.[Ch] (makeSame): delete method
14302
14303 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14304
14305         * Variables.[Ch]: fix indentation, rename set to isSet
14306
14307 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14308
14309         * lyxfunc.C (Dispatch): fix typo
14310
14311 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14312
14313         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14314         upper_bound.
14315
14316         * bufferlist.C: include assert.h for emergencyWrite().
14317
14318 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14319
14320         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14321           give up at last (bug #425202) !
14322
14323 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14324
14325         * lyx_gui_misc.C:
14326         * sp_form.h:
14327         * sp_form.C:
14328         * spellchecker.h:
14329         * spellchecker.C: strip spellchecker options and bring up
14330           preferences tab instead
14331
14332 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14333
14334         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14335         the istringstream constructor
14336
14337 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14338
14339         * paragraph.C (getLayout): fix return value
14340
14341         * paragraph.h: do not declare getLayout as inline.
14342
14343         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14344
14345 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14346
14347         * lyxcursor.h (operator<): new func
14348         (operator>): new func
14349         (operator>=): new func
14350         (operator<=): new func
14351
14352         * text.C (changeCase): use selection.start and selection.end
14353         (changeRegionCase): require from to be <= to. Require par to be a
14354         valid paragraph.
14355
14356         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14357
14358 2001-06-27  Juergen Vigna  <jug@sad.it>
14359
14360         * text.C (cursorLeftOneWord): changed to return the cursor and added
14361         overlay with BufferView * parameter which calls this one.
14362         (getWord): added
14363         (selectWord): use new getWord function.
14364         (changeCase): renamed from changeWordCase as and extended to work
14365         also on selections.
14366
14367         * lyxtext.h: added enum word_location
14368
14369         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14370         changeCase as this operates now also on selections.
14371
14372 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14373
14374         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14375
14376         * many files: send debug output to Debug::INFO instead of
14377         Debug::ANY.
14378
14379         * converter.C (View):
14380         (Convert):
14381         (Move): send debug output to Debug::FILES instead of console.
14382
14383 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14384
14385         * lyxfunc.C (getStatus): use func_status
14386
14387         * func_status.h: new header, describing the results of
14388         LyXFunc::getStatus;
14389
14390         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14391         LFUN_MATH_HALIGN.
14392
14393 2001-06-25  The LyX Project  <jug@sad.it>
14394
14395         * buffer.C (sgmlOpenTag):
14396         (sgmlCloseTag):
14397         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14398
14399 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14400
14401         * text2.C: remove some dead code
14402
14403         * tabular.C (GetCellInset): store the last cell checked (gotten)
14404
14405         * tabular.h: add the helper for the speedup
14406
14407         * lyxtext.h: remove some dead code
14408
14409 2001-06-26  The LyX Project  <Asger>
14410
14411         * paragraph.C: Change export to LaTeX of alignment to
14412         \begin{center} and family for better roundtrip work with reLyX.
14413
14414         * Tune the math drawing a bit.
14415
14416 2001-06-25  The LyX Project  <Asger>
14417
14418         * LColor.C (LColor): New color for math background. New color
14419         for buttons.
14420
14421 2001-06-25  The LyX Project  <jug@sad.it>
14422
14423         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14424
14425         * lyxfunc.C (Open):
14426         * bufferlist.C (newFile): do not restrict to files ending with
14427         .lyx
14428
14429         * BufferView_pimpl.C (MenuInsertLyXFile):
14430
14431 2001-06-24  The LyX Project  <jug@sad.it>
14432
14433         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14434         of compare_no_case
14435
14436 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14437
14438         * lyxtext.h: rename most methods to begin with a small char.
14439         Lots of changes because of this.
14440
14441         * paragraph.C (Paragraph): do not call fitToSize
14442         (erase): call Pimpl::erase
14443         (insertChar): call Pimpl::insertChar
14444         (insertInset): call Pipl::insertInset
14445         (breakParagraph): do not call fitToSize
14446         (breakParagraphConservative): do not call fitToSize
14447         (fitToSize): remove method
14448
14449         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14450
14451 2001-06-24  The LyX Project  <Asger>
14452
14453         * Fix Qt compilation^2
14454
14455 2001-06-24  The LyX Project  <jug@sad.it>
14456
14457         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14458         depthHook(getDepth()-1).
14459
14460         * paragraph.h:
14461         * ParagraphParameters.h:
14462         * ParameterStruct.h: change type of depth to unsigned int ==
14463         depth_type. Many adaptations to other files before of that.
14464
14465 2001-06-24  The LyX Project  <Asger>
14466
14467         * Fix Qt compilation.
14468
14469 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14470
14471         * paragraph.h: renamed several methods to begin with small letter.
14472         several changes to many parts of the code because of this.
14473
14474 2001-06-23  The LyX Project  <jug@sad.it>
14475
14476         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14477         rewritten to discard all double spaces when KeepEmpty is off
14478         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14479         to only handle newlines but not fiddle with spaces and friends.
14480
14481         * lyxfunc.C (MenuNew): when doing 'new from template', use
14482         template_path as default directory
14483
14484 2001-06-23  The LyX Project  <Asger>
14485
14486         * Clean-up of header file includes all over
14487         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14488
14489 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14490
14491         * paragraph.h: renamed from lyxparagraph.h
14492
14493 2001-06-23  Asger  <lyx@violet.home.sad.it>
14494
14495         * Buffer.h: Removed Buffer::resize
14496         * BufferList.h: Removed BufferList::resize
14497         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14498         the document lazily when we change the width, or the font settings.
14499
14500 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14501
14502         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14503
14504 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14505
14506         * buffer.h: remove out of date comment
14507
14508 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14509
14510         * lyxscreen.h:
14511         * screen.C: fix "theoretical" GC leak
14512
14513 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14514
14515         * LaTeX.C (scanAuxFile):
14516         (deplog): remove trailing \r when reading stream (useful under
14517         win32)
14518
14519 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14520
14521         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14522         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14523         and BufferView::theLockingInset(Inset*), so should use them and not
14524         access bv_->text->the_locking_inset directly.
14525
14526         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14527
14528 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14529
14530         * Makefile.am:
14531         * tex-defs.h: remove old unused file
14532
14533 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14534
14535         * BufferView_pimpl.C: fix typo, remove minibuffer message
14536           when buffer has loaded
14537
14538 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14539
14540         * lyxfunc.C (Dispatch): use stringstream
14541         (MenuNew): use stringstream
14542         (Open): use stringstream
14543
14544         * importer.C (Import): use stringstream
14545
14546         * bufferview_funcs.C (CurrentState): use stringstream
14547
14548         * LaTeX.C (run): use stringstream
14549
14550         * BufferView_pimpl.C (savePosition): use stringstream
14551         (restorePosition): use stringstream
14552         (MenuInsertLyXFile): use stringstream
14553
14554 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14555
14556         * BufferView.C:
14557         * Bullet.C:
14558         * ColorHandler.C:
14559         * FontInfo.C:
14560         * FontLoader.C:
14561         * LColor.C:
14562         * LaTeXFeatures.C:
14563         * Painter.C:
14564         * gettext.C:
14565         * lyx_gui_misc.C:
14566         * lyxserver.C:
14567         * vspace.C: removed // -*- C++ -*- as first line.
14568
14569         * lyxfind.h:
14570         * version.h: added // -*- C++ -*- as first line.
14571
14572 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14573
14574         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14575
14576         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14577         of string
14578
14579 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14580
14581         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14582         of floats.
14583
14584 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14585
14586         * gettext.C: include LString.h even when --disable-nls is on.
14587
14588 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14589
14590         * converter.h (Get): changed argument type from int to
14591         FormatList::size_type to avoid unnecessary conversion.
14592
14593         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14594         before using it.
14595
14596 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14597
14598         * gettext.h: include LString.h even when --disable-nls is on.
14599
14600 2001-06-07  Juergen Vigna  <jug@sad.it>
14601
14602         * text.C (BreakAgain): subst spaces with tabs.
14603
14604         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14605         (resizeInsetsLyXText): set force on resizeLyXText.
14606
14607 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14608
14609         * gettext.h (gettext_init):
14610         (locale_init): use a real definition instead of a macro
14611
14612 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14613
14614         * Bufferview_pimpl.C:
14615         * LColor.h:
14616         * LColor.C: further lcolor tidies
14617
14618 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14619
14620         * BufferView_pimpl.C (updateScrollbar): simplify.
14621
14622         * BufferView2.C: don't include insets/insetinfo.h, change
14623         prototype for insertInset and call the Pimpl version. let
14624         updateInset call Pimpl version.
14625
14626         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14627         gotoInset to BufferView::Pimpl
14628
14629 2001-06-01  Juergen Vigna  <jug@sad.it>
14630
14631         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14632         inside a LockingInset (is the update needed at all?).
14633
14634 2001-05-31  Juergen Vigna  <jug@sad.it>
14635
14636         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14637         here not the old one otherwise how should we compare it afterwards
14638         if it's the same!
14639
14640 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14641
14642         * lyxfont.C:
14643         * tabular.C:
14644         * tabular-old.C:
14645         * FontInfo.C: bring C functions into global namespace when
14646         necessary
14647
14648 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14649
14650         * LString.h: make sure config.h has been loaded before LString.h.
14651
14652         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14653         (one for each char read by EatLine!).
14654
14655         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14656         variables.
14657
14658 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14659
14660         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14661         to the same as the par we break from
14662
14663 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14664
14665         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14666
14667         * MenuBackend.C (expand): also create menu entries for wide
14668         versions of the floats.
14669
14670         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14671
14672         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14673
14674         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14675         frontends/Makefile.am
14676
14677         * text2.C: adjust
14678         * text.C: adjust
14679
14680
14681         * tabular.C (getTokenValue): add std::
14682
14683         * tabular-old.C (getTokenValue): add std::
14684         (getTokenValue): ditto
14685         (getTokenValue): ditto
14686
14687         * screen.C (ToggleSelection): adjust
14688
14689         * lyxtext.h: put selection cursors inside a Selection struct.
14690
14691         * lyxfunc.C (moveCursorUpdate): adjust
14692
14693         * lyxfont.C (latexWriteStartChanges): add std::
14694
14695         * lyxfind.C: adjust
14696
14697         * font.h: delete with(char const *, LyXFont const &)
14698
14699         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14700
14701         * FontInfo.C (getFontname): add std::
14702
14703         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14704         (workAreaButtonPress): adjust
14705         (tripleClick): adjust
14706         (update): adjust
14707         (moveCursorUpdate): adjust
14708         (Dispatch): adjust
14709
14710         * BufferView2.C (gotoInset): adjust
14711
14712 2001-05-30  Juergen Vigna  <jug@sad.it>
14713
14714         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14715         to check pspell I add this as default as I now have new pspell
14716         libraries and they seem to use this.
14717
14718 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14719
14720         * text2.C (CutSelection): make the cursor valid before the call to
14721         ClearSelection.
14722
14723 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14724
14725         * kbsequence.C (parse): de-uglify a bit the parsing code, which
14726         relied on 0 terminated strings and other horrors. Bug found due to
14727         the new assert in lyxstring!
14728
14729         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14730         KP_ keys.
14731
14732 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14733
14734         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14735         to latinkeys.bind.
14736
14737         * lyxfunc.C (processKeySym): change method of getting to the
14738         self-insert char.
14739
14740         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14741         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14742         * BufferView_pimpl.[Ch]: here as private methods.
14743
14744 2001-05-28  Juergen Vigna  <jug@sad.it>
14745
14746         * text.C (SetHeightOfRow): added the update() call again as it is
14747         needed to initialize inset dimensions!
14748
14749 2001-05-16  Juergen Vigna  <jug@sad.it>
14750
14751         * text2.C (SetCharFont): Add new function with BufferView * and
14752         bool toggleall parameters for setting insets internal fonts.
14753         (SetFont): Freeze the undo as we may change fonts in Insets and
14754         all this change should be inside only one Undo!
14755
14756         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14757         setting font's in insets as for them we have the SetFont function!
14758
14759 2001-05-15  Juergen Vigna  <jug@sad.it>
14760
14761         * text2.C (ClearSelection): to be sure we REALLY don't have any
14762         selection anymore!
14763
14764         * tabular.C (TeXCellPreamble): fixed the left border problem for
14765         multicolumn cells.
14766
14767 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
14768
14769         * LaTeX.C (deplog): Make sure that the main .tex file is in the
14770         dependancy file
14771
14772 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14773
14774         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14775         LFUN_BREAKPARAGRAPH.
14776
14777         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14778         help test to "internal only", similar for LFUN_INSERT_URL
14779
14780         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14781         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14782         auto_region_delete and deadkeys.
14783
14784 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
14785
14786         * LColor.h:
14787         * LColor.C: remove some dead entries, tidy a little
14788
14789 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14790
14791         * lyxfunc.C (processKeySym): comment the Escape handling, remove
14792         commented code.
14793         (Dispatch): implement LFUN_ESCAPE
14794
14795         * commandtags.h: add LFUN_ESCAPE
14796
14797         * LyXAction.C (init): add entry for LFUN_ESCAPE
14798
14799         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14800         Remove commented code.
14801         (insertNote): moved here
14802         (open_new_inset): moved here
14803
14804         * BufferView[2].[Ch]: move insertNote and open_new_inset to
14805         BufferView_pimpl
14806
14807 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14808
14809         * kbmap.C (findbinding): clean it up and make it work correctly.
14810
14811         * lyx_main.C (init): do not pass argc and argv as parameters
14812
14813 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
14814
14815         * buffer.C: fix path for OS/2 & Win32
14816
14817         * lyx_gui.C:
14818         * lyx_main:
14819         * lyx_main.C: Added os:: class.
14820
14821         * os2_defines.h: update
14822
14823 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14824
14825         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14826         better by trying again with reduced state.
14827
14828 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14829
14830         * lyxrc.C (read): print error about invalid key sequence only when
14831         debugging (because not all latinX keysyms are known to some X
14832         servers)
14833
14834         * kbsequence.C (getiso): add a few std:: qualifiers
14835         (getiso): comment out extra return statement.
14836
14837 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14838
14839         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14840         handling.
14841         (Dispatch): enhance the accent inset a bit. (not perfect)
14842
14843 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14844
14845         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14846
14847 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14848
14849         * bufferlist.C (emergencyWrite): fix assert() call
14850
14851 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
14852
14853         * text.C (InsertChar): Added trivial patch to only send the "you
14854         can not do multiple spaces this way" message once during a
14855         session.
14856
14857 2001-05-08  Baruch Even  <baruch@lyx.org>
14858
14859         * Makefile.am: Changed order of libraries to get LyX to link properly
14860         with the gnome frontend.
14861
14862 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14863
14864         * LaTeXFeatures.h: add a std:: qualifier
14865
14866 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14867
14868         * paragraph.C (String): use stringstream
14869
14870 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14871
14872         * paragraph.C (writeFile): remove footflag arg
14873
14874         * buffer.C (makeLaTeXFile): use stringstream
14875         (latexParagraphs): remove footnot gurba
14876
14877         * LaTeXFeatures.C (getPackages): use stringstream
14878         (getMacros): likewise
14879         (getTClassPreamble): likewise
14880         (getFloatDefinitions): new method
14881
14882         * paragraph.C (writeFile): reindent
14883         (Erase): reindent
14884
14885         * WorkArea.h: revert the xpos + etc changes.
14886
14887         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14888
14889         * lyxparagraph.[Ch]: add copy constructor, remove Clone
14890
14891         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14892         (pasteSelection): likewise
14893         * text2.C (CreateUndo): likewise
14894
14895 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14896
14897         * minibuffer.C (peek_event): temporarily reduce the functionality
14898         of the minibuffer (to allow args on lfuns)
14899
14900         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14901         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14902
14903         * buffer.C (readInset): add compability reading of old float
14904         lists, add reading of new style float list.
14905         (readInset): avoid reevaluation of inscmd.getCmdName()
14906         (getLists): reindent
14907
14908         * MenuBackend.C (MenuItem): implement parsing of
14909         md_floatlistinsert and md_floatinsert.
14910         (expand::LastFiles): move initalizaton of iterators out of loop,
14911         avoid reevaluation.
14912         (expand::Documents): introduce typdedef vector<string> Strings,
14913         and use it.
14914         (expand::ExportFormats): introduce typedef vector<Format const *>
14915         Formats, and use it.
14916         (expand): implement FloatListInsert and FloatInsert.
14917
14918         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14919         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14920         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14921
14922         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14923         handling.
14924         (Dispatch::LFUN_FLOAT_LIST): implement
14925
14926 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
14927
14928         * LaTeX.C (run): Fix problem with --export code.
14929
14930 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
14931
14932         * BufferView.[Ch] (workarea): removed.
14933         (getClipboard) new method; wrapper for workarea()->getClipboard()
14934
14935         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14936         bug.
14937
14938         * WorkArea.h (width, height, xpos, ypos): These methods all
14939         returned the dimensions of the work_area sub-area of WorkArea,
14940         resulting in a position error if the WorkArea were resized. Now
14941         return the dimensions of the entire WorkArea.
14942
14943         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14944
14945 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14946
14947         * LaTeX.C (deplog): correct the syntax of regex reg1
14948
14949 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14950
14951         * undo.C: remove !NEW_INSETS cruft
14952
14953 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14954
14955         * text2.C: remove !NEW_INSETS cruft
14956
14957         * text.C: remove !NEW_INSETS cruft
14958
14959         * tabular.C: remove !NEW_INSETS cruft
14960
14961         * spellchecker.C: remove !NEW_INSETS cruft
14962
14963         * lyxtext.h: remove !NEW_INSETS cruft
14964
14965         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14966
14967         * lyxfunc.C: remove !NEW_INSETS cruft
14968
14969         * lyxfind.C: remove !NEW_INSETS cruft
14970
14971         * lyx_cb.C: remove !NEW_INSETS cruft
14972
14973         * figureForm.C: remove  !NEW_INSETS cruft
14974
14975         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14976
14977         * buffer.[Ch]: remove !NEW_INSETS cruft
14978
14979         * ToolbarDefaults.C: remove !NEW_INSETS cruft
14980
14981         * CutAndPaste.C: remove !NEW_INSETS cruft
14982
14983         * BufferView_pimpl.C: remove !NEW_INSETS cruft
14984
14985         * BufferView2.C: remove !NEW_INSETS cruft
14986
14987         * BufferView.h: remove !NEW_INSETS cruft
14988
14989 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14990
14991         * Lsstream.h: include LString.h before the sstream headers to
14992         fix problem with gcc 2.95.3 and lyxstring
14993
14994 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14995
14996         * lyx_main.C: add using directives when needed for C functions
14997         declared in std:: namespace.
14998
14999 2001-04-27  Juergen Vigna  <jug@sad.it>
15000
15001         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15002         (SetHeightOfRow): comment out the update call should not be needed!
15003
15004 2001-04-13  Juergen Vigna  <jug@sad.it>
15005
15006         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15007         (LyXTabular): tried to minimize operator= operations (and realized
15008         hopfully Lars wish).
15009
15010 2001-04-27  Juergen Vigna  <jug@sad.it>
15011
15012         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15013
15014 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15015
15016         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15017
15018         * buffer.C (readInset): hack to make listof algorithm work
15019
15020         * BufferView_pimpl.C: hack to make listof algorithm work
15021
15022 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15023
15024         * LyXAction.C: removed all !NEW_INSETS cruft
15025         (init): moved lfun_item in method
15026
15027         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15028
15029 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15030
15031         * BufferView2.C (theLockingInset): white space.
15032
15033 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15034
15035         * minibuffer.C: include <iostream>
15036
15037         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15038
15039         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15040
15041         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15042
15043         * text.[Ch] (TransposeChars): new method
15044
15045 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15046
15047         * call message directly through LyXView instead of through LyXFunc
15048         * BufferView2.C: adjust
15049         * BufferView_pimpl.C: adjust
15050         * FontLoader.C: adjust
15051         * buffer.C: adjust
15052         * bufferview_funcs.C: adjust
15053         * converter.C: adjust
15054         * figureForm.C: adjust
15055         * importer.C: adjust
15056         * lyx_cb.C: adjust
15057         * lyx_gui_misc.C: adjust
15058         * lyxfunc.C: adjust
15059         * lyxvc.C: adjust
15060         * text2.C: adjust
15061         + more files in subdirs
15062
15063         * lyxparagraph.h (size): move up int file
15064         (GetLayout): ditto
15065
15066         * adjust all uses of Assert to lyx::Assert.
15067
15068         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15069         lyxfunctional in namespace lyx
15070         * layout.C (hasLayout): ditto
15071         (GetLayout): ditto
15072         (GetLayout): ditto
15073         (delete_layout): ditto
15074         (NumberOfClass): ditto
15075         * converter.C (GetFormat): ditto
15076         (GetNumber): ditto
15077         (Add): ditto
15078         (Delete): ditto
15079         (SetViewer): ditto
15080         * bufferlist.C (getFileNames): ditto
15081         (emergencyWriteAll): ditto
15082         (exists): ditto
15083         (getBuffer): ditto
15084         * MenuBackend.C (hasSubmenu): ditto
15085         (hasMenu): ditto
15086         (getMenu): ditto
15087         * BufferView_pimpl.C (getInsetByCode): ditto
15088
15089 2001-04-18  Juergen Vigna  <jug@sad.it>
15090
15091         * vspace.C (asLatexString): fixed the 100% problem.
15092
15093 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15094
15095         * lyxfunc.C (Dispatch):
15096         * minibuffer.C:
15097         * minibuffer.h: add a few std:: qualifiers
15098
15099 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15100
15101         * minibuffer.[Ch]: reimplement so that commands is initiated and
15102         run from lyxfunc, simplified som handling, and made the completion
15103         and history code for complete. wip.
15104
15105         * lyxfunc.C (processKeySym): call message
15106         (miniDispatch): new temporary method
15107         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15108         (LFUN_MESSAGE): implement
15109         (LFUN_MESSAGE_PUSH): implement
15110         (LFUN_MESSAGE_POP): implement
15111         (initMiniBuffer): the initial/defualt minibuffer message.
15112
15113         * lyxfont.[Ch]: inline some more getters
15114
15115         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15116
15117         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15118
15119         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15120         (AutoSave): use LFUN_MESSAGE
15121         (Reconfigure): ditto
15122
15123         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15124
15125         * figureForm.C: use LFUN_MESSAGE
15126
15127         * converter.C (runLaTeX): use LFUN_MESSAGE
15128
15129         * bufferview_funcs.C: use LFUN_MESSAGE
15130         (Melt): ditto
15131         (changeDepth): ditto
15132
15133         * bufferparams.h: use boost::
15134
15135         * bufferlist.h: inherit privately from noncopyable
15136
15137         * bufferlist.C (loadLyXFile): remove some commented code.
15138
15139         * buffer.C (runChktex): use LFUN_MESSAGE
15140
15141         * ShareContainer.h: inherit privately from noncopyable
15142
15143         * ParagraphParameters.[hC] (depth): inline it.
15144
15145         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15146         methods.
15147         (message): new method
15148         (messagePush): ditto
15149         (messagePop): ditto
15150         (show): init minibuffer
15151         (showState): direct call
15152
15153         * LaTeX.[Ch]: inherit privately from noncopyable
15154         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15155         instead of WriteStatus.
15156
15157         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15158
15159         * BufferView_pimpl.C (buffer): don't init minibuffer
15160         (workAreaButtonPress): use LFUN_MESSAGE
15161         (workAreaButtonRelease): ditto
15162         (savePosition): ditto
15163         (restorePosition): ditto
15164         (MenuInsertLyXFile): ditto
15165         (workAreaExpose): don't init minibuffer
15166         (update): remove commented code, simplify
15167
15168         * BufferView2.C (openStuff): use LFUN_MESSAGE
15169         (toggleFloat): ditto
15170         (menuUndo): ditto
15171         (menuRedo): ditto
15172         (copyEnvironment): ditto
15173         (pasteEnvironment): ditto
15174         (copy): ditto
15175         (cut): ditto
15176         (paste): ditto
15177         (gotoInset): ditto
15178         (updateInset): remove some commented code
15179
15180         * lastfiles.h: inherit privately from noncopyable
15181         * layout.h: ditto
15182         * lyx_gui.h: ditto
15183         * lyx_main.h: ditto
15184         * lyxlex.h: ditto
15185         * lyxlex_pimpl.h: ditto
15186
15187         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15188         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15189         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15190
15191         * LyXAction.h: inherit privately from noncopyable, add methods
15192         func_begin, func_end, returning iterators to the func map.
15193
15194         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15195         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15196         (func_begin): new method
15197         (func_end): new method
15198
15199         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15200         and not)
15201         (copySelection): ditto
15202         (pasteSelection): ditto
15203
15204         * BufferView.C: whitespace change
15205         * BufferView.h: inherit privately from noncopyable
15206
15207 2001-04-16  Allan Rae  <rae@lyx.org>
15208
15209         * tabular-old.C (l_getline):
15210         * spellchecker.C (sc_check_word):
15211         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15212         an unrecognised preprocessor directive.  So ensure they're wrapped.
15213
15214 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15215
15216         * src/exporter.C (Export): Give an error message when path to file
15217         contains spaces.
15218
15219 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15220
15221         * LaTeX.C (deplog): Always check that foundfile exists.
15222
15223 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15224
15225         * lyx_main.h:
15226         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15227
15228 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15229
15230         * tabular.[Ch] (getLabelList): implement new method
15231
15232         * minibuffer.h: comment ouf setTiimer
15233
15234         * minibuffer.C (ExecutingCB): constify res
15235         (peek_event): constify s
15236         (Set): constify ntext
15237         (Init): constify nicename
15238
15239         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15240
15241         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15242         (savePosition): use two params to Minibuffer::Set
15243         (restorePosition): ditto
15244
15245 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15246
15247         * lyx_main.C: include language.h
15248
15249         * Makefile.am (lyx_main.o): add language.h
15250
15251 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15252
15253         * exporter.C:
15254         * paragraph.C:
15255         * screen.C:
15256         * tabular.C:
15257         * CutAndPaste.C: include gettext.h
15258
15259         * lyxfont.h: remove old hack with ON and OFF.
15260
15261         * lyxparagraph.h:
15262         * lyxfont.h: do not include language.h...
15263
15264         * BufferView2.C:
15265         * LaTeXFeatures.C:
15266         * Painter.C:
15267         * bufferview_funcs.C:
15268         * font.C:
15269         * lyxfont.C:
15270         * text.C:
15271         * text2.C:
15272         * trans_mgr.C:
15273         * paragraph.C: ... but do it here instead
15274
15275 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15276
15277         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15278
15279         * tabular.C: small reformat
15280
15281         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15282         NEW_INSETS version
15283         (GetChar): ditto
15284         (BreakParagraph): ditto
15285         (SetOnlyLayout): ditto
15286         (SetLayout): ditto
15287
15288         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15289         with one arg less.
15290
15291         * lastfiles.C: removed most using decl, add std:: where needed
15292
15293         * buffer.C: ws changes
15294
15295         * MenuBackend.C (class compare_format): put into anon namespace
15296         (expand): constify label, names, action, action2
15297         (expand):
15298
15299         * text.C (SingleWidth): constify font
15300         (IsBoundary): constify rtl2
15301         (GetVisibleRow): constify ww
15302
15303         * LaTeX.C (deplog): constify logfile
15304
15305         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15306         start_x, end_x
15307         (workAreaExpose): constify widthChange, heightChange
15308
15309         * lyxrow.C (par): moved
15310         (height): moved
15311         (next): moved
15312         * lyxrow.h: as inlines here
15313
15314         * lyxfont.h (shape): moved from lyxfont.C
15315         (emph): moved from lyxfont.C
15316
15317         * lyxfont.C (LyXFont): use initialization list for all
15318         constructors
15319         (shape): move to lyxfont.h as inline
15320         (emph): move to lyxfont.h as inline
15321
15322
15323 2001-04-04  Juergen Vigna  <jug@sad.it>
15324
15325         * vspace.C: had to include stdio.h for use of sscanf
15326
15327 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15328
15329         * BufferView.h:
15330         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15331         independent of xforms.
15332
15333 2001-04-02  Juergen Vigna  <jug@sad.it>
15334
15335         * spellchecker.C: fixed namespace placing!
15336
15337 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15338
15339         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15340         the LyXParagraph * is 0.
15341
15342 2001-03-29  Juergen Vigna  <jug@sad.it>
15343
15344         * vspace.C: added support for %, c%, p%, l%.
15345         (stringFromUnit): added helper function.
15346         (asLatexString): changed to give right results for the %-values.
15347
15348         * buffer.C: convert the widthp in a width%.
15349
15350 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15351
15352         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15353         figureForm.[Ch].
15354
15355         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15356         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15357
15358         * lyx_cb.[Ch]: see above.
15359
15360         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15361         form1.[Ch].
15362
15363         * form1.[Ch]:
15364         * lyx.[Ch]: replaced by figure_form.[Ch].
15365
15366         * lyx_gui.C:
15367         * lyx_gui_misc.C:
15368         * lyxfunc.C: changed headers associated with above changes.
15369
15370 2001-03-27  Juergen Vigna  <jug@sad.it>
15371
15372         * BufferView_pimpl.C: set the temporary cursor right!
15373
15374 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15375
15376         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15377
15378 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15379
15380         * LString.h: removed "using std::getline"!
15381
15382         * BufferView_pimpl.C (Dispatch): changes due to changes in
15383         InsetInclude::Params.
15384
15385         * buffer.C (tag_name): removed redundant break statements as they were
15386         producing lots of warnings with my compiler.
15387
15388 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15389
15390         * LString.h: add "using std::getline" when using the real <string>.
15391
15392 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15393
15394         * buffer.C: removed bitset usage.
15395         PAR_TAG moved to an anonymous name space.
15396         (tag_name): new funtion, also in the anonymous namespace.
15397         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15398         (makeDocBookFile): clean code. Completed transition from string arrays
15399         to string vectors.
15400         (SimpleDocBookOnePar): code clean.
15401
15402 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15403
15404         * tabular.C: add some comments.
15405
15406 2001-03-22  Juergen Vigna  <jug@sad.it>
15407
15408         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15409         compatibility read a bit and fixed bug with minipage in different
15410         depth.
15411
15412 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15413
15414         * buffer.C (pop_tag): removed.
15415         (push_tag): removed.
15416         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15417         array replaced with vector. Added support for CDATA sections.
15418         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15419         at any nest level.
15420         (makeDocBookFile): XML conformant declaration of CDATA section,
15421         fixed bug related to <emphasis> in the first paragraph char.
15422         (sgmlOpenTag): exclude empty tags.
15423         (sgmlCloseTag): ditto.
15424
15425         * buffer.h (pop_tag): removed.
15426         (push_tag): removed.
15427
15428 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15429
15430         * language.h (Languages): added size_type and size().
15431
15432 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15433
15434         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15435         response on compability reading of minipages. One probliem is that
15436         the old usage of minipages was «flertydig»
15437
15438         * several files here and in subdirs: don't use static at file
15439         scope use anon namespaces instead.
15440
15441 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15442
15443         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15444         LaTeX output. This is necessary for Literate document
15445         processing.
15446
15447 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15448
15449         * buffer.C: insert hfill when needed.
15450
15451         * tabular.C (l_getline): use string::erase, small whitespace change.
15452
15453         * BufferView_pimpl.C: try the anon namespace.
15454         * WorkArea.C: ditto
15455
15456 2001-03-16  Juergen Vigna  <jug@sad.it>
15457
15458         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15459         otherwise it won't open options-dialogs.
15460
15461         * buffer.C: honor pextraWidth(p) on converting minipages.
15462
15463         * tabular.C (l_getline): changed the functions to strip trailing \r.
15464
15465 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15466
15467         * BufferView_pimpl.C:
15468         * minibuffer..C: added "using SigC::slot" declaration.
15469
15470 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15471
15472         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15473
15474         * text2.C: ditto
15475
15476         * text.C: ditto
15477
15478         * paragraph.C: ditto
15479
15480         * lyxtext.h: NO_PEXTRA
15481
15482         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15483
15484         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15485         * ParameterStruct.h: ditto
15486         * ParagraphParameters.h: ditto
15487         * lyxparagraph.h: ditto
15488
15489 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15490
15491         * buffer.C: add compability for minipage alignment.
15492         (latexParagraphs): remove unwanted pextra check.
15493
15494         * several files: remove CXX_WORKING_NAMESPACES
15495
15496         * buffer.C (pop_tag): tie is in namespace boost
15497
15498         * BufferView.h: noncopyable is in namespace boost
15499         * lyxlex.h: ditto
15500         * lyx_main.h: ditto
15501         * lyx_gui.h: ditto
15502         * layout.h: ditto
15503         * lastfiles.h: ditto
15504         * bufferlist.h: ditto
15505         * ShareContainer.h: ditto
15506         * LyXView.h: ditto
15507         * LyXAction.h: ditto
15508         * LaTeX.h: ditto
15509
15510 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15511
15512         * Merging changes from BRANCH_MVC back into HEAD.
15513
15514         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15515
15516 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15517
15518         * BufferView_pimpl.C: change from intl.C
15519
15520         * combox.h:
15521         * combox.C:
15522         * Makefile.am: move combox.*
15523
15524         * form1.h:
15525         * form1.C:
15526         * lyx_gui.C:
15527         * intl.h:
15528         * intl.C: remove dialog (covered by prefs)
15529
15530 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15531
15532         * lyxfunc.C (Dispatch): removed redundant break statement.
15533
15534 2001-03-14  Juergen Vigna  <jug@sad.it>
15535
15536         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15537
15538 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15539
15540         * buffer.C: add hack to fix compability reading of minipages.
15541
15542 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15543
15544         * buffer.C (getLists): Cleanup.
15545
15546 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15547
15548         * lyxfont.C (update): don't honor toggleall on font size.
15549
15550 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15551
15552         * bmtable.c:
15553         * bmtable.h:
15554         * Makefile.am: moved to frontends/xforms/
15555
15556         * lyx_gui_misc.C:
15557         * lyxfunc.C:
15558         * BufferView_pimpl.C: changes for moved mathpanel
15559
15560 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15561
15562         * gettext.h: fix gettext_init() in --disable-nls
15563
15564 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15565
15566         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15567
15568 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15569
15570         * lyx.C:
15571         * lyx.h: strip external form
15572
15573 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15574
15575         * BufferView_pimpl.C: add comment, destroySplash()
15576
15577 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15578
15579         * BufferView_pimpl.C:
15580         * LyXAction.C:
15581         * buffer.C:
15582         * commandtags.h:
15583         * lyxfunc.C: use re-worked insetinclude
15584
15585 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15586
15587         * buffer.C: add using std::stringstream.
15588
15589         * lyx_cb.C: readd using std::ios.
15590
15591         * buffer.C: add using std::map.
15592
15593         * BufferView_pimpl.C: add using std::vector.
15594
15595         * ShareContainer.h: add std:: to swap.
15596
15597         * buffer.h: add some typedefs
15598         * buffer.C (getLists): use them
15599         (getLists): renamed from getTocList.
15600         add a counter for the different float types and use it in the
15601         generated string.
15602         (getLists): use the same counter for the NEW_INSETS and the "non"
15603         NEW_INSETS
15604
15605         * lyx_cb.h: remove unused items, includes, using etc.
15606
15607         * ShareContainer.h: remove some commented code, add more comments
15608         and "documentation".
15609
15610 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15611
15612         * buffer.C (getTocList): make the list also when NEW_INSETS is
15613         defined.
15614
15615         * buffer.h: remove TocType
15616
15617         * buffer.C (getTocList): change to return a map<string,
15618         vector<TocItem> >, implement for dynamic number of list.
15619
15620         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15621         * text2.C (PasteSelection): adjust
15622         * CutAndPaste.C (pasteSelection): adjust
15623
15624         * FloatList.C (FloatList): update from the new_insets branch.
15625         * Floating.[Ch]: ditto
15626         * LaTeXFeatures.C: ditto
15627         * buffer.C: ditto
15628         * lyxlex_pimpl.C: ditto
15629
15630         * paragraph.C (Last): remove when NEW_INSETS is defined.
15631
15632         * other file: changes because of the above.
15633
15634 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15635
15636         * lyxparagraph.h: rename next to next_, previous to previous_,
15637         make them private for NEW_INSETS. Rename Next() to next(),
15638         Previous() to previous().
15639
15640         * other files: changes because of the above.
15641
15642 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15643
15644         * BufferView.h:
15645         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15646         problem.
15647
15648 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15649
15650         * main.C (main): pass lyx_localedir to gettext_init().
15651
15652         * gettext.h: remove locale_init and gettext_init macros
15653
15654         * gettext.C (locale_init): new function
15655         (gettext_init): new function
15656
15657         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15658         setlocale().
15659
15660 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15661
15662         * Moved credits to frontends:
15663         * credits.[Ch]: removed
15664         * credits_form.[Ch]: removed
15665         * lyx_gui_misc.C: remove credits stuff
15666         * Makefile.am:
15667
15668 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15669
15670         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15671
15672         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15673         unneeded destructor.
15674
15675         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15676         a standalone pointer again.
15677
15678         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15679
15680 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
15681
15682         * Makefile.am:
15683         * filedlg.h:
15684         * filedlg.C:
15685         * LyXAction.C:
15686         * ToolbarDefaults.C:
15687         * bufferlist.C:
15688         * commandtags.h:
15689         * form1.C:
15690         * form1.h:
15691         * lyx_cb.C:
15692         * lyx_cb.h:
15693         * lyxfunc.h:
15694         * lyxfunc.C:
15695         * BufferView_pimpl.C: use new file dialog in GUII
15696
15697         * lyx_cb.h:
15698         * lyx_cb.C: remove LayoutsCB to Toolbar
15699
15700 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15701
15702         * ShareContainer.h (get): add std:: qualifier
15703
15704 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15705
15706         * ShareContainer.h: define a proper ShareContainer::value_type
15707         type (and use typename to please compaq cxx)
15708
15709 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15710
15711         * lyxparagraph.h: move serveral local vars to
15712         ParameterStruct/ParagraphParameters., use ShareContainer in
15713         FontTable., make vars in FontTable private and add getter and
15714         setter.
15715
15716         * paragraph.C: changes because of the above.
15717
15718         * lyxfont.h: remove copy constructor and copy assignment. (the
15719         default ones is ok), move number inside FontBits. move inlines to
15720         lyxfont.C
15721
15722         * lyxfont.C: add number to initializaton of statics, move several
15723         inlines here. constify several local vars. some whitespace
15724         cleanup. Dont hide outerscope variables.
15725
15726         * Spacing.h: add two new constructors to match the set methods.
15727
15728         * ShareContainer.h: new file, will perhaps be moved to support
15729
15730         * ParameterStruct.h: new file
15731
15732         * ParagraphParameters.h: new file
15733
15734         * ParagraphParameters.C: new file
15735
15736         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15737         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15738
15739         * BufferView_pimpl.C: ParagraphParameter changes.
15740         * buffer.C: Likewise.
15741         * bufferview_funcs.C: Likewise.
15742         * text.C: Likewise.
15743         * text2.C: Likewise.
15744
15745 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15746
15747         * lyxfind.C (LyXReplace): do not redefine default argument in
15748         implementation.
15749         (IsStringInText): ditto
15750         (SearchForward): ditto
15751         (SearchBackward): ditto
15752
15753 2001-03-06  Juergen Vigna  <jug@sad.it>
15754
15755         * lyxfind.C (IsStringInText): put parentes around expressions.
15756
15757 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
15758
15759         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15760
15761 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
15762
15763         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15764
15765         * stl_string_fwd.h: add comment
15766
15767         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15768
15769         * tabular.h:
15770         * tabular.C: remove unused DocBook methods
15771
15772         * intl.C:
15773         * language.C:
15774         * paragraph.C:
15775         * buffer.C:
15776         killed DO_USE_DEFAULT_LANGUAGE
15777
15778 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15779
15780         * lyx_gui.C: do not include language.h.
15781
15782         * bufferview_funcs.C (ToggleAndShow): do not provide optional
15783         arguments in function implementation.
15784
15785 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15786
15787         * BufferView_pimpl.C: add <ctime>
15788
15789 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15790
15791         * BufferView_pimpl.C: add using std::find_if
15792
15793 2001-02-27  José Matos  <jamatos@fep.up.pt>
15794
15795         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15796         by OnlyPath.
15797
15798 2001-02-11  José Matos  <jamatos@fep.up.pt>
15799
15800         * buffer.C (makeDocBookFile): command styles now have a parameter as
15801         "title" by default.
15802
15803 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
15804
15805         * layout_forms.[Ch]: removed
15806         * lyx_cb.[Ch]: out character
15807         * lyx_gui.C: out character
15808         * lyx_gui_misc.C: out character
15809         * bufferview_funcs.C: : out character,
15810         added toggleall as parameter in ToggleAndShow
15811
15812 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
15813
15814         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15815
15816         * text2.C (SetCurrentFont): Disable number property at boundary.
15817
15818 2001-02-26  Juergen Vigna  <jug@sad.it>
15819
15820         * lyxfunc.C (getStatus): added a string argument override function so
15821         that this is correctly called from LyXFunc::Dispatch if it contains a
15822         do_not_use_argument which is used!
15823         (Dispatch): added check for "custom" export and call appropriate func.
15824
15825 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
15826
15827         * lyxrc.C: Add language_command_local, language_use_babel and
15828         language_global_options.
15829
15830         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15831
15832         * buffer.C (makeLaTeXFile): Use language_use_babel and
15833         language_global_options.
15834
15835 2001-02-23  Juergen Vigna  <jug@sad.it>
15836
15837         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15838         which works with LyXText and putted it inside BufferView. Here now we
15839         only call for that part the BufferView::Dispatch() function.
15840
15841         * BufferView.C (Dispatch): added.
15842
15843         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15844         functions which needs to use a LyXText over from LyXFunc.
15845         (MenuInsertLyXFile): added
15846         (getInsetByCode): added
15847         (moveCursorUpdate): added
15848         (static TEXT): added
15849
15850 2001-02-22  Juergen Vigna  <jug@sad.it>
15851
15852         * BufferView_pimpl.C (update): call a status update to see if LyXText
15853         needs it.
15854
15855 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15856
15857         * vc-backend.C (revert): implement for CVS
15858         (getLog): implement for CVS
15859
15860 2001-02-20  Juergen Vigna  <jug@sad.it>
15861
15862         * text2.C (ClearSelection): added BufferView param for inset_owner call
15863
15864         * lyxfunc.C (TEXT): added this function and use it instead of
15865         directly owner->view()-text of getLyXText().
15866
15867 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
15868
15869         * src/layout_forms.C: out preamble
15870         * src/layout_forms.h: out preamble
15871         * src/lyx_cb.C: out preamble
15872         * src/lyx_cb.h: out preamble
15873         * src/lyx_gui.C: out preamble
15874         * src/lyx_gui_misc.C: out preamble
15875         * src/lyxfunc.C: connect with guii preamble
15876
15877 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
15878
15879         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15880
15881 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
15882
15883         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15884         whether to run bibtex.
15885
15886 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
15887
15888         * Makefile.am (lyx_SOURCES): Remove BackStack.h
15889
15890 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
15891
15892         * Makefile.am (lyx_SOURCES): removed bibforms.h
15893
15894         * vspace.h: doxygen
15895
15896         * text.C (GetVisibleRow): make several local vars const
15897
15898         * tabular.C: small cleanup.
15899
15900         * lyxserver.C (callback): use compare instead of strncmp
15901
15902         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15903         inlines to after class or to paragraph.C
15904
15905         * lyxfont.h: remove friend operator!=
15906
15907         * converter.h: move friend bool operator< to non friend and after
15908         class def.
15909
15910         * combox.h: small cleanup
15911
15912         * buffer.h: doxygen, remove unused constructor, move inclas inlies
15913         to inlines after class def.
15914
15915         * buffer.C (pop_tag): use string operations instead of strcmp
15916
15917         * bmtable.c: doxygen, small cleanup
15918
15919         * LaTeX.h: remove friend operator==
15920
15921 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
15922
15923         * screen.C:
15924         * lyxrc.[Ch]:
15925         * lyxfunc.C:
15926         * lyxfont.[Ch]:
15927         * lyx_cb.C:
15928         * intl.[Ch]:
15929         * commandtags.h:
15930         * buffer.C:
15931         * WorkArea.[Ch]:
15932         * LyXAction.C:
15933         * BufferView_pimpl.C:
15934         * BufferView.[Ch]: remove cruft
15935
15936 2001-02-14  Juergen Vigna  <jug@sad.it>
15937
15938         * lyxfunc.C: removed #if 0 unused code
15939
15940         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15941
15942         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15943
15944         * text2.C (SetSelection): added a BufferView * parameter
15945
15946 2001-02-13  Juergen Vigna  <jug@sad.it>
15947
15948         * lyxfunc.C (Dispatch): fixed protected blank problem.
15949         * BufferView2.C (protectedBlank): added LyxText * parameter.
15950
15951         * tabular.C (AppendRow): forgot to set row_info of newly added row.
15952         (AppendColumn): same as above for column_info.
15953
15954         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15955         (moveCursorUpdate): use a LyXText param for support of InsetText.
15956
15957         * BufferView_pimpl.C (doubleClick): added support for InsetText.
15958         (tripleClick): ditto
15959
15960         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15961
15962         * BufferView_pimpl.C (update): added LyXText param to honor insets.
15963
15964         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15965
15966         * text2.C (SetSelection): set correct update status if inset_owner
15967         (ToggleFree): ditto
15968
15969 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
15970
15971         * tabular.C: remove some commented code.
15972
15973 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
15974
15975         * BufferView_pimpl.C: call hideSplash()
15976
15977         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15978
15979         * include_form.h:
15980         * bibforms.h: remove
15981
15982         * lyxfunc.C:
15983         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15984           add LFUN_CHILD_CREATE
15985
15986         * counters.h: fix tiny typo
15987
15988         * lyx_cb.C:
15989         * lyx.h:
15990         * lyx_gui.C:
15991         * lyx.C: move splash to frontends/xforms/
15992
15993         * lyx_gui_misc.C: move Include and Bibform to frontends
15994
15995         * lyxvc.h: clarify comment
15996
15997         * vspace.C: tiny housekeeping
15998
15999 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16000
16001         * text.C (PrepareToPrint): RTL Fix.
16002
16003         * paragraph.C (GetUChar): New method.
16004         (String):  Use GetUChar.
16005
16006         * buffer.C (asciiParagraph): Use GetUChar.
16007
16008 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16009
16010         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16011
16012 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16013
16014         * buffer.h:
16015         * buffer.C: rename to getLogName(), handle
16016           build log / latex log nicely
16017
16018 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16019
16020         * MenuBackend.C:
16021         * MenuBackend.h: remove support for reference menuitem type.
16022
16023 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16024
16025         * BufferView_pimpl.C: housekeeping
16026         * BufferView_pimpl.h:
16027         * LyXView.h:
16028         * Makefile.am:
16029         * Timeout.C:
16030         * Timeout.h:
16031         * minibuffer.h: move Timeout GUI-I
16032
16033 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16034
16035         * lyxrc.C (read): Update converters data-structures.
16036
16037 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16038
16039         * LaTeX.h (operator!=): add operator != for Aux_Info
16040
16041 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16042
16043         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16044
16045         * LaTeXLog.C: deleted, useful code moved to Buffer
16046
16047         * buffer.h:
16048         * buffer.C: new function getLatexLogName()
16049
16050         * lyx_gui_misc.C:
16051         * lyx_gui.C:
16052         * lyxvc.C:
16053         * lyxvc.h:
16054         * lyxfunc.C: use frontends for LaTeX and VC logs
16055
16056 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16057
16058         * LaTeX.h: yet another std:: that Allan forgot.
16059
16060         * Variables.C (set): renamed from isset(), because this clashes
16061         with some HP-UX macros (grr).
16062
16063 2001-02-06  Allan Rae  <rae@lyx.org>
16064
16065         * LaTeX.h: Another bug fix.  Missing std:: this time.
16066
16067 2001-02-04  Allan Rae  <rae@lyx.org>
16068
16069         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16070         floats problem. I've left it commented out because it's not quite
16071         correct.  It should also test that the current object is a table or
16072         figure inset.  But I haven't gotten around to figuring out how to do
16073         that.  I *think* it'll be something like: "table" == inset.type()
16074
16075         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16076         bool.
16077
16078 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16079
16080         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16081         all the citation/databases/styles in the auxilary file.
16082         (run): Rerun latex if there was a babel language error.
16083
16084 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16085
16086         * text.C (Backspace): Preserve the font when changing newline char
16087         with a space.
16088         (BreakParagraph): If the cursor is before a space, delete the space.
16089
16090         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16091
16092 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16093
16094         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16095         new argument (code).
16096         (ChangeCitationsIfUnique): New method.
16097
16098         * paragraph.C (GetPositionOfInset): Handle bibkey.
16099
16100 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16101
16102         * BufferView_pimpl.h: change type of Position::par_pos to
16103         LyXParagraph::size_type.
16104
16105 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16106
16107         * BufferView_pimpl.C (savePosition, restorePosition): Write
16108         messages to minibuffer.
16109
16110 2001-01-28  José Matos  <jamatos@fep.up.pt>
16111
16112         * buffer.C (makeDocBookFile): adds support for document language.
16113         A silly restriction on the name of LatexCommand types where removed.
16114         Added support for CDATA sections, allows to chars unescaped, used
16115         among others in code, to avoid escape < and >.
16116
16117 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16118
16119         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16120         saved positions instrad of a stack. Furthermore, a position is
16121         stored using paragraph id/paragraph position.
16122
16123         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16124         Remove LFUN_REF_BACK.
16125
16126 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16127
16128         * converter.C (dvipdfm_options): New method.
16129
16130 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16131
16132         * vspace.C (isValidLength): Fix for empty input string.
16133
16134 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16135
16136         * LyXAction.C (init): change description of LFUN_FIGURE to
16137         "Insert Graphics"
16138
16139 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16140
16141         * LaTeX.C: add using directive
16142
16143 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16144
16145         * MenuBackend.C (expand): Fix the sorting of the formats.
16146
16147 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16148
16149         * lyx_main.C: tiny error message fix
16150
16151 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16152
16153         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16154         calling fl_initialize(). This fixes the problem with ',' as
16155         decimal separator in text files.
16156
16157 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16158
16159         * trans.C (process): Fix the keymap bug.
16160
16161 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16162
16163         * LaTeX.C (scanAuxFiles): New method. Provides support for
16164         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16165         (scanLogFile) Scan for "run BibTeX" messages.
16166
16167         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16168         OT1 font encoding. Also, load the aecompl package if the ae
16169         package is loaded.
16170
16171         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16172
16173 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16174
16175         * texrow.C (increasePos): turn two error messages into debug
16176         messages.
16177
16178 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16179
16180         * LaTeX.C (scanAux): Handle the \@input macro.
16181         (runBibTeX): Use scanAux().
16182
16183         * language.C (latex_options_): New field.
16184
16185         * LaTeXFeatures.C (getMacros): Add language macros.
16186
16187         * buffer.C (makeLaTeXFile): Small fix.
16188
16189 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16190
16191         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16192
16193         * text2.C: add a using directive.
16194
16195 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16196
16197         * BufferView2.C:
16198         * lyx_gui_misc.h:
16199         * lyxfr1.C:
16200         * lyxfunc.C: kill LyXBell.
16201
16202 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16203
16204         * text.C (IsBoundary): Remove the error message
16205
16206         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16207
16208         * lyxrc.C (setDefaults): Correct initialization value for
16209         font_norm_type.
16210
16211 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16212
16213         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16214         gotoError().
16215
16216         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16217         and GotoNextNote().
16218
16219         * src/LyXAction.C: Added reference-next.
16220
16221         * text.C (InsertChar): Use contains instead of strchr.
16222
16223         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16224
16225 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16226
16227         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16228         alignment commands (when needed).
16229
16230         * text.C (InsertChar): Add ':' to number separator chars.